blob: 6cb51a8518c39404cfac719a15ceca6e52810be0 [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/settings/v1alpha1/generated.proto
19
20/*
21 Package v1alpha1 is a generated protocol buffer package.
22
23 It is generated from these files:
24 k8s.io/kubernetes/vendor/k8s.io/api/settings/v1alpha1/generated.proto
25
26 It has these top-level messages:
27 PodPreset
28 PodPresetList
29 PodPresetSpec
30*/
31package v1alpha1
32
Scott Baker4a35a702019-11-26 08:17:33 -080033import (
34 fmt "fmt"
Zack Williamse940c7a2019-08-21 14:25:39 -070035
Scott Baker4a35a702019-11-26 08:17:33 -080036 proto "github.com/gogo/protobuf/proto"
Zack Williamse940c7a2019-08-21 14:25:39 -070037
Scott Baker4a35a702019-11-26 08:17:33 -080038 math "math"
Zack Williamse940c7a2019-08-21 14:25:39 -070039
Scott Baker4a35a702019-11-26 08:17:33 -080040 k8s_io_api_core_v1 "k8s.io/api/core/v1"
41
42 strings "strings"
43
44 reflect "reflect"
45
46 io "io"
47)
Zack Williamse940c7a2019-08-21 14:25:39 -070048
49// Reference imports to suppress errors if they are not otherwise used.
50var _ = proto.Marshal
51var _ = fmt.Errorf
52var _ = math.Inf
53
54// This is a compile-time assertion to ensure that this generated file
55// is compatible with the proto package it is being compiled against.
56// A compilation error at this line likely means your copy of the
57// proto package needs to be updated.
58const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
59
60func (m *PodPreset) Reset() { *m = PodPreset{} }
61func (*PodPreset) ProtoMessage() {}
62func (*PodPreset) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
63
64func (m *PodPresetList) Reset() { *m = PodPresetList{} }
65func (*PodPresetList) ProtoMessage() {}
66func (*PodPresetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
67
68func (m *PodPresetSpec) Reset() { *m = PodPresetSpec{} }
69func (*PodPresetSpec) ProtoMessage() {}
70func (*PodPresetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
71
72func init() {
73 proto.RegisterType((*PodPreset)(nil), "k8s.io.api.settings.v1alpha1.PodPreset")
74 proto.RegisterType((*PodPresetList)(nil), "k8s.io.api.settings.v1alpha1.PodPresetList")
75 proto.RegisterType((*PodPresetSpec)(nil), "k8s.io.api.settings.v1alpha1.PodPresetSpec")
76}
77func (m *PodPreset) Marshal() (dAtA []byte, err error) {
78 size := m.Size()
79 dAtA = make([]byte, size)
80 n, err := m.MarshalTo(dAtA)
81 if err != nil {
82 return nil, err
83 }
84 return dAtA[:n], nil
85}
86
87func (m *PodPreset) MarshalTo(dAtA []byte) (int, error) {
88 var i int
89 _ = i
90 var l int
91 _ = l
92 dAtA[i] = 0xa
93 i++
94 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
95 n1, err := m.ObjectMeta.MarshalTo(dAtA[i:])
96 if err != nil {
97 return 0, err
98 }
99 i += n1
100 dAtA[i] = 0x12
101 i++
102 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
103 n2, err := m.Spec.MarshalTo(dAtA[i:])
104 if err != nil {
105 return 0, err
106 }
107 i += n2
108 return i, nil
109}
110
111func (m *PodPresetList) Marshal() (dAtA []byte, err error) {
112 size := m.Size()
113 dAtA = make([]byte, size)
114 n, err := m.MarshalTo(dAtA)
115 if err != nil {
116 return nil, err
117 }
118 return dAtA[:n], nil
119}
120
121func (m *PodPresetList) MarshalTo(dAtA []byte) (int, error) {
122 var i int
123 _ = i
124 var l int
125 _ = l
126 dAtA[i] = 0xa
127 i++
128 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
129 n3, err := m.ListMeta.MarshalTo(dAtA[i:])
130 if err != nil {
131 return 0, err
132 }
133 i += n3
134 if len(m.Items) > 0 {
135 for _, msg := range m.Items {
136 dAtA[i] = 0x12
137 i++
138 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
139 n, err := msg.MarshalTo(dAtA[i:])
140 if err != nil {
141 return 0, err
142 }
143 i += n
144 }
145 }
146 return i, nil
147}
148
149func (m *PodPresetSpec) Marshal() (dAtA []byte, err error) {
150 size := m.Size()
151 dAtA = make([]byte, size)
152 n, err := m.MarshalTo(dAtA)
153 if err != nil {
154 return nil, err
155 }
156 return dAtA[:n], nil
157}
158
159func (m *PodPresetSpec) MarshalTo(dAtA []byte) (int, error) {
160 var i int
161 _ = i
162 var l int
163 _ = l
164 dAtA[i] = 0xa
165 i++
166 i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
167 n4, err := m.Selector.MarshalTo(dAtA[i:])
168 if err != nil {
169 return 0, err
170 }
171 i += n4
172 if len(m.Env) > 0 {
173 for _, msg := range m.Env {
174 dAtA[i] = 0x12
175 i++
176 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
177 n, err := msg.MarshalTo(dAtA[i:])
178 if err != nil {
179 return 0, err
180 }
181 i += n
182 }
183 }
184 if len(m.EnvFrom) > 0 {
185 for _, msg := range m.EnvFrom {
186 dAtA[i] = 0x1a
187 i++
188 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
189 n, err := msg.MarshalTo(dAtA[i:])
190 if err != nil {
191 return 0, err
192 }
193 i += n
194 }
195 }
196 if len(m.Volumes) > 0 {
197 for _, msg := range m.Volumes {
198 dAtA[i] = 0x22
199 i++
200 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
201 n, err := msg.MarshalTo(dAtA[i:])
202 if err != nil {
203 return 0, err
204 }
205 i += n
206 }
207 }
208 if len(m.VolumeMounts) > 0 {
209 for _, msg := range m.VolumeMounts {
210 dAtA[i] = 0x2a
211 i++
212 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
213 n, err := msg.MarshalTo(dAtA[i:])
214 if err != nil {
215 return 0, err
216 }
217 i += n
218 }
219 }
220 return i, nil
221}
222
223func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
224 for v >= 1<<7 {
225 dAtA[offset] = uint8(v&0x7f | 0x80)
226 v >>= 7
227 offset++
228 }
229 dAtA[offset] = uint8(v)
230 return offset + 1
231}
232func (m *PodPreset) Size() (n int) {
233 var l int
234 _ = l
235 l = m.ObjectMeta.Size()
236 n += 1 + l + sovGenerated(uint64(l))
237 l = m.Spec.Size()
238 n += 1 + l + sovGenerated(uint64(l))
239 return n
240}
241
242func (m *PodPresetList) Size() (n int) {
243 var l int
244 _ = l
245 l = m.ListMeta.Size()
246 n += 1 + l + sovGenerated(uint64(l))
247 if len(m.Items) > 0 {
248 for _, e := range m.Items {
249 l = e.Size()
250 n += 1 + l + sovGenerated(uint64(l))
251 }
252 }
253 return n
254}
255
256func (m *PodPresetSpec) Size() (n int) {
257 var l int
258 _ = l
259 l = m.Selector.Size()
260 n += 1 + l + sovGenerated(uint64(l))
261 if len(m.Env) > 0 {
262 for _, e := range m.Env {
263 l = e.Size()
264 n += 1 + l + sovGenerated(uint64(l))
265 }
266 }
267 if len(m.EnvFrom) > 0 {
268 for _, e := range m.EnvFrom {
269 l = e.Size()
270 n += 1 + l + sovGenerated(uint64(l))
271 }
272 }
273 if len(m.Volumes) > 0 {
274 for _, e := range m.Volumes {
275 l = e.Size()
276 n += 1 + l + sovGenerated(uint64(l))
277 }
278 }
279 if len(m.VolumeMounts) > 0 {
280 for _, e := range m.VolumeMounts {
281 l = e.Size()
282 n += 1 + l + sovGenerated(uint64(l))
283 }
284 }
285 return n
286}
287
288func sovGenerated(x uint64) (n int) {
289 for {
290 n++
291 x >>= 7
292 if x == 0 {
293 break
294 }
295 }
296 return n
297}
298func sozGenerated(x uint64) (n int) {
299 return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
300}
301func (this *PodPreset) String() string {
302 if this == nil {
303 return "nil"
304 }
305 s := strings.Join([]string{`&PodPreset{`,
306 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
307 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodPresetSpec", "PodPresetSpec", 1), `&`, ``, 1) + `,`,
308 `}`,
309 }, "")
310 return s
311}
312func (this *PodPresetList) String() string {
313 if this == nil {
314 return "nil"
315 }
316 s := strings.Join([]string{`&PodPresetList{`,
317 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
318 `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PodPreset", "PodPreset", 1), `&`, ``, 1) + `,`,
319 `}`,
320 }, "")
321 return s
322}
323func (this *PodPresetSpec) String() string {
324 if this == nil {
325 return "nil"
326 }
327 s := strings.Join([]string{`&PodPresetSpec{`,
328 `Selector:` + strings.Replace(strings.Replace(this.Selector.String(), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1), `&`, ``, 1) + `,`,
329 `Env:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Env), "EnvVar", "k8s_io_api_core_v1.EnvVar", 1), `&`, ``, 1) + `,`,
330 `EnvFrom:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.EnvFrom), "EnvFromSource", "k8s_io_api_core_v1.EnvFromSource", 1), `&`, ``, 1) + `,`,
331 `Volumes:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Volumes), "Volume", "k8s_io_api_core_v1.Volume", 1), `&`, ``, 1) + `,`,
332 `VolumeMounts:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VolumeMounts), "VolumeMount", "k8s_io_api_core_v1.VolumeMount", 1), `&`, ``, 1) + `,`,
333 `}`,
334 }, "")
335 return s
336}
337func valueToStringGenerated(v interface{}) string {
338 rv := reflect.ValueOf(v)
339 if rv.IsNil() {
340 return "nil"
341 }
342 pv := reflect.Indirect(rv).Interface()
343 return fmt.Sprintf("*%v", pv)
344}
345func (m *PodPreset) Unmarshal(dAtA []byte) error {
346 l := len(dAtA)
347 iNdEx := 0
348 for iNdEx < l {
349 preIndex := iNdEx
350 var wire uint64
351 for shift := uint(0); ; shift += 7 {
352 if shift >= 64 {
353 return ErrIntOverflowGenerated
354 }
355 if iNdEx >= l {
356 return io.ErrUnexpectedEOF
357 }
358 b := dAtA[iNdEx]
359 iNdEx++
360 wire |= (uint64(b) & 0x7F) << shift
361 if b < 0x80 {
362 break
363 }
364 }
365 fieldNum := int32(wire >> 3)
366 wireType := int(wire & 0x7)
367 if wireType == 4 {
368 return fmt.Errorf("proto: PodPreset: wiretype end group for non-group")
369 }
370 if fieldNum <= 0 {
371 return fmt.Errorf("proto: PodPreset: illegal tag %d (wire type %d)", fieldNum, wire)
372 }
373 switch fieldNum {
374 case 1:
375 if wireType != 2 {
376 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
377 }
378 var msglen int
379 for shift := uint(0); ; shift += 7 {
380 if shift >= 64 {
381 return ErrIntOverflowGenerated
382 }
383 if iNdEx >= l {
384 return io.ErrUnexpectedEOF
385 }
386 b := dAtA[iNdEx]
387 iNdEx++
388 msglen |= (int(b) & 0x7F) << shift
389 if b < 0x80 {
390 break
391 }
392 }
393 if msglen < 0 {
394 return ErrInvalidLengthGenerated
395 }
396 postIndex := iNdEx + msglen
397 if postIndex > l {
398 return io.ErrUnexpectedEOF
399 }
400 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
401 return err
402 }
403 iNdEx = postIndex
404 case 2:
405 if wireType != 2 {
406 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
407 }
408 var msglen int
409 for shift := uint(0); ; shift += 7 {
410 if shift >= 64 {
411 return ErrIntOverflowGenerated
412 }
413 if iNdEx >= l {
414 return io.ErrUnexpectedEOF
415 }
416 b := dAtA[iNdEx]
417 iNdEx++
418 msglen |= (int(b) & 0x7F) << shift
419 if b < 0x80 {
420 break
421 }
422 }
423 if msglen < 0 {
424 return ErrInvalidLengthGenerated
425 }
426 postIndex := iNdEx + msglen
427 if postIndex > l {
428 return io.ErrUnexpectedEOF
429 }
430 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
431 return err
432 }
433 iNdEx = postIndex
434 default:
435 iNdEx = preIndex
436 skippy, err := skipGenerated(dAtA[iNdEx:])
437 if err != nil {
438 return err
439 }
440 if skippy < 0 {
441 return ErrInvalidLengthGenerated
442 }
443 if (iNdEx + skippy) > l {
444 return io.ErrUnexpectedEOF
445 }
446 iNdEx += skippy
447 }
448 }
449
450 if iNdEx > l {
451 return io.ErrUnexpectedEOF
452 }
453 return nil
454}
455func (m *PodPresetList) Unmarshal(dAtA []byte) error {
456 l := len(dAtA)
457 iNdEx := 0
458 for iNdEx < l {
459 preIndex := iNdEx
460 var wire uint64
461 for shift := uint(0); ; shift += 7 {
462 if shift >= 64 {
463 return ErrIntOverflowGenerated
464 }
465 if iNdEx >= l {
466 return io.ErrUnexpectedEOF
467 }
468 b := dAtA[iNdEx]
469 iNdEx++
470 wire |= (uint64(b) & 0x7F) << shift
471 if b < 0x80 {
472 break
473 }
474 }
475 fieldNum := int32(wire >> 3)
476 wireType := int(wire & 0x7)
477 if wireType == 4 {
478 return fmt.Errorf("proto: PodPresetList: wiretype end group for non-group")
479 }
480 if fieldNum <= 0 {
481 return fmt.Errorf("proto: PodPresetList: illegal tag %d (wire type %d)", fieldNum, wire)
482 }
483 switch fieldNum {
484 case 1:
485 if wireType != 2 {
486 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
487 }
488 var msglen int
489 for shift := uint(0); ; shift += 7 {
490 if shift >= 64 {
491 return ErrIntOverflowGenerated
492 }
493 if iNdEx >= l {
494 return io.ErrUnexpectedEOF
495 }
496 b := dAtA[iNdEx]
497 iNdEx++
498 msglen |= (int(b) & 0x7F) << shift
499 if b < 0x80 {
500 break
501 }
502 }
503 if msglen < 0 {
504 return ErrInvalidLengthGenerated
505 }
506 postIndex := iNdEx + msglen
507 if postIndex > l {
508 return io.ErrUnexpectedEOF
509 }
510 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
511 return err
512 }
513 iNdEx = postIndex
514 case 2:
515 if wireType != 2 {
516 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
517 }
518 var msglen int
519 for shift := uint(0); ; shift += 7 {
520 if shift >= 64 {
521 return ErrIntOverflowGenerated
522 }
523 if iNdEx >= l {
524 return io.ErrUnexpectedEOF
525 }
526 b := dAtA[iNdEx]
527 iNdEx++
528 msglen |= (int(b) & 0x7F) << shift
529 if b < 0x80 {
530 break
531 }
532 }
533 if msglen < 0 {
534 return ErrInvalidLengthGenerated
535 }
536 postIndex := iNdEx + msglen
537 if postIndex > l {
538 return io.ErrUnexpectedEOF
539 }
540 m.Items = append(m.Items, PodPreset{})
541 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
542 return err
543 }
544 iNdEx = postIndex
545 default:
546 iNdEx = preIndex
547 skippy, err := skipGenerated(dAtA[iNdEx:])
548 if err != nil {
549 return err
550 }
551 if skippy < 0 {
552 return ErrInvalidLengthGenerated
553 }
554 if (iNdEx + skippy) > l {
555 return io.ErrUnexpectedEOF
556 }
557 iNdEx += skippy
558 }
559 }
560
561 if iNdEx > l {
562 return io.ErrUnexpectedEOF
563 }
564 return nil
565}
566func (m *PodPresetSpec) Unmarshal(dAtA []byte) error {
567 l := len(dAtA)
568 iNdEx := 0
569 for iNdEx < l {
570 preIndex := iNdEx
571 var wire uint64
572 for shift := uint(0); ; shift += 7 {
573 if shift >= 64 {
574 return ErrIntOverflowGenerated
575 }
576 if iNdEx >= l {
577 return io.ErrUnexpectedEOF
578 }
579 b := dAtA[iNdEx]
580 iNdEx++
581 wire |= (uint64(b) & 0x7F) << shift
582 if b < 0x80 {
583 break
584 }
585 }
586 fieldNum := int32(wire >> 3)
587 wireType := int(wire & 0x7)
588 if wireType == 4 {
589 return fmt.Errorf("proto: PodPresetSpec: wiretype end group for non-group")
590 }
591 if fieldNum <= 0 {
592 return fmt.Errorf("proto: PodPresetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
593 }
594 switch fieldNum {
595 case 1:
596 if wireType != 2 {
597 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
598 }
599 var msglen int
600 for shift := uint(0); ; shift += 7 {
601 if shift >= 64 {
602 return ErrIntOverflowGenerated
603 }
604 if iNdEx >= l {
605 return io.ErrUnexpectedEOF
606 }
607 b := dAtA[iNdEx]
608 iNdEx++
609 msglen |= (int(b) & 0x7F) << shift
610 if b < 0x80 {
611 break
612 }
613 }
614 if msglen < 0 {
615 return ErrInvalidLengthGenerated
616 }
617 postIndex := iNdEx + msglen
618 if postIndex > l {
619 return io.ErrUnexpectedEOF
620 }
621 if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
622 return err
623 }
624 iNdEx = postIndex
625 case 2:
626 if wireType != 2 {
627 return fmt.Errorf("proto: wrong wireType = %d for field Env", wireType)
628 }
629 var msglen int
630 for shift := uint(0); ; shift += 7 {
631 if shift >= 64 {
632 return ErrIntOverflowGenerated
633 }
634 if iNdEx >= l {
635 return io.ErrUnexpectedEOF
636 }
637 b := dAtA[iNdEx]
638 iNdEx++
639 msglen |= (int(b) & 0x7F) << shift
640 if b < 0x80 {
641 break
642 }
643 }
644 if msglen < 0 {
645 return ErrInvalidLengthGenerated
646 }
647 postIndex := iNdEx + msglen
648 if postIndex > l {
649 return io.ErrUnexpectedEOF
650 }
651 m.Env = append(m.Env, k8s_io_api_core_v1.EnvVar{})
652 if err := m.Env[len(m.Env)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
653 return err
654 }
655 iNdEx = postIndex
656 case 3:
657 if wireType != 2 {
658 return fmt.Errorf("proto: wrong wireType = %d for field EnvFrom", wireType)
659 }
660 var msglen int
661 for shift := uint(0); ; shift += 7 {
662 if shift >= 64 {
663 return ErrIntOverflowGenerated
664 }
665 if iNdEx >= l {
666 return io.ErrUnexpectedEOF
667 }
668 b := dAtA[iNdEx]
669 iNdEx++
670 msglen |= (int(b) & 0x7F) << shift
671 if b < 0x80 {
672 break
673 }
674 }
675 if msglen < 0 {
676 return ErrInvalidLengthGenerated
677 }
678 postIndex := iNdEx + msglen
679 if postIndex > l {
680 return io.ErrUnexpectedEOF
681 }
682 m.EnvFrom = append(m.EnvFrom, k8s_io_api_core_v1.EnvFromSource{})
683 if err := m.EnvFrom[len(m.EnvFrom)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
684 return err
685 }
686 iNdEx = postIndex
687 case 4:
688 if wireType != 2 {
689 return fmt.Errorf("proto: wrong wireType = %d for field Volumes", wireType)
690 }
691 var msglen int
692 for shift := uint(0); ; shift += 7 {
693 if shift >= 64 {
694 return ErrIntOverflowGenerated
695 }
696 if iNdEx >= l {
697 return io.ErrUnexpectedEOF
698 }
699 b := dAtA[iNdEx]
700 iNdEx++
701 msglen |= (int(b) & 0x7F) << shift
702 if b < 0x80 {
703 break
704 }
705 }
706 if msglen < 0 {
707 return ErrInvalidLengthGenerated
708 }
709 postIndex := iNdEx + msglen
710 if postIndex > l {
711 return io.ErrUnexpectedEOF
712 }
713 m.Volumes = append(m.Volumes, k8s_io_api_core_v1.Volume{})
714 if err := m.Volumes[len(m.Volumes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
715 return err
716 }
717 iNdEx = postIndex
718 case 5:
719 if wireType != 2 {
720 return fmt.Errorf("proto: wrong wireType = %d for field VolumeMounts", wireType)
721 }
722 var msglen int
723 for shift := uint(0); ; shift += 7 {
724 if shift >= 64 {
725 return ErrIntOverflowGenerated
726 }
727 if iNdEx >= l {
728 return io.ErrUnexpectedEOF
729 }
730 b := dAtA[iNdEx]
731 iNdEx++
732 msglen |= (int(b) & 0x7F) << shift
733 if b < 0x80 {
734 break
735 }
736 }
737 if msglen < 0 {
738 return ErrInvalidLengthGenerated
739 }
740 postIndex := iNdEx + msglen
741 if postIndex > l {
742 return io.ErrUnexpectedEOF
743 }
744 m.VolumeMounts = append(m.VolumeMounts, k8s_io_api_core_v1.VolumeMount{})
745 if err := m.VolumeMounts[len(m.VolumeMounts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
746 return err
747 }
748 iNdEx = postIndex
749 default:
750 iNdEx = preIndex
751 skippy, err := skipGenerated(dAtA[iNdEx:])
752 if err != nil {
753 return err
754 }
755 if skippy < 0 {
756 return ErrInvalidLengthGenerated
757 }
758 if (iNdEx + skippy) > l {
759 return io.ErrUnexpectedEOF
760 }
761 iNdEx += skippy
762 }
763 }
764
765 if iNdEx > l {
766 return io.ErrUnexpectedEOF
767 }
768 return nil
769}
770func skipGenerated(dAtA []byte) (n int, err error) {
771 l := len(dAtA)
772 iNdEx := 0
773 for iNdEx < l {
774 var wire uint64
775 for shift := uint(0); ; shift += 7 {
776 if shift >= 64 {
777 return 0, ErrIntOverflowGenerated
778 }
779 if iNdEx >= l {
780 return 0, io.ErrUnexpectedEOF
781 }
782 b := dAtA[iNdEx]
783 iNdEx++
784 wire |= (uint64(b) & 0x7F) << shift
785 if b < 0x80 {
786 break
787 }
788 }
789 wireType := int(wire & 0x7)
790 switch wireType {
791 case 0:
792 for shift := uint(0); ; shift += 7 {
793 if shift >= 64 {
794 return 0, ErrIntOverflowGenerated
795 }
796 if iNdEx >= l {
797 return 0, io.ErrUnexpectedEOF
798 }
799 iNdEx++
800 if dAtA[iNdEx-1] < 0x80 {
801 break
802 }
803 }
804 return iNdEx, nil
805 case 1:
806 iNdEx += 8
807 return iNdEx, nil
808 case 2:
809 var length int
810 for shift := uint(0); ; shift += 7 {
811 if shift >= 64 {
812 return 0, ErrIntOverflowGenerated
813 }
814 if iNdEx >= l {
815 return 0, io.ErrUnexpectedEOF
816 }
817 b := dAtA[iNdEx]
818 iNdEx++
819 length |= (int(b) & 0x7F) << shift
820 if b < 0x80 {
821 break
822 }
823 }
824 iNdEx += length
825 if length < 0 {
826 return 0, ErrInvalidLengthGenerated
827 }
828 return iNdEx, nil
829 case 3:
830 for {
831 var innerWire uint64
832 var start int = iNdEx
833 for shift := uint(0); ; shift += 7 {
834 if shift >= 64 {
835 return 0, ErrIntOverflowGenerated
836 }
837 if iNdEx >= l {
838 return 0, io.ErrUnexpectedEOF
839 }
840 b := dAtA[iNdEx]
841 iNdEx++
842 innerWire |= (uint64(b) & 0x7F) << shift
843 if b < 0x80 {
844 break
845 }
846 }
847 innerWireType := int(innerWire & 0x7)
848 if innerWireType == 4 {
849 break
850 }
851 next, err := skipGenerated(dAtA[start:])
852 if err != nil {
853 return 0, err
854 }
855 iNdEx = start + next
856 }
857 return iNdEx, nil
858 case 4:
859 return iNdEx, nil
860 case 5:
861 iNdEx += 4
862 return iNdEx, nil
863 default:
864 return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
865 }
866 }
867 panic("unreachable")
868}
869
870var (
871 ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
872 ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
873)
874
875func init() {
876 proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/settings/v1alpha1/generated.proto", fileDescriptorGenerated)
877}
878
879var fileDescriptorGenerated = []byte{
880 // 542 bytes of a gzipped FileDescriptorProto
881 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x8e, 0xd2, 0x40,
882 0x1c, 0xc6, 0xe9, 0xb2, 0x04, 0x1c, 0xd8, 0x68, 0x1a, 0x0f, 0x0d, 0x31, 0x65, 0xe5, 0xe2, 0x26,
883 0xc6, 0x19, 0x59, 0x8d, 0xd1, 0x6b, 0x13, 0x4c, 0x4c, 0x20, 0x6e, 0x4a, 0xb2, 0x89, 0xc6, 0x83,
884 0x43, 0xf9, 0x5b, 0x2a, 0xb4, 0xd3, 0xcc, 0x4c, 0x9b, 0x78, 0xf3, 0x11, 0x7c, 0x01, 0x9f, 0x44,
885 0x1f, 0x80, 0xe3, 0x1e, 0xf7, 0xb4, 0x91, 0xfa, 0x22, 0x66, 0x86, 0x29, 0xa0, 0x88, 0x72, 0x9b,
886 0xff, 0x9f, 0xef, 0xfb, 0xcd, 0xf7, 0x31, 0x45, 0xfd, 0xd9, 0x73, 0x81, 0x23, 0x46, 0x66, 0xd9,
887 0x18, 0x78, 0x02, 0x12, 0x04, 0xc9, 0x21, 0x99, 0x30, 0x4e, 0xcc, 0x0f, 0x34, 0x8d, 0x88, 0x00,
888 0x29, 0xa3, 0x24, 0x14, 0x24, 0xef, 0xd1, 0x79, 0x3a, 0xa5, 0x3d, 0x12, 0x42, 0x02, 0x9c, 0x4a,
889 0x98, 0xe0, 0x94, 0x33, 0xc9, 0xec, 0x7b, 0x2b, 0x35, 0xa6, 0x69, 0x84, 0x4b, 0x35, 0x2e, 0xd5,
890 0xed, 0x47, 0x61, 0x24, 0xa7, 0xd9, 0x18, 0x07, 0x2c, 0x26, 0x21, 0x0b, 0x19, 0xd1, 0xa6, 0x71,
891 0xf6, 0x41, 0x4f, 0x7a, 0xd0, 0xa7, 0x15, 0xac, 0xdd, 0xdd, 0xba, 0x3a, 0x60, 0x1c, 0x48, 0xbe,
892 0x73, 0x61, 0xfb, 0xe9, 0x46, 0x13, 0xd3, 0x60, 0x1a, 0x25, 0xc0, 0x3f, 0x91, 0x74, 0x16, 0xaa,
893 0x85, 0x20, 0x31, 0x48, 0xfa, 0x37, 0x17, 0xd9, 0xe7, 0xe2, 0x59, 0x22, 0xa3, 0x18, 0x76, 0x0c,
894 0xcf, 0xfe, 0x67, 0x10, 0xc1, 0x14, 0x62, 0xfa, 0xa7, 0xaf, 0xfb, 0xdd, 0x42, 0xb7, 0x2e, 0xd8,
895 0xe4, 0x82, 0x83, 0x00, 0x69, 0xbf, 0x47, 0x0d, 0x95, 0x68, 0x42, 0x25, 0x75, 0xac, 0x53, 0xeb,
896 0xac, 0x79, 0xfe, 0x18, 0x6f, 0xfe, 0xb0, 0x35, 0x18, 0xa7, 0xb3, 0x50, 0x2d, 0x04, 0x56, 0x6a,
897 0x9c, 0xf7, 0xf0, 0xeb, 0xf1, 0x47, 0x08, 0xe4, 0x10, 0x24, 0xf5, 0xec, 0xc5, 0x4d, 0xa7, 0x52,
898 0xdc, 0x74, 0xd0, 0x66, 0xe7, 0xaf, 0xa9, 0xf6, 0x10, 0x1d, 0x8b, 0x14, 0x02, 0xe7, 0x48, 0xd3,
899 0x1f, 0xe2, 0x7f, 0x3d, 0x07, 0x5e, 0x07, 0x1b, 0xa5, 0x10, 0x78, 0x2d, 0x03, 0x3e, 0x56, 0x93,
900 0xaf, 0x31, 0xdd, 0x6f, 0x16, 0x3a, 0x59, 0xab, 0x06, 0x91, 0x90, 0xf6, 0xbb, 0x9d, 0x0a, 0xf8,
901 0xb0, 0x0a, 0xca, 0xad, 0x0b, 0xdc, 0x31, 0xf7, 0x34, 0xca, 0xcd, 0x56, 0xfc, 0x01, 0xaa, 0x45,
902 0x12, 0x62, 0xe1, 0x1c, 0x9d, 0x56, 0xcf, 0x9a, 0xe7, 0x0f, 0x0e, 0xcc, 0xef, 0x9d, 0x18, 0x66,
903 0xed, 0x95, 0x72, 0xfb, 0x2b, 0x48, 0xf7, 0x6b, 0x75, 0x2b, 0xbd, 0x6a, 0x65, 0x53, 0xd4, 0x10,
904 0x30, 0x87, 0x40, 0x32, 0x6e, 0xd2, 0x3f, 0x39, 0x30, 0x3d, 0x1d, 0xc3, 0x7c, 0x64, 0xac, 0x9b,
905 0x0a, 0xe5, 0xc6, 0x5f, 0x63, 0xed, 0x17, 0xa8, 0x0a, 0x49, 0x6e, 0x0a, 0xb4, 0xb7, 0x0b, 0xa8,
906 0x4f, 0x58, 0xb1, 0xfa, 0x49, 0x7e, 0x49, 0xb9, 0xd7, 0x34, 0x90, 0x6a, 0x3f, 0xc9, 0x7d, 0xe5,
907 0xb1, 0x07, 0xa8, 0x0e, 0x49, 0xfe, 0x92, 0xb3, 0xd8, 0xa9, 0x6a, 0xfb, 0xfd, 0x3d, 0x76, 0x25,
908 0x19, 0xb1, 0x8c, 0x07, 0xe0, 0xdd, 0x36, 0x94, 0xba, 0x59, 0xfb, 0x25, 0xc2, 0xee, 0xa3, 0x7a,
909 0xce, 0xe6, 0x59, 0x0c, 0xc2, 0x39, 0xde, 0x1f, 0xe6, 0x52, 0x4b, 0x36, 0x98, 0xd5, 0x2c, 0xfc,
910 0xd2, 0x6b, 0xbf, 0x41, 0xad, 0xd5, 0x71, 0xc8, 0xb2, 0x44, 0x0a, 0xa7, 0xa6, 0x59, 0x9d, 0xfd,
911 0x2c, 0xad, 0xf3, 0xee, 0x1a, 0x60, 0x6b, 0x6b, 0x29, 0xfc, 0xdf, 0x50, 0x1e, 0x5e, 0x2c, 0xdd,
912 0xca, 0xd5, 0xd2, 0xad, 0x5c, 0x2f, 0xdd, 0xca, 0xe7, 0xc2, 0xb5, 0x16, 0x85, 0x6b, 0x5d, 0x15,
913 0xae, 0x75, 0x5d, 0xb8, 0xd6, 0x8f, 0xc2, 0xb5, 0xbe, 0xfc, 0x74, 0x2b, 0x6f, 0x1b, 0xe5, 0x7b,
914 0xff, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x46, 0x15, 0xf2, 0x97, 0xa4, 0x04, 0x00, 0x00,
915}