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