blob: d2d49187c0556b7bcf07f835209ccf2ced0b00f8 [file] [log] [blame]
Zack Williamse940c7a2019-08-21 14:25:39 -07001/*
2Copyright The Kubernetes Authors.
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/
16
17// Code generated by protoc-gen-gogo. DO NOT EDIT.
18// source: k8s.io/kubernetes/vendor/k8s.io/api/apps/v1beta1/generated.proto
19
20/*
21 Package v1beta1 is a generated protocol buffer package.
22
23 It is generated from these files:
24 k8s.io/kubernetes/vendor/k8s.io/api/apps/v1beta1/generated.proto
25
26 It has these top-level messages:
27 ControllerRevision
28 ControllerRevisionList
29 Deployment
30 DeploymentCondition
31 DeploymentList
32 DeploymentRollback
33 DeploymentSpec
34 DeploymentStatus
35 DeploymentStrategy
36 RollbackConfig
37 RollingUpdateDeployment
38 RollingUpdateStatefulSetStrategy
39 Scale
40 ScaleSpec
41 ScaleStatus
42 StatefulSet
43 StatefulSetCondition
44 StatefulSetList
45 StatefulSetSpec
46 StatefulSetStatus
47 StatefulSetUpdateStrategy
48*/
49package v1beta1
50
Scott Baker4a35a702019-11-26 08:17:33 -080051import (
52 fmt "fmt"
Zack Williamse940c7a2019-08-21 14:25:39 -070053
Scott Baker4a35a702019-11-26 08:17:33 -080054 proto "github.com/gogo/protobuf/proto"
Zack Williamse940c7a2019-08-21 14:25:39 -070055
Scott Baker4a35a702019-11-26 08:17:33 -080056 math "math"
Zack Williamse940c7a2019-08-21 14:25:39 -070057
Scott Baker4a35a702019-11-26 08:17:33 -080058 k8s_io_api_core_v1 "k8s.io/api/core/v1"
Zack Williamse940c7a2019-08-21 14:25:39 -070059
Scott Baker4a35a702019-11-26 08:17:33 -080060 k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Zack Williamse940c7a2019-08-21 14:25:39 -070061
Scott Baker4a35a702019-11-26 08:17:33 -080062 k8s_io_apimachinery_pkg_util_intstr "k8s.io/apimachinery/pkg/util/intstr"
63
64 github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
65
66 strings "strings"
67
68 reflect "reflect"
69
70 io "io"
71)
Zack Williamse940c7a2019-08-21 14:25:39 -070072
73// Reference imports to suppress errors if they are not otherwise used.
74var _ = proto.Marshal
75var _ = fmt.Errorf
76var _ = math.Inf
77
78// This is a compile-time assertion to ensure that this generated file
79// is compatible with the proto package it is being compiled against.
80// A compilation error at this line likely means your copy of the
81// proto package needs to be updated.
82const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
83
84func (m *ControllerRevision) Reset() { *m = ControllerRevision{} }
85func (*ControllerRevision) ProtoMessage() {}
86func (*ControllerRevision) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
87
88func (m *ControllerRevisionList) Reset() { *m = ControllerRevisionList{} }
89func (*ControllerRevisionList) ProtoMessage() {}
90func (*ControllerRevisionList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
91
92func (m *Deployment) Reset() { *m = Deployment{} }
93func (*Deployment) ProtoMessage() {}
94func (*Deployment) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
95
96func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} }
97func (*DeploymentCondition) ProtoMessage() {}
98func (*DeploymentCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
99
100func (m *DeploymentList) Reset() { *m = DeploymentList{} }
101func (*DeploymentList) ProtoMessage() {}
102func (*DeploymentList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
103
104func (m *DeploymentRollback) Reset() { *m = DeploymentRollback{} }
105func (*DeploymentRollback) ProtoMessage() {}
106func (*DeploymentRollback) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
107
108func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} }
109func (*DeploymentSpec) ProtoMessage() {}
110func (*DeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
111
112func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} }
113func (*DeploymentStatus) ProtoMessage() {}
114func (*DeploymentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
115
116func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} }
117func (*DeploymentStrategy) ProtoMessage() {}
118func (*DeploymentStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
119
120func (m *RollbackConfig) Reset() { *m = RollbackConfig{} }
121func (*RollbackConfig) ProtoMessage() {}
122func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
123
124func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} }
125func (*RollingUpdateDeployment) ProtoMessage() {}
126func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) {
127 return fileDescriptorGenerated, []int{10}
128}
129
130func (m *RollingUpdateStatefulSetStrategy) Reset() { *m = RollingUpdateStatefulSetStrategy{} }
131func (*RollingUpdateStatefulSetStrategy) ProtoMessage() {}
132func (*RollingUpdateStatefulSetStrategy) Descriptor() ([]byte, []int) {
133 return fileDescriptorGenerated, []int{11}
134}
135
136func (m *Scale) Reset() { *m = Scale{} }
137func (*Scale) ProtoMessage() {}
138func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
139
140func (m *ScaleSpec) Reset() { *m = ScaleSpec{} }
141func (*ScaleSpec) ProtoMessage() {}
142func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} }
143
144func (m *ScaleStatus) Reset() { *m = ScaleStatus{} }
145func (*ScaleStatus) ProtoMessage() {}
146func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
147
148func (m *StatefulSet) Reset() { *m = StatefulSet{} }
149func (*StatefulSet) ProtoMessage() {}
150func (*StatefulSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
151
152func (m *StatefulSetCondition) Reset() { *m = StatefulSetCondition{} }
153func (*StatefulSetCondition) ProtoMessage() {}
154func (*StatefulSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
155
156func (m *StatefulSetList) Reset() { *m = StatefulSetList{} }
157func (*StatefulSetList) ProtoMessage() {}
158func (*StatefulSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
159
160func (m *StatefulSetSpec) Reset() { *m = StatefulSetSpec{} }
161func (*StatefulSetSpec) ProtoMessage() {}
162func (*StatefulSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} }
163
164func (m *StatefulSetStatus) Reset() { *m = StatefulSetStatus{} }
165func (*StatefulSetStatus) ProtoMessage() {}
166func (*StatefulSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} }
167
168func (m *StatefulSetUpdateStrategy) Reset() { *m = StatefulSetUpdateStrategy{} }
169func (*StatefulSetUpdateStrategy) ProtoMessage() {}
170func (*StatefulSetUpdateStrategy) Descriptor() ([]byte, []int) {
171 return fileDescriptorGenerated, []int{20}
172}
173
174func init() {
175 proto.RegisterType((*ControllerRevision)(nil), "k8s.io.api.apps.v1beta1.ControllerRevision")
176 proto.RegisterType((*ControllerRevisionList)(nil), "k8s.io.api.apps.v1beta1.ControllerRevisionList")
177 proto.RegisterType((*Deployment)(nil), "k8s.io.api.apps.v1beta1.Deployment")
178 proto.RegisterType((*DeploymentCondition)(nil), "k8s.io.api.apps.v1beta1.DeploymentCondition")
179 proto.RegisterType((*DeploymentList)(nil), "k8s.io.api.apps.v1beta1.DeploymentList")
180 proto.RegisterType((*DeploymentRollback)(nil), "k8s.io.api.apps.v1beta1.DeploymentRollback")
181 proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.api.apps.v1beta1.DeploymentSpec")
182 proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.api.apps.v1beta1.DeploymentStatus")
183 proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.api.apps.v1beta1.DeploymentStrategy")
184 proto.RegisterType((*RollbackConfig)(nil), "k8s.io.api.apps.v1beta1.RollbackConfig")
185 proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.api.apps.v1beta1.RollingUpdateDeployment")
186 proto.RegisterType((*RollingUpdateStatefulSetStrategy)(nil), "k8s.io.api.apps.v1beta1.RollingUpdateStatefulSetStrategy")
187 proto.RegisterType((*Scale)(nil), "k8s.io.api.apps.v1beta1.Scale")
188 proto.RegisterType((*ScaleSpec)(nil), "k8s.io.api.apps.v1beta1.ScaleSpec")
189 proto.RegisterType((*ScaleStatus)(nil), "k8s.io.api.apps.v1beta1.ScaleStatus")
190 proto.RegisterType((*StatefulSet)(nil), "k8s.io.api.apps.v1beta1.StatefulSet")
191 proto.RegisterType((*StatefulSetCondition)(nil), "k8s.io.api.apps.v1beta1.StatefulSetCondition")
192 proto.RegisterType((*StatefulSetList)(nil), "k8s.io.api.apps.v1beta1.StatefulSetList")
193 proto.RegisterType((*StatefulSetSpec)(nil), "k8s.io.api.apps.v1beta1.StatefulSetSpec")
194 proto.RegisterType((*StatefulSetStatus)(nil), "k8s.io.api.apps.v1beta1.StatefulSetStatus")
195 proto.RegisterType((*StatefulSetUpdateStrategy)(nil), "k8s.io.api.apps.v1beta1.StatefulSetUpdateStrategy")
196}
197func (m *ControllerRevision) Marshal() (dAtA []byte, err error) {
198 size := m.Size()
199 dAtA = make([]byte, size)
200 n, err := m.MarshalTo(dAtA)
201 if err != nil {
202 return nil, err
203 }
204 return dAtA[:n], nil
205}
206
207func (m *ControllerRevision) MarshalTo(dAtA []byte) (int, error) {
208 var i int
209 _ = i
210 var l int
211 _ = l
212 dAtA[i] = 0xa
213 i++
214 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
215 n1, err := m.ObjectMeta.MarshalTo(dAtA[i:])
216 if err != nil {
217 return 0, err
218 }
219 i += n1
220 dAtA[i] = 0x12
221 i++
222 i = encodeVarintGenerated(dAtA, i, uint64(m.Data.Size()))
223 n2, err := m.Data.MarshalTo(dAtA[i:])
224 if err != nil {
225 return 0, err
226 }
227 i += n2
228 dAtA[i] = 0x18
229 i++
230 i = encodeVarintGenerated(dAtA, i, uint64(m.Revision))
231 return i, nil
232}
233
234func (m *ControllerRevisionList) Marshal() (dAtA []byte, err error) {
235 size := m.Size()
236 dAtA = make([]byte, size)
237 n, err := m.MarshalTo(dAtA)
238 if err != nil {
239 return nil, err
240 }
241 return dAtA[:n], nil
242}
243
244func (m *ControllerRevisionList) MarshalTo(dAtA []byte) (int, error) {
245 var i int
246 _ = i
247 var l int
248 _ = l
249 dAtA[i] = 0xa
250 i++
251 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
252 n3, err := m.ListMeta.MarshalTo(dAtA[i:])
253 if err != nil {
254 return 0, err
255 }
256 i += n3
257 if len(m.Items) > 0 {
258 for _, msg := range m.Items {
259 dAtA[i] = 0x12
260 i++
261 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
262 n, err := msg.MarshalTo(dAtA[i:])
263 if err != nil {
264 return 0, err
265 }
266 i += n
267 }
268 }
269 return i, nil
270}
271
272func (m *Deployment) Marshal() (dAtA []byte, err error) {
273 size := m.Size()
274 dAtA = make([]byte, size)
275 n, err := m.MarshalTo(dAtA)
276 if err != nil {
277 return nil, err
278 }
279 return dAtA[:n], nil
280}
281
282func (m *Deployment) MarshalTo(dAtA []byte) (int, error) {
283 var i int
284 _ = i
285 var l int
286 _ = l
287 dAtA[i] = 0xa
288 i++
289 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
290 n4, err := m.ObjectMeta.MarshalTo(dAtA[i:])
291 if err != nil {
292 return 0, err
293 }
294 i += n4
295 dAtA[i] = 0x12
296 i++
297 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
298 n5, err := m.Spec.MarshalTo(dAtA[i:])
299 if err != nil {
300 return 0, err
301 }
302 i += n5
303 dAtA[i] = 0x1a
304 i++
305 i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
306 n6, err := m.Status.MarshalTo(dAtA[i:])
307 if err != nil {
308 return 0, err
309 }
310 i += n6
311 return i, nil
312}
313
314func (m *DeploymentCondition) Marshal() (dAtA []byte, err error) {
315 size := m.Size()
316 dAtA = make([]byte, size)
317 n, err := m.MarshalTo(dAtA)
318 if err != nil {
319 return nil, err
320 }
321 return dAtA[:n], nil
322}
323
324func (m *DeploymentCondition) MarshalTo(dAtA []byte) (int, error) {
325 var i int
326 _ = i
327 var l int
328 _ = l
329 dAtA[i] = 0xa
330 i++
331 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
332 i += copy(dAtA[i:], m.Type)
333 dAtA[i] = 0x12
334 i++
335 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
336 i += copy(dAtA[i:], m.Status)
337 dAtA[i] = 0x22
338 i++
339 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
340 i += copy(dAtA[i:], m.Reason)
341 dAtA[i] = 0x2a
342 i++
343 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
344 i += copy(dAtA[i:], m.Message)
345 dAtA[i] = 0x32
346 i++
347 i = encodeVarintGenerated(dAtA, i, uint64(m.LastUpdateTime.Size()))
348 n7, err := m.LastUpdateTime.MarshalTo(dAtA[i:])
349 if err != nil {
350 return 0, err
351 }
352 i += n7
353 dAtA[i] = 0x3a
354 i++
355 i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
356 n8, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
357 if err != nil {
358 return 0, err
359 }
360 i += n8
361 return i, nil
362}
363
364func (m *DeploymentList) Marshal() (dAtA []byte, err error) {
365 size := m.Size()
366 dAtA = make([]byte, size)
367 n, err := m.MarshalTo(dAtA)
368 if err != nil {
369 return nil, err
370 }
371 return dAtA[:n], nil
372}
373
374func (m *DeploymentList) MarshalTo(dAtA []byte) (int, error) {
375 var i int
376 _ = i
377 var l int
378 _ = l
379 dAtA[i] = 0xa
380 i++
381 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
382 n9, err := m.ListMeta.MarshalTo(dAtA[i:])
383 if err != nil {
384 return 0, err
385 }
386 i += n9
387 if len(m.Items) > 0 {
388 for _, msg := range m.Items {
389 dAtA[i] = 0x12
390 i++
391 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
392 n, err := msg.MarshalTo(dAtA[i:])
393 if err != nil {
394 return 0, err
395 }
396 i += n
397 }
398 }
399 return i, nil
400}
401
402func (m *DeploymentRollback) Marshal() (dAtA []byte, err error) {
403 size := m.Size()
404 dAtA = make([]byte, size)
405 n, err := m.MarshalTo(dAtA)
406 if err != nil {
407 return nil, err
408 }
409 return dAtA[:n], nil
410}
411
412func (m *DeploymentRollback) MarshalTo(dAtA []byte) (int, error) {
413 var i int
414 _ = i
415 var l int
416 _ = l
417 dAtA[i] = 0xa
418 i++
419 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
420 i += copy(dAtA[i:], m.Name)
421 if len(m.UpdatedAnnotations) > 0 {
422 keysForUpdatedAnnotations := make([]string, 0, len(m.UpdatedAnnotations))
423 for k := range m.UpdatedAnnotations {
424 keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, string(k))
425 }
426 github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations)
427 for _, k := range keysForUpdatedAnnotations {
428 dAtA[i] = 0x12
429 i++
430 v := m.UpdatedAnnotations[string(k)]
431 mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
432 i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
433 dAtA[i] = 0xa
434 i++
435 i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
436 i += copy(dAtA[i:], k)
437 dAtA[i] = 0x12
438 i++
439 i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
440 i += copy(dAtA[i:], v)
441 }
442 }
443 dAtA[i] = 0x1a
444 i++
445 i = encodeVarintGenerated(dAtA, i, uint64(m.RollbackTo.Size()))
446 n10, err := m.RollbackTo.MarshalTo(dAtA[i:])
447 if err != nil {
448 return 0, err
449 }
450 i += n10
451 return i, nil
452}
453
454func (m *DeploymentSpec) Marshal() (dAtA []byte, err error) {
455 size := m.Size()
456 dAtA = make([]byte, size)
457 n, err := m.MarshalTo(dAtA)
458 if err != nil {
459 return nil, err
460 }
461 return dAtA[:n], nil
462}
463
464func (m *DeploymentSpec) MarshalTo(dAtA []byte) (int, error) {
465 var i int
466 _ = i
467 var l int
468 _ = l
469 if m.Replicas != nil {
470 dAtA[i] = 0x8
471 i++
472 i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
473 }
474 if m.Selector != nil {
475 dAtA[i] = 0x12
476 i++
477 i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
478 n11, err := m.Selector.MarshalTo(dAtA[i:])
479 if err != nil {
480 return 0, err
481 }
482 i += n11
483 }
484 dAtA[i] = 0x1a
485 i++
486 i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
487 n12, err := m.Template.MarshalTo(dAtA[i:])
488 if err != nil {
489 return 0, err
490 }
491 i += n12
492 dAtA[i] = 0x22
493 i++
494 i = encodeVarintGenerated(dAtA, i, uint64(m.Strategy.Size()))
495 n13, err := m.Strategy.MarshalTo(dAtA[i:])
496 if err != nil {
497 return 0, err
498 }
499 i += n13
500 dAtA[i] = 0x28
501 i++
502 i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
503 if m.RevisionHistoryLimit != nil {
504 dAtA[i] = 0x30
505 i++
506 i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
507 }
508 dAtA[i] = 0x38
509 i++
510 if m.Paused {
511 dAtA[i] = 1
512 } else {
513 dAtA[i] = 0
514 }
515 i++
516 if m.RollbackTo != nil {
517 dAtA[i] = 0x42
518 i++
519 i = encodeVarintGenerated(dAtA, i, uint64(m.RollbackTo.Size()))
520 n14, err := m.RollbackTo.MarshalTo(dAtA[i:])
521 if err != nil {
522 return 0, err
523 }
524 i += n14
525 }
526 if m.ProgressDeadlineSeconds != nil {
527 dAtA[i] = 0x48
528 i++
529 i = encodeVarintGenerated(dAtA, i, uint64(*m.ProgressDeadlineSeconds))
530 }
531 return i, nil
532}
533
534func (m *DeploymentStatus) Marshal() (dAtA []byte, err error) {
535 size := m.Size()
536 dAtA = make([]byte, size)
537 n, err := m.MarshalTo(dAtA)
538 if err != nil {
539 return nil, err
540 }
541 return dAtA[:n], nil
542}
543
544func (m *DeploymentStatus) MarshalTo(dAtA []byte) (int, error) {
545 var i int
546 _ = i
547 var l int
548 _ = l
549 dAtA[i] = 0x8
550 i++
551 i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
552 dAtA[i] = 0x10
553 i++
554 i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
555 dAtA[i] = 0x18
556 i++
557 i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas))
558 dAtA[i] = 0x20
559 i++
560 i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
561 dAtA[i] = 0x28
562 i++
563 i = encodeVarintGenerated(dAtA, i, uint64(m.UnavailableReplicas))
564 if len(m.Conditions) > 0 {
565 for _, msg := range m.Conditions {
566 dAtA[i] = 0x32
567 i++
568 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
569 n, err := msg.MarshalTo(dAtA[i:])
570 if err != nil {
571 return 0, err
572 }
573 i += n
574 }
575 }
576 dAtA[i] = 0x38
577 i++
578 i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
579 if m.CollisionCount != nil {
580 dAtA[i] = 0x40
581 i++
582 i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
583 }
584 return i, nil
585}
586
587func (m *DeploymentStrategy) Marshal() (dAtA []byte, err error) {
588 size := m.Size()
589 dAtA = make([]byte, size)
590 n, err := m.MarshalTo(dAtA)
591 if err != nil {
592 return nil, err
593 }
594 return dAtA[:n], nil
595}
596
597func (m *DeploymentStrategy) MarshalTo(dAtA []byte) (int, error) {
598 var i int
599 _ = i
600 var l int
601 _ = l
602 dAtA[i] = 0xa
603 i++
604 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
605 i += copy(dAtA[i:], m.Type)
606 if m.RollingUpdate != nil {
607 dAtA[i] = 0x12
608 i++
609 i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size()))
610 n15, err := m.RollingUpdate.MarshalTo(dAtA[i:])
611 if err != nil {
612 return 0, err
613 }
614 i += n15
615 }
616 return i, nil
617}
618
619func (m *RollbackConfig) Marshal() (dAtA []byte, err error) {
620 size := m.Size()
621 dAtA = make([]byte, size)
622 n, err := m.MarshalTo(dAtA)
623 if err != nil {
624 return nil, err
625 }
626 return dAtA[:n], nil
627}
628
629func (m *RollbackConfig) MarshalTo(dAtA []byte) (int, error) {
630 var i int
631 _ = i
632 var l int
633 _ = l
634 dAtA[i] = 0x8
635 i++
636 i = encodeVarintGenerated(dAtA, i, uint64(m.Revision))
637 return i, nil
638}
639
640func (m *RollingUpdateDeployment) Marshal() (dAtA []byte, err error) {
641 size := m.Size()
642 dAtA = make([]byte, size)
643 n, err := m.MarshalTo(dAtA)
644 if err != nil {
645 return nil, err
646 }
647 return dAtA[:n], nil
648}
649
650func (m *RollingUpdateDeployment) MarshalTo(dAtA []byte) (int, error) {
651 var i int
652 _ = i
653 var l int
654 _ = l
655 if m.MaxUnavailable != nil {
656 dAtA[i] = 0xa
657 i++
658 i = encodeVarintGenerated(dAtA, i, uint64(m.MaxUnavailable.Size()))
659 n16, err := m.MaxUnavailable.MarshalTo(dAtA[i:])
660 if err != nil {
661 return 0, err
662 }
663 i += n16
664 }
665 if m.MaxSurge != nil {
666 dAtA[i] = 0x12
667 i++
668 i = encodeVarintGenerated(dAtA, i, uint64(m.MaxSurge.Size()))
669 n17, err := m.MaxSurge.MarshalTo(dAtA[i:])
670 if err != nil {
671 return 0, err
672 }
673 i += n17
674 }
675 return i, nil
676}
677
678func (m *RollingUpdateStatefulSetStrategy) Marshal() (dAtA []byte, err error) {
679 size := m.Size()
680 dAtA = make([]byte, size)
681 n, err := m.MarshalTo(dAtA)
682 if err != nil {
683 return nil, err
684 }
685 return dAtA[:n], nil
686}
687
688func (m *RollingUpdateStatefulSetStrategy) MarshalTo(dAtA []byte) (int, error) {
689 var i int
690 _ = i
691 var l int
692 _ = l
693 if m.Partition != nil {
694 dAtA[i] = 0x8
695 i++
696 i = encodeVarintGenerated(dAtA, i, uint64(*m.Partition))
697 }
698 return i, nil
699}
700
701func (m *Scale) Marshal() (dAtA []byte, err error) {
702 size := m.Size()
703 dAtA = make([]byte, size)
704 n, err := m.MarshalTo(dAtA)
705 if err != nil {
706 return nil, err
707 }
708 return dAtA[:n], nil
709}
710
711func (m *Scale) MarshalTo(dAtA []byte) (int, error) {
712 var i int
713 _ = i
714 var l int
715 _ = l
716 dAtA[i] = 0xa
717 i++
718 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
719 n18, err := m.ObjectMeta.MarshalTo(dAtA[i:])
720 if err != nil {
721 return 0, err
722 }
723 i += n18
724 dAtA[i] = 0x12
725 i++
726 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
727 n19, err := m.Spec.MarshalTo(dAtA[i:])
728 if err != nil {
729 return 0, err
730 }
731 i += n19
732 dAtA[i] = 0x1a
733 i++
734 i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
735 n20, err := m.Status.MarshalTo(dAtA[i:])
736 if err != nil {
737 return 0, err
738 }
739 i += n20
740 return i, nil
741}
742
743func (m *ScaleSpec) Marshal() (dAtA []byte, err error) {
744 size := m.Size()
745 dAtA = make([]byte, size)
746 n, err := m.MarshalTo(dAtA)
747 if err != nil {
748 return nil, err
749 }
750 return dAtA[:n], nil
751}
752
753func (m *ScaleSpec) MarshalTo(dAtA []byte) (int, error) {
754 var i int
755 _ = i
756 var l int
757 _ = l
758 dAtA[i] = 0x8
759 i++
760 i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
761 return i, nil
762}
763
764func (m *ScaleStatus) Marshal() (dAtA []byte, err error) {
765 size := m.Size()
766 dAtA = make([]byte, size)
767 n, err := m.MarshalTo(dAtA)
768 if err != nil {
769 return nil, err
770 }
771 return dAtA[:n], nil
772}
773
774func (m *ScaleStatus) MarshalTo(dAtA []byte) (int, error) {
775 var i int
776 _ = i
777 var l int
778 _ = l
779 dAtA[i] = 0x8
780 i++
781 i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
782 if len(m.Selector) > 0 {
783 keysForSelector := make([]string, 0, len(m.Selector))
784 for k := range m.Selector {
785 keysForSelector = append(keysForSelector, string(k))
786 }
787 github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
788 for _, k := range keysForSelector {
789 dAtA[i] = 0x12
790 i++
791 v := m.Selector[string(k)]
792 mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
793 i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
794 dAtA[i] = 0xa
795 i++
796 i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
797 i += copy(dAtA[i:], k)
798 dAtA[i] = 0x12
799 i++
800 i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
801 i += copy(dAtA[i:], v)
802 }
803 }
804 dAtA[i] = 0x1a
805 i++
806 i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetSelector)))
807 i += copy(dAtA[i:], m.TargetSelector)
808 return i, nil
809}
810
811func (m *StatefulSet) Marshal() (dAtA []byte, err error) {
812 size := m.Size()
813 dAtA = make([]byte, size)
814 n, err := m.MarshalTo(dAtA)
815 if err != nil {
816 return nil, err
817 }
818 return dAtA[:n], nil
819}
820
821func (m *StatefulSet) MarshalTo(dAtA []byte) (int, error) {
822 var i int
823 _ = i
824 var l int
825 _ = l
826 dAtA[i] = 0xa
827 i++
828 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
829 n21, err := m.ObjectMeta.MarshalTo(dAtA[i:])
830 if err != nil {
831 return 0, err
832 }
833 i += n21
834 dAtA[i] = 0x12
835 i++
836 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
837 n22, err := m.Spec.MarshalTo(dAtA[i:])
838 if err != nil {
839 return 0, err
840 }
841 i += n22
842 dAtA[i] = 0x1a
843 i++
844 i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
845 n23, err := m.Status.MarshalTo(dAtA[i:])
846 if err != nil {
847 return 0, err
848 }
849 i += n23
850 return i, nil
851}
852
853func (m *StatefulSetCondition) Marshal() (dAtA []byte, err error) {
854 size := m.Size()
855 dAtA = make([]byte, size)
856 n, err := m.MarshalTo(dAtA)
857 if err != nil {
858 return nil, err
859 }
860 return dAtA[:n], nil
861}
862
863func (m *StatefulSetCondition) MarshalTo(dAtA []byte) (int, error) {
864 var i int
865 _ = i
866 var l int
867 _ = l
868 dAtA[i] = 0xa
869 i++
870 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
871 i += copy(dAtA[i:], m.Type)
872 dAtA[i] = 0x12
873 i++
874 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
875 i += copy(dAtA[i:], m.Status)
876 dAtA[i] = 0x1a
877 i++
878 i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
879 n24, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
880 if err != nil {
881 return 0, err
882 }
883 i += n24
884 dAtA[i] = 0x22
885 i++
886 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
887 i += copy(dAtA[i:], m.Reason)
888 dAtA[i] = 0x2a
889 i++
890 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
891 i += copy(dAtA[i:], m.Message)
892 return i, nil
893}
894
895func (m *StatefulSetList) Marshal() (dAtA []byte, err error) {
896 size := m.Size()
897 dAtA = make([]byte, size)
898 n, err := m.MarshalTo(dAtA)
899 if err != nil {
900 return nil, err
901 }
902 return dAtA[:n], nil
903}
904
905func (m *StatefulSetList) MarshalTo(dAtA []byte) (int, error) {
906 var i int
907 _ = i
908 var l int
909 _ = l
910 dAtA[i] = 0xa
911 i++
912 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
913 n25, err := m.ListMeta.MarshalTo(dAtA[i:])
914 if err != nil {
915 return 0, err
916 }
917 i += n25
918 if len(m.Items) > 0 {
919 for _, msg := range m.Items {
920 dAtA[i] = 0x12
921 i++
922 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
923 n, err := msg.MarshalTo(dAtA[i:])
924 if err != nil {
925 return 0, err
926 }
927 i += n
928 }
929 }
930 return i, nil
931}
932
933func (m *StatefulSetSpec) Marshal() (dAtA []byte, err error) {
934 size := m.Size()
935 dAtA = make([]byte, size)
936 n, err := m.MarshalTo(dAtA)
937 if err != nil {
938 return nil, err
939 }
940 return dAtA[:n], nil
941}
942
943func (m *StatefulSetSpec) MarshalTo(dAtA []byte) (int, error) {
944 var i int
945 _ = i
946 var l int
947 _ = l
948 if m.Replicas != nil {
949 dAtA[i] = 0x8
950 i++
951 i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
952 }
953 if m.Selector != nil {
954 dAtA[i] = 0x12
955 i++
956 i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
957 n26, err := m.Selector.MarshalTo(dAtA[i:])
958 if err != nil {
959 return 0, err
960 }
961 i += n26
962 }
963 dAtA[i] = 0x1a
964 i++
965 i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
966 n27, err := m.Template.MarshalTo(dAtA[i:])
967 if err != nil {
968 return 0, err
969 }
970 i += n27
971 if len(m.VolumeClaimTemplates) > 0 {
972 for _, msg := range m.VolumeClaimTemplates {
973 dAtA[i] = 0x22
974 i++
975 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
976 n, err := msg.MarshalTo(dAtA[i:])
977 if err != nil {
978 return 0, err
979 }
980 i += n
981 }
982 }
983 dAtA[i] = 0x2a
984 i++
985 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServiceName)))
986 i += copy(dAtA[i:], m.ServiceName)
987 dAtA[i] = 0x32
988 i++
989 i = encodeVarintGenerated(dAtA, i, uint64(len(m.PodManagementPolicy)))
990 i += copy(dAtA[i:], m.PodManagementPolicy)
991 dAtA[i] = 0x3a
992 i++
993 i = encodeVarintGenerated(dAtA, i, uint64(m.UpdateStrategy.Size()))
994 n28, err := m.UpdateStrategy.MarshalTo(dAtA[i:])
995 if err != nil {
996 return 0, err
997 }
998 i += n28
999 if m.RevisionHistoryLimit != nil {
1000 dAtA[i] = 0x40
1001 i++
1002 i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
1003 }
1004 return i, nil
1005}
1006
1007func (m *StatefulSetStatus) Marshal() (dAtA []byte, err error) {
1008 size := m.Size()
1009 dAtA = make([]byte, size)
1010 n, err := m.MarshalTo(dAtA)
1011 if err != nil {
1012 return nil, err
1013 }
1014 return dAtA[:n], nil
1015}
1016
1017func (m *StatefulSetStatus) MarshalTo(dAtA []byte) (int, error) {
1018 var i int
1019 _ = i
1020 var l int
1021 _ = l
1022 if m.ObservedGeneration != nil {
1023 dAtA[i] = 0x8
1024 i++
1025 i = encodeVarintGenerated(dAtA, i, uint64(*m.ObservedGeneration))
1026 }
1027 dAtA[i] = 0x10
1028 i++
1029 i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
1030 dAtA[i] = 0x18
1031 i++
1032 i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
1033 dAtA[i] = 0x20
1034 i++
1035 i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentReplicas))
1036 dAtA[i] = 0x28
1037 i++
1038 i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas))
1039 dAtA[i] = 0x32
1040 i++
1041 i = encodeVarintGenerated(dAtA, i, uint64(len(m.CurrentRevision)))
1042 i += copy(dAtA[i:], m.CurrentRevision)
1043 dAtA[i] = 0x3a
1044 i++
1045 i = encodeVarintGenerated(dAtA, i, uint64(len(m.UpdateRevision)))
1046 i += copy(dAtA[i:], m.UpdateRevision)
1047 if m.CollisionCount != nil {
1048 dAtA[i] = 0x48
1049 i++
1050 i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
1051 }
1052 if len(m.Conditions) > 0 {
1053 for _, msg := range m.Conditions {
1054 dAtA[i] = 0x52
1055 i++
1056 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1057 n, err := msg.MarshalTo(dAtA[i:])
1058 if err != nil {
1059 return 0, err
1060 }
1061 i += n
1062 }
1063 }
1064 return i, nil
1065}
1066
1067func (m *StatefulSetUpdateStrategy) Marshal() (dAtA []byte, err error) {
1068 size := m.Size()
1069 dAtA = make([]byte, size)
1070 n, err := m.MarshalTo(dAtA)
1071 if err != nil {
1072 return nil, err
1073 }
1074 return dAtA[:n], nil
1075}
1076
1077func (m *StatefulSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error) {
1078 var i int
1079 _ = i
1080 var l int
1081 _ = l
1082 dAtA[i] = 0xa
1083 i++
1084 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
1085 i += copy(dAtA[i:], m.Type)
1086 if m.RollingUpdate != nil {
1087 dAtA[i] = 0x12
1088 i++
1089 i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size()))
1090 n29, err := m.RollingUpdate.MarshalTo(dAtA[i:])
1091 if err != nil {
1092 return 0, err
1093 }
1094 i += n29
1095 }
1096 return i, nil
1097}
1098
1099func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
1100 for v >= 1<<7 {
1101 dAtA[offset] = uint8(v&0x7f | 0x80)
1102 v >>= 7
1103 offset++
1104 }
1105 dAtA[offset] = uint8(v)
1106 return offset + 1
1107}
1108func (m *ControllerRevision) Size() (n int) {
1109 var l int
1110 _ = l
1111 l = m.ObjectMeta.Size()
1112 n += 1 + l + sovGenerated(uint64(l))
1113 l = m.Data.Size()
1114 n += 1 + l + sovGenerated(uint64(l))
1115 n += 1 + sovGenerated(uint64(m.Revision))
1116 return n
1117}
1118
1119func (m *ControllerRevisionList) Size() (n int) {
1120 var l int
1121 _ = l
1122 l = m.ListMeta.Size()
1123 n += 1 + l + sovGenerated(uint64(l))
1124 if len(m.Items) > 0 {
1125 for _, e := range m.Items {
1126 l = e.Size()
1127 n += 1 + l + sovGenerated(uint64(l))
1128 }
1129 }
1130 return n
1131}
1132
1133func (m *Deployment) Size() (n int) {
1134 var l int
1135 _ = l
1136 l = m.ObjectMeta.Size()
1137 n += 1 + l + sovGenerated(uint64(l))
1138 l = m.Spec.Size()
1139 n += 1 + l + sovGenerated(uint64(l))
1140 l = m.Status.Size()
1141 n += 1 + l + sovGenerated(uint64(l))
1142 return n
1143}
1144
1145func (m *DeploymentCondition) Size() (n int) {
1146 var l int
1147 _ = l
1148 l = len(m.Type)
1149 n += 1 + l + sovGenerated(uint64(l))
1150 l = len(m.Status)
1151 n += 1 + l + sovGenerated(uint64(l))
1152 l = len(m.Reason)
1153 n += 1 + l + sovGenerated(uint64(l))
1154 l = len(m.Message)
1155 n += 1 + l + sovGenerated(uint64(l))
1156 l = m.LastUpdateTime.Size()
1157 n += 1 + l + sovGenerated(uint64(l))
1158 l = m.LastTransitionTime.Size()
1159 n += 1 + l + sovGenerated(uint64(l))
1160 return n
1161}
1162
1163func (m *DeploymentList) Size() (n int) {
1164 var l int
1165 _ = l
1166 l = m.ListMeta.Size()
1167 n += 1 + l + sovGenerated(uint64(l))
1168 if len(m.Items) > 0 {
1169 for _, e := range m.Items {
1170 l = e.Size()
1171 n += 1 + l + sovGenerated(uint64(l))
1172 }
1173 }
1174 return n
1175}
1176
1177func (m *DeploymentRollback) Size() (n int) {
1178 var l int
1179 _ = l
1180 l = len(m.Name)
1181 n += 1 + l + sovGenerated(uint64(l))
1182 if len(m.UpdatedAnnotations) > 0 {
1183 for k, v := range m.UpdatedAnnotations {
1184 _ = k
1185 _ = v
1186 mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
1187 n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
1188 }
1189 }
1190 l = m.RollbackTo.Size()
1191 n += 1 + l + sovGenerated(uint64(l))
1192 return n
1193}
1194
1195func (m *DeploymentSpec) Size() (n int) {
1196 var l int
1197 _ = l
1198 if m.Replicas != nil {
1199 n += 1 + sovGenerated(uint64(*m.Replicas))
1200 }
1201 if m.Selector != nil {
1202 l = m.Selector.Size()
1203 n += 1 + l + sovGenerated(uint64(l))
1204 }
1205 l = m.Template.Size()
1206 n += 1 + l + sovGenerated(uint64(l))
1207 l = m.Strategy.Size()
1208 n += 1 + l + sovGenerated(uint64(l))
1209 n += 1 + sovGenerated(uint64(m.MinReadySeconds))
1210 if m.RevisionHistoryLimit != nil {
1211 n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
1212 }
1213 n += 2
1214 if m.RollbackTo != nil {
1215 l = m.RollbackTo.Size()
1216 n += 1 + l + sovGenerated(uint64(l))
1217 }
1218 if m.ProgressDeadlineSeconds != nil {
1219 n += 1 + sovGenerated(uint64(*m.ProgressDeadlineSeconds))
1220 }
1221 return n
1222}
1223
1224func (m *DeploymentStatus) Size() (n int) {
1225 var l int
1226 _ = l
1227 n += 1 + sovGenerated(uint64(m.ObservedGeneration))
1228 n += 1 + sovGenerated(uint64(m.Replicas))
1229 n += 1 + sovGenerated(uint64(m.UpdatedReplicas))
1230 n += 1 + sovGenerated(uint64(m.AvailableReplicas))
1231 n += 1 + sovGenerated(uint64(m.UnavailableReplicas))
1232 if len(m.Conditions) > 0 {
1233 for _, e := range m.Conditions {
1234 l = e.Size()
1235 n += 1 + l + sovGenerated(uint64(l))
1236 }
1237 }
1238 n += 1 + sovGenerated(uint64(m.ReadyReplicas))
1239 if m.CollisionCount != nil {
1240 n += 1 + sovGenerated(uint64(*m.CollisionCount))
1241 }
1242 return n
1243}
1244
1245func (m *DeploymentStrategy) Size() (n int) {
1246 var l int
1247 _ = l
1248 l = len(m.Type)
1249 n += 1 + l + sovGenerated(uint64(l))
1250 if m.RollingUpdate != nil {
1251 l = m.RollingUpdate.Size()
1252 n += 1 + l + sovGenerated(uint64(l))
1253 }
1254 return n
1255}
1256
1257func (m *RollbackConfig) Size() (n int) {
1258 var l int
1259 _ = l
1260 n += 1 + sovGenerated(uint64(m.Revision))
1261 return n
1262}
1263
1264func (m *RollingUpdateDeployment) Size() (n int) {
1265 var l int
1266 _ = l
1267 if m.MaxUnavailable != nil {
1268 l = m.MaxUnavailable.Size()
1269 n += 1 + l + sovGenerated(uint64(l))
1270 }
1271 if m.MaxSurge != nil {
1272 l = m.MaxSurge.Size()
1273 n += 1 + l + sovGenerated(uint64(l))
1274 }
1275 return n
1276}
1277
1278func (m *RollingUpdateStatefulSetStrategy) Size() (n int) {
1279 var l int
1280 _ = l
1281 if m.Partition != nil {
1282 n += 1 + sovGenerated(uint64(*m.Partition))
1283 }
1284 return n
1285}
1286
1287func (m *Scale) Size() (n int) {
1288 var l int
1289 _ = l
1290 l = m.ObjectMeta.Size()
1291 n += 1 + l + sovGenerated(uint64(l))
1292 l = m.Spec.Size()
1293 n += 1 + l + sovGenerated(uint64(l))
1294 l = m.Status.Size()
1295 n += 1 + l + sovGenerated(uint64(l))
1296 return n
1297}
1298
1299func (m *ScaleSpec) Size() (n int) {
1300 var l int
1301 _ = l
1302 n += 1 + sovGenerated(uint64(m.Replicas))
1303 return n
1304}
1305
1306func (m *ScaleStatus) Size() (n int) {
1307 var l int
1308 _ = l
1309 n += 1 + sovGenerated(uint64(m.Replicas))
1310 if len(m.Selector) > 0 {
1311 for k, v := range m.Selector {
1312 _ = k
1313 _ = v
1314 mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
1315 n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
1316 }
1317 }
1318 l = len(m.TargetSelector)
1319 n += 1 + l + sovGenerated(uint64(l))
1320 return n
1321}
1322
1323func (m *StatefulSet) Size() (n int) {
1324 var l int
1325 _ = l
1326 l = m.ObjectMeta.Size()
1327 n += 1 + l + sovGenerated(uint64(l))
1328 l = m.Spec.Size()
1329 n += 1 + l + sovGenerated(uint64(l))
1330 l = m.Status.Size()
1331 n += 1 + l + sovGenerated(uint64(l))
1332 return n
1333}
1334
1335func (m *StatefulSetCondition) Size() (n int) {
1336 var l int
1337 _ = l
1338 l = len(m.Type)
1339 n += 1 + l + sovGenerated(uint64(l))
1340 l = len(m.Status)
1341 n += 1 + l + sovGenerated(uint64(l))
1342 l = m.LastTransitionTime.Size()
1343 n += 1 + l + sovGenerated(uint64(l))
1344 l = len(m.Reason)
1345 n += 1 + l + sovGenerated(uint64(l))
1346 l = len(m.Message)
1347 n += 1 + l + sovGenerated(uint64(l))
1348 return n
1349}
1350
1351func (m *StatefulSetList) Size() (n int) {
1352 var l int
1353 _ = l
1354 l = m.ListMeta.Size()
1355 n += 1 + l + sovGenerated(uint64(l))
1356 if len(m.Items) > 0 {
1357 for _, e := range m.Items {
1358 l = e.Size()
1359 n += 1 + l + sovGenerated(uint64(l))
1360 }
1361 }
1362 return n
1363}
1364
1365func (m *StatefulSetSpec) Size() (n int) {
1366 var l int
1367 _ = l
1368 if m.Replicas != nil {
1369 n += 1 + sovGenerated(uint64(*m.Replicas))
1370 }
1371 if m.Selector != nil {
1372 l = m.Selector.Size()
1373 n += 1 + l + sovGenerated(uint64(l))
1374 }
1375 l = m.Template.Size()
1376 n += 1 + l + sovGenerated(uint64(l))
1377 if len(m.VolumeClaimTemplates) > 0 {
1378 for _, e := range m.VolumeClaimTemplates {
1379 l = e.Size()
1380 n += 1 + l + sovGenerated(uint64(l))
1381 }
1382 }
1383 l = len(m.ServiceName)
1384 n += 1 + l + sovGenerated(uint64(l))
1385 l = len(m.PodManagementPolicy)
1386 n += 1 + l + sovGenerated(uint64(l))
1387 l = m.UpdateStrategy.Size()
1388 n += 1 + l + sovGenerated(uint64(l))
1389 if m.RevisionHistoryLimit != nil {
1390 n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
1391 }
1392 return n
1393}
1394
1395func (m *StatefulSetStatus) Size() (n int) {
1396 var l int
1397 _ = l
1398 if m.ObservedGeneration != nil {
1399 n += 1 + sovGenerated(uint64(*m.ObservedGeneration))
1400 }
1401 n += 1 + sovGenerated(uint64(m.Replicas))
1402 n += 1 + sovGenerated(uint64(m.ReadyReplicas))
1403 n += 1 + sovGenerated(uint64(m.CurrentReplicas))
1404 n += 1 + sovGenerated(uint64(m.UpdatedReplicas))
1405 l = len(m.CurrentRevision)
1406 n += 1 + l + sovGenerated(uint64(l))
1407 l = len(m.UpdateRevision)
1408 n += 1 + l + sovGenerated(uint64(l))
1409 if m.CollisionCount != nil {
1410 n += 1 + sovGenerated(uint64(*m.CollisionCount))
1411 }
1412 if len(m.Conditions) > 0 {
1413 for _, e := range m.Conditions {
1414 l = e.Size()
1415 n += 1 + l + sovGenerated(uint64(l))
1416 }
1417 }
1418 return n
1419}
1420
1421func (m *StatefulSetUpdateStrategy) Size() (n int) {
1422 var l int
1423 _ = l
1424 l = len(m.Type)
1425 n += 1 + l + sovGenerated(uint64(l))
1426 if m.RollingUpdate != nil {
1427 l = m.RollingUpdate.Size()
1428 n += 1 + l + sovGenerated(uint64(l))
1429 }
1430 return n
1431}
1432
1433func sovGenerated(x uint64) (n int) {
1434 for {
1435 n++
1436 x >>= 7
1437 if x == 0 {
1438 break
1439 }
1440 }
1441 return n
1442}
1443func sozGenerated(x uint64) (n int) {
1444 return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
1445}
1446func (this *ControllerRevision) String() string {
1447 if this == nil {
1448 return "nil"
1449 }
1450 s := strings.Join([]string{`&ControllerRevision{`,
1451 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
1452 `Data:` + strings.Replace(strings.Replace(this.Data.String(), "RawExtension", "k8s_io_apimachinery_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`,
1453 `Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
1454 `}`,
1455 }, "")
1456 return s
1457}
1458func (this *ControllerRevisionList) String() string {
1459 if this == nil {
1460 return "nil"
1461 }
1462 s := strings.Join([]string{`&ControllerRevisionList{`,
1463 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
1464 `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ControllerRevision", "ControllerRevision", 1), `&`, ``, 1) + `,`,
1465 `}`,
1466 }, "")
1467 return s
1468}
1469func (this *Deployment) String() string {
1470 if this == nil {
1471 return "nil"
1472 }
1473 s := strings.Join([]string{`&Deployment{`,
1474 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
1475 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DeploymentSpec", "DeploymentSpec", 1), `&`, ``, 1) + `,`,
1476 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DeploymentStatus", "DeploymentStatus", 1), `&`, ``, 1) + `,`,
1477 `}`,
1478 }, "")
1479 return s
1480}
1481func (this *DeploymentCondition) String() string {
1482 if this == nil {
1483 return "nil"
1484 }
1485 s := strings.Join([]string{`&DeploymentCondition{`,
1486 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
1487 `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
1488 `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
1489 `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
1490 `LastUpdateTime:` + strings.Replace(strings.Replace(this.LastUpdateTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
1491 `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
1492 `}`,
1493 }, "")
1494 return s
1495}
1496func (this *DeploymentList) String() string {
1497 if this == nil {
1498 return "nil"
1499 }
1500 s := strings.Join([]string{`&DeploymentList{`,
1501 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
1502 `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Deployment", "Deployment", 1), `&`, ``, 1) + `,`,
1503 `}`,
1504 }, "")
1505 return s
1506}
1507func (this *DeploymentRollback) String() string {
1508 if this == nil {
1509 return "nil"
1510 }
1511 keysForUpdatedAnnotations := make([]string, 0, len(this.UpdatedAnnotations))
1512 for k := range this.UpdatedAnnotations {
1513 keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, k)
1514 }
1515 github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations)
1516 mapStringForUpdatedAnnotations := "map[string]string{"
1517 for _, k := range keysForUpdatedAnnotations {
1518 mapStringForUpdatedAnnotations += fmt.Sprintf("%v: %v,", k, this.UpdatedAnnotations[k])
1519 }
1520 mapStringForUpdatedAnnotations += "}"
1521 s := strings.Join([]string{`&DeploymentRollback{`,
1522 `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
1523 `UpdatedAnnotations:` + mapStringForUpdatedAnnotations + `,`,
1524 `RollbackTo:` + strings.Replace(strings.Replace(this.RollbackTo.String(), "RollbackConfig", "RollbackConfig", 1), `&`, ``, 1) + `,`,
1525 `}`,
1526 }, "")
1527 return s
1528}
1529func (this *DeploymentSpec) String() string {
1530 if this == nil {
1531 return "nil"
1532 }
1533 s := strings.Join([]string{`&DeploymentSpec{`,
1534 `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
1535 `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
1536 `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
1537 `Strategy:` + strings.Replace(strings.Replace(this.Strategy.String(), "DeploymentStrategy", "DeploymentStrategy", 1), `&`, ``, 1) + `,`,
1538 `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
1539 `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
1540 `Paused:` + fmt.Sprintf("%v", this.Paused) + `,`,
1541 `RollbackTo:` + strings.Replace(fmt.Sprintf("%v", this.RollbackTo), "RollbackConfig", "RollbackConfig", 1) + `,`,
1542 `ProgressDeadlineSeconds:` + valueToStringGenerated(this.ProgressDeadlineSeconds) + `,`,
1543 `}`,
1544 }, "")
1545 return s
1546}
1547func (this *DeploymentStatus) String() string {
1548 if this == nil {
1549 return "nil"
1550 }
1551 s := strings.Join([]string{`&DeploymentStatus{`,
1552 `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
1553 `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
1554 `UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`,
1555 `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
1556 `UnavailableReplicas:` + fmt.Sprintf("%v", this.UnavailableReplicas) + `,`,
1557 `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "DeploymentCondition", "DeploymentCondition", 1), `&`, ``, 1) + `,`,
1558 `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
1559 `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
1560 `}`,
1561 }, "")
1562 return s
1563}
1564func (this *DeploymentStrategy) String() string {
1565 if this == nil {
1566 return "nil"
1567 }
1568 s := strings.Join([]string{`&DeploymentStrategy{`,
1569 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
1570 `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateDeployment", "RollingUpdateDeployment", 1) + `,`,
1571 `}`,
1572 }, "")
1573 return s
1574}
1575func (this *RollbackConfig) String() string {
1576 if this == nil {
1577 return "nil"
1578 }
1579 s := strings.Join([]string{`&RollbackConfig{`,
1580 `Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
1581 `}`,
1582 }, "")
1583 return s
1584}
1585func (this *RollingUpdateDeployment) String() string {
1586 if this == nil {
1587 return "nil"
1588 }
1589 s := strings.Join([]string{`&RollingUpdateDeployment{`,
1590 `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
1591 `MaxSurge:` + strings.Replace(fmt.Sprintf("%v", this.MaxSurge), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
1592 `}`,
1593 }, "")
1594 return s
1595}
1596func (this *RollingUpdateStatefulSetStrategy) String() string {
1597 if this == nil {
1598 return "nil"
1599 }
1600 s := strings.Join([]string{`&RollingUpdateStatefulSetStrategy{`,
1601 `Partition:` + valueToStringGenerated(this.Partition) + `,`,
1602 `}`,
1603 }, "")
1604 return s
1605}
1606func (this *Scale) String() string {
1607 if this == nil {
1608 return "nil"
1609 }
1610 s := strings.Join([]string{`&Scale{`,
1611 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
1612 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ScaleSpec", "ScaleSpec", 1), `&`, ``, 1) + `,`,
1613 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ScaleStatus", "ScaleStatus", 1), `&`, ``, 1) + `,`,
1614 `}`,
1615 }, "")
1616 return s
1617}
1618func (this *ScaleSpec) String() string {
1619 if this == nil {
1620 return "nil"
1621 }
1622 s := strings.Join([]string{`&ScaleSpec{`,
1623 `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
1624 `}`,
1625 }, "")
1626 return s
1627}
1628func (this *ScaleStatus) String() string {
1629 if this == nil {
1630 return "nil"
1631 }
1632 keysForSelector := make([]string, 0, len(this.Selector))
1633 for k := range this.Selector {
1634 keysForSelector = append(keysForSelector, k)
1635 }
1636 github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
1637 mapStringForSelector := "map[string]string{"
1638 for _, k := range keysForSelector {
1639 mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k])
1640 }
1641 mapStringForSelector += "}"
1642 s := strings.Join([]string{`&ScaleStatus{`,
1643 `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
1644 `Selector:` + mapStringForSelector + `,`,
1645 `TargetSelector:` + fmt.Sprintf("%v", this.TargetSelector) + `,`,
1646 `}`,
1647 }, "")
1648 return s
1649}
1650func (this *StatefulSet) String() string {
1651 if this == nil {
1652 return "nil"
1653 }
1654 s := strings.Join([]string{`&StatefulSet{`,
1655 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
1656 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "StatefulSetSpec", "StatefulSetSpec", 1), `&`, ``, 1) + `,`,
1657 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "StatefulSetStatus", "StatefulSetStatus", 1), `&`, ``, 1) + `,`,
1658 `}`,
1659 }, "")
1660 return s
1661}
1662func (this *StatefulSetCondition) String() string {
1663 if this == nil {
1664 return "nil"
1665 }
1666 s := strings.Join([]string{`&StatefulSetCondition{`,
1667 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
1668 `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
1669 `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
1670 `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
1671 `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
1672 `}`,
1673 }, "")
1674 return s
1675}
1676func (this *StatefulSetList) String() string {
1677 if this == nil {
1678 return "nil"
1679 }
1680 s := strings.Join([]string{`&StatefulSetList{`,
1681 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
1682 `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "StatefulSet", "StatefulSet", 1), `&`, ``, 1) + `,`,
1683 `}`,
1684 }, "")
1685 return s
1686}
1687func (this *StatefulSetSpec) String() string {
1688 if this == nil {
1689 return "nil"
1690 }
1691 s := strings.Join([]string{`&StatefulSetSpec{`,
1692 `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
1693 `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
1694 `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
1695 `VolumeClaimTemplates:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VolumeClaimTemplates), "PersistentVolumeClaim", "k8s_io_api_core_v1.PersistentVolumeClaim", 1), `&`, ``, 1) + `,`,
1696 `ServiceName:` + fmt.Sprintf("%v", this.ServiceName) + `,`,
1697 `PodManagementPolicy:` + fmt.Sprintf("%v", this.PodManagementPolicy) + `,`,
1698 `UpdateStrategy:` + strings.Replace(strings.Replace(this.UpdateStrategy.String(), "StatefulSetUpdateStrategy", "StatefulSetUpdateStrategy", 1), `&`, ``, 1) + `,`,
1699 `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
1700 `}`,
1701 }, "")
1702 return s
1703}
1704func (this *StatefulSetStatus) String() string {
1705 if this == nil {
1706 return "nil"
1707 }
1708 s := strings.Join([]string{`&StatefulSetStatus{`,
1709 `ObservedGeneration:` + valueToStringGenerated(this.ObservedGeneration) + `,`,
1710 `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
1711 `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
1712 `CurrentReplicas:` + fmt.Sprintf("%v", this.CurrentReplicas) + `,`,
1713 `UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`,
1714 `CurrentRevision:` + fmt.Sprintf("%v", this.CurrentRevision) + `,`,
1715 `UpdateRevision:` + fmt.Sprintf("%v", this.UpdateRevision) + `,`,
1716 `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
1717 `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "StatefulSetCondition", "StatefulSetCondition", 1), `&`, ``, 1) + `,`,
1718 `}`,
1719 }, "")
1720 return s
1721}
1722func (this *StatefulSetUpdateStrategy) String() string {
1723 if this == nil {
1724 return "nil"
1725 }
1726 s := strings.Join([]string{`&StatefulSetUpdateStrategy{`,
1727 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
1728 `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateStatefulSetStrategy", "RollingUpdateStatefulSetStrategy", 1) + `,`,
1729 `}`,
1730 }, "")
1731 return s
1732}
1733func valueToStringGenerated(v interface{}) string {
1734 rv := reflect.ValueOf(v)
1735 if rv.IsNil() {
1736 return "nil"
1737 }
1738 pv := reflect.Indirect(rv).Interface()
1739 return fmt.Sprintf("*%v", pv)
1740}
1741func (m *ControllerRevision) Unmarshal(dAtA []byte) error {
1742 l := len(dAtA)
1743 iNdEx := 0
1744 for iNdEx < l {
1745 preIndex := iNdEx
1746 var wire uint64
1747 for shift := uint(0); ; shift += 7 {
1748 if shift >= 64 {
1749 return ErrIntOverflowGenerated
1750 }
1751 if iNdEx >= l {
1752 return io.ErrUnexpectedEOF
1753 }
1754 b := dAtA[iNdEx]
1755 iNdEx++
1756 wire |= (uint64(b) & 0x7F) << shift
1757 if b < 0x80 {
1758 break
1759 }
1760 }
1761 fieldNum := int32(wire >> 3)
1762 wireType := int(wire & 0x7)
1763 if wireType == 4 {
1764 return fmt.Errorf("proto: ControllerRevision: wiretype end group for non-group")
1765 }
1766 if fieldNum <= 0 {
1767 return fmt.Errorf("proto: ControllerRevision: illegal tag %d (wire type %d)", fieldNum, wire)
1768 }
1769 switch fieldNum {
1770 case 1:
1771 if wireType != 2 {
1772 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
1773 }
1774 var msglen int
1775 for shift := uint(0); ; shift += 7 {
1776 if shift >= 64 {
1777 return ErrIntOverflowGenerated
1778 }
1779 if iNdEx >= l {
1780 return io.ErrUnexpectedEOF
1781 }
1782 b := dAtA[iNdEx]
1783 iNdEx++
1784 msglen |= (int(b) & 0x7F) << shift
1785 if b < 0x80 {
1786 break
1787 }
1788 }
1789 if msglen < 0 {
1790 return ErrInvalidLengthGenerated
1791 }
1792 postIndex := iNdEx + msglen
1793 if postIndex > l {
1794 return io.ErrUnexpectedEOF
1795 }
1796 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1797 return err
1798 }
1799 iNdEx = postIndex
1800 case 2:
1801 if wireType != 2 {
1802 return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
1803 }
1804 var msglen int
1805 for shift := uint(0); ; shift += 7 {
1806 if shift >= 64 {
1807 return ErrIntOverflowGenerated
1808 }
1809 if iNdEx >= l {
1810 return io.ErrUnexpectedEOF
1811 }
1812 b := dAtA[iNdEx]
1813 iNdEx++
1814 msglen |= (int(b) & 0x7F) << shift
1815 if b < 0x80 {
1816 break
1817 }
1818 }
1819 if msglen < 0 {
1820 return ErrInvalidLengthGenerated
1821 }
1822 postIndex := iNdEx + msglen
1823 if postIndex > l {
1824 return io.ErrUnexpectedEOF
1825 }
1826 if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1827 return err
1828 }
1829 iNdEx = postIndex
1830 case 3:
1831 if wireType != 0 {
1832 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
1833 }
1834 m.Revision = 0
1835 for shift := uint(0); ; shift += 7 {
1836 if shift >= 64 {
1837 return ErrIntOverflowGenerated
1838 }
1839 if iNdEx >= l {
1840 return io.ErrUnexpectedEOF
1841 }
1842 b := dAtA[iNdEx]
1843 iNdEx++
1844 m.Revision |= (int64(b) & 0x7F) << shift
1845 if b < 0x80 {
1846 break
1847 }
1848 }
1849 default:
1850 iNdEx = preIndex
1851 skippy, err := skipGenerated(dAtA[iNdEx:])
1852 if err != nil {
1853 return err
1854 }
1855 if skippy < 0 {
1856 return ErrInvalidLengthGenerated
1857 }
1858 if (iNdEx + skippy) > l {
1859 return io.ErrUnexpectedEOF
1860 }
1861 iNdEx += skippy
1862 }
1863 }
1864
1865 if iNdEx > l {
1866 return io.ErrUnexpectedEOF
1867 }
1868 return nil
1869}
1870func (m *ControllerRevisionList) Unmarshal(dAtA []byte) error {
1871 l := len(dAtA)
1872 iNdEx := 0
1873 for iNdEx < l {
1874 preIndex := iNdEx
1875 var wire uint64
1876 for shift := uint(0); ; shift += 7 {
1877 if shift >= 64 {
1878 return ErrIntOverflowGenerated
1879 }
1880 if iNdEx >= l {
1881 return io.ErrUnexpectedEOF
1882 }
1883 b := dAtA[iNdEx]
1884 iNdEx++
1885 wire |= (uint64(b) & 0x7F) << shift
1886 if b < 0x80 {
1887 break
1888 }
1889 }
1890 fieldNum := int32(wire >> 3)
1891 wireType := int(wire & 0x7)
1892 if wireType == 4 {
1893 return fmt.Errorf("proto: ControllerRevisionList: wiretype end group for non-group")
1894 }
1895 if fieldNum <= 0 {
1896 return fmt.Errorf("proto: ControllerRevisionList: illegal tag %d (wire type %d)", fieldNum, wire)
1897 }
1898 switch fieldNum {
1899 case 1:
1900 if wireType != 2 {
1901 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
1902 }
1903 var msglen int
1904 for shift := uint(0); ; shift += 7 {
1905 if shift >= 64 {
1906 return ErrIntOverflowGenerated
1907 }
1908 if iNdEx >= l {
1909 return io.ErrUnexpectedEOF
1910 }
1911 b := dAtA[iNdEx]
1912 iNdEx++
1913 msglen |= (int(b) & 0x7F) << shift
1914 if b < 0x80 {
1915 break
1916 }
1917 }
1918 if msglen < 0 {
1919 return ErrInvalidLengthGenerated
1920 }
1921 postIndex := iNdEx + msglen
1922 if postIndex > l {
1923 return io.ErrUnexpectedEOF
1924 }
1925 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1926 return err
1927 }
1928 iNdEx = postIndex
1929 case 2:
1930 if wireType != 2 {
1931 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
1932 }
1933 var msglen int
1934 for shift := uint(0); ; shift += 7 {
1935 if shift >= 64 {
1936 return ErrIntOverflowGenerated
1937 }
1938 if iNdEx >= l {
1939 return io.ErrUnexpectedEOF
1940 }
1941 b := dAtA[iNdEx]
1942 iNdEx++
1943 msglen |= (int(b) & 0x7F) << shift
1944 if b < 0x80 {
1945 break
1946 }
1947 }
1948 if msglen < 0 {
1949 return ErrInvalidLengthGenerated
1950 }
1951 postIndex := iNdEx + msglen
1952 if postIndex > l {
1953 return io.ErrUnexpectedEOF
1954 }
1955 m.Items = append(m.Items, ControllerRevision{})
1956 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1957 return err
1958 }
1959 iNdEx = postIndex
1960 default:
1961 iNdEx = preIndex
1962 skippy, err := skipGenerated(dAtA[iNdEx:])
1963 if err != nil {
1964 return err
1965 }
1966 if skippy < 0 {
1967 return ErrInvalidLengthGenerated
1968 }
1969 if (iNdEx + skippy) > l {
1970 return io.ErrUnexpectedEOF
1971 }
1972 iNdEx += skippy
1973 }
1974 }
1975
1976 if iNdEx > l {
1977 return io.ErrUnexpectedEOF
1978 }
1979 return nil
1980}
1981func (m *Deployment) Unmarshal(dAtA []byte) error {
1982 l := len(dAtA)
1983 iNdEx := 0
1984 for iNdEx < l {
1985 preIndex := iNdEx
1986 var wire uint64
1987 for shift := uint(0); ; shift += 7 {
1988 if shift >= 64 {
1989 return ErrIntOverflowGenerated
1990 }
1991 if iNdEx >= l {
1992 return io.ErrUnexpectedEOF
1993 }
1994 b := dAtA[iNdEx]
1995 iNdEx++
1996 wire |= (uint64(b) & 0x7F) << shift
1997 if b < 0x80 {
1998 break
1999 }
2000 }
2001 fieldNum := int32(wire >> 3)
2002 wireType := int(wire & 0x7)
2003 if wireType == 4 {
2004 return fmt.Errorf("proto: Deployment: wiretype end group for non-group")
2005 }
2006 if fieldNum <= 0 {
2007 return fmt.Errorf("proto: Deployment: illegal tag %d (wire type %d)", fieldNum, wire)
2008 }
2009 switch fieldNum {
2010 case 1:
2011 if wireType != 2 {
2012 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
2013 }
2014 var msglen int
2015 for shift := uint(0); ; shift += 7 {
2016 if shift >= 64 {
2017 return ErrIntOverflowGenerated
2018 }
2019 if iNdEx >= l {
2020 return io.ErrUnexpectedEOF
2021 }
2022 b := dAtA[iNdEx]
2023 iNdEx++
2024 msglen |= (int(b) & 0x7F) << shift
2025 if b < 0x80 {
2026 break
2027 }
2028 }
2029 if msglen < 0 {
2030 return ErrInvalidLengthGenerated
2031 }
2032 postIndex := iNdEx + msglen
2033 if postIndex > l {
2034 return io.ErrUnexpectedEOF
2035 }
2036 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2037 return err
2038 }
2039 iNdEx = postIndex
2040 case 2:
2041 if wireType != 2 {
2042 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
2043 }
2044 var msglen int
2045 for shift := uint(0); ; shift += 7 {
2046 if shift >= 64 {
2047 return ErrIntOverflowGenerated
2048 }
2049 if iNdEx >= l {
2050 return io.ErrUnexpectedEOF
2051 }
2052 b := dAtA[iNdEx]
2053 iNdEx++
2054 msglen |= (int(b) & 0x7F) << shift
2055 if b < 0x80 {
2056 break
2057 }
2058 }
2059 if msglen < 0 {
2060 return ErrInvalidLengthGenerated
2061 }
2062 postIndex := iNdEx + msglen
2063 if postIndex > l {
2064 return io.ErrUnexpectedEOF
2065 }
2066 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2067 return err
2068 }
2069 iNdEx = postIndex
2070 case 3:
2071 if wireType != 2 {
2072 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
2073 }
2074 var msglen int
2075 for shift := uint(0); ; shift += 7 {
2076 if shift >= 64 {
2077 return ErrIntOverflowGenerated
2078 }
2079 if iNdEx >= l {
2080 return io.ErrUnexpectedEOF
2081 }
2082 b := dAtA[iNdEx]
2083 iNdEx++
2084 msglen |= (int(b) & 0x7F) << shift
2085 if b < 0x80 {
2086 break
2087 }
2088 }
2089 if msglen < 0 {
2090 return ErrInvalidLengthGenerated
2091 }
2092 postIndex := iNdEx + msglen
2093 if postIndex > l {
2094 return io.ErrUnexpectedEOF
2095 }
2096 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2097 return err
2098 }
2099 iNdEx = postIndex
2100 default:
2101 iNdEx = preIndex
2102 skippy, err := skipGenerated(dAtA[iNdEx:])
2103 if err != nil {
2104 return err
2105 }
2106 if skippy < 0 {
2107 return ErrInvalidLengthGenerated
2108 }
2109 if (iNdEx + skippy) > l {
2110 return io.ErrUnexpectedEOF
2111 }
2112 iNdEx += skippy
2113 }
2114 }
2115
2116 if iNdEx > l {
2117 return io.ErrUnexpectedEOF
2118 }
2119 return nil
2120}
2121func (m *DeploymentCondition) Unmarshal(dAtA []byte) error {
2122 l := len(dAtA)
2123 iNdEx := 0
2124 for iNdEx < l {
2125 preIndex := iNdEx
2126 var wire uint64
2127 for shift := uint(0); ; shift += 7 {
2128 if shift >= 64 {
2129 return ErrIntOverflowGenerated
2130 }
2131 if iNdEx >= l {
2132 return io.ErrUnexpectedEOF
2133 }
2134 b := dAtA[iNdEx]
2135 iNdEx++
2136 wire |= (uint64(b) & 0x7F) << shift
2137 if b < 0x80 {
2138 break
2139 }
2140 }
2141 fieldNum := int32(wire >> 3)
2142 wireType := int(wire & 0x7)
2143 if wireType == 4 {
2144 return fmt.Errorf("proto: DeploymentCondition: wiretype end group for non-group")
2145 }
2146 if fieldNum <= 0 {
2147 return fmt.Errorf("proto: DeploymentCondition: illegal tag %d (wire type %d)", fieldNum, wire)
2148 }
2149 switch fieldNum {
2150 case 1:
2151 if wireType != 2 {
2152 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
2153 }
2154 var stringLen uint64
2155 for shift := uint(0); ; shift += 7 {
2156 if shift >= 64 {
2157 return ErrIntOverflowGenerated
2158 }
2159 if iNdEx >= l {
2160 return io.ErrUnexpectedEOF
2161 }
2162 b := dAtA[iNdEx]
2163 iNdEx++
2164 stringLen |= (uint64(b) & 0x7F) << shift
2165 if b < 0x80 {
2166 break
2167 }
2168 }
2169 intStringLen := int(stringLen)
2170 if intStringLen < 0 {
2171 return ErrInvalidLengthGenerated
2172 }
2173 postIndex := iNdEx + intStringLen
2174 if postIndex > l {
2175 return io.ErrUnexpectedEOF
2176 }
2177 m.Type = DeploymentConditionType(dAtA[iNdEx:postIndex])
2178 iNdEx = postIndex
2179 case 2:
2180 if wireType != 2 {
2181 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
2182 }
2183 var stringLen uint64
2184 for shift := uint(0); ; shift += 7 {
2185 if shift >= 64 {
2186 return ErrIntOverflowGenerated
2187 }
2188 if iNdEx >= l {
2189 return io.ErrUnexpectedEOF
2190 }
2191 b := dAtA[iNdEx]
2192 iNdEx++
2193 stringLen |= (uint64(b) & 0x7F) << shift
2194 if b < 0x80 {
2195 break
2196 }
2197 }
2198 intStringLen := int(stringLen)
2199 if intStringLen < 0 {
2200 return ErrInvalidLengthGenerated
2201 }
2202 postIndex := iNdEx + intStringLen
2203 if postIndex > l {
2204 return io.ErrUnexpectedEOF
2205 }
2206 m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
2207 iNdEx = postIndex
2208 case 4:
2209 if wireType != 2 {
2210 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
2211 }
2212 var stringLen uint64
2213 for shift := uint(0); ; shift += 7 {
2214 if shift >= 64 {
2215 return ErrIntOverflowGenerated
2216 }
2217 if iNdEx >= l {
2218 return io.ErrUnexpectedEOF
2219 }
2220 b := dAtA[iNdEx]
2221 iNdEx++
2222 stringLen |= (uint64(b) & 0x7F) << shift
2223 if b < 0x80 {
2224 break
2225 }
2226 }
2227 intStringLen := int(stringLen)
2228 if intStringLen < 0 {
2229 return ErrInvalidLengthGenerated
2230 }
2231 postIndex := iNdEx + intStringLen
2232 if postIndex > l {
2233 return io.ErrUnexpectedEOF
2234 }
2235 m.Reason = string(dAtA[iNdEx:postIndex])
2236 iNdEx = postIndex
2237 case 5:
2238 if wireType != 2 {
2239 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
2240 }
2241 var stringLen uint64
2242 for shift := uint(0); ; shift += 7 {
2243 if shift >= 64 {
2244 return ErrIntOverflowGenerated
2245 }
2246 if iNdEx >= l {
2247 return io.ErrUnexpectedEOF
2248 }
2249 b := dAtA[iNdEx]
2250 iNdEx++
2251 stringLen |= (uint64(b) & 0x7F) << shift
2252 if b < 0x80 {
2253 break
2254 }
2255 }
2256 intStringLen := int(stringLen)
2257 if intStringLen < 0 {
2258 return ErrInvalidLengthGenerated
2259 }
2260 postIndex := iNdEx + intStringLen
2261 if postIndex > l {
2262 return io.ErrUnexpectedEOF
2263 }
2264 m.Message = string(dAtA[iNdEx:postIndex])
2265 iNdEx = postIndex
2266 case 6:
2267 if wireType != 2 {
2268 return fmt.Errorf("proto: wrong wireType = %d for field LastUpdateTime", wireType)
2269 }
2270 var msglen int
2271 for shift := uint(0); ; shift += 7 {
2272 if shift >= 64 {
2273 return ErrIntOverflowGenerated
2274 }
2275 if iNdEx >= l {
2276 return io.ErrUnexpectedEOF
2277 }
2278 b := dAtA[iNdEx]
2279 iNdEx++
2280 msglen |= (int(b) & 0x7F) << shift
2281 if b < 0x80 {
2282 break
2283 }
2284 }
2285 if msglen < 0 {
2286 return ErrInvalidLengthGenerated
2287 }
2288 postIndex := iNdEx + msglen
2289 if postIndex > l {
2290 return io.ErrUnexpectedEOF
2291 }
2292 if err := m.LastUpdateTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2293 return err
2294 }
2295 iNdEx = postIndex
2296 case 7:
2297 if wireType != 2 {
2298 return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
2299 }
2300 var msglen int
2301 for shift := uint(0); ; shift += 7 {
2302 if shift >= 64 {
2303 return ErrIntOverflowGenerated
2304 }
2305 if iNdEx >= l {
2306 return io.ErrUnexpectedEOF
2307 }
2308 b := dAtA[iNdEx]
2309 iNdEx++
2310 msglen |= (int(b) & 0x7F) << shift
2311 if b < 0x80 {
2312 break
2313 }
2314 }
2315 if msglen < 0 {
2316 return ErrInvalidLengthGenerated
2317 }
2318 postIndex := iNdEx + msglen
2319 if postIndex > l {
2320 return io.ErrUnexpectedEOF
2321 }
2322 if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2323 return err
2324 }
2325 iNdEx = postIndex
2326 default:
2327 iNdEx = preIndex
2328 skippy, err := skipGenerated(dAtA[iNdEx:])
2329 if err != nil {
2330 return err
2331 }
2332 if skippy < 0 {
2333 return ErrInvalidLengthGenerated
2334 }
2335 if (iNdEx + skippy) > l {
2336 return io.ErrUnexpectedEOF
2337 }
2338 iNdEx += skippy
2339 }
2340 }
2341
2342 if iNdEx > l {
2343 return io.ErrUnexpectedEOF
2344 }
2345 return nil
2346}
2347func (m *DeploymentList) Unmarshal(dAtA []byte) error {
2348 l := len(dAtA)
2349 iNdEx := 0
2350 for iNdEx < l {
2351 preIndex := iNdEx
2352 var wire uint64
2353 for shift := uint(0); ; shift += 7 {
2354 if shift >= 64 {
2355 return ErrIntOverflowGenerated
2356 }
2357 if iNdEx >= l {
2358 return io.ErrUnexpectedEOF
2359 }
2360 b := dAtA[iNdEx]
2361 iNdEx++
2362 wire |= (uint64(b) & 0x7F) << shift
2363 if b < 0x80 {
2364 break
2365 }
2366 }
2367 fieldNum := int32(wire >> 3)
2368 wireType := int(wire & 0x7)
2369 if wireType == 4 {
2370 return fmt.Errorf("proto: DeploymentList: wiretype end group for non-group")
2371 }
2372 if fieldNum <= 0 {
2373 return fmt.Errorf("proto: DeploymentList: illegal tag %d (wire type %d)", fieldNum, wire)
2374 }
2375 switch fieldNum {
2376 case 1:
2377 if wireType != 2 {
2378 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
2379 }
2380 var msglen int
2381 for shift := uint(0); ; shift += 7 {
2382 if shift >= 64 {
2383 return ErrIntOverflowGenerated
2384 }
2385 if iNdEx >= l {
2386 return io.ErrUnexpectedEOF
2387 }
2388 b := dAtA[iNdEx]
2389 iNdEx++
2390 msglen |= (int(b) & 0x7F) << shift
2391 if b < 0x80 {
2392 break
2393 }
2394 }
2395 if msglen < 0 {
2396 return ErrInvalidLengthGenerated
2397 }
2398 postIndex := iNdEx + msglen
2399 if postIndex > l {
2400 return io.ErrUnexpectedEOF
2401 }
2402 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2403 return err
2404 }
2405 iNdEx = postIndex
2406 case 2:
2407 if wireType != 2 {
2408 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
2409 }
2410 var msglen int
2411 for shift := uint(0); ; shift += 7 {
2412 if shift >= 64 {
2413 return ErrIntOverflowGenerated
2414 }
2415 if iNdEx >= l {
2416 return io.ErrUnexpectedEOF
2417 }
2418 b := dAtA[iNdEx]
2419 iNdEx++
2420 msglen |= (int(b) & 0x7F) << shift
2421 if b < 0x80 {
2422 break
2423 }
2424 }
2425 if msglen < 0 {
2426 return ErrInvalidLengthGenerated
2427 }
2428 postIndex := iNdEx + msglen
2429 if postIndex > l {
2430 return io.ErrUnexpectedEOF
2431 }
2432 m.Items = append(m.Items, Deployment{})
2433 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2434 return err
2435 }
2436 iNdEx = postIndex
2437 default:
2438 iNdEx = preIndex
2439 skippy, err := skipGenerated(dAtA[iNdEx:])
2440 if err != nil {
2441 return err
2442 }
2443 if skippy < 0 {
2444 return ErrInvalidLengthGenerated
2445 }
2446 if (iNdEx + skippy) > l {
2447 return io.ErrUnexpectedEOF
2448 }
2449 iNdEx += skippy
2450 }
2451 }
2452
2453 if iNdEx > l {
2454 return io.ErrUnexpectedEOF
2455 }
2456 return nil
2457}
2458func (m *DeploymentRollback) Unmarshal(dAtA []byte) error {
2459 l := len(dAtA)
2460 iNdEx := 0
2461 for iNdEx < l {
2462 preIndex := iNdEx
2463 var wire uint64
2464 for shift := uint(0); ; shift += 7 {
2465 if shift >= 64 {
2466 return ErrIntOverflowGenerated
2467 }
2468 if iNdEx >= l {
2469 return io.ErrUnexpectedEOF
2470 }
2471 b := dAtA[iNdEx]
2472 iNdEx++
2473 wire |= (uint64(b) & 0x7F) << shift
2474 if b < 0x80 {
2475 break
2476 }
2477 }
2478 fieldNum := int32(wire >> 3)
2479 wireType := int(wire & 0x7)
2480 if wireType == 4 {
2481 return fmt.Errorf("proto: DeploymentRollback: wiretype end group for non-group")
2482 }
2483 if fieldNum <= 0 {
2484 return fmt.Errorf("proto: DeploymentRollback: illegal tag %d (wire type %d)", fieldNum, wire)
2485 }
2486 switch fieldNum {
2487 case 1:
2488 if wireType != 2 {
2489 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
2490 }
2491 var stringLen uint64
2492 for shift := uint(0); ; shift += 7 {
2493 if shift >= 64 {
2494 return ErrIntOverflowGenerated
2495 }
2496 if iNdEx >= l {
2497 return io.ErrUnexpectedEOF
2498 }
2499 b := dAtA[iNdEx]
2500 iNdEx++
2501 stringLen |= (uint64(b) & 0x7F) << shift
2502 if b < 0x80 {
2503 break
2504 }
2505 }
2506 intStringLen := int(stringLen)
2507 if intStringLen < 0 {
2508 return ErrInvalidLengthGenerated
2509 }
2510 postIndex := iNdEx + intStringLen
2511 if postIndex > l {
2512 return io.ErrUnexpectedEOF
2513 }
2514 m.Name = string(dAtA[iNdEx:postIndex])
2515 iNdEx = postIndex
2516 case 2:
2517 if wireType != 2 {
2518 return fmt.Errorf("proto: wrong wireType = %d for field UpdatedAnnotations", wireType)
2519 }
2520 var msglen int
2521 for shift := uint(0); ; shift += 7 {
2522 if shift >= 64 {
2523 return ErrIntOverflowGenerated
2524 }
2525 if iNdEx >= l {
2526 return io.ErrUnexpectedEOF
2527 }
2528 b := dAtA[iNdEx]
2529 iNdEx++
2530 msglen |= (int(b) & 0x7F) << shift
2531 if b < 0x80 {
2532 break
2533 }
2534 }
2535 if msglen < 0 {
2536 return ErrInvalidLengthGenerated
2537 }
2538 postIndex := iNdEx + msglen
2539 if postIndex > l {
2540 return io.ErrUnexpectedEOF
2541 }
2542 if m.UpdatedAnnotations == nil {
2543 m.UpdatedAnnotations = make(map[string]string)
2544 }
2545 var mapkey string
2546 var mapvalue string
2547 for iNdEx < postIndex {
2548 entryPreIndex := iNdEx
2549 var wire uint64
2550 for shift := uint(0); ; shift += 7 {
2551 if shift >= 64 {
2552 return ErrIntOverflowGenerated
2553 }
2554 if iNdEx >= l {
2555 return io.ErrUnexpectedEOF
2556 }
2557 b := dAtA[iNdEx]
2558 iNdEx++
2559 wire |= (uint64(b) & 0x7F) << shift
2560 if b < 0x80 {
2561 break
2562 }
2563 }
2564 fieldNum := int32(wire >> 3)
2565 if fieldNum == 1 {
2566 var stringLenmapkey uint64
2567 for shift := uint(0); ; shift += 7 {
2568 if shift >= 64 {
2569 return ErrIntOverflowGenerated
2570 }
2571 if iNdEx >= l {
2572 return io.ErrUnexpectedEOF
2573 }
2574 b := dAtA[iNdEx]
2575 iNdEx++
2576 stringLenmapkey |= (uint64(b) & 0x7F) << shift
2577 if b < 0x80 {
2578 break
2579 }
2580 }
2581 intStringLenmapkey := int(stringLenmapkey)
2582 if intStringLenmapkey < 0 {
2583 return ErrInvalidLengthGenerated
2584 }
2585 postStringIndexmapkey := iNdEx + intStringLenmapkey
2586 if postStringIndexmapkey > l {
2587 return io.ErrUnexpectedEOF
2588 }
2589 mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
2590 iNdEx = postStringIndexmapkey
2591 } else if fieldNum == 2 {
2592 var stringLenmapvalue uint64
2593 for shift := uint(0); ; shift += 7 {
2594 if shift >= 64 {
2595 return ErrIntOverflowGenerated
2596 }
2597 if iNdEx >= l {
2598 return io.ErrUnexpectedEOF
2599 }
2600 b := dAtA[iNdEx]
2601 iNdEx++
2602 stringLenmapvalue |= (uint64(b) & 0x7F) << shift
2603 if b < 0x80 {
2604 break
2605 }
2606 }
2607 intStringLenmapvalue := int(stringLenmapvalue)
2608 if intStringLenmapvalue < 0 {
2609 return ErrInvalidLengthGenerated
2610 }
2611 postStringIndexmapvalue := iNdEx + intStringLenmapvalue
2612 if postStringIndexmapvalue > l {
2613 return io.ErrUnexpectedEOF
2614 }
2615 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
2616 iNdEx = postStringIndexmapvalue
2617 } else {
2618 iNdEx = entryPreIndex
2619 skippy, err := skipGenerated(dAtA[iNdEx:])
2620 if err != nil {
2621 return err
2622 }
2623 if skippy < 0 {
2624 return ErrInvalidLengthGenerated
2625 }
2626 if (iNdEx + skippy) > postIndex {
2627 return io.ErrUnexpectedEOF
2628 }
2629 iNdEx += skippy
2630 }
2631 }
2632 m.UpdatedAnnotations[mapkey] = mapvalue
2633 iNdEx = postIndex
2634 case 3:
2635 if wireType != 2 {
2636 return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
2637 }
2638 var msglen int
2639 for shift := uint(0); ; shift += 7 {
2640 if shift >= 64 {
2641 return ErrIntOverflowGenerated
2642 }
2643 if iNdEx >= l {
2644 return io.ErrUnexpectedEOF
2645 }
2646 b := dAtA[iNdEx]
2647 iNdEx++
2648 msglen |= (int(b) & 0x7F) << shift
2649 if b < 0x80 {
2650 break
2651 }
2652 }
2653 if msglen < 0 {
2654 return ErrInvalidLengthGenerated
2655 }
2656 postIndex := iNdEx + msglen
2657 if postIndex > l {
2658 return io.ErrUnexpectedEOF
2659 }
2660 if err := m.RollbackTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2661 return err
2662 }
2663 iNdEx = postIndex
2664 default:
2665 iNdEx = preIndex
2666 skippy, err := skipGenerated(dAtA[iNdEx:])
2667 if err != nil {
2668 return err
2669 }
2670 if skippy < 0 {
2671 return ErrInvalidLengthGenerated
2672 }
2673 if (iNdEx + skippy) > l {
2674 return io.ErrUnexpectedEOF
2675 }
2676 iNdEx += skippy
2677 }
2678 }
2679
2680 if iNdEx > l {
2681 return io.ErrUnexpectedEOF
2682 }
2683 return nil
2684}
2685func (m *DeploymentSpec) Unmarshal(dAtA []byte) error {
2686 l := len(dAtA)
2687 iNdEx := 0
2688 for iNdEx < l {
2689 preIndex := iNdEx
2690 var wire uint64
2691 for shift := uint(0); ; shift += 7 {
2692 if shift >= 64 {
2693 return ErrIntOverflowGenerated
2694 }
2695 if iNdEx >= l {
2696 return io.ErrUnexpectedEOF
2697 }
2698 b := dAtA[iNdEx]
2699 iNdEx++
2700 wire |= (uint64(b) & 0x7F) << shift
2701 if b < 0x80 {
2702 break
2703 }
2704 }
2705 fieldNum := int32(wire >> 3)
2706 wireType := int(wire & 0x7)
2707 if wireType == 4 {
2708 return fmt.Errorf("proto: DeploymentSpec: wiretype end group for non-group")
2709 }
2710 if fieldNum <= 0 {
2711 return fmt.Errorf("proto: DeploymentSpec: illegal tag %d (wire type %d)", fieldNum, wire)
2712 }
2713 switch fieldNum {
2714 case 1:
2715 if wireType != 0 {
2716 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
2717 }
2718 var v int32
2719 for shift := uint(0); ; shift += 7 {
2720 if shift >= 64 {
2721 return ErrIntOverflowGenerated
2722 }
2723 if iNdEx >= l {
2724 return io.ErrUnexpectedEOF
2725 }
2726 b := dAtA[iNdEx]
2727 iNdEx++
2728 v |= (int32(b) & 0x7F) << shift
2729 if b < 0x80 {
2730 break
2731 }
2732 }
2733 m.Replicas = &v
2734 case 2:
2735 if wireType != 2 {
2736 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
2737 }
2738 var msglen int
2739 for shift := uint(0); ; shift += 7 {
2740 if shift >= 64 {
2741 return ErrIntOverflowGenerated
2742 }
2743 if iNdEx >= l {
2744 return io.ErrUnexpectedEOF
2745 }
2746 b := dAtA[iNdEx]
2747 iNdEx++
2748 msglen |= (int(b) & 0x7F) << shift
2749 if b < 0x80 {
2750 break
2751 }
2752 }
2753 if msglen < 0 {
2754 return ErrInvalidLengthGenerated
2755 }
2756 postIndex := iNdEx + msglen
2757 if postIndex > l {
2758 return io.ErrUnexpectedEOF
2759 }
2760 if m.Selector == nil {
2761 m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
2762 }
2763 if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2764 return err
2765 }
2766 iNdEx = postIndex
2767 case 3:
2768 if wireType != 2 {
2769 return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
2770 }
2771 var msglen int
2772 for shift := uint(0); ; shift += 7 {
2773 if shift >= 64 {
2774 return ErrIntOverflowGenerated
2775 }
2776 if iNdEx >= l {
2777 return io.ErrUnexpectedEOF
2778 }
2779 b := dAtA[iNdEx]
2780 iNdEx++
2781 msglen |= (int(b) & 0x7F) << shift
2782 if b < 0x80 {
2783 break
2784 }
2785 }
2786 if msglen < 0 {
2787 return ErrInvalidLengthGenerated
2788 }
2789 postIndex := iNdEx + msglen
2790 if postIndex > l {
2791 return io.ErrUnexpectedEOF
2792 }
2793 if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2794 return err
2795 }
2796 iNdEx = postIndex
2797 case 4:
2798 if wireType != 2 {
2799 return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType)
2800 }
2801 var msglen int
2802 for shift := uint(0); ; shift += 7 {
2803 if shift >= 64 {
2804 return ErrIntOverflowGenerated
2805 }
2806 if iNdEx >= l {
2807 return io.ErrUnexpectedEOF
2808 }
2809 b := dAtA[iNdEx]
2810 iNdEx++
2811 msglen |= (int(b) & 0x7F) << shift
2812 if b < 0x80 {
2813 break
2814 }
2815 }
2816 if msglen < 0 {
2817 return ErrInvalidLengthGenerated
2818 }
2819 postIndex := iNdEx + msglen
2820 if postIndex > l {
2821 return io.ErrUnexpectedEOF
2822 }
2823 if err := m.Strategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2824 return err
2825 }
2826 iNdEx = postIndex
2827 case 5:
2828 if wireType != 0 {
2829 return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
2830 }
2831 m.MinReadySeconds = 0
2832 for shift := uint(0); ; shift += 7 {
2833 if shift >= 64 {
2834 return ErrIntOverflowGenerated
2835 }
2836 if iNdEx >= l {
2837 return io.ErrUnexpectedEOF
2838 }
2839 b := dAtA[iNdEx]
2840 iNdEx++
2841 m.MinReadySeconds |= (int32(b) & 0x7F) << shift
2842 if b < 0x80 {
2843 break
2844 }
2845 }
2846 case 6:
2847 if wireType != 0 {
2848 return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
2849 }
2850 var v int32
2851 for shift := uint(0); ; shift += 7 {
2852 if shift >= 64 {
2853 return ErrIntOverflowGenerated
2854 }
2855 if iNdEx >= l {
2856 return io.ErrUnexpectedEOF
2857 }
2858 b := dAtA[iNdEx]
2859 iNdEx++
2860 v |= (int32(b) & 0x7F) << shift
2861 if b < 0x80 {
2862 break
2863 }
2864 }
2865 m.RevisionHistoryLimit = &v
2866 case 7:
2867 if wireType != 0 {
2868 return fmt.Errorf("proto: wrong wireType = %d for field Paused", wireType)
2869 }
2870 var v int
2871 for shift := uint(0); ; shift += 7 {
2872 if shift >= 64 {
2873 return ErrIntOverflowGenerated
2874 }
2875 if iNdEx >= l {
2876 return io.ErrUnexpectedEOF
2877 }
2878 b := dAtA[iNdEx]
2879 iNdEx++
2880 v |= (int(b) & 0x7F) << shift
2881 if b < 0x80 {
2882 break
2883 }
2884 }
2885 m.Paused = bool(v != 0)
2886 case 8:
2887 if wireType != 2 {
2888 return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
2889 }
2890 var msglen int
2891 for shift := uint(0); ; shift += 7 {
2892 if shift >= 64 {
2893 return ErrIntOverflowGenerated
2894 }
2895 if iNdEx >= l {
2896 return io.ErrUnexpectedEOF
2897 }
2898 b := dAtA[iNdEx]
2899 iNdEx++
2900 msglen |= (int(b) & 0x7F) << shift
2901 if b < 0x80 {
2902 break
2903 }
2904 }
2905 if msglen < 0 {
2906 return ErrInvalidLengthGenerated
2907 }
2908 postIndex := iNdEx + msglen
2909 if postIndex > l {
2910 return io.ErrUnexpectedEOF
2911 }
2912 if m.RollbackTo == nil {
2913 m.RollbackTo = &RollbackConfig{}
2914 }
2915 if err := m.RollbackTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2916 return err
2917 }
2918 iNdEx = postIndex
2919 case 9:
2920 if wireType != 0 {
2921 return fmt.Errorf("proto: wrong wireType = %d for field ProgressDeadlineSeconds", wireType)
2922 }
2923 var v int32
2924 for shift := uint(0); ; shift += 7 {
2925 if shift >= 64 {
2926 return ErrIntOverflowGenerated
2927 }
2928 if iNdEx >= l {
2929 return io.ErrUnexpectedEOF
2930 }
2931 b := dAtA[iNdEx]
2932 iNdEx++
2933 v |= (int32(b) & 0x7F) << shift
2934 if b < 0x80 {
2935 break
2936 }
2937 }
2938 m.ProgressDeadlineSeconds = &v
2939 default:
2940 iNdEx = preIndex
2941 skippy, err := skipGenerated(dAtA[iNdEx:])
2942 if err != nil {
2943 return err
2944 }
2945 if skippy < 0 {
2946 return ErrInvalidLengthGenerated
2947 }
2948 if (iNdEx + skippy) > l {
2949 return io.ErrUnexpectedEOF
2950 }
2951 iNdEx += skippy
2952 }
2953 }
2954
2955 if iNdEx > l {
2956 return io.ErrUnexpectedEOF
2957 }
2958 return nil
2959}
2960func (m *DeploymentStatus) Unmarshal(dAtA []byte) error {
2961 l := len(dAtA)
2962 iNdEx := 0
2963 for iNdEx < l {
2964 preIndex := iNdEx
2965 var wire uint64
2966 for shift := uint(0); ; shift += 7 {
2967 if shift >= 64 {
2968 return ErrIntOverflowGenerated
2969 }
2970 if iNdEx >= l {
2971 return io.ErrUnexpectedEOF
2972 }
2973 b := dAtA[iNdEx]
2974 iNdEx++
2975 wire |= (uint64(b) & 0x7F) << shift
2976 if b < 0x80 {
2977 break
2978 }
2979 }
2980 fieldNum := int32(wire >> 3)
2981 wireType := int(wire & 0x7)
2982 if wireType == 4 {
2983 return fmt.Errorf("proto: DeploymentStatus: wiretype end group for non-group")
2984 }
2985 if fieldNum <= 0 {
2986 return fmt.Errorf("proto: DeploymentStatus: illegal tag %d (wire type %d)", fieldNum, wire)
2987 }
2988 switch fieldNum {
2989 case 1:
2990 if wireType != 0 {
2991 return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
2992 }
2993 m.ObservedGeneration = 0
2994 for shift := uint(0); ; shift += 7 {
2995 if shift >= 64 {
2996 return ErrIntOverflowGenerated
2997 }
2998 if iNdEx >= l {
2999 return io.ErrUnexpectedEOF
3000 }
3001 b := dAtA[iNdEx]
3002 iNdEx++
3003 m.ObservedGeneration |= (int64(b) & 0x7F) << shift
3004 if b < 0x80 {
3005 break
3006 }
3007 }
3008 case 2:
3009 if wireType != 0 {
3010 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
3011 }
3012 m.Replicas = 0
3013 for shift := uint(0); ; shift += 7 {
3014 if shift >= 64 {
3015 return ErrIntOverflowGenerated
3016 }
3017 if iNdEx >= l {
3018 return io.ErrUnexpectedEOF
3019 }
3020 b := dAtA[iNdEx]
3021 iNdEx++
3022 m.Replicas |= (int32(b) & 0x7F) << shift
3023 if b < 0x80 {
3024 break
3025 }
3026 }
3027 case 3:
3028 if wireType != 0 {
3029 return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType)
3030 }
3031 m.UpdatedReplicas = 0
3032 for shift := uint(0); ; shift += 7 {
3033 if shift >= 64 {
3034 return ErrIntOverflowGenerated
3035 }
3036 if iNdEx >= l {
3037 return io.ErrUnexpectedEOF
3038 }
3039 b := dAtA[iNdEx]
3040 iNdEx++
3041 m.UpdatedReplicas |= (int32(b) & 0x7F) << shift
3042 if b < 0x80 {
3043 break
3044 }
3045 }
3046 case 4:
3047 if wireType != 0 {
3048 return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
3049 }
3050 m.AvailableReplicas = 0
3051 for shift := uint(0); ; shift += 7 {
3052 if shift >= 64 {
3053 return ErrIntOverflowGenerated
3054 }
3055 if iNdEx >= l {
3056 return io.ErrUnexpectedEOF
3057 }
3058 b := dAtA[iNdEx]
3059 iNdEx++
3060 m.AvailableReplicas |= (int32(b) & 0x7F) << shift
3061 if b < 0x80 {
3062 break
3063 }
3064 }
3065 case 5:
3066 if wireType != 0 {
3067 return fmt.Errorf("proto: wrong wireType = %d for field UnavailableReplicas", wireType)
3068 }
3069 m.UnavailableReplicas = 0
3070 for shift := uint(0); ; shift += 7 {
3071 if shift >= 64 {
3072 return ErrIntOverflowGenerated
3073 }
3074 if iNdEx >= l {
3075 return io.ErrUnexpectedEOF
3076 }
3077 b := dAtA[iNdEx]
3078 iNdEx++
3079 m.UnavailableReplicas |= (int32(b) & 0x7F) << shift
3080 if b < 0x80 {
3081 break
3082 }
3083 }
3084 case 6:
3085 if wireType != 2 {
3086 return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
3087 }
3088 var msglen int
3089 for shift := uint(0); ; shift += 7 {
3090 if shift >= 64 {
3091 return ErrIntOverflowGenerated
3092 }
3093 if iNdEx >= l {
3094 return io.ErrUnexpectedEOF
3095 }
3096 b := dAtA[iNdEx]
3097 iNdEx++
3098 msglen |= (int(b) & 0x7F) << shift
3099 if b < 0x80 {
3100 break
3101 }
3102 }
3103 if msglen < 0 {
3104 return ErrInvalidLengthGenerated
3105 }
3106 postIndex := iNdEx + msglen
3107 if postIndex > l {
3108 return io.ErrUnexpectedEOF
3109 }
3110 m.Conditions = append(m.Conditions, DeploymentCondition{})
3111 if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3112 return err
3113 }
3114 iNdEx = postIndex
3115 case 7:
3116 if wireType != 0 {
3117 return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
3118 }
3119 m.ReadyReplicas = 0
3120 for shift := uint(0); ; shift += 7 {
3121 if shift >= 64 {
3122 return ErrIntOverflowGenerated
3123 }
3124 if iNdEx >= l {
3125 return io.ErrUnexpectedEOF
3126 }
3127 b := dAtA[iNdEx]
3128 iNdEx++
3129 m.ReadyReplicas |= (int32(b) & 0x7F) << shift
3130 if b < 0x80 {
3131 break
3132 }
3133 }
3134 case 8:
3135 if wireType != 0 {
3136 return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
3137 }
3138 var v int32
3139 for shift := uint(0); ; shift += 7 {
3140 if shift >= 64 {
3141 return ErrIntOverflowGenerated
3142 }
3143 if iNdEx >= l {
3144 return io.ErrUnexpectedEOF
3145 }
3146 b := dAtA[iNdEx]
3147 iNdEx++
3148 v |= (int32(b) & 0x7F) << shift
3149 if b < 0x80 {
3150 break
3151 }
3152 }
3153 m.CollisionCount = &v
3154 default:
3155 iNdEx = preIndex
3156 skippy, err := skipGenerated(dAtA[iNdEx:])
3157 if err != nil {
3158 return err
3159 }
3160 if skippy < 0 {
3161 return ErrInvalidLengthGenerated
3162 }
3163 if (iNdEx + skippy) > l {
3164 return io.ErrUnexpectedEOF
3165 }
3166 iNdEx += skippy
3167 }
3168 }
3169
3170 if iNdEx > l {
3171 return io.ErrUnexpectedEOF
3172 }
3173 return nil
3174}
3175func (m *DeploymentStrategy) Unmarshal(dAtA []byte) error {
3176 l := len(dAtA)
3177 iNdEx := 0
3178 for iNdEx < l {
3179 preIndex := iNdEx
3180 var wire uint64
3181 for shift := uint(0); ; shift += 7 {
3182 if shift >= 64 {
3183 return ErrIntOverflowGenerated
3184 }
3185 if iNdEx >= l {
3186 return io.ErrUnexpectedEOF
3187 }
3188 b := dAtA[iNdEx]
3189 iNdEx++
3190 wire |= (uint64(b) & 0x7F) << shift
3191 if b < 0x80 {
3192 break
3193 }
3194 }
3195 fieldNum := int32(wire >> 3)
3196 wireType := int(wire & 0x7)
3197 if wireType == 4 {
3198 return fmt.Errorf("proto: DeploymentStrategy: wiretype end group for non-group")
3199 }
3200 if fieldNum <= 0 {
3201 return fmt.Errorf("proto: DeploymentStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
3202 }
3203 switch fieldNum {
3204 case 1:
3205 if wireType != 2 {
3206 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
3207 }
3208 var stringLen uint64
3209 for shift := uint(0); ; shift += 7 {
3210 if shift >= 64 {
3211 return ErrIntOverflowGenerated
3212 }
3213 if iNdEx >= l {
3214 return io.ErrUnexpectedEOF
3215 }
3216 b := dAtA[iNdEx]
3217 iNdEx++
3218 stringLen |= (uint64(b) & 0x7F) << shift
3219 if b < 0x80 {
3220 break
3221 }
3222 }
3223 intStringLen := int(stringLen)
3224 if intStringLen < 0 {
3225 return ErrInvalidLengthGenerated
3226 }
3227 postIndex := iNdEx + intStringLen
3228 if postIndex > l {
3229 return io.ErrUnexpectedEOF
3230 }
3231 m.Type = DeploymentStrategyType(dAtA[iNdEx:postIndex])
3232 iNdEx = postIndex
3233 case 2:
3234 if wireType != 2 {
3235 return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
3236 }
3237 var msglen int
3238 for shift := uint(0); ; shift += 7 {
3239 if shift >= 64 {
3240 return ErrIntOverflowGenerated
3241 }
3242 if iNdEx >= l {
3243 return io.ErrUnexpectedEOF
3244 }
3245 b := dAtA[iNdEx]
3246 iNdEx++
3247 msglen |= (int(b) & 0x7F) << shift
3248 if b < 0x80 {
3249 break
3250 }
3251 }
3252 if msglen < 0 {
3253 return ErrInvalidLengthGenerated
3254 }
3255 postIndex := iNdEx + msglen
3256 if postIndex > l {
3257 return io.ErrUnexpectedEOF
3258 }
3259 if m.RollingUpdate == nil {
3260 m.RollingUpdate = &RollingUpdateDeployment{}
3261 }
3262 if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3263 return err
3264 }
3265 iNdEx = postIndex
3266 default:
3267 iNdEx = preIndex
3268 skippy, err := skipGenerated(dAtA[iNdEx:])
3269 if err != nil {
3270 return err
3271 }
3272 if skippy < 0 {
3273 return ErrInvalidLengthGenerated
3274 }
3275 if (iNdEx + skippy) > l {
3276 return io.ErrUnexpectedEOF
3277 }
3278 iNdEx += skippy
3279 }
3280 }
3281
3282 if iNdEx > l {
3283 return io.ErrUnexpectedEOF
3284 }
3285 return nil
3286}
3287func (m *RollbackConfig) Unmarshal(dAtA []byte) error {
3288 l := len(dAtA)
3289 iNdEx := 0
3290 for iNdEx < l {
3291 preIndex := iNdEx
3292 var wire uint64
3293 for shift := uint(0); ; shift += 7 {
3294 if shift >= 64 {
3295 return ErrIntOverflowGenerated
3296 }
3297 if iNdEx >= l {
3298 return io.ErrUnexpectedEOF
3299 }
3300 b := dAtA[iNdEx]
3301 iNdEx++
3302 wire |= (uint64(b) & 0x7F) << shift
3303 if b < 0x80 {
3304 break
3305 }
3306 }
3307 fieldNum := int32(wire >> 3)
3308 wireType := int(wire & 0x7)
3309 if wireType == 4 {
3310 return fmt.Errorf("proto: RollbackConfig: wiretype end group for non-group")
3311 }
3312 if fieldNum <= 0 {
3313 return fmt.Errorf("proto: RollbackConfig: illegal tag %d (wire type %d)", fieldNum, wire)
3314 }
3315 switch fieldNum {
3316 case 1:
3317 if wireType != 0 {
3318 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
3319 }
3320 m.Revision = 0
3321 for shift := uint(0); ; shift += 7 {
3322 if shift >= 64 {
3323 return ErrIntOverflowGenerated
3324 }
3325 if iNdEx >= l {
3326 return io.ErrUnexpectedEOF
3327 }
3328 b := dAtA[iNdEx]
3329 iNdEx++
3330 m.Revision |= (int64(b) & 0x7F) << shift
3331 if b < 0x80 {
3332 break
3333 }
3334 }
3335 default:
3336 iNdEx = preIndex
3337 skippy, err := skipGenerated(dAtA[iNdEx:])
3338 if err != nil {
3339 return err
3340 }
3341 if skippy < 0 {
3342 return ErrInvalidLengthGenerated
3343 }
3344 if (iNdEx + skippy) > l {
3345 return io.ErrUnexpectedEOF
3346 }
3347 iNdEx += skippy
3348 }
3349 }
3350
3351 if iNdEx > l {
3352 return io.ErrUnexpectedEOF
3353 }
3354 return nil
3355}
3356func (m *RollingUpdateDeployment) Unmarshal(dAtA []byte) error {
3357 l := len(dAtA)
3358 iNdEx := 0
3359 for iNdEx < l {
3360 preIndex := iNdEx
3361 var wire uint64
3362 for shift := uint(0); ; shift += 7 {
3363 if shift >= 64 {
3364 return ErrIntOverflowGenerated
3365 }
3366 if iNdEx >= l {
3367 return io.ErrUnexpectedEOF
3368 }
3369 b := dAtA[iNdEx]
3370 iNdEx++
3371 wire |= (uint64(b) & 0x7F) << shift
3372 if b < 0x80 {
3373 break
3374 }
3375 }
3376 fieldNum := int32(wire >> 3)
3377 wireType := int(wire & 0x7)
3378 if wireType == 4 {
3379 return fmt.Errorf("proto: RollingUpdateDeployment: wiretype end group for non-group")
3380 }
3381 if fieldNum <= 0 {
3382 return fmt.Errorf("proto: RollingUpdateDeployment: illegal tag %d (wire type %d)", fieldNum, wire)
3383 }
3384 switch fieldNum {
3385 case 1:
3386 if wireType != 2 {
3387 return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
3388 }
3389 var msglen int
3390 for shift := uint(0); ; shift += 7 {
3391 if shift >= 64 {
3392 return ErrIntOverflowGenerated
3393 }
3394 if iNdEx >= l {
3395 return io.ErrUnexpectedEOF
3396 }
3397 b := dAtA[iNdEx]
3398 iNdEx++
3399 msglen |= (int(b) & 0x7F) << shift
3400 if b < 0x80 {
3401 break
3402 }
3403 }
3404 if msglen < 0 {
3405 return ErrInvalidLengthGenerated
3406 }
3407 postIndex := iNdEx + msglen
3408 if postIndex > l {
3409 return io.ErrUnexpectedEOF
3410 }
3411 if m.MaxUnavailable == nil {
3412 m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
3413 }
3414 if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3415 return err
3416 }
3417 iNdEx = postIndex
3418 case 2:
3419 if wireType != 2 {
3420 return fmt.Errorf("proto: wrong wireType = %d for field MaxSurge", wireType)
3421 }
3422 var msglen int
3423 for shift := uint(0); ; shift += 7 {
3424 if shift >= 64 {
3425 return ErrIntOverflowGenerated
3426 }
3427 if iNdEx >= l {
3428 return io.ErrUnexpectedEOF
3429 }
3430 b := dAtA[iNdEx]
3431 iNdEx++
3432 msglen |= (int(b) & 0x7F) << shift
3433 if b < 0x80 {
3434 break
3435 }
3436 }
3437 if msglen < 0 {
3438 return ErrInvalidLengthGenerated
3439 }
3440 postIndex := iNdEx + msglen
3441 if postIndex > l {
3442 return io.ErrUnexpectedEOF
3443 }
3444 if m.MaxSurge == nil {
3445 m.MaxSurge = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
3446 }
3447 if err := m.MaxSurge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3448 return err
3449 }
3450 iNdEx = postIndex
3451 default:
3452 iNdEx = preIndex
3453 skippy, err := skipGenerated(dAtA[iNdEx:])
3454 if err != nil {
3455 return err
3456 }
3457 if skippy < 0 {
3458 return ErrInvalidLengthGenerated
3459 }
3460 if (iNdEx + skippy) > l {
3461 return io.ErrUnexpectedEOF
3462 }
3463 iNdEx += skippy
3464 }
3465 }
3466
3467 if iNdEx > l {
3468 return io.ErrUnexpectedEOF
3469 }
3470 return nil
3471}
3472func (m *RollingUpdateStatefulSetStrategy) Unmarshal(dAtA []byte) error {
3473 l := len(dAtA)
3474 iNdEx := 0
3475 for iNdEx < l {
3476 preIndex := iNdEx
3477 var wire uint64
3478 for shift := uint(0); ; shift += 7 {
3479 if shift >= 64 {
3480 return ErrIntOverflowGenerated
3481 }
3482 if iNdEx >= l {
3483 return io.ErrUnexpectedEOF
3484 }
3485 b := dAtA[iNdEx]
3486 iNdEx++
3487 wire |= (uint64(b) & 0x7F) << shift
3488 if b < 0x80 {
3489 break
3490 }
3491 }
3492 fieldNum := int32(wire >> 3)
3493 wireType := int(wire & 0x7)
3494 if wireType == 4 {
3495 return fmt.Errorf("proto: RollingUpdateStatefulSetStrategy: wiretype end group for non-group")
3496 }
3497 if fieldNum <= 0 {
3498 return fmt.Errorf("proto: RollingUpdateStatefulSetStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
3499 }
3500 switch fieldNum {
3501 case 1:
3502 if wireType != 0 {
3503 return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType)
3504 }
3505 var v int32
3506 for shift := uint(0); ; shift += 7 {
3507 if shift >= 64 {
3508 return ErrIntOverflowGenerated
3509 }
3510 if iNdEx >= l {
3511 return io.ErrUnexpectedEOF
3512 }
3513 b := dAtA[iNdEx]
3514 iNdEx++
3515 v |= (int32(b) & 0x7F) << shift
3516 if b < 0x80 {
3517 break
3518 }
3519 }
3520 m.Partition = &v
3521 default:
3522 iNdEx = preIndex
3523 skippy, err := skipGenerated(dAtA[iNdEx:])
3524 if err != nil {
3525 return err
3526 }
3527 if skippy < 0 {
3528 return ErrInvalidLengthGenerated
3529 }
3530 if (iNdEx + skippy) > l {
3531 return io.ErrUnexpectedEOF
3532 }
3533 iNdEx += skippy
3534 }
3535 }
3536
3537 if iNdEx > l {
3538 return io.ErrUnexpectedEOF
3539 }
3540 return nil
3541}
3542func (m *Scale) Unmarshal(dAtA []byte) error {
3543 l := len(dAtA)
3544 iNdEx := 0
3545 for iNdEx < l {
3546 preIndex := iNdEx
3547 var wire uint64
3548 for shift := uint(0); ; shift += 7 {
3549 if shift >= 64 {
3550 return ErrIntOverflowGenerated
3551 }
3552 if iNdEx >= l {
3553 return io.ErrUnexpectedEOF
3554 }
3555 b := dAtA[iNdEx]
3556 iNdEx++
3557 wire |= (uint64(b) & 0x7F) << shift
3558 if b < 0x80 {
3559 break
3560 }
3561 }
3562 fieldNum := int32(wire >> 3)
3563 wireType := int(wire & 0x7)
3564 if wireType == 4 {
3565 return fmt.Errorf("proto: Scale: wiretype end group for non-group")
3566 }
3567 if fieldNum <= 0 {
3568 return fmt.Errorf("proto: Scale: illegal tag %d (wire type %d)", fieldNum, wire)
3569 }
3570 switch fieldNum {
3571 case 1:
3572 if wireType != 2 {
3573 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
3574 }
3575 var msglen int
3576 for shift := uint(0); ; shift += 7 {
3577 if shift >= 64 {
3578 return ErrIntOverflowGenerated
3579 }
3580 if iNdEx >= l {
3581 return io.ErrUnexpectedEOF
3582 }
3583 b := dAtA[iNdEx]
3584 iNdEx++
3585 msglen |= (int(b) & 0x7F) << shift
3586 if b < 0x80 {
3587 break
3588 }
3589 }
3590 if msglen < 0 {
3591 return ErrInvalidLengthGenerated
3592 }
3593 postIndex := iNdEx + msglen
3594 if postIndex > l {
3595 return io.ErrUnexpectedEOF
3596 }
3597 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3598 return err
3599 }
3600 iNdEx = postIndex
3601 case 2:
3602 if wireType != 2 {
3603 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
3604 }
3605 var msglen int
3606 for shift := uint(0); ; shift += 7 {
3607 if shift >= 64 {
3608 return ErrIntOverflowGenerated
3609 }
3610 if iNdEx >= l {
3611 return io.ErrUnexpectedEOF
3612 }
3613 b := dAtA[iNdEx]
3614 iNdEx++
3615 msglen |= (int(b) & 0x7F) << shift
3616 if b < 0x80 {
3617 break
3618 }
3619 }
3620 if msglen < 0 {
3621 return ErrInvalidLengthGenerated
3622 }
3623 postIndex := iNdEx + msglen
3624 if postIndex > l {
3625 return io.ErrUnexpectedEOF
3626 }
3627 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3628 return err
3629 }
3630 iNdEx = postIndex
3631 case 3:
3632 if wireType != 2 {
3633 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
3634 }
3635 var msglen int
3636 for shift := uint(0); ; shift += 7 {
3637 if shift >= 64 {
3638 return ErrIntOverflowGenerated
3639 }
3640 if iNdEx >= l {
3641 return io.ErrUnexpectedEOF
3642 }
3643 b := dAtA[iNdEx]
3644 iNdEx++
3645 msglen |= (int(b) & 0x7F) << shift
3646 if b < 0x80 {
3647 break
3648 }
3649 }
3650 if msglen < 0 {
3651 return ErrInvalidLengthGenerated
3652 }
3653 postIndex := iNdEx + msglen
3654 if postIndex > l {
3655 return io.ErrUnexpectedEOF
3656 }
3657 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3658 return err
3659 }
3660 iNdEx = postIndex
3661 default:
3662 iNdEx = preIndex
3663 skippy, err := skipGenerated(dAtA[iNdEx:])
3664 if err != nil {
3665 return err
3666 }
3667 if skippy < 0 {
3668 return ErrInvalidLengthGenerated
3669 }
3670 if (iNdEx + skippy) > l {
3671 return io.ErrUnexpectedEOF
3672 }
3673 iNdEx += skippy
3674 }
3675 }
3676
3677 if iNdEx > l {
3678 return io.ErrUnexpectedEOF
3679 }
3680 return nil
3681}
3682func (m *ScaleSpec) Unmarshal(dAtA []byte) error {
3683 l := len(dAtA)
3684 iNdEx := 0
3685 for iNdEx < l {
3686 preIndex := iNdEx
3687 var wire uint64
3688 for shift := uint(0); ; shift += 7 {
3689 if shift >= 64 {
3690 return ErrIntOverflowGenerated
3691 }
3692 if iNdEx >= l {
3693 return io.ErrUnexpectedEOF
3694 }
3695 b := dAtA[iNdEx]
3696 iNdEx++
3697 wire |= (uint64(b) & 0x7F) << shift
3698 if b < 0x80 {
3699 break
3700 }
3701 }
3702 fieldNum := int32(wire >> 3)
3703 wireType := int(wire & 0x7)
3704 if wireType == 4 {
3705 return fmt.Errorf("proto: ScaleSpec: wiretype end group for non-group")
3706 }
3707 if fieldNum <= 0 {
3708 return fmt.Errorf("proto: ScaleSpec: illegal tag %d (wire type %d)", fieldNum, wire)
3709 }
3710 switch fieldNum {
3711 case 1:
3712 if wireType != 0 {
3713 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
3714 }
3715 m.Replicas = 0
3716 for shift := uint(0); ; shift += 7 {
3717 if shift >= 64 {
3718 return ErrIntOverflowGenerated
3719 }
3720 if iNdEx >= l {
3721 return io.ErrUnexpectedEOF
3722 }
3723 b := dAtA[iNdEx]
3724 iNdEx++
3725 m.Replicas |= (int32(b) & 0x7F) << shift
3726 if b < 0x80 {
3727 break
3728 }
3729 }
3730 default:
3731 iNdEx = preIndex
3732 skippy, err := skipGenerated(dAtA[iNdEx:])
3733 if err != nil {
3734 return err
3735 }
3736 if skippy < 0 {
3737 return ErrInvalidLengthGenerated
3738 }
3739 if (iNdEx + skippy) > l {
3740 return io.ErrUnexpectedEOF
3741 }
3742 iNdEx += skippy
3743 }
3744 }
3745
3746 if iNdEx > l {
3747 return io.ErrUnexpectedEOF
3748 }
3749 return nil
3750}
3751func (m *ScaleStatus) Unmarshal(dAtA []byte) error {
3752 l := len(dAtA)
3753 iNdEx := 0
3754 for iNdEx < l {
3755 preIndex := iNdEx
3756 var wire uint64
3757 for shift := uint(0); ; shift += 7 {
3758 if shift >= 64 {
3759 return ErrIntOverflowGenerated
3760 }
3761 if iNdEx >= l {
3762 return io.ErrUnexpectedEOF
3763 }
3764 b := dAtA[iNdEx]
3765 iNdEx++
3766 wire |= (uint64(b) & 0x7F) << shift
3767 if b < 0x80 {
3768 break
3769 }
3770 }
3771 fieldNum := int32(wire >> 3)
3772 wireType := int(wire & 0x7)
3773 if wireType == 4 {
3774 return fmt.Errorf("proto: ScaleStatus: wiretype end group for non-group")
3775 }
3776 if fieldNum <= 0 {
3777 return fmt.Errorf("proto: ScaleStatus: illegal tag %d (wire type %d)", fieldNum, wire)
3778 }
3779 switch fieldNum {
3780 case 1:
3781 if wireType != 0 {
3782 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
3783 }
3784 m.Replicas = 0
3785 for shift := uint(0); ; shift += 7 {
3786 if shift >= 64 {
3787 return ErrIntOverflowGenerated
3788 }
3789 if iNdEx >= l {
3790 return io.ErrUnexpectedEOF
3791 }
3792 b := dAtA[iNdEx]
3793 iNdEx++
3794 m.Replicas |= (int32(b) & 0x7F) << shift
3795 if b < 0x80 {
3796 break
3797 }
3798 }
3799 case 2:
3800 if wireType != 2 {
3801 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
3802 }
3803 var msglen int
3804 for shift := uint(0); ; shift += 7 {
3805 if shift >= 64 {
3806 return ErrIntOverflowGenerated
3807 }
3808 if iNdEx >= l {
3809 return io.ErrUnexpectedEOF
3810 }
3811 b := dAtA[iNdEx]
3812 iNdEx++
3813 msglen |= (int(b) & 0x7F) << shift
3814 if b < 0x80 {
3815 break
3816 }
3817 }
3818 if msglen < 0 {
3819 return ErrInvalidLengthGenerated
3820 }
3821 postIndex := iNdEx + msglen
3822 if postIndex > l {
3823 return io.ErrUnexpectedEOF
3824 }
3825 if m.Selector == nil {
3826 m.Selector = make(map[string]string)
3827 }
3828 var mapkey string
3829 var mapvalue string
3830 for iNdEx < postIndex {
3831 entryPreIndex := iNdEx
3832 var wire uint64
3833 for shift := uint(0); ; shift += 7 {
3834 if shift >= 64 {
3835 return ErrIntOverflowGenerated
3836 }
3837 if iNdEx >= l {
3838 return io.ErrUnexpectedEOF
3839 }
3840 b := dAtA[iNdEx]
3841 iNdEx++
3842 wire |= (uint64(b) & 0x7F) << shift
3843 if b < 0x80 {
3844 break
3845 }
3846 }
3847 fieldNum := int32(wire >> 3)
3848 if fieldNum == 1 {
3849 var stringLenmapkey uint64
3850 for shift := uint(0); ; shift += 7 {
3851 if shift >= 64 {
3852 return ErrIntOverflowGenerated
3853 }
3854 if iNdEx >= l {
3855 return io.ErrUnexpectedEOF
3856 }
3857 b := dAtA[iNdEx]
3858 iNdEx++
3859 stringLenmapkey |= (uint64(b) & 0x7F) << shift
3860 if b < 0x80 {
3861 break
3862 }
3863 }
3864 intStringLenmapkey := int(stringLenmapkey)
3865 if intStringLenmapkey < 0 {
3866 return ErrInvalidLengthGenerated
3867 }
3868 postStringIndexmapkey := iNdEx + intStringLenmapkey
3869 if postStringIndexmapkey > l {
3870 return io.ErrUnexpectedEOF
3871 }
3872 mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
3873 iNdEx = postStringIndexmapkey
3874 } else if fieldNum == 2 {
3875 var stringLenmapvalue uint64
3876 for shift := uint(0); ; shift += 7 {
3877 if shift >= 64 {
3878 return ErrIntOverflowGenerated
3879 }
3880 if iNdEx >= l {
3881 return io.ErrUnexpectedEOF
3882 }
3883 b := dAtA[iNdEx]
3884 iNdEx++
3885 stringLenmapvalue |= (uint64(b) & 0x7F) << shift
3886 if b < 0x80 {
3887 break
3888 }
3889 }
3890 intStringLenmapvalue := int(stringLenmapvalue)
3891 if intStringLenmapvalue < 0 {
3892 return ErrInvalidLengthGenerated
3893 }
3894 postStringIndexmapvalue := iNdEx + intStringLenmapvalue
3895 if postStringIndexmapvalue > l {
3896 return io.ErrUnexpectedEOF
3897 }
3898 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
3899 iNdEx = postStringIndexmapvalue
3900 } else {
3901 iNdEx = entryPreIndex
3902 skippy, err := skipGenerated(dAtA[iNdEx:])
3903 if err != nil {
3904 return err
3905 }
3906 if skippy < 0 {
3907 return ErrInvalidLengthGenerated
3908 }
3909 if (iNdEx + skippy) > postIndex {
3910 return io.ErrUnexpectedEOF
3911 }
3912 iNdEx += skippy
3913 }
3914 }
3915 m.Selector[mapkey] = mapvalue
3916 iNdEx = postIndex
3917 case 3:
3918 if wireType != 2 {
3919 return fmt.Errorf("proto: wrong wireType = %d for field TargetSelector", wireType)
3920 }
3921 var stringLen uint64
3922 for shift := uint(0); ; shift += 7 {
3923 if shift >= 64 {
3924 return ErrIntOverflowGenerated
3925 }
3926 if iNdEx >= l {
3927 return io.ErrUnexpectedEOF
3928 }
3929 b := dAtA[iNdEx]
3930 iNdEx++
3931 stringLen |= (uint64(b) & 0x7F) << shift
3932 if b < 0x80 {
3933 break
3934 }
3935 }
3936 intStringLen := int(stringLen)
3937 if intStringLen < 0 {
3938 return ErrInvalidLengthGenerated
3939 }
3940 postIndex := iNdEx + intStringLen
3941 if postIndex > l {
3942 return io.ErrUnexpectedEOF
3943 }
3944 m.TargetSelector = string(dAtA[iNdEx:postIndex])
3945 iNdEx = postIndex
3946 default:
3947 iNdEx = preIndex
3948 skippy, err := skipGenerated(dAtA[iNdEx:])
3949 if err != nil {
3950 return err
3951 }
3952 if skippy < 0 {
3953 return ErrInvalidLengthGenerated
3954 }
3955 if (iNdEx + skippy) > l {
3956 return io.ErrUnexpectedEOF
3957 }
3958 iNdEx += skippy
3959 }
3960 }
3961
3962 if iNdEx > l {
3963 return io.ErrUnexpectedEOF
3964 }
3965 return nil
3966}
3967func (m *StatefulSet) Unmarshal(dAtA []byte) error {
3968 l := len(dAtA)
3969 iNdEx := 0
3970 for iNdEx < l {
3971 preIndex := iNdEx
3972 var wire uint64
3973 for shift := uint(0); ; shift += 7 {
3974 if shift >= 64 {
3975 return ErrIntOverflowGenerated
3976 }
3977 if iNdEx >= l {
3978 return io.ErrUnexpectedEOF
3979 }
3980 b := dAtA[iNdEx]
3981 iNdEx++
3982 wire |= (uint64(b) & 0x7F) << shift
3983 if b < 0x80 {
3984 break
3985 }
3986 }
3987 fieldNum := int32(wire >> 3)
3988 wireType := int(wire & 0x7)
3989 if wireType == 4 {
3990 return fmt.Errorf("proto: StatefulSet: wiretype end group for non-group")
3991 }
3992 if fieldNum <= 0 {
3993 return fmt.Errorf("proto: StatefulSet: illegal tag %d (wire type %d)", fieldNum, wire)
3994 }
3995 switch fieldNum {
3996 case 1:
3997 if wireType != 2 {
3998 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
3999 }
4000 var msglen int
4001 for shift := uint(0); ; shift += 7 {
4002 if shift >= 64 {
4003 return ErrIntOverflowGenerated
4004 }
4005 if iNdEx >= l {
4006 return io.ErrUnexpectedEOF
4007 }
4008 b := dAtA[iNdEx]
4009 iNdEx++
4010 msglen |= (int(b) & 0x7F) << shift
4011 if b < 0x80 {
4012 break
4013 }
4014 }
4015 if msglen < 0 {
4016 return ErrInvalidLengthGenerated
4017 }
4018 postIndex := iNdEx + msglen
4019 if postIndex > l {
4020 return io.ErrUnexpectedEOF
4021 }
4022 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4023 return err
4024 }
4025 iNdEx = postIndex
4026 case 2:
4027 if wireType != 2 {
4028 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
4029 }
4030 var msglen int
4031 for shift := uint(0); ; shift += 7 {
4032 if shift >= 64 {
4033 return ErrIntOverflowGenerated
4034 }
4035 if iNdEx >= l {
4036 return io.ErrUnexpectedEOF
4037 }
4038 b := dAtA[iNdEx]
4039 iNdEx++
4040 msglen |= (int(b) & 0x7F) << shift
4041 if b < 0x80 {
4042 break
4043 }
4044 }
4045 if msglen < 0 {
4046 return ErrInvalidLengthGenerated
4047 }
4048 postIndex := iNdEx + msglen
4049 if postIndex > l {
4050 return io.ErrUnexpectedEOF
4051 }
4052 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4053 return err
4054 }
4055 iNdEx = postIndex
4056 case 3:
4057 if wireType != 2 {
4058 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
4059 }
4060 var msglen int
4061 for shift := uint(0); ; shift += 7 {
4062 if shift >= 64 {
4063 return ErrIntOverflowGenerated
4064 }
4065 if iNdEx >= l {
4066 return io.ErrUnexpectedEOF
4067 }
4068 b := dAtA[iNdEx]
4069 iNdEx++
4070 msglen |= (int(b) & 0x7F) << shift
4071 if b < 0x80 {
4072 break
4073 }
4074 }
4075 if msglen < 0 {
4076 return ErrInvalidLengthGenerated
4077 }
4078 postIndex := iNdEx + msglen
4079 if postIndex > l {
4080 return io.ErrUnexpectedEOF
4081 }
4082 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4083 return err
4084 }
4085 iNdEx = postIndex
4086 default:
4087 iNdEx = preIndex
4088 skippy, err := skipGenerated(dAtA[iNdEx:])
4089 if err != nil {
4090 return err
4091 }
4092 if skippy < 0 {
4093 return ErrInvalidLengthGenerated
4094 }
4095 if (iNdEx + skippy) > l {
4096 return io.ErrUnexpectedEOF
4097 }
4098 iNdEx += skippy
4099 }
4100 }
4101
4102 if iNdEx > l {
4103 return io.ErrUnexpectedEOF
4104 }
4105 return nil
4106}
4107func (m *StatefulSetCondition) Unmarshal(dAtA []byte) error {
4108 l := len(dAtA)
4109 iNdEx := 0
4110 for iNdEx < l {
4111 preIndex := iNdEx
4112 var wire uint64
4113 for shift := uint(0); ; shift += 7 {
4114 if shift >= 64 {
4115 return ErrIntOverflowGenerated
4116 }
4117 if iNdEx >= l {
4118 return io.ErrUnexpectedEOF
4119 }
4120 b := dAtA[iNdEx]
4121 iNdEx++
4122 wire |= (uint64(b) & 0x7F) << shift
4123 if b < 0x80 {
4124 break
4125 }
4126 }
4127 fieldNum := int32(wire >> 3)
4128 wireType := int(wire & 0x7)
4129 if wireType == 4 {
4130 return fmt.Errorf("proto: StatefulSetCondition: wiretype end group for non-group")
4131 }
4132 if fieldNum <= 0 {
4133 return fmt.Errorf("proto: StatefulSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
4134 }
4135 switch fieldNum {
4136 case 1:
4137 if wireType != 2 {
4138 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
4139 }
4140 var stringLen uint64
4141 for shift := uint(0); ; shift += 7 {
4142 if shift >= 64 {
4143 return ErrIntOverflowGenerated
4144 }
4145 if iNdEx >= l {
4146 return io.ErrUnexpectedEOF
4147 }
4148 b := dAtA[iNdEx]
4149 iNdEx++
4150 stringLen |= (uint64(b) & 0x7F) << shift
4151 if b < 0x80 {
4152 break
4153 }
4154 }
4155 intStringLen := int(stringLen)
4156 if intStringLen < 0 {
4157 return ErrInvalidLengthGenerated
4158 }
4159 postIndex := iNdEx + intStringLen
4160 if postIndex > l {
4161 return io.ErrUnexpectedEOF
4162 }
4163 m.Type = StatefulSetConditionType(dAtA[iNdEx:postIndex])
4164 iNdEx = postIndex
4165 case 2:
4166 if wireType != 2 {
4167 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
4168 }
4169 var stringLen uint64
4170 for shift := uint(0); ; shift += 7 {
4171 if shift >= 64 {
4172 return ErrIntOverflowGenerated
4173 }
4174 if iNdEx >= l {
4175 return io.ErrUnexpectedEOF
4176 }
4177 b := dAtA[iNdEx]
4178 iNdEx++
4179 stringLen |= (uint64(b) & 0x7F) << shift
4180 if b < 0x80 {
4181 break
4182 }
4183 }
4184 intStringLen := int(stringLen)
4185 if intStringLen < 0 {
4186 return ErrInvalidLengthGenerated
4187 }
4188 postIndex := iNdEx + intStringLen
4189 if postIndex > l {
4190 return io.ErrUnexpectedEOF
4191 }
4192 m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
4193 iNdEx = postIndex
4194 case 3:
4195 if wireType != 2 {
4196 return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
4197 }
4198 var msglen int
4199 for shift := uint(0); ; shift += 7 {
4200 if shift >= 64 {
4201 return ErrIntOverflowGenerated
4202 }
4203 if iNdEx >= l {
4204 return io.ErrUnexpectedEOF
4205 }
4206 b := dAtA[iNdEx]
4207 iNdEx++
4208 msglen |= (int(b) & 0x7F) << shift
4209 if b < 0x80 {
4210 break
4211 }
4212 }
4213 if msglen < 0 {
4214 return ErrInvalidLengthGenerated
4215 }
4216 postIndex := iNdEx + msglen
4217 if postIndex > l {
4218 return io.ErrUnexpectedEOF
4219 }
4220 if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4221 return err
4222 }
4223 iNdEx = postIndex
4224 case 4:
4225 if wireType != 2 {
4226 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
4227 }
4228 var stringLen uint64
4229 for shift := uint(0); ; shift += 7 {
4230 if shift >= 64 {
4231 return ErrIntOverflowGenerated
4232 }
4233 if iNdEx >= l {
4234 return io.ErrUnexpectedEOF
4235 }
4236 b := dAtA[iNdEx]
4237 iNdEx++
4238 stringLen |= (uint64(b) & 0x7F) << shift
4239 if b < 0x80 {
4240 break
4241 }
4242 }
4243 intStringLen := int(stringLen)
4244 if intStringLen < 0 {
4245 return ErrInvalidLengthGenerated
4246 }
4247 postIndex := iNdEx + intStringLen
4248 if postIndex > l {
4249 return io.ErrUnexpectedEOF
4250 }
4251 m.Reason = string(dAtA[iNdEx:postIndex])
4252 iNdEx = postIndex
4253 case 5:
4254 if wireType != 2 {
4255 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
4256 }
4257 var stringLen uint64
4258 for shift := uint(0); ; shift += 7 {
4259 if shift >= 64 {
4260 return ErrIntOverflowGenerated
4261 }
4262 if iNdEx >= l {
4263 return io.ErrUnexpectedEOF
4264 }
4265 b := dAtA[iNdEx]
4266 iNdEx++
4267 stringLen |= (uint64(b) & 0x7F) << shift
4268 if b < 0x80 {
4269 break
4270 }
4271 }
4272 intStringLen := int(stringLen)
4273 if intStringLen < 0 {
4274 return ErrInvalidLengthGenerated
4275 }
4276 postIndex := iNdEx + intStringLen
4277 if postIndex > l {
4278 return io.ErrUnexpectedEOF
4279 }
4280 m.Message = string(dAtA[iNdEx:postIndex])
4281 iNdEx = postIndex
4282 default:
4283 iNdEx = preIndex
4284 skippy, err := skipGenerated(dAtA[iNdEx:])
4285 if err != nil {
4286 return err
4287 }
4288 if skippy < 0 {
4289 return ErrInvalidLengthGenerated
4290 }
4291 if (iNdEx + skippy) > l {
4292 return io.ErrUnexpectedEOF
4293 }
4294 iNdEx += skippy
4295 }
4296 }
4297
4298 if iNdEx > l {
4299 return io.ErrUnexpectedEOF
4300 }
4301 return nil
4302}
4303func (m *StatefulSetList) Unmarshal(dAtA []byte) error {
4304 l := len(dAtA)
4305 iNdEx := 0
4306 for iNdEx < l {
4307 preIndex := iNdEx
4308 var wire uint64
4309 for shift := uint(0); ; shift += 7 {
4310 if shift >= 64 {
4311 return ErrIntOverflowGenerated
4312 }
4313 if iNdEx >= l {
4314 return io.ErrUnexpectedEOF
4315 }
4316 b := dAtA[iNdEx]
4317 iNdEx++
4318 wire |= (uint64(b) & 0x7F) << shift
4319 if b < 0x80 {
4320 break
4321 }
4322 }
4323 fieldNum := int32(wire >> 3)
4324 wireType := int(wire & 0x7)
4325 if wireType == 4 {
4326 return fmt.Errorf("proto: StatefulSetList: wiretype end group for non-group")
4327 }
4328 if fieldNum <= 0 {
4329 return fmt.Errorf("proto: StatefulSetList: illegal tag %d (wire type %d)", fieldNum, wire)
4330 }
4331 switch fieldNum {
4332 case 1:
4333 if wireType != 2 {
4334 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
4335 }
4336 var msglen int
4337 for shift := uint(0); ; shift += 7 {
4338 if shift >= 64 {
4339 return ErrIntOverflowGenerated
4340 }
4341 if iNdEx >= l {
4342 return io.ErrUnexpectedEOF
4343 }
4344 b := dAtA[iNdEx]
4345 iNdEx++
4346 msglen |= (int(b) & 0x7F) << shift
4347 if b < 0x80 {
4348 break
4349 }
4350 }
4351 if msglen < 0 {
4352 return ErrInvalidLengthGenerated
4353 }
4354 postIndex := iNdEx + msglen
4355 if postIndex > l {
4356 return io.ErrUnexpectedEOF
4357 }
4358 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4359 return err
4360 }
4361 iNdEx = postIndex
4362 case 2:
4363 if wireType != 2 {
4364 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
4365 }
4366 var msglen int
4367 for shift := uint(0); ; shift += 7 {
4368 if shift >= 64 {
4369 return ErrIntOverflowGenerated
4370 }
4371 if iNdEx >= l {
4372 return io.ErrUnexpectedEOF
4373 }
4374 b := dAtA[iNdEx]
4375 iNdEx++
4376 msglen |= (int(b) & 0x7F) << shift
4377 if b < 0x80 {
4378 break
4379 }
4380 }
4381 if msglen < 0 {
4382 return ErrInvalidLengthGenerated
4383 }
4384 postIndex := iNdEx + msglen
4385 if postIndex > l {
4386 return io.ErrUnexpectedEOF
4387 }
4388 m.Items = append(m.Items, StatefulSet{})
4389 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4390 return err
4391 }
4392 iNdEx = postIndex
4393 default:
4394 iNdEx = preIndex
4395 skippy, err := skipGenerated(dAtA[iNdEx:])
4396 if err != nil {
4397 return err
4398 }
4399 if skippy < 0 {
4400 return ErrInvalidLengthGenerated
4401 }
4402 if (iNdEx + skippy) > l {
4403 return io.ErrUnexpectedEOF
4404 }
4405 iNdEx += skippy
4406 }
4407 }
4408
4409 if iNdEx > l {
4410 return io.ErrUnexpectedEOF
4411 }
4412 return nil
4413}
4414func (m *StatefulSetSpec) Unmarshal(dAtA []byte) error {
4415 l := len(dAtA)
4416 iNdEx := 0
4417 for iNdEx < l {
4418 preIndex := iNdEx
4419 var wire uint64
4420 for shift := uint(0); ; shift += 7 {
4421 if shift >= 64 {
4422 return ErrIntOverflowGenerated
4423 }
4424 if iNdEx >= l {
4425 return io.ErrUnexpectedEOF
4426 }
4427 b := dAtA[iNdEx]
4428 iNdEx++
4429 wire |= (uint64(b) & 0x7F) << shift
4430 if b < 0x80 {
4431 break
4432 }
4433 }
4434 fieldNum := int32(wire >> 3)
4435 wireType := int(wire & 0x7)
4436 if wireType == 4 {
4437 return fmt.Errorf("proto: StatefulSetSpec: wiretype end group for non-group")
4438 }
4439 if fieldNum <= 0 {
4440 return fmt.Errorf("proto: StatefulSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
4441 }
4442 switch fieldNum {
4443 case 1:
4444 if wireType != 0 {
4445 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
4446 }
4447 var v int32
4448 for shift := uint(0); ; shift += 7 {
4449 if shift >= 64 {
4450 return ErrIntOverflowGenerated
4451 }
4452 if iNdEx >= l {
4453 return io.ErrUnexpectedEOF
4454 }
4455 b := dAtA[iNdEx]
4456 iNdEx++
4457 v |= (int32(b) & 0x7F) << shift
4458 if b < 0x80 {
4459 break
4460 }
4461 }
4462 m.Replicas = &v
4463 case 2:
4464 if wireType != 2 {
4465 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
4466 }
4467 var msglen int
4468 for shift := uint(0); ; shift += 7 {
4469 if shift >= 64 {
4470 return ErrIntOverflowGenerated
4471 }
4472 if iNdEx >= l {
4473 return io.ErrUnexpectedEOF
4474 }
4475 b := dAtA[iNdEx]
4476 iNdEx++
4477 msglen |= (int(b) & 0x7F) << shift
4478 if b < 0x80 {
4479 break
4480 }
4481 }
4482 if msglen < 0 {
4483 return ErrInvalidLengthGenerated
4484 }
4485 postIndex := iNdEx + msglen
4486 if postIndex > l {
4487 return io.ErrUnexpectedEOF
4488 }
4489 if m.Selector == nil {
4490 m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
4491 }
4492 if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4493 return err
4494 }
4495 iNdEx = postIndex
4496 case 3:
4497 if wireType != 2 {
4498 return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
4499 }
4500 var msglen int
4501 for shift := uint(0); ; shift += 7 {
4502 if shift >= 64 {
4503 return ErrIntOverflowGenerated
4504 }
4505 if iNdEx >= l {
4506 return io.ErrUnexpectedEOF
4507 }
4508 b := dAtA[iNdEx]
4509 iNdEx++
4510 msglen |= (int(b) & 0x7F) << shift
4511 if b < 0x80 {
4512 break
4513 }
4514 }
4515 if msglen < 0 {
4516 return ErrInvalidLengthGenerated
4517 }
4518 postIndex := iNdEx + msglen
4519 if postIndex > l {
4520 return io.ErrUnexpectedEOF
4521 }
4522 if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4523 return err
4524 }
4525 iNdEx = postIndex
4526 case 4:
4527 if wireType != 2 {
4528 return fmt.Errorf("proto: wrong wireType = %d for field VolumeClaimTemplates", wireType)
4529 }
4530 var msglen int
4531 for shift := uint(0); ; shift += 7 {
4532 if shift >= 64 {
4533 return ErrIntOverflowGenerated
4534 }
4535 if iNdEx >= l {
4536 return io.ErrUnexpectedEOF
4537 }
4538 b := dAtA[iNdEx]
4539 iNdEx++
4540 msglen |= (int(b) & 0x7F) << shift
4541 if b < 0x80 {
4542 break
4543 }
4544 }
4545 if msglen < 0 {
4546 return ErrInvalidLengthGenerated
4547 }
4548 postIndex := iNdEx + msglen
4549 if postIndex > l {
4550 return io.ErrUnexpectedEOF
4551 }
4552 m.VolumeClaimTemplates = append(m.VolumeClaimTemplates, k8s_io_api_core_v1.PersistentVolumeClaim{})
4553 if err := m.VolumeClaimTemplates[len(m.VolumeClaimTemplates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4554 return err
4555 }
4556 iNdEx = postIndex
4557 case 5:
4558 if wireType != 2 {
4559 return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType)
4560 }
4561 var stringLen uint64
4562 for shift := uint(0); ; shift += 7 {
4563 if shift >= 64 {
4564 return ErrIntOverflowGenerated
4565 }
4566 if iNdEx >= l {
4567 return io.ErrUnexpectedEOF
4568 }
4569 b := dAtA[iNdEx]
4570 iNdEx++
4571 stringLen |= (uint64(b) & 0x7F) << shift
4572 if b < 0x80 {
4573 break
4574 }
4575 }
4576 intStringLen := int(stringLen)
4577 if intStringLen < 0 {
4578 return ErrInvalidLengthGenerated
4579 }
4580 postIndex := iNdEx + intStringLen
4581 if postIndex > l {
4582 return io.ErrUnexpectedEOF
4583 }
4584 m.ServiceName = string(dAtA[iNdEx:postIndex])
4585 iNdEx = postIndex
4586 case 6:
4587 if wireType != 2 {
4588 return fmt.Errorf("proto: wrong wireType = %d for field PodManagementPolicy", wireType)
4589 }
4590 var stringLen uint64
4591 for shift := uint(0); ; shift += 7 {
4592 if shift >= 64 {
4593 return ErrIntOverflowGenerated
4594 }
4595 if iNdEx >= l {
4596 return io.ErrUnexpectedEOF
4597 }
4598 b := dAtA[iNdEx]
4599 iNdEx++
4600 stringLen |= (uint64(b) & 0x7F) << shift
4601 if b < 0x80 {
4602 break
4603 }
4604 }
4605 intStringLen := int(stringLen)
4606 if intStringLen < 0 {
4607 return ErrInvalidLengthGenerated
4608 }
4609 postIndex := iNdEx + intStringLen
4610 if postIndex > l {
4611 return io.ErrUnexpectedEOF
4612 }
4613 m.PodManagementPolicy = PodManagementPolicyType(dAtA[iNdEx:postIndex])
4614 iNdEx = postIndex
4615 case 7:
4616 if wireType != 2 {
4617 return fmt.Errorf("proto: wrong wireType = %d for field UpdateStrategy", wireType)
4618 }
4619 var msglen int
4620 for shift := uint(0); ; shift += 7 {
4621 if shift >= 64 {
4622 return ErrIntOverflowGenerated
4623 }
4624 if iNdEx >= l {
4625 return io.ErrUnexpectedEOF
4626 }
4627 b := dAtA[iNdEx]
4628 iNdEx++
4629 msglen |= (int(b) & 0x7F) << shift
4630 if b < 0x80 {
4631 break
4632 }
4633 }
4634 if msglen < 0 {
4635 return ErrInvalidLengthGenerated
4636 }
4637 postIndex := iNdEx + msglen
4638 if postIndex > l {
4639 return io.ErrUnexpectedEOF
4640 }
4641 if err := m.UpdateStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4642 return err
4643 }
4644 iNdEx = postIndex
4645 case 8:
4646 if wireType != 0 {
4647 return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
4648 }
4649 var v int32
4650 for shift := uint(0); ; shift += 7 {
4651 if shift >= 64 {
4652 return ErrIntOverflowGenerated
4653 }
4654 if iNdEx >= l {
4655 return io.ErrUnexpectedEOF
4656 }
4657 b := dAtA[iNdEx]
4658 iNdEx++
4659 v |= (int32(b) & 0x7F) << shift
4660 if b < 0x80 {
4661 break
4662 }
4663 }
4664 m.RevisionHistoryLimit = &v
4665 default:
4666 iNdEx = preIndex
4667 skippy, err := skipGenerated(dAtA[iNdEx:])
4668 if err != nil {
4669 return err
4670 }
4671 if skippy < 0 {
4672 return ErrInvalidLengthGenerated
4673 }
4674 if (iNdEx + skippy) > l {
4675 return io.ErrUnexpectedEOF
4676 }
4677 iNdEx += skippy
4678 }
4679 }
4680
4681 if iNdEx > l {
4682 return io.ErrUnexpectedEOF
4683 }
4684 return nil
4685}
4686func (m *StatefulSetStatus) Unmarshal(dAtA []byte) error {
4687 l := len(dAtA)
4688 iNdEx := 0
4689 for iNdEx < l {
4690 preIndex := iNdEx
4691 var wire uint64
4692 for shift := uint(0); ; shift += 7 {
4693 if shift >= 64 {
4694 return ErrIntOverflowGenerated
4695 }
4696 if iNdEx >= l {
4697 return io.ErrUnexpectedEOF
4698 }
4699 b := dAtA[iNdEx]
4700 iNdEx++
4701 wire |= (uint64(b) & 0x7F) << shift
4702 if b < 0x80 {
4703 break
4704 }
4705 }
4706 fieldNum := int32(wire >> 3)
4707 wireType := int(wire & 0x7)
4708 if wireType == 4 {
4709 return fmt.Errorf("proto: StatefulSetStatus: wiretype end group for non-group")
4710 }
4711 if fieldNum <= 0 {
4712 return fmt.Errorf("proto: StatefulSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
4713 }
4714 switch fieldNum {
4715 case 1:
4716 if wireType != 0 {
4717 return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
4718 }
4719 var v int64
4720 for shift := uint(0); ; shift += 7 {
4721 if shift >= 64 {
4722 return ErrIntOverflowGenerated
4723 }
4724 if iNdEx >= l {
4725 return io.ErrUnexpectedEOF
4726 }
4727 b := dAtA[iNdEx]
4728 iNdEx++
4729 v |= (int64(b) & 0x7F) << shift
4730 if b < 0x80 {
4731 break
4732 }
4733 }
4734 m.ObservedGeneration = &v
4735 case 2:
4736 if wireType != 0 {
4737 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
4738 }
4739 m.Replicas = 0
4740 for shift := uint(0); ; shift += 7 {
4741 if shift >= 64 {
4742 return ErrIntOverflowGenerated
4743 }
4744 if iNdEx >= l {
4745 return io.ErrUnexpectedEOF
4746 }
4747 b := dAtA[iNdEx]
4748 iNdEx++
4749 m.Replicas |= (int32(b) & 0x7F) << shift
4750 if b < 0x80 {
4751 break
4752 }
4753 }
4754 case 3:
4755 if wireType != 0 {
4756 return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
4757 }
4758 m.ReadyReplicas = 0
4759 for shift := uint(0); ; shift += 7 {
4760 if shift >= 64 {
4761 return ErrIntOverflowGenerated
4762 }
4763 if iNdEx >= l {
4764 return io.ErrUnexpectedEOF
4765 }
4766 b := dAtA[iNdEx]
4767 iNdEx++
4768 m.ReadyReplicas |= (int32(b) & 0x7F) << shift
4769 if b < 0x80 {
4770 break
4771 }
4772 }
4773 case 4:
4774 if wireType != 0 {
4775 return fmt.Errorf("proto: wrong wireType = %d for field CurrentReplicas", wireType)
4776 }
4777 m.CurrentReplicas = 0
4778 for shift := uint(0); ; shift += 7 {
4779 if shift >= 64 {
4780 return ErrIntOverflowGenerated
4781 }
4782 if iNdEx >= l {
4783 return io.ErrUnexpectedEOF
4784 }
4785 b := dAtA[iNdEx]
4786 iNdEx++
4787 m.CurrentReplicas |= (int32(b) & 0x7F) << shift
4788 if b < 0x80 {
4789 break
4790 }
4791 }
4792 case 5:
4793 if wireType != 0 {
4794 return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType)
4795 }
4796 m.UpdatedReplicas = 0
4797 for shift := uint(0); ; shift += 7 {
4798 if shift >= 64 {
4799 return ErrIntOverflowGenerated
4800 }
4801 if iNdEx >= l {
4802 return io.ErrUnexpectedEOF
4803 }
4804 b := dAtA[iNdEx]
4805 iNdEx++
4806 m.UpdatedReplicas |= (int32(b) & 0x7F) << shift
4807 if b < 0x80 {
4808 break
4809 }
4810 }
4811 case 6:
4812 if wireType != 2 {
4813 return fmt.Errorf("proto: wrong wireType = %d for field CurrentRevision", wireType)
4814 }
4815 var stringLen uint64
4816 for shift := uint(0); ; shift += 7 {
4817 if shift >= 64 {
4818 return ErrIntOverflowGenerated
4819 }
4820 if iNdEx >= l {
4821 return io.ErrUnexpectedEOF
4822 }
4823 b := dAtA[iNdEx]
4824 iNdEx++
4825 stringLen |= (uint64(b) & 0x7F) << shift
4826 if b < 0x80 {
4827 break
4828 }
4829 }
4830 intStringLen := int(stringLen)
4831 if intStringLen < 0 {
4832 return ErrInvalidLengthGenerated
4833 }
4834 postIndex := iNdEx + intStringLen
4835 if postIndex > l {
4836 return io.ErrUnexpectedEOF
4837 }
4838 m.CurrentRevision = string(dAtA[iNdEx:postIndex])
4839 iNdEx = postIndex
4840 case 7:
4841 if wireType != 2 {
4842 return fmt.Errorf("proto: wrong wireType = %d for field UpdateRevision", wireType)
4843 }
4844 var stringLen uint64
4845 for shift := uint(0); ; shift += 7 {
4846 if shift >= 64 {
4847 return ErrIntOverflowGenerated
4848 }
4849 if iNdEx >= l {
4850 return io.ErrUnexpectedEOF
4851 }
4852 b := dAtA[iNdEx]
4853 iNdEx++
4854 stringLen |= (uint64(b) & 0x7F) << shift
4855 if b < 0x80 {
4856 break
4857 }
4858 }
4859 intStringLen := int(stringLen)
4860 if intStringLen < 0 {
4861 return ErrInvalidLengthGenerated
4862 }
4863 postIndex := iNdEx + intStringLen
4864 if postIndex > l {
4865 return io.ErrUnexpectedEOF
4866 }
4867 m.UpdateRevision = string(dAtA[iNdEx:postIndex])
4868 iNdEx = postIndex
4869 case 9:
4870 if wireType != 0 {
4871 return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
4872 }
4873 var v int32
4874 for shift := uint(0); ; shift += 7 {
4875 if shift >= 64 {
4876 return ErrIntOverflowGenerated
4877 }
4878 if iNdEx >= l {
4879 return io.ErrUnexpectedEOF
4880 }
4881 b := dAtA[iNdEx]
4882 iNdEx++
4883 v |= (int32(b) & 0x7F) << shift
4884 if b < 0x80 {
4885 break
4886 }
4887 }
4888 m.CollisionCount = &v
4889 case 10:
4890 if wireType != 2 {
4891 return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
4892 }
4893 var msglen int
4894 for shift := uint(0); ; shift += 7 {
4895 if shift >= 64 {
4896 return ErrIntOverflowGenerated
4897 }
4898 if iNdEx >= l {
4899 return io.ErrUnexpectedEOF
4900 }
4901 b := dAtA[iNdEx]
4902 iNdEx++
4903 msglen |= (int(b) & 0x7F) << shift
4904 if b < 0x80 {
4905 break
4906 }
4907 }
4908 if msglen < 0 {
4909 return ErrInvalidLengthGenerated
4910 }
4911 postIndex := iNdEx + msglen
4912 if postIndex > l {
4913 return io.ErrUnexpectedEOF
4914 }
4915 m.Conditions = append(m.Conditions, StatefulSetCondition{})
4916 if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4917 return err
4918 }
4919 iNdEx = postIndex
4920 default:
4921 iNdEx = preIndex
4922 skippy, err := skipGenerated(dAtA[iNdEx:])
4923 if err != nil {
4924 return err
4925 }
4926 if skippy < 0 {
4927 return ErrInvalidLengthGenerated
4928 }
4929 if (iNdEx + skippy) > l {
4930 return io.ErrUnexpectedEOF
4931 }
4932 iNdEx += skippy
4933 }
4934 }
4935
4936 if iNdEx > l {
4937 return io.ErrUnexpectedEOF
4938 }
4939 return nil
4940}
4941func (m *StatefulSetUpdateStrategy) Unmarshal(dAtA []byte) error {
4942 l := len(dAtA)
4943 iNdEx := 0
4944 for iNdEx < l {
4945 preIndex := iNdEx
4946 var wire uint64
4947 for shift := uint(0); ; shift += 7 {
4948 if shift >= 64 {
4949 return ErrIntOverflowGenerated
4950 }
4951 if iNdEx >= l {
4952 return io.ErrUnexpectedEOF
4953 }
4954 b := dAtA[iNdEx]
4955 iNdEx++
4956 wire |= (uint64(b) & 0x7F) << shift
4957 if b < 0x80 {
4958 break
4959 }
4960 }
4961 fieldNum := int32(wire >> 3)
4962 wireType := int(wire & 0x7)
4963 if wireType == 4 {
4964 return fmt.Errorf("proto: StatefulSetUpdateStrategy: wiretype end group for non-group")
4965 }
4966 if fieldNum <= 0 {
4967 return fmt.Errorf("proto: StatefulSetUpdateStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
4968 }
4969 switch fieldNum {
4970 case 1:
4971 if wireType != 2 {
4972 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
4973 }
4974 var stringLen uint64
4975 for shift := uint(0); ; shift += 7 {
4976 if shift >= 64 {
4977 return ErrIntOverflowGenerated
4978 }
4979 if iNdEx >= l {
4980 return io.ErrUnexpectedEOF
4981 }
4982 b := dAtA[iNdEx]
4983 iNdEx++
4984 stringLen |= (uint64(b) & 0x7F) << shift
4985 if b < 0x80 {
4986 break
4987 }
4988 }
4989 intStringLen := int(stringLen)
4990 if intStringLen < 0 {
4991 return ErrInvalidLengthGenerated
4992 }
4993 postIndex := iNdEx + intStringLen
4994 if postIndex > l {
4995 return io.ErrUnexpectedEOF
4996 }
4997 m.Type = StatefulSetUpdateStrategyType(dAtA[iNdEx:postIndex])
4998 iNdEx = postIndex
4999 case 2:
5000 if wireType != 2 {
5001 return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
5002 }
5003 var msglen int
5004 for shift := uint(0); ; shift += 7 {
5005 if shift >= 64 {
5006 return ErrIntOverflowGenerated
5007 }
5008 if iNdEx >= l {
5009 return io.ErrUnexpectedEOF
5010 }
5011 b := dAtA[iNdEx]
5012 iNdEx++
5013 msglen |= (int(b) & 0x7F) << shift
5014 if b < 0x80 {
5015 break
5016 }
5017 }
5018 if msglen < 0 {
5019 return ErrInvalidLengthGenerated
5020 }
5021 postIndex := iNdEx + msglen
5022 if postIndex > l {
5023 return io.ErrUnexpectedEOF
5024 }
5025 if m.RollingUpdate == nil {
5026 m.RollingUpdate = &RollingUpdateStatefulSetStrategy{}
5027 }
5028 if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5029 return err
5030 }
5031 iNdEx = postIndex
5032 default:
5033 iNdEx = preIndex
5034 skippy, err := skipGenerated(dAtA[iNdEx:])
5035 if err != nil {
5036 return err
5037 }
5038 if skippy < 0 {
5039 return ErrInvalidLengthGenerated
5040 }
5041 if (iNdEx + skippy) > l {
5042 return io.ErrUnexpectedEOF
5043 }
5044 iNdEx += skippy
5045 }
5046 }
5047
5048 if iNdEx > l {
5049 return io.ErrUnexpectedEOF
5050 }
5051 return nil
5052}
5053func skipGenerated(dAtA []byte) (n int, err error) {
5054 l := len(dAtA)
5055 iNdEx := 0
5056 for iNdEx < l {
5057 var wire uint64
5058 for shift := uint(0); ; shift += 7 {
5059 if shift >= 64 {
5060 return 0, ErrIntOverflowGenerated
5061 }
5062 if iNdEx >= l {
5063 return 0, io.ErrUnexpectedEOF
5064 }
5065 b := dAtA[iNdEx]
5066 iNdEx++
5067 wire |= (uint64(b) & 0x7F) << shift
5068 if b < 0x80 {
5069 break
5070 }
5071 }
5072 wireType := int(wire & 0x7)
5073 switch wireType {
5074 case 0:
5075 for shift := uint(0); ; shift += 7 {
5076 if shift >= 64 {
5077 return 0, ErrIntOverflowGenerated
5078 }
5079 if iNdEx >= l {
5080 return 0, io.ErrUnexpectedEOF
5081 }
5082 iNdEx++
5083 if dAtA[iNdEx-1] < 0x80 {
5084 break
5085 }
5086 }
5087 return iNdEx, nil
5088 case 1:
5089 iNdEx += 8
5090 return iNdEx, nil
5091 case 2:
5092 var length int
5093 for shift := uint(0); ; shift += 7 {
5094 if shift >= 64 {
5095 return 0, ErrIntOverflowGenerated
5096 }
5097 if iNdEx >= l {
5098 return 0, io.ErrUnexpectedEOF
5099 }
5100 b := dAtA[iNdEx]
5101 iNdEx++
5102 length |= (int(b) & 0x7F) << shift
5103 if b < 0x80 {
5104 break
5105 }
5106 }
5107 iNdEx += length
5108 if length < 0 {
5109 return 0, ErrInvalidLengthGenerated
5110 }
5111 return iNdEx, nil
5112 case 3:
5113 for {
5114 var innerWire uint64
5115 var start int = iNdEx
5116 for shift := uint(0); ; shift += 7 {
5117 if shift >= 64 {
5118 return 0, ErrIntOverflowGenerated
5119 }
5120 if iNdEx >= l {
5121 return 0, io.ErrUnexpectedEOF
5122 }
5123 b := dAtA[iNdEx]
5124 iNdEx++
5125 innerWire |= (uint64(b) & 0x7F) << shift
5126 if b < 0x80 {
5127 break
5128 }
5129 }
5130 innerWireType := int(innerWire & 0x7)
5131 if innerWireType == 4 {
5132 break
5133 }
5134 next, err := skipGenerated(dAtA[start:])
5135 if err != nil {
5136 return 0, err
5137 }
5138 iNdEx = start + next
5139 }
5140 return iNdEx, nil
5141 case 4:
5142 return iNdEx, nil
5143 case 5:
5144 iNdEx += 4
5145 return iNdEx, nil
5146 default:
5147 return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
5148 }
5149 }
5150 panic("unreachable")
5151}
5152
5153var (
5154 ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
5155 ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
5156)
5157
5158func init() {
5159 proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/apps/v1beta1/generated.proto", fileDescriptorGenerated)
5160}
5161
5162var fileDescriptorGenerated = []byte{
5163 // 1859 bytes of a gzipped FileDescriptorProto
5164 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0xcd, 0x6f, 0x24, 0x47,
5165 0x15, 0x77, 0x8f, 0x67, 0xec, 0xf1, 0x73, 0x3c, 0xde, 0x2d, 0x9b, 0xf5, 0xc4, 0x81, 0xb1, 0xd5,
5166 0x44, 0x89, 0xf3, 0xe1, 0x9e, 0xac, 0x13, 0xa2, 0x64, 0x17, 0x45, 0x78, 0xbc, 0x4b, 0xb2, 0x91,
5167 0x8d, 0x9d, 0xb2, 0x1d, 0x44, 0x00, 0x29, 0x35, 0x3d, 0xb5, 0xb3, 0x1d, 0xf7, 0x97, 0xba, 0x6b,
5168 0x86, 0x1d, 0x71, 0xe1, 0x0f, 0x40, 0x0a, 0x67, 0xfe, 0x0a, 0x8e, 0x08, 0x6e, 0x9c, 0xf6, 0x82,
5169 0x14, 0x71, 0x21, 0x27, 0x8b, 0x9d, 0x5c, 0x81, 0x1b, 0x97, 0x95, 0x90, 0x50, 0x55, 0x57, 0x7f,
5170 0x77, 0xdb, 0x6d, 0xa4, 0xf5, 0x21, 0xb7, 0xe9, 0x7a, 0xef, 0xfd, 0x5e, 0x7d, 0xbc, 0xaf, 0xdf,
5171 0xc0, 0x8f, 0xce, 0xde, 0xf3, 0x35, 0xc3, 0xe9, 0x9e, 0x8d, 0xfa, 0xd4, 0xb3, 0x29, 0xa3, 0x7e,
5172 0x77, 0x4c, 0xed, 0x81, 0xe3, 0x75, 0xa5, 0x80, 0xb8, 0x46, 0x97, 0xb8, 0xae, 0xdf, 0x1d, 0xdf,
5173 0xee, 0x53, 0x46, 0x6e, 0x77, 0x87, 0xd4, 0xa6, 0x1e, 0x61, 0x74, 0xa0, 0xb9, 0x9e, 0xc3, 0x1c,
5174 0xb4, 0x16, 0x28, 0x6a, 0xc4, 0x35, 0x34, 0xae, 0xa8, 0x49, 0xc5, 0xf5, 0xed, 0xa1, 0xc1, 0x1e,
5175 0x8d, 0xfa, 0x9a, 0xee, 0x58, 0xdd, 0xa1, 0x33, 0x74, 0xba, 0x42, 0xbf, 0x3f, 0x7a, 0x28, 0xbe,
5176 0xc4, 0x87, 0xf8, 0x15, 0xe0, 0xac, 0xab, 0x09, 0x87, 0xba, 0xe3, 0xd1, 0xee, 0x38, 0xe7, 0x6b,
5177 0xfd, 0x9d, 0x58, 0xc7, 0x22, 0xfa, 0x23, 0xc3, 0xa6, 0xde, 0xa4, 0xeb, 0x9e, 0x0d, 0xf9, 0x82,
5178 0xdf, 0xb5, 0x28, 0x23, 0x45, 0x56, 0xdd, 0x32, 0x2b, 0x6f, 0x64, 0x33, 0xc3, 0xa2, 0x39, 0x83,
5179 0x77, 0x2f, 0x33, 0xf0, 0xf5, 0x47, 0xd4, 0x22, 0x39, 0xbb, 0xb7, 0xcb, 0xec, 0x46, 0xcc, 0x30,
5180 0xbb, 0x86, 0xcd, 0x7c, 0xe6, 0x65, 0x8d, 0xd4, 0xff, 0x28, 0x80, 0xf6, 0x1c, 0x9b, 0x79, 0x8e,
5181 0x69, 0x52, 0x0f, 0xd3, 0xb1, 0xe1, 0x1b, 0x8e, 0x8d, 0x3e, 0x87, 0x26, 0x3f, 0xcf, 0x80, 0x30,
5182 0xd2, 0x56, 0x36, 0x95, 0xad, 0xc5, 0x9d, 0xb7, 0xb4, 0xf8, 0xa6, 0x23, 0x78, 0xcd, 0x3d, 0x1b,
5183 0xf2, 0x05, 0x5f, 0xe3, 0xda, 0xda, 0xf8, 0xb6, 0x76, 0xd8, 0xff, 0x82, 0xea, 0xec, 0x80, 0x32,
5184 0xd2, 0x43, 0x4f, 0xce, 0x37, 0x66, 0xa6, 0xe7, 0x1b, 0x10, 0xaf, 0xe1, 0x08, 0x15, 0x1d, 0x42,
5185 0x5d, 0xa0, 0xd7, 0x04, 0xfa, 0x76, 0x29, 0xba, 0x3c, 0xb4, 0x86, 0xc9, 0xaf, 0xee, 0x3f, 0x66,
5186 0xd4, 0xe6, 0xdb, 0xeb, 0xbd, 0x20, 0xa1, 0xeb, 0xf7, 0x08, 0x23, 0x58, 0x00, 0xa1, 0x37, 0xa1,
5187 0xe9, 0xc9, 0xed, 0xb7, 0x67, 0x37, 0x95, 0xad, 0xd9, 0xde, 0x0d, 0xa9, 0xd5, 0x0c, 0x8f, 0x85,
5188 0x23, 0x0d, 0xf5, 0x89, 0x02, 0xb7, 0xf2, 0xe7, 0xde, 0x37, 0x7c, 0x86, 0x7e, 0x91, 0x3b, 0xbb,
5189 0x56, 0xed, 0xec, 0xdc, 0x5a, 0x9c, 0x3c, 0x72, 0x1c, 0xae, 0x24, 0xce, 0x7d, 0x04, 0x0d, 0x83,
5190 0x51, 0xcb, 0x6f, 0xd7, 0x36, 0x67, 0xb7, 0x16, 0x77, 0xde, 0xd0, 0x4a, 0x02, 0x58, 0xcb, 0xef,
5191 0xae, 0xb7, 0x24, 0x71, 0x1b, 0x0f, 0x38, 0x02, 0x0e, 0x80, 0xd4, 0xdf, 0xd6, 0x00, 0xee, 0x51,
5192 0xd7, 0x74, 0x26, 0x16, 0xb5, 0xd9, 0x35, 0x3c, 0xdd, 0x03, 0xa8, 0xfb, 0x2e, 0xd5, 0xe5, 0xd3,
5193 0xbd, 0x5a, 0x7a, 0x82, 0x78, 0x53, 0xc7, 0x2e, 0xd5, 0xe3, 0x47, 0xe3, 0x5f, 0x58, 0x40, 0xa0,
5194 0x4f, 0x60, 0xce, 0x67, 0x84, 0x8d, 0x7c, 0xf1, 0x64, 0x8b, 0x3b, 0xaf, 0x55, 0x01, 0x13, 0x06,
5195 0xbd, 0x96, 0x84, 0x9b, 0x0b, 0xbe, 0xb1, 0x04, 0x52, 0xff, 0x3e, 0x0b, 0x2b, 0xb1, 0xf2, 0x9e,
5196 0x63, 0x0f, 0x0c, 0xc6, 0x43, 0xfa, 0x2e, 0xd4, 0xd9, 0xc4, 0xa5, 0xe2, 0x4e, 0x16, 0x7a, 0xaf,
5197 0x86, 0x9b, 0x39, 0x99, 0xb8, 0xf4, 0xd9, 0xf9, 0xc6, 0x5a, 0x81, 0x09, 0x17, 0x61, 0x61, 0x84,
5198 0xf6, 0xa3, 0x7d, 0xd6, 0x84, 0xf9, 0x3b, 0x69, 0xe7, 0xcf, 0xce, 0x37, 0x0a, 0x0a, 0x88, 0x16,
5199 0x21, 0xa5, 0xb7, 0x88, 0x5e, 0x81, 0x39, 0x8f, 0x12, 0xdf, 0xb1, 0xdb, 0x75, 0x81, 0x16, 0x1d,
5200 0x05, 0x8b, 0x55, 0x2c, 0xa5, 0xe8, 0x35, 0x98, 0xb7, 0xa8, 0xef, 0x93, 0x21, 0x6d, 0x37, 0x84,
5201 0xe2, 0xb2, 0x54, 0x9c, 0x3f, 0x08, 0x96, 0x71, 0x28, 0x47, 0x5f, 0x40, 0xcb, 0x24, 0x3e, 0x3b,
5202 0x75, 0x07, 0x84, 0xd1, 0x13, 0xc3, 0xa2, 0xed, 0x39, 0x71, 0xa1, 0xaf, 0x57, 0x7b, 0x7b, 0x6e,
5203 0xd1, 0xbb, 0x25, 0xd1, 0x5b, 0xfb, 0x29, 0x24, 0x9c, 0x41, 0x46, 0x63, 0x40, 0x7c, 0xe5, 0xc4,
5204 0x23, 0xb6, 0x1f, 0x5c, 0x14, 0xf7, 0x37, 0x7f, 0x65, 0x7f, 0xeb, 0xd2, 0x1f, 0xda, 0xcf, 0xa1,
5205 0xe1, 0x02, 0x0f, 0xea, 0x1f, 0x15, 0x68, 0xc5, 0xcf, 0x74, 0x0d, 0xb9, 0xfa, 0x51, 0x3a, 0x57,
5206 0xbf, 0x5f, 0x21, 0x38, 0x4b, 0x72, 0xf4, 0x9f, 0x35, 0x40, 0xb1, 0x12, 0x76, 0x4c, 0xb3, 0x4f,
5207 0xf4, 0x33, 0xb4, 0x09, 0x75, 0x9b, 0x58, 0x61, 0x4c, 0x46, 0x09, 0xf2, 0x13, 0x62, 0x51, 0x2c,
5208 0x24, 0xe8, 0x4b, 0x05, 0xd0, 0x48, 0x5c, 0xfd, 0x60, 0xd7, 0xb6, 0x1d, 0x46, 0xf8, 0x6d, 0x84,
5209 0x1b, 0xda, 0xab, 0xb0, 0xa1, 0xd0, 0x97, 0x76, 0x9a, 0x43, 0xb9, 0x6f, 0x33, 0x6f, 0x12, 0xbf,
5210 0x42, 0x5e, 0x01, 0x17, 0xb8, 0x46, 0x3f, 0x07, 0xf0, 0x24, 0xe6, 0x89, 0x23, 0xd3, 0xb6, 0xbc,
5211 0x06, 0x84, 0xee, 0xf7, 0x1c, 0xfb, 0xa1, 0x31, 0x8c, 0x0b, 0x0b, 0x8e, 0x20, 0x70, 0x02, 0x6e,
5212 0xfd, 0x3e, 0xac, 0x95, 0xec, 0x13, 0xdd, 0x80, 0xd9, 0x33, 0x3a, 0x09, 0xae, 0x0a, 0xf3, 0x9f,
5213 0x68, 0x15, 0x1a, 0x63, 0x62, 0x8e, 0x68, 0x90, 0x93, 0x38, 0xf8, 0xb8, 0x53, 0x7b, 0x4f, 0x51,
5214 0xff, 0xd0, 0x48, 0x46, 0x0a, 0xaf, 0x37, 0x68, 0x8b, 0xb7, 0x07, 0xd7, 0x34, 0x74, 0xe2, 0x0b,
5215 0x8c, 0x46, 0xef, 0x85, 0xa0, 0x35, 0x04, 0x6b, 0x38, 0x92, 0xa2, 0x5f, 0x42, 0xd3, 0xa7, 0x26,
5216 0xd5, 0x99, 0xe3, 0xc9, 0x12, 0xf7, 0x76, 0xc5, 0x98, 0x22, 0x7d, 0x6a, 0x1e, 0x4b, 0xd3, 0x00,
5217 0x3e, 0xfc, 0xc2, 0x11, 0x24, 0xfa, 0x04, 0x9a, 0x8c, 0x5a, 0xae, 0x49, 0x18, 0x95, 0xb7, 0x97,
5218 0x8a, 0x2b, 0x5e, 0x3b, 0x38, 0xd8, 0x91, 0x33, 0x38, 0x91, 0x6a, 0xa2, 0x7a, 0x46, 0x71, 0x1a,
5219 0xae, 0xe2, 0x08, 0x06, 0xfd, 0x0c, 0x9a, 0x3e, 0xe3, 0x5d, 0x7d, 0x38, 0x11, 0x15, 0xe5, 0xa2,
5220 0xb6, 0x92, 0xac, 0xa3, 0x81, 0x49, 0x0c, 0x1d, 0xae, 0xe0, 0x08, 0x0e, 0xed, 0xc2, 0xb2, 0x65,
5221 0xd8, 0x98, 0x92, 0xc1, 0xe4, 0x98, 0xea, 0x8e, 0x3d, 0xf0, 0x45, 0x29, 0x6a, 0xf4, 0xd6, 0xa4,
5222 0xd1, 0xf2, 0x41, 0x5a, 0x8c, 0xb3, 0xfa, 0x68, 0x1f, 0x56, 0xc3, 0xb6, 0xfb, 0x91, 0xe1, 0x33,
5223 0xc7, 0x9b, 0xec, 0x1b, 0x96, 0xc1, 0x44, 0x81, 0x6a, 0xf4, 0xda, 0xd3, 0xf3, 0x8d, 0x55, 0x5c,
5224 0x20, 0xc7, 0x85, 0x56, 0xbc, 0x76, 0xba, 0x64, 0xe4, 0xd3, 0x81, 0x28, 0x38, 0xcd, 0xb8, 0x76,
5225 0x1e, 0x89, 0x55, 0x2c, 0xa5, 0xe8, 0xa7, 0xa9, 0x30, 0x6d, 0x5e, 0x2d, 0x4c, 0x5b, 0xe5, 0x21,
5226 0x8a, 0x4e, 0x61, 0xcd, 0xf5, 0x9c, 0xa1, 0x47, 0x7d, 0xff, 0x1e, 0x25, 0x03, 0xd3, 0xb0, 0x69,
5227 0x78, 0x33, 0x0b, 0xe2, 0x44, 0x2f, 0x4d, 0xcf, 0x37, 0xd6, 0x8e, 0x8a, 0x55, 0x70, 0x99, 0xad,
5228 0xfa, 0x97, 0x3a, 0xdc, 0xc8, 0xf6, 0x38, 0xf4, 0x31, 0x20, 0xa7, 0xef, 0x53, 0x6f, 0x4c, 0x07,
5229 0x1f, 0x06, 0x83, 0x1b, 0x9f, 0x6e, 0x14, 0x31, 0xdd, 0x44, 0x79, 0x7b, 0x98, 0xd3, 0xc0, 0x05,
5230 0x56, 0xc1, 0x7c, 0x24, 0x13, 0xa0, 0x26, 0x36, 0x9a, 0x98, 0x8f, 0x72, 0x49, 0xb0, 0x0b, 0xcb,
5231 0x32, 0xf7, 0x43, 0xa1, 0x08, 0xd6, 0xc4, 0xbb, 0x9f, 0xa6, 0xc5, 0x38, 0xab, 0x8f, 0x3e, 0x84,
5232 0x9b, 0x64, 0x4c, 0x0c, 0x93, 0xf4, 0x4d, 0x1a, 0x81, 0xd4, 0x05, 0xc8, 0x8b, 0x12, 0xe4, 0xe6,
5233 0x6e, 0x56, 0x01, 0xe7, 0x6d, 0xd0, 0x01, 0xac, 0x8c, 0xec, 0x3c, 0x54, 0x10, 0x87, 0x2f, 0x49,
5234 0xa8, 0x95, 0xd3, 0xbc, 0x0a, 0x2e, 0xb2, 0x43, 0x9f, 0x03, 0xe8, 0x61, 0x63, 0xf6, 0xdb, 0x73,
5235 0xa2, 0x92, 0xbe, 0x59, 0x21, 0x5f, 0xa2, 0x6e, 0x1e, 0x57, 0xb1, 0x68, 0xc9, 0xc7, 0x09, 0x4c,
5236 0x74, 0x17, 0x96, 0x3c, 0x9e, 0x01, 0xd1, 0x56, 0xe7, 0xc5, 0x56, 0xbf, 0x23, 0xcd, 0x96, 0x70,
5237 0x52, 0x88, 0xd3, 0xba, 0xe8, 0x0e, 0xb4, 0x74, 0xc7, 0x34, 0x45, 0xe4, 0xef, 0x39, 0x23, 0x9b,
5238 0x89, 0xe0, 0x6d, 0xf4, 0x10, 0xef, 0xcc, 0x7b, 0x29, 0x09, 0xce, 0x68, 0xaa, 0x7f, 0x56, 0x92,
5239 0x6d, 0x26, 0x4c, 0x67, 0x74, 0x27, 0x35, 0xfa, 0xbc, 0x92, 0x19, 0x7d, 0x6e, 0xe5, 0x2d, 0x12,
5240 0x93, 0x8f, 0x01, 0x4b, 0x3c, 0xf8, 0x0d, 0x7b, 0x18, 0x3c, 0xb8, 0x2c, 0x89, 0x6f, 0x5d, 0x98,
5241 0x4a, 0x91, 0x76, 0xa2, 0x31, 0xde, 0x14, 0x27, 0x4f, 0x0a, 0x71, 0x1a, 0x59, 0xfd, 0x00, 0x5a,
5242 0xe9, 0x3c, 0x4c, 0xcd, 0xf4, 0xca, 0xa5, 0x33, 0xfd, 0x37, 0x0a, 0xac, 0x95, 0x78, 0x47, 0x26,
5243 0xb4, 0x2c, 0xf2, 0x38, 0x11, 0x23, 0x97, 0xce, 0xc6, 0x9c, 0x35, 0x69, 0x01, 0x6b, 0xd2, 0x1e,
5244 0xd8, 0xec, 0xd0, 0x3b, 0x66, 0x9e, 0x61, 0x0f, 0x83, 0x77, 0x38, 0x48, 0x61, 0xe1, 0x0c, 0x36,
5245 0xfa, 0x0c, 0x9a, 0x16, 0x79, 0x7c, 0x3c, 0xf2, 0x86, 0x45, 0xf7, 0x55, 0xcd, 0x8f, 0xe8, 0x1f,
5246 0x07, 0x12, 0x05, 0x47, 0x78, 0xea, 0x21, 0x6c, 0xa6, 0x0e, 0xc9, 0x4b, 0x05, 0x7d, 0x38, 0x32,
5247 0x8f, 0x69, 0xfc, 0xe0, 0x6f, 0xc0, 0x82, 0x4b, 0x3c, 0x66, 0x44, 0xe5, 0xa2, 0xd1, 0x5b, 0x9a,
5248 0x9e, 0x6f, 0x2c, 0x1c, 0x85, 0x8b, 0x38, 0x96, 0xab, 0xff, 0x55, 0xa0, 0x71, 0xac, 0x13, 0x93,
5249 0x5e, 0x03, 0x75, 0xb8, 0x97, 0xa2, 0x0e, 0x6a, 0x69, 0x10, 0x89, 0xfd, 0x94, 0xb2, 0x86, 0xfd,
5250 0x0c, 0x6b, 0x78, 0xf9, 0x12, 0x9c, 0x8b, 0x09, 0xc3, 0xfb, 0xb0, 0x10, 0xb9, 0x4b, 0x55, 0x49,
5251 0xe5, 0xb2, 0x2a, 0xa9, 0xfe, 0xbe, 0x06, 0x8b, 0x09, 0x17, 0x57, 0xb3, 0xe6, 0xd7, 0x9d, 0x18,
5252 0x34, 0x78, 0x19, 0xda, 0xa9, 0x72, 0x10, 0x2d, 0x1c, 0x2a, 0x82, 0xf9, 0x2d, 0xee, 0xde, 0xf9,
5253 0x59, 0xe3, 0x03, 0x68, 0x31, 0xe2, 0x0d, 0x29, 0x0b, 0x65, 0xe2, 0xc2, 0x16, 0xe2, 0x49, 0xff,
5254 0x24, 0x25, 0xc5, 0x19, 0xed, 0xf5, 0xbb, 0xb0, 0x94, 0x72, 0x76, 0xa5, 0x21, 0xec, 0x4b, 0x7e,
5255 0x39, 0x71, 0x70, 0x5e, 0x43, 0x74, 0x7d, 0x9c, 0x8a, 0xae, 0xad, 0xf2, 0xcb, 0x4c, 0xa4, 0x4c,
5256 0x59, 0x8c, 0xe1, 0x4c, 0x8c, 0xbd, 0x5e, 0x09, 0xed, 0xe2, 0x48, 0xfb, 0x57, 0x0d, 0x56, 0x13,
5257 0xda, 0x31, 0x37, 0xfd, 0x61, 0xaa, 0x40, 0x6f, 0x65, 0x0a, 0x74, 0xbb, 0xc8, 0xe6, 0xb9, 0x91,
5258 0xd3, 0x62, 0x76, 0x37, 0xfb, 0xbc, 0xd9, 0xdd, 0x73, 0x20, 0xc5, 0xea, 0x9f, 0x14, 0x58, 0x4e,
5259 0xdc, 0xdd, 0x35, 0x30, 0xc6, 0x07, 0x69, 0xc6, 0xf8, 0x72, 0x95, 0xa0, 0x29, 0xa1, 0x8c, 0x7f,
5260 0x6d, 0xa4, 0x36, 0xff, 0xad, 0x27, 0x31, 0xbf, 0x86, 0xd5, 0xb1, 0x63, 0x8e, 0x2c, 0xba, 0x67,
5261 0x12, 0xc3, 0x0a, 0x15, 0xf8, 0xc4, 0x38, 0x9b, 0xfd, 0x63, 0x28, 0x82, 0xa7, 0x9e, 0x6f, 0xf8,
5262 0x8c, 0xda, 0xec, 0xd3, 0xd8, 0xb2, 0xf7, 0x5d, 0xe9, 0x64, 0xf5, 0xd3, 0x02, 0x38, 0x5c, 0xe8,
5263 0x04, 0xfd, 0x00, 0x16, 0xf9, 0xc0, 0x6c, 0xe8, 0x94, 0x73, 0x6f, 0x19, 0x58, 0x2b, 0x12, 0x68,
5264 0xf1, 0x38, 0x16, 0xe1, 0xa4, 0x1e, 0x7a, 0x04, 0x2b, 0xae, 0x33, 0x38, 0x20, 0x36, 0x19, 0x52,
5265 0x3e, 0x66, 0x1c, 0x39, 0xa6, 0xa1, 0x4f, 0x04, 0xb3, 0x59, 0xe8, 0xbd, 0x1b, 0x4e, 0xa6, 0x47,
5266 0x79, 0x95, 0x67, 0x9c, 0x22, 0xe4, 0x97, 0x45, 0x52, 0x17, 0x41, 0x22, 0x0f, 0x5a, 0x23, 0xd9,
5267 0xee, 0x25, 0xd1, 0x0b, 0xfe, 0x6f, 0xd9, 0xa9, 0x12, 0x61, 0xa7, 0x29, 0xcb, 0xb8, 0xfa, 0xa7,
5268 0xd7, 0x71, 0xc6, 0x43, 0x29, 0x71, 0x6b, 0xfe, 0x3f, 0xc4, 0x4d, 0xfd, 0x77, 0x1d, 0x6e, 0xe6,
5269 0x4a, 0x25, 0xfa, 0xf1, 0x05, 0x0c, 0xe7, 0xd6, 0x73, 0x63, 0x37, 0xb9, 0x01, 0x7d, 0xf6, 0x0a,
5270 0x03, 0xfa, 0x2e, 0x2c, 0xeb, 0x23, 0xcf, 0xa3, 0x36, 0xcb, 0xb0, 0x9a, 0x88, 0x1a, 0xed, 0xa5,
5271 0xc5, 0x38, 0xab, 0x5f, 0xc4, 0xae, 0x1a, 0x57, 0x64, 0x57, 0xc9, 0x5d, 0xc8, 0x09, 0x39, 0x08,
5272 0xbb, 0xfc, 0x2e, 0xe4, 0xa0, 0x9c, 0xd5, 0xe7, 0xd3, 0x41, 0x80, 0x1a, 0x21, 0xcc, 0xa7, 0xa7,
5273 0x83, 0xd3, 0x94, 0x14, 0x67, 0xb4, 0x0b, 0x98, 0xca, 0x42, 0x55, 0xa6, 0x82, 0x48, 0x8a, 0x84,
5274 0x81, 0xc8, 0xf1, 0xed, 0x2a, 0xb1, 0x5c, 0x99, 0x85, 0xa9, 0x7f, 0x53, 0xe0, 0xc5, 0xd2, 0x24,
5275 0x40, 0xbb, 0xa9, 0x96, 0xbb, 0x9d, 0x69, 0xb9, 0xdf, 0x2b, 0x35, 0x4c, 0xf4, 0x5d, 0xaf, 0x98,
5276 0x1a, 0xbd, 0x5f, 0x8d, 0x1a, 0x15, 0xcc, 0xed, 0x97, 0x73, 0xa4, 0xde, 0xf6, 0x93, 0xa7, 0x9d,
5277 0x99, 0xaf, 0x9e, 0x76, 0x66, 0xbe, 0x7e, 0xda, 0x99, 0xf9, 0xcd, 0xb4, 0xa3, 0x3c, 0x99, 0x76,
5278 0x94, 0xaf, 0xa6, 0x1d, 0xe5, 0xeb, 0x69, 0x47, 0xf9, 0xc7, 0xb4, 0xa3, 0xfc, 0xee, 0x9b, 0xce,
5279 0xcc, 0x67, 0xf3, 0xd2, 0xe3, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xe9, 0x89, 0x29, 0x5c, 0x61,
5280 0x1b, 0x00, 0x00,
5281}