blob: 505fb0e036f8285cfe059e32cae95df47aed3c86 [file] [log] [blame]
Matthias Andreas Benkard832a54e2019-01-29 09:27:38 +01001/*
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.
18// source: k8s.io/kubernetes/vendor/k8s.io/api/policy/v1beta1/generated.proto
19// DO NOT EDIT!
20
21/*
22 Package v1beta1 is a generated protocol buffer package.
23
24 It is generated from these files:
25 k8s.io/kubernetes/vendor/k8s.io/api/policy/v1beta1/generated.proto
26
27 It has these top-level messages:
28 AllowedFlexVolume
29 AllowedHostPath
30 Eviction
31 FSGroupStrategyOptions
32 HostPortRange
33 IDRange
34 PodDisruptionBudget
35 PodDisruptionBudgetList
36 PodDisruptionBudgetSpec
37 PodDisruptionBudgetStatus
38 PodSecurityPolicy
39 PodSecurityPolicyList
40 PodSecurityPolicySpec
41 RunAsUserStrategyOptions
42 SELinuxStrategyOptions
43 SupplementalGroupsStrategyOptions
44*/
45package v1beta1
46
47import proto "github.com/gogo/protobuf/proto"
48import fmt "fmt"
49import math "math"
50
51import k8s_io_api_core_v1 "k8s.io/api/core/v1"
52import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
53
54import k8s_io_apimachinery_pkg_util_intstr "k8s.io/apimachinery/pkg/util/intstr"
55
56import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
57
58import strings "strings"
59import reflect "reflect"
60
61import io "io"
62
63// Reference imports to suppress errors if they are not otherwise used.
64var _ = proto.Marshal
65var _ = fmt.Errorf
66var _ = math.Inf
67
68// This is a compile-time assertion to ensure that this generated file
69// is compatible with the proto package it is being compiled against.
70// A compilation error at this line likely means your copy of the
71// proto package needs to be updated.
72const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
73
74func (m *AllowedFlexVolume) Reset() { *m = AllowedFlexVolume{} }
75func (*AllowedFlexVolume) ProtoMessage() {}
76func (*AllowedFlexVolume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
77
78func (m *AllowedHostPath) Reset() { *m = AllowedHostPath{} }
79func (*AllowedHostPath) ProtoMessage() {}
80func (*AllowedHostPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
81
82func (m *Eviction) Reset() { *m = Eviction{} }
83func (*Eviction) ProtoMessage() {}
84func (*Eviction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
85
86func (m *FSGroupStrategyOptions) Reset() { *m = FSGroupStrategyOptions{} }
87func (*FSGroupStrategyOptions) ProtoMessage() {}
88func (*FSGroupStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
89
90func (m *HostPortRange) Reset() { *m = HostPortRange{} }
91func (*HostPortRange) ProtoMessage() {}
92func (*HostPortRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
93
94func (m *IDRange) Reset() { *m = IDRange{} }
95func (*IDRange) ProtoMessage() {}
96func (*IDRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
97
98func (m *PodDisruptionBudget) Reset() { *m = PodDisruptionBudget{} }
99func (*PodDisruptionBudget) ProtoMessage() {}
100func (*PodDisruptionBudget) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
101
102func (m *PodDisruptionBudgetList) Reset() { *m = PodDisruptionBudgetList{} }
103func (*PodDisruptionBudgetList) ProtoMessage() {}
104func (*PodDisruptionBudgetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
105
106func (m *PodDisruptionBudgetSpec) Reset() { *m = PodDisruptionBudgetSpec{} }
107func (*PodDisruptionBudgetSpec) ProtoMessage() {}
108func (*PodDisruptionBudgetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
109
110func (m *PodDisruptionBudgetStatus) Reset() { *m = PodDisruptionBudgetStatus{} }
111func (*PodDisruptionBudgetStatus) ProtoMessage() {}
112func (*PodDisruptionBudgetStatus) Descriptor() ([]byte, []int) {
113 return fileDescriptorGenerated, []int{9}
114}
115
116func (m *PodSecurityPolicy) Reset() { *m = PodSecurityPolicy{} }
117func (*PodSecurityPolicy) ProtoMessage() {}
118func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} }
119
120func (m *PodSecurityPolicyList) Reset() { *m = PodSecurityPolicyList{} }
121func (*PodSecurityPolicyList) ProtoMessage() {}
122func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
123
124func (m *PodSecurityPolicySpec) Reset() { *m = PodSecurityPolicySpec{} }
125func (*PodSecurityPolicySpec) ProtoMessage() {}
126func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
127
128func (m *RunAsUserStrategyOptions) Reset() { *m = RunAsUserStrategyOptions{} }
129func (*RunAsUserStrategyOptions) ProtoMessage() {}
130func (*RunAsUserStrategyOptions) Descriptor() ([]byte, []int) {
131 return fileDescriptorGenerated, []int{13}
132}
133
134func (m *SELinuxStrategyOptions) Reset() { *m = SELinuxStrategyOptions{} }
135func (*SELinuxStrategyOptions) ProtoMessage() {}
136func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
137
138func (m *SupplementalGroupsStrategyOptions) Reset() { *m = SupplementalGroupsStrategyOptions{} }
139func (*SupplementalGroupsStrategyOptions) ProtoMessage() {}
140func (*SupplementalGroupsStrategyOptions) Descriptor() ([]byte, []int) {
141 return fileDescriptorGenerated, []int{15}
142}
143
144func init() {
145 proto.RegisterType((*AllowedFlexVolume)(nil), "k8s.io.api.policy.v1beta1.AllowedFlexVolume")
146 proto.RegisterType((*AllowedHostPath)(nil), "k8s.io.api.policy.v1beta1.AllowedHostPath")
147 proto.RegisterType((*Eviction)(nil), "k8s.io.api.policy.v1beta1.Eviction")
148 proto.RegisterType((*FSGroupStrategyOptions)(nil), "k8s.io.api.policy.v1beta1.FSGroupStrategyOptions")
149 proto.RegisterType((*HostPortRange)(nil), "k8s.io.api.policy.v1beta1.HostPortRange")
150 proto.RegisterType((*IDRange)(nil), "k8s.io.api.policy.v1beta1.IDRange")
151 proto.RegisterType((*PodDisruptionBudget)(nil), "k8s.io.api.policy.v1beta1.PodDisruptionBudget")
152 proto.RegisterType((*PodDisruptionBudgetList)(nil), "k8s.io.api.policy.v1beta1.PodDisruptionBudgetList")
153 proto.RegisterType((*PodDisruptionBudgetSpec)(nil), "k8s.io.api.policy.v1beta1.PodDisruptionBudgetSpec")
154 proto.RegisterType((*PodDisruptionBudgetStatus)(nil), "k8s.io.api.policy.v1beta1.PodDisruptionBudgetStatus")
155 proto.RegisterType((*PodSecurityPolicy)(nil), "k8s.io.api.policy.v1beta1.PodSecurityPolicy")
156 proto.RegisterType((*PodSecurityPolicyList)(nil), "k8s.io.api.policy.v1beta1.PodSecurityPolicyList")
157 proto.RegisterType((*PodSecurityPolicySpec)(nil), "k8s.io.api.policy.v1beta1.PodSecurityPolicySpec")
158 proto.RegisterType((*RunAsUserStrategyOptions)(nil), "k8s.io.api.policy.v1beta1.RunAsUserStrategyOptions")
159 proto.RegisterType((*SELinuxStrategyOptions)(nil), "k8s.io.api.policy.v1beta1.SELinuxStrategyOptions")
160 proto.RegisterType((*SupplementalGroupsStrategyOptions)(nil), "k8s.io.api.policy.v1beta1.SupplementalGroupsStrategyOptions")
161}
162func (m *AllowedFlexVolume) Marshal() (dAtA []byte, err error) {
163 size := m.Size()
164 dAtA = make([]byte, size)
165 n, err := m.MarshalTo(dAtA)
166 if err != nil {
167 return nil, err
168 }
169 return dAtA[:n], nil
170}
171
172func (m *AllowedFlexVolume) MarshalTo(dAtA []byte) (int, error) {
173 var i int
174 _ = i
175 var l int
176 _ = l
177 dAtA[i] = 0xa
178 i++
179 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Driver)))
180 i += copy(dAtA[i:], m.Driver)
181 return i, nil
182}
183
184func (m *AllowedHostPath) Marshal() (dAtA []byte, err error) {
185 size := m.Size()
186 dAtA = make([]byte, size)
187 n, err := m.MarshalTo(dAtA)
188 if err != nil {
189 return nil, err
190 }
191 return dAtA[:n], nil
192}
193
194func (m *AllowedHostPath) MarshalTo(dAtA []byte) (int, error) {
195 var i int
196 _ = i
197 var l int
198 _ = l
199 dAtA[i] = 0xa
200 i++
201 i = encodeVarintGenerated(dAtA, i, uint64(len(m.PathPrefix)))
202 i += copy(dAtA[i:], m.PathPrefix)
203 dAtA[i] = 0x10
204 i++
205 if m.ReadOnly {
206 dAtA[i] = 1
207 } else {
208 dAtA[i] = 0
209 }
210 i++
211 return i, nil
212}
213
214func (m *Eviction) Marshal() (dAtA []byte, err error) {
215 size := m.Size()
216 dAtA = make([]byte, size)
217 n, err := m.MarshalTo(dAtA)
218 if err != nil {
219 return nil, err
220 }
221 return dAtA[:n], nil
222}
223
224func (m *Eviction) MarshalTo(dAtA []byte) (int, error) {
225 var i int
226 _ = i
227 var l int
228 _ = l
229 dAtA[i] = 0xa
230 i++
231 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
232 n1, err := m.ObjectMeta.MarshalTo(dAtA[i:])
233 if err != nil {
234 return 0, err
235 }
236 i += n1
237 if m.DeleteOptions != nil {
238 dAtA[i] = 0x12
239 i++
240 i = encodeVarintGenerated(dAtA, i, uint64(m.DeleteOptions.Size()))
241 n2, err := m.DeleteOptions.MarshalTo(dAtA[i:])
242 if err != nil {
243 return 0, err
244 }
245 i += n2
246 }
247 return i, nil
248}
249
250func (m *FSGroupStrategyOptions) Marshal() (dAtA []byte, err error) {
251 size := m.Size()
252 dAtA = make([]byte, size)
253 n, err := m.MarshalTo(dAtA)
254 if err != nil {
255 return nil, err
256 }
257 return dAtA[:n], nil
258}
259
260func (m *FSGroupStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
261 var i int
262 _ = i
263 var l int
264 _ = l
265 dAtA[i] = 0xa
266 i++
267 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
268 i += copy(dAtA[i:], m.Rule)
269 if len(m.Ranges) > 0 {
270 for _, msg := range m.Ranges {
271 dAtA[i] = 0x12
272 i++
273 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
274 n, err := msg.MarshalTo(dAtA[i:])
275 if err != nil {
276 return 0, err
277 }
278 i += n
279 }
280 }
281 return i, nil
282}
283
284func (m *HostPortRange) Marshal() (dAtA []byte, err error) {
285 size := m.Size()
286 dAtA = make([]byte, size)
287 n, err := m.MarshalTo(dAtA)
288 if err != nil {
289 return nil, err
290 }
291 return dAtA[:n], nil
292}
293
294func (m *HostPortRange) MarshalTo(dAtA []byte) (int, error) {
295 var i int
296 _ = i
297 var l int
298 _ = l
299 dAtA[i] = 0x8
300 i++
301 i = encodeVarintGenerated(dAtA, i, uint64(m.Min))
302 dAtA[i] = 0x10
303 i++
304 i = encodeVarintGenerated(dAtA, i, uint64(m.Max))
305 return i, nil
306}
307
308func (m *IDRange) Marshal() (dAtA []byte, err error) {
309 size := m.Size()
310 dAtA = make([]byte, size)
311 n, err := m.MarshalTo(dAtA)
312 if err != nil {
313 return nil, err
314 }
315 return dAtA[:n], nil
316}
317
318func (m *IDRange) MarshalTo(dAtA []byte) (int, error) {
319 var i int
320 _ = i
321 var l int
322 _ = l
323 dAtA[i] = 0x8
324 i++
325 i = encodeVarintGenerated(dAtA, i, uint64(m.Min))
326 dAtA[i] = 0x10
327 i++
328 i = encodeVarintGenerated(dAtA, i, uint64(m.Max))
329 return i, nil
330}
331
332func (m *PodDisruptionBudget) Marshal() (dAtA []byte, err error) {
333 size := m.Size()
334 dAtA = make([]byte, size)
335 n, err := m.MarshalTo(dAtA)
336 if err != nil {
337 return nil, err
338 }
339 return dAtA[:n], nil
340}
341
342func (m *PodDisruptionBudget) MarshalTo(dAtA []byte) (int, error) {
343 var i int
344 _ = i
345 var l int
346 _ = l
347 dAtA[i] = 0xa
348 i++
349 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
350 n3, err := m.ObjectMeta.MarshalTo(dAtA[i:])
351 if err != nil {
352 return 0, err
353 }
354 i += n3
355 dAtA[i] = 0x12
356 i++
357 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
358 n4, err := m.Spec.MarshalTo(dAtA[i:])
359 if err != nil {
360 return 0, err
361 }
362 i += n4
363 dAtA[i] = 0x1a
364 i++
365 i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
366 n5, err := m.Status.MarshalTo(dAtA[i:])
367 if err != nil {
368 return 0, err
369 }
370 i += n5
371 return i, nil
372}
373
374func (m *PodDisruptionBudgetList) Marshal() (dAtA []byte, err error) {
375 size := m.Size()
376 dAtA = make([]byte, size)
377 n, err := m.MarshalTo(dAtA)
378 if err != nil {
379 return nil, err
380 }
381 return dAtA[:n], nil
382}
383
384func (m *PodDisruptionBudgetList) MarshalTo(dAtA []byte) (int, error) {
385 var i int
386 _ = i
387 var l int
388 _ = l
389 dAtA[i] = 0xa
390 i++
391 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
392 n6, err := m.ListMeta.MarshalTo(dAtA[i:])
393 if err != nil {
394 return 0, err
395 }
396 i += n6
397 if len(m.Items) > 0 {
398 for _, msg := range m.Items {
399 dAtA[i] = 0x12
400 i++
401 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
402 n, err := msg.MarshalTo(dAtA[i:])
403 if err != nil {
404 return 0, err
405 }
406 i += n
407 }
408 }
409 return i, nil
410}
411
412func (m *PodDisruptionBudgetSpec) Marshal() (dAtA []byte, err error) {
413 size := m.Size()
414 dAtA = make([]byte, size)
415 n, err := m.MarshalTo(dAtA)
416 if err != nil {
417 return nil, err
418 }
419 return dAtA[:n], nil
420}
421
422func (m *PodDisruptionBudgetSpec) MarshalTo(dAtA []byte) (int, error) {
423 var i int
424 _ = i
425 var l int
426 _ = l
427 if m.MinAvailable != nil {
428 dAtA[i] = 0xa
429 i++
430 i = encodeVarintGenerated(dAtA, i, uint64(m.MinAvailable.Size()))
431 n7, err := m.MinAvailable.MarshalTo(dAtA[i:])
432 if err != nil {
433 return 0, err
434 }
435 i += n7
436 }
437 if m.Selector != nil {
438 dAtA[i] = 0x12
439 i++
440 i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
441 n8, err := m.Selector.MarshalTo(dAtA[i:])
442 if err != nil {
443 return 0, err
444 }
445 i += n8
446 }
447 if m.MaxUnavailable != nil {
448 dAtA[i] = 0x1a
449 i++
450 i = encodeVarintGenerated(dAtA, i, uint64(m.MaxUnavailable.Size()))
451 n9, err := m.MaxUnavailable.MarshalTo(dAtA[i:])
452 if err != nil {
453 return 0, err
454 }
455 i += n9
456 }
457 return i, nil
458}
459
460func (m *PodDisruptionBudgetStatus) Marshal() (dAtA []byte, err error) {
461 size := m.Size()
462 dAtA = make([]byte, size)
463 n, err := m.MarshalTo(dAtA)
464 if err != nil {
465 return nil, err
466 }
467 return dAtA[:n], nil
468}
469
470func (m *PodDisruptionBudgetStatus) MarshalTo(dAtA []byte) (int, error) {
471 var i int
472 _ = i
473 var l int
474 _ = l
475 dAtA[i] = 0x8
476 i++
477 i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
478 if len(m.DisruptedPods) > 0 {
479 keysForDisruptedPods := make([]string, 0, len(m.DisruptedPods))
480 for k := range m.DisruptedPods {
481 keysForDisruptedPods = append(keysForDisruptedPods, string(k))
482 }
483 github_com_gogo_protobuf_sortkeys.Strings(keysForDisruptedPods)
484 for _, k := range keysForDisruptedPods {
485 dAtA[i] = 0x12
486 i++
487 v := m.DisruptedPods[string(k)]
488 msgSize := 0
489 if (&v) != nil {
490 msgSize = (&v).Size()
491 msgSize += 1 + sovGenerated(uint64(msgSize))
492 }
493 mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
494 i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
495 dAtA[i] = 0xa
496 i++
497 i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
498 i += copy(dAtA[i:], k)
499 dAtA[i] = 0x12
500 i++
501 i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
502 n10, err := (&v).MarshalTo(dAtA[i:])
503 if err != nil {
504 return 0, err
505 }
506 i += n10
507 }
508 }
509 dAtA[i] = 0x18
510 i++
511 i = encodeVarintGenerated(dAtA, i, uint64(m.PodDisruptionsAllowed))
512 dAtA[i] = 0x20
513 i++
514 i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentHealthy))
515 dAtA[i] = 0x28
516 i++
517 i = encodeVarintGenerated(dAtA, i, uint64(m.DesiredHealthy))
518 dAtA[i] = 0x30
519 i++
520 i = encodeVarintGenerated(dAtA, i, uint64(m.ExpectedPods))
521 return i, nil
522}
523
524func (m *PodSecurityPolicy) Marshal() (dAtA []byte, err error) {
525 size := m.Size()
526 dAtA = make([]byte, size)
527 n, err := m.MarshalTo(dAtA)
528 if err != nil {
529 return nil, err
530 }
531 return dAtA[:n], nil
532}
533
534func (m *PodSecurityPolicy) MarshalTo(dAtA []byte) (int, error) {
535 var i int
536 _ = i
537 var l int
538 _ = l
539 dAtA[i] = 0xa
540 i++
541 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
542 n11, err := m.ObjectMeta.MarshalTo(dAtA[i:])
543 if err != nil {
544 return 0, err
545 }
546 i += n11
547 dAtA[i] = 0x12
548 i++
549 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
550 n12, err := m.Spec.MarshalTo(dAtA[i:])
551 if err != nil {
552 return 0, err
553 }
554 i += n12
555 return i, nil
556}
557
558func (m *PodSecurityPolicyList) Marshal() (dAtA []byte, err error) {
559 size := m.Size()
560 dAtA = make([]byte, size)
561 n, err := m.MarshalTo(dAtA)
562 if err != nil {
563 return nil, err
564 }
565 return dAtA[:n], nil
566}
567
568func (m *PodSecurityPolicyList) MarshalTo(dAtA []byte) (int, error) {
569 var i int
570 _ = i
571 var l int
572 _ = l
573 dAtA[i] = 0xa
574 i++
575 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
576 n13, err := m.ListMeta.MarshalTo(dAtA[i:])
577 if err != nil {
578 return 0, err
579 }
580 i += n13
581 if len(m.Items) > 0 {
582 for _, msg := range m.Items {
583 dAtA[i] = 0x12
584 i++
585 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
586 n, err := msg.MarshalTo(dAtA[i:])
587 if err != nil {
588 return 0, err
589 }
590 i += n
591 }
592 }
593 return i, nil
594}
595
596func (m *PodSecurityPolicySpec) Marshal() (dAtA []byte, err error) {
597 size := m.Size()
598 dAtA = make([]byte, size)
599 n, err := m.MarshalTo(dAtA)
600 if err != nil {
601 return nil, err
602 }
603 return dAtA[:n], nil
604}
605
606func (m *PodSecurityPolicySpec) MarshalTo(dAtA []byte) (int, error) {
607 var i int
608 _ = i
609 var l int
610 _ = l
611 dAtA[i] = 0x8
612 i++
613 if m.Privileged {
614 dAtA[i] = 1
615 } else {
616 dAtA[i] = 0
617 }
618 i++
619 if len(m.DefaultAddCapabilities) > 0 {
620 for _, s := range m.DefaultAddCapabilities {
621 dAtA[i] = 0x12
622 i++
623 l = len(s)
624 for l >= 1<<7 {
625 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
626 l >>= 7
627 i++
628 }
629 dAtA[i] = uint8(l)
630 i++
631 i += copy(dAtA[i:], s)
632 }
633 }
634 if len(m.RequiredDropCapabilities) > 0 {
635 for _, s := range m.RequiredDropCapabilities {
636 dAtA[i] = 0x1a
637 i++
638 l = len(s)
639 for l >= 1<<7 {
640 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
641 l >>= 7
642 i++
643 }
644 dAtA[i] = uint8(l)
645 i++
646 i += copy(dAtA[i:], s)
647 }
648 }
649 if len(m.AllowedCapabilities) > 0 {
650 for _, s := range m.AllowedCapabilities {
651 dAtA[i] = 0x22
652 i++
653 l = len(s)
654 for l >= 1<<7 {
655 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
656 l >>= 7
657 i++
658 }
659 dAtA[i] = uint8(l)
660 i++
661 i += copy(dAtA[i:], s)
662 }
663 }
664 if len(m.Volumes) > 0 {
665 for _, s := range m.Volumes {
666 dAtA[i] = 0x2a
667 i++
668 l = len(s)
669 for l >= 1<<7 {
670 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
671 l >>= 7
672 i++
673 }
674 dAtA[i] = uint8(l)
675 i++
676 i += copy(dAtA[i:], s)
677 }
678 }
679 dAtA[i] = 0x30
680 i++
681 if m.HostNetwork {
682 dAtA[i] = 1
683 } else {
684 dAtA[i] = 0
685 }
686 i++
687 if len(m.HostPorts) > 0 {
688 for _, msg := range m.HostPorts {
689 dAtA[i] = 0x3a
690 i++
691 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
692 n, err := msg.MarshalTo(dAtA[i:])
693 if err != nil {
694 return 0, err
695 }
696 i += n
697 }
698 }
699 dAtA[i] = 0x40
700 i++
701 if m.HostPID {
702 dAtA[i] = 1
703 } else {
704 dAtA[i] = 0
705 }
706 i++
707 dAtA[i] = 0x48
708 i++
709 if m.HostIPC {
710 dAtA[i] = 1
711 } else {
712 dAtA[i] = 0
713 }
714 i++
715 dAtA[i] = 0x52
716 i++
717 i = encodeVarintGenerated(dAtA, i, uint64(m.SELinux.Size()))
718 n14, err := m.SELinux.MarshalTo(dAtA[i:])
719 if err != nil {
720 return 0, err
721 }
722 i += n14
723 dAtA[i] = 0x5a
724 i++
725 i = encodeVarintGenerated(dAtA, i, uint64(m.RunAsUser.Size()))
726 n15, err := m.RunAsUser.MarshalTo(dAtA[i:])
727 if err != nil {
728 return 0, err
729 }
730 i += n15
731 dAtA[i] = 0x62
732 i++
733 i = encodeVarintGenerated(dAtA, i, uint64(m.SupplementalGroups.Size()))
734 n16, err := m.SupplementalGroups.MarshalTo(dAtA[i:])
735 if err != nil {
736 return 0, err
737 }
738 i += n16
739 dAtA[i] = 0x6a
740 i++
741 i = encodeVarintGenerated(dAtA, i, uint64(m.FSGroup.Size()))
742 n17, err := m.FSGroup.MarshalTo(dAtA[i:])
743 if err != nil {
744 return 0, err
745 }
746 i += n17
747 dAtA[i] = 0x70
748 i++
749 if m.ReadOnlyRootFilesystem {
750 dAtA[i] = 1
751 } else {
752 dAtA[i] = 0
753 }
754 i++
755 if m.DefaultAllowPrivilegeEscalation != nil {
756 dAtA[i] = 0x78
757 i++
758 if *m.DefaultAllowPrivilegeEscalation {
759 dAtA[i] = 1
760 } else {
761 dAtA[i] = 0
762 }
763 i++
764 }
765 if m.AllowPrivilegeEscalation != nil {
766 dAtA[i] = 0x80
767 i++
768 dAtA[i] = 0x1
769 i++
770 if *m.AllowPrivilegeEscalation {
771 dAtA[i] = 1
772 } else {
773 dAtA[i] = 0
774 }
775 i++
776 }
777 if len(m.AllowedHostPaths) > 0 {
778 for _, msg := range m.AllowedHostPaths {
779 dAtA[i] = 0x8a
780 i++
781 dAtA[i] = 0x1
782 i++
783 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
784 n, err := msg.MarshalTo(dAtA[i:])
785 if err != nil {
786 return 0, err
787 }
788 i += n
789 }
790 }
791 if len(m.AllowedFlexVolumes) > 0 {
792 for _, msg := range m.AllowedFlexVolumes {
793 dAtA[i] = 0x92
794 i++
795 dAtA[i] = 0x1
796 i++
797 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
798 n, err := msg.MarshalTo(dAtA[i:])
799 if err != nil {
800 return 0, err
801 }
802 i += n
803 }
804 }
805 if len(m.AllowedUnsafeSysctls) > 0 {
806 for _, s := range m.AllowedUnsafeSysctls {
807 dAtA[i] = 0x9a
808 i++
809 dAtA[i] = 0x1
810 i++
811 l = len(s)
812 for l >= 1<<7 {
813 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
814 l >>= 7
815 i++
816 }
817 dAtA[i] = uint8(l)
818 i++
819 i += copy(dAtA[i:], s)
820 }
821 }
822 if len(m.ForbiddenSysctls) > 0 {
823 for _, s := range m.ForbiddenSysctls {
824 dAtA[i] = 0xa2
825 i++
826 dAtA[i] = 0x1
827 i++
828 l = len(s)
829 for l >= 1<<7 {
830 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
831 l >>= 7
832 i++
833 }
834 dAtA[i] = uint8(l)
835 i++
836 i += copy(dAtA[i:], s)
837 }
838 }
839 return i, nil
840}
841
842func (m *RunAsUserStrategyOptions) Marshal() (dAtA []byte, err error) {
843 size := m.Size()
844 dAtA = make([]byte, size)
845 n, err := m.MarshalTo(dAtA)
846 if err != nil {
847 return nil, err
848 }
849 return dAtA[:n], nil
850}
851
852func (m *RunAsUserStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
853 var i int
854 _ = i
855 var l int
856 _ = l
857 dAtA[i] = 0xa
858 i++
859 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
860 i += copy(dAtA[i:], m.Rule)
861 if len(m.Ranges) > 0 {
862 for _, msg := range m.Ranges {
863 dAtA[i] = 0x12
864 i++
865 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
866 n, err := msg.MarshalTo(dAtA[i:])
867 if err != nil {
868 return 0, err
869 }
870 i += n
871 }
872 }
873 return i, nil
874}
875
876func (m *SELinuxStrategyOptions) Marshal() (dAtA []byte, err error) {
877 size := m.Size()
878 dAtA = make([]byte, size)
879 n, err := m.MarshalTo(dAtA)
880 if err != nil {
881 return nil, err
882 }
883 return dAtA[:n], nil
884}
885
886func (m *SELinuxStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
887 var i int
888 _ = i
889 var l int
890 _ = l
891 dAtA[i] = 0xa
892 i++
893 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
894 i += copy(dAtA[i:], m.Rule)
895 if m.SELinuxOptions != nil {
896 dAtA[i] = 0x12
897 i++
898 i = encodeVarintGenerated(dAtA, i, uint64(m.SELinuxOptions.Size()))
899 n18, err := m.SELinuxOptions.MarshalTo(dAtA[i:])
900 if err != nil {
901 return 0, err
902 }
903 i += n18
904 }
905 return i, nil
906}
907
908func (m *SupplementalGroupsStrategyOptions) Marshal() (dAtA []byte, err error) {
909 size := m.Size()
910 dAtA = make([]byte, size)
911 n, err := m.MarshalTo(dAtA)
912 if err != nil {
913 return nil, err
914 }
915 return dAtA[:n], nil
916}
917
918func (m *SupplementalGroupsStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
919 var i int
920 _ = i
921 var l int
922 _ = l
923 dAtA[i] = 0xa
924 i++
925 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
926 i += copy(dAtA[i:], m.Rule)
927 if len(m.Ranges) > 0 {
928 for _, msg := range m.Ranges {
929 dAtA[i] = 0x12
930 i++
931 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
932 n, err := msg.MarshalTo(dAtA[i:])
933 if err != nil {
934 return 0, err
935 }
936 i += n
937 }
938 }
939 return i, nil
940}
941
942func encodeFixed64Generated(dAtA []byte, offset int, v uint64) int {
943 dAtA[offset] = uint8(v)
944 dAtA[offset+1] = uint8(v >> 8)
945 dAtA[offset+2] = uint8(v >> 16)
946 dAtA[offset+3] = uint8(v >> 24)
947 dAtA[offset+4] = uint8(v >> 32)
948 dAtA[offset+5] = uint8(v >> 40)
949 dAtA[offset+6] = uint8(v >> 48)
950 dAtA[offset+7] = uint8(v >> 56)
951 return offset + 8
952}
953func encodeFixed32Generated(dAtA []byte, offset int, v uint32) int {
954 dAtA[offset] = uint8(v)
955 dAtA[offset+1] = uint8(v >> 8)
956 dAtA[offset+2] = uint8(v >> 16)
957 dAtA[offset+3] = uint8(v >> 24)
958 return offset + 4
959}
960func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
961 for v >= 1<<7 {
962 dAtA[offset] = uint8(v&0x7f | 0x80)
963 v >>= 7
964 offset++
965 }
966 dAtA[offset] = uint8(v)
967 return offset + 1
968}
969func (m *AllowedFlexVolume) Size() (n int) {
970 var l int
971 _ = l
972 l = len(m.Driver)
973 n += 1 + l + sovGenerated(uint64(l))
974 return n
975}
976
977func (m *AllowedHostPath) Size() (n int) {
978 var l int
979 _ = l
980 l = len(m.PathPrefix)
981 n += 1 + l + sovGenerated(uint64(l))
982 n += 2
983 return n
984}
985
986func (m *Eviction) Size() (n int) {
987 var l int
988 _ = l
989 l = m.ObjectMeta.Size()
990 n += 1 + l + sovGenerated(uint64(l))
991 if m.DeleteOptions != nil {
992 l = m.DeleteOptions.Size()
993 n += 1 + l + sovGenerated(uint64(l))
994 }
995 return n
996}
997
998func (m *FSGroupStrategyOptions) Size() (n int) {
999 var l int
1000 _ = l
1001 l = len(m.Rule)
1002 n += 1 + l + sovGenerated(uint64(l))
1003 if len(m.Ranges) > 0 {
1004 for _, e := range m.Ranges {
1005 l = e.Size()
1006 n += 1 + l + sovGenerated(uint64(l))
1007 }
1008 }
1009 return n
1010}
1011
1012func (m *HostPortRange) Size() (n int) {
1013 var l int
1014 _ = l
1015 n += 1 + sovGenerated(uint64(m.Min))
1016 n += 1 + sovGenerated(uint64(m.Max))
1017 return n
1018}
1019
1020func (m *IDRange) Size() (n int) {
1021 var l int
1022 _ = l
1023 n += 1 + sovGenerated(uint64(m.Min))
1024 n += 1 + sovGenerated(uint64(m.Max))
1025 return n
1026}
1027
1028func (m *PodDisruptionBudget) Size() (n int) {
1029 var l int
1030 _ = l
1031 l = m.ObjectMeta.Size()
1032 n += 1 + l + sovGenerated(uint64(l))
1033 l = m.Spec.Size()
1034 n += 1 + l + sovGenerated(uint64(l))
1035 l = m.Status.Size()
1036 n += 1 + l + sovGenerated(uint64(l))
1037 return n
1038}
1039
1040func (m *PodDisruptionBudgetList) Size() (n int) {
1041 var l int
1042 _ = l
1043 l = m.ListMeta.Size()
1044 n += 1 + l + sovGenerated(uint64(l))
1045 if len(m.Items) > 0 {
1046 for _, e := range m.Items {
1047 l = e.Size()
1048 n += 1 + l + sovGenerated(uint64(l))
1049 }
1050 }
1051 return n
1052}
1053
1054func (m *PodDisruptionBudgetSpec) Size() (n int) {
1055 var l int
1056 _ = l
1057 if m.MinAvailable != nil {
1058 l = m.MinAvailable.Size()
1059 n += 1 + l + sovGenerated(uint64(l))
1060 }
1061 if m.Selector != nil {
1062 l = m.Selector.Size()
1063 n += 1 + l + sovGenerated(uint64(l))
1064 }
1065 if m.MaxUnavailable != nil {
1066 l = m.MaxUnavailable.Size()
1067 n += 1 + l + sovGenerated(uint64(l))
1068 }
1069 return n
1070}
1071
1072func (m *PodDisruptionBudgetStatus) Size() (n int) {
1073 var l int
1074 _ = l
1075 n += 1 + sovGenerated(uint64(m.ObservedGeneration))
1076 if len(m.DisruptedPods) > 0 {
1077 for k, v := range m.DisruptedPods {
1078 _ = k
1079 _ = v
1080 l = v.Size()
1081 mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
1082 n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
1083 }
1084 }
1085 n += 1 + sovGenerated(uint64(m.PodDisruptionsAllowed))
1086 n += 1 + sovGenerated(uint64(m.CurrentHealthy))
1087 n += 1 + sovGenerated(uint64(m.DesiredHealthy))
1088 n += 1 + sovGenerated(uint64(m.ExpectedPods))
1089 return n
1090}
1091
1092func (m *PodSecurityPolicy) Size() (n int) {
1093 var l int
1094 _ = l
1095 l = m.ObjectMeta.Size()
1096 n += 1 + l + sovGenerated(uint64(l))
1097 l = m.Spec.Size()
1098 n += 1 + l + sovGenerated(uint64(l))
1099 return n
1100}
1101
1102func (m *PodSecurityPolicyList) Size() (n int) {
1103 var l int
1104 _ = l
1105 l = m.ListMeta.Size()
1106 n += 1 + l + sovGenerated(uint64(l))
1107 if len(m.Items) > 0 {
1108 for _, e := range m.Items {
1109 l = e.Size()
1110 n += 1 + l + sovGenerated(uint64(l))
1111 }
1112 }
1113 return n
1114}
1115
1116func (m *PodSecurityPolicySpec) Size() (n int) {
1117 var l int
1118 _ = l
1119 n += 2
1120 if len(m.DefaultAddCapabilities) > 0 {
1121 for _, s := range m.DefaultAddCapabilities {
1122 l = len(s)
1123 n += 1 + l + sovGenerated(uint64(l))
1124 }
1125 }
1126 if len(m.RequiredDropCapabilities) > 0 {
1127 for _, s := range m.RequiredDropCapabilities {
1128 l = len(s)
1129 n += 1 + l + sovGenerated(uint64(l))
1130 }
1131 }
1132 if len(m.AllowedCapabilities) > 0 {
1133 for _, s := range m.AllowedCapabilities {
1134 l = len(s)
1135 n += 1 + l + sovGenerated(uint64(l))
1136 }
1137 }
1138 if len(m.Volumes) > 0 {
1139 for _, s := range m.Volumes {
1140 l = len(s)
1141 n += 1 + l + sovGenerated(uint64(l))
1142 }
1143 }
1144 n += 2
1145 if len(m.HostPorts) > 0 {
1146 for _, e := range m.HostPorts {
1147 l = e.Size()
1148 n += 1 + l + sovGenerated(uint64(l))
1149 }
1150 }
1151 n += 2
1152 n += 2
1153 l = m.SELinux.Size()
1154 n += 1 + l + sovGenerated(uint64(l))
1155 l = m.RunAsUser.Size()
1156 n += 1 + l + sovGenerated(uint64(l))
1157 l = m.SupplementalGroups.Size()
1158 n += 1 + l + sovGenerated(uint64(l))
1159 l = m.FSGroup.Size()
1160 n += 1 + l + sovGenerated(uint64(l))
1161 n += 2
1162 if m.DefaultAllowPrivilegeEscalation != nil {
1163 n += 2
1164 }
1165 if m.AllowPrivilegeEscalation != nil {
1166 n += 3
1167 }
1168 if len(m.AllowedHostPaths) > 0 {
1169 for _, e := range m.AllowedHostPaths {
1170 l = e.Size()
1171 n += 2 + l + sovGenerated(uint64(l))
1172 }
1173 }
1174 if len(m.AllowedFlexVolumes) > 0 {
1175 for _, e := range m.AllowedFlexVolumes {
1176 l = e.Size()
1177 n += 2 + l + sovGenerated(uint64(l))
1178 }
1179 }
1180 if len(m.AllowedUnsafeSysctls) > 0 {
1181 for _, s := range m.AllowedUnsafeSysctls {
1182 l = len(s)
1183 n += 2 + l + sovGenerated(uint64(l))
1184 }
1185 }
1186 if len(m.ForbiddenSysctls) > 0 {
1187 for _, s := range m.ForbiddenSysctls {
1188 l = len(s)
1189 n += 2 + l + sovGenerated(uint64(l))
1190 }
1191 }
1192 return n
1193}
1194
1195func (m *RunAsUserStrategyOptions) Size() (n int) {
1196 var l int
1197 _ = l
1198 l = len(m.Rule)
1199 n += 1 + l + sovGenerated(uint64(l))
1200 if len(m.Ranges) > 0 {
1201 for _, e := range m.Ranges {
1202 l = e.Size()
1203 n += 1 + l + sovGenerated(uint64(l))
1204 }
1205 }
1206 return n
1207}
1208
1209func (m *SELinuxStrategyOptions) Size() (n int) {
1210 var l int
1211 _ = l
1212 l = len(m.Rule)
1213 n += 1 + l + sovGenerated(uint64(l))
1214 if m.SELinuxOptions != nil {
1215 l = m.SELinuxOptions.Size()
1216 n += 1 + l + sovGenerated(uint64(l))
1217 }
1218 return n
1219}
1220
1221func (m *SupplementalGroupsStrategyOptions) Size() (n int) {
1222 var l int
1223 _ = l
1224 l = len(m.Rule)
1225 n += 1 + l + sovGenerated(uint64(l))
1226 if len(m.Ranges) > 0 {
1227 for _, e := range m.Ranges {
1228 l = e.Size()
1229 n += 1 + l + sovGenerated(uint64(l))
1230 }
1231 }
1232 return n
1233}
1234
1235func sovGenerated(x uint64) (n int) {
1236 for {
1237 n++
1238 x >>= 7
1239 if x == 0 {
1240 break
1241 }
1242 }
1243 return n
1244}
1245func sozGenerated(x uint64) (n int) {
1246 return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
1247}
1248func (this *AllowedFlexVolume) String() string {
1249 if this == nil {
1250 return "nil"
1251 }
1252 s := strings.Join([]string{`&AllowedFlexVolume{`,
1253 `Driver:` + fmt.Sprintf("%v", this.Driver) + `,`,
1254 `}`,
1255 }, "")
1256 return s
1257}
1258func (this *AllowedHostPath) String() string {
1259 if this == nil {
1260 return "nil"
1261 }
1262 s := strings.Join([]string{`&AllowedHostPath{`,
1263 `PathPrefix:` + fmt.Sprintf("%v", this.PathPrefix) + `,`,
1264 `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
1265 `}`,
1266 }, "")
1267 return s
1268}
1269func (this *Eviction) String() string {
1270 if this == nil {
1271 return "nil"
1272 }
1273 s := strings.Join([]string{`&Eviction{`,
1274 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
1275 `DeleteOptions:` + strings.Replace(fmt.Sprintf("%v", this.DeleteOptions), "DeleteOptions", "k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions", 1) + `,`,
1276 `}`,
1277 }, "")
1278 return s
1279}
1280func (this *FSGroupStrategyOptions) String() string {
1281 if this == nil {
1282 return "nil"
1283 }
1284 s := strings.Join([]string{`&FSGroupStrategyOptions{`,
1285 `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
1286 `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
1287 `}`,
1288 }, "")
1289 return s
1290}
1291func (this *HostPortRange) String() string {
1292 if this == nil {
1293 return "nil"
1294 }
1295 s := strings.Join([]string{`&HostPortRange{`,
1296 `Min:` + fmt.Sprintf("%v", this.Min) + `,`,
1297 `Max:` + fmt.Sprintf("%v", this.Max) + `,`,
1298 `}`,
1299 }, "")
1300 return s
1301}
1302func (this *IDRange) String() string {
1303 if this == nil {
1304 return "nil"
1305 }
1306 s := strings.Join([]string{`&IDRange{`,
1307 `Min:` + fmt.Sprintf("%v", this.Min) + `,`,
1308 `Max:` + fmt.Sprintf("%v", this.Max) + `,`,
1309 `}`,
1310 }, "")
1311 return s
1312}
1313func (this *PodDisruptionBudget) String() string {
1314 if this == nil {
1315 return "nil"
1316 }
1317 s := strings.Join([]string{`&PodDisruptionBudget{`,
1318 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
1319 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodDisruptionBudgetSpec", "PodDisruptionBudgetSpec", 1), `&`, ``, 1) + `,`,
1320 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PodDisruptionBudgetStatus", "PodDisruptionBudgetStatus", 1), `&`, ``, 1) + `,`,
1321 `}`,
1322 }, "")
1323 return s
1324}
1325func (this *PodDisruptionBudgetList) String() string {
1326 if this == nil {
1327 return "nil"
1328 }
1329 s := strings.Join([]string{`&PodDisruptionBudgetList{`,
1330 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
1331 `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PodDisruptionBudget", "PodDisruptionBudget", 1), `&`, ``, 1) + `,`,
1332 `}`,
1333 }, "")
1334 return s
1335}
1336func (this *PodDisruptionBudgetSpec) String() string {
1337 if this == nil {
1338 return "nil"
1339 }
1340 s := strings.Join([]string{`&PodDisruptionBudgetSpec{`,
1341 `MinAvailable:` + strings.Replace(fmt.Sprintf("%v", this.MinAvailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
1342 `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
1343 `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
1344 `}`,
1345 }, "")
1346 return s
1347}
1348func (this *PodDisruptionBudgetStatus) String() string {
1349 if this == nil {
1350 return "nil"
1351 }
1352 keysForDisruptedPods := make([]string, 0, len(this.DisruptedPods))
1353 for k := range this.DisruptedPods {
1354 keysForDisruptedPods = append(keysForDisruptedPods, k)
1355 }
1356 github_com_gogo_protobuf_sortkeys.Strings(keysForDisruptedPods)
1357 mapStringForDisruptedPods := "map[string]k8s_io_apimachinery_pkg_apis_meta_v1.Time{"
1358 for _, k := range keysForDisruptedPods {
1359 mapStringForDisruptedPods += fmt.Sprintf("%v: %v,", k, this.DisruptedPods[k])
1360 }
1361 mapStringForDisruptedPods += "}"
1362 s := strings.Join([]string{`&PodDisruptionBudgetStatus{`,
1363 `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
1364 `DisruptedPods:` + mapStringForDisruptedPods + `,`,
1365 `PodDisruptionsAllowed:` + fmt.Sprintf("%v", this.PodDisruptionsAllowed) + `,`,
1366 `CurrentHealthy:` + fmt.Sprintf("%v", this.CurrentHealthy) + `,`,
1367 `DesiredHealthy:` + fmt.Sprintf("%v", this.DesiredHealthy) + `,`,
1368 `ExpectedPods:` + fmt.Sprintf("%v", this.ExpectedPods) + `,`,
1369 `}`,
1370 }, "")
1371 return s
1372}
1373func (this *PodSecurityPolicy) String() string {
1374 if this == nil {
1375 return "nil"
1376 }
1377 s := strings.Join([]string{`&PodSecurityPolicy{`,
1378 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
1379 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodSecurityPolicySpec", "PodSecurityPolicySpec", 1), `&`, ``, 1) + `,`,
1380 `}`,
1381 }, "")
1382 return s
1383}
1384func (this *PodSecurityPolicyList) String() string {
1385 if this == nil {
1386 return "nil"
1387 }
1388 s := strings.Join([]string{`&PodSecurityPolicyList{`,
1389 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
1390 `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PodSecurityPolicy", "PodSecurityPolicy", 1), `&`, ``, 1) + `,`,
1391 `}`,
1392 }, "")
1393 return s
1394}
1395func (this *PodSecurityPolicySpec) String() string {
1396 if this == nil {
1397 return "nil"
1398 }
1399 s := strings.Join([]string{`&PodSecurityPolicySpec{`,
1400 `Privileged:` + fmt.Sprintf("%v", this.Privileged) + `,`,
1401 `DefaultAddCapabilities:` + fmt.Sprintf("%v", this.DefaultAddCapabilities) + `,`,
1402 `RequiredDropCapabilities:` + fmt.Sprintf("%v", this.RequiredDropCapabilities) + `,`,
1403 `AllowedCapabilities:` + fmt.Sprintf("%v", this.AllowedCapabilities) + `,`,
1404 `Volumes:` + fmt.Sprintf("%v", this.Volumes) + `,`,
1405 `HostNetwork:` + fmt.Sprintf("%v", this.HostNetwork) + `,`,
1406 `HostPorts:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.HostPorts), "HostPortRange", "HostPortRange", 1), `&`, ``, 1) + `,`,
1407 `HostPID:` + fmt.Sprintf("%v", this.HostPID) + `,`,
1408 `HostIPC:` + fmt.Sprintf("%v", this.HostIPC) + `,`,
1409 `SELinux:` + strings.Replace(strings.Replace(this.SELinux.String(), "SELinuxStrategyOptions", "SELinuxStrategyOptions", 1), `&`, ``, 1) + `,`,
1410 `RunAsUser:` + strings.Replace(strings.Replace(this.RunAsUser.String(), "RunAsUserStrategyOptions", "RunAsUserStrategyOptions", 1), `&`, ``, 1) + `,`,
1411 `SupplementalGroups:` + strings.Replace(strings.Replace(this.SupplementalGroups.String(), "SupplementalGroupsStrategyOptions", "SupplementalGroupsStrategyOptions", 1), `&`, ``, 1) + `,`,
1412 `FSGroup:` + strings.Replace(strings.Replace(this.FSGroup.String(), "FSGroupStrategyOptions", "FSGroupStrategyOptions", 1), `&`, ``, 1) + `,`,
1413 `ReadOnlyRootFilesystem:` + fmt.Sprintf("%v", this.ReadOnlyRootFilesystem) + `,`,
1414 `DefaultAllowPrivilegeEscalation:` + valueToStringGenerated(this.DefaultAllowPrivilegeEscalation) + `,`,
1415 `AllowPrivilegeEscalation:` + valueToStringGenerated(this.AllowPrivilegeEscalation) + `,`,
1416 `AllowedHostPaths:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.AllowedHostPaths), "AllowedHostPath", "AllowedHostPath", 1), `&`, ``, 1) + `,`,
1417 `AllowedFlexVolumes:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.AllowedFlexVolumes), "AllowedFlexVolume", "AllowedFlexVolume", 1), `&`, ``, 1) + `,`,
1418 `AllowedUnsafeSysctls:` + fmt.Sprintf("%v", this.AllowedUnsafeSysctls) + `,`,
1419 `ForbiddenSysctls:` + fmt.Sprintf("%v", this.ForbiddenSysctls) + `,`,
1420 `}`,
1421 }, "")
1422 return s
1423}
1424func (this *RunAsUserStrategyOptions) String() string {
1425 if this == nil {
1426 return "nil"
1427 }
1428 s := strings.Join([]string{`&RunAsUserStrategyOptions{`,
1429 `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
1430 `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
1431 `}`,
1432 }, "")
1433 return s
1434}
1435func (this *SELinuxStrategyOptions) String() string {
1436 if this == nil {
1437 return "nil"
1438 }
1439 s := strings.Join([]string{`&SELinuxStrategyOptions{`,
1440 `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
1441 `SELinuxOptions:` + strings.Replace(fmt.Sprintf("%v", this.SELinuxOptions), "SELinuxOptions", "k8s_io_api_core_v1.SELinuxOptions", 1) + `,`,
1442 `}`,
1443 }, "")
1444 return s
1445}
1446func (this *SupplementalGroupsStrategyOptions) String() string {
1447 if this == nil {
1448 return "nil"
1449 }
1450 s := strings.Join([]string{`&SupplementalGroupsStrategyOptions{`,
1451 `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
1452 `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
1453 `}`,
1454 }, "")
1455 return s
1456}
1457func valueToStringGenerated(v interface{}) string {
1458 rv := reflect.ValueOf(v)
1459 if rv.IsNil() {
1460 return "nil"
1461 }
1462 pv := reflect.Indirect(rv).Interface()
1463 return fmt.Sprintf("*%v", pv)
1464}
1465func (m *AllowedFlexVolume) Unmarshal(dAtA []byte) error {
1466 l := len(dAtA)
1467 iNdEx := 0
1468 for iNdEx < l {
1469 preIndex := iNdEx
1470 var wire uint64
1471 for shift := uint(0); ; shift += 7 {
1472 if shift >= 64 {
1473 return ErrIntOverflowGenerated
1474 }
1475 if iNdEx >= l {
1476 return io.ErrUnexpectedEOF
1477 }
1478 b := dAtA[iNdEx]
1479 iNdEx++
1480 wire |= (uint64(b) & 0x7F) << shift
1481 if b < 0x80 {
1482 break
1483 }
1484 }
1485 fieldNum := int32(wire >> 3)
1486 wireType := int(wire & 0x7)
1487 if wireType == 4 {
1488 return fmt.Errorf("proto: AllowedFlexVolume: wiretype end group for non-group")
1489 }
1490 if fieldNum <= 0 {
1491 return fmt.Errorf("proto: AllowedFlexVolume: illegal tag %d (wire type %d)", fieldNum, wire)
1492 }
1493 switch fieldNum {
1494 case 1:
1495 if wireType != 2 {
1496 return fmt.Errorf("proto: wrong wireType = %d for field Driver", wireType)
1497 }
1498 var stringLen uint64
1499 for shift := uint(0); ; shift += 7 {
1500 if shift >= 64 {
1501 return ErrIntOverflowGenerated
1502 }
1503 if iNdEx >= l {
1504 return io.ErrUnexpectedEOF
1505 }
1506 b := dAtA[iNdEx]
1507 iNdEx++
1508 stringLen |= (uint64(b) & 0x7F) << shift
1509 if b < 0x80 {
1510 break
1511 }
1512 }
1513 intStringLen := int(stringLen)
1514 if intStringLen < 0 {
1515 return ErrInvalidLengthGenerated
1516 }
1517 postIndex := iNdEx + intStringLen
1518 if postIndex > l {
1519 return io.ErrUnexpectedEOF
1520 }
1521 m.Driver = string(dAtA[iNdEx:postIndex])
1522 iNdEx = postIndex
1523 default:
1524 iNdEx = preIndex
1525 skippy, err := skipGenerated(dAtA[iNdEx:])
1526 if err != nil {
1527 return err
1528 }
1529 if skippy < 0 {
1530 return ErrInvalidLengthGenerated
1531 }
1532 if (iNdEx + skippy) > l {
1533 return io.ErrUnexpectedEOF
1534 }
1535 iNdEx += skippy
1536 }
1537 }
1538
1539 if iNdEx > l {
1540 return io.ErrUnexpectedEOF
1541 }
1542 return nil
1543}
1544func (m *AllowedHostPath) Unmarshal(dAtA []byte) error {
1545 l := len(dAtA)
1546 iNdEx := 0
1547 for iNdEx < l {
1548 preIndex := iNdEx
1549 var wire uint64
1550 for shift := uint(0); ; shift += 7 {
1551 if shift >= 64 {
1552 return ErrIntOverflowGenerated
1553 }
1554 if iNdEx >= l {
1555 return io.ErrUnexpectedEOF
1556 }
1557 b := dAtA[iNdEx]
1558 iNdEx++
1559 wire |= (uint64(b) & 0x7F) << shift
1560 if b < 0x80 {
1561 break
1562 }
1563 }
1564 fieldNum := int32(wire >> 3)
1565 wireType := int(wire & 0x7)
1566 if wireType == 4 {
1567 return fmt.Errorf("proto: AllowedHostPath: wiretype end group for non-group")
1568 }
1569 if fieldNum <= 0 {
1570 return fmt.Errorf("proto: AllowedHostPath: illegal tag %d (wire type %d)", fieldNum, wire)
1571 }
1572 switch fieldNum {
1573 case 1:
1574 if wireType != 2 {
1575 return fmt.Errorf("proto: wrong wireType = %d for field PathPrefix", wireType)
1576 }
1577 var stringLen uint64
1578 for shift := uint(0); ; shift += 7 {
1579 if shift >= 64 {
1580 return ErrIntOverflowGenerated
1581 }
1582 if iNdEx >= l {
1583 return io.ErrUnexpectedEOF
1584 }
1585 b := dAtA[iNdEx]
1586 iNdEx++
1587 stringLen |= (uint64(b) & 0x7F) << shift
1588 if b < 0x80 {
1589 break
1590 }
1591 }
1592 intStringLen := int(stringLen)
1593 if intStringLen < 0 {
1594 return ErrInvalidLengthGenerated
1595 }
1596 postIndex := iNdEx + intStringLen
1597 if postIndex > l {
1598 return io.ErrUnexpectedEOF
1599 }
1600 m.PathPrefix = string(dAtA[iNdEx:postIndex])
1601 iNdEx = postIndex
1602 case 2:
1603 if wireType != 0 {
1604 return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
1605 }
1606 var v int
1607 for shift := uint(0); ; shift += 7 {
1608 if shift >= 64 {
1609 return ErrIntOverflowGenerated
1610 }
1611 if iNdEx >= l {
1612 return io.ErrUnexpectedEOF
1613 }
1614 b := dAtA[iNdEx]
1615 iNdEx++
1616 v |= (int(b) & 0x7F) << shift
1617 if b < 0x80 {
1618 break
1619 }
1620 }
1621 m.ReadOnly = bool(v != 0)
1622 default:
1623 iNdEx = preIndex
1624 skippy, err := skipGenerated(dAtA[iNdEx:])
1625 if err != nil {
1626 return err
1627 }
1628 if skippy < 0 {
1629 return ErrInvalidLengthGenerated
1630 }
1631 if (iNdEx + skippy) > l {
1632 return io.ErrUnexpectedEOF
1633 }
1634 iNdEx += skippy
1635 }
1636 }
1637
1638 if iNdEx > l {
1639 return io.ErrUnexpectedEOF
1640 }
1641 return nil
1642}
1643func (m *Eviction) Unmarshal(dAtA []byte) error {
1644 l := len(dAtA)
1645 iNdEx := 0
1646 for iNdEx < l {
1647 preIndex := iNdEx
1648 var wire uint64
1649 for shift := uint(0); ; shift += 7 {
1650 if shift >= 64 {
1651 return ErrIntOverflowGenerated
1652 }
1653 if iNdEx >= l {
1654 return io.ErrUnexpectedEOF
1655 }
1656 b := dAtA[iNdEx]
1657 iNdEx++
1658 wire |= (uint64(b) & 0x7F) << shift
1659 if b < 0x80 {
1660 break
1661 }
1662 }
1663 fieldNum := int32(wire >> 3)
1664 wireType := int(wire & 0x7)
1665 if wireType == 4 {
1666 return fmt.Errorf("proto: Eviction: wiretype end group for non-group")
1667 }
1668 if fieldNum <= 0 {
1669 return fmt.Errorf("proto: Eviction: illegal tag %d (wire type %d)", fieldNum, wire)
1670 }
1671 switch fieldNum {
1672 case 1:
1673 if wireType != 2 {
1674 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
1675 }
1676 var msglen int
1677 for shift := uint(0); ; shift += 7 {
1678 if shift >= 64 {
1679 return ErrIntOverflowGenerated
1680 }
1681 if iNdEx >= l {
1682 return io.ErrUnexpectedEOF
1683 }
1684 b := dAtA[iNdEx]
1685 iNdEx++
1686 msglen |= (int(b) & 0x7F) << shift
1687 if b < 0x80 {
1688 break
1689 }
1690 }
1691 if msglen < 0 {
1692 return ErrInvalidLengthGenerated
1693 }
1694 postIndex := iNdEx + msglen
1695 if postIndex > l {
1696 return io.ErrUnexpectedEOF
1697 }
1698 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1699 return err
1700 }
1701 iNdEx = postIndex
1702 case 2:
1703 if wireType != 2 {
1704 return fmt.Errorf("proto: wrong wireType = %d for field DeleteOptions", wireType)
1705 }
1706 var msglen int
1707 for shift := uint(0); ; shift += 7 {
1708 if shift >= 64 {
1709 return ErrIntOverflowGenerated
1710 }
1711 if iNdEx >= l {
1712 return io.ErrUnexpectedEOF
1713 }
1714 b := dAtA[iNdEx]
1715 iNdEx++
1716 msglen |= (int(b) & 0x7F) << shift
1717 if b < 0x80 {
1718 break
1719 }
1720 }
1721 if msglen < 0 {
1722 return ErrInvalidLengthGenerated
1723 }
1724 postIndex := iNdEx + msglen
1725 if postIndex > l {
1726 return io.ErrUnexpectedEOF
1727 }
1728 if m.DeleteOptions == nil {
1729 m.DeleteOptions = &k8s_io_apimachinery_pkg_apis_meta_v1.DeleteOptions{}
1730 }
1731 if err := m.DeleteOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1732 return err
1733 }
1734 iNdEx = postIndex
1735 default:
1736 iNdEx = preIndex
1737 skippy, err := skipGenerated(dAtA[iNdEx:])
1738 if err != nil {
1739 return err
1740 }
1741 if skippy < 0 {
1742 return ErrInvalidLengthGenerated
1743 }
1744 if (iNdEx + skippy) > l {
1745 return io.ErrUnexpectedEOF
1746 }
1747 iNdEx += skippy
1748 }
1749 }
1750
1751 if iNdEx > l {
1752 return io.ErrUnexpectedEOF
1753 }
1754 return nil
1755}
1756func (m *FSGroupStrategyOptions) Unmarshal(dAtA []byte) error {
1757 l := len(dAtA)
1758 iNdEx := 0
1759 for iNdEx < l {
1760 preIndex := iNdEx
1761 var wire uint64
1762 for shift := uint(0); ; shift += 7 {
1763 if shift >= 64 {
1764 return ErrIntOverflowGenerated
1765 }
1766 if iNdEx >= l {
1767 return io.ErrUnexpectedEOF
1768 }
1769 b := dAtA[iNdEx]
1770 iNdEx++
1771 wire |= (uint64(b) & 0x7F) << shift
1772 if b < 0x80 {
1773 break
1774 }
1775 }
1776 fieldNum := int32(wire >> 3)
1777 wireType := int(wire & 0x7)
1778 if wireType == 4 {
1779 return fmt.Errorf("proto: FSGroupStrategyOptions: wiretype end group for non-group")
1780 }
1781 if fieldNum <= 0 {
1782 return fmt.Errorf("proto: FSGroupStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
1783 }
1784 switch fieldNum {
1785 case 1:
1786 if wireType != 2 {
1787 return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
1788 }
1789 var stringLen uint64
1790 for shift := uint(0); ; shift += 7 {
1791 if shift >= 64 {
1792 return ErrIntOverflowGenerated
1793 }
1794 if iNdEx >= l {
1795 return io.ErrUnexpectedEOF
1796 }
1797 b := dAtA[iNdEx]
1798 iNdEx++
1799 stringLen |= (uint64(b) & 0x7F) << shift
1800 if b < 0x80 {
1801 break
1802 }
1803 }
1804 intStringLen := int(stringLen)
1805 if intStringLen < 0 {
1806 return ErrInvalidLengthGenerated
1807 }
1808 postIndex := iNdEx + intStringLen
1809 if postIndex > l {
1810 return io.ErrUnexpectedEOF
1811 }
1812 m.Rule = FSGroupStrategyType(dAtA[iNdEx:postIndex])
1813 iNdEx = postIndex
1814 case 2:
1815 if wireType != 2 {
1816 return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
1817 }
1818 var msglen int
1819 for shift := uint(0); ; shift += 7 {
1820 if shift >= 64 {
1821 return ErrIntOverflowGenerated
1822 }
1823 if iNdEx >= l {
1824 return io.ErrUnexpectedEOF
1825 }
1826 b := dAtA[iNdEx]
1827 iNdEx++
1828 msglen |= (int(b) & 0x7F) << shift
1829 if b < 0x80 {
1830 break
1831 }
1832 }
1833 if msglen < 0 {
1834 return ErrInvalidLengthGenerated
1835 }
1836 postIndex := iNdEx + msglen
1837 if postIndex > l {
1838 return io.ErrUnexpectedEOF
1839 }
1840 m.Ranges = append(m.Ranges, IDRange{})
1841 if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
1842 return err
1843 }
1844 iNdEx = postIndex
1845 default:
1846 iNdEx = preIndex
1847 skippy, err := skipGenerated(dAtA[iNdEx:])
1848 if err != nil {
1849 return err
1850 }
1851 if skippy < 0 {
1852 return ErrInvalidLengthGenerated
1853 }
1854 if (iNdEx + skippy) > l {
1855 return io.ErrUnexpectedEOF
1856 }
1857 iNdEx += skippy
1858 }
1859 }
1860
1861 if iNdEx > l {
1862 return io.ErrUnexpectedEOF
1863 }
1864 return nil
1865}
1866func (m *HostPortRange) Unmarshal(dAtA []byte) error {
1867 l := len(dAtA)
1868 iNdEx := 0
1869 for iNdEx < l {
1870 preIndex := iNdEx
1871 var wire uint64
1872 for shift := uint(0); ; shift += 7 {
1873 if shift >= 64 {
1874 return ErrIntOverflowGenerated
1875 }
1876 if iNdEx >= l {
1877 return io.ErrUnexpectedEOF
1878 }
1879 b := dAtA[iNdEx]
1880 iNdEx++
1881 wire |= (uint64(b) & 0x7F) << shift
1882 if b < 0x80 {
1883 break
1884 }
1885 }
1886 fieldNum := int32(wire >> 3)
1887 wireType := int(wire & 0x7)
1888 if wireType == 4 {
1889 return fmt.Errorf("proto: HostPortRange: wiretype end group for non-group")
1890 }
1891 if fieldNum <= 0 {
1892 return fmt.Errorf("proto: HostPortRange: illegal tag %d (wire type %d)", fieldNum, wire)
1893 }
1894 switch fieldNum {
1895 case 1:
1896 if wireType != 0 {
1897 return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
1898 }
1899 m.Min = 0
1900 for shift := uint(0); ; shift += 7 {
1901 if shift >= 64 {
1902 return ErrIntOverflowGenerated
1903 }
1904 if iNdEx >= l {
1905 return io.ErrUnexpectedEOF
1906 }
1907 b := dAtA[iNdEx]
1908 iNdEx++
1909 m.Min |= (int32(b) & 0x7F) << shift
1910 if b < 0x80 {
1911 break
1912 }
1913 }
1914 case 2:
1915 if wireType != 0 {
1916 return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
1917 }
1918 m.Max = 0
1919 for shift := uint(0); ; shift += 7 {
1920 if shift >= 64 {
1921 return ErrIntOverflowGenerated
1922 }
1923 if iNdEx >= l {
1924 return io.ErrUnexpectedEOF
1925 }
1926 b := dAtA[iNdEx]
1927 iNdEx++
1928 m.Max |= (int32(b) & 0x7F) << shift
1929 if b < 0x80 {
1930 break
1931 }
1932 }
1933 default:
1934 iNdEx = preIndex
1935 skippy, err := skipGenerated(dAtA[iNdEx:])
1936 if err != nil {
1937 return err
1938 }
1939 if skippy < 0 {
1940 return ErrInvalidLengthGenerated
1941 }
1942 if (iNdEx + skippy) > l {
1943 return io.ErrUnexpectedEOF
1944 }
1945 iNdEx += skippy
1946 }
1947 }
1948
1949 if iNdEx > l {
1950 return io.ErrUnexpectedEOF
1951 }
1952 return nil
1953}
1954func (m *IDRange) Unmarshal(dAtA []byte) error {
1955 l := len(dAtA)
1956 iNdEx := 0
1957 for iNdEx < l {
1958 preIndex := iNdEx
1959 var wire uint64
1960 for shift := uint(0); ; shift += 7 {
1961 if shift >= 64 {
1962 return ErrIntOverflowGenerated
1963 }
1964 if iNdEx >= l {
1965 return io.ErrUnexpectedEOF
1966 }
1967 b := dAtA[iNdEx]
1968 iNdEx++
1969 wire |= (uint64(b) & 0x7F) << shift
1970 if b < 0x80 {
1971 break
1972 }
1973 }
1974 fieldNum := int32(wire >> 3)
1975 wireType := int(wire & 0x7)
1976 if wireType == 4 {
1977 return fmt.Errorf("proto: IDRange: wiretype end group for non-group")
1978 }
1979 if fieldNum <= 0 {
1980 return fmt.Errorf("proto: IDRange: illegal tag %d (wire type %d)", fieldNum, wire)
1981 }
1982 switch fieldNum {
1983 case 1:
1984 if wireType != 0 {
1985 return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
1986 }
1987 m.Min = 0
1988 for shift := uint(0); ; shift += 7 {
1989 if shift >= 64 {
1990 return ErrIntOverflowGenerated
1991 }
1992 if iNdEx >= l {
1993 return io.ErrUnexpectedEOF
1994 }
1995 b := dAtA[iNdEx]
1996 iNdEx++
1997 m.Min |= (int64(b) & 0x7F) << shift
1998 if b < 0x80 {
1999 break
2000 }
2001 }
2002 case 2:
2003 if wireType != 0 {
2004 return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
2005 }
2006 m.Max = 0
2007 for shift := uint(0); ; shift += 7 {
2008 if shift >= 64 {
2009 return ErrIntOverflowGenerated
2010 }
2011 if iNdEx >= l {
2012 return io.ErrUnexpectedEOF
2013 }
2014 b := dAtA[iNdEx]
2015 iNdEx++
2016 m.Max |= (int64(b) & 0x7F) << shift
2017 if b < 0x80 {
2018 break
2019 }
2020 }
2021 default:
2022 iNdEx = preIndex
2023 skippy, err := skipGenerated(dAtA[iNdEx:])
2024 if err != nil {
2025 return err
2026 }
2027 if skippy < 0 {
2028 return ErrInvalidLengthGenerated
2029 }
2030 if (iNdEx + skippy) > l {
2031 return io.ErrUnexpectedEOF
2032 }
2033 iNdEx += skippy
2034 }
2035 }
2036
2037 if iNdEx > l {
2038 return io.ErrUnexpectedEOF
2039 }
2040 return nil
2041}
2042func (m *PodDisruptionBudget) Unmarshal(dAtA []byte) error {
2043 l := len(dAtA)
2044 iNdEx := 0
2045 for iNdEx < l {
2046 preIndex := iNdEx
2047 var wire uint64
2048 for shift := uint(0); ; shift += 7 {
2049 if shift >= 64 {
2050 return ErrIntOverflowGenerated
2051 }
2052 if iNdEx >= l {
2053 return io.ErrUnexpectedEOF
2054 }
2055 b := dAtA[iNdEx]
2056 iNdEx++
2057 wire |= (uint64(b) & 0x7F) << shift
2058 if b < 0x80 {
2059 break
2060 }
2061 }
2062 fieldNum := int32(wire >> 3)
2063 wireType := int(wire & 0x7)
2064 if wireType == 4 {
2065 return fmt.Errorf("proto: PodDisruptionBudget: wiretype end group for non-group")
2066 }
2067 if fieldNum <= 0 {
2068 return fmt.Errorf("proto: PodDisruptionBudget: illegal tag %d (wire type %d)", fieldNum, wire)
2069 }
2070 switch fieldNum {
2071 case 1:
2072 if wireType != 2 {
2073 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
2074 }
2075 var msglen int
2076 for shift := uint(0); ; shift += 7 {
2077 if shift >= 64 {
2078 return ErrIntOverflowGenerated
2079 }
2080 if iNdEx >= l {
2081 return io.ErrUnexpectedEOF
2082 }
2083 b := dAtA[iNdEx]
2084 iNdEx++
2085 msglen |= (int(b) & 0x7F) << shift
2086 if b < 0x80 {
2087 break
2088 }
2089 }
2090 if msglen < 0 {
2091 return ErrInvalidLengthGenerated
2092 }
2093 postIndex := iNdEx + msglen
2094 if postIndex > l {
2095 return io.ErrUnexpectedEOF
2096 }
2097 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2098 return err
2099 }
2100 iNdEx = postIndex
2101 case 2:
2102 if wireType != 2 {
2103 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
2104 }
2105 var msglen int
2106 for shift := uint(0); ; shift += 7 {
2107 if shift >= 64 {
2108 return ErrIntOverflowGenerated
2109 }
2110 if iNdEx >= l {
2111 return io.ErrUnexpectedEOF
2112 }
2113 b := dAtA[iNdEx]
2114 iNdEx++
2115 msglen |= (int(b) & 0x7F) << shift
2116 if b < 0x80 {
2117 break
2118 }
2119 }
2120 if msglen < 0 {
2121 return ErrInvalidLengthGenerated
2122 }
2123 postIndex := iNdEx + msglen
2124 if postIndex > l {
2125 return io.ErrUnexpectedEOF
2126 }
2127 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2128 return err
2129 }
2130 iNdEx = postIndex
2131 case 3:
2132 if wireType != 2 {
2133 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
2134 }
2135 var msglen int
2136 for shift := uint(0); ; shift += 7 {
2137 if shift >= 64 {
2138 return ErrIntOverflowGenerated
2139 }
2140 if iNdEx >= l {
2141 return io.ErrUnexpectedEOF
2142 }
2143 b := dAtA[iNdEx]
2144 iNdEx++
2145 msglen |= (int(b) & 0x7F) << shift
2146 if b < 0x80 {
2147 break
2148 }
2149 }
2150 if msglen < 0 {
2151 return ErrInvalidLengthGenerated
2152 }
2153 postIndex := iNdEx + msglen
2154 if postIndex > l {
2155 return io.ErrUnexpectedEOF
2156 }
2157 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2158 return err
2159 }
2160 iNdEx = postIndex
2161 default:
2162 iNdEx = preIndex
2163 skippy, err := skipGenerated(dAtA[iNdEx:])
2164 if err != nil {
2165 return err
2166 }
2167 if skippy < 0 {
2168 return ErrInvalidLengthGenerated
2169 }
2170 if (iNdEx + skippy) > l {
2171 return io.ErrUnexpectedEOF
2172 }
2173 iNdEx += skippy
2174 }
2175 }
2176
2177 if iNdEx > l {
2178 return io.ErrUnexpectedEOF
2179 }
2180 return nil
2181}
2182func (m *PodDisruptionBudgetList) Unmarshal(dAtA []byte) error {
2183 l := len(dAtA)
2184 iNdEx := 0
2185 for iNdEx < l {
2186 preIndex := iNdEx
2187 var wire uint64
2188 for shift := uint(0); ; shift += 7 {
2189 if shift >= 64 {
2190 return ErrIntOverflowGenerated
2191 }
2192 if iNdEx >= l {
2193 return io.ErrUnexpectedEOF
2194 }
2195 b := dAtA[iNdEx]
2196 iNdEx++
2197 wire |= (uint64(b) & 0x7F) << shift
2198 if b < 0x80 {
2199 break
2200 }
2201 }
2202 fieldNum := int32(wire >> 3)
2203 wireType := int(wire & 0x7)
2204 if wireType == 4 {
2205 return fmt.Errorf("proto: PodDisruptionBudgetList: wiretype end group for non-group")
2206 }
2207 if fieldNum <= 0 {
2208 return fmt.Errorf("proto: PodDisruptionBudgetList: illegal tag %d (wire type %d)", fieldNum, wire)
2209 }
2210 switch fieldNum {
2211 case 1:
2212 if wireType != 2 {
2213 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
2214 }
2215 var msglen int
2216 for shift := uint(0); ; shift += 7 {
2217 if shift >= 64 {
2218 return ErrIntOverflowGenerated
2219 }
2220 if iNdEx >= l {
2221 return io.ErrUnexpectedEOF
2222 }
2223 b := dAtA[iNdEx]
2224 iNdEx++
2225 msglen |= (int(b) & 0x7F) << shift
2226 if b < 0x80 {
2227 break
2228 }
2229 }
2230 if msglen < 0 {
2231 return ErrInvalidLengthGenerated
2232 }
2233 postIndex := iNdEx + msglen
2234 if postIndex > l {
2235 return io.ErrUnexpectedEOF
2236 }
2237 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2238 return err
2239 }
2240 iNdEx = postIndex
2241 case 2:
2242 if wireType != 2 {
2243 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
2244 }
2245 var msglen int
2246 for shift := uint(0); ; shift += 7 {
2247 if shift >= 64 {
2248 return ErrIntOverflowGenerated
2249 }
2250 if iNdEx >= l {
2251 return io.ErrUnexpectedEOF
2252 }
2253 b := dAtA[iNdEx]
2254 iNdEx++
2255 msglen |= (int(b) & 0x7F) << shift
2256 if b < 0x80 {
2257 break
2258 }
2259 }
2260 if msglen < 0 {
2261 return ErrInvalidLengthGenerated
2262 }
2263 postIndex := iNdEx + msglen
2264 if postIndex > l {
2265 return io.ErrUnexpectedEOF
2266 }
2267 m.Items = append(m.Items, PodDisruptionBudget{})
2268 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2269 return err
2270 }
2271 iNdEx = postIndex
2272 default:
2273 iNdEx = preIndex
2274 skippy, err := skipGenerated(dAtA[iNdEx:])
2275 if err != nil {
2276 return err
2277 }
2278 if skippy < 0 {
2279 return ErrInvalidLengthGenerated
2280 }
2281 if (iNdEx + skippy) > l {
2282 return io.ErrUnexpectedEOF
2283 }
2284 iNdEx += skippy
2285 }
2286 }
2287
2288 if iNdEx > l {
2289 return io.ErrUnexpectedEOF
2290 }
2291 return nil
2292}
2293func (m *PodDisruptionBudgetSpec) Unmarshal(dAtA []byte) error {
2294 l := len(dAtA)
2295 iNdEx := 0
2296 for iNdEx < l {
2297 preIndex := iNdEx
2298 var wire uint64
2299 for shift := uint(0); ; shift += 7 {
2300 if shift >= 64 {
2301 return ErrIntOverflowGenerated
2302 }
2303 if iNdEx >= l {
2304 return io.ErrUnexpectedEOF
2305 }
2306 b := dAtA[iNdEx]
2307 iNdEx++
2308 wire |= (uint64(b) & 0x7F) << shift
2309 if b < 0x80 {
2310 break
2311 }
2312 }
2313 fieldNum := int32(wire >> 3)
2314 wireType := int(wire & 0x7)
2315 if wireType == 4 {
2316 return fmt.Errorf("proto: PodDisruptionBudgetSpec: wiretype end group for non-group")
2317 }
2318 if fieldNum <= 0 {
2319 return fmt.Errorf("proto: PodDisruptionBudgetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
2320 }
2321 switch fieldNum {
2322 case 1:
2323 if wireType != 2 {
2324 return fmt.Errorf("proto: wrong wireType = %d for field MinAvailable", wireType)
2325 }
2326 var msglen int
2327 for shift := uint(0); ; shift += 7 {
2328 if shift >= 64 {
2329 return ErrIntOverflowGenerated
2330 }
2331 if iNdEx >= l {
2332 return io.ErrUnexpectedEOF
2333 }
2334 b := dAtA[iNdEx]
2335 iNdEx++
2336 msglen |= (int(b) & 0x7F) << shift
2337 if b < 0x80 {
2338 break
2339 }
2340 }
2341 if msglen < 0 {
2342 return ErrInvalidLengthGenerated
2343 }
2344 postIndex := iNdEx + msglen
2345 if postIndex > l {
2346 return io.ErrUnexpectedEOF
2347 }
2348 if m.MinAvailable == nil {
2349 m.MinAvailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
2350 }
2351 if err := m.MinAvailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2352 return err
2353 }
2354 iNdEx = postIndex
2355 case 2:
2356 if wireType != 2 {
2357 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
2358 }
2359 var msglen int
2360 for shift := uint(0); ; shift += 7 {
2361 if shift >= 64 {
2362 return ErrIntOverflowGenerated
2363 }
2364 if iNdEx >= l {
2365 return io.ErrUnexpectedEOF
2366 }
2367 b := dAtA[iNdEx]
2368 iNdEx++
2369 msglen |= (int(b) & 0x7F) << shift
2370 if b < 0x80 {
2371 break
2372 }
2373 }
2374 if msglen < 0 {
2375 return ErrInvalidLengthGenerated
2376 }
2377 postIndex := iNdEx + msglen
2378 if postIndex > l {
2379 return io.ErrUnexpectedEOF
2380 }
2381 if m.Selector == nil {
2382 m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
2383 }
2384 if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2385 return err
2386 }
2387 iNdEx = postIndex
2388 case 3:
2389 if wireType != 2 {
2390 return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
2391 }
2392 var msglen int
2393 for shift := uint(0); ; shift += 7 {
2394 if shift >= 64 {
2395 return ErrIntOverflowGenerated
2396 }
2397 if iNdEx >= l {
2398 return io.ErrUnexpectedEOF
2399 }
2400 b := dAtA[iNdEx]
2401 iNdEx++
2402 msglen |= (int(b) & 0x7F) << shift
2403 if b < 0x80 {
2404 break
2405 }
2406 }
2407 if msglen < 0 {
2408 return ErrInvalidLengthGenerated
2409 }
2410 postIndex := iNdEx + msglen
2411 if postIndex > l {
2412 return io.ErrUnexpectedEOF
2413 }
2414 if m.MaxUnavailable == nil {
2415 m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
2416 }
2417 if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2418 return err
2419 }
2420 iNdEx = postIndex
2421 default:
2422 iNdEx = preIndex
2423 skippy, err := skipGenerated(dAtA[iNdEx:])
2424 if err != nil {
2425 return err
2426 }
2427 if skippy < 0 {
2428 return ErrInvalidLengthGenerated
2429 }
2430 if (iNdEx + skippy) > l {
2431 return io.ErrUnexpectedEOF
2432 }
2433 iNdEx += skippy
2434 }
2435 }
2436
2437 if iNdEx > l {
2438 return io.ErrUnexpectedEOF
2439 }
2440 return nil
2441}
2442func (m *PodDisruptionBudgetStatus) Unmarshal(dAtA []byte) error {
2443 l := len(dAtA)
2444 iNdEx := 0
2445 for iNdEx < l {
2446 preIndex := iNdEx
2447 var wire uint64
2448 for shift := uint(0); ; shift += 7 {
2449 if shift >= 64 {
2450 return ErrIntOverflowGenerated
2451 }
2452 if iNdEx >= l {
2453 return io.ErrUnexpectedEOF
2454 }
2455 b := dAtA[iNdEx]
2456 iNdEx++
2457 wire |= (uint64(b) & 0x7F) << shift
2458 if b < 0x80 {
2459 break
2460 }
2461 }
2462 fieldNum := int32(wire >> 3)
2463 wireType := int(wire & 0x7)
2464 if wireType == 4 {
2465 return fmt.Errorf("proto: PodDisruptionBudgetStatus: wiretype end group for non-group")
2466 }
2467 if fieldNum <= 0 {
2468 return fmt.Errorf("proto: PodDisruptionBudgetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
2469 }
2470 switch fieldNum {
2471 case 1:
2472 if wireType != 0 {
2473 return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
2474 }
2475 m.ObservedGeneration = 0
2476 for shift := uint(0); ; shift += 7 {
2477 if shift >= 64 {
2478 return ErrIntOverflowGenerated
2479 }
2480 if iNdEx >= l {
2481 return io.ErrUnexpectedEOF
2482 }
2483 b := dAtA[iNdEx]
2484 iNdEx++
2485 m.ObservedGeneration |= (int64(b) & 0x7F) << shift
2486 if b < 0x80 {
2487 break
2488 }
2489 }
2490 case 2:
2491 if wireType != 2 {
2492 return fmt.Errorf("proto: wrong wireType = %d for field DisruptedPods", wireType)
2493 }
2494 var msglen int
2495 for shift := uint(0); ; shift += 7 {
2496 if shift >= 64 {
2497 return ErrIntOverflowGenerated
2498 }
2499 if iNdEx >= l {
2500 return io.ErrUnexpectedEOF
2501 }
2502 b := dAtA[iNdEx]
2503 iNdEx++
2504 msglen |= (int(b) & 0x7F) << shift
2505 if b < 0x80 {
2506 break
2507 }
2508 }
2509 if msglen < 0 {
2510 return ErrInvalidLengthGenerated
2511 }
2512 postIndex := iNdEx + msglen
2513 if postIndex > l {
2514 return io.ErrUnexpectedEOF
2515 }
2516 var keykey uint64
2517 for shift := uint(0); ; shift += 7 {
2518 if shift >= 64 {
2519 return ErrIntOverflowGenerated
2520 }
2521 if iNdEx >= l {
2522 return io.ErrUnexpectedEOF
2523 }
2524 b := dAtA[iNdEx]
2525 iNdEx++
2526 keykey |= (uint64(b) & 0x7F) << shift
2527 if b < 0x80 {
2528 break
2529 }
2530 }
2531 var stringLenmapkey uint64
2532 for shift := uint(0); ; shift += 7 {
2533 if shift >= 64 {
2534 return ErrIntOverflowGenerated
2535 }
2536 if iNdEx >= l {
2537 return io.ErrUnexpectedEOF
2538 }
2539 b := dAtA[iNdEx]
2540 iNdEx++
2541 stringLenmapkey |= (uint64(b) & 0x7F) << shift
2542 if b < 0x80 {
2543 break
2544 }
2545 }
2546 intStringLenmapkey := int(stringLenmapkey)
2547 if intStringLenmapkey < 0 {
2548 return ErrInvalidLengthGenerated
2549 }
2550 postStringIndexmapkey := iNdEx + intStringLenmapkey
2551 if postStringIndexmapkey > l {
2552 return io.ErrUnexpectedEOF
2553 }
2554 mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
2555 iNdEx = postStringIndexmapkey
2556 if m.DisruptedPods == nil {
2557 m.DisruptedPods = make(map[string]k8s_io_apimachinery_pkg_apis_meta_v1.Time)
2558 }
2559 if iNdEx < postIndex {
2560 var valuekey uint64
2561 for shift := uint(0); ; shift += 7 {
2562 if shift >= 64 {
2563 return ErrIntOverflowGenerated
2564 }
2565 if iNdEx >= l {
2566 return io.ErrUnexpectedEOF
2567 }
2568 b := dAtA[iNdEx]
2569 iNdEx++
2570 valuekey |= (uint64(b) & 0x7F) << shift
2571 if b < 0x80 {
2572 break
2573 }
2574 }
2575 var mapmsglen int
2576 for shift := uint(0); ; shift += 7 {
2577 if shift >= 64 {
2578 return ErrIntOverflowGenerated
2579 }
2580 if iNdEx >= l {
2581 return io.ErrUnexpectedEOF
2582 }
2583 b := dAtA[iNdEx]
2584 iNdEx++
2585 mapmsglen |= (int(b) & 0x7F) << shift
2586 if b < 0x80 {
2587 break
2588 }
2589 }
2590 if mapmsglen < 0 {
2591 return ErrInvalidLengthGenerated
2592 }
2593 postmsgIndex := iNdEx + mapmsglen
2594 if mapmsglen < 0 {
2595 return ErrInvalidLengthGenerated
2596 }
2597 if postmsgIndex > l {
2598 return io.ErrUnexpectedEOF
2599 }
2600 mapvalue := &k8s_io_apimachinery_pkg_apis_meta_v1.Time{}
2601 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
2602 return err
2603 }
2604 iNdEx = postmsgIndex
2605 m.DisruptedPods[mapkey] = *mapvalue
2606 } else {
2607 var mapvalue k8s_io_apimachinery_pkg_apis_meta_v1.Time
2608 m.DisruptedPods[mapkey] = mapvalue
2609 }
2610 iNdEx = postIndex
2611 case 3:
2612 if wireType != 0 {
2613 return fmt.Errorf("proto: wrong wireType = %d for field PodDisruptionsAllowed", wireType)
2614 }
2615 m.PodDisruptionsAllowed = 0
2616 for shift := uint(0); ; shift += 7 {
2617 if shift >= 64 {
2618 return ErrIntOverflowGenerated
2619 }
2620 if iNdEx >= l {
2621 return io.ErrUnexpectedEOF
2622 }
2623 b := dAtA[iNdEx]
2624 iNdEx++
2625 m.PodDisruptionsAllowed |= (int32(b) & 0x7F) << shift
2626 if b < 0x80 {
2627 break
2628 }
2629 }
2630 case 4:
2631 if wireType != 0 {
2632 return fmt.Errorf("proto: wrong wireType = %d for field CurrentHealthy", wireType)
2633 }
2634 m.CurrentHealthy = 0
2635 for shift := uint(0); ; shift += 7 {
2636 if shift >= 64 {
2637 return ErrIntOverflowGenerated
2638 }
2639 if iNdEx >= l {
2640 return io.ErrUnexpectedEOF
2641 }
2642 b := dAtA[iNdEx]
2643 iNdEx++
2644 m.CurrentHealthy |= (int32(b) & 0x7F) << shift
2645 if b < 0x80 {
2646 break
2647 }
2648 }
2649 case 5:
2650 if wireType != 0 {
2651 return fmt.Errorf("proto: wrong wireType = %d for field DesiredHealthy", wireType)
2652 }
2653 m.DesiredHealthy = 0
2654 for shift := uint(0); ; shift += 7 {
2655 if shift >= 64 {
2656 return ErrIntOverflowGenerated
2657 }
2658 if iNdEx >= l {
2659 return io.ErrUnexpectedEOF
2660 }
2661 b := dAtA[iNdEx]
2662 iNdEx++
2663 m.DesiredHealthy |= (int32(b) & 0x7F) << shift
2664 if b < 0x80 {
2665 break
2666 }
2667 }
2668 case 6:
2669 if wireType != 0 {
2670 return fmt.Errorf("proto: wrong wireType = %d for field ExpectedPods", wireType)
2671 }
2672 m.ExpectedPods = 0
2673 for shift := uint(0); ; shift += 7 {
2674 if shift >= 64 {
2675 return ErrIntOverflowGenerated
2676 }
2677 if iNdEx >= l {
2678 return io.ErrUnexpectedEOF
2679 }
2680 b := dAtA[iNdEx]
2681 iNdEx++
2682 m.ExpectedPods |= (int32(b) & 0x7F) << shift
2683 if b < 0x80 {
2684 break
2685 }
2686 }
2687 default:
2688 iNdEx = preIndex
2689 skippy, err := skipGenerated(dAtA[iNdEx:])
2690 if err != nil {
2691 return err
2692 }
2693 if skippy < 0 {
2694 return ErrInvalidLengthGenerated
2695 }
2696 if (iNdEx + skippy) > l {
2697 return io.ErrUnexpectedEOF
2698 }
2699 iNdEx += skippy
2700 }
2701 }
2702
2703 if iNdEx > l {
2704 return io.ErrUnexpectedEOF
2705 }
2706 return nil
2707}
2708func (m *PodSecurityPolicy) Unmarshal(dAtA []byte) error {
2709 l := len(dAtA)
2710 iNdEx := 0
2711 for iNdEx < l {
2712 preIndex := iNdEx
2713 var wire uint64
2714 for shift := uint(0); ; shift += 7 {
2715 if shift >= 64 {
2716 return ErrIntOverflowGenerated
2717 }
2718 if iNdEx >= l {
2719 return io.ErrUnexpectedEOF
2720 }
2721 b := dAtA[iNdEx]
2722 iNdEx++
2723 wire |= (uint64(b) & 0x7F) << shift
2724 if b < 0x80 {
2725 break
2726 }
2727 }
2728 fieldNum := int32(wire >> 3)
2729 wireType := int(wire & 0x7)
2730 if wireType == 4 {
2731 return fmt.Errorf("proto: PodSecurityPolicy: wiretype end group for non-group")
2732 }
2733 if fieldNum <= 0 {
2734 return fmt.Errorf("proto: PodSecurityPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
2735 }
2736 switch fieldNum {
2737 case 1:
2738 if wireType != 2 {
2739 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
2740 }
2741 var msglen int
2742 for shift := uint(0); ; shift += 7 {
2743 if shift >= 64 {
2744 return ErrIntOverflowGenerated
2745 }
2746 if iNdEx >= l {
2747 return io.ErrUnexpectedEOF
2748 }
2749 b := dAtA[iNdEx]
2750 iNdEx++
2751 msglen |= (int(b) & 0x7F) << shift
2752 if b < 0x80 {
2753 break
2754 }
2755 }
2756 if msglen < 0 {
2757 return ErrInvalidLengthGenerated
2758 }
2759 postIndex := iNdEx + msglen
2760 if postIndex > l {
2761 return io.ErrUnexpectedEOF
2762 }
2763 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2764 return err
2765 }
2766 iNdEx = postIndex
2767 case 2:
2768 if wireType != 2 {
2769 return fmt.Errorf("proto: wrong wireType = %d for field Spec", 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.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2794 return err
2795 }
2796 iNdEx = postIndex
2797 default:
2798 iNdEx = preIndex
2799 skippy, err := skipGenerated(dAtA[iNdEx:])
2800 if err != nil {
2801 return err
2802 }
2803 if skippy < 0 {
2804 return ErrInvalidLengthGenerated
2805 }
2806 if (iNdEx + skippy) > l {
2807 return io.ErrUnexpectedEOF
2808 }
2809 iNdEx += skippy
2810 }
2811 }
2812
2813 if iNdEx > l {
2814 return io.ErrUnexpectedEOF
2815 }
2816 return nil
2817}
2818func (m *PodSecurityPolicyList) Unmarshal(dAtA []byte) error {
2819 l := len(dAtA)
2820 iNdEx := 0
2821 for iNdEx < l {
2822 preIndex := iNdEx
2823 var wire uint64
2824 for shift := uint(0); ; shift += 7 {
2825 if shift >= 64 {
2826 return ErrIntOverflowGenerated
2827 }
2828 if iNdEx >= l {
2829 return io.ErrUnexpectedEOF
2830 }
2831 b := dAtA[iNdEx]
2832 iNdEx++
2833 wire |= (uint64(b) & 0x7F) << shift
2834 if b < 0x80 {
2835 break
2836 }
2837 }
2838 fieldNum := int32(wire >> 3)
2839 wireType := int(wire & 0x7)
2840 if wireType == 4 {
2841 return fmt.Errorf("proto: PodSecurityPolicyList: wiretype end group for non-group")
2842 }
2843 if fieldNum <= 0 {
2844 return fmt.Errorf("proto: PodSecurityPolicyList: illegal tag %d (wire type %d)", fieldNum, wire)
2845 }
2846 switch fieldNum {
2847 case 1:
2848 if wireType != 2 {
2849 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
2850 }
2851 var msglen int
2852 for shift := uint(0); ; shift += 7 {
2853 if shift >= 64 {
2854 return ErrIntOverflowGenerated
2855 }
2856 if iNdEx >= l {
2857 return io.ErrUnexpectedEOF
2858 }
2859 b := dAtA[iNdEx]
2860 iNdEx++
2861 msglen |= (int(b) & 0x7F) << shift
2862 if b < 0x80 {
2863 break
2864 }
2865 }
2866 if msglen < 0 {
2867 return ErrInvalidLengthGenerated
2868 }
2869 postIndex := iNdEx + msglen
2870 if postIndex > l {
2871 return io.ErrUnexpectedEOF
2872 }
2873 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2874 return err
2875 }
2876 iNdEx = postIndex
2877 case 2:
2878 if wireType != 2 {
2879 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
2880 }
2881 var msglen int
2882 for shift := uint(0); ; shift += 7 {
2883 if shift >= 64 {
2884 return ErrIntOverflowGenerated
2885 }
2886 if iNdEx >= l {
2887 return io.ErrUnexpectedEOF
2888 }
2889 b := dAtA[iNdEx]
2890 iNdEx++
2891 msglen |= (int(b) & 0x7F) << shift
2892 if b < 0x80 {
2893 break
2894 }
2895 }
2896 if msglen < 0 {
2897 return ErrInvalidLengthGenerated
2898 }
2899 postIndex := iNdEx + msglen
2900 if postIndex > l {
2901 return io.ErrUnexpectedEOF
2902 }
2903 m.Items = append(m.Items, PodSecurityPolicy{})
2904 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2905 return err
2906 }
2907 iNdEx = postIndex
2908 default:
2909 iNdEx = preIndex
2910 skippy, err := skipGenerated(dAtA[iNdEx:])
2911 if err != nil {
2912 return err
2913 }
2914 if skippy < 0 {
2915 return ErrInvalidLengthGenerated
2916 }
2917 if (iNdEx + skippy) > l {
2918 return io.ErrUnexpectedEOF
2919 }
2920 iNdEx += skippy
2921 }
2922 }
2923
2924 if iNdEx > l {
2925 return io.ErrUnexpectedEOF
2926 }
2927 return nil
2928}
2929func (m *PodSecurityPolicySpec) Unmarshal(dAtA []byte) error {
2930 l := len(dAtA)
2931 iNdEx := 0
2932 for iNdEx < l {
2933 preIndex := iNdEx
2934 var wire uint64
2935 for shift := uint(0); ; shift += 7 {
2936 if shift >= 64 {
2937 return ErrIntOverflowGenerated
2938 }
2939 if iNdEx >= l {
2940 return io.ErrUnexpectedEOF
2941 }
2942 b := dAtA[iNdEx]
2943 iNdEx++
2944 wire |= (uint64(b) & 0x7F) << shift
2945 if b < 0x80 {
2946 break
2947 }
2948 }
2949 fieldNum := int32(wire >> 3)
2950 wireType := int(wire & 0x7)
2951 if wireType == 4 {
2952 return fmt.Errorf("proto: PodSecurityPolicySpec: wiretype end group for non-group")
2953 }
2954 if fieldNum <= 0 {
2955 return fmt.Errorf("proto: PodSecurityPolicySpec: illegal tag %d (wire type %d)", fieldNum, wire)
2956 }
2957 switch fieldNum {
2958 case 1:
2959 if wireType != 0 {
2960 return fmt.Errorf("proto: wrong wireType = %d for field Privileged", wireType)
2961 }
2962 var v int
2963 for shift := uint(0); ; shift += 7 {
2964 if shift >= 64 {
2965 return ErrIntOverflowGenerated
2966 }
2967 if iNdEx >= l {
2968 return io.ErrUnexpectedEOF
2969 }
2970 b := dAtA[iNdEx]
2971 iNdEx++
2972 v |= (int(b) & 0x7F) << shift
2973 if b < 0x80 {
2974 break
2975 }
2976 }
2977 m.Privileged = bool(v != 0)
2978 case 2:
2979 if wireType != 2 {
2980 return fmt.Errorf("proto: wrong wireType = %d for field DefaultAddCapabilities", wireType)
2981 }
2982 var stringLen uint64
2983 for shift := uint(0); ; shift += 7 {
2984 if shift >= 64 {
2985 return ErrIntOverflowGenerated
2986 }
2987 if iNdEx >= l {
2988 return io.ErrUnexpectedEOF
2989 }
2990 b := dAtA[iNdEx]
2991 iNdEx++
2992 stringLen |= (uint64(b) & 0x7F) << shift
2993 if b < 0x80 {
2994 break
2995 }
2996 }
2997 intStringLen := int(stringLen)
2998 if intStringLen < 0 {
2999 return ErrInvalidLengthGenerated
3000 }
3001 postIndex := iNdEx + intStringLen
3002 if postIndex > l {
3003 return io.ErrUnexpectedEOF
3004 }
3005 m.DefaultAddCapabilities = append(m.DefaultAddCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex]))
3006 iNdEx = postIndex
3007 case 3:
3008 if wireType != 2 {
3009 return fmt.Errorf("proto: wrong wireType = %d for field RequiredDropCapabilities", wireType)
3010 }
3011 var stringLen uint64
3012 for shift := uint(0); ; shift += 7 {
3013 if shift >= 64 {
3014 return ErrIntOverflowGenerated
3015 }
3016 if iNdEx >= l {
3017 return io.ErrUnexpectedEOF
3018 }
3019 b := dAtA[iNdEx]
3020 iNdEx++
3021 stringLen |= (uint64(b) & 0x7F) << shift
3022 if b < 0x80 {
3023 break
3024 }
3025 }
3026 intStringLen := int(stringLen)
3027 if intStringLen < 0 {
3028 return ErrInvalidLengthGenerated
3029 }
3030 postIndex := iNdEx + intStringLen
3031 if postIndex > l {
3032 return io.ErrUnexpectedEOF
3033 }
3034 m.RequiredDropCapabilities = append(m.RequiredDropCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex]))
3035 iNdEx = postIndex
3036 case 4:
3037 if wireType != 2 {
3038 return fmt.Errorf("proto: wrong wireType = %d for field AllowedCapabilities", wireType)
3039 }
3040 var stringLen uint64
3041 for shift := uint(0); ; shift += 7 {
3042 if shift >= 64 {
3043 return ErrIntOverflowGenerated
3044 }
3045 if iNdEx >= l {
3046 return io.ErrUnexpectedEOF
3047 }
3048 b := dAtA[iNdEx]
3049 iNdEx++
3050 stringLen |= (uint64(b) & 0x7F) << shift
3051 if b < 0x80 {
3052 break
3053 }
3054 }
3055 intStringLen := int(stringLen)
3056 if intStringLen < 0 {
3057 return ErrInvalidLengthGenerated
3058 }
3059 postIndex := iNdEx + intStringLen
3060 if postIndex > l {
3061 return io.ErrUnexpectedEOF
3062 }
3063 m.AllowedCapabilities = append(m.AllowedCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex]))
3064 iNdEx = postIndex
3065 case 5:
3066 if wireType != 2 {
3067 return fmt.Errorf("proto: wrong wireType = %d for field Volumes", wireType)
3068 }
3069 var stringLen uint64
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 stringLen |= (uint64(b) & 0x7F) << shift
3080 if b < 0x80 {
3081 break
3082 }
3083 }
3084 intStringLen := int(stringLen)
3085 if intStringLen < 0 {
3086 return ErrInvalidLengthGenerated
3087 }
3088 postIndex := iNdEx + intStringLen
3089 if postIndex > l {
3090 return io.ErrUnexpectedEOF
3091 }
3092 m.Volumes = append(m.Volumes, FSType(dAtA[iNdEx:postIndex]))
3093 iNdEx = postIndex
3094 case 6:
3095 if wireType != 0 {
3096 return fmt.Errorf("proto: wrong wireType = %d for field HostNetwork", wireType)
3097 }
3098 var v int
3099 for shift := uint(0); ; shift += 7 {
3100 if shift >= 64 {
3101 return ErrIntOverflowGenerated
3102 }
3103 if iNdEx >= l {
3104 return io.ErrUnexpectedEOF
3105 }
3106 b := dAtA[iNdEx]
3107 iNdEx++
3108 v |= (int(b) & 0x7F) << shift
3109 if b < 0x80 {
3110 break
3111 }
3112 }
3113 m.HostNetwork = bool(v != 0)
3114 case 7:
3115 if wireType != 2 {
3116 return fmt.Errorf("proto: wrong wireType = %d for field HostPorts", wireType)
3117 }
3118 var msglen int
3119 for shift := uint(0); ; shift += 7 {
3120 if shift >= 64 {
3121 return ErrIntOverflowGenerated
3122 }
3123 if iNdEx >= l {
3124 return io.ErrUnexpectedEOF
3125 }
3126 b := dAtA[iNdEx]
3127 iNdEx++
3128 msglen |= (int(b) & 0x7F) << shift
3129 if b < 0x80 {
3130 break
3131 }
3132 }
3133 if msglen < 0 {
3134 return ErrInvalidLengthGenerated
3135 }
3136 postIndex := iNdEx + msglen
3137 if postIndex > l {
3138 return io.ErrUnexpectedEOF
3139 }
3140 m.HostPorts = append(m.HostPorts, HostPortRange{})
3141 if err := m.HostPorts[len(m.HostPorts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3142 return err
3143 }
3144 iNdEx = postIndex
3145 case 8:
3146 if wireType != 0 {
3147 return fmt.Errorf("proto: wrong wireType = %d for field HostPID", wireType)
3148 }
3149 var v int
3150 for shift := uint(0); ; shift += 7 {
3151 if shift >= 64 {
3152 return ErrIntOverflowGenerated
3153 }
3154 if iNdEx >= l {
3155 return io.ErrUnexpectedEOF
3156 }
3157 b := dAtA[iNdEx]
3158 iNdEx++
3159 v |= (int(b) & 0x7F) << shift
3160 if b < 0x80 {
3161 break
3162 }
3163 }
3164 m.HostPID = bool(v != 0)
3165 case 9:
3166 if wireType != 0 {
3167 return fmt.Errorf("proto: wrong wireType = %d for field HostIPC", wireType)
3168 }
3169 var v int
3170 for shift := uint(0); ; shift += 7 {
3171 if shift >= 64 {
3172 return ErrIntOverflowGenerated
3173 }
3174 if iNdEx >= l {
3175 return io.ErrUnexpectedEOF
3176 }
3177 b := dAtA[iNdEx]
3178 iNdEx++
3179 v |= (int(b) & 0x7F) << shift
3180 if b < 0x80 {
3181 break
3182 }
3183 }
3184 m.HostIPC = bool(v != 0)
3185 case 10:
3186 if wireType != 2 {
3187 return fmt.Errorf("proto: wrong wireType = %d for field SELinux", wireType)
3188 }
3189 var msglen int
3190 for shift := uint(0); ; shift += 7 {
3191 if shift >= 64 {
3192 return ErrIntOverflowGenerated
3193 }
3194 if iNdEx >= l {
3195 return io.ErrUnexpectedEOF
3196 }
3197 b := dAtA[iNdEx]
3198 iNdEx++
3199 msglen |= (int(b) & 0x7F) << shift
3200 if b < 0x80 {
3201 break
3202 }
3203 }
3204 if msglen < 0 {
3205 return ErrInvalidLengthGenerated
3206 }
3207 postIndex := iNdEx + msglen
3208 if postIndex > l {
3209 return io.ErrUnexpectedEOF
3210 }
3211 if err := m.SELinux.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3212 return err
3213 }
3214 iNdEx = postIndex
3215 case 11:
3216 if wireType != 2 {
3217 return fmt.Errorf("proto: wrong wireType = %d for field RunAsUser", wireType)
3218 }
3219 var msglen int
3220 for shift := uint(0); ; shift += 7 {
3221 if shift >= 64 {
3222 return ErrIntOverflowGenerated
3223 }
3224 if iNdEx >= l {
3225 return io.ErrUnexpectedEOF
3226 }
3227 b := dAtA[iNdEx]
3228 iNdEx++
3229 msglen |= (int(b) & 0x7F) << shift
3230 if b < 0x80 {
3231 break
3232 }
3233 }
3234 if msglen < 0 {
3235 return ErrInvalidLengthGenerated
3236 }
3237 postIndex := iNdEx + msglen
3238 if postIndex > l {
3239 return io.ErrUnexpectedEOF
3240 }
3241 if err := m.RunAsUser.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3242 return err
3243 }
3244 iNdEx = postIndex
3245 case 12:
3246 if wireType != 2 {
3247 return fmt.Errorf("proto: wrong wireType = %d for field SupplementalGroups", wireType)
3248 }
3249 var msglen int
3250 for shift := uint(0); ; shift += 7 {
3251 if shift >= 64 {
3252 return ErrIntOverflowGenerated
3253 }
3254 if iNdEx >= l {
3255 return io.ErrUnexpectedEOF
3256 }
3257 b := dAtA[iNdEx]
3258 iNdEx++
3259 msglen |= (int(b) & 0x7F) << shift
3260 if b < 0x80 {
3261 break
3262 }
3263 }
3264 if msglen < 0 {
3265 return ErrInvalidLengthGenerated
3266 }
3267 postIndex := iNdEx + msglen
3268 if postIndex > l {
3269 return io.ErrUnexpectedEOF
3270 }
3271 if err := m.SupplementalGroups.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3272 return err
3273 }
3274 iNdEx = postIndex
3275 case 13:
3276 if wireType != 2 {
3277 return fmt.Errorf("proto: wrong wireType = %d for field FSGroup", wireType)
3278 }
3279 var msglen int
3280 for shift := uint(0); ; shift += 7 {
3281 if shift >= 64 {
3282 return ErrIntOverflowGenerated
3283 }
3284 if iNdEx >= l {
3285 return io.ErrUnexpectedEOF
3286 }
3287 b := dAtA[iNdEx]
3288 iNdEx++
3289 msglen |= (int(b) & 0x7F) << shift
3290 if b < 0x80 {
3291 break
3292 }
3293 }
3294 if msglen < 0 {
3295 return ErrInvalidLengthGenerated
3296 }
3297 postIndex := iNdEx + msglen
3298 if postIndex > l {
3299 return io.ErrUnexpectedEOF
3300 }
3301 if err := m.FSGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3302 return err
3303 }
3304 iNdEx = postIndex
3305 case 14:
3306 if wireType != 0 {
3307 return fmt.Errorf("proto: wrong wireType = %d for field ReadOnlyRootFilesystem", wireType)
3308 }
3309 var v int
3310 for shift := uint(0); ; shift += 7 {
3311 if shift >= 64 {
3312 return ErrIntOverflowGenerated
3313 }
3314 if iNdEx >= l {
3315 return io.ErrUnexpectedEOF
3316 }
3317 b := dAtA[iNdEx]
3318 iNdEx++
3319 v |= (int(b) & 0x7F) << shift
3320 if b < 0x80 {
3321 break
3322 }
3323 }
3324 m.ReadOnlyRootFilesystem = bool(v != 0)
3325 case 15:
3326 if wireType != 0 {
3327 return fmt.Errorf("proto: wrong wireType = %d for field DefaultAllowPrivilegeEscalation", wireType)
3328 }
3329 var v int
3330 for shift := uint(0); ; shift += 7 {
3331 if shift >= 64 {
3332 return ErrIntOverflowGenerated
3333 }
3334 if iNdEx >= l {
3335 return io.ErrUnexpectedEOF
3336 }
3337 b := dAtA[iNdEx]
3338 iNdEx++
3339 v |= (int(b) & 0x7F) << shift
3340 if b < 0x80 {
3341 break
3342 }
3343 }
3344 b := bool(v != 0)
3345 m.DefaultAllowPrivilegeEscalation = &b
3346 case 16:
3347 if wireType != 0 {
3348 return fmt.Errorf("proto: wrong wireType = %d for field AllowPrivilegeEscalation", wireType)
3349 }
3350 var v int
3351 for shift := uint(0); ; shift += 7 {
3352 if shift >= 64 {
3353 return ErrIntOverflowGenerated
3354 }
3355 if iNdEx >= l {
3356 return io.ErrUnexpectedEOF
3357 }
3358 b := dAtA[iNdEx]
3359 iNdEx++
3360 v |= (int(b) & 0x7F) << shift
3361 if b < 0x80 {
3362 break
3363 }
3364 }
3365 b := bool(v != 0)
3366 m.AllowPrivilegeEscalation = &b
3367 case 17:
3368 if wireType != 2 {
3369 return fmt.Errorf("proto: wrong wireType = %d for field AllowedHostPaths", wireType)
3370 }
3371 var msglen int
3372 for shift := uint(0); ; shift += 7 {
3373 if shift >= 64 {
3374 return ErrIntOverflowGenerated
3375 }
3376 if iNdEx >= l {
3377 return io.ErrUnexpectedEOF
3378 }
3379 b := dAtA[iNdEx]
3380 iNdEx++
3381 msglen |= (int(b) & 0x7F) << shift
3382 if b < 0x80 {
3383 break
3384 }
3385 }
3386 if msglen < 0 {
3387 return ErrInvalidLengthGenerated
3388 }
3389 postIndex := iNdEx + msglen
3390 if postIndex > l {
3391 return io.ErrUnexpectedEOF
3392 }
3393 m.AllowedHostPaths = append(m.AllowedHostPaths, AllowedHostPath{})
3394 if err := m.AllowedHostPaths[len(m.AllowedHostPaths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3395 return err
3396 }
3397 iNdEx = postIndex
3398 case 18:
3399 if wireType != 2 {
3400 return fmt.Errorf("proto: wrong wireType = %d for field AllowedFlexVolumes", wireType)
3401 }
3402 var msglen int
3403 for shift := uint(0); ; shift += 7 {
3404 if shift >= 64 {
3405 return ErrIntOverflowGenerated
3406 }
3407 if iNdEx >= l {
3408 return io.ErrUnexpectedEOF
3409 }
3410 b := dAtA[iNdEx]
3411 iNdEx++
3412 msglen |= (int(b) & 0x7F) << shift
3413 if b < 0x80 {
3414 break
3415 }
3416 }
3417 if msglen < 0 {
3418 return ErrInvalidLengthGenerated
3419 }
3420 postIndex := iNdEx + msglen
3421 if postIndex > l {
3422 return io.ErrUnexpectedEOF
3423 }
3424 m.AllowedFlexVolumes = append(m.AllowedFlexVolumes, AllowedFlexVolume{})
3425 if err := m.AllowedFlexVolumes[len(m.AllowedFlexVolumes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3426 return err
3427 }
3428 iNdEx = postIndex
3429 case 19:
3430 if wireType != 2 {
3431 return fmt.Errorf("proto: wrong wireType = %d for field AllowedUnsafeSysctls", wireType)
3432 }
3433 var stringLen uint64
3434 for shift := uint(0); ; shift += 7 {
3435 if shift >= 64 {
3436 return ErrIntOverflowGenerated
3437 }
3438 if iNdEx >= l {
3439 return io.ErrUnexpectedEOF
3440 }
3441 b := dAtA[iNdEx]
3442 iNdEx++
3443 stringLen |= (uint64(b) & 0x7F) << shift
3444 if b < 0x80 {
3445 break
3446 }
3447 }
3448 intStringLen := int(stringLen)
3449 if intStringLen < 0 {
3450 return ErrInvalidLengthGenerated
3451 }
3452 postIndex := iNdEx + intStringLen
3453 if postIndex > l {
3454 return io.ErrUnexpectedEOF
3455 }
3456 m.AllowedUnsafeSysctls = append(m.AllowedUnsafeSysctls, string(dAtA[iNdEx:postIndex]))
3457 iNdEx = postIndex
3458 case 20:
3459 if wireType != 2 {
3460 return fmt.Errorf("proto: wrong wireType = %d for field ForbiddenSysctls", wireType)
3461 }
3462 var stringLen uint64
3463 for shift := uint(0); ; shift += 7 {
3464 if shift >= 64 {
3465 return ErrIntOverflowGenerated
3466 }
3467 if iNdEx >= l {
3468 return io.ErrUnexpectedEOF
3469 }
3470 b := dAtA[iNdEx]
3471 iNdEx++
3472 stringLen |= (uint64(b) & 0x7F) << shift
3473 if b < 0x80 {
3474 break
3475 }
3476 }
3477 intStringLen := int(stringLen)
3478 if intStringLen < 0 {
3479 return ErrInvalidLengthGenerated
3480 }
3481 postIndex := iNdEx + intStringLen
3482 if postIndex > l {
3483 return io.ErrUnexpectedEOF
3484 }
3485 m.ForbiddenSysctls = append(m.ForbiddenSysctls, string(dAtA[iNdEx:postIndex]))
3486 iNdEx = postIndex
3487 default:
3488 iNdEx = preIndex
3489 skippy, err := skipGenerated(dAtA[iNdEx:])
3490 if err != nil {
3491 return err
3492 }
3493 if skippy < 0 {
3494 return ErrInvalidLengthGenerated
3495 }
3496 if (iNdEx + skippy) > l {
3497 return io.ErrUnexpectedEOF
3498 }
3499 iNdEx += skippy
3500 }
3501 }
3502
3503 if iNdEx > l {
3504 return io.ErrUnexpectedEOF
3505 }
3506 return nil
3507}
3508func (m *RunAsUserStrategyOptions) Unmarshal(dAtA []byte) error {
3509 l := len(dAtA)
3510 iNdEx := 0
3511 for iNdEx < l {
3512 preIndex := iNdEx
3513 var wire uint64
3514 for shift := uint(0); ; shift += 7 {
3515 if shift >= 64 {
3516 return ErrIntOverflowGenerated
3517 }
3518 if iNdEx >= l {
3519 return io.ErrUnexpectedEOF
3520 }
3521 b := dAtA[iNdEx]
3522 iNdEx++
3523 wire |= (uint64(b) & 0x7F) << shift
3524 if b < 0x80 {
3525 break
3526 }
3527 }
3528 fieldNum := int32(wire >> 3)
3529 wireType := int(wire & 0x7)
3530 if wireType == 4 {
3531 return fmt.Errorf("proto: RunAsUserStrategyOptions: wiretype end group for non-group")
3532 }
3533 if fieldNum <= 0 {
3534 return fmt.Errorf("proto: RunAsUserStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
3535 }
3536 switch fieldNum {
3537 case 1:
3538 if wireType != 2 {
3539 return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
3540 }
3541 var stringLen uint64
3542 for shift := uint(0); ; shift += 7 {
3543 if shift >= 64 {
3544 return ErrIntOverflowGenerated
3545 }
3546 if iNdEx >= l {
3547 return io.ErrUnexpectedEOF
3548 }
3549 b := dAtA[iNdEx]
3550 iNdEx++
3551 stringLen |= (uint64(b) & 0x7F) << shift
3552 if b < 0x80 {
3553 break
3554 }
3555 }
3556 intStringLen := int(stringLen)
3557 if intStringLen < 0 {
3558 return ErrInvalidLengthGenerated
3559 }
3560 postIndex := iNdEx + intStringLen
3561 if postIndex > l {
3562 return io.ErrUnexpectedEOF
3563 }
3564 m.Rule = RunAsUserStrategy(dAtA[iNdEx:postIndex])
3565 iNdEx = postIndex
3566 case 2:
3567 if wireType != 2 {
3568 return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
3569 }
3570 var msglen int
3571 for shift := uint(0); ; shift += 7 {
3572 if shift >= 64 {
3573 return ErrIntOverflowGenerated
3574 }
3575 if iNdEx >= l {
3576 return io.ErrUnexpectedEOF
3577 }
3578 b := dAtA[iNdEx]
3579 iNdEx++
3580 msglen |= (int(b) & 0x7F) << shift
3581 if b < 0x80 {
3582 break
3583 }
3584 }
3585 if msglen < 0 {
3586 return ErrInvalidLengthGenerated
3587 }
3588 postIndex := iNdEx + msglen
3589 if postIndex > l {
3590 return io.ErrUnexpectedEOF
3591 }
3592 m.Ranges = append(m.Ranges, IDRange{})
3593 if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3594 return err
3595 }
3596 iNdEx = postIndex
3597 default:
3598 iNdEx = preIndex
3599 skippy, err := skipGenerated(dAtA[iNdEx:])
3600 if err != nil {
3601 return err
3602 }
3603 if skippy < 0 {
3604 return ErrInvalidLengthGenerated
3605 }
3606 if (iNdEx + skippy) > l {
3607 return io.ErrUnexpectedEOF
3608 }
3609 iNdEx += skippy
3610 }
3611 }
3612
3613 if iNdEx > l {
3614 return io.ErrUnexpectedEOF
3615 }
3616 return nil
3617}
3618func (m *SELinuxStrategyOptions) Unmarshal(dAtA []byte) error {
3619 l := len(dAtA)
3620 iNdEx := 0
3621 for iNdEx < l {
3622 preIndex := iNdEx
3623 var wire uint64
3624 for shift := uint(0); ; shift += 7 {
3625 if shift >= 64 {
3626 return ErrIntOverflowGenerated
3627 }
3628 if iNdEx >= l {
3629 return io.ErrUnexpectedEOF
3630 }
3631 b := dAtA[iNdEx]
3632 iNdEx++
3633 wire |= (uint64(b) & 0x7F) << shift
3634 if b < 0x80 {
3635 break
3636 }
3637 }
3638 fieldNum := int32(wire >> 3)
3639 wireType := int(wire & 0x7)
3640 if wireType == 4 {
3641 return fmt.Errorf("proto: SELinuxStrategyOptions: wiretype end group for non-group")
3642 }
3643 if fieldNum <= 0 {
3644 return fmt.Errorf("proto: SELinuxStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
3645 }
3646 switch fieldNum {
3647 case 1:
3648 if wireType != 2 {
3649 return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
3650 }
3651 var stringLen uint64
3652 for shift := uint(0); ; shift += 7 {
3653 if shift >= 64 {
3654 return ErrIntOverflowGenerated
3655 }
3656 if iNdEx >= l {
3657 return io.ErrUnexpectedEOF
3658 }
3659 b := dAtA[iNdEx]
3660 iNdEx++
3661 stringLen |= (uint64(b) & 0x7F) << shift
3662 if b < 0x80 {
3663 break
3664 }
3665 }
3666 intStringLen := int(stringLen)
3667 if intStringLen < 0 {
3668 return ErrInvalidLengthGenerated
3669 }
3670 postIndex := iNdEx + intStringLen
3671 if postIndex > l {
3672 return io.ErrUnexpectedEOF
3673 }
3674 m.Rule = SELinuxStrategy(dAtA[iNdEx:postIndex])
3675 iNdEx = postIndex
3676 case 2:
3677 if wireType != 2 {
3678 return fmt.Errorf("proto: wrong wireType = %d for field SELinuxOptions", wireType)
3679 }
3680 var msglen int
3681 for shift := uint(0); ; shift += 7 {
3682 if shift >= 64 {
3683 return ErrIntOverflowGenerated
3684 }
3685 if iNdEx >= l {
3686 return io.ErrUnexpectedEOF
3687 }
3688 b := dAtA[iNdEx]
3689 iNdEx++
3690 msglen |= (int(b) & 0x7F) << shift
3691 if b < 0x80 {
3692 break
3693 }
3694 }
3695 if msglen < 0 {
3696 return ErrInvalidLengthGenerated
3697 }
3698 postIndex := iNdEx + msglen
3699 if postIndex > l {
3700 return io.ErrUnexpectedEOF
3701 }
3702 if m.SELinuxOptions == nil {
3703 m.SELinuxOptions = &k8s_io_api_core_v1.SELinuxOptions{}
3704 }
3705 if err := m.SELinuxOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3706 return err
3707 }
3708 iNdEx = postIndex
3709 default:
3710 iNdEx = preIndex
3711 skippy, err := skipGenerated(dAtA[iNdEx:])
3712 if err != nil {
3713 return err
3714 }
3715 if skippy < 0 {
3716 return ErrInvalidLengthGenerated
3717 }
3718 if (iNdEx + skippy) > l {
3719 return io.ErrUnexpectedEOF
3720 }
3721 iNdEx += skippy
3722 }
3723 }
3724
3725 if iNdEx > l {
3726 return io.ErrUnexpectedEOF
3727 }
3728 return nil
3729}
3730func (m *SupplementalGroupsStrategyOptions) Unmarshal(dAtA []byte) error {
3731 l := len(dAtA)
3732 iNdEx := 0
3733 for iNdEx < l {
3734 preIndex := iNdEx
3735 var wire uint64
3736 for shift := uint(0); ; shift += 7 {
3737 if shift >= 64 {
3738 return ErrIntOverflowGenerated
3739 }
3740 if iNdEx >= l {
3741 return io.ErrUnexpectedEOF
3742 }
3743 b := dAtA[iNdEx]
3744 iNdEx++
3745 wire |= (uint64(b) & 0x7F) << shift
3746 if b < 0x80 {
3747 break
3748 }
3749 }
3750 fieldNum := int32(wire >> 3)
3751 wireType := int(wire & 0x7)
3752 if wireType == 4 {
3753 return fmt.Errorf("proto: SupplementalGroupsStrategyOptions: wiretype end group for non-group")
3754 }
3755 if fieldNum <= 0 {
3756 return fmt.Errorf("proto: SupplementalGroupsStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
3757 }
3758 switch fieldNum {
3759 case 1:
3760 if wireType != 2 {
3761 return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
3762 }
3763 var stringLen uint64
3764 for shift := uint(0); ; shift += 7 {
3765 if shift >= 64 {
3766 return ErrIntOverflowGenerated
3767 }
3768 if iNdEx >= l {
3769 return io.ErrUnexpectedEOF
3770 }
3771 b := dAtA[iNdEx]
3772 iNdEx++
3773 stringLen |= (uint64(b) & 0x7F) << shift
3774 if b < 0x80 {
3775 break
3776 }
3777 }
3778 intStringLen := int(stringLen)
3779 if intStringLen < 0 {
3780 return ErrInvalidLengthGenerated
3781 }
3782 postIndex := iNdEx + intStringLen
3783 if postIndex > l {
3784 return io.ErrUnexpectedEOF
3785 }
3786 m.Rule = SupplementalGroupsStrategyType(dAtA[iNdEx:postIndex])
3787 iNdEx = postIndex
3788 case 2:
3789 if wireType != 2 {
3790 return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
3791 }
3792 var msglen int
3793 for shift := uint(0); ; shift += 7 {
3794 if shift >= 64 {
3795 return ErrIntOverflowGenerated
3796 }
3797 if iNdEx >= l {
3798 return io.ErrUnexpectedEOF
3799 }
3800 b := dAtA[iNdEx]
3801 iNdEx++
3802 msglen |= (int(b) & 0x7F) << shift
3803 if b < 0x80 {
3804 break
3805 }
3806 }
3807 if msglen < 0 {
3808 return ErrInvalidLengthGenerated
3809 }
3810 postIndex := iNdEx + msglen
3811 if postIndex > l {
3812 return io.ErrUnexpectedEOF
3813 }
3814 m.Ranges = append(m.Ranges, IDRange{})
3815 if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3816 return err
3817 }
3818 iNdEx = postIndex
3819 default:
3820 iNdEx = preIndex
3821 skippy, err := skipGenerated(dAtA[iNdEx:])
3822 if err != nil {
3823 return err
3824 }
3825 if skippy < 0 {
3826 return ErrInvalidLengthGenerated
3827 }
3828 if (iNdEx + skippy) > l {
3829 return io.ErrUnexpectedEOF
3830 }
3831 iNdEx += skippy
3832 }
3833 }
3834
3835 if iNdEx > l {
3836 return io.ErrUnexpectedEOF
3837 }
3838 return nil
3839}
3840func skipGenerated(dAtA []byte) (n int, err error) {
3841 l := len(dAtA)
3842 iNdEx := 0
3843 for iNdEx < l {
3844 var wire uint64
3845 for shift := uint(0); ; shift += 7 {
3846 if shift >= 64 {
3847 return 0, ErrIntOverflowGenerated
3848 }
3849 if iNdEx >= l {
3850 return 0, io.ErrUnexpectedEOF
3851 }
3852 b := dAtA[iNdEx]
3853 iNdEx++
3854 wire |= (uint64(b) & 0x7F) << shift
3855 if b < 0x80 {
3856 break
3857 }
3858 }
3859 wireType := int(wire & 0x7)
3860 switch wireType {
3861 case 0:
3862 for shift := uint(0); ; shift += 7 {
3863 if shift >= 64 {
3864 return 0, ErrIntOverflowGenerated
3865 }
3866 if iNdEx >= l {
3867 return 0, io.ErrUnexpectedEOF
3868 }
3869 iNdEx++
3870 if dAtA[iNdEx-1] < 0x80 {
3871 break
3872 }
3873 }
3874 return iNdEx, nil
3875 case 1:
3876 iNdEx += 8
3877 return iNdEx, nil
3878 case 2:
3879 var length int
3880 for shift := uint(0); ; shift += 7 {
3881 if shift >= 64 {
3882 return 0, ErrIntOverflowGenerated
3883 }
3884 if iNdEx >= l {
3885 return 0, io.ErrUnexpectedEOF
3886 }
3887 b := dAtA[iNdEx]
3888 iNdEx++
3889 length |= (int(b) & 0x7F) << shift
3890 if b < 0x80 {
3891 break
3892 }
3893 }
3894 iNdEx += length
3895 if length < 0 {
3896 return 0, ErrInvalidLengthGenerated
3897 }
3898 return iNdEx, nil
3899 case 3:
3900 for {
3901 var innerWire uint64
3902 var start int = iNdEx
3903 for shift := uint(0); ; shift += 7 {
3904 if shift >= 64 {
3905 return 0, ErrIntOverflowGenerated
3906 }
3907 if iNdEx >= l {
3908 return 0, io.ErrUnexpectedEOF
3909 }
3910 b := dAtA[iNdEx]
3911 iNdEx++
3912 innerWire |= (uint64(b) & 0x7F) << shift
3913 if b < 0x80 {
3914 break
3915 }
3916 }
3917 innerWireType := int(innerWire & 0x7)
3918 if innerWireType == 4 {
3919 break
3920 }
3921 next, err := skipGenerated(dAtA[start:])
3922 if err != nil {
3923 return 0, err
3924 }
3925 iNdEx = start + next
3926 }
3927 return iNdEx, nil
3928 case 4:
3929 return iNdEx, nil
3930 case 5:
3931 iNdEx += 4
3932 return iNdEx, nil
3933 default:
3934 return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
3935 }
3936 }
3937 panic("unreachable")
3938}
3939
3940var (
3941 ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
3942 ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
3943)
3944
3945func init() {
3946 proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/policy/v1beta1/generated.proto", fileDescriptorGenerated)
3947}
3948
3949var fileDescriptorGenerated = []byte{
3950 // 1679 bytes of a gzipped FileDescriptorProto
3951 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x4f, 0x6f, 0x23, 0xb7,
3952 0x15, 0xf7, 0xac, 0x6c, 0x4b, 0xa6, 0x6d, 0xad, 0x4d, 0x7b, 0xdd, 0x89, 0xd1, 0xd5, 0x24, 0x0a,
3953 0x50, 0x6c, 0x83, 0x64, 0x14, 0x7b, 0x93, 0xd6, 0x68, 0xda, 0x22, 0x1e, 0xcb, 0xff, 0x02, 0xbb,
3954 0x56, 0xa9, 0xdd, 0xa0, 0x2d, 0xb6, 0x45, 0x29, 0x0d, 0x2d, 0x31, 0x1e, 0xcd, 0x4c, 0x49, 0x8e,
3955 0x22, 0xdd, 0x7a, 0xe8, 0xa1, 0xe8, 0xa9, 0x5f, 0xa0, 0x9f, 0xa0, 0xe8, 0xa9, 0x5f, 0xc2, 0x05,
3956 0x8a, 0x22, 0xc7, 0xa0, 0x07, 0xa1, 0xab, 0xa2, 0x5f, 0x22, 0xa7, 0x62, 0x28, 0x8e, 0xa4, 0xf9,
3957 0x23, 0x79, 0x1d, 0x60, 0xf7, 0xa6, 0xe1, 0xfb, 0xfd, 0x7e, 0xef, 0xf1, 0xf1, 0xf1, 0x91, 0x14,
3958 0xb0, 0x6e, 0x0e, 0xb8, 0x49, 0xbd, 0xca, 0x4d, 0xd0, 0x20, 0xcc, 0x25, 0x82, 0xf0, 0x4a, 0x97,
3959 0xb8, 0xb6, 0xc7, 0x2a, 0xca, 0x80, 0x7d, 0x5a, 0xf1, 0x3d, 0x87, 0x36, 0xfb, 0x95, 0xee, 0x5e,
3960 0x83, 0x08, 0xbc, 0x57, 0x69, 0x11, 0x97, 0x30, 0x2c, 0x88, 0x6d, 0xfa, 0xcc, 0x13, 0x1e, 0x7c,
3961 0x6b, 0x04, 0x35, 0xb1, 0x4f, 0xcd, 0x11, 0xd4, 0x54, 0xd0, 0xdd, 0x0f, 0x5a, 0x54, 0xb4, 0x83,
3962 0x86, 0xd9, 0xf4, 0x3a, 0x95, 0x96, 0xd7, 0xf2, 0x2a, 0x92, 0xd1, 0x08, 0xae, 0xe5, 0x97, 0xfc,
3963 0x90, 0xbf, 0x46, 0x4a, 0xbb, 0xe5, 0x29, 0xa7, 0x4d, 0x8f, 0x91, 0x4a, 0x37, 0xe5, 0x6d, 0xf7,
3964 0xa3, 0x09, 0xa6, 0x83, 0x9b, 0x6d, 0xea, 0x12, 0xd6, 0xaf, 0xf8, 0x37, 0xad, 0x70, 0x80, 0x57,
3965 0x3a, 0x44, 0xe0, 0x2c, 0x56, 0x65, 0x16, 0x8b, 0x05, 0xae, 0xa0, 0x1d, 0x92, 0x22, 0xfc, 0xe0,
3966 0x2e, 0x02, 0x6f, 0xb6, 0x49, 0x07, 0xa7, 0x78, 0x4f, 0x67, 0xf1, 0x02, 0x41, 0x9d, 0x0a, 0x75,
3967 0x05, 0x17, 0x2c, 0x49, 0x2a, 0x7f, 0x02, 0x36, 0x0f, 0x1d, 0xc7, 0xfb, 0x92, 0xd8, 0x27, 0x0e,
3968 0xe9, 0x7d, 0xee, 0x39, 0x41, 0x87, 0xc0, 0xef, 0x81, 0x65, 0x9b, 0xd1, 0x2e, 0x61, 0xba, 0xf6,
3969 0xb6, 0xf6, 0x64, 0xc5, 0x2a, 0xde, 0x0e, 0x8c, 0x85, 0xe1, 0xc0, 0x58, 0xae, 0xca, 0x51, 0xa4,
3970 0xac, 0x65, 0x0e, 0x1e, 0x2a, 0xf2, 0x99, 0xc7, 0x45, 0x0d, 0x8b, 0x36, 0xdc, 0x07, 0xc0, 0xc7,
3971 0xa2, 0x5d, 0x63, 0xe4, 0x9a, 0xf6, 0x14, 0x1d, 0x2a, 0x3a, 0xa8, 0x8d, 0x2d, 0x68, 0x0a, 0x05,
3972 0xdf, 0x07, 0x05, 0x46, 0xb0, 0x7d, 0xe5, 0x3a, 0x7d, 0xfd, 0xc1, 0xdb, 0xda, 0x93, 0x82, 0xb5,
3973 0xa1, 0x18, 0x05, 0xa4, 0xc6, 0xd1, 0x18, 0x51, 0xfe, 0xb7, 0x06, 0x0a, 0xc7, 0x5d, 0xda, 0x14,
3974 0xd4, 0x73, 0xe1, 0x6f, 0x41, 0x21, 0xcc, 0xbb, 0x8d, 0x05, 0x96, 0xce, 0x56, 0xf7, 0x3f, 0x34,
3975 0x27, 0x35, 0x31, 0x4e, 0x83, 0xe9, 0xdf, 0xb4, 0xc2, 0x01, 0x6e, 0x86, 0x68, 0xb3, 0xbb, 0x67,
3976 0x5e, 0x35, 0xbe, 0x20, 0x4d, 0x71, 0x49, 0x04, 0x9e, 0x84, 0x37, 0x19, 0x43, 0x63, 0x55, 0xe8,
3977 0x80, 0x75, 0x9b, 0x38, 0x44, 0x90, 0x2b, 0x3f, 0xf4, 0xc8, 0x65, 0x84, 0xab, 0xfb, 0x4f, 0x5f,
3978 0xcd, 0x4d, 0x75, 0x9a, 0x6a, 0x6d, 0x0e, 0x07, 0xc6, 0x7a, 0x6c, 0x08, 0xc5, 0xc5, 0xcb, 0x7f,
3979 0xd1, 0xc0, 0xce, 0x49, 0xfd, 0x94, 0x79, 0x81, 0x5f, 0x17, 0xe1, 0x3a, 0xb5, 0xfa, 0xca, 0x04,
3980 0x7f, 0x08, 0x16, 0x59, 0xe0, 0x10, 0x95, 0xd3, 0x77, 0x55, 0xd0, 0x8b, 0x28, 0x70, 0xc8, 0x37,
3981 0x03, 0x63, 0x2b, 0xc1, 0x7a, 0xd6, 0xf7, 0x09, 0x92, 0x04, 0xf8, 0x19, 0x58, 0x66, 0xd8, 0x6d,
3982 0x91, 0x30, 0xf4, 0xdc, 0x93, 0xd5, 0xfd, 0xb2, 0x39, 0x73, 0xd7, 0x98, 0xe7, 0x55, 0x14, 0x42,
3983 0x27, 0x2b, 0x2e, 0x3f, 0x39, 0x52, 0x0a, 0xe5, 0x4b, 0xb0, 0x2e, 0x97, 0xda, 0x63, 0x42, 0x5a,
3984 0xe0, 0x63, 0x90, 0xeb, 0x50, 0x57, 0x06, 0xb5, 0x64, 0xad, 0x2a, 0x56, 0xee, 0x92, 0xba, 0x28,
3985 0x1c, 0x97, 0x66, 0xdc, 0x93, 0x39, 0x9b, 0x36, 0xe3, 0x1e, 0x0a, 0xc7, 0xcb, 0xa7, 0x20, 0xaf,
3986 0x3c, 0x4e, 0x0b, 0xe5, 0xe6, 0x0b, 0xe5, 0x32, 0x84, 0xfe, 0xfa, 0x00, 0x6c, 0xd5, 0x3c, 0xbb,
3987 0x4a, 0x39, 0x0b, 0x64, 0xbe, 0xac, 0xc0, 0x6e, 0x11, 0xf1, 0x06, 0xea, 0xe3, 0x19, 0x58, 0xe4,
3988 0x3e, 0x69, 0xaa, 0xb2, 0xd8, 0x9f, 0x93, 0xdb, 0x8c, 0xf8, 0xea, 0x3e, 0x69, 0x5a, 0x6b, 0xd1,
3989 0x52, 0x86, 0x5f, 0x48, 0xaa, 0xc1, 0x17, 0x60, 0x99, 0x0b, 0x2c, 0x02, 0xae, 0xe7, 0xa4, 0xee,
3990 0x47, 0xf7, 0xd4, 0x95, 0xdc, 0xc9, 0x2a, 0x8e, 0xbe, 0x91, 0xd2, 0x2c, 0xff, 0x53, 0x03, 0xdf,
3991 0xc9, 0x60, 0x5d, 0x50, 0x2e, 0xe0, 0x8b, 0x54, 0xc6, 0xcc, 0x57, 0xcb, 0x58, 0xc8, 0x96, 0xf9,
3992 0x1a, 0x6f, 0xde, 0x68, 0x64, 0x2a, 0x5b, 0x75, 0xb0, 0x44, 0x05, 0xe9, 0x44, 0xa5, 0x68, 0xde,
3993 0x6f, 0x5a, 0xd6, 0xba, 0x92, 0x5e, 0x3a, 0x0f, 0x45, 0xd0, 0x48, 0xab, 0xfc, 0xaf, 0x07, 0x99,
3994 0xd3, 0x09, 0xd3, 0x09, 0xaf, 0xc1, 0x5a, 0x87, 0xba, 0x87, 0x5d, 0x4c, 0x1d, 0xdc, 0x50, 0xbb,
3995 0x67, 0x5e, 0x11, 0x84, 0xbd, 0xd2, 0x1c, 0xf5, 0x4a, 0xf3, 0xdc, 0x15, 0x57, 0xac, 0x2e, 0x18,
3996 0x75, 0x5b, 0xd6, 0xc6, 0x70, 0x60, 0xac, 0x5d, 0x4e, 0x29, 0xa1, 0x98, 0x2e, 0xfc, 0x35, 0x28,
3997 0x70, 0xe2, 0x90, 0xa6, 0xf0, 0xd8, 0xfd, 0x3a, 0xc4, 0x05, 0x6e, 0x10, 0xa7, 0xae, 0xa8, 0xd6,
3998 0x5a, 0x98, 0xb7, 0xe8, 0x0b, 0x8d, 0x25, 0xa1, 0x03, 0x8a, 0x1d, 0xdc, 0x7b, 0xee, 0xe2, 0xf1,
3999 0x44, 0x72, 0xdf, 0x72, 0x22, 0x70, 0x38, 0x30, 0x8a, 0x97, 0x31, 0x2d, 0x94, 0xd0, 0x2e, 0xff,
4000 0x6f, 0x11, 0xbc, 0x35, 0xb3, 0xaa, 0xe0, 0x67, 0x00, 0x7a, 0x0d, 0x4e, 0x58, 0x97, 0xd8, 0xa7,
4001 0xa3, 0xd3, 0x84, 0x7a, 0xd1, 0xc6, 0xdd, 0x55, 0x0b, 0x04, 0xaf, 0x52, 0x08, 0x94, 0xc1, 0x82,
4002 0x7f, 0xd0, 0xc0, 0xba, 0x3d, 0x72, 0x43, 0xec, 0x9a, 0x67, 0x47, 0x85, 0x71, 0xfa, 0x6d, 0xea,
4003 0xdd, 0xac, 0x4e, 0x2b, 0x1d, 0xbb, 0x82, 0xf5, 0xad, 0x47, 0x2a, 0xa0, 0xf5, 0x98, 0x0d, 0xc5,
4004 0x9d, 0xc2, 0x4b, 0x00, 0xed, 0xb1, 0x24, 0x57, 0x67, 0x9a, 0x4c, 0xf1, 0x92, 0xf5, 0x58, 0x29,
4005 0x3c, 0x8a, 0xf9, 0x8d, 0x40, 0x28, 0x83, 0x08, 0x7f, 0x0a, 0x8a, 0xcd, 0x80, 0x31, 0xe2, 0x8a,
4006 0x33, 0x82, 0x1d, 0xd1, 0xee, 0xeb, 0x8b, 0x52, 0x6a, 0x47, 0x49, 0x15, 0x8f, 0x62, 0x56, 0x94,
4007 0x40, 0x87, 0x7c, 0x9b, 0x70, 0xca, 0x88, 0x1d, 0xf1, 0x97, 0xe2, 0xfc, 0x6a, 0xcc, 0x8a, 0x12,
4008 0x68, 0x78, 0x00, 0xd6, 0x48, 0xcf, 0x27, 0xcd, 0x28, 0xa7, 0xcb, 0x92, 0xbd, 0xad, 0xd8, 0x6b,
4009 0xc7, 0x53, 0x36, 0x14, 0x43, 0xee, 0x3a, 0x00, 0xa6, 0x93, 0x08, 0x37, 0x40, 0xee, 0x86, 0xf4,
4010 0x47, 0x27, 0x0f, 0x0a, 0x7f, 0xc2, 0x4f, 0xc1, 0x52, 0x17, 0x3b, 0x01, 0x51, 0xb5, 0xfe, 0xde,
4011 0xab, 0xd5, 0xfa, 0x33, 0xda, 0x21, 0x68, 0x44, 0xfc, 0xd1, 0x83, 0x03, 0xad, 0xfc, 0x0f, 0x0d,
4012 0x6c, 0xd6, 0x3c, 0xbb, 0x4e, 0x9a, 0x01, 0xa3, 0xa2, 0x5f, 0x93, 0xeb, 0xfc, 0x06, 0x7a, 0x36,
4013 0x8a, 0xf5, 0xec, 0x0f, 0xe7, 0xd7, 0x5a, 0x3c, 0xba, 0x59, 0x1d, 0xbb, 0x7c, 0xab, 0x81, 0x47,
4014 0x29, 0xf4, 0x1b, 0xe8, 0xa8, 0x3f, 0x8f, 0x77, 0xd4, 0xf7, 0xef, 0x33, 0x99, 0x19, 0xfd, 0xf4,
4015 0x4f, 0xc5, 0x8c, 0xa9, 0xc8, 0x6e, 0x1a, 0xde, 0xee, 0x18, 0xed, 0x52, 0x87, 0xb4, 0x88, 0x2d,
4016 0x27, 0x53, 0x98, 0xba, 0xdd, 0x8d, 0x2d, 0x68, 0x0a, 0x05, 0x39, 0xd8, 0xb1, 0xc9, 0x35, 0x0e,
4017 0x1c, 0x71, 0x68, 0xdb, 0x47, 0xd8, 0xc7, 0x0d, 0xea, 0x50, 0x41, 0xd5, 0x75, 0x64, 0xc5, 0xfa,
4018 0x64, 0x38, 0x30, 0x76, 0xaa, 0x99, 0x88, 0x6f, 0x06, 0xc6, 0xe3, 0xf4, 0xbd, 0xdc, 0x1c, 0x43,
4019 0xfa, 0x68, 0x86, 0x34, 0xec, 0x03, 0x9d, 0x91, 0xdf, 0x05, 0xe1, 0xa6, 0xa8, 0x32, 0xcf, 0x8f,
4020 0xb9, 0xcd, 0x49, 0xb7, 0x3f, 0x19, 0x0e, 0x0c, 0x1d, 0xcd, 0xc0, 0xdc, 0xed, 0x78, 0xa6, 0x3c,
4021 0xfc, 0x02, 0x6c, 0xe1, 0x51, 0x1f, 0x88, 0x79, 0x5d, 0x94, 0x5e, 0x0f, 0x86, 0x03, 0x63, 0xeb,
4022 0x30, 0x6d, 0xbe, 0xdb, 0x61, 0x96, 0x28, 0xac, 0x80, 0x7c, 0x57, 0x5e, 0xd9, 0xb9, 0xbe, 0x24,
4023 0xf5, 0x1f, 0x0d, 0x07, 0x46, 0x7e, 0x74, 0x8b, 0x0f, 0x35, 0x97, 0x4f, 0xea, 0xf2, 0x22, 0x18,
4024 0xa1, 0xe0, 0xc7, 0x60, 0xb5, 0xed, 0x71, 0xf1, 0x33, 0x22, 0xbe, 0xf4, 0xd8, 0x8d, 0x6c, 0x0c,
4025 0x05, 0x6b, 0x4b, 0xad, 0xe0, 0xea, 0xd9, 0xc4, 0x84, 0xa6, 0x71, 0xf0, 0x97, 0x60, 0xa5, 0xad,
4026 0xae, 0x7d, 0x5c, 0xcf, 0xcb, 0x42, 0x7b, 0x32, 0xa7, 0xd0, 0x62, 0x57, 0x44, 0x6b, 0x53, 0xc9,
4027 0xaf, 0x44, 0xc3, 0x1c, 0x4d, 0xd4, 0xe0, 0xf7, 0x41, 0x5e, 0x7e, 0x9c, 0x57, 0xf5, 0x82, 0x8c,
4028 0xe6, 0xa1, 0x82, 0xe7, 0xcf, 0x46, 0xc3, 0x28, 0xb2, 0x47, 0xd0, 0xf3, 0xda, 0x91, 0xbe, 0x92,
4029 0x86, 0x9e, 0xd7, 0x8e, 0x50, 0x64, 0x87, 0x2f, 0x40, 0x9e, 0x93, 0x0b, 0xea, 0x06, 0x3d, 0x1d,
4030 0xc8, 0x2d, 0xb7, 0x37, 0x27, 0xdc, 0xfa, 0xb1, 0x44, 0x26, 0x2e, 0xdc, 0x13, 0x75, 0x65, 0x47,
4031 0x91, 0x24, 0xb4, 0xc1, 0x0a, 0x0b, 0xdc, 0x43, 0xfe, 0x9c, 0x13, 0xa6, 0xaf, 0xa6, 0x4e, 0xfb,
4032 0xa4, 0x3e, 0x8a, 0xb0, 0x49, 0x0f, 0xe3, 0xcc, 0x8c, 0x11, 0x68, 0x22, 0x0c, 0xff, 0xa8, 0x01,
4033 0xc8, 0x03, 0xdf, 0x77, 0x48, 0x87, 0xb8, 0x02, 0x3b, 0xf2, 0x7e, 0xcf, 0xf5, 0x35, 0xe9, 0xef,
4034 0xc7, 0xf3, 0xe6, 0x93, 0x22, 0x25, 0x1d, 0x8f, 0x8f, 0xe9, 0x34, 0x14, 0x65, 0xf8, 0x0c, 0xd3,
4035 0x79, 0xcd, 0xe5, 0x6f, 0x7d, 0xfd, 0xce, 0x74, 0x66, 0xbf, 0x5f, 0x26, 0xe9, 0x54, 0x76, 0x14,
4036 0x49, 0xc2, 0xcf, 0xc1, 0x4e, 0xf4, 0xba, 0x43, 0x9e, 0x27, 0x4e, 0xa8, 0x43, 0x78, 0x9f, 0x0b,
4037 0xd2, 0xd1, 0x8b, 0x72, 0x99, 0x4b, 0x8a, 0xb9, 0x83, 0x32, 0x51, 0x68, 0x06, 0x1b, 0x76, 0x80,
4038 0x11, 0xb5, 0x87, 0x70, 0xef, 0x8c, 0xfb, 0xd3, 0x31, 0x6f, 0x62, 0x67, 0x74, 0x6b, 0x79, 0x28,
4039 0x1d, 0xbc, 0x3b, 0x1c, 0x18, 0x46, 0x75, 0x3e, 0x14, 0xdd, 0xa5, 0x05, 0x7f, 0x01, 0x74, 0x3c,
4040 0xcb, 0xcf, 0x86, 0xf4, 0xf3, 0xdd, 0xb0, 0xe7, 0xcc, 0x74, 0x30, 0x93, 0x0d, 0x7d, 0xb0, 0x81,
4041 0xe3, 0xef, 0x6c, 0xae, 0x6f, 0xca, 0x5d, 0xf8, 0xde, 0x9c, 0x75, 0x48, 0x3c, 0xcd, 0x2d, 0x5d,
4042 0xa5, 0x71, 0x23, 0x61, 0xe0, 0x28, 0xa5, 0x0e, 0x7b, 0x00, 0xe2, 0xe4, 0xdf, 0x02, 0x5c, 0x87,
4043 0x77, 0x1e, 0x31, 0xa9, 0xff, 0x12, 0x26, 0xa5, 0x96, 0x32, 0x71, 0x94, 0xe1, 0x03, 0x5e, 0x80,
4044 0x6d, 0x35, 0xfa, 0xdc, 0xe5, 0xf8, 0x9a, 0xd4, 0xfb, 0xbc, 0x29, 0x1c, 0xae, 0x6f, 0xc9, 0xfe,
4045 0xa6, 0x0f, 0x07, 0xc6, 0xf6, 0x61, 0x86, 0x1d, 0x65, 0xb2, 0xe0, 0xa7, 0x60, 0xe3, 0xda, 0x63,
4046 0x0d, 0x6a, 0xdb, 0xc4, 0x8d, 0x94, 0xb6, 0xa5, 0xd2, 0x76, 0x98, 0x89, 0x93, 0x84, 0x0d, 0xa5,
4047 0xd0, 0xe1, 0x8b, 0x5c, 0x9f, 0xb5, 0x81, 0xe1, 0xc7, 0xb1, 0x37, 0xf9, 0x3b, 0x89, 0x37, 0xf9,
4048 0x66, 0x8a, 0xf7, 0x1a, 0x5e, 0xe4, 0x7f, 0xd3, 0xc0, 0x4e, 0x76, 0x03, 0x83, 0x4f, 0x63, 0xd1,
4049 0x19, 0x89, 0xe8, 0x1e, 0x26, 0x58, 0x2a, 0xb6, 0xdf, 0x80, 0xa2, 0x6a, 0x73, 0xf1, 0x3f, 0x3c,
4050 0x62, 0x31, 0x86, 0xe7, 0x53, 0x78, 0x43, 0x51, 0x12, 0xd1, 0x16, 0x97, 0x6f, 0x8b, 0xf8, 0x18,
4051 0x4a, 0xa8, 0x95, 0xff, 0xae, 0x81, 0x77, 0xee, 0x6c, 0x50, 0xd0, 0x8a, 0x85, 0x6e, 0x26, 0x42,
4052 0x2f, 0xcd, 0x16, 0x78, 0x3d, 0xff, 0x7b, 0x58, 0x1f, 0xdc, 0xbe, 0x2c, 0x2d, 0x7c, 0xf5, 0xb2,
4053 0xb4, 0xf0, 0xf5, 0xcb, 0xd2, 0xc2, 0xef, 0x87, 0x25, 0xed, 0x76, 0x58, 0xd2, 0xbe, 0x1a, 0x96,
4054 0xb4, 0xaf, 0x87, 0x25, 0xed, 0x3f, 0xc3, 0x92, 0xf6, 0xe7, 0xff, 0x96, 0x16, 0x7e, 0x95, 0x57,
4055 0x72, 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xfc, 0x91, 0xe5, 0x7f, 0xdc, 0x14, 0x00, 0x00,
4056}