blob: ed7a9e6a880294c70a82df3b6d43b351b37338c5 [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/extensions/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/extensions/v1beta1/generated.proto
25
26 It has these top-level messages:
27 AllowedCSIDriver
28 AllowedFlexVolume
29 AllowedHostPath
30 DaemonSet
31 DaemonSetCondition
32 DaemonSetList
33 DaemonSetSpec
34 DaemonSetStatus
35 DaemonSetUpdateStrategy
36 Deployment
37 DeploymentCondition
38 DeploymentList
39 DeploymentRollback
40 DeploymentSpec
41 DeploymentStatus
42 DeploymentStrategy
43 FSGroupStrategyOptions
44 HTTPIngressPath
45 HTTPIngressRuleValue
46 HostPortRange
47 IDRange
48 IPBlock
49 Ingress
50 IngressBackend
51 IngressList
52 IngressRule
53 IngressRuleValue
54 IngressSpec
55 IngressStatus
56 IngressTLS
57 NetworkPolicy
58 NetworkPolicyEgressRule
59 NetworkPolicyIngressRule
60 NetworkPolicyList
61 NetworkPolicyPeer
62 NetworkPolicyPort
63 NetworkPolicySpec
64 PodSecurityPolicy
65 PodSecurityPolicyList
66 PodSecurityPolicySpec
67 ReplicaSet
68 ReplicaSetCondition
69 ReplicaSetList
70 ReplicaSetSpec
71 ReplicaSetStatus
72 ReplicationControllerDummy
73 RollbackConfig
74 RollingUpdateDaemonSet
75 RollingUpdateDeployment
76 RunAsGroupStrategyOptions
77 RunAsUserStrategyOptions
78 RuntimeClassStrategyOptions
79 SELinuxStrategyOptions
80 Scale
81 ScaleSpec
82 ScaleStatus
83 SupplementalGroupsStrategyOptions
84*/
85package v1beta1
86
Scott Baker4a35a702019-11-26 08:17:33 -080087import (
88 fmt "fmt"
Zack Williamse940c7a2019-08-21 14:25:39 -070089
Scott Baker4a35a702019-11-26 08:17:33 -080090 proto "github.com/gogo/protobuf/proto"
Zack Williamse940c7a2019-08-21 14:25:39 -070091
Scott Baker4a35a702019-11-26 08:17:33 -080092 math "math"
Zack Williamse940c7a2019-08-21 14:25:39 -070093
Scott Baker4a35a702019-11-26 08:17:33 -080094 k8s_io_api_core_v1 "k8s.io/api/core/v1"
Zack Williamse940c7a2019-08-21 14:25:39 -070095
Scott Baker4a35a702019-11-26 08:17:33 -080096 k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Zack Williamse940c7a2019-08-21 14:25:39 -070097
Scott Baker4a35a702019-11-26 08:17:33 -080098 k8s_io_apimachinery_pkg_util_intstr "k8s.io/apimachinery/pkg/util/intstr"
99
100 github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
101
102 strings "strings"
103
104 reflect "reflect"
105
106 io "io"
107)
Zack Williamse940c7a2019-08-21 14:25:39 -0700108
109// Reference imports to suppress errors if they are not otherwise used.
110var _ = proto.Marshal
111var _ = fmt.Errorf
112var _ = math.Inf
113
114// This is a compile-time assertion to ensure that this generated file
115// is compatible with the proto package it is being compiled against.
116// A compilation error at this line likely means your copy of the
117// proto package needs to be updated.
118const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
119
120func (m *AllowedCSIDriver) Reset() { *m = AllowedCSIDriver{} }
121func (*AllowedCSIDriver) ProtoMessage() {}
122func (*AllowedCSIDriver) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
123
124func (m *AllowedFlexVolume) Reset() { *m = AllowedFlexVolume{} }
125func (*AllowedFlexVolume) ProtoMessage() {}
126func (*AllowedFlexVolume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
127
128func (m *AllowedHostPath) Reset() { *m = AllowedHostPath{} }
129func (*AllowedHostPath) ProtoMessage() {}
130func (*AllowedHostPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
131
132func (m *DaemonSet) Reset() { *m = DaemonSet{} }
133func (*DaemonSet) ProtoMessage() {}
134func (*DaemonSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
135
136func (m *DaemonSetCondition) Reset() { *m = DaemonSetCondition{} }
137func (*DaemonSetCondition) ProtoMessage() {}
138func (*DaemonSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
139
140func (m *DaemonSetList) Reset() { *m = DaemonSetList{} }
141func (*DaemonSetList) ProtoMessage() {}
142func (*DaemonSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
143
144func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} }
145func (*DaemonSetSpec) ProtoMessage() {}
146func (*DaemonSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
147
148func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} }
149func (*DaemonSetStatus) ProtoMessage() {}
150func (*DaemonSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
151
152func (m *DaemonSetUpdateStrategy) Reset() { *m = DaemonSetUpdateStrategy{} }
153func (*DaemonSetUpdateStrategy) ProtoMessage() {}
154func (*DaemonSetUpdateStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
155
156func (m *Deployment) Reset() { *m = Deployment{} }
157func (*Deployment) ProtoMessage() {}
158func (*Deployment) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
159
160func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} }
161func (*DeploymentCondition) ProtoMessage() {}
162func (*DeploymentCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} }
163
164func (m *DeploymentList) Reset() { *m = DeploymentList{} }
165func (*DeploymentList) ProtoMessage() {}
166func (*DeploymentList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
167
168func (m *DeploymentRollback) Reset() { *m = DeploymentRollback{} }
169func (*DeploymentRollback) ProtoMessage() {}
170func (*DeploymentRollback) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
171
172func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} }
173func (*DeploymentSpec) ProtoMessage() {}
174func (*DeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} }
175
176func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} }
177func (*DeploymentStatus) ProtoMessage() {}
178func (*DeploymentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
179
180func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} }
181func (*DeploymentStrategy) ProtoMessage() {}
182func (*DeploymentStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
183
184func (m *FSGroupStrategyOptions) Reset() { *m = FSGroupStrategyOptions{} }
185func (*FSGroupStrategyOptions) ProtoMessage() {}
186func (*FSGroupStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
187
188func (m *HTTPIngressPath) Reset() { *m = HTTPIngressPath{} }
189func (*HTTPIngressPath) ProtoMessage() {}
190func (*HTTPIngressPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
191
192func (m *HTTPIngressRuleValue) Reset() { *m = HTTPIngressRuleValue{} }
193func (*HTTPIngressRuleValue) ProtoMessage() {}
194func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} }
195
196func (m *HostPortRange) Reset() { *m = HostPortRange{} }
197func (*HostPortRange) ProtoMessage() {}
198func (*HostPortRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} }
199
200func (m *IDRange) Reset() { *m = IDRange{} }
201func (*IDRange) ProtoMessage() {}
202func (*IDRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} }
203
204func (m *IPBlock) Reset() { *m = IPBlock{} }
205func (*IPBlock) ProtoMessage() {}
206func (*IPBlock) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} }
207
208func (m *Ingress) Reset() { *m = Ingress{} }
209func (*Ingress) ProtoMessage() {}
210func (*Ingress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} }
211
212func (m *IngressBackend) Reset() { *m = IngressBackend{} }
213func (*IngressBackend) ProtoMessage() {}
214func (*IngressBackend) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} }
215
216func (m *IngressList) Reset() { *m = IngressList{} }
217func (*IngressList) ProtoMessage() {}
218func (*IngressList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} }
219
220func (m *IngressRule) Reset() { *m = IngressRule{} }
221func (*IngressRule) ProtoMessage() {}
222func (*IngressRule) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} }
223
224func (m *IngressRuleValue) Reset() { *m = IngressRuleValue{} }
225func (*IngressRuleValue) ProtoMessage() {}
226func (*IngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} }
227
228func (m *IngressSpec) Reset() { *m = IngressSpec{} }
229func (*IngressSpec) ProtoMessage() {}
230func (*IngressSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} }
231
232func (m *IngressStatus) Reset() { *m = IngressStatus{} }
233func (*IngressStatus) ProtoMessage() {}
234func (*IngressStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} }
235
236func (m *IngressTLS) Reset() { *m = IngressTLS{} }
237func (*IngressTLS) ProtoMessage() {}
238func (*IngressTLS) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} }
239
240func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} }
241func (*NetworkPolicy) ProtoMessage() {}
242func (*NetworkPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} }
243
244func (m *NetworkPolicyEgressRule) Reset() { *m = NetworkPolicyEgressRule{} }
245func (*NetworkPolicyEgressRule) ProtoMessage() {}
246func (*NetworkPolicyEgressRule) Descriptor() ([]byte, []int) {
247 return fileDescriptorGenerated, []int{31}
248}
249
250func (m *NetworkPolicyIngressRule) Reset() { *m = NetworkPolicyIngressRule{} }
251func (*NetworkPolicyIngressRule) ProtoMessage() {}
252func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) {
253 return fileDescriptorGenerated, []int{32}
254}
255
256func (m *NetworkPolicyList) Reset() { *m = NetworkPolicyList{} }
257func (*NetworkPolicyList) ProtoMessage() {}
258func (*NetworkPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} }
259
260func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} }
261func (*NetworkPolicyPeer) ProtoMessage() {}
262func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} }
263
264func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} }
265func (*NetworkPolicyPort) ProtoMessage() {}
266func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} }
267
268func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} }
269func (*NetworkPolicySpec) ProtoMessage() {}
270func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} }
271
272func (m *PodSecurityPolicy) Reset() { *m = PodSecurityPolicy{} }
273func (*PodSecurityPolicy) ProtoMessage() {}
274func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} }
275
276func (m *PodSecurityPolicyList) Reset() { *m = PodSecurityPolicyList{} }
277func (*PodSecurityPolicyList) ProtoMessage() {}
278func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} }
279
280func (m *PodSecurityPolicySpec) Reset() { *m = PodSecurityPolicySpec{} }
281func (*PodSecurityPolicySpec) ProtoMessage() {}
282func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} }
283
284func (m *ReplicaSet) Reset() { *m = ReplicaSet{} }
285func (*ReplicaSet) ProtoMessage() {}
286func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{40} }
287
288func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} }
289func (*ReplicaSetCondition) ProtoMessage() {}
290func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} }
291
292func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} }
293func (*ReplicaSetList) ProtoMessage() {}
294func (*ReplicaSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} }
295
296func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} }
297func (*ReplicaSetSpec) ProtoMessage() {}
298func (*ReplicaSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} }
299
300func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} }
301func (*ReplicaSetStatus) ProtoMessage() {}
302func (*ReplicaSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} }
303
304func (m *ReplicationControllerDummy) Reset() { *m = ReplicationControllerDummy{} }
305func (*ReplicationControllerDummy) ProtoMessage() {}
306func (*ReplicationControllerDummy) Descriptor() ([]byte, []int) {
307 return fileDescriptorGenerated, []int{45}
308}
309
310func (m *RollbackConfig) Reset() { *m = RollbackConfig{} }
311func (*RollbackConfig) ProtoMessage() {}
312func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} }
313
314func (m *RollingUpdateDaemonSet) Reset() { *m = RollingUpdateDaemonSet{} }
315func (*RollingUpdateDaemonSet) ProtoMessage() {}
316func (*RollingUpdateDaemonSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} }
317
318func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} }
319func (*RollingUpdateDeployment) ProtoMessage() {}
320func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) {
321 return fileDescriptorGenerated, []int{48}
322}
323
324func (m *RunAsGroupStrategyOptions) Reset() { *m = RunAsGroupStrategyOptions{} }
325func (*RunAsGroupStrategyOptions) ProtoMessage() {}
326func (*RunAsGroupStrategyOptions) Descriptor() ([]byte, []int) {
327 return fileDescriptorGenerated, []int{49}
328}
329
330func (m *RunAsUserStrategyOptions) Reset() { *m = RunAsUserStrategyOptions{} }
331func (*RunAsUserStrategyOptions) ProtoMessage() {}
332func (*RunAsUserStrategyOptions) Descriptor() ([]byte, []int) {
333 return fileDescriptorGenerated, []int{50}
334}
335
336func (m *RuntimeClassStrategyOptions) Reset() { *m = RuntimeClassStrategyOptions{} }
337func (*RuntimeClassStrategyOptions) ProtoMessage() {}
338func (*RuntimeClassStrategyOptions) Descriptor() ([]byte, []int) {
339 return fileDescriptorGenerated, []int{51}
340}
341
342func (m *SELinuxStrategyOptions) Reset() { *m = SELinuxStrategyOptions{} }
343func (*SELinuxStrategyOptions) ProtoMessage() {}
344func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} }
345
346func (m *Scale) Reset() { *m = Scale{} }
347func (*Scale) ProtoMessage() {}
348func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{53} }
349
350func (m *ScaleSpec) Reset() { *m = ScaleSpec{} }
351func (*ScaleSpec) ProtoMessage() {}
352func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{54} }
353
354func (m *ScaleStatus) Reset() { *m = ScaleStatus{} }
355func (*ScaleStatus) ProtoMessage() {}
356func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{55} }
357
358func (m *SupplementalGroupsStrategyOptions) Reset() { *m = SupplementalGroupsStrategyOptions{} }
359func (*SupplementalGroupsStrategyOptions) ProtoMessage() {}
360func (*SupplementalGroupsStrategyOptions) Descriptor() ([]byte, []int) {
361 return fileDescriptorGenerated, []int{56}
362}
363
364func init() {
365 proto.RegisterType((*AllowedCSIDriver)(nil), "k8s.io.api.extensions.v1beta1.AllowedCSIDriver")
366 proto.RegisterType((*AllowedFlexVolume)(nil), "k8s.io.api.extensions.v1beta1.AllowedFlexVolume")
367 proto.RegisterType((*AllowedHostPath)(nil), "k8s.io.api.extensions.v1beta1.AllowedHostPath")
368 proto.RegisterType((*DaemonSet)(nil), "k8s.io.api.extensions.v1beta1.DaemonSet")
369 proto.RegisterType((*DaemonSetCondition)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetCondition")
370 proto.RegisterType((*DaemonSetList)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetList")
371 proto.RegisterType((*DaemonSetSpec)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetSpec")
372 proto.RegisterType((*DaemonSetStatus)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetStatus")
373 proto.RegisterType((*DaemonSetUpdateStrategy)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetUpdateStrategy")
374 proto.RegisterType((*Deployment)(nil), "k8s.io.api.extensions.v1beta1.Deployment")
375 proto.RegisterType((*DeploymentCondition)(nil), "k8s.io.api.extensions.v1beta1.DeploymentCondition")
376 proto.RegisterType((*DeploymentList)(nil), "k8s.io.api.extensions.v1beta1.DeploymentList")
377 proto.RegisterType((*DeploymentRollback)(nil), "k8s.io.api.extensions.v1beta1.DeploymentRollback")
378 proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.api.extensions.v1beta1.DeploymentSpec")
379 proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.api.extensions.v1beta1.DeploymentStatus")
380 proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.api.extensions.v1beta1.DeploymentStrategy")
381 proto.RegisterType((*FSGroupStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.FSGroupStrategyOptions")
382 proto.RegisterType((*HTTPIngressPath)(nil), "k8s.io.api.extensions.v1beta1.HTTPIngressPath")
383 proto.RegisterType((*HTTPIngressRuleValue)(nil), "k8s.io.api.extensions.v1beta1.HTTPIngressRuleValue")
384 proto.RegisterType((*HostPortRange)(nil), "k8s.io.api.extensions.v1beta1.HostPortRange")
385 proto.RegisterType((*IDRange)(nil), "k8s.io.api.extensions.v1beta1.IDRange")
386 proto.RegisterType((*IPBlock)(nil), "k8s.io.api.extensions.v1beta1.IPBlock")
387 proto.RegisterType((*Ingress)(nil), "k8s.io.api.extensions.v1beta1.Ingress")
388 proto.RegisterType((*IngressBackend)(nil), "k8s.io.api.extensions.v1beta1.IngressBackend")
389 proto.RegisterType((*IngressList)(nil), "k8s.io.api.extensions.v1beta1.IngressList")
390 proto.RegisterType((*IngressRule)(nil), "k8s.io.api.extensions.v1beta1.IngressRule")
391 proto.RegisterType((*IngressRuleValue)(nil), "k8s.io.api.extensions.v1beta1.IngressRuleValue")
392 proto.RegisterType((*IngressSpec)(nil), "k8s.io.api.extensions.v1beta1.IngressSpec")
393 proto.RegisterType((*IngressStatus)(nil), "k8s.io.api.extensions.v1beta1.IngressStatus")
394 proto.RegisterType((*IngressTLS)(nil), "k8s.io.api.extensions.v1beta1.IngressTLS")
395 proto.RegisterType((*NetworkPolicy)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicy")
396 proto.RegisterType((*NetworkPolicyEgressRule)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyEgressRule")
397 proto.RegisterType((*NetworkPolicyIngressRule)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyIngressRule")
398 proto.RegisterType((*NetworkPolicyList)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyList")
399 proto.RegisterType((*NetworkPolicyPeer)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyPeer")
400 proto.RegisterType((*NetworkPolicyPort)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyPort")
401 proto.RegisterType((*NetworkPolicySpec)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicySpec")
402 proto.RegisterType((*PodSecurityPolicy)(nil), "k8s.io.api.extensions.v1beta1.PodSecurityPolicy")
403 proto.RegisterType((*PodSecurityPolicyList)(nil), "k8s.io.api.extensions.v1beta1.PodSecurityPolicyList")
404 proto.RegisterType((*PodSecurityPolicySpec)(nil), "k8s.io.api.extensions.v1beta1.PodSecurityPolicySpec")
405 proto.RegisterType((*ReplicaSet)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSet")
406 proto.RegisterType((*ReplicaSetCondition)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetCondition")
407 proto.RegisterType((*ReplicaSetList)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetList")
408 proto.RegisterType((*ReplicaSetSpec)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetSpec")
409 proto.RegisterType((*ReplicaSetStatus)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetStatus")
410 proto.RegisterType((*ReplicationControllerDummy)(nil), "k8s.io.api.extensions.v1beta1.ReplicationControllerDummy")
411 proto.RegisterType((*RollbackConfig)(nil), "k8s.io.api.extensions.v1beta1.RollbackConfig")
412 proto.RegisterType((*RollingUpdateDaemonSet)(nil), "k8s.io.api.extensions.v1beta1.RollingUpdateDaemonSet")
413 proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.api.extensions.v1beta1.RollingUpdateDeployment")
414 proto.RegisterType((*RunAsGroupStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.RunAsGroupStrategyOptions")
415 proto.RegisterType((*RunAsUserStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.RunAsUserStrategyOptions")
416 proto.RegisterType((*RuntimeClassStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.RuntimeClassStrategyOptions")
417 proto.RegisterType((*SELinuxStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.SELinuxStrategyOptions")
418 proto.RegisterType((*Scale)(nil), "k8s.io.api.extensions.v1beta1.Scale")
419 proto.RegisterType((*ScaleSpec)(nil), "k8s.io.api.extensions.v1beta1.ScaleSpec")
420 proto.RegisterType((*ScaleStatus)(nil), "k8s.io.api.extensions.v1beta1.ScaleStatus")
421 proto.RegisterType((*SupplementalGroupsStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.SupplementalGroupsStrategyOptions")
422}
423func (m *AllowedCSIDriver) Marshal() (dAtA []byte, err error) {
424 size := m.Size()
425 dAtA = make([]byte, size)
426 n, err := m.MarshalTo(dAtA)
427 if err != nil {
428 return nil, err
429 }
430 return dAtA[:n], nil
431}
432
433func (m *AllowedCSIDriver) MarshalTo(dAtA []byte) (int, error) {
434 var i int
435 _ = i
436 var l int
437 _ = l
438 dAtA[i] = 0xa
439 i++
440 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
441 i += copy(dAtA[i:], m.Name)
442 return i, nil
443}
444
445func (m *AllowedFlexVolume) Marshal() (dAtA []byte, err error) {
446 size := m.Size()
447 dAtA = make([]byte, size)
448 n, err := m.MarshalTo(dAtA)
449 if err != nil {
450 return nil, err
451 }
452 return dAtA[:n], nil
453}
454
455func (m *AllowedFlexVolume) MarshalTo(dAtA []byte) (int, error) {
456 var i int
457 _ = i
458 var l int
459 _ = l
460 dAtA[i] = 0xa
461 i++
462 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Driver)))
463 i += copy(dAtA[i:], m.Driver)
464 return i, nil
465}
466
467func (m *AllowedHostPath) Marshal() (dAtA []byte, err error) {
468 size := m.Size()
469 dAtA = make([]byte, size)
470 n, err := m.MarshalTo(dAtA)
471 if err != nil {
472 return nil, err
473 }
474 return dAtA[:n], nil
475}
476
477func (m *AllowedHostPath) MarshalTo(dAtA []byte) (int, error) {
478 var i int
479 _ = i
480 var l int
481 _ = l
482 dAtA[i] = 0xa
483 i++
484 i = encodeVarintGenerated(dAtA, i, uint64(len(m.PathPrefix)))
485 i += copy(dAtA[i:], m.PathPrefix)
486 dAtA[i] = 0x10
487 i++
488 if m.ReadOnly {
489 dAtA[i] = 1
490 } else {
491 dAtA[i] = 0
492 }
493 i++
494 return i, nil
495}
496
497func (m *DaemonSet) Marshal() (dAtA []byte, err error) {
498 size := m.Size()
499 dAtA = make([]byte, size)
500 n, err := m.MarshalTo(dAtA)
501 if err != nil {
502 return nil, err
503 }
504 return dAtA[:n], nil
505}
506
507func (m *DaemonSet) MarshalTo(dAtA []byte) (int, error) {
508 var i int
509 _ = i
510 var l int
511 _ = l
512 dAtA[i] = 0xa
513 i++
514 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
515 n1, err := m.ObjectMeta.MarshalTo(dAtA[i:])
516 if err != nil {
517 return 0, err
518 }
519 i += n1
520 dAtA[i] = 0x12
521 i++
522 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
523 n2, err := m.Spec.MarshalTo(dAtA[i:])
524 if err != nil {
525 return 0, err
526 }
527 i += n2
528 dAtA[i] = 0x1a
529 i++
530 i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
531 n3, err := m.Status.MarshalTo(dAtA[i:])
532 if err != nil {
533 return 0, err
534 }
535 i += n3
536 return i, nil
537}
538
539func (m *DaemonSetCondition) Marshal() (dAtA []byte, err error) {
540 size := m.Size()
541 dAtA = make([]byte, size)
542 n, err := m.MarshalTo(dAtA)
543 if err != nil {
544 return nil, err
545 }
546 return dAtA[:n], nil
547}
548
549func (m *DaemonSetCondition) MarshalTo(dAtA []byte) (int, error) {
550 var i int
551 _ = i
552 var l int
553 _ = l
554 dAtA[i] = 0xa
555 i++
556 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
557 i += copy(dAtA[i:], m.Type)
558 dAtA[i] = 0x12
559 i++
560 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
561 i += copy(dAtA[i:], m.Status)
562 dAtA[i] = 0x1a
563 i++
564 i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
565 n4, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
566 if err != nil {
567 return 0, err
568 }
569 i += n4
570 dAtA[i] = 0x22
571 i++
572 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
573 i += copy(dAtA[i:], m.Reason)
574 dAtA[i] = 0x2a
575 i++
576 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
577 i += copy(dAtA[i:], m.Message)
578 return i, nil
579}
580
581func (m *DaemonSetList) Marshal() (dAtA []byte, err error) {
582 size := m.Size()
583 dAtA = make([]byte, size)
584 n, err := m.MarshalTo(dAtA)
585 if err != nil {
586 return nil, err
587 }
588 return dAtA[:n], nil
589}
590
591func (m *DaemonSetList) MarshalTo(dAtA []byte) (int, error) {
592 var i int
593 _ = i
594 var l int
595 _ = l
596 dAtA[i] = 0xa
597 i++
598 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
599 n5, err := m.ListMeta.MarshalTo(dAtA[i:])
600 if err != nil {
601 return 0, err
602 }
603 i += n5
604 if len(m.Items) > 0 {
605 for _, msg := range m.Items {
606 dAtA[i] = 0x12
607 i++
608 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
609 n, err := msg.MarshalTo(dAtA[i:])
610 if err != nil {
611 return 0, err
612 }
613 i += n
614 }
615 }
616 return i, nil
617}
618
619func (m *DaemonSetSpec) Marshal() (dAtA []byte, err error) {
620 size := m.Size()
621 dAtA = make([]byte, size)
622 n, err := m.MarshalTo(dAtA)
623 if err != nil {
624 return nil, err
625 }
626 return dAtA[:n], nil
627}
628
629func (m *DaemonSetSpec) MarshalTo(dAtA []byte) (int, error) {
630 var i int
631 _ = i
632 var l int
633 _ = l
634 if m.Selector != nil {
635 dAtA[i] = 0xa
636 i++
637 i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
638 n6, err := m.Selector.MarshalTo(dAtA[i:])
639 if err != nil {
640 return 0, err
641 }
642 i += n6
643 }
644 dAtA[i] = 0x12
645 i++
646 i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
647 n7, err := m.Template.MarshalTo(dAtA[i:])
648 if err != nil {
649 return 0, err
650 }
651 i += n7
652 dAtA[i] = 0x1a
653 i++
654 i = encodeVarintGenerated(dAtA, i, uint64(m.UpdateStrategy.Size()))
655 n8, err := m.UpdateStrategy.MarshalTo(dAtA[i:])
656 if err != nil {
657 return 0, err
658 }
659 i += n8
660 dAtA[i] = 0x20
661 i++
662 i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
663 dAtA[i] = 0x28
664 i++
665 i = encodeVarintGenerated(dAtA, i, uint64(m.TemplateGeneration))
666 if m.RevisionHistoryLimit != nil {
667 dAtA[i] = 0x30
668 i++
669 i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
670 }
671 return i, nil
672}
673
674func (m *DaemonSetStatus) Marshal() (dAtA []byte, err error) {
675 size := m.Size()
676 dAtA = make([]byte, size)
677 n, err := m.MarshalTo(dAtA)
678 if err != nil {
679 return nil, err
680 }
681 return dAtA[:n], nil
682}
683
684func (m *DaemonSetStatus) MarshalTo(dAtA []byte) (int, error) {
685 var i int
686 _ = i
687 var l int
688 _ = l
689 dAtA[i] = 0x8
690 i++
691 i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentNumberScheduled))
692 dAtA[i] = 0x10
693 i++
694 i = encodeVarintGenerated(dAtA, i, uint64(m.NumberMisscheduled))
695 dAtA[i] = 0x18
696 i++
697 i = encodeVarintGenerated(dAtA, i, uint64(m.DesiredNumberScheduled))
698 dAtA[i] = 0x20
699 i++
700 i = encodeVarintGenerated(dAtA, i, uint64(m.NumberReady))
701 dAtA[i] = 0x28
702 i++
703 i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
704 dAtA[i] = 0x30
705 i++
706 i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedNumberScheduled))
707 dAtA[i] = 0x38
708 i++
709 i = encodeVarintGenerated(dAtA, i, uint64(m.NumberAvailable))
710 dAtA[i] = 0x40
711 i++
712 i = encodeVarintGenerated(dAtA, i, uint64(m.NumberUnavailable))
713 if m.CollisionCount != nil {
714 dAtA[i] = 0x48
715 i++
716 i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
717 }
718 if len(m.Conditions) > 0 {
719 for _, msg := range m.Conditions {
720 dAtA[i] = 0x52
721 i++
722 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
723 n, err := msg.MarshalTo(dAtA[i:])
724 if err != nil {
725 return 0, err
726 }
727 i += n
728 }
729 }
730 return i, nil
731}
732
733func (m *DaemonSetUpdateStrategy) Marshal() (dAtA []byte, err error) {
734 size := m.Size()
735 dAtA = make([]byte, size)
736 n, err := m.MarshalTo(dAtA)
737 if err != nil {
738 return nil, err
739 }
740 return dAtA[:n], nil
741}
742
743func (m *DaemonSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error) {
744 var i int
745 _ = i
746 var l int
747 _ = l
748 dAtA[i] = 0xa
749 i++
750 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
751 i += copy(dAtA[i:], m.Type)
752 if m.RollingUpdate != nil {
753 dAtA[i] = 0x12
754 i++
755 i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size()))
756 n9, err := m.RollingUpdate.MarshalTo(dAtA[i:])
757 if err != nil {
758 return 0, err
759 }
760 i += n9
761 }
762 return i, nil
763}
764
765func (m *Deployment) Marshal() (dAtA []byte, err error) {
766 size := m.Size()
767 dAtA = make([]byte, size)
768 n, err := m.MarshalTo(dAtA)
769 if err != nil {
770 return nil, err
771 }
772 return dAtA[:n], nil
773}
774
775func (m *Deployment) MarshalTo(dAtA []byte) (int, error) {
776 var i int
777 _ = i
778 var l int
779 _ = l
780 dAtA[i] = 0xa
781 i++
782 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
783 n10, err := m.ObjectMeta.MarshalTo(dAtA[i:])
784 if err != nil {
785 return 0, err
786 }
787 i += n10
788 dAtA[i] = 0x12
789 i++
790 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
791 n11, err := m.Spec.MarshalTo(dAtA[i:])
792 if err != nil {
793 return 0, err
794 }
795 i += n11
796 dAtA[i] = 0x1a
797 i++
798 i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
799 n12, err := m.Status.MarshalTo(dAtA[i:])
800 if err != nil {
801 return 0, err
802 }
803 i += n12
804 return i, nil
805}
806
807func (m *DeploymentCondition) Marshal() (dAtA []byte, err error) {
808 size := m.Size()
809 dAtA = make([]byte, size)
810 n, err := m.MarshalTo(dAtA)
811 if err != nil {
812 return nil, err
813 }
814 return dAtA[:n], nil
815}
816
817func (m *DeploymentCondition) MarshalTo(dAtA []byte) (int, error) {
818 var i int
819 _ = i
820 var l int
821 _ = l
822 dAtA[i] = 0xa
823 i++
824 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
825 i += copy(dAtA[i:], m.Type)
826 dAtA[i] = 0x12
827 i++
828 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
829 i += copy(dAtA[i:], m.Status)
830 dAtA[i] = 0x22
831 i++
832 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
833 i += copy(dAtA[i:], m.Reason)
834 dAtA[i] = 0x2a
835 i++
836 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
837 i += copy(dAtA[i:], m.Message)
838 dAtA[i] = 0x32
839 i++
840 i = encodeVarintGenerated(dAtA, i, uint64(m.LastUpdateTime.Size()))
841 n13, err := m.LastUpdateTime.MarshalTo(dAtA[i:])
842 if err != nil {
843 return 0, err
844 }
845 i += n13
846 dAtA[i] = 0x3a
847 i++
848 i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
849 n14, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
850 if err != nil {
851 return 0, err
852 }
853 i += n14
854 return i, nil
855}
856
857func (m *DeploymentList) Marshal() (dAtA []byte, err error) {
858 size := m.Size()
859 dAtA = make([]byte, size)
860 n, err := m.MarshalTo(dAtA)
861 if err != nil {
862 return nil, err
863 }
864 return dAtA[:n], nil
865}
866
867func (m *DeploymentList) MarshalTo(dAtA []byte) (int, error) {
868 var i int
869 _ = i
870 var l int
871 _ = l
872 dAtA[i] = 0xa
873 i++
874 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
875 n15, err := m.ListMeta.MarshalTo(dAtA[i:])
876 if err != nil {
877 return 0, err
878 }
879 i += n15
880 if len(m.Items) > 0 {
881 for _, msg := range m.Items {
882 dAtA[i] = 0x12
883 i++
884 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
885 n, err := msg.MarshalTo(dAtA[i:])
886 if err != nil {
887 return 0, err
888 }
889 i += n
890 }
891 }
892 return i, nil
893}
894
895func (m *DeploymentRollback) Marshal() (dAtA []byte, err error) {
896 size := m.Size()
897 dAtA = make([]byte, size)
898 n, err := m.MarshalTo(dAtA)
899 if err != nil {
900 return nil, err
901 }
902 return dAtA[:n], nil
903}
904
905func (m *DeploymentRollback) MarshalTo(dAtA []byte) (int, error) {
906 var i int
907 _ = i
908 var l int
909 _ = l
910 dAtA[i] = 0xa
911 i++
912 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
913 i += copy(dAtA[i:], m.Name)
914 if len(m.UpdatedAnnotations) > 0 {
915 keysForUpdatedAnnotations := make([]string, 0, len(m.UpdatedAnnotations))
916 for k := range m.UpdatedAnnotations {
917 keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, string(k))
918 }
919 github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations)
920 for _, k := range keysForUpdatedAnnotations {
921 dAtA[i] = 0x12
922 i++
923 v := m.UpdatedAnnotations[string(k)]
924 mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
925 i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
926 dAtA[i] = 0xa
927 i++
928 i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
929 i += copy(dAtA[i:], k)
930 dAtA[i] = 0x12
931 i++
932 i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
933 i += copy(dAtA[i:], v)
934 }
935 }
936 dAtA[i] = 0x1a
937 i++
938 i = encodeVarintGenerated(dAtA, i, uint64(m.RollbackTo.Size()))
939 n16, err := m.RollbackTo.MarshalTo(dAtA[i:])
940 if err != nil {
941 return 0, err
942 }
943 i += n16
944 return i, nil
945}
946
947func (m *DeploymentSpec) Marshal() (dAtA []byte, err error) {
948 size := m.Size()
949 dAtA = make([]byte, size)
950 n, err := m.MarshalTo(dAtA)
951 if err != nil {
952 return nil, err
953 }
954 return dAtA[:n], nil
955}
956
957func (m *DeploymentSpec) MarshalTo(dAtA []byte) (int, error) {
958 var i int
959 _ = i
960 var l int
961 _ = l
962 if m.Replicas != nil {
963 dAtA[i] = 0x8
964 i++
965 i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
966 }
967 if m.Selector != nil {
968 dAtA[i] = 0x12
969 i++
970 i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
971 n17, err := m.Selector.MarshalTo(dAtA[i:])
972 if err != nil {
973 return 0, err
974 }
975 i += n17
976 }
977 dAtA[i] = 0x1a
978 i++
979 i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
980 n18, err := m.Template.MarshalTo(dAtA[i:])
981 if err != nil {
982 return 0, err
983 }
984 i += n18
985 dAtA[i] = 0x22
986 i++
987 i = encodeVarintGenerated(dAtA, i, uint64(m.Strategy.Size()))
988 n19, err := m.Strategy.MarshalTo(dAtA[i:])
989 if err != nil {
990 return 0, err
991 }
992 i += n19
993 dAtA[i] = 0x28
994 i++
995 i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
996 if m.RevisionHistoryLimit != nil {
997 dAtA[i] = 0x30
998 i++
999 i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
1000 }
1001 dAtA[i] = 0x38
1002 i++
1003 if m.Paused {
1004 dAtA[i] = 1
1005 } else {
1006 dAtA[i] = 0
1007 }
1008 i++
1009 if m.RollbackTo != nil {
1010 dAtA[i] = 0x42
1011 i++
1012 i = encodeVarintGenerated(dAtA, i, uint64(m.RollbackTo.Size()))
1013 n20, err := m.RollbackTo.MarshalTo(dAtA[i:])
1014 if err != nil {
1015 return 0, err
1016 }
1017 i += n20
1018 }
1019 if m.ProgressDeadlineSeconds != nil {
1020 dAtA[i] = 0x48
1021 i++
1022 i = encodeVarintGenerated(dAtA, i, uint64(*m.ProgressDeadlineSeconds))
1023 }
1024 return i, nil
1025}
1026
1027func (m *DeploymentStatus) Marshal() (dAtA []byte, err error) {
1028 size := m.Size()
1029 dAtA = make([]byte, size)
1030 n, err := m.MarshalTo(dAtA)
1031 if err != nil {
1032 return nil, err
1033 }
1034 return dAtA[:n], nil
1035}
1036
1037func (m *DeploymentStatus) MarshalTo(dAtA []byte) (int, error) {
1038 var i int
1039 _ = i
1040 var l int
1041 _ = l
1042 dAtA[i] = 0x8
1043 i++
1044 i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
1045 dAtA[i] = 0x10
1046 i++
1047 i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
1048 dAtA[i] = 0x18
1049 i++
1050 i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas))
1051 dAtA[i] = 0x20
1052 i++
1053 i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
1054 dAtA[i] = 0x28
1055 i++
1056 i = encodeVarintGenerated(dAtA, i, uint64(m.UnavailableReplicas))
1057 if len(m.Conditions) > 0 {
1058 for _, msg := range m.Conditions {
1059 dAtA[i] = 0x32
1060 i++
1061 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1062 n, err := msg.MarshalTo(dAtA[i:])
1063 if err != nil {
1064 return 0, err
1065 }
1066 i += n
1067 }
1068 }
1069 dAtA[i] = 0x38
1070 i++
1071 i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
1072 if m.CollisionCount != nil {
1073 dAtA[i] = 0x40
1074 i++
1075 i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
1076 }
1077 return i, nil
1078}
1079
1080func (m *DeploymentStrategy) Marshal() (dAtA []byte, err error) {
1081 size := m.Size()
1082 dAtA = make([]byte, size)
1083 n, err := m.MarshalTo(dAtA)
1084 if err != nil {
1085 return nil, err
1086 }
1087 return dAtA[:n], nil
1088}
1089
1090func (m *DeploymentStrategy) MarshalTo(dAtA []byte) (int, error) {
1091 var i int
1092 _ = i
1093 var l int
1094 _ = l
1095 dAtA[i] = 0xa
1096 i++
1097 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
1098 i += copy(dAtA[i:], m.Type)
1099 if m.RollingUpdate != nil {
1100 dAtA[i] = 0x12
1101 i++
1102 i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size()))
1103 n21, err := m.RollingUpdate.MarshalTo(dAtA[i:])
1104 if err != nil {
1105 return 0, err
1106 }
1107 i += n21
1108 }
1109 return i, nil
1110}
1111
1112func (m *FSGroupStrategyOptions) Marshal() (dAtA []byte, err error) {
1113 size := m.Size()
1114 dAtA = make([]byte, size)
1115 n, err := m.MarshalTo(dAtA)
1116 if err != nil {
1117 return nil, err
1118 }
1119 return dAtA[:n], nil
1120}
1121
1122func (m *FSGroupStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
1123 var i int
1124 _ = i
1125 var l int
1126 _ = l
1127 dAtA[i] = 0xa
1128 i++
1129 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
1130 i += copy(dAtA[i:], m.Rule)
1131 if len(m.Ranges) > 0 {
1132 for _, msg := range m.Ranges {
1133 dAtA[i] = 0x12
1134 i++
1135 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1136 n, err := msg.MarshalTo(dAtA[i:])
1137 if err != nil {
1138 return 0, err
1139 }
1140 i += n
1141 }
1142 }
1143 return i, nil
1144}
1145
1146func (m *HTTPIngressPath) Marshal() (dAtA []byte, err error) {
1147 size := m.Size()
1148 dAtA = make([]byte, size)
1149 n, err := m.MarshalTo(dAtA)
1150 if err != nil {
1151 return nil, err
1152 }
1153 return dAtA[:n], nil
1154}
1155
1156func (m *HTTPIngressPath) MarshalTo(dAtA []byte) (int, error) {
1157 var i int
1158 _ = i
1159 var l int
1160 _ = l
1161 dAtA[i] = 0xa
1162 i++
1163 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
1164 i += copy(dAtA[i:], m.Path)
1165 dAtA[i] = 0x12
1166 i++
1167 i = encodeVarintGenerated(dAtA, i, uint64(m.Backend.Size()))
1168 n22, err := m.Backend.MarshalTo(dAtA[i:])
1169 if err != nil {
1170 return 0, err
1171 }
1172 i += n22
1173 return i, nil
1174}
1175
1176func (m *HTTPIngressRuleValue) Marshal() (dAtA []byte, err error) {
1177 size := m.Size()
1178 dAtA = make([]byte, size)
1179 n, err := m.MarshalTo(dAtA)
1180 if err != nil {
1181 return nil, err
1182 }
1183 return dAtA[:n], nil
1184}
1185
1186func (m *HTTPIngressRuleValue) MarshalTo(dAtA []byte) (int, error) {
1187 var i int
1188 _ = i
1189 var l int
1190 _ = l
1191 if len(m.Paths) > 0 {
1192 for _, msg := range m.Paths {
1193 dAtA[i] = 0xa
1194 i++
1195 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1196 n, err := msg.MarshalTo(dAtA[i:])
1197 if err != nil {
1198 return 0, err
1199 }
1200 i += n
1201 }
1202 }
1203 return i, nil
1204}
1205
1206func (m *HostPortRange) Marshal() (dAtA []byte, err error) {
1207 size := m.Size()
1208 dAtA = make([]byte, size)
1209 n, err := m.MarshalTo(dAtA)
1210 if err != nil {
1211 return nil, err
1212 }
1213 return dAtA[:n], nil
1214}
1215
1216func (m *HostPortRange) MarshalTo(dAtA []byte) (int, error) {
1217 var i int
1218 _ = i
1219 var l int
1220 _ = l
1221 dAtA[i] = 0x8
1222 i++
1223 i = encodeVarintGenerated(dAtA, i, uint64(m.Min))
1224 dAtA[i] = 0x10
1225 i++
1226 i = encodeVarintGenerated(dAtA, i, uint64(m.Max))
1227 return i, nil
1228}
1229
1230func (m *IDRange) Marshal() (dAtA []byte, err error) {
1231 size := m.Size()
1232 dAtA = make([]byte, size)
1233 n, err := m.MarshalTo(dAtA)
1234 if err != nil {
1235 return nil, err
1236 }
1237 return dAtA[:n], nil
1238}
1239
1240func (m *IDRange) MarshalTo(dAtA []byte) (int, error) {
1241 var i int
1242 _ = i
1243 var l int
1244 _ = l
1245 dAtA[i] = 0x8
1246 i++
1247 i = encodeVarintGenerated(dAtA, i, uint64(m.Min))
1248 dAtA[i] = 0x10
1249 i++
1250 i = encodeVarintGenerated(dAtA, i, uint64(m.Max))
1251 return i, nil
1252}
1253
1254func (m *IPBlock) Marshal() (dAtA []byte, err error) {
1255 size := m.Size()
1256 dAtA = make([]byte, size)
1257 n, err := m.MarshalTo(dAtA)
1258 if err != nil {
1259 return nil, err
1260 }
1261 return dAtA[:n], nil
1262}
1263
1264func (m *IPBlock) MarshalTo(dAtA []byte) (int, error) {
1265 var i int
1266 _ = i
1267 var l int
1268 _ = l
1269 dAtA[i] = 0xa
1270 i++
1271 i = encodeVarintGenerated(dAtA, i, uint64(len(m.CIDR)))
1272 i += copy(dAtA[i:], m.CIDR)
1273 if len(m.Except) > 0 {
1274 for _, s := range m.Except {
1275 dAtA[i] = 0x12
1276 i++
1277 l = len(s)
1278 for l >= 1<<7 {
1279 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
1280 l >>= 7
1281 i++
1282 }
1283 dAtA[i] = uint8(l)
1284 i++
1285 i += copy(dAtA[i:], s)
1286 }
1287 }
1288 return i, nil
1289}
1290
1291func (m *Ingress) Marshal() (dAtA []byte, err error) {
1292 size := m.Size()
1293 dAtA = make([]byte, size)
1294 n, err := m.MarshalTo(dAtA)
1295 if err != nil {
1296 return nil, err
1297 }
1298 return dAtA[:n], nil
1299}
1300
1301func (m *Ingress) MarshalTo(dAtA []byte) (int, error) {
1302 var i int
1303 _ = i
1304 var l int
1305 _ = l
1306 dAtA[i] = 0xa
1307 i++
1308 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
1309 n23, err := m.ObjectMeta.MarshalTo(dAtA[i:])
1310 if err != nil {
1311 return 0, err
1312 }
1313 i += n23
1314 dAtA[i] = 0x12
1315 i++
1316 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
1317 n24, err := m.Spec.MarshalTo(dAtA[i:])
1318 if err != nil {
1319 return 0, err
1320 }
1321 i += n24
1322 dAtA[i] = 0x1a
1323 i++
1324 i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
1325 n25, err := m.Status.MarshalTo(dAtA[i:])
1326 if err != nil {
1327 return 0, err
1328 }
1329 i += n25
1330 return i, nil
1331}
1332
1333func (m *IngressBackend) Marshal() (dAtA []byte, err error) {
1334 size := m.Size()
1335 dAtA = make([]byte, size)
1336 n, err := m.MarshalTo(dAtA)
1337 if err != nil {
1338 return nil, err
1339 }
1340 return dAtA[:n], nil
1341}
1342
1343func (m *IngressBackend) MarshalTo(dAtA []byte) (int, error) {
1344 var i int
1345 _ = i
1346 var l int
1347 _ = l
1348 dAtA[i] = 0xa
1349 i++
1350 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServiceName)))
1351 i += copy(dAtA[i:], m.ServiceName)
1352 dAtA[i] = 0x12
1353 i++
1354 i = encodeVarintGenerated(dAtA, i, uint64(m.ServicePort.Size()))
1355 n26, err := m.ServicePort.MarshalTo(dAtA[i:])
1356 if err != nil {
1357 return 0, err
1358 }
1359 i += n26
1360 return i, nil
1361}
1362
1363func (m *IngressList) Marshal() (dAtA []byte, err error) {
1364 size := m.Size()
1365 dAtA = make([]byte, size)
1366 n, err := m.MarshalTo(dAtA)
1367 if err != nil {
1368 return nil, err
1369 }
1370 return dAtA[:n], nil
1371}
1372
1373func (m *IngressList) MarshalTo(dAtA []byte) (int, error) {
1374 var i int
1375 _ = i
1376 var l int
1377 _ = l
1378 dAtA[i] = 0xa
1379 i++
1380 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
1381 n27, err := m.ListMeta.MarshalTo(dAtA[i:])
1382 if err != nil {
1383 return 0, err
1384 }
1385 i += n27
1386 if len(m.Items) > 0 {
1387 for _, msg := range m.Items {
1388 dAtA[i] = 0x12
1389 i++
1390 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1391 n, err := msg.MarshalTo(dAtA[i:])
1392 if err != nil {
1393 return 0, err
1394 }
1395 i += n
1396 }
1397 }
1398 return i, nil
1399}
1400
1401func (m *IngressRule) Marshal() (dAtA []byte, err error) {
1402 size := m.Size()
1403 dAtA = make([]byte, size)
1404 n, err := m.MarshalTo(dAtA)
1405 if err != nil {
1406 return nil, err
1407 }
1408 return dAtA[:n], nil
1409}
1410
1411func (m *IngressRule) MarshalTo(dAtA []byte) (int, error) {
1412 var i int
1413 _ = i
1414 var l int
1415 _ = l
1416 dAtA[i] = 0xa
1417 i++
1418 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Host)))
1419 i += copy(dAtA[i:], m.Host)
1420 dAtA[i] = 0x12
1421 i++
1422 i = encodeVarintGenerated(dAtA, i, uint64(m.IngressRuleValue.Size()))
1423 n28, err := m.IngressRuleValue.MarshalTo(dAtA[i:])
1424 if err != nil {
1425 return 0, err
1426 }
1427 i += n28
1428 return i, nil
1429}
1430
1431func (m *IngressRuleValue) Marshal() (dAtA []byte, err error) {
1432 size := m.Size()
1433 dAtA = make([]byte, size)
1434 n, err := m.MarshalTo(dAtA)
1435 if err != nil {
1436 return nil, err
1437 }
1438 return dAtA[:n], nil
1439}
1440
1441func (m *IngressRuleValue) MarshalTo(dAtA []byte) (int, error) {
1442 var i int
1443 _ = i
1444 var l int
1445 _ = l
1446 if m.HTTP != nil {
1447 dAtA[i] = 0xa
1448 i++
1449 i = encodeVarintGenerated(dAtA, i, uint64(m.HTTP.Size()))
1450 n29, err := m.HTTP.MarshalTo(dAtA[i:])
1451 if err != nil {
1452 return 0, err
1453 }
1454 i += n29
1455 }
1456 return i, nil
1457}
1458
1459func (m *IngressSpec) Marshal() (dAtA []byte, err error) {
1460 size := m.Size()
1461 dAtA = make([]byte, size)
1462 n, err := m.MarshalTo(dAtA)
1463 if err != nil {
1464 return nil, err
1465 }
1466 return dAtA[:n], nil
1467}
1468
1469func (m *IngressSpec) MarshalTo(dAtA []byte) (int, error) {
1470 var i int
1471 _ = i
1472 var l int
1473 _ = l
1474 if m.Backend != nil {
1475 dAtA[i] = 0xa
1476 i++
1477 i = encodeVarintGenerated(dAtA, i, uint64(m.Backend.Size()))
1478 n30, err := m.Backend.MarshalTo(dAtA[i:])
1479 if err != nil {
1480 return 0, err
1481 }
1482 i += n30
1483 }
1484 if len(m.TLS) > 0 {
1485 for _, msg := range m.TLS {
1486 dAtA[i] = 0x12
1487 i++
1488 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1489 n, err := msg.MarshalTo(dAtA[i:])
1490 if err != nil {
1491 return 0, err
1492 }
1493 i += n
1494 }
1495 }
1496 if len(m.Rules) > 0 {
1497 for _, msg := range m.Rules {
1498 dAtA[i] = 0x1a
1499 i++
1500 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1501 n, err := msg.MarshalTo(dAtA[i:])
1502 if err != nil {
1503 return 0, err
1504 }
1505 i += n
1506 }
1507 }
1508 return i, nil
1509}
1510
1511func (m *IngressStatus) Marshal() (dAtA []byte, err error) {
1512 size := m.Size()
1513 dAtA = make([]byte, size)
1514 n, err := m.MarshalTo(dAtA)
1515 if err != nil {
1516 return nil, err
1517 }
1518 return dAtA[:n], nil
1519}
1520
1521func (m *IngressStatus) MarshalTo(dAtA []byte) (int, error) {
1522 var i int
1523 _ = i
1524 var l int
1525 _ = l
1526 dAtA[i] = 0xa
1527 i++
1528 i = encodeVarintGenerated(dAtA, i, uint64(m.LoadBalancer.Size()))
1529 n31, err := m.LoadBalancer.MarshalTo(dAtA[i:])
1530 if err != nil {
1531 return 0, err
1532 }
1533 i += n31
1534 return i, nil
1535}
1536
1537func (m *IngressTLS) Marshal() (dAtA []byte, err error) {
1538 size := m.Size()
1539 dAtA = make([]byte, size)
1540 n, err := m.MarshalTo(dAtA)
1541 if err != nil {
1542 return nil, err
1543 }
1544 return dAtA[:n], nil
1545}
1546
1547func (m *IngressTLS) MarshalTo(dAtA []byte) (int, error) {
1548 var i int
1549 _ = i
1550 var l int
1551 _ = l
1552 if len(m.Hosts) > 0 {
1553 for _, s := range m.Hosts {
1554 dAtA[i] = 0xa
1555 i++
1556 l = len(s)
1557 for l >= 1<<7 {
1558 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
1559 l >>= 7
1560 i++
1561 }
1562 dAtA[i] = uint8(l)
1563 i++
1564 i += copy(dAtA[i:], s)
1565 }
1566 }
1567 dAtA[i] = 0x12
1568 i++
1569 i = encodeVarintGenerated(dAtA, i, uint64(len(m.SecretName)))
1570 i += copy(dAtA[i:], m.SecretName)
1571 return i, nil
1572}
1573
1574func (m *NetworkPolicy) Marshal() (dAtA []byte, err error) {
1575 size := m.Size()
1576 dAtA = make([]byte, size)
1577 n, err := m.MarshalTo(dAtA)
1578 if err != nil {
1579 return nil, err
1580 }
1581 return dAtA[:n], nil
1582}
1583
1584func (m *NetworkPolicy) MarshalTo(dAtA []byte) (int, error) {
1585 var i int
1586 _ = i
1587 var l int
1588 _ = l
1589 dAtA[i] = 0xa
1590 i++
1591 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
1592 n32, err := m.ObjectMeta.MarshalTo(dAtA[i:])
1593 if err != nil {
1594 return 0, err
1595 }
1596 i += n32
1597 dAtA[i] = 0x12
1598 i++
1599 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
1600 n33, err := m.Spec.MarshalTo(dAtA[i:])
1601 if err != nil {
1602 return 0, err
1603 }
1604 i += n33
1605 return i, nil
1606}
1607
1608func (m *NetworkPolicyEgressRule) Marshal() (dAtA []byte, err error) {
1609 size := m.Size()
1610 dAtA = make([]byte, size)
1611 n, err := m.MarshalTo(dAtA)
1612 if err != nil {
1613 return nil, err
1614 }
1615 return dAtA[:n], nil
1616}
1617
1618func (m *NetworkPolicyEgressRule) MarshalTo(dAtA []byte) (int, error) {
1619 var i int
1620 _ = i
1621 var l int
1622 _ = l
1623 if len(m.Ports) > 0 {
1624 for _, msg := range m.Ports {
1625 dAtA[i] = 0xa
1626 i++
1627 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1628 n, err := msg.MarshalTo(dAtA[i:])
1629 if err != nil {
1630 return 0, err
1631 }
1632 i += n
1633 }
1634 }
1635 if len(m.To) > 0 {
1636 for _, msg := range m.To {
1637 dAtA[i] = 0x12
1638 i++
1639 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1640 n, err := msg.MarshalTo(dAtA[i:])
1641 if err != nil {
1642 return 0, err
1643 }
1644 i += n
1645 }
1646 }
1647 return i, nil
1648}
1649
1650func (m *NetworkPolicyIngressRule) Marshal() (dAtA []byte, err error) {
1651 size := m.Size()
1652 dAtA = make([]byte, size)
1653 n, err := m.MarshalTo(dAtA)
1654 if err != nil {
1655 return nil, err
1656 }
1657 return dAtA[:n], nil
1658}
1659
1660func (m *NetworkPolicyIngressRule) MarshalTo(dAtA []byte) (int, error) {
1661 var i int
1662 _ = i
1663 var l int
1664 _ = l
1665 if len(m.Ports) > 0 {
1666 for _, msg := range m.Ports {
1667 dAtA[i] = 0xa
1668 i++
1669 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1670 n, err := msg.MarshalTo(dAtA[i:])
1671 if err != nil {
1672 return 0, err
1673 }
1674 i += n
1675 }
1676 }
1677 if len(m.From) > 0 {
1678 for _, msg := range m.From {
1679 dAtA[i] = 0x12
1680 i++
1681 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1682 n, err := msg.MarshalTo(dAtA[i:])
1683 if err != nil {
1684 return 0, err
1685 }
1686 i += n
1687 }
1688 }
1689 return i, nil
1690}
1691
1692func (m *NetworkPolicyList) Marshal() (dAtA []byte, err error) {
1693 size := m.Size()
1694 dAtA = make([]byte, size)
1695 n, err := m.MarshalTo(dAtA)
1696 if err != nil {
1697 return nil, err
1698 }
1699 return dAtA[:n], nil
1700}
1701
1702func (m *NetworkPolicyList) MarshalTo(dAtA []byte) (int, error) {
1703 var i int
1704 _ = i
1705 var l int
1706 _ = l
1707 dAtA[i] = 0xa
1708 i++
1709 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
1710 n34, err := m.ListMeta.MarshalTo(dAtA[i:])
1711 if err != nil {
1712 return 0, err
1713 }
1714 i += n34
1715 if len(m.Items) > 0 {
1716 for _, msg := range m.Items {
1717 dAtA[i] = 0x12
1718 i++
1719 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1720 n, err := msg.MarshalTo(dAtA[i:])
1721 if err != nil {
1722 return 0, err
1723 }
1724 i += n
1725 }
1726 }
1727 return i, nil
1728}
1729
1730func (m *NetworkPolicyPeer) Marshal() (dAtA []byte, err error) {
1731 size := m.Size()
1732 dAtA = make([]byte, size)
1733 n, err := m.MarshalTo(dAtA)
1734 if err != nil {
1735 return nil, err
1736 }
1737 return dAtA[:n], nil
1738}
1739
1740func (m *NetworkPolicyPeer) MarshalTo(dAtA []byte) (int, error) {
1741 var i int
1742 _ = i
1743 var l int
1744 _ = l
1745 if m.PodSelector != nil {
1746 dAtA[i] = 0xa
1747 i++
1748 i = encodeVarintGenerated(dAtA, i, uint64(m.PodSelector.Size()))
1749 n35, err := m.PodSelector.MarshalTo(dAtA[i:])
1750 if err != nil {
1751 return 0, err
1752 }
1753 i += n35
1754 }
1755 if m.NamespaceSelector != nil {
1756 dAtA[i] = 0x12
1757 i++
1758 i = encodeVarintGenerated(dAtA, i, uint64(m.NamespaceSelector.Size()))
1759 n36, err := m.NamespaceSelector.MarshalTo(dAtA[i:])
1760 if err != nil {
1761 return 0, err
1762 }
1763 i += n36
1764 }
1765 if m.IPBlock != nil {
1766 dAtA[i] = 0x1a
1767 i++
1768 i = encodeVarintGenerated(dAtA, i, uint64(m.IPBlock.Size()))
1769 n37, err := m.IPBlock.MarshalTo(dAtA[i:])
1770 if err != nil {
1771 return 0, err
1772 }
1773 i += n37
1774 }
1775 return i, nil
1776}
1777
1778func (m *NetworkPolicyPort) Marshal() (dAtA []byte, err error) {
1779 size := m.Size()
1780 dAtA = make([]byte, size)
1781 n, err := m.MarshalTo(dAtA)
1782 if err != nil {
1783 return nil, err
1784 }
1785 return dAtA[:n], nil
1786}
1787
1788func (m *NetworkPolicyPort) MarshalTo(dAtA []byte) (int, error) {
1789 var i int
1790 _ = i
1791 var l int
1792 _ = l
1793 if m.Protocol != nil {
1794 dAtA[i] = 0xa
1795 i++
1796 i = encodeVarintGenerated(dAtA, i, uint64(len(*m.Protocol)))
1797 i += copy(dAtA[i:], *m.Protocol)
1798 }
1799 if m.Port != nil {
1800 dAtA[i] = 0x12
1801 i++
1802 i = encodeVarintGenerated(dAtA, i, uint64(m.Port.Size()))
1803 n38, err := m.Port.MarshalTo(dAtA[i:])
1804 if err != nil {
1805 return 0, err
1806 }
1807 i += n38
1808 }
1809 return i, nil
1810}
1811
1812func (m *NetworkPolicySpec) Marshal() (dAtA []byte, err error) {
1813 size := m.Size()
1814 dAtA = make([]byte, size)
1815 n, err := m.MarshalTo(dAtA)
1816 if err != nil {
1817 return nil, err
1818 }
1819 return dAtA[:n], nil
1820}
1821
1822func (m *NetworkPolicySpec) MarshalTo(dAtA []byte) (int, error) {
1823 var i int
1824 _ = i
1825 var l int
1826 _ = l
1827 dAtA[i] = 0xa
1828 i++
1829 i = encodeVarintGenerated(dAtA, i, uint64(m.PodSelector.Size()))
1830 n39, err := m.PodSelector.MarshalTo(dAtA[i:])
1831 if err != nil {
1832 return 0, err
1833 }
1834 i += n39
1835 if len(m.Ingress) > 0 {
1836 for _, msg := range m.Ingress {
1837 dAtA[i] = 0x12
1838 i++
1839 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1840 n, err := msg.MarshalTo(dAtA[i:])
1841 if err != nil {
1842 return 0, err
1843 }
1844 i += n
1845 }
1846 }
1847 if len(m.Egress) > 0 {
1848 for _, msg := range m.Egress {
1849 dAtA[i] = 0x1a
1850 i++
1851 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1852 n, err := msg.MarshalTo(dAtA[i:])
1853 if err != nil {
1854 return 0, err
1855 }
1856 i += n
1857 }
1858 }
1859 if len(m.PolicyTypes) > 0 {
1860 for _, s := range m.PolicyTypes {
1861 dAtA[i] = 0x22
1862 i++
1863 l = len(s)
1864 for l >= 1<<7 {
1865 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
1866 l >>= 7
1867 i++
1868 }
1869 dAtA[i] = uint8(l)
1870 i++
1871 i += copy(dAtA[i:], s)
1872 }
1873 }
1874 return i, nil
1875}
1876
1877func (m *PodSecurityPolicy) Marshal() (dAtA []byte, err error) {
1878 size := m.Size()
1879 dAtA = make([]byte, size)
1880 n, err := m.MarshalTo(dAtA)
1881 if err != nil {
1882 return nil, err
1883 }
1884 return dAtA[:n], nil
1885}
1886
1887func (m *PodSecurityPolicy) MarshalTo(dAtA []byte) (int, error) {
1888 var i int
1889 _ = i
1890 var l int
1891 _ = l
1892 dAtA[i] = 0xa
1893 i++
1894 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
1895 n40, err := m.ObjectMeta.MarshalTo(dAtA[i:])
1896 if err != nil {
1897 return 0, err
1898 }
1899 i += n40
1900 dAtA[i] = 0x12
1901 i++
1902 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
1903 n41, err := m.Spec.MarshalTo(dAtA[i:])
1904 if err != nil {
1905 return 0, err
1906 }
1907 i += n41
1908 return i, nil
1909}
1910
1911func (m *PodSecurityPolicyList) Marshal() (dAtA []byte, err error) {
1912 size := m.Size()
1913 dAtA = make([]byte, size)
1914 n, err := m.MarshalTo(dAtA)
1915 if err != nil {
1916 return nil, err
1917 }
1918 return dAtA[:n], nil
1919}
1920
1921func (m *PodSecurityPolicyList) MarshalTo(dAtA []byte) (int, error) {
1922 var i int
1923 _ = i
1924 var l int
1925 _ = l
1926 dAtA[i] = 0xa
1927 i++
1928 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
1929 n42, err := m.ListMeta.MarshalTo(dAtA[i:])
1930 if err != nil {
1931 return 0, err
1932 }
1933 i += n42
1934 if len(m.Items) > 0 {
1935 for _, msg := range m.Items {
1936 dAtA[i] = 0x12
1937 i++
1938 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1939 n, err := msg.MarshalTo(dAtA[i:])
1940 if err != nil {
1941 return 0, err
1942 }
1943 i += n
1944 }
1945 }
1946 return i, nil
1947}
1948
1949func (m *PodSecurityPolicySpec) Marshal() (dAtA []byte, err error) {
1950 size := m.Size()
1951 dAtA = make([]byte, size)
1952 n, err := m.MarshalTo(dAtA)
1953 if err != nil {
1954 return nil, err
1955 }
1956 return dAtA[:n], nil
1957}
1958
1959func (m *PodSecurityPolicySpec) MarshalTo(dAtA []byte) (int, error) {
1960 var i int
1961 _ = i
1962 var l int
1963 _ = l
1964 dAtA[i] = 0x8
1965 i++
1966 if m.Privileged {
1967 dAtA[i] = 1
1968 } else {
1969 dAtA[i] = 0
1970 }
1971 i++
1972 if len(m.DefaultAddCapabilities) > 0 {
1973 for _, s := range m.DefaultAddCapabilities {
1974 dAtA[i] = 0x12
1975 i++
1976 l = len(s)
1977 for l >= 1<<7 {
1978 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
1979 l >>= 7
1980 i++
1981 }
1982 dAtA[i] = uint8(l)
1983 i++
1984 i += copy(dAtA[i:], s)
1985 }
1986 }
1987 if len(m.RequiredDropCapabilities) > 0 {
1988 for _, s := range m.RequiredDropCapabilities {
1989 dAtA[i] = 0x1a
1990 i++
1991 l = len(s)
1992 for l >= 1<<7 {
1993 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
1994 l >>= 7
1995 i++
1996 }
1997 dAtA[i] = uint8(l)
1998 i++
1999 i += copy(dAtA[i:], s)
2000 }
2001 }
2002 if len(m.AllowedCapabilities) > 0 {
2003 for _, s := range m.AllowedCapabilities {
2004 dAtA[i] = 0x22
2005 i++
2006 l = len(s)
2007 for l >= 1<<7 {
2008 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
2009 l >>= 7
2010 i++
2011 }
2012 dAtA[i] = uint8(l)
2013 i++
2014 i += copy(dAtA[i:], s)
2015 }
2016 }
2017 if len(m.Volumes) > 0 {
2018 for _, s := range m.Volumes {
2019 dAtA[i] = 0x2a
2020 i++
2021 l = len(s)
2022 for l >= 1<<7 {
2023 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
2024 l >>= 7
2025 i++
2026 }
2027 dAtA[i] = uint8(l)
2028 i++
2029 i += copy(dAtA[i:], s)
2030 }
2031 }
2032 dAtA[i] = 0x30
2033 i++
2034 if m.HostNetwork {
2035 dAtA[i] = 1
2036 } else {
2037 dAtA[i] = 0
2038 }
2039 i++
2040 if len(m.HostPorts) > 0 {
2041 for _, msg := range m.HostPorts {
2042 dAtA[i] = 0x3a
2043 i++
2044 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
2045 n, err := msg.MarshalTo(dAtA[i:])
2046 if err != nil {
2047 return 0, err
2048 }
2049 i += n
2050 }
2051 }
2052 dAtA[i] = 0x40
2053 i++
2054 if m.HostPID {
2055 dAtA[i] = 1
2056 } else {
2057 dAtA[i] = 0
2058 }
2059 i++
2060 dAtA[i] = 0x48
2061 i++
2062 if m.HostIPC {
2063 dAtA[i] = 1
2064 } else {
2065 dAtA[i] = 0
2066 }
2067 i++
2068 dAtA[i] = 0x52
2069 i++
2070 i = encodeVarintGenerated(dAtA, i, uint64(m.SELinux.Size()))
2071 n43, err := m.SELinux.MarshalTo(dAtA[i:])
2072 if err != nil {
2073 return 0, err
2074 }
2075 i += n43
2076 dAtA[i] = 0x5a
2077 i++
2078 i = encodeVarintGenerated(dAtA, i, uint64(m.RunAsUser.Size()))
2079 n44, err := m.RunAsUser.MarshalTo(dAtA[i:])
2080 if err != nil {
2081 return 0, err
2082 }
2083 i += n44
2084 dAtA[i] = 0x62
2085 i++
2086 i = encodeVarintGenerated(dAtA, i, uint64(m.SupplementalGroups.Size()))
2087 n45, err := m.SupplementalGroups.MarshalTo(dAtA[i:])
2088 if err != nil {
2089 return 0, err
2090 }
2091 i += n45
2092 dAtA[i] = 0x6a
2093 i++
2094 i = encodeVarintGenerated(dAtA, i, uint64(m.FSGroup.Size()))
2095 n46, err := m.FSGroup.MarshalTo(dAtA[i:])
2096 if err != nil {
2097 return 0, err
2098 }
2099 i += n46
2100 dAtA[i] = 0x70
2101 i++
2102 if m.ReadOnlyRootFilesystem {
2103 dAtA[i] = 1
2104 } else {
2105 dAtA[i] = 0
2106 }
2107 i++
2108 if m.DefaultAllowPrivilegeEscalation != nil {
2109 dAtA[i] = 0x78
2110 i++
2111 if *m.DefaultAllowPrivilegeEscalation {
2112 dAtA[i] = 1
2113 } else {
2114 dAtA[i] = 0
2115 }
2116 i++
2117 }
2118 if m.AllowPrivilegeEscalation != nil {
2119 dAtA[i] = 0x80
2120 i++
2121 dAtA[i] = 0x1
2122 i++
2123 if *m.AllowPrivilegeEscalation {
2124 dAtA[i] = 1
2125 } else {
2126 dAtA[i] = 0
2127 }
2128 i++
2129 }
2130 if len(m.AllowedHostPaths) > 0 {
2131 for _, msg := range m.AllowedHostPaths {
2132 dAtA[i] = 0x8a
2133 i++
2134 dAtA[i] = 0x1
2135 i++
2136 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
2137 n, err := msg.MarshalTo(dAtA[i:])
2138 if err != nil {
2139 return 0, err
2140 }
2141 i += n
2142 }
2143 }
2144 if len(m.AllowedFlexVolumes) > 0 {
2145 for _, msg := range m.AllowedFlexVolumes {
2146 dAtA[i] = 0x92
2147 i++
2148 dAtA[i] = 0x1
2149 i++
2150 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
2151 n, err := msg.MarshalTo(dAtA[i:])
2152 if err != nil {
2153 return 0, err
2154 }
2155 i += n
2156 }
2157 }
2158 if len(m.AllowedUnsafeSysctls) > 0 {
2159 for _, s := range m.AllowedUnsafeSysctls {
2160 dAtA[i] = 0x9a
2161 i++
2162 dAtA[i] = 0x1
2163 i++
2164 l = len(s)
2165 for l >= 1<<7 {
2166 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
2167 l >>= 7
2168 i++
2169 }
2170 dAtA[i] = uint8(l)
2171 i++
2172 i += copy(dAtA[i:], s)
2173 }
2174 }
2175 if len(m.ForbiddenSysctls) > 0 {
2176 for _, s := range m.ForbiddenSysctls {
2177 dAtA[i] = 0xa2
2178 i++
2179 dAtA[i] = 0x1
2180 i++
2181 l = len(s)
2182 for l >= 1<<7 {
2183 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
2184 l >>= 7
2185 i++
2186 }
2187 dAtA[i] = uint8(l)
2188 i++
2189 i += copy(dAtA[i:], s)
2190 }
2191 }
2192 if len(m.AllowedProcMountTypes) > 0 {
2193 for _, s := range m.AllowedProcMountTypes {
2194 dAtA[i] = 0xaa
2195 i++
2196 dAtA[i] = 0x1
2197 i++
2198 l = len(s)
2199 for l >= 1<<7 {
2200 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
2201 l >>= 7
2202 i++
2203 }
2204 dAtA[i] = uint8(l)
2205 i++
2206 i += copy(dAtA[i:], s)
2207 }
2208 }
2209 if m.RunAsGroup != nil {
2210 dAtA[i] = 0xb2
2211 i++
2212 dAtA[i] = 0x1
2213 i++
2214 i = encodeVarintGenerated(dAtA, i, uint64(m.RunAsGroup.Size()))
2215 n47, err := m.RunAsGroup.MarshalTo(dAtA[i:])
2216 if err != nil {
2217 return 0, err
2218 }
2219 i += n47
2220 }
2221 if len(m.AllowedCSIDrivers) > 0 {
2222 for _, msg := range m.AllowedCSIDrivers {
2223 dAtA[i] = 0xba
2224 i++
2225 dAtA[i] = 0x1
2226 i++
2227 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
2228 n, err := msg.MarshalTo(dAtA[i:])
2229 if err != nil {
2230 return 0, err
2231 }
2232 i += n
2233 }
2234 }
2235 if m.RuntimeClass != nil {
2236 dAtA[i] = 0xc2
2237 i++
2238 dAtA[i] = 0x1
2239 i++
2240 i = encodeVarintGenerated(dAtA, i, uint64(m.RuntimeClass.Size()))
2241 n48, err := m.RuntimeClass.MarshalTo(dAtA[i:])
2242 if err != nil {
2243 return 0, err
2244 }
2245 i += n48
2246 }
2247 return i, nil
2248}
2249
2250func (m *ReplicaSet) Marshal() (dAtA []byte, err error) {
2251 size := m.Size()
2252 dAtA = make([]byte, size)
2253 n, err := m.MarshalTo(dAtA)
2254 if err != nil {
2255 return nil, err
2256 }
2257 return dAtA[:n], nil
2258}
2259
2260func (m *ReplicaSet) MarshalTo(dAtA []byte) (int, error) {
2261 var i int
2262 _ = i
2263 var l int
2264 _ = l
2265 dAtA[i] = 0xa
2266 i++
2267 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
2268 n49, err := m.ObjectMeta.MarshalTo(dAtA[i:])
2269 if err != nil {
2270 return 0, err
2271 }
2272 i += n49
2273 dAtA[i] = 0x12
2274 i++
2275 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
2276 n50, err := m.Spec.MarshalTo(dAtA[i:])
2277 if err != nil {
2278 return 0, err
2279 }
2280 i += n50
2281 dAtA[i] = 0x1a
2282 i++
2283 i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
2284 n51, err := m.Status.MarshalTo(dAtA[i:])
2285 if err != nil {
2286 return 0, err
2287 }
2288 i += n51
2289 return i, nil
2290}
2291
2292func (m *ReplicaSetCondition) Marshal() (dAtA []byte, err error) {
2293 size := m.Size()
2294 dAtA = make([]byte, size)
2295 n, err := m.MarshalTo(dAtA)
2296 if err != nil {
2297 return nil, err
2298 }
2299 return dAtA[:n], nil
2300}
2301
2302func (m *ReplicaSetCondition) MarshalTo(dAtA []byte) (int, error) {
2303 var i int
2304 _ = i
2305 var l int
2306 _ = l
2307 dAtA[i] = 0xa
2308 i++
2309 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
2310 i += copy(dAtA[i:], m.Type)
2311 dAtA[i] = 0x12
2312 i++
2313 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
2314 i += copy(dAtA[i:], m.Status)
2315 dAtA[i] = 0x1a
2316 i++
2317 i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
2318 n52, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
2319 if err != nil {
2320 return 0, err
2321 }
2322 i += n52
2323 dAtA[i] = 0x22
2324 i++
2325 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
2326 i += copy(dAtA[i:], m.Reason)
2327 dAtA[i] = 0x2a
2328 i++
2329 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
2330 i += copy(dAtA[i:], m.Message)
2331 return i, nil
2332}
2333
2334func (m *ReplicaSetList) Marshal() (dAtA []byte, err error) {
2335 size := m.Size()
2336 dAtA = make([]byte, size)
2337 n, err := m.MarshalTo(dAtA)
2338 if err != nil {
2339 return nil, err
2340 }
2341 return dAtA[:n], nil
2342}
2343
2344func (m *ReplicaSetList) MarshalTo(dAtA []byte) (int, error) {
2345 var i int
2346 _ = i
2347 var l int
2348 _ = l
2349 dAtA[i] = 0xa
2350 i++
2351 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
2352 n53, err := m.ListMeta.MarshalTo(dAtA[i:])
2353 if err != nil {
2354 return 0, err
2355 }
2356 i += n53
2357 if len(m.Items) > 0 {
2358 for _, msg := range m.Items {
2359 dAtA[i] = 0x12
2360 i++
2361 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
2362 n, err := msg.MarshalTo(dAtA[i:])
2363 if err != nil {
2364 return 0, err
2365 }
2366 i += n
2367 }
2368 }
2369 return i, nil
2370}
2371
2372func (m *ReplicaSetSpec) Marshal() (dAtA []byte, err error) {
2373 size := m.Size()
2374 dAtA = make([]byte, size)
2375 n, err := m.MarshalTo(dAtA)
2376 if err != nil {
2377 return nil, err
2378 }
2379 return dAtA[:n], nil
2380}
2381
2382func (m *ReplicaSetSpec) MarshalTo(dAtA []byte) (int, error) {
2383 var i int
2384 _ = i
2385 var l int
2386 _ = l
2387 if m.Replicas != nil {
2388 dAtA[i] = 0x8
2389 i++
2390 i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
2391 }
2392 if m.Selector != nil {
2393 dAtA[i] = 0x12
2394 i++
2395 i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
2396 n54, err := m.Selector.MarshalTo(dAtA[i:])
2397 if err != nil {
2398 return 0, err
2399 }
2400 i += n54
2401 }
2402 dAtA[i] = 0x1a
2403 i++
2404 i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
2405 n55, err := m.Template.MarshalTo(dAtA[i:])
2406 if err != nil {
2407 return 0, err
2408 }
2409 i += n55
2410 dAtA[i] = 0x20
2411 i++
2412 i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
2413 return i, nil
2414}
2415
2416func (m *ReplicaSetStatus) Marshal() (dAtA []byte, err error) {
2417 size := m.Size()
2418 dAtA = make([]byte, size)
2419 n, err := m.MarshalTo(dAtA)
2420 if err != nil {
2421 return nil, err
2422 }
2423 return dAtA[:n], nil
2424}
2425
2426func (m *ReplicaSetStatus) MarshalTo(dAtA []byte) (int, error) {
2427 var i int
2428 _ = i
2429 var l int
2430 _ = l
2431 dAtA[i] = 0x8
2432 i++
2433 i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
2434 dAtA[i] = 0x10
2435 i++
2436 i = encodeVarintGenerated(dAtA, i, uint64(m.FullyLabeledReplicas))
2437 dAtA[i] = 0x18
2438 i++
2439 i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
2440 dAtA[i] = 0x20
2441 i++
2442 i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
2443 dAtA[i] = 0x28
2444 i++
2445 i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
2446 if len(m.Conditions) > 0 {
2447 for _, msg := range m.Conditions {
2448 dAtA[i] = 0x32
2449 i++
2450 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
2451 n, err := msg.MarshalTo(dAtA[i:])
2452 if err != nil {
2453 return 0, err
2454 }
2455 i += n
2456 }
2457 }
2458 return i, nil
2459}
2460
2461func (m *ReplicationControllerDummy) Marshal() (dAtA []byte, err error) {
2462 size := m.Size()
2463 dAtA = make([]byte, size)
2464 n, err := m.MarshalTo(dAtA)
2465 if err != nil {
2466 return nil, err
2467 }
2468 return dAtA[:n], nil
2469}
2470
2471func (m *ReplicationControllerDummy) MarshalTo(dAtA []byte) (int, error) {
2472 var i int
2473 _ = i
2474 var l int
2475 _ = l
2476 return i, nil
2477}
2478
2479func (m *RollbackConfig) Marshal() (dAtA []byte, err error) {
2480 size := m.Size()
2481 dAtA = make([]byte, size)
2482 n, err := m.MarshalTo(dAtA)
2483 if err != nil {
2484 return nil, err
2485 }
2486 return dAtA[:n], nil
2487}
2488
2489func (m *RollbackConfig) MarshalTo(dAtA []byte) (int, error) {
2490 var i int
2491 _ = i
2492 var l int
2493 _ = l
2494 dAtA[i] = 0x8
2495 i++
2496 i = encodeVarintGenerated(dAtA, i, uint64(m.Revision))
2497 return i, nil
2498}
2499
2500func (m *RollingUpdateDaemonSet) Marshal() (dAtA []byte, err error) {
2501 size := m.Size()
2502 dAtA = make([]byte, size)
2503 n, err := m.MarshalTo(dAtA)
2504 if err != nil {
2505 return nil, err
2506 }
2507 return dAtA[:n], nil
2508}
2509
2510func (m *RollingUpdateDaemonSet) MarshalTo(dAtA []byte) (int, error) {
2511 var i int
2512 _ = i
2513 var l int
2514 _ = l
2515 if m.MaxUnavailable != nil {
2516 dAtA[i] = 0xa
2517 i++
2518 i = encodeVarintGenerated(dAtA, i, uint64(m.MaxUnavailable.Size()))
2519 n56, err := m.MaxUnavailable.MarshalTo(dAtA[i:])
2520 if err != nil {
2521 return 0, err
2522 }
2523 i += n56
2524 }
2525 return i, nil
2526}
2527
2528func (m *RollingUpdateDeployment) Marshal() (dAtA []byte, err error) {
2529 size := m.Size()
2530 dAtA = make([]byte, size)
2531 n, err := m.MarshalTo(dAtA)
2532 if err != nil {
2533 return nil, err
2534 }
2535 return dAtA[:n], nil
2536}
2537
2538func (m *RollingUpdateDeployment) MarshalTo(dAtA []byte) (int, error) {
2539 var i int
2540 _ = i
2541 var l int
2542 _ = l
2543 if m.MaxUnavailable != nil {
2544 dAtA[i] = 0xa
2545 i++
2546 i = encodeVarintGenerated(dAtA, i, uint64(m.MaxUnavailable.Size()))
2547 n57, err := m.MaxUnavailable.MarshalTo(dAtA[i:])
2548 if err != nil {
2549 return 0, err
2550 }
2551 i += n57
2552 }
2553 if m.MaxSurge != nil {
2554 dAtA[i] = 0x12
2555 i++
2556 i = encodeVarintGenerated(dAtA, i, uint64(m.MaxSurge.Size()))
2557 n58, err := m.MaxSurge.MarshalTo(dAtA[i:])
2558 if err != nil {
2559 return 0, err
2560 }
2561 i += n58
2562 }
2563 return i, nil
2564}
2565
2566func (m *RunAsGroupStrategyOptions) Marshal() (dAtA []byte, err error) {
2567 size := m.Size()
2568 dAtA = make([]byte, size)
2569 n, err := m.MarshalTo(dAtA)
2570 if err != nil {
2571 return nil, err
2572 }
2573 return dAtA[:n], nil
2574}
2575
2576func (m *RunAsGroupStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
2577 var i int
2578 _ = i
2579 var l int
2580 _ = l
2581 dAtA[i] = 0xa
2582 i++
2583 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
2584 i += copy(dAtA[i:], m.Rule)
2585 if len(m.Ranges) > 0 {
2586 for _, msg := range m.Ranges {
2587 dAtA[i] = 0x12
2588 i++
2589 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
2590 n, err := msg.MarshalTo(dAtA[i:])
2591 if err != nil {
2592 return 0, err
2593 }
2594 i += n
2595 }
2596 }
2597 return i, nil
2598}
2599
2600func (m *RunAsUserStrategyOptions) Marshal() (dAtA []byte, err error) {
2601 size := m.Size()
2602 dAtA = make([]byte, size)
2603 n, err := m.MarshalTo(dAtA)
2604 if err != nil {
2605 return nil, err
2606 }
2607 return dAtA[:n], nil
2608}
2609
2610func (m *RunAsUserStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
2611 var i int
2612 _ = i
2613 var l int
2614 _ = l
2615 dAtA[i] = 0xa
2616 i++
2617 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
2618 i += copy(dAtA[i:], m.Rule)
2619 if len(m.Ranges) > 0 {
2620 for _, msg := range m.Ranges {
2621 dAtA[i] = 0x12
2622 i++
2623 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
2624 n, err := msg.MarshalTo(dAtA[i:])
2625 if err != nil {
2626 return 0, err
2627 }
2628 i += n
2629 }
2630 }
2631 return i, nil
2632}
2633
2634func (m *RuntimeClassStrategyOptions) Marshal() (dAtA []byte, err error) {
2635 size := m.Size()
2636 dAtA = make([]byte, size)
2637 n, err := m.MarshalTo(dAtA)
2638 if err != nil {
2639 return nil, err
2640 }
2641 return dAtA[:n], nil
2642}
2643
2644func (m *RuntimeClassStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
2645 var i int
2646 _ = i
2647 var l int
2648 _ = l
2649 if len(m.AllowedRuntimeClassNames) > 0 {
2650 for _, s := range m.AllowedRuntimeClassNames {
2651 dAtA[i] = 0xa
2652 i++
2653 l = len(s)
2654 for l >= 1<<7 {
2655 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
2656 l >>= 7
2657 i++
2658 }
2659 dAtA[i] = uint8(l)
2660 i++
2661 i += copy(dAtA[i:], s)
2662 }
2663 }
2664 if m.DefaultRuntimeClassName != nil {
2665 dAtA[i] = 0x12
2666 i++
2667 i = encodeVarintGenerated(dAtA, i, uint64(len(*m.DefaultRuntimeClassName)))
2668 i += copy(dAtA[i:], *m.DefaultRuntimeClassName)
2669 }
2670 return i, nil
2671}
2672
2673func (m *SELinuxStrategyOptions) Marshal() (dAtA []byte, err error) {
2674 size := m.Size()
2675 dAtA = make([]byte, size)
2676 n, err := m.MarshalTo(dAtA)
2677 if err != nil {
2678 return nil, err
2679 }
2680 return dAtA[:n], nil
2681}
2682
2683func (m *SELinuxStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
2684 var i int
2685 _ = i
2686 var l int
2687 _ = l
2688 dAtA[i] = 0xa
2689 i++
2690 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
2691 i += copy(dAtA[i:], m.Rule)
2692 if m.SELinuxOptions != nil {
2693 dAtA[i] = 0x12
2694 i++
2695 i = encodeVarintGenerated(dAtA, i, uint64(m.SELinuxOptions.Size()))
2696 n59, err := m.SELinuxOptions.MarshalTo(dAtA[i:])
2697 if err != nil {
2698 return 0, err
2699 }
2700 i += n59
2701 }
2702 return i, nil
2703}
2704
2705func (m *Scale) Marshal() (dAtA []byte, err error) {
2706 size := m.Size()
2707 dAtA = make([]byte, size)
2708 n, err := m.MarshalTo(dAtA)
2709 if err != nil {
2710 return nil, err
2711 }
2712 return dAtA[:n], nil
2713}
2714
2715func (m *Scale) MarshalTo(dAtA []byte) (int, error) {
2716 var i int
2717 _ = i
2718 var l int
2719 _ = l
2720 dAtA[i] = 0xa
2721 i++
2722 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
2723 n60, err := m.ObjectMeta.MarshalTo(dAtA[i:])
2724 if err != nil {
2725 return 0, err
2726 }
2727 i += n60
2728 dAtA[i] = 0x12
2729 i++
2730 i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
2731 n61, err := m.Spec.MarshalTo(dAtA[i:])
2732 if err != nil {
2733 return 0, err
2734 }
2735 i += n61
2736 dAtA[i] = 0x1a
2737 i++
2738 i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
2739 n62, err := m.Status.MarshalTo(dAtA[i:])
2740 if err != nil {
2741 return 0, err
2742 }
2743 i += n62
2744 return i, nil
2745}
2746
2747func (m *ScaleSpec) Marshal() (dAtA []byte, err error) {
2748 size := m.Size()
2749 dAtA = make([]byte, size)
2750 n, err := m.MarshalTo(dAtA)
2751 if err != nil {
2752 return nil, err
2753 }
2754 return dAtA[:n], nil
2755}
2756
2757func (m *ScaleSpec) MarshalTo(dAtA []byte) (int, error) {
2758 var i int
2759 _ = i
2760 var l int
2761 _ = l
2762 dAtA[i] = 0x8
2763 i++
2764 i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
2765 return i, nil
2766}
2767
2768func (m *ScaleStatus) Marshal() (dAtA []byte, err error) {
2769 size := m.Size()
2770 dAtA = make([]byte, size)
2771 n, err := m.MarshalTo(dAtA)
2772 if err != nil {
2773 return nil, err
2774 }
2775 return dAtA[:n], nil
2776}
2777
2778func (m *ScaleStatus) MarshalTo(dAtA []byte) (int, error) {
2779 var i int
2780 _ = i
2781 var l int
2782 _ = l
2783 dAtA[i] = 0x8
2784 i++
2785 i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
2786 if len(m.Selector) > 0 {
2787 keysForSelector := make([]string, 0, len(m.Selector))
2788 for k := range m.Selector {
2789 keysForSelector = append(keysForSelector, string(k))
2790 }
2791 github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
2792 for _, k := range keysForSelector {
2793 dAtA[i] = 0x12
2794 i++
2795 v := m.Selector[string(k)]
2796 mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
2797 i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
2798 dAtA[i] = 0xa
2799 i++
2800 i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
2801 i += copy(dAtA[i:], k)
2802 dAtA[i] = 0x12
2803 i++
2804 i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
2805 i += copy(dAtA[i:], v)
2806 }
2807 }
2808 dAtA[i] = 0x1a
2809 i++
2810 i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetSelector)))
2811 i += copy(dAtA[i:], m.TargetSelector)
2812 return i, nil
2813}
2814
2815func (m *SupplementalGroupsStrategyOptions) Marshal() (dAtA []byte, err error) {
2816 size := m.Size()
2817 dAtA = make([]byte, size)
2818 n, err := m.MarshalTo(dAtA)
2819 if err != nil {
2820 return nil, err
2821 }
2822 return dAtA[:n], nil
2823}
2824
2825func (m *SupplementalGroupsStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
2826 var i int
2827 _ = i
2828 var l int
2829 _ = l
2830 dAtA[i] = 0xa
2831 i++
2832 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
2833 i += copy(dAtA[i:], m.Rule)
2834 if len(m.Ranges) > 0 {
2835 for _, msg := range m.Ranges {
2836 dAtA[i] = 0x12
2837 i++
2838 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
2839 n, err := msg.MarshalTo(dAtA[i:])
2840 if err != nil {
2841 return 0, err
2842 }
2843 i += n
2844 }
2845 }
2846 return i, nil
2847}
2848
2849func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
2850 for v >= 1<<7 {
2851 dAtA[offset] = uint8(v&0x7f | 0x80)
2852 v >>= 7
2853 offset++
2854 }
2855 dAtA[offset] = uint8(v)
2856 return offset + 1
2857}
2858func (m *AllowedCSIDriver) Size() (n int) {
2859 var l int
2860 _ = l
2861 l = len(m.Name)
2862 n += 1 + l + sovGenerated(uint64(l))
2863 return n
2864}
2865
2866func (m *AllowedFlexVolume) Size() (n int) {
2867 var l int
2868 _ = l
2869 l = len(m.Driver)
2870 n += 1 + l + sovGenerated(uint64(l))
2871 return n
2872}
2873
2874func (m *AllowedHostPath) Size() (n int) {
2875 var l int
2876 _ = l
2877 l = len(m.PathPrefix)
2878 n += 1 + l + sovGenerated(uint64(l))
2879 n += 2
2880 return n
2881}
2882
2883func (m *DaemonSet) Size() (n int) {
2884 var l int
2885 _ = l
2886 l = m.ObjectMeta.Size()
2887 n += 1 + l + sovGenerated(uint64(l))
2888 l = m.Spec.Size()
2889 n += 1 + l + sovGenerated(uint64(l))
2890 l = m.Status.Size()
2891 n += 1 + l + sovGenerated(uint64(l))
2892 return n
2893}
2894
2895func (m *DaemonSetCondition) Size() (n int) {
2896 var l int
2897 _ = l
2898 l = len(m.Type)
2899 n += 1 + l + sovGenerated(uint64(l))
2900 l = len(m.Status)
2901 n += 1 + l + sovGenerated(uint64(l))
2902 l = m.LastTransitionTime.Size()
2903 n += 1 + l + sovGenerated(uint64(l))
2904 l = len(m.Reason)
2905 n += 1 + l + sovGenerated(uint64(l))
2906 l = len(m.Message)
2907 n += 1 + l + sovGenerated(uint64(l))
2908 return n
2909}
2910
2911func (m *DaemonSetList) Size() (n int) {
2912 var l int
2913 _ = l
2914 l = m.ListMeta.Size()
2915 n += 1 + l + sovGenerated(uint64(l))
2916 if len(m.Items) > 0 {
2917 for _, e := range m.Items {
2918 l = e.Size()
2919 n += 1 + l + sovGenerated(uint64(l))
2920 }
2921 }
2922 return n
2923}
2924
2925func (m *DaemonSetSpec) Size() (n int) {
2926 var l int
2927 _ = l
2928 if m.Selector != nil {
2929 l = m.Selector.Size()
2930 n += 1 + l + sovGenerated(uint64(l))
2931 }
2932 l = m.Template.Size()
2933 n += 1 + l + sovGenerated(uint64(l))
2934 l = m.UpdateStrategy.Size()
2935 n += 1 + l + sovGenerated(uint64(l))
2936 n += 1 + sovGenerated(uint64(m.MinReadySeconds))
2937 n += 1 + sovGenerated(uint64(m.TemplateGeneration))
2938 if m.RevisionHistoryLimit != nil {
2939 n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
2940 }
2941 return n
2942}
2943
2944func (m *DaemonSetStatus) Size() (n int) {
2945 var l int
2946 _ = l
2947 n += 1 + sovGenerated(uint64(m.CurrentNumberScheduled))
2948 n += 1 + sovGenerated(uint64(m.NumberMisscheduled))
2949 n += 1 + sovGenerated(uint64(m.DesiredNumberScheduled))
2950 n += 1 + sovGenerated(uint64(m.NumberReady))
2951 n += 1 + sovGenerated(uint64(m.ObservedGeneration))
2952 n += 1 + sovGenerated(uint64(m.UpdatedNumberScheduled))
2953 n += 1 + sovGenerated(uint64(m.NumberAvailable))
2954 n += 1 + sovGenerated(uint64(m.NumberUnavailable))
2955 if m.CollisionCount != nil {
2956 n += 1 + sovGenerated(uint64(*m.CollisionCount))
2957 }
2958 if len(m.Conditions) > 0 {
2959 for _, e := range m.Conditions {
2960 l = e.Size()
2961 n += 1 + l + sovGenerated(uint64(l))
2962 }
2963 }
2964 return n
2965}
2966
2967func (m *DaemonSetUpdateStrategy) Size() (n int) {
2968 var l int
2969 _ = l
2970 l = len(m.Type)
2971 n += 1 + l + sovGenerated(uint64(l))
2972 if m.RollingUpdate != nil {
2973 l = m.RollingUpdate.Size()
2974 n += 1 + l + sovGenerated(uint64(l))
2975 }
2976 return n
2977}
2978
2979func (m *Deployment) Size() (n int) {
2980 var l int
2981 _ = l
2982 l = m.ObjectMeta.Size()
2983 n += 1 + l + sovGenerated(uint64(l))
2984 l = m.Spec.Size()
2985 n += 1 + l + sovGenerated(uint64(l))
2986 l = m.Status.Size()
2987 n += 1 + l + sovGenerated(uint64(l))
2988 return n
2989}
2990
2991func (m *DeploymentCondition) Size() (n int) {
2992 var l int
2993 _ = l
2994 l = len(m.Type)
2995 n += 1 + l + sovGenerated(uint64(l))
2996 l = len(m.Status)
2997 n += 1 + l + sovGenerated(uint64(l))
2998 l = len(m.Reason)
2999 n += 1 + l + sovGenerated(uint64(l))
3000 l = len(m.Message)
3001 n += 1 + l + sovGenerated(uint64(l))
3002 l = m.LastUpdateTime.Size()
3003 n += 1 + l + sovGenerated(uint64(l))
3004 l = m.LastTransitionTime.Size()
3005 n += 1 + l + sovGenerated(uint64(l))
3006 return n
3007}
3008
3009func (m *DeploymentList) Size() (n int) {
3010 var l int
3011 _ = l
3012 l = m.ListMeta.Size()
3013 n += 1 + l + sovGenerated(uint64(l))
3014 if len(m.Items) > 0 {
3015 for _, e := range m.Items {
3016 l = e.Size()
3017 n += 1 + l + sovGenerated(uint64(l))
3018 }
3019 }
3020 return n
3021}
3022
3023func (m *DeploymentRollback) Size() (n int) {
3024 var l int
3025 _ = l
3026 l = len(m.Name)
3027 n += 1 + l + sovGenerated(uint64(l))
3028 if len(m.UpdatedAnnotations) > 0 {
3029 for k, v := range m.UpdatedAnnotations {
3030 _ = k
3031 _ = v
3032 mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
3033 n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
3034 }
3035 }
3036 l = m.RollbackTo.Size()
3037 n += 1 + l + sovGenerated(uint64(l))
3038 return n
3039}
3040
3041func (m *DeploymentSpec) Size() (n int) {
3042 var l int
3043 _ = l
3044 if m.Replicas != nil {
3045 n += 1 + sovGenerated(uint64(*m.Replicas))
3046 }
3047 if m.Selector != nil {
3048 l = m.Selector.Size()
3049 n += 1 + l + sovGenerated(uint64(l))
3050 }
3051 l = m.Template.Size()
3052 n += 1 + l + sovGenerated(uint64(l))
3053 l = m.Strategy.Size()
3054 n += 1 + l + sovGenerated(uint64(l))
3055 n += 1 + sovGenerated(uint64(m.MinReadySeconds))
3056 if m.RevisionHistoryLimit != nil {
3057 n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
3058 }
3059 n += 2
3060 if m.RollbackTo != nil {
3061 l = m.RollbackTo.Size()
3062 n += 1 + l + sovGenerated(uint64(l))
3063 }
3064 if m.ProgressDeadlineSeconds != nil {
3065 n += 1 + sovGenerated(uint64(*m.ProgressDeadlineSeconds))
3066 }
3067 return n
3068}
3069
3070func (m *DeploymentStatus) Size() (n int) {
3071 var l int
3072 _ = l
3073 n += 1 + sovGenerated(uint64(m.ObservedGeneration))
3074 n += 1 + sovGenerated(uint64(m.Replicas))
3075 n += 1 + sovGenerated(uint64(m.UpdatedReplicas))
3076 n += 1 + sovGenerated(uint64(m.AvailableReplicas))
3077 n += 1 + sovGenerated(uint64(m.UnavailableReplicas))
3078 if len(m.Conditions) > 0 {
3079 for _, e := range m.Conditions {
3080 l = e.Size()
3081 n += 1 + l + sovGenerated(uint64(l))
3082 }
3083 }
3084 n += 1 + sovGenerated(uint64(m.ReadyReplicas))
3085 if m.CollisionCount != nil {
3086 n += 1 + sovGenerated(uint64(*m.CollisionCount))
3087 }
3088 return n
3089}
3090
3091func (m *DeploymentStrategy) Size() (n int) {
3092 var l int
3093 _ = l
3094 l = len(m.Type)
3095 n += 1 + l + sovGenerated(uint64(l))
3096 if m.RollingUpdate != nil {
3097 l = m.RollingUpdate.Size()
3098 n += 1 + l + sovGenerated(uint64(l))
3099 }
3100 return n
3101}
3102
3103func (m *FSGroupStrategyOptions) Size() (n int) {
3104 var l int
3105 _ = l
3106 l = len(m.Rule)
3107 n += 1 + l + sovGenerated(uint64(l))
3108 if len(m.Ranges) > 0 {
3109 for _, e := range m.Ranges {
3110 l = e.Size()
3111 n += 1 + l + sovGenerated(uint64(l))
3112 }
3113 }
3114 return n
3115}
3116
3117func (m *HTTPIngressPath) Size() (n int) {
3118 var l int
3119 _ = l
3120 l = len(m.Path)
3121 n += 1 + l + sovGenerated(uint64(l))
3122 l = m.Backend.Size()
3123 n += 1 + l + sovGenerated(uint64(l))
3124 return n
3125}
3126
3127func (m *HTTPIngressRuleValue) Size() (n int) {
3128 var l int
3129 _ = l
3130 if len(m.Paths) > 0 {
3131 for _, e := range m.Paths {
3132 l = e.Size()
3133 n += 1 + l + sovGenerated(uint64(l))
3134 }
3135 }
3136 return n
3137}
3138
3139func (m *HostPortRange) Size() (n int) {
3140 var l int
3141 _ = l
3142 n += 1 + sovGenerated(uint64(m.Min))
3143 n += 1 + sovGenerated(uint64(m.Max))
3144 return n
3145}
3146
3147func (m *IDRange) Size() (n int) {
3148 var l int
3149 _ = l
3150 n += 1 + sovGenerated(uint64(m.Min))
3151 n += 1 + sovGenerated(uint64(m.Max))
3152 return n
3153}
3154
3155func (m *IPBlock) Size() (n int) {
3156 var l int
3157 _ = l
3158 l = len(m.CIDR)
3159 n += 1 + l + sovGenerated(uint64(l))
3160 if len(m.Except) > 0 {
3161 for _, s := range m.Except {
3162 l = len(s)
3163 n += 1 + l + sovGenerated(uint64(l))
3164 }
3165 }
3166 return n
3167}
3168
3169func (m *Ingress) Size() (n int) {
3170 var l int
3171 _ = l
3172 l = m.ObjectMeta.Size()
3173 n += 1 + l + sovGenerated(uint64(l))
3174 l = m.Spec.Size()
3175 n += 1 + l + sovGenerated(uint64(l))
3176 l = m.Status.Size()
3177 n += 1 + l + sovGenerated(uint64(l))
3178 return n
3179}
3180
3181func (m *IngressBackend) Size() (n int) {
3182 var l int
3183 _ = l
3184 l = len(m.ServiceName)
3185 n += 1 + l + sovGenerated(uint64(l))
3186 l = m.ServicePort.Size()
3187 n += 1 + l + sovGenerated(uint64(l))
3188 return n
3189}
3190
3191func (m *IngressList) Size() (n int) {
3192 var l int
3193 _ = l
3194 l = m.ListMeta.Size()
3195 n += 1 + l + sovGenerated(uint64(l))
3196 if len(m.Items) > 0 {
3197 for _, e := range m.Items {
3198 l = e.Size()
3199 n += 1 + l + sovGenerated(uint64(l))
3200 }
3201 }
3202 return n
3203}
3204
3205func (m *IngressRule) Size() (n int) {
3206 var l int
3207 _ = l
3208 l = len(m.Host)
3209 n += 1 + l + sovGenerated(uint64(l))
3210 l = m.IngressRuleValue.Size()
3211 n += 1 + l + sovGenerated(uint64(l))
3212 return n
3213}
3214
3215func (m *IngressRuleValue) Size() (n int) {
3216 var l int
3217 _ = l
3218 if m.HTTP != nil {
3219 l = m.HTTP.Size()
3220 n += 1 + l + sovGenerated(uint64(l))
3221 }
3222 return n
3223}
3224
3225func (m *IngressSpec) Size() (n int) {
3226 var l int
3227 _ = l
3228 if m.Backend != nil {
3229 l = m.Backend.Size()
3230 n += 1 + l + sovGenerated(uint64(l))
3231 }
3232 if len(m.TLS) > 0 {
3233 for _, e := range m.TLS {
3234 l = e.Size()
3235 n += 1 + l + sovGenerated(uint64(l))
3236 }
3237 }
3238 if len(m.Rules) > 0 {
3239 for _, e := range m.Rules {
3240 l = e.Size()
3241 n += 1 + l + sovGenerated(uint64(l))
3242 }
3243 }
3244 return n
3245}
3246
3247func (m *IngressStatus) Size() (n int) {
3248 var l int
3249 _ = l
3250 l = m.LoadBalancer.Size()
3251 n += 1 + l + sovGenerated(uint64(l))
3252 return n
3253}
3254
3255func (m *IngressTLS) Size() (n int) {
3256 var l int
3257 _ = l
3258 if len(m.Hosts) > 0 {
3259 for _, s := range m.Hosts {
3260 l = len(s)
3261 n += 1 + l + sovGenerated(uint64(l))
3262 }
3263 }
3264 l = len(m.SecretName)
3265 n += 1 + l + sovGenerated(uint64(l))
3266 return n
3267}
3268
3269func (m *NetworkPolicy) Size() (n int) {
3270 var l int
3271 _ = l
3272 l = m.ObjectMeta.Size()
3273 n += 1 + l + sovGenerated(uint64(l))
3274 l = m.Spec.Size()
3275 n += 1 + l + sovGenerated(uint64(l))
3276 return n
3277}
3278
3279func (m *NetworkPolicyEgressRule) Size() (n int) {
3280 var l int
3281 _ = l
3282 if len(m.Ports) > 0 {
3283 for _, e := range m.Ports {
3284 l = e.Size()
3285 n += 1 + l + sovGenerated(uint64(l))
3286 }
3287 }
3288 if len(m.To) > 0 {
3289 for _, e := range m.To {
3290 l = e.Size()
3291 n += 1 + l + sovGenerated(uint64(l))
3292 }
3293 }
3294 return n
3295}
3296
3297func (m *NetworkPolicyIngressRule) Size() (n int) {
3298 var l int
3299 _ = l
3300 if len(m.Ports) > 0 {
3301 for _, e := range m.Ports {
3302 l = e.Size()
3303 n += 1 + l + sovGenerated(uint64(l))
3304 }
3305 }
3306 if len(m.From) > 0 {
3307 for _, e := range m.From {
3308 l = e.Size()
3309 n += 1 + l + sovGenerated(uint64(l))
3310 }
3311 }
3312 return n
3313}
3314
3315func (m *NetworkPolicyList) Size() (n int) {
3316 var l int
3317 _ = l
3318 l = m.ListMeta.Size()
3319 n += 1 + l + sovGenerated(uint64(l))
3320 if len(m.Items) > 0 {
3321 for _, e := range m.Items {
3322 l = e.Size()
3323 n += 1 + l + sovGenerated(uint64(l))
3324 }
3325 }
3326 return n
3327}
3328
3329func (m *NetworkPolicyPeer) Size() (n int) {
3330 var l int
3331 _ = l
3332 if m.PodSelector != nil {
3333 l = m.PodSelector.Size()
3334 n += 1 + l + sovGenerated(uint64(l))
3335 }
3336 if m.NamespaceSelector != nil {
3337 l = m.NamespaceSelector.Size()
3338 n += 1 + l + sovGenerated(uint64(l))
3339 }
3340 if m.IPBlock != nil {
3341 l = m.IPBlock.Size()
3342 n += 1 + l + sovGenerated(uint64(l))
3343 }
3344 return n
3345}
3346
3347func (m *NetworkPolicyPort) Size() (n int) {
3348 var l int
3349 _ = l
3350 if m.Protocol != nil {
3351 l = len(*m.Protocol)
3352 n += 1 + l + sovGenerated(uint64(l))
3353 }
3354 if m.Port != nil {
3355 l = m.Port.Size()
3356 n += 1 + l + sovGenerated(uint64(l))
3357 }
3358 return n
3359}
3360
3361func (m *NetworkPolicySpec) Size() (n int) {
3362 var l int
3363 _ = l
3364 l = m.PodSelector.Size()
3365 n += 1 + l + sovGenerated(uint64(l))
3366 if len(m.Ingress) > 0 {
3367 for _, e := range m.Ingress {
3368 l = e.Size()
3369 n += 1 + l + sovGenerated(uint64(l))
3370 }
3371 }
3372 if len(m.Egress) > 0 {
3373 for _, e := range m.Egress {
3374 l = e.Size()
3375 n += 1 + l + sovGenerated(uint64(l))
3376 }
3377 }
3378 if len(m.PolicyTypes) > 0 {
3379 for _, s := range m.PolicyTypes {
3380 l = len(s)
3381 n += 1 + l + sovGenerated(uint64(l))
3382 }
3383 }
3384 return n
3385}
3386
3387func (m *PodSecurityPolicy) Size() (n int) {
3388 var l int
3389 _ = l
3390 l = m.ObjectMeta.Size()
3391 n += 1 + l + sovGenerated(uint64(l))
3392 l = m.Spec.Size()
3393 n += 1 + l + sovGenerated(uint64(l))
3394 return n
3395}
3396
3397func (m *PodSecurityPolicyList) Size() (n int) {
3398 var l int
3399 _ = l
3400 l = m.ListMeta.Size()
3401 n += 1 + l + sovGenerated(uint64(l))
3402 if len(m.Items) > 0 {
3403 for _, e := range m.Items {
3404 l = e.Size()
3405 n += 1 + l + sovGenerated(uint64(l))
3406 }
3407 }
3408 return n
3409}
3410
3411func (m *PodSecurityPolicySpec) Size() (n int) {
3412 var l int
3413 _ = l
3414 n += 2
3415 if len(m.DefaultAddCapabilities) > 0 {
3416 for _, s := range m.DefaultAddCapabilities {
3417 l = len(s)
3418 n += 1 + l + sovGenerated(uint64(l))
3419 }
3420 }
3421 if len(m.RequiredDropCapabilities) > 0 {
3422 for _, s := range m.RequiredDropCapabilities {
3423 l = len(s)
3424 n += 1 + l + sovGenerated(uint64(l))
3425 }
3426 }
3427 if len(m.AllowedCapabilities) > 0 {
3428 for _, s := range m.AllowedCapabilities {
3429 l = len(s)
3430 n += 1 + l + sovGenerated(uint64(l))
3431 }
3432 }
3433 if len(m.Volumes) > 0 {
3434 for _, s := range m.Volumes {
3435 l = len(s)
3436 n += 1 + l + sovGenerated(uint64(l))
3437 }
3438 }
3439 n += 2
3440 if len(m.HostPorts) > 0 {
3441 for _, e := range m.HostPorts {
3442 l = e.Size()
3443 n += 1 + l + sovGenerated(uint64(l))
3444 }
3445 }
3446 n += 2
3447 n += 2
3448 l = m.SELinux.Size()
3449 n += 1 + l + sovGenerated(uint64(l))
3450 l = m.RunAsUser.Size()
3451 n += 1 + l + sovGenerated(uint64(l))
3452 l = m.SupplementalGroups.Size()
3453 n += 1 + l + sovGenerated(uint64(l))
3454 l = m.FSGroup.Size()
3455 n += 1 + l + sovGenerated(uint64(l))
3456 n += 2
3457 if m.DefaultAllowPrivilegeEscalation != nil {
3458 n += 2
3459 }
3460 if m.AllowPrivilegeEscalation != nil {
3461 n += 3
3462 }
3463 if len(m.AllowedHostPaths) > 0 {
3464 for _, e := range m.AllowedHostPaths {
3465 l = e.Size()
3466 n += 2 + l + sovGenerated(uint64(l))
3467 }
3468 }
3469 if len(m.AllowedFlexVolumes) > 0 {
3470 for _, e := range m.AllowedFlexVolumes {
3471 l = e.Size()
3472 n += 2 + l + sovGenerated(uint64(l))
3473 }
3474 }
3475 if len(m.AllowedUnsafeSysctls) > 0 {
3476 for _, s := range m.AllowedUnsafeSysctls {
3477 l = len(s)
3478 n += 2 + l + sovGenerated(uint64(l))
3479 }
3480 }
3481 if len(m.ForbiddenSysctls) > 0 {
3482 for _, s := range m.ForbiddenSysctls {
3483 l = len(s)
3484 n += 2 + l + sovGenerated(uint64(l))
3485 }
3486 }
3487 if len(m.AllowedProcMountTypes) > 0 {
3488 for _, s := range m.AllowedProcMountTypes {
3489 l = len(s)
3490 n += 2 + l + sovGenerated(uint64(l))
3491 }
3492 }
3493 if m.RunAsGroup != nil {
3494 l = m.RunAsGroup.Size()
3495 n += 2 + l + sovGenerated(uint64(l))
3496 }
3497 if len(m.AllowedCSIDrivers) > 0 {
3498 for _, e := range m.AllowedCSIDrivers {
3499 l = e.Size()
3500 n += 2 + l + sovGenerated(uint64(l))
3501 }
3502 }
3503 if m.RuntimeClass != nil {
3504 l = m.RuntimeClass.Size()
3505 n += 2 + l + sovGenerated(uint64(l))
3506 }
3507 return n
3508}
3509
3510func (m *ReplicaSet) Size() (n int) {
3511 var l int
3512 _ = l
3513 l = m.ObjectMeta.Size()
3514 n += 1 + l + sovGenerated(uint64(l))
3515 l = m.Spec.Size()
3516 n += 1 + l + sovGenerated(uint64(l))
3517 l = m.Status.Size()
3518 n += 1 + l + sovGenerated(uint64(l))
3519 return n
3520}
3521
3522func (m *ReplicaSetCondition) Size() (n int) {
3523 var l int
3524 _ = l
3525 l = len(m.Type)
3526 n += 1 + l + sovGenerated(uint64(l))
3527 l = len(m.Status)
3528 n += 1 + l + sovGenerated(uint64(l))
3529 l = m.LastTransitionTime.Size()
3530 n += 1 + l + sovGenerated(uint64(l))
3531 l = len(m.Reason)
3532 n += 1 + l + sovGenerated(uint64(l))
3533 l = len(m.Message)
3534 n += 1 + l + sovGenerated(uint64(l))
3535 return n
3536}
3537
3538func (m *ReplicaSetList) Size() (n int) {
3539 var l int
3540 _ = l
3541 l = m.ListMeta.Size()
3542 n += 1 + l + sovGenerated(uint64(l))
3543 if len(m.Items) > 0 {
3544 for _, e := range m.Items {
3545 l = e.Size()
3546 n += 1 + l + sovGenerated(uint64(l))
3547 }
3548 }
3549 return n
3550}
3551
3552func (m *ReplicaSetSpec) Size() (n int) {
3553 var l int
3554 _ = l
3555 if m.Replicas != nil {
3556 n += 1 + sovGenerated(uint64(*m.Replicas))
3557 }
3558 if m.Selector != nil {
3559 l = m.Selector.Size()
3560 n += 1 + l + sovGenerated(uint64(l))
3561 }
3562 l = m.Template.Size()
3563 n += 1 + l + sovGenerated(uint64(l))
3564 n += 1 + sovGenerated(uint64(m.MinReadySeconds))
3565 return n
3566}
3567
3568func (m *ReplicaSetStatus) Size() (n int) {
3569 var l int
3570 _ = l
3571 n += 1 + sovGenerated(uint64(m.Replicas))
3572 n += 1 + sovGenerated(uint64(m.FullyLabeledReplicas))
3573 n += 1 + sovGenerated(uint64(m.ObservedGeneration))
3574 n += 1 + sovGenerated(uint64(m.ReadyReplicas))
3575 n += 1 + sovGenerated(uint64(m.AvailableReplicas))
3576 if len(m.Conditions) > 0 {
3577 for _, e := range m.Conditions {
3578 l = e.Size()
3579 n += 1 + l + sovGenerated(uint64(l))
3580 }
3581 }
3582 return n
3583}
3584
3585func (m *ReplicationControllerDummy) Size() (n int) {
3586 var l int
3587 _ = l
3588 return n
3589}
3590
3591func (m *RollbackConfig) Size() (n int) {
3592 var l int
3593 _ = l
3594 n += 1 + sovGenerated(uint64(m.Revision))
3595 return n
3596}
3597
3598func (m *RollingUpdateDaemonSet) Size() (n int) {
3599 var l int
3600 _ = l
3601 if m.MaxUnavailable != nil {
3602 l = m.MaxUnavailable.Size()
3603 n += 1 + l + sovGenerated(uint64(l))
3604 }
3605 return n
3606}
3607
3608func (m *RollingUpdateDeployment) Size() (n int) {
3609 var l int
3610 _ = l
3611 if m.MaxUnavailable != nil {
3612 l = m.MaxUnavailable.Size()
3613 n += 1 + l + sovGenerated(uint64(l))
3614 }
3615 if m.MaxSurge != nil {
3616 l = m.MaxSurge.Size()
3617 n += 1 + l + sovGenerated(uint64(l))
3618 }
3619 return n
3620}
3621
3622func (m *RunAsGroupStrategyOptions) Size() (n int) {
3623 var l int
3624 _ = l
3625 l = len(m.Rule)
3626 n += 1 + l + sovGenerated(uint64(l))
3627 if len(m.Ranges) > 0 {
3628 for _, e := range m.Ranges {
3629 l = e.Size()
3630 n += 1 + l + sovGenerated(uint64(l))
3631 }
3632 }
3633 return n
3634}
3635
3636func (m *RunAsUserStrategyOptions) Size() (n int) {
3637 var l int
3638 _ = l
3639 l = len(m.Rule)
3640 n += 1 + l + sovGenerated(uint64(l))
3641 if len(m.Ranges) > 0 {
3642 for _, e := range m.Ranges {
3643 l = e.Size()
3644 n += 1 + l + sovGenerated(uint64(l))
3645 }
3646 }
3647 return n
3648}
3649
3650func (m *RuntimeClassStrategyOptions) Size() (n int) {
3651 var l int
3652 _ = l
3653 if len(m.AllowedRuntimeClassNames) > 0 {
3654 for _, s := range m.AllowedRuntimeClassNames {
3655 l = len(s)
3656 n += 1 + l + sovGenerated(uint64(l))
3657 }
3658 }
3659 if m.DefaultRuntimeClassName != nil {
3660 l = len(*m.DefaultRuntimeClassName)
3661 n += 1 + l + sovGenerated(uint64(l))
3662 }
3663 return n
3664}
3665
3666func (m *SELinuxStrategyOptions) Size() (n int) {
3667 var l int
3668 _ = l
3669 l = len(m.Rule)
3670 n += 1 + l + sovGenerated(uint64(l))
3671 if m.SELinuxOptions != nil {
3672 l = m.SELinuxOptions.Size()
3673 n += 1 + l + sovGenerated(uint64(l))
3674 }
3675 return n
3676}
3677
3678func (m *Scale) Size() (n int) {
3679 var l int
3680 _ = l
3681 l = m.ObjectMeta.Size()
3682 n += 1 + l + sovGenerated(uint64(l))
3683 l = m.Spec.Size()
3684 n += 1 + l + sovGenerated(uint64(l))
3685 l = m.Status.Size()
3686 n += 1 + l + sovGenerated(uint64(l))
3687 return n
3688}
3689
3690func (m *ScaleSpec) Size() (n int) {
3691 var l int
3692 _ = l
3693 n += 1 + sovGenerated(uint64(m.Replicas))
3694 return n
3695}
3696
3697func (m *ScaleStatus) Size() (n int) {
3698 var l int
3699 _ = l
3700 n += 1 + sovGenerated(uint64(m.Replicas))
3701 if len(m.Selector) > 0 {
3702 for k, v := range m.Selector {
3703 _ = k
3704 _ = v
3705 mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
3706 n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
3707 }
3708 }
3709 l = len(m.TargetSelector)
3710 n += 1 + l + sovGenerated(uint64(l))
3711 return n
3712}
3713
3714func (m *SupplementalGroupsStrategyOptions) Size() (n int) {
3715 var l int
3716 _ = l
3717 l = len(m.Rule)
3718 n += 1 + l + sovGenerated(uint64(l))
3719 if len(m.Ranges) > 0 {
3720 for _, e := range m.Ranges {
3721 l = e.Size()
3722 n += 1 + l + sovGenerated(uint64(l))
3723 }
3724 }
3725 return n
3726}
3727
3728func sovGenerated(x uint64) (n int) {
3729 for {
3730 n++
3731 x >>= 7
3732 if x == 0 {
3733 break
3734 }
3735 }
3736 return n
3737}
3738func sozGenerated(x uint64) (n int) {
3739 return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
3740}
3741func (this *AllowedCSIDriver) String() string {
3742 if this == nil {
3743 return "nil"
3744 }
3745 s := strings.Join([]string{`&AllowedCSIDriver{`,
3746 `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
3747 `}`,
3748 }, "")
3749 return s
3750}
3751func (this *AllowedFlexVolume) String() string {
3752 if this == nil {
3753 return "nil"
3754 }
3755 s := strings.Join([]string{`&AllowedFlexVolume{`,
3756 `Driver:` + fmt.Sprintf("%v", this.Driver) + `,`,
3757 `}`,
3758 }, "")
3759 return s
3760}
3761func (this *AllowedHostPath) String() string {
3762 if this == nil {
3763 return "nil"
3764 }
3765 s := strings.Join([]string{`&AllowedHostPath{`,
3766 `PathPrefix:` + fmt.Sprintf("%v", this.PathPrefix) + `,`,
3767 `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
3768 `}`,
3769 }, "")
3770 return s
3771}
3772func (this *DaemonSet) String() string {
3773 if this == nil {
3774 return "nil"
3775 }
3776 s := strings.Join([]string{`&DaemonSet{`,
3777 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
3778 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DaemonSetSpec", "DaemonSetSpec", 1), `&`, ``, 1) + `,`,
3779 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DaemonSetStatus", "DaemonSetStatus", 1), `&`, ``, 1) + `,`,
3780 `}`,
3781 }, "")
3782 return s
3783}
3784func (this *DaemonSetCondition) String() string {
3785 if this == nil {
3786 return "nil"
3787 }
3788 s := strings.Join([]string{`&DaemonSetCondition{`,
3789 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
3790 `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
3791 `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
3792 `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
3793 `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
3794 `}`,
3795 }, "")
3796 return s
3797}
3798func (this *DaemonSetList) String() string {
3799 if this == nil {
3800 return "nil"
3801 }
3802 s := strings.Join([]string{`&DaemonSetList{`,
3803 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
3804 `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "DaemonSet", "DaemonSet", 1), `&`, ``, 1) + `,`,
3805 `}`,
3806 }, "")
3807 return s
3808}
3809func (this *DaemonSetSpec) String() string {
3810 if this == nil {
3811 return "nil"
3812 }
3813 s := strings.Join([]string{`&DaemonSetSpec{`,
3814 `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
3815 `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
3816 `UpdateStrategy:` + strings.Replace(strings.Replace(this.UpdateStrategy.String(), "DaemonSetUpdateStrategy", "DaemonSetUpdateStrategy", 1), `&`, ``, 1) + `,`,
3817 `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
3818 `TemplateGeneration:` + fmt.Sprintf("%v", this.TemplateGeneration) + `,`,
3819 `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
3820 `}`,
3821 }, "")
3822 return s
3823}
3824func (this *DaemonSetStatus) String() string {
3825 if this == nil {
3826 return "nil"
3827 }
3828 s := strings.Join([]string{`&DaemonSetStatus{`,
3829 `CurrentNumberScheduled:` + fmt.Sprintf("%v", this.CurrentNumberScheduled) + `,`,
3830 `NumberMisscheduled:` + fmt.Sprintf("%v", this.NumberMisscheduled) + `,`,
3831 `DesiredNumberScheduled:` + fmt.Sprintf("%v", this.DesiredNumberScheduled) + `,`,
3832 `NumberReady:` + fmt.Sprintf("%v", this.NumberReady) + `,`,
3833 `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
3834 `UpdatedNumberScheduled:` + fmt.Sprintf("%v", this.UpdatedNumberScheduled) + `,`,
3835 `NumberAvailable:` + fmt.Sprintf("%v", this.NumberAvailable) + `,`,
3836 `NumberUnavailable:` + fmt.Sprintf("%v", this.NumberUnavailable) + `,`,
3837 `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
3838 `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "DaemonSetCondition", "DaemonSetCondition", 1), `&`, ``, 1) + `,`,
3839 `}`,
3840 }, "")
3841 return s
3842}
3843func (this *DaemonSetUpdateStrategy) String() string {
3844 if this == nil {
3845 return "nil"
3846 }
3847 s := strings.Join([]string{`&DaemonSetUpdateStrategy{`,
3848 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
3849 `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateDaemonSet", "RollingUpdateDaemonSet", 1) + `,`,
3850 `}`,
3851 }, "")
3852 return s
3853}
3854func (this *Deployment) String() string {
3855 if this == nil {
3856 return "nil"
3857 }
3858 s := strings.Join([]string{`&Deployment{`,
3859 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
3860 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DeploymentSpec", "DeploymentSpec", 1), `&`, ``, 1) + `,`,
3861 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DeploymentStatus", "DeploymentStatus", 1), `&`, ``, 1) + `,`,
3862 `}`,
3863 }, "")
3864 return s
3865}
3866func (this *DeploymentCondition) String() string {
3867 if this == nil {
3868 return "nil"
3869 }
3870 s := strings.Join([]string{`&DeploymentCondition{`,
3871 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
3872 `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
3873 `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
3874 `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
3875 `LastUpdateTime:` + strings.Replace(strings.Replace(this.LastUpdateTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
3876 `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
3877 `}`,
3878 }, "")
3879 return s
3880}
3881func (this *DeploymentList) String() string {
3882 if this == nil {
3883 return "nil"
3884 }
3885 s := strings.Join([]string{`&DeploymentList{`,
3886 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
3887 `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Deployment", "Deployment", 1), `&`, ``, 1) + `,`,
3888 `}`,
3889 }, "")
3890 return s
3891}
3892func (this *DeploymentRollback) String() string {
3893 if this == nil {
3894 return "nil"
3895 }
3896 keysForUpdatedAnnotations := make([]string, 0, len(this.UpdatedAnnotations))
3897 for k := range this.UpdatedAnnotations {
3898 keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, k)
3899 }
3900 github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations)
3901 mapStringForUpdatedAnnotations := "map[string]string{"
3902 for _, k := range keysForUpdatedAnnotations {
3903 mapStringForUpdatedAnnotations += fmt.Sprintf("%v: %v,", k, this.UpdatedAnnotations[k])
3904 }
3905 mapStringForUpdatedAnnotations += "}"
3906 s := strings.Join([]string{`&DeploymentRollback{`,
3907 `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
3908 `UpdatedAnnotations:` + mapStringForUpdatedAnnotations + `,`,
3909 `RollbackTo:` + strings.Replace(strings.Replace(this.RollbackTo.String(), "RollbackConfig", "RollbackConfig", 1), `&`, ``, 1) + `,`,
3910 `}`,
3911 }, "")
3912 return s
3913}
3914func (this *DeploymentSpec) String() string {
3915 if this == nil {
3916 return "nil"
3917 }
3918 s := strings.Join([]string{`&DeploymentSpec{`,
3919 `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
3920 `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
3921 `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
3922 `Strategy:` + strings.Replace(strings.Replace(this.Strategy.String(), "DeploymentStrategy", "DeploymentStrategy", 1), `&`, ``, 1) + `,`,
3923 `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
3924 `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
3925 `Paused:` + fmt.Sprintf("%v", this.Paused) + `,`,
3926 `RollbackTo:` + strings.Replace(fmt.Sprintf("%v", this.RollbackTo), "RollbackConfig", "RollbackConfig", 1) + `,`,
3927 `ProgressDeadlineSeconds:` + valueToStringGenerated(this.ProgressDeadlineSeconds) + `,`,
3928 `}`,
3929 }, "")
3930 return s
3931}
3932func (this *DeploymentStatus) String() string {
3933 if this == nil {
3934 return "nil"
3935 }
3936 s := strings.Join([]string{`&DeploymentStatus{`,
3937 `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
3938 `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
3939 `UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`,
3940 `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
3941 `UnavailableReplicas:` + fmt.Sprintf("%v", this.UnavailableReplicas) + `,`,
3942 `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "DeploymentCondition", "DeploymentCondition", 1), `&`, ``, 1) + `,`,
3943 `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
3944 `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
3945 `}`,
3946 }, "")
3947 return s
3948}
3949func (this *DeploymentStrategy) String() string {
3950 if this == nil {
3951 return "nil"
3952 }
3953 s := strings.Join([]string{`&DeploymentStrategy{`,
3954 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
3955 `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateDeployment", "RollingUpdateDeployment", 1) + `,`,
3956 `}`,
3957 }, "")
3958 return s
3959}
3960func (this *FSGroupStrategyOptions) String() string {
3961 if this == nil {
3962 return "nil"
3963 }
3964 s := strings.Join([]string{`&FSGroupStrategyOptions{`,
3965 `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
3966 `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
3967 `}`,
3968 }, "")
3969 return s
3970}
3971func (this *HTTPIngressPath) String() string {
3972 if this == nil {
3973 return "nil"
3974 }
3975 s := strings.Join([]string{`&HTTPIngressPath{`,
3976 `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
3977 `Backend:` + strings.Replace(strings.Replace(this.Backend.String(), "IngressBackend", "IngressBackend", 1), `&`, ``, 1) + `,`,
3978 `}`,
3979 }, "")
3980 return s
3981}
3982func (this *HTTPIngressRuleValue) String() string {
3983 if this == nil {
3984 return "nil"
3985 }
3986 s := strings.Join([]string{`&HTTPIngressRuleValue{`,
3987 `Paths:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Paths), "HTTPIngressPath", "HTTPIngressPath", 1), `&`, ``, 1) + `,`,
3988 `}`,
3989 }, "")
3990 return s
3991}
3992func (this *HostPortRange) String() string {
3993 if this == nil {
3994 return "nil"
3995 }
3996 s := strings.Join([]string{`&HostPortRange{`,
3997 `Min:` + fmt.Sprintf("%v", this.Min) + `,`,
3998 `Max:` + fmt.Sprintf("%v", this.Max) + `,`,
3999 `}`,
4000 }, "")
4001 return s
4002}
4003func (this *IDRange) String() string {
4004 if this == nil {
4005 return "nil"
4006 }
4007 s := strings.Join([]string{`&IDRange{`,
4008 `Min:` + fmt.Sprintf("%v", this.Min) + `,`,
4009 `Max:` + fmt.Sprintf("%v", this.Max) + `,`,
4010 `}`,
4011 }, "")
4012 return s
4013}
4014func (this *IPBlock) String() string {
4015 if this == nil {
4016 return "nil"
4017 }
4018 s := strings.Join([]string{`&IPBlock{`,
4019 `CIDR:` + fmt.Sprintf("%v", this.CIDR) + `,`,
4020 `Except:` + fmt.Sprintf("%v", this.Except) + `,`,
4021 `}`,
4022 }, "")
4023 return s
4024}
4025func (this *Ingress) String() string {
4026 if this == nil {
4027 return "nil"
4028 }
4029 s := strings.Join([]string{`&Ingress{`,
4030 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
4031 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "IngressSpec", "IngressSpec", 1), `&`, ``, 1) + `,`,
4032 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "IngressStatus", "IngressStatus", 1), `&`, ``, 1) + `,`,
4033 `}`,
4034 }, "")
4035 return s
4036}
4037func (this *IngressBackend) String() string {
4038 if this == nil {
4039 return "nil"
4040 }
4041 s := strings.Join([]string{`&IngressBackend{`,
4042 `ServiceName:` + fmt.Sprintf("%v", this.ServiceName) + `,`,
4043 `ServicePort:` + strings.Replace(strings.Replace(this.ServicePort.String(), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`,
4044 `}`,
4045 }, "")
4046 return s
4047}
4048func (this *IngressList) String() string {
4049 if this == nil {
4050 return "nil"
4051 }
4052 s := strings.Join([]string{`&IngressList{`,
4053 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
4054 `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Ingress", "Ingress", 1), `&`, ``, 1) + `,`,
4055 `}`,
4056 }, "")
4057 return s
4058}
4059func (this *IngressRule) String() string {
4060 if this == nil {
4061 return "nil"
4062 }
4063 s := strings.Join([]string{`&IngressRule{`,
4064 `Host:` + fmt.Sprintf("%v", this.Host) + `,`,
4065 `IngressRuleValue:` + strings.Replace(strings.Replace(this.IngressRuleValue.String(), "IngressRuleValue", "IngressRuleValue", 1), `&`, ``, 1) + `,`,
4066 `}`,
4067 }, "")
4068 return s
4069}
4070func (this *IngressRuleValue) String() string {
4071 if this == nil {
4072 return "nil"
4073 }
4074 s := strings.Join([]string{`&IngressRuleValue{`,
4075 `HTTP:` + strings.Replace(fmt.Sprintf("%v", this.HTTP), "HTTPIngressRuleValue", "HTTPIngressRuleValue", 1) + `,`,
4076 `}`,
4077 }, "")
4078 return s
4079}
4080func (this *IngressSpec) String() string {
4081 if this == nil {
4082 return "nil"
4083 }
4084 s := strings.Join([]string{`&IngressSpec{`,
4085 `Backend:` + strings.Replace(fmt.Sprintf("%v", this.Backend), "IngressBackend", "IngressBackend", 1) + `,`,
4086 `TLS:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.TLS), "IngressTLS", "IngressTLS", 1), `&`, ``, 1) + `,`,
4087 `Rules:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Rules), "IngressRule", "IngressRule", 1), `&`, ``, 1) + `,`,
4088 `}`,
4089 }, "")
4090 return s
4091}
4092func (this *IngressStatus) String() string {
4093 if this == nil {
4094 return "nil"
4095 }
4096 s := strings.Join([]string{`&IngressStatus{`,
4097 `LoadBalancer:` + strings.Replace(strings.Replace(this.LoadBalancer.String(), "LoadBalancerStatus", "k8s_io_api_core_v1.LoadBalancerStatus", 1), `&`, ``, 1) + `,`,
4098 `}`,
4099 }, "")
4100 return s
4101}
4102func (this *IngressTLS) String() string {
4103 if this == nil {
4104 return "nil"
4105 }
4106 s := strings.Join([]string{`&IngressTLS{`,
4107 `Hosts:` + fmt.Sprintf("%v", this.Hosts) + `,`,
4108 `SecretName:` + fmt.Sprintf("%v", this.SecretName) + `,`,
4109 `}`,
4110 }, "")
4111 return s
4112}
4113func (this *NetworkPolicy) String() string {
4114 if this == nil {
4115 return "nil"
4116 }
4117 s := strings.Join([]string{`&NetworkPolicy{`,
4118 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
4119 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "NetworkPolicySpec", "NetworkPolicySpec", 1), `&`, ``, 1) + `,`,
4120 `}`,
4121 }, "")
4122 return s
4123}
4124func (this *NetworkPolicyEgressRule) String() string {
4125 if this == nil {
4126 return "nil"
4127 }
4128 s := strings.Join([]string{`&NetworkPolicyEgressRule{`,
4129 `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "NetworkPolicyPort", "NetworkPolicyPort", 1), `&`, ``, 1) + `,`,
4130 `To:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.To), "NetworkPolicyPeer", "NetworkPolicyPeer", 1), `&`, ``, 1) + `,`,
4131 `}`,
4132 }, "")
4133 return s
4134}
4135func (this *NetworkPolicyIngressRule) String() string {
4136 if this == nil {
4137 return "nil"
4138 }
4139 s := strings.Join([]string{`&NetworkPolicyIngressRule{`,
4140 `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "NetworkPolicyPort", "NetworkPolicyPort", 1), `&`, ``, 1) + `,`,
4141 `From:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.From), "NetworkPolicyPeer", "NetworkPolicyPeer", 1), `&`, ``, 1) + `,`,
4142 `}`,
4143 }, "")
4144 return s
4145}
4146func (this *NetworkPolicyList) String() string {
4147 if this == nil {
4148 return "nil"
4149 }
4150 s := strings.Join([]string{`&NetworkPolicyList{`,
4151 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
4152 `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "NetworkPolicy", "NetworkPolicy", 1), `&`, ``, 1) + `,`,
4153 `}`,
4154 }, "")
4155 return s
4156}
4157func (this *NetworkPolicyPeer) String() string {
4158 if this == nil {
4159 return "nil"
4160 }
4161 s := strings.Join([]string{`&NetworkPolicyPeer{`,
4162 `PodSelector:` + strings.Replace(fmt.Sprintf("%v", this.PodSelector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
4163 `NamespaceSelector:` + strings.Replace(fmt.Sprintf("%v", this.NamespaceSelector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
4164 `IPBlock:` + strings.Replace(fmt.Sprintf("%v", this.IPBlock), "IPBlock", "IPBlock", 1) + `,`,
4165 `}`,
4166 }, "")
4167 return s
4168}
4169func (this *NetworkPolicyPort) String() string {
4170 if this == nil {
4171 return "nil"
4172 }
4173 s := strings.Join([]string{`&NetworkPolicyPort{`,
4174 `Protocol:` + valueToStringGenerated(this.Protocol) + `,`,
4175 `Port:` + strings.Replace(fmt.Sprintf("%v", this.Port), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
4176 `}`,
4177 }, "")
4178 return s
4179}
4180func (this *NetworkPolicySpec) String() string {
4181 if this == nil {
4182 return "nil"
4183 }
4184 s := strings.Join([]string{`&NetworkPolicySpec{`,
4185 `PodSelector:` + strings.Replace(strings.Replace(this.PodSelector.String(), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1), `&`, ``, 1) + `,`,
4186 `Ingress:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ingress), "NetworkPolicyIngressRule", "NetworkPolicyIngressRule", 1), `&`, ``, 1) + `,`,
4187 `Egress:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Egress), "NetworkPolicyEgressRule", "NetworkPolicyEgressRule", 1), `&`, ``, 1) + `,`,
4188 `PolicyTypes:` + fmt.Sprintf("%v", this.PolicyTypes) + `,`,
4189 `}`,
4190 }, "")
4191 return s
4192}
4193func (this *PodSecurityPolicy) String() string {
4194 if this == nil {
4195 return "nil"
4196 }
4197 s := strings.Join([]string{`&PodSecurityPolicy{`,
4198 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
4199 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodSecurityPolicySpec", "PodSecurityPolicySpec", 1), `&`, ``, 1) + `,`,
4200 `}`,
4201 }, "")
4202 return s
4203}
4204func (this *PodSecurityPolicyList) String() string {
4205 if this == nil {
4206 return "nil"
4207 }
4208 s := strings.Join([]string{`&PodSecurityPolicyList{`,
4209 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
4210 `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PodSecurityPolicy", "PodSecurityPolicy", 1), `&`, ``, 1) + `,`,
4211 `}`,
4212 }, "")
4213 return s
4214}
4215func (this *PodSecurityPolicySpec) String() string {
4216 if this == nil {
4217 return "nil"
4218 }
4219 s := strings.Join([]string{`&PodSecurityPolicySpec{`,
4220 `Privileged:` + fmt.Sprintf("%v", this.Privileged) + `,`,
4221 `DefaultAddCapabilities:` + fmt.Sprintf("%v", this.DefaultAddCapabilities) + `,`,
4222 `RequiredDropCapabilities:` + fmt.Sprintf("%v", this.RequiredDropCapabilities) + `,`,
4223 `AllowedCapabilities:` + fmt.Sprintf("%v", this.AllowedCapabilities) + `,`,
4224 `Volumes:` + fmt.Sprintf("%v", this.Volumes) + `,`,
4225 `HostNetwork:` + fmt.Sprintf("%v", this.HostNetwork) + `,`,
4226 `HostPorts:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.HostPorts), "HostPortRange", "HostPortRange", 1), `&`, ``, 1) + `,`,
4227 `HostPID:` + fmt.Sprintf("%v", this.HostPID) + `,`,
4228 `HostIPC:` + fmt.Sprintf("%v", this.HostIPC) + `,`,
4229 `SELinux:` + strings.Replace(strings.Replace(this.SELinux.String(), "SELinuxStrategyOptions", "SELinuxStrategyOptions", 1), `&`, ``, 1) + `,`,
4230 `RunAsUser:` + strings.Replace(strings.Replace(this.RunAsUser.String(), "RunAsUserStrategyOptions", "RunAsUserStrategyOptions", 1), `&`, ``, 1) + `,`,
4231 `SupplementalGroups:` + strings.Replace(strings.Replace(this.SupplementalGroups.String(), "SupplementalGroupsStrategyOptions", "SupplementalGroupsStrategyOptions", 1), `&`, ``, 1) + `,`,
4232 `FSGroup:` + strings.Replace(strings.Replace(this.FSGroup.String(), "FSGroupStrategyOptions", "FSGroupStrategyOptions", 1), `&`, ``, 1) + `,`,
4233 `ReadOnlyRootFilesystem:` + fmt.Sprintf("%v", this.ReadOnlyRootFilesystem) + `,`,
4234 `DefaultAllowPrivilegeEscalation:` + valueToStringGenerated(this.DefaultAllowPrivilegeEscalation) + `,`,
4235 `AllowPrivilegeEscalation:` + valueToStringGenerated(this.AllowPrivilegeEscalation) + `,`,
4236 `AllowedHostPaths:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.AllowedHostPaths), "AllowedHostPath", "AllowedHostPath", 1), `&`, ``, 1) + `,`,
4237 `AllowedFlexVolumes:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.AllowedFlexVolumes), "AllowedFlexVolume", "AllowedFlexVolume", 1), `&`, ``, 1) + `,`,
4238 `AllowedUnsafeSysctls:` + fmt.Sprintf("%v", this.AllowedUnsafeSysctls) + `,`,
4239 `ForbiddenSysctls:` + fmt.Sprintf("%v", this.ForbiddenSysctls) + `,`,
4240 `AllowedProcMountTypes:` + fmt.Sprintf("%v", this.AllowedProcMountTypes) + `,`,
4241 `RunAsGroup:` + strings.Replace(fmt.Sprintf("%v", this.RunAsGroup), "RunAsGroupStrategyOptions", "RunAsGroupStrategyOptions", 1) + `,`,
4242 `AllowedCSIDrivers:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.AllowedCSIDrivers), "AllowedCSIDriver", "AllowedCSIDriver", 1), `&`, ``, 1) + `,`,
4243 `RuntimeClass:` + strings.Replace(fmt.Sprintf("%v", this.RuntimeClass), "RuntimeClassStrategyOptions", "RuntimeClassStrategyOptions", 1) + `,`,
4244 `}`,
4245 }, "")
4246 return s
4247}
4248func (this *ReplicaSet) String() string {
4249 if this == nil {
4250 return "nil"
4251 }
4252 s := strings.Join([]string{`&ReplicaSet{`,
4253 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
4254 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ReplicaSetSpec", "ReplicaSetSpec", 1), `&`, ``, 1) + `,`,
4255 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ReplicaSetStatus", "ReplicaSetStatus", 1), `&`, ``, 1) + `,`,
4256 `}`,
4257 }, "")
4258 return s
4259}
4260func (this *ReplicaSetCondition) String() string {
4261 if this == nil {
4262 return "nil"
4263 }
4264 s := strings.Join([]string{`&ReplicaSetCondition{`,
4265 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
4266 `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
4267 `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
4268 `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
4269 `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
4270 `}`,
4271 }, "")
4272 return s
4273}
4274func (this *ReplicaSetList) String() string {
4275 if this == nil {
4276 return "nil"
4277 }
4278 s := strings.Join([]string{`&ReplicaSetList{`,
4279 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
4280 `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ReplicaSet", "ReplicaSet", 1), `&`, ``, 1) + `,`,
4281 `}`,
4282 }, "")
4283 return s
4284}
4285func (this *ReplicaSetSpec) String() string {
4286 if this == nil {
4287 return "nil"
4288 }
4289 s := strings.Join([]string{`&ReplicaSetSpec{`,
4290 `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
4291 `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
4292 `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
4293 `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
4294 `}`,
4295 }, "")
4296 return s
4297}
4298func (this *ReplicaSetStatus) String() string {
4299 if this == nil {
4300 return "nil"
4301 }
4302 s := strings.Join([]string{`&ReplicaSetStatus{`,
4303 `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
4304 `FullyLabeledReplicas:` + fmt.Sprintf("%v", this.FullyLabeledReplicas) + `,`,
4305 `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
4306 `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
4307 `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
4308 `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "ReplicaSetCondition", "ReplicaSetCondition", 1), `&`, ``, 1) + `,`,
4309 `}`,
4310 }, "")
4311 return s
4312}
4313func (this *ReplicationControllerDummy) String() string {
4314 if this == nil {
4315 return "nil"
4316 }
4317 s := strings.Join([]string{`&ReplicationControllerDummy{`,
4318 `}`,
4319 }, "")
4320 return s
4321}
4322func (this *RollbackConfig) String() string {
4323 if this == nil {
4324 return "nil"
4325 }
4326 s := strings.Join([]string{`&RollbackConfig{`,
4327 `Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
4328 `}`,
4329 }, "")
4330 return s
4331}
4332func (this *RollingUpdateDaemonSet) String() string {
4333 if this == nil {
4334 return "nil"
4335 }
4336 s := strings.Join([]string{`&RollingUpdateDaemonSet{`,
4337 `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
4338 `}`,
4339 }, "")
4340 return s
4341}
4342func (this *RollingUpdateDeployment) String() string {
4343 if this == nil {
4344 return "nil"
4345 }
4346 s := strings.Join([]string{`&RollingUpdateDeployment{`,
4347 `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
4348 `MaxSurge:` + strings.Replace(fmt.Sprintf("%v", this.MaxSurge), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
4349 `}`,
4350 }, "")
4351 return s
4352}
4353func (this *RunAsGroupStrategyOptions) String() string {
4354 if this == nil {
4355 return "nil"
4356 }
4357 s := strings.Join([]string{`&RunAsGroupStrategyOptions{`,
4358 `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
4359 `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
4360 `}`,
4361 }, "")
4362 return s
4363}
4364func (this *RunAsUserStrategyOptions) String() string {
4365 if this == nil {
4366 return "nil"
4367 }
4368 s := strings.Join([]string{`&RunAsUserStrategyOptions{`,
4369 `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
4370 `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
4371 `}`,
4372 }, "")
4373 return s
4374}
4375func (this *RuntimeClassStrategyOptions) String() string {
4376 if this == nil {
4377 return "nil"
4378 }
4379 s := strings.Join([]string{`&RuntimeClassStrategyOptions{`,
4380 `AllowedRuntimeClassNames:` + fmt.Sprintf("%v", this.AllowedRuntimeClassNames) + `,`,
4381 `DefaultRuntimeClassName:` + valueToStringGenerated(this.DefaultRuntimeClassName) + `,`,
4382 `}`,
4383 }, "")
4384 return s
4385}
4386func (this *SELinuxStrategyOptions) String() string {
4387 if this == nil {
4388 return "nil"
4389 }
4390 s := strings.Join([]string{`&SELinuxStrategyOptions{`,
4391 `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
4392 `SELinuxOptions:` + strings.Replace(fmt.Sprintf("%v", this.SELinuxOptions), "SELinuxOptions", "k8s_io_api_core_v1.SELinuxOptions", 1) + `,`,
4393 `}`,
4394 }, "")
4395 return s
4396}
4397func (this *Scale) String() string {
4398 if this == nil {
4399 return "nil"
4400 }
4401 s := strings.Join([]string{`&Scale{`,
4402 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
4403 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ScaleSpec", "ScaleSpec", 1), `&`, ``, 1) + `,`,
4404 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ScaleStatus", "ScaleStatus", 1), `&`, ``, 1) + `,`,
4405 `}`,
4406 }, "")
4407 return s
4408}
4409func (this *ScaleSpec) String() string {
4410 if this == nil {
4411 return "nil"
4412 }
4413 s := strings.Join([]string{`&ScaleSpec{`,
4414 `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
4415 `}`,
4416 }, "")
4417 return s
4418}
4419func (this *ScaleStatus) String() string {
4420 if this == nil {
4421 return "nil"
4422 }
4423 keysForSelector := make([]string, 0, len(this.Selector))
4424 for k := range this.Selector {
4425 keysForSelector = append(keysForSelector, k)
4426 }
4427 github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
4428 mapStringForSelector := "map[string]string{"
4429 for _, k := range keysForSelector {
4430 mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k])
4431 }
4432 mapStringForSelector += "}"
4433 s := strings.Join([]string{`&ScaleStatus{`,
4434 `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
4435 `Selector:` + mapStringForSelector + `,`,
4436 `TargetSelector:` + fmt.Sprintf("%v", this.TargetSelector) + `,`,
4437 `}`,
4438 }, "")
4439 return s
4440}
4441func (this *SupplementalGroupsStrategyOptions) String() string {
4442 if this == nil {
4443 return "nil"
4444 }
4445 s := strings.Join([]string{`&SupplementalGroupsStrategyOptions{`,
4446 `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
4447 `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
4448 `}`,
4449 }, "")
4450 return s
4451}
4452func valueToStringGenerated(v interface{}) string {
4453 rv := reflect.ValueOf(v)
4454 if rv.IsNil() {
4455 return "nil"
4456 }
4457 pv := reflect.Indirect(rv).Interface()
4458 return fmt.Sprintf("*%v", pv)
4459}
4460func (m *AllowedCSIDriver) Unmarshal(dAtA []byte) error {
4461 l := len(dAtA)
4462 iNdEx := 0
4463 for iNdEx < l {
4464 preIndex := iNdEx
4465 var wire uint64
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 wire |= (uint64(b) & 0x7F) << shift
4476 if b < 0x80 {
4477 break
4478 }
4479 }
4480 fieldNum := int32(wire >> 3)
4481 wireType := int(wire & 0x7)
4482 if wireType == 4 {
4483 return fmt.Errorf("proto: AllowedCSIDriver: wiretype end group for non-group")
4484 }
4485 if fieldNum <= 0 {
4486 return fmt.Errorf("proto: AllowedCSIDriver: illegal tag %d (wire type %d)", fieldNum, wire)
4487 }
4488 switch fieldNum {
4489 case 1:
4490 if wireType != 2 {
4491 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
4492 }
4493 var stringLen uint64
4494 for shift := uint(0); ; shift += 7 {
4495 if shift >= 64 {
4496 return ErrIntOverflowGenerated
4497 }
4498 if iNdEx >= l {
4499 return io.ErrUnexpectedEOF
4500 }
4501 b := dAtA[iNdEx]
4502 iNdEx++
4503 stringLen |= (uint64(b) & 0x7F) << shift
4504 if b < 0x80 {
4505 break
4506 }
4507 }
4508 intStringLen := int(stringLen)
4509 if intStringLen < 0 {
4510 return ErrInvalidLengthGenerated
4511 }
4512 postIndex := iNdEx + intStringLen
4513 if postIndex > l {
4514 return io.ErrUnexpectedEOF
4515 }
4516 m.Name = string(dAtA[iNdEx:postIndex])
4517 iNdEx = postIndex
4518 default:
4519 iNdEx = preIndex
4520 skippy, err := skipGenerated(dAtA[iNdEx:])
4521 if err != nil {
4522 return err
4523 }
4524 if skippy < 0 {
4525 return ErrInvalidLengthGenerated
4526 }
4527 if (iNdEx + skippy) > l {
4528 return io.ErrUnexpectedEOF
4529 }
4530 iNdEx += skippy
4531 }
4532 }
4533
4534 if iNdEx > l {
4535 return io.ErrUnexpectedEOF
4536 }
4537 return nil
4538}
4539func (m *AllowedFlexVolume) Unmarshal(dAtA []byte) error {
4540 l := len(dAtA)
4541 iNdEx := 0
4542 for iNdEx < l {
4543 preIndex := iNdEx
4544 var wire uint64
4545 for shift := uint(0); ; shift += 7 {
4546 if shift >= 64 {
4547 return ErrIntOverflowGenerated
4548 }
4549 if iNdEx >= l {
4550 return io.ErrUnexpectedEOF
4551 }
4552 b := dAtA[iNdEx]
4553 iNdEx++
4554 wire |= (uint64(b) & 0x7F) << shift
4555 if b < 0x80 {
4556 break
4557 }
4558 }
4559 fieldNum := int32(wire >> 3)
4560 wireType := int(wire & 0x7)
4561 if wireType == 4 {
4562 return fmt.Errorf("proto: AllowedFlexVolume: wiretype end group for non-group")
4563 }
4564 if fieldNum <= 0 {
4565 return fmt.Errorf("proto: AllowedFlexVolume: illegal tag %d (wire type %d)", fieldNum, wire)
4566 }
4567 switch fieldNum {
4568 case 1:
4569 if wireType != 2 {
4570 return fmt.Errorf("proto: wrong wireType = %d for field Driver", wireType)
4571 }
4572 var stringLen uint64
4573 for shift := uint(0); ; shift += 7 {
4574 if shift >= 64 {
4575 return ErrIntOverflowGenerated
4576 }
4577 if iNdEx >= l {
4578 return io.ErrUnexpectedEOF
4579 }
4580 b := dAtA[iNdEx]
4581 iNdEx++
4582 stringLen |= (uint64(b) & 0x7F) << shift
4583 if b < 0x80 {
4584 break
4585 }
4586 }
4587 intStringLen := int(stringLen)
4588 if intStringLen < 0 {
4589 return ErrInvalidLengthGenerated
4590 }
4591 postIndex := iNdEx + intStringLen
4592 if postIndex > l {
4593 return io.ErrUnexpectedEOF
4594 }
4595 m.Driver = string(dAtA[iNdEx:postIndex])
4596 iNdEx = postIndex
4597 default:
4598 iNdEx = preIndex
4599 skippy, err := skipGenerated(dAtA[iNdEx:])
4600 if err != nil {
4601 return err
4602 }
4603 if skippy < 0 {
4604 return ErrInvalidLengthGenerated
4605 }
4606 if (iNdEx + skippy) > l {
4607 return io.ErrUnexpectedEOF
4608 }
4609 iNdEx += skippy
4610 }
4611 }
4612
4613 if iNdEx > l {
4614 return io.ErrUnexpectedEOF
4615 }
4616 return nil
4617}
4618func (m *AllowedHostPath) Unmarshal(dAtA []byte) error {
4619 l := len(dAtA)
4620 iNdEx := 0
4621 for iNdEx < l {
4622 preIndex := iNdEx
4623 var wire uint64
4624 for shift := uint(0); ; shift += 7 {
4625 if shift >= 64 {
4626 return ErrIntOverflowGenerated
4627 }
4628 if iNdEx >= l {
4629 return io.ErrUnexpectedEOF
4630 }
4631 b := dAtA[iNdEx]
4632 iNdEx++
4633 wire |= (uint64(b) & 0x7F) << shift
4634 if b < 0x80 {
4635 break
4636 }
4637 }
4638 fieldNum := int32(wire >> 3)
4639 wireType := int(wire & 0x7)
4640 if wireType == 4 {
4641 return fmt.Errorf("proto: AllowedHostPath: wiretype end group for non-group")
4642 }
4643 if fieldNum <= 0 {
4644 return fmt.Errorf("proto: AllowedHostPath: illegal tag %d (wire type %d)", fieldNum, wire)
4645 }
4646 switch fieldNum {
4647 case 1:
4648 if wireType != 2 {
4649 return fmt.Errorf("proto: wrong wireType = %d for field PathPrefix", wireType)
4650 }
4651 var stringLen uint64
4652 for shift := uint(0); ; shift += 7 {
4653 if shift >= 64 {
4654 return ErrIntOverflowGenerated
4655 }
4656 if iNdEx >= l {
4657 return io.ErrUnexpectedEOF
4658 }
4659 b := dAtA[iNdEx]
4660 iNdEx++
4661 stringLen |= (uint64(b) & 0x7F) << shift
4662 if b < 0x80 {
4663 break
4664 }
4665 }
4666 intStringLen := int(stringLen)
4667 if intStringLen < 0 {
4668 return ErrInvalidLengthGenerated
4669 }
4670 postIndex := iNdEx + intStringLen
4671 if postIndex > l {
4672 return io.ErrUnexpectedEOF
4673 }
4674 m.PathPrefix = string(dAtA[iNdEx:postIndex])
4675 iNdEx = postIndex
4676 case 2:
4677 if wireType != 0 {
4678 return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
4679 }
4680 var v int
4681 for shift := uint(0); ; shift += 7 {
4682 if shift >= 64 {
4683 return ErrIntOverflowGenerated
4684 }
4685 if iNdEx >= l {
4686 return io.ErrUnexpectedEOF
4687 }
4688 b := dAtA[iNdEx]
4689 iNdEx++
4690 v |= (int(b) & 0x7F) << shift
4691 if b < 0x80 {
4692 break
4693 }
4694 }
4695 m.ReadOnly = bool(v != 0)
4696 default:
4697 iNdEx = preIndex
4698 skippy, err := skipGenerated(dAtA[iNdEx:])
4699 if err != nil {
4700 return err
4701 }
4702 if skippy < 0 {
4703 return ErrInvalidLengthGenerated
4704 }
4705 if (iNdEx + skippy) > l {
4706 return io.ErrUnexpectedEOF
4707 }
4708 iNdEx += skippy
4709 }
4710 }
4711
4712 if iNdEx > l {
4713 return io.ErrUnexpectedEOF
4714 }
4715 return nil
4716}
4717func (m *DaemonSet) Unmarshal(dAtA []byte) error {
4718 l := len(dAtA)
4719 iNdEx := 0
4720 for iNdEx < l {
4721 preIndex := iNdEx
4722 var wire uint64
4723 for shift := uint(0); ; shift += 7 {
4724 if shift >= 64 {
4725 return ErrIntOverflowGenerated
4726 }
4727 if iNdEx >= l {
4728 return io.ErrUnexpectedEOF
4729 }
4730 b := dAtA[iNdEx]
4731 iNdEx++
4732 wire |= (uint64(b) & 0x7F) << shift
4733 if b < 0x80 {
4734 break
4735 }
4736 }
4737 fieldNum := int32(wire >> 3)
4738 wireType := int(wire & 0x7)
4739 if wireType == 4 {
4740 return fmt.Errorf("proto: DaemonSet: wiretype end group for non-group")
4741 }
4742 if fieldNum <= 0 {
4743 return fmt.Errorf("proto: DaemonSet: illegal tag %d (wire type %d)", fieldNum, wire)
4744 }
4745 switch fieldNum {
4746 case 1:
4747 if wireType != 2 {
4748 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
4749 }
4750 var msglen int
4751 for shift := uint(0); ; shift += 7 {
4752 if shift >= 64 {
4753 return ErrIntOverflowGenerated
4754 }
4755 if iNdEx >= l {
4756 return io.ErrUnexpectedEOF
4757 }
4758 b := dAtA[iNdEx]
4759 iNdEx++
4760 msglen |= (int(b) & 0x7F) << shift
4761 if b < 0x80 {
4762 break
4763 }
4764 }
4765 if msglen < 0 {
4766 return ErrInvalidLengthGenerated
4767 }
4768 postIndex := iNdEx + msglen
4769 if postIndex > l {
4770 return io.ErrUnexpectedEOF
4771 }
4772 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4773 return err
4774 }
4775 iNdEx = postIndex
4776 case 2:
4777 if wireType != 2 {
4778 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
4779 }
4780 var msglen int
4781 for shift := uint(0); ; shift += 7 {
4782 if shift >= 64 {
4783 return ErrIntOverflowGenerated
4784 }
4785 if iNdEx >= l {
4786 return io.ErrUnexpectedEOF
4787 }
4788 b := dAtA[iNdEx]
4789 iNdEx++
4790 msglen |= (int(b) & 0x7F) << shift
4791 if b < 0x80 {
4792 break
4793 }
4794 }
4795 if msglen < 0 {
4796 return ErrInvalidLengthGenerated
4797 }
4798 postIndex := iNdEx + msglen
4799 if postIndex > l {
4800 return io.ErrUnexpectedEOF
4801 }
4802 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4803 return err
4804 }
4805 iNdEx = postIndex
4806 case 3:
4807 if wireType != 2 {
4808 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
4809 }
4810 var msglen int
4811 for shift := uint(0); ; shift += 7 {
4812 if shift >= 64 {
4813 return ErrIntOverflowGenerated
4814 }
4815 if iNdEx >= l {
4816 return io.ErrUnexpectedEOF
4817 }
4818 b := dAtA[iNdEx]
4819 iNdEx++
4820 msglen |= (int(b) & 0x7F) << shift
4821 if b < 0x80 {
4822 break
4823 }
4824 }
4825 if msglen < 0 {
4826 return ErrInvalidLengthGenerated
4827 }
4828 postIndex := iNdEx + msglen
4829 if postIndex > l {
4830 return io.ErrUnexpectedEOF
4831 }
4832 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4833 return err
4834 }
4835 iNdEx = postIndex
4836 default:
4837 iNdEx = preIndex
4838 skippy, err := skipGenerated(dAtA[iNdEx:])
4839 if err != nil {
4840 return err
4841 }
4842 if skippy < 0 {
4843 return ErrInvalidLengthGenerated
4844 }
4845 if (iNdEx + skippy) > l {
4846 return io.ErrUnexpectedEOF
4847 }
4848 iNdEx += skippy
4849 }
4850 }
4851
4852 if iNdEx > l {
4853 return io.ErrUnexpectedEOF
4854 }
4855 return nil
4856}
4857func (m *DaemonSetCondition) Unmarshal(dAtA []byte) error {
4858 l := len(dAtA)
4859 iNdEx := 0
4860 for iNdEx < l {
4861 preIndex := iNdEx
4862 var wire uint64
4863 for shift := uint(0); ; shift += 7 {
4864 if shift >= 64 {
4865 return ErrIntOverflowGenerated
4866 }
4867 if iNdEx >= l {
4868 return io.ErrUnexpectedEOF
4869 }
4870 b := dAtA[iNdEx]
4871 iNdEx++
4872 wire |= (uint64(b) & 0x7F) << shift
4873 if b < 0x80 {
4874 break
4875 }
4876 }
4877 fieldNum := int32(wire >> 3)
4878 wireType := int(wire & 0x7)
4879 if wireType == 4 {
4880 return fmt.Errorf("proto: DaemonSetCondition: wiretype end group for non-group")
4881 }
4882 if fieldNum <= 0 {
4883 return fmt.Errorf("proto: DaemonSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
4884 }
4885 switch fieldNum {
4886 case 1:
4887 if wireType != 2 {
4888 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
4889 }
4890 var stringLen uint64
4891 for shift := uint(0); ; shift += 7 {
4892 if shift >= 64 {
4893 return ErrIntOverflowGenerated
4894 }
4895 if iNdEx >= l {
4896 return io.ErrUnexpectedEOF
4897 }
4898 b := dAtA[iNdEx]
4899 iNdEx++
4900 stringLen |= (uint64(b) & 0x7F) << shift
4901 if b < 0x80 {
4902 break
4903 }
4904 }
4905 intStringLen := int(stringLen)
4906 if intStringLen < 0 {
4907 return ErrInvalidLengthGenerated
4908 }
4909 postIndex := iNdEx + intStringLen
4910 if postIndex > l {
4911 return io.ErrUnexpectedEOF
4912 }
4913 m.Type = DaemonSetConditionType(dAtA[iNdEx:postIndex])
4914 iNdEx = postIndex
4915 case 2:
4916 if wireType != 2 {
4917 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
4918 }
4919 var stringLen uint64
4920 for shift := uint(0); ; shift += 7 {
4921 if shift >= 64 {
4922 return ErrIntOverflowGenerated
4923 }
4924 if iNdEx >= l {
4925 return io.ErrUnexpectedEOF
4926 }
4927 b := dAtA[iNdEx]
4928 iNdEx++
4929 stringLen |= (uint64(b) & 0x7F) << shift
4930 if b < 0x80 {
4931 break
4932 }
4933 }
4934 intStringLen := int(stringLen)
4935 if intStringLen < 0 {
4936 return ErrInvalidLengthGenerated
4937 }
4938 postIndex := iNdEx + intStringLen
4939 if postIndex > l {
4940 return io.ErrUnexpectedEOF
4941 }
4942 m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
4943 iNdEx = postIndex
4944 case 3:
4945 if wireType != 2 {
4946 return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
4947 }
4948 var msglen int
4949 for shift := uint(0); ; shift += 7 {
4950 if shift >= 64 {
4951 return ErrIntOverflowGenerated
4952 }
4953 if iNdEx >= l {
4954 return io.ErrUnexpectedEOF
4955 }
4956 b := dAtA[iNdEx]
4957 iNdEx++
4958 msglen |= (int(b) & 0x7F) << shift
4959 if b < 0x80 {
4960 break
4961 }
4962 }
4963 if msglen < 0 {
4964 return ErrInvalidLengthGenerated
4965 }
4966 postIndex := iNdEx + msglen
4967 if postIndex > l {
4968 return io.ErrUnexpectedEOF
4969 }
4970 if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4971 return err
4972 }
4973 iNdEx = postIndex
4974 case 4:
4975 if wireType != 2 {
4976 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
4977 }
4978 var stringLen uint64
4979 for shift := uint(0); ; shift += 7 {
4980 if shift >= 64 {
4981 return ErrIntOverflowGenerated
4982 }
4983 if iNdEx >= l {
4984 return io.ErrUnexpectedEOF
4985 }
4986 b := dAtA[iNdEx]
4987 iNdEx++
4988 stringLen |= (uint64(b) & 0x7F) << shift
4989 if b < 0x80 {
4990 break
4991 }
4992 }
4993 intStringLen := int(stringLen)
4994 if intStringLen < 0 {
4995 return ErrInvalidLengthGenerated
4996 }
4997 postIndex := iNdEx + intStringLen
4998 if postIndex > l {
4999 return io.ErrUnexpectedEOF
5000 }
5001 m.Reason = string(dAtA[iNdEx:postIndex])
5002 iNdEx = postIndex
5003 case 5:
5004 if wireType != 2 {
5005 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
5006 }
5007 var stringLen uint64
5008 for shift := uint(0); ; shift += 7 {
5009 if shift >= 64 {
5010 return ErrIntOverflowGenerated
5011 }
5012 if iNdEx >= l {
5013 return io.ErrUnexpectedEOF
5014 }
5015 b := dAtA[iNdEx]
5016 iNdEx++
5017 stringLen |= (uint64(b) & 0x7F) << shift
5018 if b < 0x80 {
5019 break
5020 }
5021 }
5022 intStringLen := int(stringLen)
5023 if intStringLen < 0 {
5024 return ErrInvalidLengthGenerated
5025 }
5026 postIndex := iNdEx + intStringLen
5027 if postIndex > l {
5028 return io.ErrUnexpectedEOF
5029 }
5030 m.Message = string(dAtA[iNdEx:postIndex])
5031 iNdEx = postIndex
5032 default:
5033 iNdEx = preIndex
5034 skippy, err := skipGenerated(dAtA[iNdEx:])
5035 if err != nil {
5036 return err
5037 }
5038 if skippy < 0 {
5039 return ErrInvalidLengthGenerated
5040 }
5041 if (iNdEx + skippy) > l {
5042 return io.ErrUnexpectedEOF
5043 }
5044 iNdEx += skippy
5045 }
5046 }
5047
5048 if iNdEx > l {
5049 return io.ErrUnexpectedEOF
5050 }
5051 return nil
5052}
5053func (m *DaemonSetList) Unmarshal(dAtA []byte) error {
5054 l := len(dAtA)
5055 iNdEx := 0
5056 for iNdEx < l {
5057 preIndex := iNdEx
5058 var wire uint64
5059 for shift := uint(0); ; shift += 7 {
5060 if shift >= 64 {
5061 return ErrIntOverflowGenerated
5062 }
5063 if iNdEx >= l {
5064 return io.ErrUnexpectedEOF
5065 }
5066 b := dAtA[iNdEx]
5067 iNdEx++
5068 wire |= (uint64(b) & 0x7F) << shift
5069 if b < 0x80 {
5070 break
5071 }
5072 }
5073 fieldNum := int32(wire >> 3)
5074 wireType := int(wire & 0x7)
5075 if wireType == 4 {
5076 return fmt.Errorf("proto: DaemonSetList: wiretype end group for non-group")
5077 }
5078 if fieldNum <= 0 {
5079 return fmt.Errorf("proto: DaemonSetList: illegal tag %d (wire type %d)", fieldNum, wire)
5080 }
5081 switch fieldNum {
5082 case 1:
5083 if wireType != 2 {
5084 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
5085 }
5086 var msglen int
5087 for shift := uint(0); ; shift += 7 {
5088 if shift >= 64 {
5089 return ErrIntOverflowGenerated
5090 }
5091 if iNdEx >= l {
5092 return io.ErrUnexpectedEOF
5093 }
5094 b := dAtA[iNdEx]
5095 iNdEx++
5096 msglen |= (int(b) & 0x7F) << shift
5097 if b < 0x80 {
5098 break
5099 }
5100 }
5101 if msglen < 0 {
5102 return ErrInvalidLengthGenerated
5103 }
5104 postIndex := iNdEx + msglen
5105 if postIndex > l {
5106 return io.ErrUnexpectedEOF
5107 }
5108 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5109 return err
5110 }
5111 iNdEx = postIndex
5112 case 2:
5113 if wireType != 2 {
5114 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
5115 }
5116 var msglen int
5117 for shift := uint(0); ; shift += 7 {
5118 if shift >= 64 {
5119 return ErrIntOverflowGenerated
5120 }
5121 if iNdEx >= l {
5122 return io.ErrUnexpectedEOF
5123 }
5124 b := dAtA[iNdEx]
5125 iNdEx++
5126 msglen |= (int(b) & 0x7F) << shift
5127 if b < 0x80 {
5128 break
5129 }
5130 }
5131 if msglen < 0 {
5132 return ErrInvalidLengthGenerated
5133 }
5134 postIndex := iNdEx + msglen
5135 if postIndex > l {
5136 return io.ErrUnexpectedEOF
5137 }
5138 m.Items = append(m.Items, DaemonSet{})
5139 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5140 return err
5141 }
5142 iNdEx = postIndex
5143 default:
5144 iNdEx = preIndex
5145 skippy, err := skipGenerated(dAtA[iNdEx:])
5146 if err != nil {
5147 return err
5148 }
5149 if skippy < 0 {
5150 return ErrInvalidLengthGenerated
5151 }
5152 if (iNdEx + skippy) > l {
5153 return io.ErrUnexpectedEOF
5154 }
5155 iNdEx += skippy
5156 }
5157 }
5158
5159 if iNdEx > l {
5160 return io.ErrUnexpectedEOF
5161 }
5162 return nil
5163}
5164func (m *DaemonSetSpec) Unmarshal(dAtA []byte) error {
5165 l := len(dAtA)
5166 iNdEx := 0
5167 for iNdEx < l {
5168 preIndex := iNdEx
5169 var wire uint64
5170 for shift := uint(0); ; shift += 7 {
5171 if shift >= 64 {
5172 return ErrIntOverflowGenerated
5173 }
5174 if iNdEx >= l {
5175 return io.ErrUnexpectedEOF
5176 }
5177 b := dAtA[iNdEx]
5178 iNdEx++
5179 wire |= (uint64(b) & 0x7F) << shift
5180 if b < 0x80 {
5181 break
5182 }
5183 }
5184 fieldNum := int32(wire >> 3)
5185 wireType := int(wire & 0x7)
5186 if wireType == 4 {
5187 return fmt.Errorf("proto: DaemonSetSpec: wiretype end group for non-group")
5188 }
5189 if fieldNum <= 0 {
5190 return fmt.Errorf("proto: DaemonSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
5191 }
5192 switch fieldNum {
5193 case 1:
5194 if wireType != 2 {
5195 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
5196 }
5197 var msglen int
5198 for shift := uint(0); ; shift += 7 {
5199 if shift >= 64 {
5200 return ErrIntOverflowGenerated
5201 }
5202 if iNdEx >= l {
5203 return io.ErrUnexpectedEOF
5204 }
5205 b := dAtA[iNdEx]
5206 iNdEx++
5207 msglen |= (int(b) & 0x7F) << shift
5208 if b < 0x80 {
5209 break
5210 }
5211 }
5212 if msglen < 0 {
5213 return ErrInvalidLengthGenerated
5214 }
5215 postIndex := iNdEx + msglen
5216 if postIndex > l {
5217 return io.ErrUnexpectedEOF
5218 }
5219 if m.Selector == nil {
5220 m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
5221 }
5222 if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5223 return err
5224 }
5225 iNdEx = postIndex
5226 case 2:
5227 if wireType != 2 {
5228 return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
5229 }
5230 var msglen int
5231 for shift := uint(0); ; shift += 7 {
5232 if shift >= 64 {
5233 return ErrIntOverflowGenerated
5234 }
5235 if iNdEx >= l {
5236 return io.ErrUnexpectedEOF
5237 }
5238 b := dAtA[iNdEx]
5239 iNdEx++
5240 msglen |= (int(b) & 0x7F) << shift
5241 if b < 0x80 {
5242 break
5243 }
5244 }
5245 if msglen < 0 {
5246 return ErrInvalidLengthGenerated
5247 }
5248 postIndex := iNdEx + msglen
5249 if postIndex > l {
5250 return io.ErrUnexpectedEOF
5251 }
5252 if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5253 return err
5254 }
5255 iNdEx = postIndex
5256 case 3:
5257 if wireType != 2 {
5258 return fmt.Errorf("proto: wrong wireType = %d for field UpdateStrategy", wireType)
5259 }
5260 var msglen int
5261 for shift := uint(0); ; shift += 7 {
5262 if shift >= 64 {
5263 return ErrIntOverflowGenerated
5264 }
5265 if iNdEx >= l {
5266 return io.ErrUnexpectedEOF
5267 }
5268 b := dAtA[iNdEx]
5269 iNdEx++
5270 msglen |= (int(b) & 0x7F) << shift
5271 if b < 0x80 {
5272 break
5273 }
5274 }
5275 if msglen < 0 {
5276 return ErrInvalidLengthGenerated
5277 }
5278 postIndex := iNdEx + msglen
5279 if postIndex > l {
5280 return io.ErrUnexpectedEOF
5281 }
5282 if err := m.UpdateStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5283 return err
5284 }
5285 iNdEx = postIndex
5286 case 4:
5287 if wireType != 0 {
5288 return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
5289 }
5290 m.MinReadySeconds = 0
5291 for shift := uint(0); ; shift += 7 {
5292 if shift >= 64 {
5293 return ErrIntOverflowGenerated
5294 }
5295 if iNdEx >= l {
5296 return io.ErrUnexpectedEOF
5297 }
5298 b := dAtA[iNdEx]
5299 iNdEx++
5300 m.MinReadySeconds |= (int32(b) & 0x7F) << shift
5301 if b < 0x80 {
5302 break
5303 }
5304 }
5305 case 5:
5306 if wireType != 0 {
5307 return fmt.Errorf("proto: wrong wireType = %d for field TemplateGeneration", wireType)
5308 }
5309 m.TemplateGeneration = 0
5310 for shift := uint(0); ; shift += 7 {
5311 if shift >= 64 {
5312 return ErrIntOverflowGenerated
5313 }
5314 if iNdEx >= l {
5315 return io.ErrUnexpectedEOF
5316 }
5317 b := dAtA[iNdEx]
5318 iNdEx++
5319 m.TemplateGeneration |= (int64(b) & 0x7F) << shift
5320 if b < 0x80 {
5321 break
5322 }
5323 }
5324 case 6:
5325 if wireType != 0 {
5326 return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
5327 }
5328 var v int32
5329 for shift := uint(0); ; shift += 7 {
5330 if shift >= 64 {
5331 return ErrIntOverflowGenerated
5332 }
5333 if iNdEx >= l {
5334 return io.ErrUnexpectedEOF
5335 }
5336 b := dAtA[iNdEx]
5337 iNdEx++
5338 v |= (int32(b) & 0x7F) << shift
5339 if b < 0x80 {
5340 break
5341 }
5342 }
5343 m.RevisionHistoryLimit = &v
5344 default:
5345 iNdEx = preIndex
5346 skippy, err := skipGenerated(dAtA[iNdEx:])
5347 if err != nil {
5348 return err
5349 }
5350 if skippy < 0 {
5351 return ErrInvalidLengthGenerated
5352 }
5353 if (iNdEx + skippy) > l {
5354 return io.ErrUnexpectedEOF
5355 }
5356 iNdEx += skippy
5357 }
5358 }
5359
5360 if iNdEx > l {
5361 return io.ErrUnexpectedEOF
5362 }
5363 return nil
5364}
5365func (m *DaemonSetStatus) Unmarshal(dAtA []byte) error {
5366 l := len(dAtA)
5367 iNdEx := 0
5368 for iNdEx < l {
5369 preIndex := iNdEx
5370 var wire uint64
5371 for shift := uint(0); ; shift += 7 {
5372 if shift >= 64 {
5373 return ErrIntOverflowGenerated
5374 }
5375 if iNdEx >= l {
5376 return io.ErrUnexpectedEOF
5377 }
5378 b := dAtA[iNdEx]
5379 iNdEx++
5380 wire |= (uint64(b) & 0x7F) << shift
5381 if b < 0x80 {
5382 break
5383 }
5384 }
5385 fieldNum := int32(wire >> 3)
5386 wireType := int(wire & 0x7)
5387 if wireType == 4 {
5388 return fmt.Errorf("proto: DaemonSetStatus: wiretype end group for non-group")
5389 }
5390 if fieldNum <= 0 {
5391 return fmt.Errorf("proto: DaemonSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
5392 }
5393 switch fieldNum {
5394 case 1:
5395 if wireType != 0 {
5396 return fmt.Errorf("proto: wrong wireType = %d for field CurrentNumberScheduled", wireType)
5397 }
5398 m.CurrentNumberScheduled = 0
5399 for shift := uint(0); ; shift += 7 {
5400 if shift >= 64 {
5401 return ErrIntOverflowGenerated
5402 }
5403 if iNdEx >= l {
5404 return io.ErrUnexpectedEOF
5405 }
5406 b := dAtA[iNdEx]
5407 iNdEx++
5408 m.CurrentNumberScheduled |= (int32(b) & 0x7F) << shift
5409 if b < 0x80 {
5410 break
5411 }
5412 }
5413 case 2:
5414 if wireType != 0 {
5415 return fmt.Errorf("proto: wrong wireType = %d for field NumberMisscheduled", wireType)
5416 }
5417 m.NumberMisscheduled = 0
5418 for shift := uint(0); ; shift += 7 {
5419 if shift >= 64 {
5420 return ErrIntOverflowGenerated
5421 }
5422 if iNdEx >= l {
5423 return io.ErrUnexpectedEOF
5424 }
5425 b := dAtA[iNdEx]
5426 iNdEx++
5427 m.NumberMisscheduled |= (int32(b) & 0x7F) << shift
5428 if b < 0x80 {
5429 break
5430 }
5431 }
5432 case 3:
5433 if wireType != 0 {
5434 return fmt.Errorf("proto: wrong wireType = %d for field DesiredNumberScheduled", wireType)
5435 }
5436 m.DesiredNumberScheduled = 0
5437 for shift := uint(0); ; shift += 7 {
5438 if shift >= 64 {
5439 return ErrIntOverflowGenerated
5440 }
5441 if iNdEx >= l {
5442 return io.ErrUnexpectedEOF
5443 }
5444 b := dAtA[iNdEx]
5445 iNdEx++
5446 m.DesiredNumberScheduled |= (int32(b) & 0x7F) << shift
5447 if b < 0x80 {
5448 break
5449 }
5450 }
5451 case 4:
5452 if wireType != 0 {
5453 return fmt.Errorf("proto: wrong wireType = %d for field NumberReady", wireType)
5454 }
5455 m.NumberReady = 0
5456 for shift := uint(0); ; shift += 7 {
5457 if shift >= 64 {
5458 return ErrIntOverflowGenerated
5459 }
5460 if iNdEx >= l {
5461 return io.ErrUnexpectedEOF
5462 }
5463 b := dAtA[iNdEx]
5464 iNdEx++
5465 m.NumberReady |= (int32(b) & 0x7F) << shift
5466 if b < 0x80 {
5467 break
5468 }
5469 }
5470 case 5:
5471 if wireType != 0 {
5472 return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
5473 }
5474 m.ObservedGeneration = 0
5475 for shift := uint(0); ; shift += 7 {
5476 if shift >= 64 {
5477 return ErrIntOverflowGenerated
5478 }
5479 if iNdEx >= l {
5480 return io.ErrUnexpectedEOF
5481 }
5482 b := dAtA[iNdEx]
5483 iNdEx++
5484 m.ObservedGeneration |= (int64(b) & 0x7F) << shift
5485 if b < 0x80 {
5486 break
5487 }
5488 }
5489 case 6:
5490 if wireType != 0 {
5491 return fmt.Errorf("proto: wrong wireType = %d for field UpdatedNumberScheduled", wireType)
5492 }
5493 m.UpdatedNumberScheduled = 0
5494 for shift := uint(0); ; shift += 7 {
5495 if shift >= 64 {
5496 return ErrIntOverflowGenerated
5497 }
5498 if iNdEx >= l {
5499 return io.ErrUnexpectedEOF
5500 }
5501 b := dAtA[iNdEx]
5502 iNdEx++
5503 m.UpdatedNumberScheduled |= (int32(b) & 0x7F) << shift
5504 if b < 0x80 {
5505 break
5506 }
5507 }
5508 case 7:
5509 if wireType != 0 {
5510 return fmt.Errorf("proto: wrong wireType = %d for field NumberAvailable", wireType)
5511 }
5512 m.NumberAvailable = 0
5513 for shift := uint(0); ; shift += 7 {
5514 if shift >= 64 {
5515 return ErrIntOverflowGenerated
5516 }
5517 if iNdEx >= l {
5518 return io.ErrUnexpectedEOF
5519 }
5520 b := dAtA[iNdEx]
5521 iNdEx++
5522 m.NumberAvailable |= (int32(b) & 0x7F) << shift
5523 if b < 0x80 {
5524 break
5525 }
5526 }
5527 case 8:
5528 if wireType != 0 {
5529 return fmt.Errorf("proto: wrong wireType = %d for field NumberUnavailable", wireType)
5530 }
5531 m.NumberUnavailable = 0
5532 for shift := uint(0); ; shift += 7 {
5533 if shift >= 64 {
5534 return ErrIntOverflowGenerated
5535 }
5536 if iNdEx >= l {
5537 return io.ErrUnexpectedEOF
5538 }
5539 b := dAtA[iNdEx]
5540 iNdEx++
5541 m.NumberUnavailable |= (int32(b) & 0x7F) << shift
5542 if b < 0x80 {
5543 break
5544 }
5545 }
5546 case 9:
5547 if wireType != 0 {
5548 return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
5549 }
5550 var v int32
5551 for shift := uint(0); ; shift += 7 {
5552 if shift >= 64 {
5553 return ErrIntOverflowGenerated
5554 }
5555 if iNdEx >= l {
5556 return io.ErrUnexpectedEOF
5557 }
5558 b := dAtA[iNdEx]
5559 iNdEx++
5560 v |= (int32(b) & 0x7F) << shift
5561 if b < 0x80 {
5562 break
5563 }
5564 }
5565 m.CollisionCount = &v
5566 case 10:
5567 if wireType != 2 {
5568 return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
5569 }
5570 var msglen int
5571 for shift := uint(0); ; shift += 7 {
5572 if shift >= 64 {
5573 return ErrIntOverflowGenerated
5574 }
5575 if iNdEx >= l {
5576 return io.ErrUnexpectedEOF
5577 }
5578 b := dAtA[iNdEx]
5579 iNdEx++
5580 msglen |= (int(b) & 0x7F) << shift
5581 if b < 0x80 {
5582 break
5583 }
5584 }
5585 if msglen < 0 {
5586 return ErrInvalidLengthGenerated
5587 }
5588 postIndex := iNdEx + msglen
5589 if postIndex > l {
5590 return io.ErrUnexpectedEOF
5591 }
5592 m.Conditions = append(m.Conditions, DaemonSetCondition{})
5593 if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5594 return err
5595 }
5596 iNdEx = postIndex
5597 default:
5598 iNdEx = preIndex
5599 skippy, err := skipGenerated(dAtA[iNdEx:])
5600 if err != nil {
5601 return err
5602 }
5603 if skippy < 0 {
5604 return ErrInvalidLengthGenerated
5605 }
5606 if (iNdEx + skippy) > l {
5607 return io.ErrUnexpectedEOF
5608 }
5609 iNdEx += skippy
5610 }
5611 }
5612
5613 if iNdEx > l {
5614 return io.ErrUnexpectedEOF
5615 }
5616 return nil
5617}
5618func (m *DaemonSetUpdateStrategy) Unmarshal(dAtA []byte) error {
5619 l := len(dAtA)
5620 iNdEx := 0
5621 for iNdEx < l {
5622 preIndex := iNdEx
5623 var wire uint64
5624 for shift := uint(0); ; shift += 7 {
5625 if shift >= 64 {
5626 return ErrIntOverflowGenerated
5627 }
5628 if iNdEx >= l {
5629 return io.ErrUnexpectedEOF
5630 }
5631 b := dAtA[iNdEx]
5632 iNdEx++
5633 wire |= (uint64(b) & 0x7F) << shift
5634 if b < 0x80 {
5635 break
5636 }
5637 }
5638 fieldNum := int32(wire >> 3)
5639 wireType := int(wire & 0x7)
5640 if wireType == 4 {
5641 return fmt.Errorf("proto: DaemonSetUpdateStrategy: wiretype end group for non-group")
5642 }
5643 if fieldNum <= 0 {
5644 return fmt.Errorf("proto: DaemonSetUpdateStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
5645 }
5646 switch fieldNum {
5647 case 1:
5648 if wireType != 2 {
5649 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
5650 }
5651 var stringLen uint64
5652 for shift := uint(0); ; shift += 7 {
5653 if shift >= 64 {
5654 return ErrIntOverflowGenerated
5655 }
5656 if iNdEx >= l {
5657 return io.ErrUnexpectedEOF
5658 }
5659 b := dAtA[iNdEx]
5660 iNdEx++
5661 stringLen |= (uint64(b) & 0x7F) << shift
5662 if b < 0x80 {
5663 break
5664 }
5665 }
5666 intStringLen := int(stringLen)
5667 if intStringLen < 0 {
5668 return ErrInvalidLengthGenerated
5669 }
5670 postIndex := iNdEx + intStringLen
5671 if postIndex > l {
5672 return io.ErrUnexpectedEOF
5673 }
5674 m.Type = DaemonSetUpdateStrategyType(dAtA[iNdEx:postIndex])
5675 iNdEx = postIndex
5676 case 2:
5677 if wireType != 2 {
5678 return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
5679 }
5680 var msglen int
5681 for shift := uint(0); ; shift += 7 {
5682 if shift >= 64 {
5683 return ErrIntOverflowGenerated
5684 }
5685 if iNdEx >= l {
5686 return io.ErrUnexpectedEOF
5687 }
5688 b := dAtA[iNdEx]
5689 iNdEx++
5690 msglen |= (int(b) & 0x7F) << shift
5691 if b < 0x80 {
5692 break
5693 }
5694 }
5695 if msglen < 0 {
5696 return ErrInvalidLengthGenerated
5697 }
5698 postIndex := iNdEx + msglen
5699 if postIndex > l {
5700 return io.ErrUnexpectedEOF
5701 }
5702 if m.RollingUpdate == nil {
5703 m.RollingUpdate = &RollingUpdateDaemonSet{}
5704 }
5705 if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5706 return err
5707 }
5708 iNdEx = postIndex
5709 default:
5710 iNdEx = preIndex
5711 skippy, err := skipGenerated(dAtA[iNdEx:])
5712 if err != nil {
5713 return err
5714 }
5715 if skippy < 0 {
5716 return ErrInvalidLengthGenerated
5717 }
5718 if (iNdEx + skippy) > l {
5719 return io.ErrUnexpectedEOF
5720 }
5721 iNdEx += skippy
5722 }
5723 }
5724
5725 if iNdEx > l {
5726 return io.ErrUnexpectedEOF
5727 }
5728 return nil
5729}
5730func (m *Deployment) Unmarshal(dAtA []byte) error {
5731 l := len(dAtA)
5732 iNdEx := 0
5733 for iNdEx < l {
5734 preIndex := iNdEx
5735 var wire uint64
5736 for shift := uint(0); ; shift += 7 {
5737 if shift >= 64 {
5738 return ErrIntOverflowGenerated
5739 }
5740 if iNdEx >= l {
5741 return io.ErrUnexpectedEOF
5742 }
5743 b := dAtA[iNdEx]
5744 iNdEx++
5745 wire |= (uint64(b) & 0x7F) << shift
5746 if b < 0x80 {
5747 break
5748 }
5749 }
5750 fieldNum := int32(wire >> 3)
5751 wireType := int(wire & 0x7)
5752 if wireType == 4 {
5753 return fmt.Errorf("proto: Deployment: wiretype end group for non-group")
5754 }
5755 if fieldNum <= 0 {
5756 return fmt.Errorf("proto: Deployment: illegal tag %d (wire type %d)", fieldNum, wire)
5757 }
5758 switch fieldNum {
5759 case 1:
5760 if wireType != 2 {
5761 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
5762 }
5763 var msglen int
5764 for shift := uint(0); ; shift += 7 {
5765 if shift >= 64 {
5766 return ErrIntOverflowGenerated
5767 }
5768 if iNdEx >= l {
5769 return io.ErrUnexpectedEOF
5770 }
5771 b := dAtA[iNdEx]
5772 iNdEx++
5773 msglen |= (int(b) & 0x7F) << shift
5774 if b < 0x80 {
5775 break
5776 }
5777 }
5778 if msglen < 0 {
5779 return ErrInvalidLengthGenerated
5780 }
5781 postIndex := iNdEx + msglen
5782 if postIndex > l {
5783 return io.ErrUnexpectedEOF
5784 }
5785 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5786 return err
5787 }
5788 iNdEx = postIndex
5789 case 2:
5790 if wireType != 2 {
5791 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
5792 }
5793 var msglen int
5794 for shift := uint(0); ; shift += 7 {
5795 if shift >= 64 {
5796 return ErrIntOverflowGenerated
5797 }
5798 if iNdEx >= l {
5799 return io.ErrUnexpectedEOF
5800 }
5801 b := dAtA[iNdEx]
5802 iNdEx++
5803 msglen |= (int(b) & 0x7F) << shift
5804 if b < 0x80 {
5805 break
5806 }
5807 }
5808 if msglen < 0 {
5809 return ErrInvalidLengthGenerated
5810 }
5811 postIndex := iNdEx + msglen
5812 if postIndex > l {
5813 return io.ErrUnexpectedEOF
5814 }
5815 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5816 return err
5817 }
5818 iNdEx = postIndex
5819 case 3:
5820 if wireType != 2 {
5821 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
5822 }
5823 var msglen int
5824 for shift := uint(0); ; shift += 7 {
5825 if shift >= 64 {
5826 return ErrIntOverflowGenerated
5827 }
5828 if iNdEx >= l {
5829 return io.ErrUnexpectedEOF
5830 }
5831 b := dAtA[iNdEx]
5832 iNdEx++
5833 msglen |= (int(b) & 0x7F) << shift
5834 if b < 0x80 {
5835 break
5836 }
5837 }
5838 if msglen < 0 {
5839 return ErrInvalidLengthGenerated
5840 }
5841 postIndex := iNdEx + msglen
5842 if postIndex > l {
5843 return io.ErrUnexpectedEOF
5844 }
5845 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5846 return err
5847 }
5848 iNdEx = postIndex
5849 default:
5850 iNdEx = preIndex
5851 skippy, err := skipGenerated(dAtA[iNdEx:])
5852 if err != nil {
5853 return err
5854 }
5855 if skippy < 0 {
5856 return ErrInvalidLengthGenerated
5857 }
5858 if (iNdEx + skippy) > l {
5859 return io.ErrUnexpectedEOF
5860 }
5861 iNdEx += skippy
5862 }
5863 }
5864
5865 if iNdEx > l {
5866 return io.ErrUnexpectedEOF
5867 }
5868 return nil
5869}
5870func (m *DeploymentCondition) Unmarshal(dAtA []byte) error {
5871 l := len(dAtA)
5872 iNdEx := 0
5873 for iNdEx < l {
5874 preIndex := iNdEx
5875 var wire uint64
5876 for shift := uint(0); ; shift += 7 {
5877 if shift >= 64 {
5878 return ErrIntOverflowGenerated
5879 }
5880 if iNdEx >= l {
5881 return io.ErrUnexpectedEOF
5882 }
5883 b := dAtA[iNdEx]
5884 iNdEx++
5885 wire |= (uint64(b) & 0x7F) << shift
5886 if b < 0x80 {
5887 break
5888 }
5889 }
5890 fieldNum := int32(wire >> 3)
5891 wireType := int(wire & 0x7)
5892 if wireType == 4 {
5893 return fmt.Errorf("proto: DeploymentCondition: wiretype end group for non-group")
5894 }
5895 if fieldNum <= 0 {
5896 return fmt.Errorf("proto: DeploymentCondition: illegal tag %d (wire type %d)", fieldNum, wire)
5897 }
5898 switch fieldNum {
5899 case 1:
5900 if wireType != 2 {
5901 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
5902 }
5903 var stringLen uint64
5904 for shift := uint(0); ; shift += 7 {
5905 if shift >= 64 {
5906 return ErrIntOverflowGenerated
5907 }
5908 if iNdEx >= l {
5909 return io.ErrUnexpectedEOF
5910 }
5911 b := dAtA[iNdEx]
5912 iNdEx++
5913 stringLen |= (uint64(b) & 0x7F) << shift
5914 if b < 0x80 {
5915 break
5916 }
5917 }
5918 intStringLen := int(stringLen)
5919 if intStringLen < 0 {
5920 return ErrInvalidLengthGenerated
5921 }
5922 postIndex := iNdEx + intStringLen
5923 if postIndex > l {
5924 return io.ErrUnexpectedEOF
5925 }
5926 m.Type = DeploymentConditionType(dAtA[iNdEx:postIndex])
5927 iNdEx = postIndex
5928 case 2:
5929 if wireType != 2 {
5930 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
5931 }
5932 var stringLen uint64
5933 for shift := uint(0); ; shift += 7 {
5934 if shift >= 64 {
5935 return ErrIntOverflowGenerated
5936 }
5937 if iNdEx >= l {
5938 return io.ErrUnexpectedEOF
5939 }
5940 b := dAtA[iNdEx]
5941 iNdEx++
5942 stringLen |= (uint64(b) & 0x7F) << shift
5943 if b < 0x80 {
5944 break
5945 }
5946 }
5947 intStringLen := int(stringLen)
5948 if intStringLen < 0 {
5949 return ErrInvalidLengthGenerated
5950 }
5951 postIndex := iNdEx + intStringLen
5952 if postIndex > l {
5953 return io.ErrUnexpectedEOF
5954 }
5955 m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
5956 iNdEx = postIndex
5957 case 4:
5958 if wireType != 2 {
5959 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
5960 }
5961 var stringLen uint64
5962 for shift := uint(0); ; shift += 7 {
5963 if shift >= 64 {
5964 return ErrIntOverflowGenerated
5965 }
5966 if iNdEx >= l {
5967 return io.ErrUnexpectedEOF
5968 }
5969 b := dAtA[iNdEx]
5970 iNdEx++
5971 stringLen |= (uint64(b) & 0x7F) << shift
5972 if b < 0x80 {
5973 break
5974 }
5975 }
5976 intStringLen := int(stringLen)
5977 if intStringLen < 0 {
5978 return ErrInvalidLengthGenerated
5979 }
5980 postIndex := iNdEx + intStringLen
5981 if postIndex > l {
5982 return io.ErrUnexpectedEOF
5983 }
5984 m.Reason = string(dAtA[iNdEx:postIndex])
5985 iNdEx = postIndex
5986 case 5:
5987 if wireType != 2 {
5988 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
5989 }
5990 var stringLen uint64
5991 for shift := uint(0); ; shift += 7 {
5992 if shift >= 64 {
5993 return ErrIntOverflowGenerated
5994 }
5995 if iNdEx >= l {
5996 return io.ErrUnexpectedEOF
5997 }
5998 b := dAtA[iNdEx]
5999 iNdEx++
6000 stringLen |= (uint64(b) & 0x7F) << shift
6001 if b < 0x80 {
6002 break
6003 }
6004 }
6005 intStringLen := int(stringLen)
6006 if intStringLen < 0 {
6007 return ErrInvalidLengthGenerated
6008 }
6009 postIndex := iNdEx + intStringLen
6010 if postIndex > l {
6011 return io.ErrUnexpectedEOF
6012 }
6013 m.Message = string(dAtA[iNdEx:postIndex])
6014 iNdEx = postIndex
6015 case 6:
6016 if wireType != 2 {
6017 return fmt.Errorf("proto: wrong wireType = %d for field LastUpdateTime", wireType)
6018 }
6019 var msglen int
6020 for shift := uint(0); ; shift += 7 {
6021 if shift >= 64 {
6022 return ErrIntOverflowGenerated
6023 }
6024 if iNdEx >= l {
6025 return io.ErrUnexpectedEOF
6026 }
6027 b := dAtA[iNdEx]
6028 iNdEx++
6029 msglen |= (int(b) & 0x7F) << shift
6030 if b < 0x80 {
6031 break
6032 }
6033 }
6034 if msglen < 0 {
6035 return ErrInvalidLengthGenerated
6036 }
6037 postIndex := iNdEx + msglen
6038 if postIndex > l {
6039 return io.ErrUnexpectedEOF
6040 }
6041 if err := m.LastUpdateTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6042 return err
6043 }
6044 iNdEx = postIndex
6045 case 7:
6046 if wireType != 2 {
6047 return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
6048 }
6049 var msglen int
6050 for shift := uint(0); ; shift += 7 {
6051 if shift >= 64 {
6052 return ErrIntOverflowGenerated
6053 }
6054 if iNdEx >= l {
6055 return io.ErrUnexpectedEOF
6056 }
6057 b := dAtA[iNdEx]
6058 iNdEx++
6059 msglen |= (int(b) & 0x7F) << shift
6060 if b < 0x80 {
6061 break
6062 }
6063 }
6064 if msglen < 0 {
6065 return ErrInvalidLengthGenerated
6066 }
6067 postIndex := iNdEx + msglen
6068 if postIndex > l {
6069 return io.ErrUnexpectedEOF
6070 }
6071 if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6072 return err
6073 }
6074 iNdEx = postIndex
6075 default:
6076 iNdEx = preIndex
6077 skippy, err := skipGenerated(dAtA[iNdEx:])
6078 if err != nil {
6079 return err
6080 }
6081 if skippy < 0 {
6082 return ErrInvalidLengthGenerated
6083 }
6084 if (iNdEx + skippy) > l {
6085 return io.ErrUnexpectedEOF
6086 }
6087 iNdEx += skippy
6088 }
6089 }
6090
6091 if iNdEx > l {
6092 return io.ErrUnexpectedEOF
6093 }
6094 return nil
6095}
6096func (m *DeploymentList) Unmarshal(dAtA []byte) error {
6097 l := len(dAtA)
6098 iNdEx := 0
6099 for iNdEx < l {
6100 preIndex := iNdEx
6101 var wire uint64
6102 for shift := uint(0); ; shift += 7 {
6103 if shift >= 64 {
6104 return ErrIntOverflowGenerated
6105 }
6106 if iNdEx >= l {
6107 return io.ErrUnexpectedEOF
6108 }
6109 b := dAtA[iNdEx]
6110 iNdEx++
6111 wire |= (uint64(b) & 0x7F) << shift
6112 if b < 0x80 {
6113 break
6114 }
6115 }
6116 fieldNum := int32(wire >> 3)
6117 wireType := int(wire & 0x7)
6118 if wireType == 4 {
6119 return fmt.Errorf("proto: DeploymentList: wiretype end group for non-group")
6120 }
6121 if fieldNum <= 0 {
6122 return fmt.Errorf("proto: DeploymentList: illegal tag %d (wire type %d)", fieldNum, wire)
6123 }
6124 switch fieldNum {
6125 case 1:
6126 if wireType != 2 {
6127 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
6128 }
6129 var msglen int
6130 for shift := uint(0); ; shift += 7 {
6131 if shift >= 64 {
6132 return ErrIntOverflowGenerated
6133 }
6134 if iNdEx >= l {
6135 return io.ErrUnexpectedEOF
6136 }
6137 b := dAtA[iNdEx]
6138 iNdEx++
6139 msglen |= (int(b) & 0x7F) << shift
6140 if b < 0x80 {
6141 break
6142 }
6143 }
6144 if msglen < 0 {
6145 return ErrInvalidLengthGenerated
6146 }
6147 postIndex := iNdEx + msglen
6148 if postIndex > l {
6149 return io.ErrUnexpectedEOF
6150 }
6151 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6152 return err
6153 }
6154 iNdEx = postIndex
6155 case 2:
6156 if wireType != 2 {
6157 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
6158 }
6159 var msglen int
6160 for shift := uint(0); ; shift += 7 {
6161 if shift >= 64 {
6162 return ErrIntOverflowGenerated
6163 }
6164 if iNdEx >= l {
6165 return io.ErrUnexpectedEOF
6166 }
6167 b := dAtA[iNdEx]
6168 iNdEx++
6169 msglen |= (int(b) & 0x7F) << shift
6170 if b < 0x80 {
6171 break
6172 }
6173 }
6174 if msglen < 0 {
6175 return ErrInvalidLengthGenerated
6176 }
6177 postIndex := iNdEx + msglen
6178 if postIndex > l {
6179 return io.ErrUnexpectedEOF
6180 }
6181 m.Items = append(m.Items, Deployment{})
6182 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6183 return err
6184 }
6185 iNdEx = postIndex
6186 default:
6187 iNdEx = preIndex
6188 skippy, err := skipGenerated(dAtA[iNdEx:])
6189 if err != nil {
6190 return err
6191 }
6192 if skippy < 0 {
6193 return ErrInvalidLengthGenerated
6194 }
6195 if (iNdEx + skippy) > l {
6196 return io.ErrUnexpectedEOF
6197 }
6198 iNdEx += skippy
6199 }
6200 }
6201
6202 if iNdEx > l {
6203 return io.ErrUnexpectedEOF
6204 }
6205 return nil
6206}
6207func (m *DeploymentRollback) Unmarshal(dAtA []byte) error {
6208 l := len(dAtA)
6209 iNdEx := 0
6210 for iNdEx < l {
6211 preIndex := iNdEx
6212 var wire uint64
6213 for shift := uint(0); ; shift += 7 {
6214 if shift >= 64 {
6215 return ErrIntOverflowGenerated
6216 }
6217 if iNdEx >= l {
6218 return io.ErrUnexpectedEOF
6219 }
6220 b := dAtA[iNdEx]
6221 iNdEx++
6222 wire |= (uint64(b) & 0x7F) << shift
6223 if b < 0x80 {
6224 break
6225 }
6226 }
6227 fieldNum := int32(wire >> 3)
6228 wireType := int(wire & 0x7)
6229 if wireType == 4 {
6230 return fmt.Errorf("proto: DeploymentRollback: wiretype end group for non-group")
6231 }
6232 if fieldNum <= 0 {
6233 return fmt.Errorf("proto: DeploymentRollback: illegal tag %d (wire type %d)", fieldNum, wire)
6234 }
6235 switch fieldNum {
6236 case 1:
6237 if wireType != 2 {
6238 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
6239 }
6240 var stringLen uint64
6241 for shift := uint(0); ; shift += 7 {
6242 if shift >= 64 {
6243 return ErrIntOverflowGenerated
6244 }
6245 if iNdEx >= l {
6246 return io.ErrUnexpectedEOF
6247 }
6248 b := dAtA[iNdEx]
6249 iNdEx++
6250 stringLen |= (uint64(b) & 0x7F) << shift
6251 if b < 0x80 {
6252 break
6253 }
6254 }
6255 intStringLen := int(stringLen)
6256 if intStringLen < 0 {
6257 return ErrInvalidLengthGenerated
6258 }
6259 postIndex := iNdEx + intStringLen
6260 if postIndex > l {
6261 return io.ErrUnexpectedEOF
6262 }
6263 m.Name = string(dAtA[iNdEx:postIndex])
6264 iNdEx = postIndex
6265 case 2:
6266 if wireType != 2 {
6267 return fmt.Errorf("proto: wrong wireType = %d for field UpdatedAnnotations", wireType)
6268 }
6269 var msglen int
6270 for shift := uint(0); ; shift += 7 {
6271 if shift >= 64 {
6272 return ErrIntOverflowGenerated
6273 }
6274 if iNdEx >= l {
6275 return io.ErrUnexpectedEOF
6276 }
6277 b := dAtA[iNdEx]
6278 iNdEx++
6279 msglen |= (int(b) & 0x7F) << shift
6280 if b < 0x80 {
6281 break
6282 }
6283 }
6284 if msglen < 0 {
6285 return ErrInvalidLengthGenerated
6286 }
6287 postIndex := iNdEx + msglen
6288 if postIndex > l {
6289 return io.ErrUnexpectedEOF
6290 }
6291 if m.UpdatedAnnotations == nil {
6292 m.UpdatedAnnotations = make(map[string]string)
6293 }
6294 var mapkey string
6295 var mapvalue string
6296 for iNdEx < postIndex {
6297 entryPreIndex := iNdEx
6298 var wire uint64
6299 for shift := uint(0); ; shift += 7 {
6300 if shift >= 64 {
6301 return ErrIntOverflowGenerated
6302 }
6303 if iNdEx >= l {
6304 return io.ErrUnexpectedEOF
6305 }
6306 b := dAtA[iNdEx]
6307 iNdEx++
6308 wire |= (uint64(b) & 0x7F) << shift
6309 if b < 0x80 {
6310 break
6311 }
6312 }
6313 fieldNum := int32(wire >> 3)
6314 if fieldNum == 1 {
6315 var stringLenmapkey uint64
6316 for shift := uint(0); ; shift += 7 {
6317 if shift >= 64 {
6318 return ErrIntOverflowGenerated
6319 }
6320 if iNdEx >= l {
6321 return io.ErrUnexpectedEOF
6322 }
6323 b := dAtA[iNdEx]
6324 iNdEx++
6325 stringLenmapkey |= (uint64(b) & 0x7F) << shift
6326 if b < 0x80 {
6327 break
6328 }
6329 }
6330 intStringLenmapkey := int(stringLenmapkey)
6331 if intStringLenmapkey < 0 {
6332 return ErrInvalidLengthGenerated
6333 }
6334 postStringIndexmapkey := iNdEx + intStringLenmapkey
6335 if postStringIndexmapkey > l {
6336 return io.ErrUnexpectedEOF
6337 }
6338 mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
6339 iNdEx = postStringIndexmapkey
6340 } else if fieldNum == 2 {
6341 var stringLenmapvalue uint64
6342 for shift := uint(0); ; shift += 7 {
6343 if shift >= 64 {
6344 return ErrIntOverflowGenerated
6345 }
6346 if iNdEx >= l {
6347 return io.ErrUnexpectedEOF
6348 }
6349 b := dAtA[iNdEx]
6350 iNdEx++
6351 stringLenmapvalue |= (uint64(b) & 0x7F) << shift
6352 if b < 0x80 {
6353 break
6354 }
6355 }
6356 intStringLenmapvalue := int(stringLenmapvalue)
6357 if intStringLenmapvalue < 0 {
6358 return ErrInvalidLengthGenerated
6359 }
6360 postStringIndexmapvalue := iNdEx + intStringLenmapvalue
6361 if postStringIndexmapvalue > l {
6362 return io.ErrUnexpectedEOF
6363 }
6364 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
6365 iNdEx = postStringIndexmapvalue
6366 } else {
6367 iNdEx = entryPreIndex
6368 skippy, err := skipGenerated(dAtA[iNdEx:])
6369 if err != nil {
6370 return err
6371 }
6372 if skippy < 0 {
6373 return ErrInvalidLengthGenerated
6374 }
6375 if (iNdEx + skippy) > postIndex {
6376 return io.ErrUnexpectedEOF
6377 }
6378 iNdEx += skippy
6379 }
6380 }
6381 m.UpdatedAnnotations[mapkey] = mapvalue
6382 iNdEx = postIndex
6383 case 3:
6384 if wireType != 2 {
6385 return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
6386 }
6387 var msglen int
6388 for shift := uint(0); ; shift += 7 {
6389 if shift >= 64 {
6390 return ErrIntOverflowGenerated
6391 }
6392 if iNdEx >= l {
6393 return io.ErrUnexpectedEOF
6394 }
6395 b := dAtA[iNdEx]
6396 iNdEx++
6397 msglen |= (int(b) & 0x7F) << shift
6398 if b < 0x80 {
6399 break
6400 }
6401 }
6402 if msglen < 0 {
6403 return ErrInvalidLengthGenerated
6404 }
6405 postIndex := iNdEx + msglen
6406 if postIndex > l {
6407 return io.ErrUnexpectedEOF
6408 }
6409 if err := m.RollbackTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6410 return err
6411 }
6412 iNdEx = postIndex
6413 default:
6414 iNdEx = preIndex
6415 skippy, err := skipGenerated(dAtA[iNdEx:])
6416 if err != nil {
6417 return err
6418 }
6419 if skippy < 0 {
6420 return ErrInvalidLengthGenerated
6421 }
6422 if (iNdEx + skippy) > l {
6423 return io.ErrUnexpectedEOF
6424 }
6425 iNdEx += skippy
6426 }
6427 }
6428
6429 if iNdEx > l {
6430 return io.ErrUnexpectedEOF
6431 }
6432 return nil
6433}
6434func (m *DeploymentSpec) Unmarshal(dAtA []byte) error {
6435 l := len(dAtA)
6436 iNdEx := 0
6437 for iNdEx < l {
6438 preIndex := iNdEx
6439 var wire uint64
6440 for shift := uint(0); ; shift += 7 {
6441 if shift >= 64 {
6442 return ErrIntOverflowGenerated
6443 }
6444 if iNdEx >= l {
6445 return io.ErrUnexpectedEOF
6446 }
6447 b := dAtA[iNdEx]
6448 iNdEx++
6449 wire |= (uint64(b) & 0x7F) << shift
6450 if b < 0x80 {
6451 break
6452 }
6453 }
6454 fieldNum := int32(wire >> 3)
6455 wireType := int(wire & 0x7)
6456 if wireType == 4 {
6457 return fmt.Errorf("proto: DeploymentSpec: wiretype end group for non-group")
6458 }
6459 if fieldNum <= 0 {
6460 return fmt.Errorf("proto: DeploymentSpec: illegal tag %d (wire type %d)", fieldNum, wire)
6461 }
6462 switch fieldNum {
6463 case 1:
6464 if wireType != 0 {
6465 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
6466 }
6467 var v int32
6468 for shift := uint(0); ; shift += 7 {
6469 if shift >= 64 {
6470 return ErrIntOverflowGenerated
6471 }
6472 if iNdEx >= l {
6473 return io.ErrUnexpectedEOF
6474 }
6475 b := dAtA[iNdEx]
6476 iNdEx++
6477 v |= (int32(b) & 0x7F) << shift
6478 if b < 0x80 {
6479 break
6480 }
6481 }
6482 m.Replicas = &v
6483 case 2:
6484 if wireType != 2 {
6485 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
6486 }
6487 var msglen int
6488 for shift := uint(0); ; shift += 7 {
6489 if shift >= 64 {
6490 return ErrIntOverflowGenerated
6491 }
6492 if iNdEx >= l {
6493 return io.ErrUnexpectedEOF
6494 }
6495 b := dAtA[iNdEx]
6496 iNdEx++
6497 msglen |= (int(b) & 0x7F) << shift
6498 if b < 0x80 {
6499 break
6500 }
6501 }
6502 if msglen < 0 {
6503 return ErrInvalidLengthGenerated
6504 }
6505 postIndex := iNdEx + msglen
6506 if postIndex > l {
6507 return io.ErrUnexpectedEOF
6508 }
6509 if m.Selector == nil {
6510 m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
6511 }
6512 if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6513 return err
6514 }
6515 iNdEx = postIndex
6516 case 3:
6517 if wireType != 2 {
6518 return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
6519 }
6520 var msglen int
6521 for shift := uint(0); ; shift += 7 {
6522 if shift >= 64 {
6523 return ErrIntOverflowGenerated
6524 }
6525 if iNdEx >= l {
6526 return io.ErrUnexpectedEOF
6527 }
6528 b := dAtA[iNdEx]
6529 iNdEx++
6530 msglen |= (int(b) & 0x7F) << shift
6531 if b < 0x80 {
6532 break
6533 }
6534 }
6535 if msglen < 0 {
6536 return ErrInvalidLengthGenerated
6537 }
6538 postIndex := iNdEx + msglen
6539 if postIndex > l {
6540 return io.ErrUnexpectedEOF
6541 }
6542 if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6543 return err
6544 }
6545 iNdEx = postIndex
6546 case 4:
6547 if wireType != 2 {
6548 return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType)
6549 }
6550 var msglen int
6551 for shift := uint(0); ; shift += 7 {
6552 if shift >= 64 {
6553 return ErrIntOverflowGenerated
6554 }
6555 if iNdEx >= l {
6556 return io.ErrUnexpectedEOF
6557 }
6558 b := dAtA[iNdEx]
6559 iNdEx++
6560 msglen |= (int(b) & 0x7F) << shift
6561 if b < 0x80 {
6562 break
6563 }
6564 }
6565 if msglen < 0 {
6566 return ErrInvalidLengthGenerated
6567 }
6568 postIndex := iNdEx + msglen
6569 if postIndex > l {
6570 return io.ErrUnexpectedEOF
6571 }
6572 if err := m.Strategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6573 return err
6574 }
6575 iNdEx = postIndex
6576 case 5:
6577 if wireType != 0 {
6578 return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
6579 }
6580 m.MinReadySeconds = 0
6581 for shift := uint(0); ; shift += 7 {
6582 if shift >= 64 {
6583 return ErrIntOverflowGenerated
6584 }
6585 if iNdEx >= l {
6586 return io.ErrUnexpectedEOF
6587 }
6588 b := dAtA[iNdEx]
6589 iNdEx++
6590 m.MinReadySeconds |= (int32(b) & 0x7F) << shift
6591 if b < 0x80 {
6592 break
6593 }
6594 }
6595 case 6:
6596 if wireType != 0 {
6597 return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
6598 }
6599 var v int32
6600 for shift := uint(0); ; shift += 7 {
6601 if shift >= 64 {
6602 return ErrIntOverflowGenerated
6603 }
6604 if iNdEx >= l {
6605 return io.ErrUnexpectedEOF
6606 }
6607 b := dAtA[iNdEx]
6608 iNdEx++
6609 v |= (int32(b) & 0x7F) << shift
6610 if b < 0x80 {
6611 break
6612 }
6613 }
6614 m.RevisionHistoryLimit = &v
6615 case 7:
6616 if wireType != 0 {
6617 return fmt.Errorf("proto: wrong wireType = %d for field Paused", wireType)
6618 }
6619 var v int
6620 for shift := uint(0); ; shift += 7 {
6621 if shift >= 64 {
6622 return ErrIntOverflowGenerated
6623 }
6624 if iNdEx >= l {
6625 return io.ErrUnexpectedEOF
6626 }
6627 b := dAtA[iNdEx]
6628 iNdEx++
6629 v |= (int(b) & 0x7F) << shift
6630 if b < 0x80 {
6631 break
6632 }
6633 }
6634 m.Paused = bool(v != 0)
6635 case 8:
6636 if wireType != 2 {
6637 return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
6638 }
6639 var msglen int
6640 for shift := uint(0); ; shift += 7 {
6641 if shift >= 64 {
6642 return ErrIntOverflowGenerated
6643 }
6644 if iNdEx >= l {
6645 return io.ErrUnexpectedEOF
6646 }
6647 b := dAtA[iNdEx]
6648 iNdEx++
6649 msglen |= (int(b) & 0x7F) << shift
6650 if b < 0x80 {
6651 break
6652 }
6653 }
6654 if msglen < 0 {
6655 return ErrInvalidLengthGenerated
6656 }
6657 postIndex := iNdEx + msglen
6658 if postIndex > l {
6659 return io.ErrUnexpectedEOF
6660 }
6661 if m.RollbackTo == nil {
6662 m.RollbackTo = &RollbackConfig{}
6663 }
6664 if err := m.RollbackTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6665 return err
6666 }
6667 iNdEx = postIndex
6668 case 9:
6669 if wireType != 0 {
6670 return fmt.Errorf("proto: wrong wireType = %d for field ProgressDeadlineSeconds", wireType)
6671 }
6672 var v int32
6673 for shift := uint(0); ; shift += 7 {
6674 if shift >= 64 {
6675 return ErrIntOverflowGenerated
6676 }
6677 if iNdEx >= l {
6678 return io.ErrUnexpectedEOF
6679 }
6680 b := dAtA[iNdEx]
6681 iNdEx++
6682 v |= (int32(b) & 0x7F) << shift
6683 if b < 0x80 {
6684 break
6685 }
6686 }
6687 m.ProgressDeadlineSeconds = &v
6688 default:
6689 iNdEx = preIndex
6690 skippy, err := skipGenerated(dAtA[iNdEx:])
6691 if err != nil {
6692 return err
6693 }
6694 if skippy < 0 {
6695 return ErrInvalidLengthGenerated
6696 }
6697 if (iNdEx + skippy) > l {
6698 return io.ErrUnexpectedEOF
6699 }
6700 iNdEx += skippy
6701 }
6702 }
6703
6704 if iNdEx > l {
6705 return io.ErrUnexpectedEOF
6706 }
6707 return nil
6708}
6709func (m *DeploymentStatus) Unmarshal(dAtA []byte) error {
6710 l := len(dAtA)
6711 iNdEx := 0
6712 for iNdEx < l {
6713 preIndex := iNdEx
6714 var wire uint64
6715 for shift := uint(0); ; shift += 7 {
6716 if shift >= 64 {
6717 return ErrIntOverflowGenerated
6718 }
6719 if iNdEx >= l {
6720 return io.ErrUnexpectedEOF
6721 }
6722 b := dAtA[iNdEx]
6723 iNdEx++
6724 wire |= (uint64(b) & 0x7F) << shift
6725 if b < 0x80 {
6726 break
6727 }
6728 }
6729 fieldNum := int32(wire >> 3)
6730 wireType := int(wire & 0x7)
6731 if wireType == 4 {
6732 return fmt.Errorf("proto: DeploymentStatus: wiretype end group for non-group")
6733 }
6734 if fieldNum <= 0 {
6735 return fmt.Errorf("proto: DeploymentStatus: illegal tag %d (wire type %d)", fieldNum, wire)
6736 }
6737 switch fieldNum {
6738 case 1:
6739 if wireType != 0 {
6740 return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
6741 }
6742 m.ObservedGeneration = 0
6743 for shift := uint(0); ; shift += 7 {
6744 if shift >= 64 {
6745 return ErrIntOverflowGenerated
6746 }
6747 if iNdEx >= l {
6748 return io.ErrUnexpectedEOF
6749 }
6750 b := dAtA[iNdEx]
6751 iNdEx++
6752 m.ObservedGeneration |= (int64(b) & 0x7F) << shift
6753 if b < 0x80 {
6754 break
6755 }
6756 }
6757 case 2:
6758 if wireType != 0 {
6759 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
6760 }
6761 m.Replicas = 0
6762 for shift := uint(0); ; shift += 7 {
6763 if shift >= 64 {
6764 return ErrIntOverflowGenerated
6765 }
6766 if iNdEx >= l {
6767 return io.ErrUnexpectedEOF
6768 }
6769 b := dAtA[iNdEx]
6770 iNdEx++
6771 m.Replicas |= (int32(b) & 0x7F) << shift
6772 if b < 0x80 {
6773 break
6774 }
6775 }
6776 case 3:
6777 if wireType != 0 {
6778 return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType)
6779 }
6780 m.UpdatedReplicas = 0
6781 for shift := uint(0); ; shift += 7 {
6782 if shift >= 64 {
6783 return ErrIntOverflowGenerated
6784 }
6785 if iNdEx >= l {
6786 return io.ErrUnexpectedEOF
6787 }
6788 b := dAtA[iNdEx]
6789 iNdEx++
6790 m.UpdatedReplicas |= (int32(b) & 0x7F) << shift
6791 if b < 0x80 {
6792 break
6793 }
6794 }
6795 case 4:
6796 if wireType != 0 {
6797 return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
6798 }
6799 m.AvailableReplicas = 0
6800 for shift := uint(0); ; shift += 7 {
6801 if shift >= 64 {
6802 return ErrIntOverflowGenerated
6803 }
6804 if iNdEx >= l {
6805 return io.ErrUnexpectedEOF
6806 }
6807 b := dAtA[iNdEx]
6808 iNdEx++
6809 m.AvailableReplicas |= (int32(b) & 0x7F) << shift
6810 if b < 0x80 {
6811 break
6812 }
6813 }
6814 case 5:
6815 if wireType != 0 {
6816 return fmt.Errorf("proto: wrong wireType = %d for field UnavailableReplicas", wireType)
6817 }
6818 m.UnavailableReplicas = 0
6819 for shift := uint(0); ; shift += 7 {
6820 if shift >= 64 {
6821 return ErrIntOverflowGenerated
6822 }
6823 if iNdEx >= l {
6824 return io.ErrUnexpectedEOF
6825 }
6826 b := dAtA[iNdEx]
6827 iNdEx++
6828 m.UnavailableReplicas |= (int32(b) & 0x7F) << shift
6829 if b < 0x80 {
6830 break
6831 }
6832 }
6833 case 6:
6834 if wireType != 2 {
6835 return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
6836 }
6837 var msglen int
6838 for shift := uint(0); ; shift += 7 {
6839 if shift >= 64 {
6840 return ErrIntOverflowGenerated
6841 }
6842 if iNdEx >= l {
6843 return io.ErrUnexpectedEOF
6844 }
6845 b := dAtA[iNdEx]
6846 iNdEx++
6847 msglen |= (int(b) & 0x7F) << shift
6848 if b < 0x80 {
6849 break
6850 }
6851 }
6852 if msglen < 0 {
6853 return ErrInvalidLengthGenerated
6854 }
6855 postIndex := iNdEx + msglen
6856 if postIndex > l {
6857 return io.ErrUnexpectedEOF
6858 }
6859 m.Conditions = append(m.Conditions, DeploymentCondition{})
6860 if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6861 return err
6862 }
6863 iNdEx = postIndex
6864 case 7:
6865 if wireType != 0 {
6866 return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
6867 }
6868 m.ReadyReplicas = 0
6869 for shift := uint(0); ; shift += 7 {
6870 if shift >= 64 {
6871 return ErrIntOverflowGenerated
6872 }
6873 if iNdEx >= l {
6874 return io.ErrUnexpectedEOF
6875 }
6876 b := dAtA[iNdEx]
6877 iNdEx++
6878 m.ReadyReplicas |= (int32(b) & 0x7F) << shift
6879 if b < 0x80 {
6880 break
6881 }
6882 }
6883 case 8:
6884 if wireType != 0 {
6885 return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
6886 }
6887 var v int32
6888 for shift := uint(0); ; shift += 7 {
6889 if shift >= 64 {
6890 return ErrIntOverflowGenerated
6891 }
6892 if iNdEx >= l {
6893 return io.ErrUnexpectedEOF
6894 }
6895 b := dAtA[iNdEx]
6896 iNdEx++
6897 v |= (int32(b) & 0x7F) << shift
6898 if b < 0x80 {
6899 break
6900 }
6901 }
6902 m.CollisionCount = &v
6903 default:
6904 iNdEx = preIndex
6905 skippy, err := skipGenerated(dAtA[iNdEx:])
6906 if err != nil {
6907 return err
6908 }
6909 if skippy < 0 {
6910 return ErrInvalidLengthGenerated
6911 }
6912 if (iNdEx + skippy) > l {
6913 return io.ErrUnexpectedEOF
6914 }
6915 iNdEx += skippy
6916 }
6917 }
6918
6919 if iNdEx > l {
6920 return io.ErrUnexpectedEOF
6921 }
6922 return nil
6923}
6924func (m *DeploymentStrategy) Unmarshal(dAtA []byte) error {
6925 l := len(dAtA)
6926 iNdEx := 0
6927 for iNdEx < l {
6928 preIndex := iNdEx
6929 var wire uint64
6930 for shift := uint(0); ; shift += 7 {
6931 if shift >= 64 {
6932 return ErrIntOverflowGenerated
6933 }
6934 if iNdEx >= l {
6935 return io.ErrUnexpectedEOF
6936 }
6937 b := dAtA[iNdEx]
6938 iNdEx++
6939 wire |= (uint64(b) & 0x7F) << shift
6940 if b < 0x80 {
6941 break
6942 }
6943 }
6944 fieldNum := int32(wire >> 3)
6945 wireType := int(wire & 0x7)
6946 if wireType == 4 {
6947 return fmt.Errorf("proto: DeploymentStrategy: wiretype end group for non-group")
6948 }
6949 if fieldNum <= 0 {
6950 return fmt.Errorf("proto: DeploymentStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
6951 }
6952 switch fieldNum {
6953 case 1:
6954 if wireType != 2 {
6955 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
6956 }
6957 var stringLen uint64
6958 for shift := uint(0); ; shift += 7 {
6959 if shift >= 64 {
6960 return ErrIntOverflowGenerated
6961 }
6962 if iNdEx >= l {
6963 return io.ErrUnexpectedEOF
6964 }
6965 b := dAtA[iNdEx]
6966 iNdEx++
6967 stringLen |= (uint64(b) & 0x7F) << shift
6968 if b < 0x80 {
6969 break
6970 }
6971 }
6972 intStringLen := int(stringLen)
6973 if intStringLen < 0 {
6974 return ErrInvalidLengthGenerated
6975 }
6976 postIndex := iNdEx + intStringLen
6977 if postIndex > l {
6978 return io.ErrUnexpectedEOF
6979 }
6980 m.Type = DeploymentStrategyType(dAtA[iNdEx:postIndex])
6981 iNdEx = postIndex
6982 case 2:
6983 if wireType != 2 {
6984 return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
6985 }
6986 var msglen int
6987 for shift := uint(0); ; shift += 7 {
6988 if shift >= 64 {
6989 return ErrIntOverflowGenerated
6990 }
6991 if iNdEx >= l {
6992 return io.ErrUnexpectedEOF
6993 }
6994 b := dAtA[iNdEx]
6995 iNdEx++
6996 msglen |= (int(b) & 0x7F) << shift
6997 if b < 0x80 {
6998 break
6999 }
7000 }
7001 if msglen < 0 {
7002 return ErrInvalidLengthGenerated
7003 }
7004 postIndex := iNdEx + msglen
7005 if postIndex > l {
7006 return io.ErrUnexpectedEOF
7007 }
7008 if m.RollingUpdate == nil {
7009 m.RollingUpdate = &RollingUpdateDeployment{}
7010 }
7011 if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7012 return err
7013 }
7014 iNdEx = postIndex
7015 default:
7016 iNdEx = preIndex
7017 skippy, err := skipGenerated(dAtA[iNdEx:])
7018 if err != nil {
7019 return err
7020 }
7021 if skippy < 0 {
7022 return ErrInvalidLengthGenerated
7023 }
7024 if (iNdEx + skippy) > l {
7025 return io.ErrUnexpectedEOF
7026 }
7027 iNdEx += skippy
7028 }
7029 }
7030
7031 if iNdEx > l {
7032 return io.ErrUnexpectedEOF
7033 }
7034 return nil
7035}
7036func (m *FSGroupStrategyOptions) Unmarshal(dAtA []byte) error {
7037 l := len(dAtA)
7038 iNdEx := 0
7039 for iNdEx < l {
7040 preIndex := iNdEx
7041 var wire uint64
7042 for shift := uint(0); ; shift += 7 {
7043 if shift >= 64 {
7044 return ErrIntOverflowGenerated
7045 }
7046 if iNdEx >= l {
7047 return io.ErrUnexpectedEOF
7048 }
7049 b := dAtA[iNdEx]
7050 iNdEx++
7051 wire |= (uint64(b) & 0x7F) << shift
7052 if b < 0x80 {
7053 break
7054 }
7055 }
7056 fieldNum := int32(wire >> 3)
7057 wireType := int(wire & 0x7)
7058 if wireType == 4 {
7059 return fmt.Errorf("proto: FSGroupStrategyOptions: wiretype end group for non-group")
7060 }
7061 if fieldNum <= 0 {
7062 return fmt.Errorf("proto: FSGroupStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
7063 }
7064 switch fieldNum {
7065 case 1:
7066 if wireType != 2 {
7067 return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
7068 }
7069 var stringLen uint64
7070 for shift := uint(0); ; shift += 7 {
7071 if shift >= 64 {
7072 return ErrIntOverflowGenerated
7073 }
7074 if iNdEx >= l {
7075 return io.ErrUnexpectedEOF
7076 }
7077 b := dAtA[iNdEx]
7078 iNdEx++
7079 stringLen |= (uint64(b) & 0x7F) << shift
7080 if b < 0x80 {
7081 break
7082 }
7083 }
7084 intStringLen := int(stringLen)
7085 if intStringLen < 0 {
7086 return ErrInvalidLengthGenerated
7087 }
7088 postIndex := iNdEx + intStringLen
7089 if postIndex > l {
7090 return io.ErrUnexpectedEOF
7091 }
7092 m.Rule = FSGroupStrategyType(dAtA[iNdEx:postIndex])
7093 iNdEx = postIndex
7094 case 2:
7095 if wireType != 2 {
7096 return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
7097 }
7098 var msglen int
7099 for shift := uint(0); ; shift += 7 {
7100 if shift >= 64 {
7101 return ErrIntOverflowGenerated
7102 }
7103 if iNdEx >= l {
7104 return io.ErrUnexpectedEOF
7105 }
7106 b := dAtA[iNdEx]
7107 iNdEx++
7108 msglen |= (int(b) & 0x7F) << shift
7109 if b < 0x80 {
7110 break
7111 }
7112 }
7113 if msglen < 0 {
7114 return ErrInvalidLengthGenerated
7115 }
7116 postIndex := iNdEx + msglen
7117 if postIndex > l {
7118 return io.ErrUnexpectedEOF
7119 }
7120 m.Ranges = append(m.Ranges, IDRange{})
7121 if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7122 return err
7123 }
7124 iNdEx = postIndex
7125 default:
7126 iNdEx = preIndex
7127 skippy, err := skipGenerated(dAtA[iNdEx:])
7128 if err != nil {
7129 return err
7130 }
7131 if skippy < 0 {
7132 return ErrInvalidLengthGenerated
7133 }
7134 if (iNdEx + skippy) > l {
7135 return io.ErrUnexpectedEOF
7136 }
7137 iNdEx += skippy
7138 }
7139 }
7140
7141 if iNdEx > l {
7142 return io.ErrUnexpectedEOF
7143 }
7144 return nil
7145}
7146func (m *HTTPIngressPath) Unmarshal(dAtA []byte) error {
7147 l := len(dAtA)
7148 iNdEx := 0
7149 for iNdEx < l {
7150 preIndex := iNdEx
7151 var wire uint64
7152 for shift := uint(0); ; shift += 7 {
7153 if shift >= 64 {
7154 return ErrIntOverflowGenerated
7155 }
7156 if iNdEx >= l {
7157 return io.ErrUnexpectedEOF
7158 }
7159 b := dAtA[iNdEx]
7160 iNdEx++
7161 wire |= (uint64(b) & 0x7F) << shift
7162 if b < 0x80 {
7163 break
7164 }
7165 }
7166 fieldNum := int32(wire >> 3)
7167 wireType := int(wire & 0x7)
7168 if wireType == 4 {
7169 return fmt.Errorf("proto: HTTPIngressPath: wiretype end group for non-group")
7170 }
7171 if fieldNum <= 0 {
7172 return fmt.Errorf("proto: HTTPIngressPath: illegal tag %d (wire type %d)", fieldNum, wire)
7173 }
7174 switch fieldNum {
7175 case 1:
7176 if wireType != 2 {
7177 return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
7178 }
7179 var stringLen uint64
7180 for shift := uint(0); ; shift += 7 {
7181 if shift >= 64 {
7182 return ErrIntOverflowGenerated
7183 }
7184 if iNdEx >= l {
7185 return io.ErrUnexpectedEOF
7186 }
7187 b := dAtA[iNdEx]
7188 iNdEx++
7189 stringLen |= (uint64(b) & 0x7F) << shift
7190 if b < 0x80 {
7191 break
7192 }
7193 }
7194 intStringLen := int(stringLen)
7195 if intStringLen < 0 {
7196 return ErrInvalidLengthGenerated
7197 }
7198 postIndex := iNdEx + intStringLen
7199 if postIndex > l {
7200 return io.ErrUnexpectedEOF
7201 }
7202 m.Path = string(dAtA[iNdEx:postIndex])
7203 iNdEx = postIndex
7204 case 2:
7205 if wireType != 2 {
7206 return fmt.Errorf("proto: wrong wireType = %d for field Backend", wireType)
7207 }
7208 var msglen int
7209 for shift := uint(0); ; shift += 7 {
7210 if shift >= 64 {
7211 return ErrIntOverflowGenerated
7212 }
7213 if iNdEx >= l {
7214 return io.ErrUnexpectedEOF
7215 }
7216 b := dAtA[iNdEx]
7217 iNdEx++
7218 msglen |= (int(b) & 0x7F) << shift
7219 if b < 0x80 {
7220 break
7221 }
7222 }
7223 if msglen < 0 {
7224 return ErrInvalidLengthGenerated
7225 }
7226 postIndex := iNdEx + msglen
7227 if postIndex > l {
7228 return io.ErrUnexpectedEOF
7229 }
7230 if err := m.Backend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7231 return err
7232 }
7233 iNdEx = postIndex
7234 default:
7235 iNdEx = preIndex
7236 skippy, err := skipGenerated(dAtA[iNdEx:])
7237 if err != nil {
7238 return err
7239 }
7240 if skippy < 0 {
7241 return ErrInvalidLengthGenerated
7242 }
7243 if (iNdEx + skippy) > l {
7244 return io.ErrUnexpectedEOF
7245 }
7246 iNdEx += skippy
7247 }
7248 }
7249
7250 if iNdEx > l {
7251 return io.ErrUnexpectedEOF
7252 }
7253 return nil
7254}
7255func (m *HTTPIngressRuleValue) Unmarshal(dAtA []byte) error {
7256 l := len(dAtA)
7257 iNdEx := 0
7258 for iNdEx < l {
7259 preIndex := iNdEx
7260 var wire uint64
7261 for shift := uint(0); ; shift += 7 {
7262 if shift >= 64 {
7263 return ErrIntOverflowGenerated
7264 }
7265 if iNdEx >= l {
7266 return io.ErrUnexpectedEOF
7267 }
7268 b := dAtA[iNdEx]
7269 iNdEx++
7270 wire |= (uint64(b) & 0x7F) << shift
7271 if b < 0x80 {
7272 break
7273 }
7274 }
7275 fieldNum := int32(wire >> 3)
7276 wireType := int(wire & 0x7)
7277 if wireType == 4 {
7278 return fmt.Errorf("proto: HTTPIngressRuleValue: wiretype end group for non-group")
7279 }
7280 if fieldNum <= 0 {
7281 return fmt.Errorf("proto: HTTPIngressRuleValue: illegal tag %d (wire type %d)", fieldNum, wire)
7282 }
7283 switch fieldNum {
7284 case 1:
7285 if wireType != 2 {
7286 return fmt.Errorf("proto: wrong wireType = %d for field Paths", wireType)
7287 }
7288 var msglen int
7289 for shift := uint(0); ; shift += 7 {
7290 if shift >= 64 {
7291 return ErrIntOverflowGenerated
7292 }
7293 if iNdEx >= l {
7294 return io.ErrUnexpectedEOF
7295 }
7296 b := dAtA[iNdEx]
7297 iNdEx++
7298 msglen |= (int(b) & 0x7F) << shift
7299 if b < 0x80 {
7300 break
7301 }
7302 }
7303 if msglen < 0 {
7304 return ErrInvalidLengthGenerated
7305 }
7306 postIndex := iNdEx + msglen
7307 if postIndex > l {
7308 return io.ErrUnexpectedEOF
7309 }
7310 m.Paths = append(m.Paths, HTTPIngressPath{})
7311 if err := m.Paths[len(m.Paths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7312 return err
7313 }
7314 iNdEx = postIndex
7315 default:
7316 iNdEx = preIndex
7317 skippy, err := skipGenerated(dAtA[iNdEx:])
7318 if err != nil {
7319 return err
7320 }
7321 if skippy < 0 {
7322 return ErrInvalidLengthGenerated
7323 }
7324 if (iNdEx + skippy) > l {
7325 return io.ErrUnexpectedEOF
7326 }
7327 iNdEx += skippy
7328 }
7329 }
7330
7331 if iNdEx > l {
7332 return io.ErrUnexpectedEOF
7333 }
7334 return nil
7335}
7336func (m *HostPortRange) Unmarshal(dAtA []byte) error {
7337 l := len(dAtA)
7338 iNdEx := 0
7339 for iNdEx < l {
7340 preIndex := iNdEx
7341 var wire uint64
7342 for shift := uint(0); ; shift += 7 {
7343 if shift >= 64 {
7344 return ErrIntOverflowGenerated
7345 }
7346 if iNdEx >= l {
7347 return io.ErrUnexpectedEOF
7348 }
7349 b := dAtA[iNdEx]
7350 iNdEx++
7351 wire |= (uint64(b) & 0x7F) << shift
7352 if b < 0x80 {
7353 break
7354 }
7355 }
7356 fieldNum := int32(wire >> 3)
7357 wireType := int(wire & 0x7)
7358 if wireType == 4 {
7359 return fmt.Errorf("proto: HostPortRange: wiretype end group for non-group")
7360 }
7361 if fieldNum <= 0 {
7362 return fmt.Errorf("proto: HostPortRange: illegal tag %d (wire type %d)", fieldNum, wire)
7363 }
7364 switch fieldNum {
7365 case 1:
7366 if wireType != 0 {
7367 return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
7368 }
7369 m.Min = 0
7370 for shift := uint(0); ; shift += 7 {
7371 if shift >= 64 {
7372 return ErrIntOverflowGenerated
7373 }
7374 if iNdEx >= l {
7375 return io.ErrUnexpectedEOF
7376 }
7377 b := dAtA[iNdEx]
7378 iNdEx++
7379 m.Min |= (int32(b) & 0x7F) << shift
7380 if b < 0x80 {
7381 break
7382 }
7383 }
7384 case 2:
7385 if wireType != 0 {
7386 return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
7387 }
7388 m.Max = 0
7389 for shift := uint(0); ; shift += 7 {
7390 if shift >= 64 {
7391 return ErrIntOverflowGenerated
7392 }
7393 if iNdEx >= l {
7394 return io.ErrUnexpectedEOF
7395 }
7396 b := dAtA[iNdEx]
7397 iNdEx++
7398 m.Max |= (int32(b) & 0x7F) << shift
7399 if b < 0x80 {
7400 break
7401 }
7402 }
7403 default:
7404 iNdEx = preIndex
7405 skippy, err := skipGenerated(dAtA[iNdEx:])
7406 if err != nil {
7407 return err
7408 }
7409 if skippy < 0 {
7410 return ErrInvalidLengthGenerated
7411 }
7412 if (iNdEx + skippy) > l {
7413 return io.ErrUnexpectedEOF
7414 }
7415 iNdEx += skippy
7416 }
7417 }
7418
7419 if iNdEx > l {
7420 return io.ErrUnexpectedEOF
7421 }
7422 return nil
7423}
7424func (m *IDRange) Unmarshal(dAtA []byte) error {
7425 l := len(dAtA)
7426 iNdEx := 0
7427 for iNdEx < l {
7428 preIndex := iNdEx
7429 var wire uint64
7430 for shift := uint(0); ; shift += 7 {
7431 if shift >= 64 {
7432 return ErrIntOverflowGenerated
7433 }
7434 if iNdEx >= l {
7435 return io.ErrUnexpectedEOF
7436 }
7437 b := dAtA[iNdEx]
7438 iNdEx++
7439 wire |= (uint64(b) & 0x7F) << shift
7440 if b < 0x80 {
7441 break
7442 }
7443 }
7444 fieldNum := int32(wire >> 3)
7445 wireType := int(wire & 0x7)
7446 if wireType == 4 {
7447 return fmt.Errorf("proto: IDRange: wiretype end group for non-group")
7448 }
7449 if fieldNum <= 0 {
7450 return fmt.Errorf("proto: IDRange: illegal tag %d (wire type %d)", fieldNum, wire)
7451 }
7452 switch fieldNum {
7453 case 1:
7454 if wireType != 0 {
7455 return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
7456 }
7457 m.Min = 0
7458 for shift := uint(0); ; shift += 7 {
7459 if shift >= 64 {
7460 return ErrIntOverflowGenerated
7461 }
7462 if iNdEx >= l {
7463 return io.ErrUnexpectedEOF
7464 }
7465 b := dAtA[iNdEx]
7466 iNdEx++
7467 m.Min |= (int64(b) & 0x7F) << shift
7468 if b < 0x80 {
7469 break
7470 }
7471 }
7472 case 2:
7473 if wireType != 0 {
7474 return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
7475 }
7476 m.Max = 0
7477 for shift := uint(0); ; shift += 7 {
7478 if shift >= 64 {
7479 return ErrIntOverflowGenerated
7480 }
7481 if iNdEx >= l {
7482 return io.ErrUnexpectedEOF
7483 }
7484 b := dAtA[iNdEx]
7485 iNdEx++
7486 m.Max |= (int64(b) & 0x7F) << shift
7487 if b < 0x80 {
7488 break
7489 }
7490 }
7491 default:
7492 iNdEx = preIndex
7493 skippy, err := skipGenerated(dAtA[iNdEx:])
7494 if err != nil {
7495 return err
7496 }
7497 if skippy < 0 {
7498 return ErrInvalidLengthGenerated
7499 }
7500 if (iNdEx + skippy) > l {
7501 return io.ErrUnexpectedEOF
7502 }
7503 iNdEx += skippy
7504 }
7505 }
7506
7507 if iNdEx > l {
7508 return io.ErrUnexpectedEOF
7509 }
7510 return nil
7511}
7512func (m *IPBlock) Unmarshal(dAtA []byte) error {
7513 l := len(dAtA)
7514 iNdEx := 0
7515 for iNdEx < l {
7516 preIndex := iNdEx
7517 var wire uint64
7518 for shift := uint(0); ; shift += 7 {
7519 if shift >= 64 {
7520 return ErrIntOverflowGenerated
7521 }
7522 if iNdEx >= l {
7523 return io.ErrUnexpectedEOF
7524 }
7525 b := dAtA[iNdEx]
7526 iNdEx++
7527 wire |= (uint64(b) & 0x7F) << shift
7528 if b < 0x80 {
7529 break
7530 }
7531 }
7532 fieldNum := int32(wire >> 3)
7533 wireType := int(wire & 0x7)
7534 if wireType == 4 {
7535 return fmt.Errorf("proto: IPBlock: wiretype end group for non-group")
7536 }
7537 if fieldNum <= 0 {
7538 return fmt.Errorf("proto: IPBlock: illegal tag %d (wire type %d)", fieldNum, wire)
7539 }
7540 switch fieldNum {
7541 case 1:
7542 if wireType != 2 {
7543 return fmt.Errorf("proto: wrong wireType = %d for field CIDR", wireType)
7544 }
7545 var stringLen uint64
7546 for shift := uint(0); ; shift += 7 {
7547 if shift >= 64 {
7548 return ErrIntOverflowGenerated
7549 }
7550 if iNdEx >= l {
7551 return io.ErrUnexpectedEOF
7552 }
7553 b := dAtA[iNdEx]
7554 iNdEx++
7555 stringLen |= (uint64(b) & 0x7F) << shift
7556 if b < 0x80 {
7557 break
7558 }
7559 }
7560 intStringLen := int(stringLen)
7561 if intStringLen < 0 {
7562 return ErrInvalidLengthGenerated
7563 }
7564 postIndex := iNdEx + intStringLen
7565 if postIndex > l {
7566 return io.ErrUnexpectedEOF
7567 }
7568 m.CIDR = string(dAtA[iNdEx:postIndex])
7569 iNdEx = postIndex
7570 case 2:
7571 if wireType != 2 {
7572 return fmt.Errorf("proto: wrong wireType = %d for field Except", wireType)
7573 }
7574 var stringLen uint64
7575 for shift := uint(0); ; shift += 7 {
7576 if shift >= 64 {
7577 return ErrIntOverflowGenerated
7578 }
7579 if iNdEx >= l {
7580 return io.ErrUnexpectedEOF
7581 }
7582 b := dAtA[iNdEx]
7583 iNdEx++
7584 stringLen |= (uint64(b) & 0x7F) << shift
7585 if b < 0x80 {
7586 break
7587 }
7588 }
7589 intStringLen := int(stringLen)
7590 if intStringLen < 0 {
7591 return ErrInvalidLengthGenerated
7592 }
7593 postIndex := iNdEx + intStringLen
7594 if postIndex > l {
7595 return io.ErrUnexpectedEOF
7596 }
7597 m.Except = append(m.Except, string(dAtA[iNdEx:postIndex]))
7598 iNdEx = postIndex
7599 default:
7600 iNdEx = preIndex
7601 skippy, err := skipGenerated(dAtA[iNdEx:])
7602 if err != nil {
7603 return err
7604 }
7605 if skippy < 0 {
7606 return ErrInvalidLengthGenerated
7607 }
7608 if (iNdEx + skippy) > l {
7609 return io.ErrUnexpectedEOF
7610 }
7611 iNdEx += skippy
7612 }
7613 }
7614
7615 if iNdEx > l {
7616 return io.ErrUnexpectedEOF
7617 }
7618 return nil
7619}
7620func (m *Ingress) Unmarshal(dAtA []byte) error {
7621 l := len(dAtA)
7622 iNdEx := 0
7623 for iNdEx < l {
7624 preIndex := iNdEx
7625 var wire uint64
7626 for shift := uint(0); ; shift += 7 {
7627 if shift >= 64 {
7628 return ErrIntOverflowGenerated
7629 }
7630 if iNdEx >= l {
7631 return io.ErrUnexpectedEOF
7632 }
7633 b := dAtA[iNdEx]
7634 iNdEx++
7635 wire |= (uint64(b) & 0x7F) << shift
7636 if b < 0x80 {
7637 break
7638 }
7639 }
7640 fieldNum := int32(wire >> 3)
7641 wireType := int(wire & 0x7)
7642 if wireType == 4 {
7643 return fmt.Errorf("proto: Ingress: wiretype end group for non-group")
7644 }
7645 if fieldNum <= 0 {
7646 return fmt.Errorf("proto: Ingress: illegal tag %d (wire type %d)", fieldNum, wire)
7647 }
7648 switch fieldNum {
7649 case 1:
7650 if wireType != 2 {
7651 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
7652 }
7653 var msglen int
7654 for shift := uint(0); ; shift += 7 {
7655 if shift >= 64 {
7656 return ErrIntOverflowGenerated
7657 }
7658 if iNdEx >= l {
7659 return io.ErrUnexpectedEOF
7660 }
7661 b := dAtA[iNdEx]
7662 iNdEx++
7663 msglen |= (int(b) & 0x7F) << shift
7664 if b < 0x80 {
7665 break
7666 }
7667 }
7668 if msglen < 0 {
7669 return ErrInvalidLengthGenerated
7670 }
7671 postIndex := iNdEx + msglen
7672 if postIndex > l {
7673 return io.ErrUnexpectedEOF
7674 }
7675 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7676 return err
7677 }
7678 iNdEx = postIndex
7679 case 2:
7680 if wireType != 2 {
7681 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
7682 }
7683 var msglen int
7684 for shift := uint(0); ; shift += 7 {
7685 if shift >= 64 {
7686 return ErrIntOverflowGenerated
7687 }
7688 if iNdEx >= l {
7689 return io.ErrUnexpectedEOF
7690 }
7691 b := dAtA[iNdEx]
7692 iNdEx++
7693 msglen |= (int(b) & 0x7F) << shift
7694 if b < 0x80 {
7695 break
7696 }
7697 }
7698 if msglen < 0 {
7699 return ErrInvalidLengthGenerated
7700 }
7701 postIndex := iNdEx + msglen
7702 if postIndex > l {
7703 return io.ErrUnexpectedEOF
7704 }
7705 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7706 return err
7707 }
7708 iNdEx = postIndex
7709 case 3:
7710 if wireType != 2 {
7711 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
7712 }
7713 var msglen int
7714 for shift := uint(0); ; shift += 7 {
7715 if shift >= 64 {
7716 return ErrIntOverflowGenerated
7717 }
7718 if iNdEx >= l {
7719 return io.ErrUnexpectedEOF
7720 }
7721 b := dAtA[iNdEx]
7722 iNdEx++
7723 msglen |= (int(b) & 0x7F) << shift
7724 if b < 0x80 {
7725 break
7726 }
7727 }
7728 if msglen < 0 {
7729 return ErrInvalidLengthGenerated
7730 }
7731 postIndex := iNdEx + msglen
7732 if postIndex > l {
7733 return io.ErrUnexpectedEOF
7734 }
7735 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7736 return err
7737 }
7738 iNdEx = postIndex
7739 default:
7740 iNdEx = preIndex
7741 skippy, err := skipGenerated(dAtA[iNdEx:])
7742 if err != nil {
7743 return err
7744 }
7745 if skippy < 0 {
7746 return ErrInvalidLengthGenerated
7747 }
7748 if (iNdEx + skippy) > l {
7749 return io.ErrUnexpectedEOF
7750 }
7751 iNdEx += skippy
7752 }
7753 }
7754
7755 if iNdEx > l {
7756 return io.ErrUnexpectedEOF
7757 }
7758 return nil
7759}
7760func (m *IngressBackend) Unmarshal(dAtA []byte) error {
7761 l := len(dAtA)
7762 iNdEx := 0
7763 for iNdEx < l {
7764 preIndex := iNdEx
7765 var wire uint64
7766 for shift := uint(0); ; shift += 7 {
7767 if shift >= 64 {
7768 return ErrIntOverflowGenerated
7769 }
7770 if iNdEx >= l {
7771 return io.ErrUnexpectedEOF
7772 }
7773 b := dAtA[iNdEx]
7774 iNdEx++
7775 wire |= (uint64(b) & 0x7F) << shift
7776 if b < 0x80 {
7777 break
7778 }
7779 }
7780 fieldNum := int32(wire >> 3)
7781 wireType := int(wire & 0x7)
7782 if wireType == 4 {
7783 return fmt.Errorf("proto: IngressBackend: wiretype end group for non-group")
7784 }
7785 if fieldNum <= 0 {
7786 return fmt.Errorf("proto: IngressBackend: illegal tag %d (wire type %d)", fieldNum, wire)
7787 }
7788 switch fieldNum {
7789 case 1:
7790 if wireType != 2 {
7791 return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType)
7792 }
7793 var stringLen uint64
7794 for shift := uint(0); ; shift += 7 {
7795 if shift >= 64 {
7796 return ErrIntOverflowGenerated
7797 }
7798 if iNdEx >= l {
7799 return io.ErrUnexpectedEOF
7800 }
7801 b := dAtA[iNdEx]
7802 iNdEx++
7803 stringLen |= (uint64(b) & 0x7F) << shift
7804 if b < 0x80 {
7805 break
7806 }
7807 }
7808 intStringLen := int(stringLen)
7809 if intStringLen < 0 {
7810 return ErrInvalidLengthGenerated
7811 }
7812 postIndex := iNdEx + intStringLen
7813 if postIndex > l {
7814 return io.ErrUnexpectedEOF
7815 }
7816 m.ServiceName = string(dAtA[iNdEx:postIndex])
7817 iNdEx = postIndex
7818 case 2:
7819 if wireType != 2 {
7820 return fmt.Errorf("proto: wrong wireType = %d for field ServicePort", wireType)
7821 }
7822 var msglen int
7823 for shift := uint(0); ; shift += 7 {
7824 if shift >= 64 {
7825 return ErrIntOverflowGenerated
7826 }
7827 if iNdEx >= l {
7828 return io.ErrUnexpectedEOF
7829 }
7830 b := dAtA[iNdEx]
7831 iNdEx++
7832 msglen |= (int(b) & 0x7F) << shift
7833 if b < 0x80 {
7834 break
7835 }
7836 }
7837 if msglen < 0 {
7838 return ErrInvalidLengthGenerated
7839 }
7840 postIndex := iNdEx + msglen
7841 if postIndex > l {
7842 return io.ErrUnexpectedEOF
7843 }
7844 if err := m.ServicePort.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7845 return err
7846 }
7847 iNdEx = postIndex
7848 default:
7849 iNdEx = preIndex
7850 skippy, err := skipGenerated(dAtA[iNdEx:])
7851 if err != nil {
7852 return err
7853 }
7854 if skippy < 0 {
7855 return ErrInvalidLengthGenerated
7856 }
7857 if (iNdEx + skippy) > l {
7858 return io.ErrUnexpectedEOF
7859 }
7860 iNdEx += skippy
7861 }
7862 }
7863
7864 if iNdEx > l {
7865 return io.ErrUnexpectedEOF
7866 }
7867 return nil
7868}
7869func (m *IngressList) Unmarshal(dAtA []byte) error {
7870 l := len(dAtA)
7871 iNdEx := 0
7872 for iNdEx < l {
7873 preIndex := iNdEx
7874 var wire uint64
7875 for shift := uint(0); ; shift += 7 {
7876 if shift >= 64 {
7877 return ErrIntOverflowGenerated
7878 }
7879 if iNdEx >= l {
7880 return io.ErrUnexpectedEOF
7881 }
7882 b := dAtA[iNdEx]
7883 iNdEx++
7884 wire |= (uint64(b) & 0x7F) << shift
7885 if b < 0x80 {
7886 break
7887 }
7888 }
7889 fieldNum := int32(wire >> 3)
7890 wireType := int(wire & 0x7)
7891 if wireType == 4 {
7892 return fmt.Errorf("proto: IngressList: wiretype end group for non-group")
7893 }
7894 if fieldNum <= 0 {
7895 return fmt.Errorf("proto: IngressList: illegal tag %d (wire type %d)", fieldNum, wire)
7896 }
7897 switch fieldNum {
7898 case 1:
7899 if wireType != 2 {
7900 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
7901 }
7902 var msglen int
7903 for shift := uint(0); ; shift += 7 {
7904 if shift >= 64 {
7905 return ErrIntOverflowGenerated
7906 }
7907 if iNdEx >= l {
7908 return io.ErrUnexpectedEOF
7909 }
7910 b := dAtA[iNdEx]
7911 iNdEx++
7912 msglen |= (int(b) & 0x7F) << shift
7913 if b < 0x80 {
7914 break
7915 }
7916 }
7917 if msglen < 0 {
7918 return ErrInvalidLengthGenerated
7919 }
7920 postIndex := iNdEx + msglen
7921 if postIndex > l {
7922 return io.ErrUnexpectedEOF
7923 }
7924 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7925 return err
7926 }
7927 iNdEx = postIndex
7928 case 2:
7929 if wireType != 2 {
7930 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
7931 }
7932 var msglen int
7933 for shift := uint(0); ; shift += 7 {
7934 if shift >= 64 {
7935 return ErrIntOverflowGenerated
7936 }
7937 if iNdEx >= l {
7938 return io.ErrUnexpectedEOF
7939 }
7940 b := dAtA[iNdEx]
7941 iNdEx++
7942 msglen |= (int(b) & 0x7F) << shift
7943 if b < 0x80 {
7944 break
7945 }
7946 }
7947 if msglen < 0 {
7948 return ErrInvalidLengthGenerated
7949 }
7950 postIndex := iNdEx + msglen
7951 if postIndex > l {
7952 return io.ErrUnexpectedEOF
7953 }
7954 m.Items = append(m.Items, Ingress{})
7955 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7956 return err
7957 }
7958 iNdEx = postIndex
7959 default:
7960 iNdEx = preIndex
7961 skippy, err := skipGenerated(dAtA[iNdEx:])
7962 if err != nil {
7963 return err
7964 }
7965 if skippy < 0 {
7966 return ErrInvalidLengthGenerated
7967 }
7968 if (iNdEx + skippy) > l {
7969 return io.ErrUnexpectedEOF
7970 }
7971 iNdEx += skippy
7972 }
7973 }
7974
7975 if iNdEx > l {
7976 return io.ErrUnexpectedEOF
7977 }
7978 return nil
7979}
7980func (m *IngressRule) Unmarshal(dAtA []byte) error {
7981 l := len(dAtA)
7982 iNdEx := 0
7983 for iNdEx < l {
7984 preIndex := iNdEx
7985 var wire uint64
7986 for shift := uint(0); ; shift += 7 {
7987 if shift >= 64 {
7988 return ErrIntOverflowGenerated
7989 }
7990 if iNdEx >= l {
7991 return io.ErrUnexpectedEOF
7992 }
7993 b := dAtA[iNdEx]
7994 iNdEx++
7995 wire |= (uint64(b) & 0x7F) << shift
7996 if b < 0x80 {
7997 break
7998 }
7999 }
8000 fieldNum := int32(wire >> 3)
8001 wireType := int(wire & 0x7)
8002 if wireType == 4 {
8003 return fmt.Errorf("proto: IngressRule: wiretype end group for non-group")
8004 }
8005 if fieldNum <= 0 {
8006 return fmt.Errorf("proto: IngressRule: illegal tag %d (wire type %d)", fieldNum, wire)
8007 }
8008 switch fieldNum {
8009 case 1:
8010 if wireType != 2 {
8011 return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
8012 }
8013 var stringLen uint64
8014 for shift := uint(0); ; shift += 7 {
8015 if shift >= 64 {
8016 return ErrIntOverflowGenerated
8017 }
8018 if iNdEx >= l {
8019 return io.ErrUnexpectedEOF
8020 }
8021 b := dAtA[iNdEx]
8022 iNdEx++
8023 stringLen |= (uint64(b) & 0x7F) << shift
8024 if b < 0x80 {
8025 break
8026 }
8027 }
8028 intStringLen := int(stringLen)
8029 if intStringLen < 0 {
8030 return ErrInvalidLengthGenerated
8031 }
8032 postIndex := iNdEx + intStringLen
8033 if postIndex > l {
8034 return io.ErrUnexpectedEOF
8035 }
8036 m.Host = string(dAtA[iNdEx:postIndex])
8037 iNdEx = postIndex
8038 case 2:
8039 if wireType != 2 {
8040 return fmt.Errorf("proto: wrong wireType = %d for field IngressRuleValue", wireType)
8041 }
8042 var msglen int
8043 for shift := uint(0); ; shift += 7 {
8044 if shift >= 64 {
8045 return ErrIntOverflowGenerated
8046 }
8047 if iNdEx >= l {
8048 return io.ErrUnexpectedEOF
8049 }
8050 b := dAtA[iNdEx]
8051 iNdEx++
8052 msglen |= (int(b) & 0x7F) << shift
8053 if b < 0x80 {
8054 break
8055 }
8056 }
8057 if msglen < 0 {
8058 return ErrInvalidLengthGenerated
8059 }
8060 postIndex := iNdEx + msglen
8061 if postIndex > l {
8062 return io.ErrUnexpectedEOF
8063 }
8064 if err := m.IngressRuleValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8065 return err
8066 }
8067 iNdEx = postIndex
8068 default:
8069 iNdEx = preIndex
8070 skippy, err := skipGenerated(dAtA[iNdEx:])
8071 if err != nil {
8072 return err
8073 }
8074 if skippy < 0 {
8075 return ErrInvalidLengthGenerated
8076 }
8077 if (iNdEx + skippy) > l {
8078 return io.ErrUnexpectedEOF
8079 }
8080 iNdEx += skippy
8081 }
8082 }
8083
8084 if iNdEx > l {
8085 return io.ErrUnexpectedEOF
8086 }
8087 return nil
8088}
8089func (m *IngressRuleValue) Unmarshal(dAtA []byte) error {
8090 l := len(dAtA)
8091 iNdEx := 0
8092 for iNdEx < l {
8093 preIndex := iNdEx
8094 var wire uint64
8095 for shift := uint(0); ; shift += 7 {
8096 if shift >= 64 {
8097 return ErrIntOverflowGenerated
8098 }
8099 if iNdEx >= l {
8100 return io.ErrUnexpectedEOF
8101 }
8102 b := dAtA[iNdEx]
8103 iNdEx++
8104 wire |= (uint64(b) & 0x7F) << shift
8105 if b < 0x80 {
8106 break
8107 }
8108 }
8109 fieldNum := int32(wire >> 3)
8110 wireType := int(wire & 0x7)
8111 if wireType == 4 {
8112 return fmt.Errorf("proto: IngressRuleValue: wiretype end group for non-group")
8113 }
8114 if fieldNum <= 0 {
8115 return fmt.Errorf("proto: IngressRuleValue: illegal tag %d (wire type %d)", fieldNum, wire)
8116 }
8117 switch fieldNum {
8118 case 1:
8119 if wireType != 2 {
8120 return fmt.Errorf("proto: wrong wireType = %d for field HTTP", wireType)
8121 }
8122 var msglen int
8123 for shift := uint(0); ; shift += 7 {
8124 if shift >= 64 {
8125 return ErrIntOverflowGenerated
8126 }
8127 if iNdEx >= l {
8128 return io.ErrUnexpectedEOF
8129 }
8130 b := dAtA[iNdEx]
8131 iNdEx++
8132 msglen |= (int(b) & 0x7F) << shift
8133 if b < 0x80 {
8134 break
8135 }
8136 }
8137 if msglen < 0 {
8138 return ErrInvalidLengthGenerated
8139 }
8140 postIndex := iNdEx + msglen
8141 if postIndex > l {
8142 return io.ErrUnexpectedEOF
8143 }
8144 if m.HTTP == nil {
8145 m.HTTP = &HTTPIngressRuleValue{}
8146 }
8147 if err := m.HTTP.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8148 return err
8149 }
8150 iNdEx = postIndex
8151 default:
8152 iNdEx = preIndex
8153 skippy, err := skipGenerated(dAtA[iNdEx:])
8154 if err != nil {
8155 return err
8156 }
8157 if skippy < 0 {
8158 return ErrInvalidLengthGenerated
8159 }
8160 if (iNdEx + skippy) > l {
8161 return io.ErrUnexpectedEOF
8162 }
8163 iNdEx += skippy
8164 }
8165 }
8166
8167 if iNdEx > l {
8168 return io.ErrUnexpectedEOF
8169 }
8170 return nil
8171}
8172func (m *IngressSpec) Unmarshal(dAtA []byte) error {
8173 l := len(dAtA)
8174 iNdEx := 0
8175 for iNdEx < l {
8176 preIndex := iNdEx
8177 var wire uint64
8178 for shift := uint(0); ; shift += 7 {
8179 if shift >= 64 {
8180 return ErrIntOverflowGenerated
8181 }
8182 if iNdEx >= l {
8183 return io.ErrUnexpectedEOF
8184 }
8185 b := dAtA[iNdEx]
8186 iNdEx++
8187 wire |= (uint64(b) & 0x7F) << shift
8188 if b < 0x80 {
8189 break
8190 }
8191 }
8192 fieldNum := int32(wire >> 3)
8193 wireType := int(wire & 0x7)
8194 if wireType == 4 {
8195 return fmt.Errorf("proto: IngressSpec: wiretype end group for non-group")
8196 }
8197 if fieldNum <= 0 {
8198 return fmt.Errorf("proto: IngressSpec: illegal tag %d (wire type %d)", fieldNum, wire)
8199 }
8200 switch fieldNum {
8201 case 1:
8202 if wireType != 2 {
8203 return fmt.Errorf("proto: wrong wireType = %d for field Backend", wireType)
8204 }
8205 var msglen int
8206 for shift := uint(0); ; shift += 7 {
8207 if shift >= 64 {
8208 return ErrIntOverflowGenerated
8209 }
8210 if iNdEx >= l {
8211 return io.ErrUnexpectedEOF
8212 }
8213 b := dAtA[iNdEx]
8214 iNdEx++
8215 msglen |= (int(b) & 0x7F) << shift
8216 if b < 0x80 {
8217 break
8218 }
8219 }
8220 if msglen < 0 {
8221 return ErrInvalidLengthGenerated
8222 }
8223 postIndex := iNdEx + msglen
8224 if postIndex > l {
8225 return io.ErrUnexpectedEOF
8226 }
8227 if m.Backend == nil {
8228 m.Backend = &IngressBackend{}
8229 }
8230 if err := m.Backend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8231 return err
8232 }
8233 iNdEx = postIndex
8234 case 2:
8235 if wireType != 2 {
8236 return fmt.Errorf("proto: wrong wireType = %d for field TLS", wireType)
8237 }
8238 var msglen int
8239 for shift := uint(0); ; shift += 7 {
8240 if shift >= 64 {
8241 return ErrIntOverflowGenerated
8242 }
8243 if iNdEx >= l {
8244 return io.ErrUnexpectedEOF
8245 }
8246 b := dAtA[iNdEx]
8247 iNdEx++
8248 msglen |= (int(b) & 0x7F) << shift
8249 if b < 0x80 {
8250 break
8251 }
8252 }
8253 if msglen < 0 {
8254 return ErrInvalidLengthGenerated
8255 }
8256 postIndex := iNdEx + msglen
8257 if postIndex > l {
8258 return io.ErrUnexpectedEOF
8259 }
8260 m.TLS = append(m.TLS, IngressTLS{})
8261 if err := m.TLS[len(m.TLS)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8262 return err
8263 }
8264 iNdEx = postIndex
8265 case 3:
8266 if wireType != 2 {
8267 return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType)
8268 }
8269 var msglen int
8270 for shift := uint(0); ; shift += 7 {
8271 if shift >= 64 {
8272 return ErrIntOverflowGenerated
8273 }
8274 if iNdEx >= l {
8275 return io.ErrUnexpectedEOF
8276 }
8277 b := dAtA[iNdEx]
8278 iNdEx++
8279 msglen |= (int(b) & 0x7F) << shift
8280 if b < 0x80 {
8281 break
8282 }
8283 }
8284 if msglen < 0 {
8285 return ErrInvalidLengthGenerated
8286 }
8287 postIndex := iNdEx + msglen
8288 if postIndex > l {
8289 return io.ErrUnexpectedEOF
8290 }
8291 m.Rules = append(m.Rules, IngressRule{})
8292 if err := m.Rules[len(m.Rules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8293 return err
8294 }
8295 iNdEx = postIndex
8296 default:
8297 iNdEx = preIndex
8298 skippy, err := skipGenerated(dAtA[iNdEx:])
8299 if err != nil {
8300 return err
8301 }
8302 if skippy < 0 {
8303 return ErrInvalidLengthGenerated
8304 }
8305 if (iNdEx + skippy) > l {
8306 return io.ErrUnexpectedEOF
8307 }
8308 iNdEx += skippy
8309 }
8310 }
8311
8312 if iNdEx > l {
8313 return io.ErrUnexpectedEOF
8314 }
8315 return nil
8316}
8317func (m *IngressStatus) Unmarshal(dAtA []byte) error {
8318 l := len(dAtA)
8319 iNdEx := 0
8320 for iNdEx < l {
8321 preIndex := iNdEx
8322 var wire uint64
8323 for shift := uint(0); ; shift += 7 {
8324 if shift >= 64 {
8325 return ErrIntOverflowGenerated
8326 }
8327 if iNdEx >= l {
8328 return io.ErrUnexpectedEOF
8329 }
8330 b := dAtA[iNdEx]
8331 iNdEx++
8332 wire |= (uint64(b) & 0x7F) << shift
8333 if b < 0x80 {
8334 break
8335 }
8336 }
8337 fieldNum := int32(wire >> 3)
8338 wireType := int(wire & 0x7)
8339 if wireType == 4 {
8340 return fmt.Errorf("proto: IngressStatus: wiretype end group for non-group")
8341 }
8342 if fieldNum <= 0 {
8343 return fmt.Errorf("proto: IngressStatus: illegal tag %d (wire type %d)", fieldNum, wire)
8344 }
8345 switch fieldNum {
8346 case 1:
8347 if wireType != 2 {
8348 return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancer", wireType)
8349 }
8350 var msglen int
8351 for shift := uint(0); ; shift += 7 {
8352 if shift >= 64 {
8353 return ErrIntOverflowGenerated
8354 }
8355 if iNdEx >= l {
8356 return io.ErrUnexpectedEOF
8357 }
8358 b := dAtA[iNdEx]
8359 iNdEx++
8360 msglen |= (int(b) & 0x7F) << shift
8361 if b < 0x80 {
8362 break
8363 }
8364 }
8365 if msglen < 0 {
8366 return ErrInvalidLengthGenerated
8367 }
8368 postIndex := iNdEx + msglen
8369 if postIndex > l {
8370 return io.ErrUnexpectedEOF
8371 }
8372 if err := m.LoadBalancer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8373 return err
8374 }
8375 iNdEx = postIndex
8376 default:
8377 iNdEx = preIndex
8378 skippy, err := skipGenerated(dAtA[iNdEx:])
8379 if err != nil {
8380 return err
8381 }
8382 if skippy < 0 {
8383 return ErrInvalidLengthGenerated
8384 }
8385 if (iNdEx + skippy) > l {
8386 return io.ErrUnexpectedEOF
8387 }
8388 iNdEx += skippy
8389 }
8390 }
8391
8392 if iNdEx > l {
8393 return io.ErrUnexpectedEOF
8394 }
8395 return nil
8396}
8397func (m *IngressTLS) Unmarshal(dAtA []byte) error {
8398 l := len(dAtA)
8399 iNdEx := 0
8400 for iNdEx < l {
8401 preIndex := iNdEx
8402 var wire uint64
8403 for shift := uint(0); ; shift += 7 {
8404 if shift >= 64 {
8405 return ErrIntOverflowGenerated
8406 }
8407 if iNdEx >= l {
8408 return io.ErrUnexpectedEOF
8409 }
8410 b := dAtA[iNdEx]
8411 iNdEx++
8412 wire |= (uint64(b) & 0x7F) << shift
8413 if b < 0x80 {
8414 break
8415 }
8416 }
8417 fieldNum := int32(wire >> 3)
8418 wireType := int(wire & 0x7)
8419 if wireType == 4 {
8420 return fmt.Errorf("proto: IngressTLS: wiretype end group for non-group")
8421 }
8422 if fieldNum <= 0 {
8423 return fmt.Errorf("proto: IngressTLS: illegal tag %d (wire type %d)", fieldNum, wire)
8424 }
8425 switch fieldNum {
8426 case 1:
8427 if wireType != 2 {
8428 return fmt.Errorf("proto: wrong wireType = %d for field Hosts", wireType)
8429 }
8430 var stringLen uint64
8431 for shift := uint(0); ; shift += 7 {
8432 if shift >= 64 {
8433 return ErrIntOverflowGenerated
8434 }
8435 if iNdEx >= l {
8436 return io.ErrUnexpectedEOF
8437 }
8438 b := dAtA[iNdEx]
8439 iNdEx++
8440 stringLen |= (uint64(b) & 0x7F) << shift
8441 if b < 0x80 {
8442 break
8443 }
8444 }
8445 intStringLen := int(stringLen)
8446 if intStringLen < 0 {
8447 return ErrInvalidLengthGenerated
8448 }
8449 postIndex := iNdEx + intStringLen
8450 if postIndex > l {
8451 return io.ErrUnexpectedEOF
8452 }
8453 m.Hosts = append(m.Hosts, string(dAtA[iNdEx:postIndex]))
8454 iNdEx = postIndex
8455 case 2:
8456 if wireType != 2 {
8457 return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType)
8458 }
8459 var stringLen uint64
8460 for shift := uint(0); ; shift += 7 {
8461 if shift >= 64 {
8462 return ErrIntOverflowGenerated
8463 }
8464 if iNdEx >= l {
8465 return io.ErrUnexpectedEOF
8466 }
8467 b := dAtA[iNdEx]
8468 iNdEx++
8469 stringLen |= (uint64(b) & 0x7F) << shift
8470 if b < 0x80 {
8471 break
8472 }
8473 }
8474 intStringLen := int(stringLen)
8475 if intStringLen < 0 {
8476 return ErrInvalidLengthGenerated
8477 }
8478 postIndex := iNdEx + intStringLen
8479 if postIndex > l {
8480 return io.ErrUnexpectedEOF
8481 }
8482 m.SecretName = string(dAtA[iNdEx:postIndex])
8483 iNdEx = postIndex
8484 default:
8485 iNdEx = preIndex
8486 skippy, err := skipGenerated(dAtA[iNdEx:])
8487 if err != nil {
8488 return err
8489 }
8490 if skippy < 0 {
8491 return ErrInvalidLengthGenerated
8492 }
8493 if (iNdEx + skippy) > l {
8494 return io.ErrUnexpectedEOF
8495 }
8496 iNdEx += skippy
8497 }
8498 }
8499
8500 if iNdEx > l {
8501 return io.ErrUnexpectedEOF
8502 }
8503 return nil
8504}
8505func (m *NetworkPolicy) Unmarshal(dAtA []byte) error {
8506 l := len(dAtA)
8507 iNdEx := 0
8508 for iNdEx < l {
8509 preIndex := iNdEx
8510 var wire uint64
8511 for shift := uint(0); ; shift += 7 {
8512 if shift >= 64 {
8513 return ErrIntOverflowGenerated
8514 }
8515 if iNdEx >= l {
8516 return io.ErrUnexpectedEOF
8517 }
8518 b := dAtA[iNdEx]
8519 iNdEx++
8520 wire |= (uint64(b) & 0x7F) << shift
8521 if b < 0x80 {
8522 break
8523 }
8524 }
8525 fieldNum := int32(wire >> 3)
8526 wireType := int(wire & 0x7)
8527 if wireType == 4 {
8528 return fmt.Errorf("proto: NetworkPolicy: wiretype end group for non-group")
8529 }
8530 if fieldNum <= 0 {
8531 return fmt.Errorf("proto: NetworkPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
8532 }
8533 switch fieldNum {
8534 case 1:
8535 if wireType != 2 {
8536 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
8537 }
8538 var msglen int
8539 for shift := uint(0); ; shift += 7 {
8540 if shift >= 64 {
8541 return ErrIntOverflowGenerated
8542 }
8543 if iNdEx >= l {
8544 return io.ErrUnexpectedEOF
8545 }
8546 b := dAtA[iNdEx]
8547 iNdEx++
8548 msglen |= (int(b) & 0x7F) << shift
8549 if b < 0x80 {
8550 break
8551 }
8552 }
8553 if msglen < 0 {
8554 return ErrInvalidLengthGenerated
8555 }
8556 postIndex := iNdEx + msglen
8557 if postIndex > l {
8558 return io.ErrUnexpectedEOF
8559 }
8560 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8561 return err
8562 }
8563 iNdEx = postIndex
8564 case 2:
8565 if wireType != 2 {
8566 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
8567 }
8568 var msglen int
8569 for shift := uint(0); ; shift += 7 {
8570 if shift >= 64 {
8571 return ErrIntOverflowGenerated
8572 }
8573 if iNdEx >= l {
8574 return io.ErrUnexpectedEOF
8575 }
8576 b := dAtA[iNdEx]
8577 iNdEx++
8578 msglen |= (int(b) & 0x7F) << shift
8579 if b < 0x80 {
8580 break
8581 }
8582 }
8583 if msglen < 0 {
8584 return ErrInvalidLengthGenerated
8585 }
8586 postIndex := iNdEx + msglen
8587 if postIndex > l {
8588 return io.ErrUnexpectedEOF
8589 }
8590 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8591 return err
8592 }
8593 iNdEx = postIndex
8594 default:
8595 iNdEx = preIndex
8596 skippy, err := skipGenerated(dAtA[iNdEx:])
8597 if err != nil {
8598 return err
8599 }
8600 if skippy < 0 {
8601 return ErrInvalidLengthGenerated
8602 }
8603 if (iNdEx + skippy) > l {
8604 return io.ErrUnexpectedEOF
8605 }
8606 iNdEx += skippy
8607 }
8608 }
8609
8610 if iNdEx > l {
8611 return io.ErrUnexpectedEOF
8612 }
8613 return nil
8614}
8615func (m *NetworkPolicyEgressRule) Unmarshal(dAtA []byte) error {
8616 l := len(dAtA)
8617 iNdEx := 0
8618 for iNdEx < l {
8619 preIndex := iNdEx
8620 var wire uint64
8621 for shift := uint(0); ; shift += 7 {
8622 if shift >= 64 {
8623 return ErrIntOverflowGenerated
8624 }
8625 if iNdEx >= l {
8626 return io.ErrUnexpectedEOF
8627 }
8628 b := dAtA[iNdEx]
8629 iNdEx++
8630 wire |= (uint64(b) & 0x7F) << shift
8631 if b < 0x80 {
8632 break
8633 }
8634 }
8635 fieldNum := int32(wire >> 3)
8636 wireType := int(wire & 0x7)
8637 if wireType == 4 {
8638 return fmt.Errorf("proto: NetworkPolicyEgressRule: wiretype end group for non-group")
8639 }
8640 if fieldNum <= 0 {
8641 return fmt.Errorf("proto: NetworkPolicyEgressRule: illegal tag %d (wire type %d)", fieldNum, wire)
8642 }
8643 switch fieldNum {
8644 case 1:
8645 if wireType != 2 {
8646 return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
8647 }
8648 var msglen int
8649 for shift := uint(0); ; shift += 7 {
8650 if shift >= 64 {
8651 return ErrIntOverflowGenerated
8652 }
8653 if iNdEx >= l {
8654 return io.ErrUnexpectedEOF
8655 }
8656 b := dAtA[iNdEx]
8657 iNdEx++
8658 msglen |= (int(b) & 0x7F) << shift
8659 if b < 0x80 {
8660 break
8661 }
8662 }
8663 if msglen < 0 {
8664 return ErrInvalidLengthGenerated
8665 }
8666 postIndex := iNdEx + msglen
8667 if postIndex > l {
8668 return io.ErrUnexpectedEOF
8669 }
8670 m.Ports = append(m.Ports, NetworkPolicyPort{})
8671 if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8672 return err
8673 }
8674 iNdEx = postIndex
8675 case 2:
8676 if wireType != 2 {
8677 return fmt.Errorf("proto: wrong wireType = %d for field To", wireType)
8678 }
8679 var msglen int
8680 for shift := uint(0); ; shift += 7 {
8681 if shift >= 64 {
8682 return ErrIntOverflowGenerated
8683 }
8684 if iNdEx >= l {
8685 return io.ErrUnexpectedEOF
8686 }
8687 b := dAtA[iNdEx]
8688 iNdEx++
8689 msglen |= (int(b) & 0x7F) << shift
8690 if b < 0x80 {
8691 break
8692 }
8693 }
8694 if msglen < 0 {
8695 return ErrInvalidLengthGenerated
8696 }
8697 postIndex := iNdEx + msglen
8698 if postIndex > l {
8699 return io.ErrUnexpectedEOF
8700 }
8701 m.To = append(m.To, NetworkPolicyPeer{})
8702 if err := m.To[len(m.To)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8703 return err
8704 }
8705 iNdEx = postIndex
8706 default:
8707 iNdEx = preIndex
8708 skippy, err := skipGenerated(dAtA[iNdEx:])
8709 if err != nil {
8710 return err
8711 }
8712 if skippy < 0 {
8713 return ErrInvalidLengthGenerated
8714 }
8715 if (iNdEx + skippy) > l {
8716 return io.ErrUnexpectedEOF
8717 }
8718 iNdEx += skippy
8719 }
8720 }
8721
8722 if iNdEx > l {
8723 return io.ErrUnexpectedEOF
8724 }
8725 return nil
8726}
8727func (m *NetworkPolicyIngressRule) Unmarshal(dAtA []byte) error {
8728 l := len(dAtA)
8729 iNdEx := 0
8730 for iNdEx < l {
8731 preIndex := iNdEx
8732 var wire uint64
8733 for shift := uint(0); ; shift += 7 {
8734 if shift >= 64 {
8735 return ErrIntOverflowGenerated
8736 }
8737 if iNdEx >= l {
8738 return io.ErrUnexpectedEOF
8739 }
8740 b := dAtA[iNdEx]
8741 iNdEx++
8742 wire |= (uint64(b) & 0x7F) << shift
8743 if b < 0x80 {
8744 break
8745 }
8746 }
8747 fieldNum := int32(wire >> 3)
8748 wireType := int(wire & 0x7)
8749 if wireType == 4 {
8750 return fmt.Errorf("proto: NetworkPolicyIngressRule: wiretype end group for non-group")
8751 }
8752 if fieldNum <= 0 {
8753 return fmt.Errorf("proto: NetworkPolicyIngressRule: illegal tag %d (wire type %d)", fieldNum, wire)
8754 }
8755 switch fieldNum {
8756 case 1:
8757 if wireType != 2 {
8758 return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
8759 }
8760 var msglen int
8761 for shift := uint(0); ; shift += 7 {
8762 if shift >= 64 {
8763 return ErrIntOverflowGenerated
8764 }
8765 if iNdEx >= l {
8766 return io.ErrUnexpectedEOF
8767 }
8768 b := dAtA[iNdEx]
8769 iNdEx++
8770 msglen |= (int(b) & 0x7F) << shift
8771 if b < 0x80 {
8772 break
8773 }
8774 }
8775 if msglen < 0 {
8776 return ErrInvalidLengthGenerated
8777 }
8778 postIndex := iNdEx + msglen
8779 if postIndex > l {
8780 return io.ErrUnexpectedEOF
8781 }
8782 m.Ports = append(m.Ports, NetworkPolicyPort{})
8783 if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8784 return err
8785 }
8786 iNdEx = postIndex
8787 case 2:
8788 if wireType != 2 {
8789 return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
8790 }
8791 var msglen int
8792 for shift := uint(0); ; shift += 7 {
8793 if shift >= 64 {
8794 return ErrIntOverflowGenerated
8795 }
8796 if iNdEx >= l {
8797 return io.ErrUnexpectedEOF
8798 }
8799 b := dAtA[iNdEx]
8800 iNdEx++
8801 msglen |= (int(b) & 0x7F) << shift
8802 if b < 0x80 {
8803 break
8804 }
8805 }
8806 if msglen < 0 {
8807 return ErrInvalidLengthGenerated
8808 }
8809 postIndex := iNdEx + msglen
8810 if postIndex > l {
8811 return io.ErrUnexpectedEOF
8812 }
8813 m.From = append(m.From, NetworkPolicyPeer{})
8814 if err := m.From[len(m.From)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8815 return err
8816 }
8817 iNdEx = postIndex
8818 default:
8819 iNdEx = preIndex
8820 skippy, err := skipGenerated(dAtA[iNdEx:])
8821 if err != nil {
8822 return err
8823 }
8824 if skippy < 0 {
8825 return ErrInvalidLengthGenerated
8826 }
8827 if (iNdEx + skippy) > l {
8828 return io.ErrUnexpectedEOF
8829 }
8830 iNdEx += skippy
8831 }
8832 }
8833
8834 if iNdEx > l {
8835 return io.ErrUnexpectedEOF
8836 }
8837 return nil
8838}
8839func (m *NetworkPolicyList) Unmarshal(dAtA []byte) error {
8840 l := len(dAtA)
8841 iNdEx := 0
8842 for iNdEx < l {
8843 preIndex := iNdEx
8844 var wire uint64
8845 for shift := uint(0); ; shift += 7 {
8846 if shift >= 64 {
8847 return ErrIntOverflowGenerated
8848 }
8849 if iNdEx >= l {
8850 return io.ErrUnexpectedEOF
8851 }
8852 b := dAtA[iNdEx]
8853 iNdEx++
8854 wire |= (uint64(b) & 0x7F) << shift
8855 if b < 0x80 {
8856 break
8857 }
8858 }
8859 fieldNum := int32(wire >> 3)
8860 wireType := int(wire & 0x7)
8861 if wireType == 4 {
8862 return fmt.Errorf("proto: NetworkPolicyList: wiretype end group for non-group")
8863 }
8864 if fieldNum <= 0 {
8865 return fmt.Errorf("proto: NetworkPolicyList: illegal tag %d (wire type %d)", fieldNum, wire)
8866 }
8867 switch fieldNum {
8868 case 1:
8869 if wireType != 2 {
8870 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
8871 }
8872 var msglen int
8873 for shift := uint(0); ; shift += 7 {
8874 if shift >= 64 {
8875 return ErrIntOverflowGenerated
8876 }
8877 if iNdEx >= l {
8878 return io.ErrUnexpectedEOF
8879 }
8880 b := dAtA[iNdEx]
8881 iNdEx++
8882 msglen |= (int(b) & 0x7F) << shift
8883 if b < 0x80 {
8884 break
8885 }
8886 }
8887 if msglen < 0 {
8888 return ErrInvalidLengthGenerated
8889 }
8890 postIndex := iNdEx + msglen
8891 if postIndex > l {
8892 return io.ErrUnexpectedEOF
8893 }
8894 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8895 return err
8896 }
8897 iNdEx = postIndex
8898 case 2:
8899 if wireType != 2 {
8900 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
8901 }
8902 var msglen int
8903 for shift := uint(0); ; shift += 7 {
8904 if shift >= 64 {
8905 return ErrIntOverflowGenerated
8906 }
8907 if iNdEx >= l {
8908 return io.ErrUnexpectedEOF
8909 }
8910 b := dAtA[iNdEx]
8911 iNdEx++
8912 msglen |= (int(b) & 0x7F) << shift
8913 if b < 0x80 {
8914 break
8915 }
8916 }
8917 if msglen < 0 {
8918 return ErrInvalidLengthGenerated
8919 }
8920 postIndex := iNdEx + msglen
8921 if postIndex > l {
8922 return io.ErrUnexpectedEOF
8923 }
8924 m.Items = append(m.Items, NetworkPolicy{})
8925 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8926 return err
8927 }
8928 iNdEx = postIndex
8929 default:
8930 iNdEx = preIndex
8931 skippy, err := skipGenerated(dAtA[iNdEx:])
8932 if err != nil {
8933 return err
8934 }
8935 if skippy < 0 {
8936 return ErrInvalidLengthGenerated
8937 }
8938 if (iNdEx + skippy) > l {
8939 return io.ErrUnexpectedEOF
8940 }
8941 iNdEx += skippy
8942 }
8943 }
8944
8945 if iNdEx > l {
8946 return io.ErrUnexpectedEOF
8947 }
8948 return nil
8949}
8950func (m *NetworkPolicyPeer) Unmarshal(dAtA []byte) error {
8951 l := len(dAtA)
8952 iNdEx := 0
8953 for iNdEx < l {
8954 preIndex := iNdEx
8955 var wire uint64
8956 for shift := uint(0); ; shift += 7 {
8957 if shift >= 64 {
8958 return ErrIntOverflowGenerated
8959 }
8960 if iNdEx >= l {
8961 return io.ErrUnexpectedEOF
8962 }
8963 b := dAtA[iNdEx]
8964 iNdEx++
8965 wire |= (uint64(b) & 0x7F) << shift
8966 if b < 0x80 {
8967 break
8968 }
8969 }
8970 fieldNum := int32(wire >> 3)
8971 wireType := int(wire & 0x7)
8972 if wireType == 4 {
8973 return fmt.Errorf("proto: NetworkPolicyPeer: wiretype end group for non-group")
8974 }
8975 if fieldNum <= 0 {
8976 return fmt.Errorf("proto: NetworkPolicyPeer: illegal tag %d (wire type %d)", fieldNum, wire)
8977 }
8978 switch fieldNum {
8979 case 1:
8980 if wireType != 2 {
8981 return fmt.Errorf("proto: wrong wireType = %d for field PodSelector", wireType)
8982 }
8983 var msglen int
8984 for shift := uint(0); ; shift += 7 {
8985 if shift >= 64 {
8986 return ErrIntOverflowGenerated
8987 }
8988 if iNdEx >= l {
8989 return io.ErrUnexpectedEOF
8990 }
8991 b := dAtA[iNdEx]
8992 iNdEx++
8993 msglen |= (int(b) & 0x7F) << shift
8994 if b < 0x80 {
8995 break
8996 }
8997 }
8998 if msglen < 0 {
8999 return ErrInvalidLengthGenerated
9000 }
9001 postIndex := iNdEx + msglen
9002 if postIndex > l {
9003 return io.ErrUnexpectedEOF
9004 }
9005 if m.PodSelector == nil {
9006 m.PodSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
9007 }
9008 if err := m.PodSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9009 return err
9010 }
9011 iNdEx = postIndex
9012 case 2:
9013 if wireType != 2 {
9014 return fmt.Errorf("proto: wrong wireType = %d for field NamespaceSelector", wireType)
9015 }
9016 var msglen int
9017 for shift := uint(0); ; shift += 7 {
9018 if shift >= 64 {
9019 return ErrIntOverflowGenerated
9020 }
9021 if iNdEx >= l {
9022 return io.ErrUnexpectedEOF
9023 }
9024 b := dAtA[iNdEx]
9025 iNdEx++
9026 msglen |= (int(b) & 0x7F) << shift
9027 if b < 0x80 {
9028 break
9029 }
9030 }
9031 if msglen < 0 {
9032 return ErrInvalidLengthGenerated
9033 }
9034 postIndex := iNdEx + msglen
9035 if postIndex > l {
9036 return io.ErrUnexpectedEOF
9037 }
9038 if m.NamespaceSelector == nil {
9039 m.NamespaceSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
9040 }
9041 if err := m.NamespaceSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9042 return err
9043 }
9044 iNdEx = postIndex
9045 case 3:
9046 if wireType != 2 {
9047 return fmt.Errorf("proto: wrong wireType = %d for field IPBlock", wireType)
9048 }
9049 var msglen int
9050 for shift := uint(0); ; shift += 7 {
9051 if shift >= 64 {
9052 return ErrIntOverflowGenerated
9053 }
9054 if iNdEx >= l {
9055 return io.ErrUnexpectedEOF
9056 }
9057 b := dAtA[iNdEx]
9058 iNdEx++
9059 msglen |= (int(b) & 0x7F) << shift
9060 if b < 0x80 {
9061 break
9062 }
9063 }
9064 if msglen < 0 {
9065 return ErrInvalidLengthGenerated
9066 }
9067 postIndex := iNdEx + msglen
9068 if postIndex > l {
9069 return io.ErrUnexpectedEOF
9070 }
9071 if m.IPBlock == nil {
9072 m.IPBlock = &IPBlock{}
9073 }
9074 if err := m.IPBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9075 return err
9076 }
9077 iNdEx = postIndex
9078 default:
9079 iNdEx = preIndex
9080 skippy, err := skipGenerated(dAtA[iNdEx:])
9081 if err != nil {
9082 return err
9083 }
9084 if skippy < 0 {
9085 return ErrInvalidLengthGenerated
9086 }
9087 if (iNdEx + skippy) > l {
9088 return io.ErrUnexpectedEOF
9089 }
9090 iNdEx += skippy
9091 }
9092 }
9093
9094 if iNdEx > l {
9095 return io.ErrUnexpectedEOF
9096 }
9097 return nil
9098}
9099func (m *NetworkPolicyPort) Unmarshal(dAtA []byte) error {
9100 l := len(dAtA)
9101 iNdEx := 0
9102 for iNdEx < l {
9103 preIndex := iNdEx
9104 var wire uint64
9105 for shift := uint(0); ; shift += 7 {
9106 if shift >= 64 {
9107 return ErrIntOverflowGenerated
9108 }
9109 if iNdEx >= l {
9110 return io.ErrUnexpectedEOF
9111 }
9112 b := dAtA[iNdEx]
9113 iNdEx++
9114 wire |= (uint64(b) & 0x7F) << shift
9115 if b < 0x80 {
9116 break
9117 }
9118 }
9119 fieldNum := int32(wire >> 3)
9120 wireType := int(wire & 0x7)
9121 if wireType == 4 {
9122 return fmt.Errorf("proto: NetworkPolicyPort: wiretype end group for non-group")
9123 }
9124 if fieldNum <= 0 {
9125 return fmt.Errorf("proto: NetworkPolicyPort: illegal tag %d (wire type %d)", fieldNum, wire)
9126 }
9127 switch fieldNum {
9128 case 1:
9129 if wireType != 2 {
9130 return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
9131 }
9132 var stringLen uint64
9133 for shift := uint(0); ; shift += 7 {
9134 if shift >= 64 {
9135 return ErrIntOverflowGenerated
9136 }
9137 if iNdEx >= l {
9138 return io.ErrUnexpectedEOF
9139 }
9140 b := dAtA[iNdEx]
9141 iNdEx++
9142 stringLen |= (uint64(b) & 0x7F) << shift
9143 if b < 0x80 {
9144 break
9145 }
9146 }
9147 intStringLen := int(stringLen)
9148 if intStringLen < 0 {
9149 return ErrInvalidLengthGenerated
9150 }
9151 postIndex := iNdEx + intStringLen
9152 if postIndex > l {
9153 return io.ErrUnexpectedEOF
9154 }
9155 s := k8s_io_api_core_v1.Protocol(dAtA[iNdEx:postIndex])
9156 m.Protocol = &s
9157 iNdEx = postIndex
9158 case 2:
9159 if wireType != 2 {
9160 return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
9161 }
9162 var msglen int
9163 for shift := uint(0); ; shift += 7 {
9164 if shift >= 64 {
9165 return ErrIntOverflowGenerated
9166 }
9167 if iNdEx >= l {
9168 return io.ErrUnexpectedEOF
9169 }
9170 b := dAtA[iNdEx]
9171 iNdEx++
9172 msglen |= (int(b) & 0x7F) << shift
9173 if b < 0x80 {
9174 break
9175 }
9176 }
9177 if msglen < 0 {
9178 return ErrInvalidLengthGenerated
9179 }
9180 postIndex := iNdEx + msglen
9181 if postIndex > l {
9182 return io.ErrUnexpectedEOF
9183 }
9184 if m.Port == nil {
9185 m.Port = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
9186 }
9187 if err := m.Port.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9188 return err
9189 }
9190 iNdEx = postIndex
9191 default:
9192 iNdEx = preIndex
9193 skippy, err := skipGenerated(dAtA[iNdEx:])
9194 if err != nil {
9195 return err
9196 }
9197 if skippy < 0 {
9198 return ErrInvalidLengthGenerated
9199 }
9200 if (iNdEx + skippy) > l {
9201 return io.ErrUnexpectedEOF
9202 }
9203 iNdEx += skippy
9204 }
9205 }
9206
9207 if iNdEx > l {
9208 return io.ErrUnexpectedEOF
9209 }
9210 return nil
9211}
9212func (m *NetworkPolicySpec) Unmarshal(dAtA []byte) error {
9213 l := len(dAtA)
9214 iNdEx := 0
9215 for iNdEx < l {
9216 preIndex := iNdEx
9217 var wire uint64
9218 for shift := uint(0); ; shift += 7 {
9219 if shift >= 64 {
9220 return ErrIntOverflowGenerated
9221 }
9222 if iNdEx >= l {
9223 return io.ErrUnexpectedEOF
9224 }
9225 b := dAtA[iNdEx]
9226 iNdEx++
9227 wire |= (uint64(b) & 0x7F) << shift
9228 if b < 0x80 {
9229 break
9230 }
9231 }
9232 fieldNum := int32(wire >> 3)
9233 wireType := int(wire & 0x7)
9234 if wireType == 4 {
9235 return fmt.Errorf("proto: NetworkPolicySpec: wiretype end group for non-group")
9236 }
9237 if fieldNum <= 0 {
9238 return fmt.Errorf("proto: NetworkPolicySpec: illegal tag %d (wire type %d)", fieldNum, wire)
9239 }
9240 switch fieldNum {
9241 case 1:
9242 if wireType != 2 {
9243 return fmt.Errorf("proto: wrong wireType = %d for field PodSelector", wireType)
9244 }
9245 var msglen int
9246 for shift := uint(0); ; shift += 7 {
9247 if shift >= 64 {
9248 return ErrIntOverflowGenerated
9249 }
9250 if iNdEx >= l {
9251 return io.ErrUnexpectedEOF
9252 }
9253 b := dAtA[iNdEx]
9254 iNdEx++
9255 msglen |= (int(b) & 0x7F) << shift
9256 if b < 0x80 {
9257 break
9258 }
9259 }
9260 if msglen < 0 {
9261 return ErrInvalidLengthGenerated
9262 }
9263 postIndex := iNdEx + msglen
9264 if postIndex > l {
9265 return io.ErrUnexpectedEOF
9266 }
9267 if err := m.PodSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9268 return err
9269 }
9270 iNdEx = postIndex
9271 case 2:
9272 if wireType != 2 {
9273 return fmt.Errorf("proto: wrong wireType = %d for field Ingress", wireType)
9274 }
9275 var msglen int
9276 for shift := uint(0); ; shift += 7 {
9277 if shift >= 64 {
9278 return ErrIntOverflowGenerated
9279 }
9280 if iNdEx >= l {
9281 return io.ErrUnexpectedEOF
9282 }
9283 b := dAtA[iNdEx]
9284 iNdEx++
9285 msglen |= (int(b) & 0x7F) << shift
9286 if b < 0x80 {
9287 break
9288 }
9289 }
9290 if msglen < 0 {
9291 return ErrInvalidLengthGenerated
9292 }
9293 postIndex := iNdEx + msglen
9294 if postIndex > l {
9295 return io.ErrUnexpectedEOF
9296 }
9297 m.Ingress = append(m.Ingress, NetworkPolicyIngressRule{})
9298 if err := m.Ingress[len(m.Ingress)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9299 return err
9300 }
9301 iNdEx = postIndex
9302 case 3:
9303 if wireType != 2 {
9304 return fmt.Errorf("proto: wrong wireType = %d for field Egress", wireType)
9305 }
9306 var msglen int
9307 for shift := uint(0); ; shift += 7 {
9308 if shift >= 64 {
9309 return ErrIntOverflowGenerated
9310 }
9311 if iNdEx >= l {
9312 return io.ErrUnexpectedEOF
9313 }
9314 b := dAtA[iNdEx]
9315 iNdEx++
9316 msglen |= (int(b) & 0x7F) << shift
9317 if b < 0x80 {
9318 break
9319 }
9320 }
9321 if msglen < 0 {
9322 return ErrInvalidLengthGenerated
9323 }
9324 postIndex := iNdEx + msglen
9325 if postIndex > l {
9326 return io.ErrUnexpectedEOF
9327 }
9328 m.Egress = append(m.Egress, NetworkPolicyEgressRule{})
9329 if err := m.Egress[len(m.Egress)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9330 return err
9331 }
9332 iNdEx = postIndex
9333 case 4:
9334 if wireType != 2 {
9335 return fmt.Errorf("proto: wrong wireType = %d for field PolicyTypes", wireType)
9336 }
9337 var stringLen uint64
9338 for shift := uint(0); ; shift += 7 {
9339 if shift >= 64 {
9340 return ErrIntOverflowGenerated
9341 }
9342 if iNdEx >= l {
9343 return io.ErrUnexpectedEOF
9344 }
9345 b := dAtA[iNdEx]
9346 iNdEx++
9347 stringLen |= (uint64(b) & 0x7F) << shift
9348 if b < 0x80 {
9349 break
9350 }
9351 }
9352 intStringLen := int(stringLen)
9353 if intStringLen < 0 {
9354 return ErrInvalidLengthGenerated
9355 }
9356 postIndex := iNdEx + intStringLen
9357 if postIndex > l {
9358 return io.ErrUnexpectedEOF
9359 }
9360 m.PolicyTypes = append(m.PolicyTypes, PolicyType(dAtA[iNdEx:postIndex]))
9361 iNdEx = postIndex
9362 default:
9363 iNdEx = preIndex
9364 skippy, err := skipGenerated(dAtA[iNdEx:])
9365 if err != nil {
9366 return err
9367 }
9368 if skippy < 0 {
9369 return ErrInvalidLengthGenerated
9370 }
9371 if (iNdEx + skippy) > l {
9372 return io.ErrUnexpectedEOF
9373 }
9374 iNdEx += skippy
9375 }
9376 }
9377
9378 if iNdEx > l {
9379 return io.ErrUnexpectedEOF
9380 }
9381 return nil
9382}
9383func (m *PodSecurityPolicy) Unmarshal(dAtA []byte) error {
9384 l := len(dAtA)
9385 iNdEx := 0
9386 for iNdEx < l {
9387 preIndex := iNdEx
9388 var wire uint64
9389 for shift := uint(0); ; shift += 7 {
9390 if shift >= 64 {
9391 return ErrIntOverflowGenerated
9392 }
9393 if iNdEx >= l {
9394 return io.ErrUnexpectedEOF
9395 }
9396 b := dAtA[iNdEx]
9397 iNdEx++
9398 wire |= (uint64(b) & 0x7F) << shift
9399 if b < 0x80 {
9400 break
9401 }
9402 }
9403 fieldNum := int32(wire >> 3)
9404 wireType := int(wire & 0x7)
9405 if wireType == 4 {
9406 return fmt.Errorf("proto: PodSecurityPolicy: wiretype end group for non-group")
9407 }
9408 if fieldNum <= 0 {
9409 return fmt.Errorf("proto: PodSecurityPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
9410 }
9411 switch fieldNum {
9412 case 1:
9413 if wireType != 2 {
9414 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
9415 }
9416 var msglen int
9417 for shift := uint(0); ; shift += 7 {
9418 if shift >= 64 {
9419 return ErrIntOverflowGenerated
9420 }
9421 if iNdEx >= l {
9422 return io.ErrUnexpectedEOF
9423 }
9424 b := dAtA[iNdEx]
9425 iNdEx++
9426 msglen |= (int(b) & 0x7F) << shift
9427 if b < 0x80 {
9428 break
9429 }
9430 }
9431 if msglen < 0 {
9432 return ErrInvalidLengthGenerated
9433 }
9434 postIndex := iNdEx + msglen
9435 if postIndex > l {
9436 return io.ErrUnexpectedEOF
9437 }
9438 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9439 return err
9440 }
9441 iNdEx = postIndex
9442 case 2:
9443 if wireType != 2 {
9444 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
9445 }
9446 var msglen int
9447 for shift := uint(0); ; shift += 7 {
9448 if shift >= 64 {
9449 return ErrIntOverflowGenerated
9450 }
9451 if iNdEx >= l {
9452 return io.ErrUnexpectedEOF
9453 }
9454 b := dAtA[iNdEx]
9455 iNdEx++
9456 msglen |= (int(b) & 0x7F) << shift
9457 if b < 0x80 {
9458 break
9459 }
9460 }
9461 if msglen < 0 {
9462 return ErrInvalidLengthGenerated
9463 }
9464 postIndex := iNdEx + msglen
9465 if postIndex > l {
9466 return io.ErrUnexpectedEOF
9467 }
9468 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9469 return err
9470 }
9471 iNdEx = postIndex
9472 default:
9473 iNdEx = preIndex
9474 skippy, err := skipGenerated(dAtA[iNdEx:])
9475 if err != nil {
9476 return err
9477 }
9478 if skippy < 0 {
9479 return ErrInvalidLengthGenerated
9480 }
9481 if (iNdEx + skippy) > l {
9482 return io.ErrUnexpectedEOF
9483 }
9484 iNdEx += skippy
9485 }
9486 }
9487
9488 if iNdEx > l {
9489 return io.ErrUnexpectedEOF
9490 }
9491 return nil
9492}
9493func (m *PodSecurityPolicyList) Unmarshal(dAtA []byte) error {
9494 l := len(dAtA)
9495 iNdEx := 0
9496 for iNdEx < l {
9497 preIndex := iNdEx
9498 var wire uint64
9499 for shift := uint(0); ; shift += 7 {
9500 if shift >= 64 {
9501 return ErrIntOverflowGenerated
9502 }
9503 if iNdEx >= l {
9504 return io.ErrUnexpectedEOF
9505 }
9506 b := dAtA[iNdEx]
9507 iNdEx++
9508 wire |= (uint64(b) & 0x7F) << shift
9509 if b < 0x80 {
9510 break
9511 }
9512 }
9513 fieldNum := int32(wire >> 3)
9514 wireType := int(wire & 0x7)
9515 if wireType == 4 {
9516 return fmt.Errorf("proto: PodSecurityPolicyList: wiretype end group for non-group")
9517 }
9518 if fieldNum <= 0 {
9519 return fmt.Errorf("proto: PodSecurityPolicyList: illegal tag %d (wire type %d)", fieldNum, wire)
9520 }
9521 switch fieldNum {
9522 case 1:
9523 if wireType != 2 {
9524 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
9525 }
9526 var msglen int
9527 for shift := uint(0); ; shift += 7 {
9528 if shift >= 64 {
9529 return ErrIntOverflowGenerated
9530 }
9531 if iNdEx >= l {
9532 return io.ErrUnexpectedEOF
9533 }
9534 b := dAtA[iNdEx]
9535 iNdEx++
9536 msglen |= (int(b) & 0x7F) << shift
9537 if b < 0x80 {
9538 break
9539 }
9540 }
9541 if msglen < 0 {
9542 return ErrInvalidLengthGenerated
9543 }
9544 postIndex := iNdEx + msglen
9545 if postIndex > l {
9546 return io.ErrUnexpectedEOF
9547 }
9548 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9549 return err
9550 }
9551 iNdEx = postIndex
9552 case 2:
9553 if wireType != 2 {
9554 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
9555 }
9556 var msglen int
9557 for shift := uint(0); ; shift += 7 {
9558 if shift >= 64 {
9559 return ErrIntOverflowGenerated
9560 }
9561 if iNdEx >= l {
9562 return io.ErrUnexpectedEOF
9563 }
9564 b := dAtA[iNdEx]
9565 iNdEx++
9566 msglen |= (int(b) & 0x7F) << shift
9567 if b < 0x80 {
9568 break
9569 }
9570 }
9571 if msglen < 0 {
9572 return ErrInvalidLengthGenerated
9573 }
9574 postIndex := iNdEx + msglen
9575 if postIndex > l {
9576 return io.ErrUnexpectedEOF
9577 }
9578 m.Items = append(m.Items, PodSecurityPolicy{})
9579 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9580 return err
9581 }
9582 iNdEx = postIndex
9583 default:
9584 iNdEx = preIndex
9585 skippy, err := skipGenerated(dAtA[iNdEx:])
9586 if err != nil {
9587 return err
9588 }
9589 if skippy < 0 {
9590 return ErrInvalidLengthGenerated
9591 }
9592 if (iNdEx + skippy) > l {
9593 return io.ErrUnexpectedEOF
9594 }
9595 iNdEx += skippy
9596 }
9597 }
9598
9599 if iNdEx > l {
9600 return io.ErrUnexpectedEOF
9601 }
9602 return nil
9603}
9604func (m *PodSecurityPolicySpec) Unmarshal(dAtA []byte) error {
9605 l := len(dAtA)
9606 iNdEx := 0
9607 for iNdEx < l {
9608 preIndex := iNdEx
9609 var wire uint64
9610 for shift := uint(0); ; shift += 7 {
9611 if shift >= 64 {
9612 return ErrIntOverflowGenerated
9613 }
9614 if iNdEx >= l {
9615 return io.ErrUnexpectedEOF
9616 }
9617 b := dAtA[iNdEx]
9618 iNdEx++
9619 wire |= (uint64(b) & 0x7F) << shift
9620 if b < 0x80 {
9621 break
9622 }
9623 }
9624 fieldNum := int32(wire >> 3)
9625 wireType := int(wire & 0x7)
9626 if wireType == 4 {
9627 return fmt.Errorf("proto: PodSecurityPolicySpec: wiretype end group for non-group")
9628 }
9629 if fieldNum <= 0 {
9630 return fmt.Errorf("proto: PodSecurityPolicySpec: illegal tag %d (wire type %d)", fieldNum, wire)
9631 }
9632 switch fieldNum {
9633 case 1:
9634 if wireType != 0 {
9635 return fmt.Errorf("proto: wrong wireType = %d for field Privileged", wireType)
9636 }
9637 var v int
9638 for shift := uint(0); ; shift += 7 {
9639 if shift >= 64 {
9640 return ErrIntOverflowGenerated
9641 }
9642 if iNdEx >= l {
9643 return io.ErrUnexpectedEOF
9644 }
9645 b := dAtA[iNdEx]
9646 iNdEx++
9647 v |= (int(b) & 0x7F) << shift
9648 if b < 0x80 {
9649 break
9650 }
9651 }
9652 m.Privileged = bool(v != 0)
9653 case 2:
9654 if wireType != 2 {
9655 return fmt.Errorf("proto: wrong wireType = %d for field DefaultAddCapabilities", wireType)
9656 }
9657 var stringLen uint64
9658 for shift := uint(0); ; shift += 7 {
9659 if shift >= 64 {
9660 return ErrIntOverflowGenerated
9661 }
9662 if iNdEx >= l {
9663 return io.ErrUnexpectedEOF
9664 }
9665 b := dAtA[iNdEx]
9666 iNdEx++
9667 stringLen |= (uint64(b) & 0x7F) << shift
9668 if b < 0x80 {
9669 break
9670 }
9671 }
9672 intStringLen := int(stringLen)
9673 if intStringLen < 0 {
9674 return ErrInvalidLengthGenerated
9675 }
9676 postIndex := iNdEx + intStringLen
9677 if postIndex > l {
9678 return io.ErrUnexpectedEOF
9679 }
9680 m.DefaultAddCapabilities = append(m.DefaultAddCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex]))
9681 iNdEx = postIndex
9682 case 3:
9683 if wireType != 2 {
9684 return fmt.Errorf("proto: wrong wireType = %d for field RequiredDropCapabilities", wireType)
9685 }
9686 var stringLen uint64
9687 for shift := uint(0); ; shift += 7 {
9688 if shift >= 64 {
9689 return ErrIntOverflowGenerated
9690 }
9691 if iNdEx >= l {
9692 return io.ErrUnexpectedEOF
9693 }
9694 b := dAtA[iNdEx]
9695 iNdEx++
9696 stringLen |= (uint64(b) & 0x7F) << shift
9697 if b < 0x80 {
9698 break
9699 }
9700 }
9701 intStringLen := int(stringLen)
9702 if intStringLen < 0 {
9703 return ErrInvalidLengthGenerated
9704 }
9705 postIndex := iNdEx + intStringLen
9706 if postIndex > l {
9707 return io.ErrUnexpectedEOF
9708 }
9709 m.RequiredDropCapabilities = append(m.RequiredDropCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex]))
9710 iNdEx = postIndex
9711 case 4:
9712 if wireType != 2 {
9713 return fmt.Errorf("proto: wrong wireType = %d for field AllowedCapabilities", wireType)
9714 }
9715 var stringLen uint64
9716 for shift := uint(0); ; shift += 7 {
9717 if shift >= 64 {
9718 return ErrIntOverflowGenerated
9719 }
9720 if iNdEx >= l {
9721 return io.ErrUnexpectedEOF
9722 }
9723 b := dAtA[iNdEx]
9724 iNdEx++
9725 stringLen |= (uint64(b) & 0x7F) << shift
9726 if b < 0x80 {
9727 break
9728 }
9729 }
9730 intStringLen := int(stringLen)
9731 if intStringLen < 0 {
9732 return ErrInvalidLengthGenerated
9733 }
9734 postIndex := iNdEx + intStringLen
9735 if postIndex > l {
9736 return io.ErrUnexpectedEOF
9737 }
9738 m.AllowedCapabilities = append(m.AllowedCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex]))
9739 iNdEx = postIndex
9740 case 5:
9741 if wireType != 2 {
9742 return fmt.Errorf("proto: wrong wireType = %d for field Volumes", wireType)
9743 }
9744 var stringLen uint64
9745 for shift := uint(0); ; shift += 7 {
9746 if shift >= 64 {
9747 return ErrIntOverflowGenerated
9748 }
9749 if iNdEx >= l {
9750 return io.ErrUnexpectedEOF
9751 }
9752 b := dAtA[iNdEx]
9753 iNdEx++
9754 stringLen |= (uint64(b) & 0x7F) << shift
9755 if b < 0x80 {
9756 break
9757 }
9758 }
9759 intStringLen := int(stringLen)
9760 if intStringLen < 0 {
9761 return ErrInvalidLengthGenerated
9762 }
9763 postIndex := iNdEx + intStringLen
9764 if postIndex > l {
9765 return io.ErrUnexpectedEOF
9766 }
9767 m.Volumes = append(m.Volumes, FSType(dAtA[iNdEx:postIndex]))
9768 iNdEx = postIndex
9769 case 6:
9770 if wireType != 0 {
9771 return fmt.Errorf("proto: wrong wireType = %d for field HostNetwork", wireType)
9772 }
9773 var v int
9774 for shift := uint(0); ; shift += 7 {
9775 if shift >= 64 {
9776 return ErrIntOverflowGenerated
9777 }
9778 if iNdEx >= l {
9779 return io.ErrUnexpectedEOF
9780 }
9781 b := dAtA[iNdEx]
9782 iNdEx++
9783 v |= (int(b) & 0x7F) << shift
9784 if b < 0x80 {
9785 break
9786 }
9787 }
9788 m.HostNetwork = bool(v != 0)
9789 case 7:
9790 if wireType != 2 {
9791 return fmt.Errorf("proto: wrong wireType = %d for field HostPorts", wireType)
9792 }
9793 var msglen int
9794 for shift := uint(0); ; shift += 7 {
9795 if shift >= 64 {
9796 return ErrIntOverflowGenerated
9797 }
9798 if iNdEx >= l {
9799 return io.ErrUnexpectedEOF
9800 }
9801 b := dAtA[iNdEx]
9802 iNdEx++
9803 msglen |= (int(b) & 0x7F) << shift
9804 if b < 0x80 {
9805 break
9806 }
9807 }
9808 if msglen < 0 {
9809 return ErrInvalidLengthGenerated
9810 }
9811 postIndex := iNdEx + msglen
9812 if postIndex > l {
9813 return io.ErrUnexpectedEOF
9814 }
9815 m.HostPorts = append(m.HostPorts, HostPortRange{})
9816 if err := m.HostPorts[len(m.HostPorts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9817 return err
9818 }
9819 iNdEx = postIndex
9820 case 8:
9821 if wireType != 0 {
9822 return fmt.Errorf("proto: wrong wireType = %d for field HostPID", wireType)
9823 }
9824 var v int
9825 for shift := uint(0); ; shift += 7 {
9826 if shift >= 64 {
9827 return ErrIntOverflowGenerated
9828 }
9829 if iNdEx >= l {
9830 return io.ErrUnexpectedEOF
9831 }
9832 b := dAtA[iNdEx]
9833 iNdEx++
9834 v |= (int(b) & 0x7F) << shift
9835 if b < 0x80 {
9836 break
9837 }
9838 }
9839 m.HostPID = bool(v != 0)
9840 case 9:
9841 if wireType != 0 {
9842 return fmt.Errorf("proto: wrong wireType = %d for field HostIPC", wireType)
9843 }
9844 var v int
9845 for shift := uint(0); ; shift += 7 {
9846 if shift >= 64 {
9847 return ErrIntOverflowGenerated
9848 }
9849 if iNdEx >= l {
9850 return io.ErrUnexpectedEOF
9851 }
9852 b := dAtA[iNdEx]
9853 iNdEx++
9854 v |= (int(b) & 0x7F) << shift
9855 if b < 0x80 {
9856 break
9857 }
9858 }
9859 m.HostIPC = bool(v != 0)
9860 case 10:
9861 if wireType != 2 {
9862 return fmt.Errorf("proto: wrong wireType = %d for field SELinux", wireType)
9863 }
9864 var msglen int
9865 for shift := uint(0); ; shift += 7 {
9866 if shift >= 64 {
9867 return ErrIntOverflowGenerated
9868 }
9869 if iNdEx >= l {
9870 return io.ErrUnexpectedEOF
9871 }
9872 b := dAtA[iNdEx]
9873 iNdEx++
9874 msglen |= (int(b) & 0x7F) << shift
9875 if b < 0x80 {
9876 break
9877 }
9878 }
9879 if msglen < 0 {
9880 return ErrInvalidLengthGenerated
9881 }
9882 postIndex := iNdEx + msglen
9883 if postIndex > l {
9884 return io.ErrUnexpectedEOF
9885 }
9886 if err := m.SELinux.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9887 return err
9888 }
9889 iNdEx = postIndex
9890 case 11:
9891 if wireType != 2 {
9892 return fmt.Errorf("proto: wrong wireType = %d for field RunAsUser", wireType)
9893 }
9894 var msglen int
9895 for shift := uint(0); ; shift += 7 {
9896 if shift >= 64 {
9897 return ErrIntOverflowGenerated
9898 }
9899 if iNdEx >= l {
9900 return io.ErrUnexpectedEOF
9901 }
9902 b := dAtA[iNdEx]
9903 iNdEx++
9904 msglen |= (int(b) & 0x7F) << shift
9905 if b < 0x80 {
9906 break
9907 }
9908 }
9909 if msglen < 0 {
9910 return ErrInvalidLengthGenerated
9911 }
9912 postIndex := iNdEx + msglen
9913 if postIndex > l {
9914 return io.ErrUnexpectedEOF
9915 }
9916 if err := m.RunAsUser.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9917 return err
9918 }
9919 iNdEx = postIndex
9920 case 12:
9921 if wireType != 2 {
9922 return fmt.Errorf("proto: wrong wireType = %d for field SupplementalGroups", wireType)
9923 }
9924 var msglen int
9925 for shift := uint(0); ; shift += 7 {
9926 if shift >= 64 {
9927 return ErrIntOverflowGenerated
9928 }
9929 if iNdEx >= l {
9930 return io.ErrUnexpectedEOF
9931 }
9932 b := dAtA[iNdEx]
9933 iNdEx++
9934 msglen |= (int(b) & 0x7F) << shift
9935 if b < 0x80 {
9936 break
9937 }
9938 }
9939 if msglen < 0 {
9940 return ErrInvalidLengthGenerated
9941 }
9942 postIndex := iNdEx + msglen
9943 if postIndex > l {
9944 return io.ErrUnexpectedEOF
9945 }
9946 if err := m.SupplementalGroups.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9947 return err
9948 }
9949 iNdEx = postIndex
9950 case 13:
9951 if wireType != 2 {
9952 return fmt.Errorf("proto: wrong wireType = %d for field FSGroup", wireType)
9953 }
9954 var msglen int
9955 for shift := uint(0); ; shift += 7 {
9956 if shift >= 64 {
9957 return ErrIntOverflowGenerated
9958 }
9959 if iNdEx >= l {
9960 return io.ErrUnexpectedEOF
9961 }
9962 b := dAtA[iNdEx]
9963 iNdEx++
9964 msglen |= (int(b) & 0x7F) << shift
9965 if b < 0x80 {
9966 break
9967 }
9968 }
9969 if msglen < 0 {
9970 return ErrInvalidLengthGenerated
9971 }
9972 postIndex := iNdEx + msglen
9973 if postIndex > l {
9974 return io.ErrUnexpectedEOF
9975 }
9976 if err := m.FSGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9977 return err
9978 }
9979 iNdEx = postIndex
9980 case 14:
9981 if wireType != 0 {
9982 return fmt.Errorf("proto: wrong wireType = %d for field ReadOnlyRootFilesystem", wireType)
9983 }
9984 var v int
9985 for shift := uint(0); ; shift += 7 {
9986 if shift >= 64 {
9987 return ErrIntOverflowGenerated
9988 }
9989 if iNdEx >= l {
9990 return io.ErrUnexpectedEOF
9991 }
9992 b := dAtA[iNdEx]
9993 iNdEx++
9994 v |= (int(b) & 0x7F) << shift
9995 if b < 0x80 {
9996 break
9997 }
9998 }
9999 m.ReadOnlyRootFilesystem = bool(v != 0)
10000 case 15:
10001 if wireType != 0 {
10002 return fmt.Errorf("proto: wrong wireType = %d for field DefaultAllowPrivilegeEscalation", wireType)
10003 }
10004 var v int
10005 for shift := uint(0); ; shift += 7 {
10006 if shift >= 64 {
10007 return ErrIntOverflowGenerated
10008 }
10009 if iNdEx >= l {
10010 return io.ErrUnexpectedEOF
10011 }
10012 b := dAtA[iNdEx]
10013 iNdEx++
10014 v |= (int(b) & 0x7F) << shift
10015 if b < 0x80 {
10016 break
10017 }
10018 }
10019 b := bool(v != 0)
10020 m.DefaultAllowPrivilegeEscalation = &b
10021 case 16:
10022 if wireType != 0 {
10023 return fmt.Errorf("proto: wrong wireType = %d for field AllowPrivilegeEscalation", wireType)
10024 }
10025 var v int
10026 for shift := uint(0); ; shift += 7 {
10027 if shift >= 64 {
10028 return ErrIntOverflowGenerated
10029 }
10030 if iNdEx >= l {
10031 return io.ErrUnexpectedEOF
10032 }
10033 b := dAtA[iNdEx]
10034 iNdEx++
10035 v |= (int(b) & 0x7F) << shift
10036 if b < 0x80 {
10037 break
10038 }
10039 }
10040 b := bool(v != 0)
10041 m.AllowPrivilegeEscalation = &b
10042 case 17:
10043 if wireType != 2 {
10044 return fmt.Errorf("proto: wrong wireType = %d for field AllowedHostPaths", wireType)
10045 }
10046 var msglen int
10047 for shift := uint(0); ; shift += 7 {
10048 if shift >= 64 {
10049 return ErrIntOverflowGenerated
10050 }
10051 if iNdEx >= l {
10052 return io.ErrUnexpectedEOF
10053 }
10054 b := dAtA[iNdEx]
10055 iNdEx++
10056 msglen |= (int(b) & 0x7F) << shift
10057 if b < 0x80 {
10058 break
10059 }
10060 }
10061 if msglen < 0 {
10062 return ErrInvalidLengthGenerated
10063 }
10064 postIndex := iNdEx + msglen
10065 if postIndex > l {
10066 return io.ErrUnexpectedEOF
10067 }
10068 m.AllowedHostPaths = append(m.AllowedHostPaths, AllowedHostPath{})
10069 if err := m.AllowedHostPaths[len(m.AllowedHostPaths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10070 return err
10071 }
10072 iNdEx = postIndex
10073 case 18:
10074 if wireType != 2 {
10075 return fmt.Errorf("proto: wrong wireType = %d for field AllowedFlexVolumes", wireType)
10076 }
10077 var msglen int
10078 for shift := uint(0); ; shift += 7 {
10079 if shift >= 64 {
10080 return ErrIntOverflowGenerated
10081 }
10082 if iNdEx >= l {
10083 return io.ErrUnexpectedEOF
10084 }
10085 b := dAtA[iNdEx]
10086 iNdEx++
10087 msglen |= (int(b) & 0x7F) << shift
10088 if b < 0x80 {
10089 break
10090 }
10091 }
10092 if msglen < 0 {
10093 return ErrInvalidLengthGenerated
10094 }
10095 postIndex := iNdEx + msglen
10096 if postIndex > l {
10097 return io.ErrUnexpectedEOF
10098 }
10099 m.AllowedFlexVolumes = append(m.AllowedFlexVolumes, AllowedFlexVolume{})
10100 if err := m.AllowedFlexVolumes[len(m.AllowedFlexVolumes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10101 return err
10102 }
10103 iNdEx = postIndex
10104 case 19:
10105 if wireType != 2 {
10106 return fmt.Errorf("proto: wrong wireType = %d for field AllowedUnsafeSysctls", wireType)
10107 }
10108 var stringLen uint64
10109 for shift := uint(0); ; shift += 7 {
10110 if shift >= 64 {
10111 return ErrIntOverflowGenerated
10112 }
10113 if iNdEx >= l {
10114 return io.ErrUnexpectedEOF
10115 }
10116 b := dAtA[iNdEx]
10117 iNdEx++
10118 stringLen |= (uint64(b) & 0x7F) << shift
10119 if b < 0x80 {
10120 break
10121 }
10122 }
10123 intStringLen := int(stringLen)
10124 if intStringLen < 0 {
10125 return ErrInvalidLengthGenerated
10126 }
10127 postIndex := iNdEx + intStringLen
10128 if postIndex > l {
10129 return io.ErrUnexpectedEOF
10130 }
10131 m.AllowedUnsafeSysctls = append(m.AllowedUnsafeSysctls, string(dAtA[iNdEx:postIndex]))
10132 iNdEx = postIndex
10133 case 20:
10134 if wireType != 2 {
10135 return fmt.Errorf("proto: wrong wireType = %d for field ForbiddenSysctls", wireType)
10136 }
10137 var stringLen uint64
10138 for shift := uint(0); ; shift += 7 {
10139 if shift >= 64 {
10140 return ErrIntOverflowGenerated
10141 }
10142 if iNdEx >= l {
10143 return io.ErrUnexpectedEOF
10144 }
10145 b := dAtA[iNdEx]
10146 iNdEx++
10147 stringLen |= (uint64(b) & 0x7F) << shift
10148 if b < 0x80 {
10149 break
10150 }
10151 }
10152 intStringLen := int(stringLen)
10153 if intStringLen < 0 {
10154 return ErrInvalidLengthGenerated
10155 }
10156 postIndex := iNdEx + intStringLen
10157 if postIndex > l {
10158 return io.ErrUnexpectedEOF
10159 }
10160 m.ForbiddenSysctls = append(m.ForbiddenSysctls, string(dAtA[iNdEx:postIndex]))
10161 iNdEx = postIndex
10162 case 21:
10163 if wireType != 2 {
10164 return fmt.Errorf("proto: wrong wireType = %d for field AllowedProcMountTypes", wireType)
10165 }
10166 var stringLen uint64
10167 for shift := uint(0); ; shift += 7 {
10168 if shift >= 64 {
10169 return ErrIntOverflowGenerated
10170 }
10171 if iNdEx >= l {
10172 return io.ErrUnexpectedEOF
10173 }
10174 b := dAtA[iNdEx]
10175 iNdEx++
10176 stringLen |= (uint64(b) & 0x7F) << shift
10177 if b < 0x80 {
10178 break
10179 }
10180 }
10181 intStringLen := int(stringLen)
10182 if intStringLen < 0 {
10183 return ErrInvalidLengthGenerated
10184 }
10185 postIndex := iNdEx + intStringLen
10186 if postIndex > l {
10187 return io.ErrUnexpectedEOF
10188 }
10189 m.AllowedProcMountTypes = append(m.AllowedProcMountTypes, k8s_io_api_core_v1.ProcMountType(dAtA[iNdEx:postIndex]))
10190 iNdEx = postIndex
10191 case 22:
10192 if wireType != 2 {
10193 return fmt.Errorf("proto: wrong wireType = %d for field RunAsGroup", wireType)
10194 }
10195 var msglen int
10196 for shift := uint(0); ; shift += 7 {
10197 if shift >= 64 {
10198 return ErrIntOverflowGenerated
10199 }
10200 if iNdEx >= l {
10201 return io.ErrUnexpectedEOF
10202 }
10203 b := dAtA[iNdEx]
10204 iNdEx++
10205 msglen |= (int(b) & 0x7F) << shift
10206 if b < 0x80 {
10207 break
10208 }
10209 }
10210 if msglen < 0 {
10211 return ErrInvalidLengthGenerated
10212 }
10213 postIndex := iNdEx + msglen
10214 if postIndex > l {
10215 return io.ErrUnexpectedEOF
10216 }
10217 if m.RunAsGroup == nil {
10218 m.RunAsGroup = &RunAsGroupStrategyOptions{}
10219 }
10220 if err := m.RunAsGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10221 return err
10222 }
10223 iNdEx = postIndex
10224 case 23:
10225 if wireType != 2 {
10226 return fmt.Errorf("proto: wrong wireType = %d for field AllowedCSIDrivers", wireType)
10227 }
10228 var msglen int
10229 for shift := uint(0); ; shift += 7 {
10230 if shift >= 64 {
10231 return ErrIntOverflowGenerated
10232 }
10233 if iNdEx >= l {
10234 return io.ErrUnexpectedEOF
10235 }
10236 b := dAtA[iNdEx]
10237 iNdEx++
10238 msglen |= (int(b) & 0x7F) << shift
10239 if b < 0x80 {
10240 break
10241 }
10242 }
10243 if msglen < 0 {
10244 return ErrInvalidLengthGenerated
10245 }
10246 postIndex := iNdEx + msglen
10247 if postIndex > l {
10248 return io.ErrUnexpectedEOF
10249 }
10250 m.AllowedCSIDrivers = append(m.AllowedCSIDrivers, AllowedCSIDriver{})
10251 if err := m.AllowedCSIDrivers[len(m.AllowedCSIDrivers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10252 return err
10253 }
10254 iNdEx = postIndex
10255 case 24:
10256 if wireType != 2 {
10257 return fmt.Errorf("proto: wrong wireType = %d for field RuntimeClass", wireType)
10258 }
10259 var msglen int
10260 for shift := uint(0); ; shift += 7 {
10261 if shift >= 64 {
10262 return ErrIntOverflowGenerated
10263 }
10264 if iNdEx >= l {
10265 return io.ErrUnexpectedEOF
10266 }
10267 b := dAtA[iNdEx]
10268 iNdEx++
10269 msglen |= (int(b) & 0x7F) << shift
10270 if b < 0x80 {
10271 break
10272 }
10273 }
10274 if msglen < 0 {
10275 return ErrInvalidLengthGenerated
10276 }
10277 postIndex := iNdEx + msglen
10278 if postIndex > l {
10279 return io.ErrUnexpectedEOF
10280 }
10281 if m.RuntimeClass == nil {
10282 m.RuntimeClass = &RuntimeClassStrategyOptions{}
10283 }
10284 if err := m.RuntimeClass.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10285 return err
10286 }
10287 iNdEx = postIndex
10288 default:
10289 iNdEx = preIndex
10290 skippy, err := skipGenerated(dAtA[iNdEx:])
10291 if err != nil {
10292 return err
10293 }
10294 if skippy < 0 {
10295 return ErrInvalidLengthGenerated
10296 }
10297 if (iNdEx + skippy) > l {
10298 return io.ErrUnexpectedEOF
10299 }
10300 iNdEx += skippy
10301 }
10302 }
10303
10304 if iNdEx > l {
10305 return io.ErrUnexpectedEOF
10306 }
10307 return nil
10308}
10309func (m *ReplicaSet) Unmarshal(dAtA []byte) error {
10310 l := len(dAtA)
10311 iNdEx := 0
10312 for iNdEx < l {
10313 preIndex := iNdEx
10314 var wire uint64
10315 for shift := uint(0); ; shift += 7 {
10316 if shift >= 64 {
10317 return ErrIntOverflowGenerated
10318 }
10319 if iNdEx >= l {
10320 return io.ErrUnexpectedEOF
10321 }
10322 b := dAtA[iNdEx]
10323 iNdEx++
10324 wire |= (uint64(b) & 0x7F) << shift
10325 if b < 0x80 {
10326 break
10327 }
10328 }
10329 fieldNum := int32(wire >> 3)
10330 wireType := int(wire & 0x7)
10331 if wireType == 4 {
10332 return fmt.Errorf("proto: ReplicaSet: wiretype end group for non-group")
10333 }
10334 if fieldNum <= 0 {
10335 return fmt.Errorf("proto: ReplicaSet: illegal tag %d (wire type %d)", fieldNum, wire)
10336 }
10337 switch fieldNum {
10338 case 1:
10339 if wireType != 2 {
10340 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
10341 }
10342 var msglen int
10343 for shift := uint(0); ; shift += 7 {
10344 if shift >= 64 {
10345 return ErrIntOverflowGenerated
10346 }
10347 if iNdEx >= l {
10348 return io.ErrUnexpectedEOF
10349 }
10350 b := dAtA[iNdEx]
10351 iNdEx++
10352 msglen |= (int(b) & 0x7F) << shift
10353 if b < 0x80 {
10354 break
10355 }
10356 }
10357 if msglen < 0 {
10358 return ErrInvalidLengthGenerated
10359 }
10360 postIndex := iNdEx + msglen
10361 if postIndex > l {
10362 return io.ErrUnexpectedEOF
10363 }
10364 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10365 return err
10366 }
10367 iNdEx = postIndex
10368 case 2:
10369 if wireType != 2 {
10370 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
10371 }
10372 var msglen int
10373 for shift := uint(0); ; shift += 7 {
10374 if shift >= 64 {
10375 return ErrIntOverflowGenerated
10376 }
10377 if iNdEx >= l {
10378 return io.ErrUnexpectedEOF
10379 }
10380 b := dAtA[iNdEx]
10381 iNdEx++
10382 msglen |= (int(b) & 0x7F) << shift
10383 if b < 0x80 {
10384 break
10385 }
10386 }
10387 if msglen < 0 {
10388 return ErrInvalidLengthGenerated
10389 }
10390 postIndex := iNdEx + msglen
10391 if postIndex > l {
10392 return io.ErrUnexpectedEOF
10393 }
10394 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10395 return err
10396 }
10397 iNdEx = postIndex
10398 case 3:
10399 if wireType != 2 {
10400 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
10401 }
10402 var msglen int
10403 for shift := uint(0); ; shift += 7 {
10404 if shift >= 64 {
10405 return ErrIntOverflowGenerated
10406 }
10407 if iNdEx >= l {
10408 return io.ErrUnexpectedEOF
10409 }
10410 b := dAtA[iNdEx]
10411 iNdEx++
10412 msglen |= (int(b) & 0x7F) << shift
10413 if b < 0x80 {
10414 break
10415 }
10416 }
10417 if msglen < 0 {
10418 return ErrInvalidLengthGenerated
10419 }
10420 postIndex := iNdEx + msglen
10421 if postIndex > l {
10422 return io.ErrUnexpectedEOF
10423 }
10424 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10425 return err
10426 }
10427 iNdEx = postIndex
10428 default:
10429 iNdEx = preIndex
10430 skippy, err := skipGenerated(dAtA[iNdEx:])
10431 if err != nil {
10432 return err
10433 }
10434 if skippy < 0 {
10435 return ErrInvalidLengthGenerated
10436 }
10437 if (iNdEx + skippy) > l {
10438 return io.ErrUnexpectedEOF
10439 }
10440 iNdEx += skippy
10441 }
10442 }
10443
10444 if iNdEx > l {
10445 return io.ErrUnexpectedEOF
10446 }
10447 return nil
10448}
10449func (m *ReplicaSetCondition) Unmarshal(dAtA []byte) error {
10450 l := len(dAtA)
10451 iNdEx := 0
10452 for iNdEx < l {
10453 preIndex := iNdEx
10454 var wire uint64
10455 for shift := uint(0); ; shift += 7 {
10456 if shift >= 64 {
10457 return ErrIntOverflowGenerated
10458 }
10459 if iNdEx >= l {
10460 return io.ErrUnexpectedEOF
10461 }
10462 b := dAtA[iNdEx]
10463 iNdEx++
10464 wire |= (uint64(b) & 0x7F) << shift
10465 if b < 0x80 {
10466 break
10467 }
10468 }
10469 fieldNum := int32(wire >> 3)
10470 wireType := int(wire & 0x7)
10471 if wireType == 4 {
10472 return fmt.Errorf("proto: ReplicaSetCondition: wiretype end group for non-group")
10473 }
10474 if fieldNum <= 0 {
10475 return fmt.Errorf("proto: ReplicaSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
10476 }
10477 switch fieldNum {
10478 case 1:
10479 if wireType != 2 {
10480 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
10481 }
10482 var stringLen uint64
10483 for shift := uint(0); ; shift += 7 {
10484 if shift >= 64 {
10485 return ErrIntOverflowGenerated
10486 }
10487 if iNdEx >= l {
10488 return io.ErrUnexpectedEOF
10489 }
10490 b := dAtA[iNdEx]
10491 iNdEx++
10492 stringLen |= (uint64(b) & 0x7F) << shift
10493 if b < 0x80 {
10494 break
10495 }
10496 }
10497 intStringLen := int(stringLen)
10498 if intStringLen < 0 {
10499 return ErrInvalidLengthGenerated
10500 }
10501 postIndex := iNdEx + intStringLen
10502 if postIndex > l {
10503 return io.ErrUnexpectedEOF
10504 }
10505 m.Type = ReplicaSetConditionType(dAtA[iNdEx:postIndex])
10506 iNdEx = postIndex
10507 case 2:
10508 if wireType != 2 {
10509 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
10510 }
10511 var stringLen uint64
10512 for shift := uint(0); ; shift += 7 {
10513 if shift >= 64 {
10514 return ErrIntOverflowGenerated
10515 }
10516 if iNdEx >= l {
10517 return io.ErrUnexpectedEOF
10518 }
10519 b := dAtA[iNdEx]
10520 iNdEx++
10521 stringLen |= (uint64(b) & 0x7F) << shift
10522 if b < 0x80 {
10523 break
10524 }
10525 }
10526 intStringLen := int(stringLen)
10527 if intStringLen < 0 {
10528 return ErrInvalidLengthGenerated
10529 }
10530 postIndex := iNdEx + intStringLen
10531 if postIndex > l {
10532 return io.ErrUnexpectedEOF
10533 }
10534 m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
10535 iNdEx = postIndex
10536 case 3:
10537 if wireType != 2 {
10538 return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
10539 }
10540 var msglen int
10541 for shift := uint(0); ; shift += 7 {
10542 if shift >= 64 {
10543 return ErrIntOverflowGenerated
10544 }
10545 if iNdEx >= l {
10546 return io.ErrUnexpectedEOF
10547 }
10548 b := dAtA[iNdEx]
10549 iNdEx++
10550 msglen |= (int(b) & 0x7F) << shift
10551 if b < 0x80 {
10552 break
10553 }
10554 }
10555 if msglen < 0 {
10556 return ErrInvalidLengthGenerated
10557 }
10558 postIndex := iNdEx + msglen
10559 if postIndex > l {
10560 return io.ErrUnexpectedEOF
10561 }
10562 if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10563 return err
10564 }
10565 iNdEx = postIndex
10566 case 4:
10567 if wireType != 2 {
10568 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
10569 }
10570 var stringLen uint64
10571 for shift := uint(0); ; shift += 7 {
10572 if shift >= 64 {
10573 return ErrIntOverflowGenerated
10574 }
10575 if iNdEx >= l {
10576 return io.ErrUnexpectedEOF
10577 }
10578 b := dAtA[iNdEx]
10579 iNdEx++
10580 stringLen |= (uint64(b) & 0x7F) << shift
10581 if b < 0x80 {
10582 break
10583 }
10584 }
10585 intStringLen := int(stringLen)
10586 if intStringLen < 0 {
10587 return ErrInvalidLengthGenerated
10588 }
10589 postIndex := iNdEx + intStringLen
10590 if postIndex > l {
10591 return io.ErrUnexpectedEOF
10592 }
10593 m.Reason = string(dAtA[iNdEx:postIndex])
10594 iNdEx = postIndex
10595 case 5:
10596 if wireType != 2 {
10597 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
10598 }
10599 var stringLen uint64
10600 for shift := uint(0); ; shift += 7 {
10601 if shift >= 64 {
10602 return ErrIntOverflowGenerated
10603 }
10604 if iNdEx >= l {
10605 return io.ErrUnexpectedEOF
10606 }
10607 b := dAtA[iNdEx]
10608 iNdEx++
10609 stringLen |= (uint64(b) & 0x7F) << shift
10610 if b < 0x80 {
10611 break
10612 }
10613 }
10614 intStringLen := int(stringLen)
10615 if intStringLen < 0 {
10616 return ErrInvalidLengthGenerated
10617 }
10618 postIndex := iNdEx + intStringLen
10619 if postIndex > l {
10620 return io.ErrUnexpectedEOF
10621 }
10622 m.Message = string(dAtA[iNdEx:postIndex])
10623 iNdEx = postIndex
10624 default:
10625 iNdEx = preIndex
10626 skippy, err := skipGenerated(dAtA[iNdEx:])
10627 if err != nil {
10628 return err
10629 }
10630 if skippy < 0 {
10631 return ErrInvalidLengthGenerated
10632 }
10633 if (iNdEx + skippy) > l {
10634 return io.ErrUnexpectedEOF
10635 }
10636 iNdEx += skippy
10637 }
10638 }
10639
10640 if iNdEx > l {
10641 return io.ErrUnexpectedEOF
10642 }
10643 return nil
10644}
10645func (m *ReplicaSetList) Unmarshal(dAtA []byte) error {
10646 l := len(dAtA)
10647 iNdEx := 0
10648 for iNdEx < l {
10649 preIndex := iNdEx
10650 var wire uint64
10651 for shift := uint(0); ; shift += 7 {
10652 if shift >= 64 {
10653 return ErrIntOverflowGenerated
10654 }
10655 if iNdEx >= l {
10656 return io.ErrUnexpectedEOF
10657 }
10658 b := dAtA[iNdEx]
10659 iNdEx++
10660 wire |= (uint64(b) & 0x7F) << shift
10661 if b < 0x80 {
10662 break
10663 }
10664 }
10665 fieldNum := int32(wire >> 3)
10666 wireType := int(wire & 0x7)
10667 if wireType == 4 {
10668 return fmt.Errorf("proto: ReplicaSetList: wiretype end group for non-group")
10669 }
10670 if fieldNum <= 0 {
10671 return fmt.Errorf("proto: ReplicaSetList: illegal tag %d (wire type %d)", fieldNum, wire)
10672 }
10673 switch fieldNum {
10674 case 1:
10675 if wireType != 2 {
10676 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
10677 }
10678 var msglen int
10679 for shift := uint(0); ; shift += 7 {
10680 if shift >= 64 {
10681 return ErrIntOverflowGenerated
10682 }
10683 if iNdEx >= l {
10684 return io.ErrUnexpectedEOF
10685 }
10686 b := dAtA[iNdEx]
10687 iNdEx++
10688 msglen |= (int(b) & 0x7F) << shift
10689 if b < 0x80 {
10690 break
10691 }
10692 }
10693 if msglen < 0 {
10694 return ErrInvalidLengthGenerated
10695 }
10696 postIndex := iNdEx + msglen
10697 if postIndex > l {
10698 return io.ErrUnexpectedEOF
10699 }
10700 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10701 return err
10702 }
10703 iNdEx = postIndex
10704 case 2:
10705 if wireType != 2 {
10706 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
10707 }
10708 var msglen int
10709 for shift := uint(0); ; shift += 7 {
10710 if shift >= 64 {
10711 return ErrIntOverflowGenerated
10712 }
10713 if iNdEx >= l {
10714 return io.ErrUnexpectedEOF
10715 }
10716 b := dAtA[iNdEx]
10717 iNdEx++
10718 msglen |= (int(b) & 0x7F) << shift
10719 if b < 0x80 {
10720 break
10721 }
10722 }
10723 if msglen < 0 {
10724 return ErrInvalidLengthGenerated
10725 }
10726 postIndex := iNdEx + msglen
10727 if postIndex > l {
10728 return io.ErrUnexpectedEOF
10729 }
10730 m.Items = append(m.Items, ReplicaSet{})
10731 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10732 return err
10733 }
10734 iNdEx = postIndex
10735 default:
10736 iNdEx = preIndex
10737 skippy, err := skipGenerated(dAtA[iNdEx:])
10738 if err != nil {
10739 return err
10740 }
10741 if skippy < 0 {
10742 return ErrInvalidLengthGenerated
10743 }
10744 if (iNdEx + skippy) > l {
10745 return io.ErrUnexpectedEOF
10746 }
10747 iNdEx += skippy
10748 }
10749 }
10750
10751 if iNdEx > l {
10752 return io.ErrUnexpectedEOF
10753 }
10754 return nil
10755}
10756func (m *ReplicaSetSpec) Unmarshal(dAtA []byte) error {
10757 l := len(dAtA)
10758 iNdEx := 0
10759 for iNdEx < l {
10760 preIndex := iNdEx
10761 var wire uint64
10762 for shift := uint(0); ; shift += 7 {
10763 if shift >= 64 {
10764 return ErrIntOverflowGenerated
10765 }
10766 if iNdEx >= l {
10767 return io.ErrUnexpectedEOF
10768 }
10769 b := dAtA[iNdEx]
10770 iNdEx++
10771 wire |= (uint64(b) & 0x7F) << shift
10772 if b < 0x80 {
10773 break
10774 }
10775 }
10776 fieldNum := int32(wire >> 3)
10777 wireType := int(wire & 0x7)
10778 if wireType == 4 {
10779 return fmt.Errorf("proto: ReplicaSetSpec: wiretype end group for non-group")
10780 }
10781 if fieldNum <= 0 {
10782 return fmt.Errorf("proto: ReplicaSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
10783 }
10784 switch fieldNum {
10785 case 1:
10786 if wireType != 0 {
10787 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
10788 }
10789 var v int32
10790 for shift := uint(0); ; shift += 7 {
10791 if shift >= 64 {
10792 return ErrIntOverflowGenerated
10793 }
10794 if iNdEx >= l {
10795 return io.ErrUnexpectedEOF
10796 }
10797 b := dAtA[iNdEx]
10798 iNdEx++
10799 v |= (int32(b) & 0x7F) << shift
10800 if b < 0x80 {
10801 break
10802 }
10803 }
10804 m.Replicas = &v
10805 case 2:
10806 if wireType != 2 {
10807 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
10808 }
10809 var msglen int
10810 for shift := uint(0); ; shift += 7 {
10811 if shift >= 64 {
10812 return ErrIntOverflowGenerated
10813 }
10814 if iNdEx >= l {
10815 return io.ErrUnexpectedEOF
10816 }
10817 b := dAtA[iNdEx]
10818 iNdEx++
10819 msglen |= (int(b) & 0x7F) << shift
10820 if b < 0x80 {
10821 break
10822 }
10823 }
10824 if msglen < 0 {
10825 return ErrInvalidLengthGenerated
10826 }
10827 postIndex := iNdEx + msglen
10828 if postIndex > l {
10829 return io.ErrUnexpectedEOF
10830 }
10831 if m.Selector == nil {
10832 m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
10833 }
10834 if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10835 return err
10836 }
10837 iNdEx = postIndex
10838 case 3:
10839 if wireType != 2 {
10840 return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
10841 }
10842 var msglen int
10843 for shift := uint(0); ; shift += 7 {
10844 if shift >= 64 {
10845 return ErrIntOverflowGenerated
10846 }
10847 if iNdEx >= l {
10848 return io.ErrUnexpectedEOF
10849 }
10850 b := dAtA[iNdEx]
10851 iNdEx++
10852 msglen |= (int(b) & 0x7F) << shift
10853 if b < 0x80 {
10854 break
10855 }
10856 }
10857 if msglen < 0 {
10858 return ErrInvalidLengthGenerated
10859 }
10860 postIndex := iNdEx + msglen
10861 if postIndex > l {
10862 return io.ErrUnexpectedEOF
10863 }
10864 if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10865 return err
10866 }
10867 iNdEx = postIndex
10868 case 4:
10869 if wireType != 0 {
10870 return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
10871 }
10872 m.MinReadySeconds = 0
10873 for shift := uint(0); ; shift += 7 {
10874 if shift >= 64 {
10875 return ErrIntOverflowGenerated
10876 }
10877 if iNdEx >= l {
10878 return io.ErrUnexpectedEOF
10879 }
10880 b := dAtA[iNdEx]
10881 iNdEx++
10882 m.MinReadySeconds |= (int32(b) & 0x7F) << shift
10883 if b < 0x80 {
10884 break
10885 }
10886 }
10887 default:
10888 iNdEx = preIndex
10889 skippy, err := skipGenerated(dAtA[iNdEx:])
10890 if err != nil {
10891 return err
10892 }
10893 if skippy < 0 {
10894 return ErrInvalidLengthGenerated
10895 }
10896 if (iNdEx + skippy) > l {
10897 return io.ErrUnexpectedEOF
10898 }
10899 iNdEx += skippy
10900 }
10901 }
10902
10903 if iNdEx > l {
10904 return io.ErrUnexpectedEOF
10905 }
10906 return nil
10907}
10908func (m *ReplicaSetStatus) Unmarshal(dAtA []byte) error {
10909 l := len(dAtA)
10910 iNdEx := 0
10911 for iNdEx < l {
10912 preIndex := iNdEx
10913 var wire uint64
10914 for shift := uint(0); ; shift += 7 {
10915 if shift >= 64 {
10916 return ErrIntOverflowGenerated
10917 }
10918 if iNdEx >= l {
10919 return io.ErrUnexpectedEOF
10920 }
10921 b := dAtA[iNdEx]
10922 iNdEx++
10923 wire |= (uint64(b) & 0x7F) << shift
10924 if b < 0x80 {
10925 break
10926 }
10927 }
10928 fieldNum := int32(wire >> 3)
10929 wireType := int(wire & 0x7)
10930 if wireType == 4 {
10931 return fmt.Errorf("proto: ReplicaSetStatus: wiretype end group for non-group")
10932 }
10933 if fieldNum <= 0 {
10934 return fmt.Errorf("proto: ReplicaSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
10935 }
10936 switch fieldNum {
10937 case 1:
10938 if wireType != 0 {
10939 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
10940 }
10941 m.Replicas = 0
10942 for shift := uint(0); ; shift += 7 {
10943 if shift >= 64 {
10944 return ErrIntOverflowGenerated
10945 }
10946 if iNdEx >= l {
10947 return io.ErrUnexpectedEOF
10948 }
10949 b := dAtA[iNdEx]
10950 iNdEx++
10951 m.Replicas |= (int32(b) & 0x7F) << shift
10952 if b < 0x80 {
10953 break
10954 }
10955 }
10956 case 2:
10957 if wireType != 0 {
10958 return fmt.Errorf("proto: wrong wireType = %d for field FullyLabeledReplicas", wireType)
10959 }
10960 m.FullyLabeledReplicas = 0
10961 for shift := uint(0); ; shift += 7 {
10962 if shift >= 64 {
10963 return ErrIntOverflowGenerated
10964 }
10965 if iNdEx >= l {
10966 return io.ErrUnexpectedEOF
10967 }
10968 b := dAtA[iNdEx]
10969 iNdEx++
10970 m.FullyLabeledReplicas |= (int32(b) & 0x7F) << shift
10971 if b < 0x80 {
10972 break
10973 }
10974 }
10975 case 3:
10976 if wireType != 0 {
10977 return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
10978 }
10979 m.ObservedGeneration = 0
10980 for shift := uint(0); ; shift += 7 {
10981 if shift >= 64 {
10982 return ErrIntOverflowGenerated
10983 }
10984 if iNdEx >= l {
10985 return io.ErrUnexpectedEOF
10986 }
10987 b := dAtA[iNdEx]
10988 iNdEx++
10989 m.ObservedGeneration |= (int64(b) & 0x7F) << shift
10990 if b < 0x80 {
10991 break
10992 }
10993 }
10994 case 4:
10995 if wireType != 0 {
10996 return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
10997 }
10998 m.ReadyReplicas = 0
10999 for shift := uint(0); ; shift += 7 {
11000 if shift >= 64 {
11001 return ErrIntOverflowGenerated
11002 }
11003 if iNdEx >= l {
11004 return io.ErrUnexpectedEOF
11005 }
11006 b := dAtA[iNdEx]
11007 iNdEx++
11008 m.ReadyReplicas |= (int32(b) & 0x7F) << shift
11009 if b < 0x80 {
11010 break
11011 }
11012 }
11013 case 5:
11014 if wireType != 0 {
11015 return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
11016 }
11017 m.AvailableReplicas = 0
11018 for shift := uint(0); ; shift += 7 {
11019 if shift >= 64 {
11020 return ErrIntOverflowGenerated
11021 }
11022 if iNdEx >= l {
11023 return io.ErrUnexpectedEOF
11024 }
11025 b := dAtA[iNdEx]
11026 iNdEx++
11027 m.AvailableReplicas |= (int32(b) & 0x7F) << shift
11028 if b < 0x80 {
11029 break
11030 }
11031 }
11032 case 6:
11033 if wireType != 2 {
11034 return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
11035 }
11036 var msglen int
11037 for shift := uint(0); ; shift += 7 {
11038 if shift >= 64 {
11039 return ErrIntOverflowGenerated
11040 }
11041 if iNdEx >= l {
11042 return io.ErrUnexpectedEOF
11043 }
11044 b := dAtA[iNdEx]
11045 iNdEx++
11046 msglen |= (int(b) & 0x7F) << shift
11047 if b < 0x80 {
11048 break
11049 }
11050 }
11051 if msglen < 0 {
11052 return ErrInvalidLengthGenerated
11053 }
11054 postIndex := iNdEx + msglen
11055 if postIndex > l {
11056 return io.ErrUnexpectedEOF
11057 }
11058 m.Conditions = append(m.Conditions, ReplicaSetCondition{})
11059 if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11060 return err
11061 }
11062 iNdEx = postIndex
11063 default:
11064 iNdEx = preIndex
11065 skippy, err := skipGenerated(dAtA[iNdEx:])
11066 if err != nil {
11067 return err
11068 }
11069 if skippy < 0 {
11070 return ErrInvalidLengthGenerated
11071 }
11072 if (iNdEx + skippy) > l {
11073 return io.ErrUnexpectedEOF
11074 }
11075 iNdEx += skippy
11076 }
11077 }
11078
11079 if iNdEx > l {
11080 return io.ErrUnexpectedEOF
11081 }
11082 return nil
11083}
11084func (m *ReplicationControllerDummy) Unmarshal(dAtA []byte) error {
11085 l := len(dAtA)
11086 iNdEx := 0
11087 for iNdEx < l {
11088 preIndex := iNdEx
11089 var wire uint64
11090 for shift := uint(0); ; shift += 7 {
11091 if shift >= 64 {
11092 return ErrIntOverflowGenerated
11093 }
11094 if iNdEx >= l {
11095 return io.ErrUnexpectedEOF
11096 }
11097 b := dAtA[iNdEx]
11098 iNdEx++
11099 wire |= (uint64(b) & 0x7F) << shift
11100 if b < 0x80 {
11101 break
11102 }
11103 }
11104 fieldNum := int32(wire >> 3)
11105 wireType := int(wire & 0x7)
11106 if wireType == 4 {
11107 return fmt.Errorf("proto: ReplicationControllerDummy: wiretype end group for non-group")
11108 }
11109 if fieldNum <= 0 {
11110 return fmt.Errorf("proto: ReplicationControllerDummy: illegal tag %d (wire type %d)", fieldNum, wire)
11111 }
11112 switch fieldNum {
11113 default:
11114 iNdEx = preIndex
11115 skippy, err := skipGenerated(dAtA[iNdEx:])
11116 if err != nil {
11117 return err
11118 }
11119 if skippy < 0 {
11120 return ErrInvalidLengthGenerated
11121 }
11122 if (iNdEx + skippy) > l {
11123 return io.ErrUnexpectedEOF
11124 }
11125 iNdEx += skippy
11126 }
11127 }
11128
11129 if iNdEx > l {
11130 return io.ErrUnexpectedEOF
11131 }
11132 return nil
11133}
11134func (m *RollbackConfig) Unmarshal(dAtA []byte) error {
11135 l := len(dAtA)
11136 iNdEx := 0
11137 for iNdEx < l {
11138 preIndex := iNdEx
11139 var wire uint64
11140 for shift := uint(0); ; shift += 7 {
11141 if shift >= 64 {
11142 return ErrIntOverflowGenerated
11143 }
11144 if iNdEx >= l {
11145 return io.ErrUnexpectedEOF
11146 }
11147 b := dAtA[iNdEx]
11148 iNdEx++
11149 wire |= (uint64(b) & 0x7F) << shift
11150 if b < 0x80 {
11151 break
11152 }
11153 }
11154 fieldNum := int32(wire >> 3)
11155 wireType := int(wire & 0x7)
11156 if wireType == 4 {
11157 return fmt.Errorf("proto: RollbackConfig: wiretype end group for non-group")
11158 }
11159 if fieldNum <= 0 {
11160 return fmt.Errorf("proto: RollbackConfig: illegal tag %d (wire type %d)", fieldNum, wire)
11161 }
11162 switch fieldNum {
11163 case 1:
11164 if wireType != 0 {
11165 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
11166 }
11167 m.Revision = 0
11168 for shift := uint(0); ; shift += 7 {
11169 if shift >= 64 {
11170 return ErrIntOverflowGenerated
11171 }
11172 if iNdEx >= l {
11173 return io.ErrUnexpectedEOF
11174 }
11175 b := dAtA[iNdEx]
11176 iNdEx++
11177 m.Revision |= (int64(b) & 0x7F) << shift
11178 if b < 0x80 {
11179 break
11180 }
11181 }
11182 default:
11183 iNdEx = preIndex
11184 skippy, err := skipGenerated(dAtA[iNdEx:])
11185 if err != nil {
11186 return err
11187 }
11188 if skippy < 0 {
11189 return ErrInvalidLengthGenerated
11190 }
11191 if (iNdEx + skippy) > l {
11192 return io.ErrUnexpectedEOF
11193 }
11194 iNdEx += skippy
11195 }
11196 }
11197
11198 if iNdEx > l {
11199 return io.ErrUnexpectedEOF
11200 }
11201 return nil
11202}
11203func (m *RollingUpdateDaemonSet) Unmarshal(dAtA []byte) error {
11204 l := len(dAtA)
11205 iNdEx := 0
11206 for iNdEx < l {
11207 preIndex := iNdEx
11208 var wire uint64
11209 for shift := uint(0); ; shift += 7 {
11210 if shift >= 64 {
11211 return ErrIntOverflowGenerated
11212 }
11213 if iNdEx >= l {
11214 return io.ErrUnexpectedEOF
11215 }
11216 b := dAtA[iNdEx]
11217 iNdEx++
11218 wire |= (uint64(b) & 0x7F) << shift
11219 if b < 0x80 {
11220 break
11221 }
11222 }
11223 fieldNum := int32(wire >> 3)
11224 wireType := int(wire & 0x7)
11225 if wireType == 4 {
11226 return fmt.Errorf("proto: RollingUpdateDaemonSet: wiretype end group for non-group")
11227 }
11228 if fieldNum <= 0 {
11229 return fmt.Errorf("proto: RollingUpdateDaemonSet: illegal tag %d (wire type %d)", fieldNum, wire)
11230 }
11231 switch fieldNum {
11232 case 1:
11233 if wireType != 2 {
11234 return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
11235 }
11236 var msglen int
11237 for shift := uint(0); ; shift += 7 {
11238 if shift >= 64 {
11239 return ErrIntOverflowGenerated
11240 }
11241 if iNdEx >= l {
11242 return io.ErrUnexpectedEOF
11243 }
11244 b := dAtA[iNdEx]
11245 iNdEx++
11246 msglen |= (int(b) & 0x7F) << shift
11247 if b < 0x80 {
11248 break
11249 }
11250 }
11251 if msglen < 0 {
11252 return ErrInvalidLengthGenerated
11253 }
11254 postIndex := iNdEx + msglen
11255 if postIndex > l {
11256 return io.ErrUnexpectedEOF
11257 }
11258 if m.MaxUnavailable == nil {
11259 m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
11260 }
11261 if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11262 return err
11263 }
11264 iNdEx = postIndex
11265 default:
11266 iNdEx = preIndex
11267 skippy, err := skipGenerated(dAtA[iNdEx:])
11268 if err != nil {
11269 return err
11270 }
11271 if skippy < 0 {
11272 return ErrInvalidLengthGenerated
11273 }
11274 if (iNdEx + skippy) > l {
11275 return io.ErrUnexpectedEOF
11276 }
11277 iNdEx += skippy
11278 }
11279 }
11280
11281 if iNdEx > l {
11282 return io.ErrUnexpectedEOF
11283 }
11284 return nil
11285}
11286func (m *RollingUpdateDeployment) Unmarshal(dAtA []byte) error {
11287 l := len(dAtA)
11288 iNdEx := 0
11289 for iNdEx < l {
11290 preIndex := iNdEx
11291 var wire uint64
11292 for shift := uint(0); ; shift += 7 {
11293 if shift >= 64 {
11294 return ErrIntOverflowGenerated
11295 }
11296 if iNdEx >= l {
11297 return io.ErrUnexpectedEOF
11298 }
11299 b := dAtA[iNdEx]
11300 iNdEx++
11301 wire |= (uint64(b) & 0x7F) << shift
11302 if b < 0x80 {
11303 break
11304 }
11305 }
11306 fieldNum := int32(wire >> 3)
11307 wireType := int(wire & 0x7)
11308 if wireType == 4 {
11309 return fmt.Errorf("proto: RollingUpdateDeployment: wiretype end group for non-group")
11310 }
11311 if fieldNum <= 0 {
11312 return fmt.Errorf("proto: RollingUpdateDeployment: illegal tag %d (wire type %d)", fieldNum, wire)
11313 }
11314 switch fieldNum {
11315 case 1:
11316 if wireType != 2 {
11317 return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
11318 }
11319 var msglen int
11320 for shift := uint(0); ; shift += 7 {
11321 if shift >= 64 {
11322 return ErrIntOverflowGenerated
11323 }
11324 if iNdEx >= l {
11325 return io.ErrUnexpectedEOF
11326 }
11327 b := dAtA[iNdEx]
11328 iNdEx++
11329 msglen |= (int(b) & 0x7F) << shift
11330 if b < 0x80 {
11331 break
11332 }
11333 }
11334 if msglen < 0 {
11335 return ErrInvalidLengthGenerated
11336 }
11337 postIndex := iNdEx + msglen
11338 if postIndex > l {
11339 return io.ErrUnexpectedEOF
11340 }
11341 if m.MaxUnavailable == nil {
11342 m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
11343 }
11344 if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11345 return err
11346 }
11347 iNdEx = postIndex
11348 case 2:
11349 if wireType != 2 {
11350 return fmt.Errorf("proto: wrong wireType = %d for field MaxSurge", wireType)
11351 }
11352 var msglen int
11353 for shift := uint(0); ; shift += 7 {
11354 if shift >= 64 {
11355 return ErrIntOverflowGenerated
11356 }
11357 if iNdEx >= l {
11358 return io.ErrUnexpectedEOF
11359 }
11360 b := dAtA[iNdEx]
11361 iNdEx++
11362 msglen |= (int(b) & 0x7F) << shift
11363 if b < 0x80 {
11364 break
11365 }
11366 }
11367 if msglen < 0 {
11368 return ErrInvalidLengthGenerated
11369 }
11370 postIndex := iNdEx + msglen
11371 if postIndex > l {
11372 return io.ErrUnexpectedEOF
11373 }
11374 if m.MaxSurge == nil {
11375 m.MaxSurge = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
11376 }
11377 if err := m.MaxSurge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11378 return err
11379 }
11380 iNdEx = postIndex
11381 default:
11382 iNdEx = preIndex
11383 skippy, err := skipGenerated(dAtA[iNdEx:])
11384 if err != nil {
11385 return err
11386 }
11387 if skippy < 0 {
11388 return ErrInvalidLengthGenerated
11389 }
11390 if (iNdEx + skippy) > l {
11391 return io.ErrUnexpectedEOF
11392 }
11393 iNdEx += skippy
11394 }
11395 }
11396
11397 if iNdEx > l {
11398 return io.ErrUnexpectedEOF
11399 }
11400 return nil
11401}
11402func (m *RunAsGroupStrategyOptions) Unmarshal(dAtA []byte) error {
11403 l := len(dAtA)
11404 iNdEx := 0
11405 for iNdEx < l {
11406 preIndex := iNdEx
11407 var wire uint64
11408 for shift := uint(0); ; shift += 7 {
11409 if shift >= 64 {
11410 return ErrIntOverflowGenerated
11411 }
11412 if iNdEx >= l {
11413 return io.ErrUnexpectedEOF
11414 }
11415 b := dAtA[iNdEx]
11416 iNdEx++
11417 wire |= (uint64(b) & 0x7F) << shift
11418 if b < 0x80 {
11419 break
11420 }
11421 }
11422 fieldNum := int32(wire >> 3)
11423 wireType := int(wire & 0x7)
11424 if wireType == 4 {
11425 return fmt.Errorf("proto: RunAsGroupStrategyOptions: wiretype end group for non-group")
11426 }
11427 if fieldNum <= 0 {
11428 return fmt.Errorf("proto: RunAsGroupStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
11429 }
11430 switch fieldNum {
11431 case 1:
11432 if wireType != 2 {
11433 return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
11434 }
11435 var stringLen uint64
11436 for shift := uint(0); ; shift += 7 {
11437 if shift >= 64 {
11438 return ErrIntOverflowGenerated
11439 }
11440 if iNdEx >= l {
11441 return io.ErrUnexpectedEOF
11442 }
11443 b := dAtA[iNdEx]
11444 iNdEx++
11445 stringLen |= (uint64(b) & 0x7F) << shift
11446 if b < 0x80 {
11447 break
11448 }
11449 }
11450 intStringLen := int(stringLen)
11451 if intStringLen < 0 {
11452 return ErrInvalidLengthGenerated
11453 }
11454 postIndex := iNdEx + intStringLen
11455 if postIndex > l {
11456 return io.ErrUnexpectedEOF
11457 }
11458 m.Rule = RunAsGroupStrategy(dAtA[iNdEx:postIndex])
11459 iNdEx = postIndex
11460 case 2:
11461 if wireType != 2 {
11462 return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
11463 }
11464 var msglen int
11465 for shift := uint(0); ; shift += 7 {
11466 if shift >= 64 {
11467 return ErrIntOverflowGenerated
11468 }
11469 if iNdEx >= l {
11470 return io.ErrUnexpectedEOF
11471 }
11472 b := dAtA[iNdEx]
11473 iNdEx++
11474 msglen |= (int(b) & 0x7F) << shift
11475 if b < 0x80 {
11476 break
11477 }
11478 }
11479 if msglen < 0 {
11480 return ErrInvalidLengthGenerated
11481 }
11482 postIndex := iNdEx + msglen
11483 if postIndex > l {
11484 return io.ErrUnexpectedEOF
11485 }
11486 m.Ranges = append(m.Ranges, IDRange{})
11487 if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11488 return err
11489 }
11490 iNdEx = postIndex
11491 default:
11492 iNdEx = preIndex
11493 skippy, err := skipGenerated(dAtA[iNdEx:])
11494 if err != nil {
11495 return err
11496 }
11497 if skippy < 0 {
11498 return ErrInvalidLengthGenerated
11499 }
11500 if (iNdEx + skippy) > l {
11501 return io.ErrUnexpectedEOF
11502 }
11503 iNdEx += skippy
11504 }
11505 }
11506
11507 if iNdEx > l {
11508 return io.ErrUnexpectedEOF
11509 }
11510 return nil
11511}
11512func (m *RunAsUserStrategyOptions) Unmarshal(dAtA []byte) error {
11513 l := len(dAtA)
11514 iNdEx := 0
11515 for iNdEx < l {
11516 preIndex := iNdEx
11517 var wire uint64
11518 for shift := uint(0); ; shift += 7 {
11519 if shift >= 64 {
11520 return ErrIntOverflowGenerated
11521 }
11522 if iNdEx >= l {
11523 return io.ErrUnexpectedEOF
11524 }
11525 b := dAtA[iNdEx]
11526 iNdEx++
11527 wire |= (uint64(b) & 0x7F) << shift
11528 if b < 0x80 {
11529 break
11530 }
11531 }
11532 fieldNum := int32(wire >> 3)
11533 wireType := int(wire & 0x7)
11534 if wireType == 4 {
11535 return fmt.Errorf("proto: RunAsUserStrategyOptions: wiretype end group for non-group")
11536 }
11537 if fieldNum <= 0 {
11538 return fmt.Errorf("proto: RunAsUserStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
11539 }
11540 switch fieldNum {
11541 case 1:
11542 if wireType != 2 {
11543 return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
11544 }
11545 var stringLen uint64
11546 for shift := uint(0); ; shift += 7 {
11547 if shift >= 64 {
11548 return ErrIntOverflowGenerated
11549 }
11550 if iNdEx >= l {
11551 return io.ErrUnexpectedEOF
11552 }
11553 b := dAtA[iNdEx]
11554 iNdEx++
11555 stringLen |= (uint64(b) & 0x7F) << shift
11556 if b < 0x80 {
11557 break
11558 }
11559 }
11560 intStringLen := int(stringLen)
11561 if intStringLen < 0 {
11562 return ErrInvalidLengthGenerated
11563 }
11564 postIndex := iNdEx + intStringLen
11565 if postIndex > l {
11566 return io.ErrUnexpectedEOF
11567 }
11568 m.Rule = RunAsUserStrategy(dAtA[iNdEx:postIndex])
11569 iNdEx = postIndex
11570 case 2:
11571 if wireType != 2 {
11572 return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
11573 }
11574 var msglen int
11575 for shift := uint(0); ; shift += 7 {
11576 if shift >= 64 {
11577 return ErrIntOverflowGenerated
11578 }
11579 if iNdEx >= l {
11580 return io.ErrUnexpectedEOF
11581 }
11582 b := dAtA[iNdEx]
11583 iNdEx++
11584 msglen |= (int(b) & 0x7F) << shift
11585 if b < 0x80 {
11586 break
11587 }
11588 }
11589 if msglen < 0 {
11590 return ErrInvalidLengthGenerated
11591 }
11592 postIndex := iNdEx + msglen
11593 if postIndex > l {
11594 return io.ErrUnexpectedEOF
11595 }
11596 m.Ranges = append(m.Ranges, IDRange{})
11597 if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11598 return err
11599 }
11600 iNdEx = postIndex
11601 default:
11602 iNdEx = preIndex
11603 skippy, err := skipGenerated(dAtA[iNdEx:])
11604 if err != nil {
11605 return err
11606 }
11607 if skippy < 0 {
11608 return ErrInvalidLengthGenerated
11609 }
11610 if (iNdEx + skippy) > l {
11611 return io.ErrUnexpectedEOF
11612 }
11613 iNdEx += skippy
11614 }
11615 }
11616
11617 if iNdEx > l {
11618 return io.ErrUnexpectedEOF
11619 }
11620 return nil
11621}
11622func (m *RuntimeClassStrategyOptions) Unmarshal(dAtA []byte) error {
11623 l := len(dAtA)
11624 iNdEx := 0
11625 for iNdEx < l {
11626 preIndex := iNdEx
11627 var wire uint64
11628 for shift := uint(0); ; shift += 7 {
11629 if shift >= 64 {
11630 return ErrIntOverflowGenerated
11631 }
11632 if iNdEx >= l {
11633 return io.ErrUnexpectedEOF
11634 }
11635 b := dAtA[iNdEx]
11636 iNdEx++
11637 wire |= (uint64(b) & 0x7F) << shift
11638 if b < 0x80 {
11639 break
11640 }
11641 }
11642 fieldNum := int32(wire >> 3)
11643 wireType := int(wire & 0x7)
11644 if wireType == 4 {
11645 return fmt.Errorf("proto: RuntimeClassStrategyOptions: wiretype end group for non-group")
11646 }
11647 if fieldNum <= 0 {
11648 return fmt.Errorf("proto: RuntimeClassStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
11649 }
11650 switch fieldNum {
11651 case 1:
11652 if wireType != 2 {
11653 return fmt.Errorf("proto: wrong wireType = %d for field AllowedRuntimeClassNames", wireType)
11654 }
11655 var stringLen uint64
11656 for shift := uint(0); ; shift += 7 {
11657 if shift >= 64 {
11658 return ErrIntOverflowGenerated
11659 }
11660 if iNdEx >= l {
11661 return io.ErrUnexpectedEOF
11662 }
11663 b := dAtA[iNdEx]
11664 iNdEx++
11665 stringLen |= (uint64(b) & 0x7F) << shift
11666 if b < 0x80 {
11667 break
11668 }
11669 }
11670 intStringLen := int(stringLen)
11671 if intStringLen < 0 {
11672 return ErrInvalidLengthGenerated
11673 }
11674 postIndex := iNdEx + intStringLen
11675 if postIndex > l {
11676 return io.ErrUnexpectedEOF
11677 }
11678 m.AllowedRuntimeClassNames = append(m.AllowedRuntimeClassNames, string(dAtA[iNdEx:postIndex]))
11679 iNdEx = postIndex
11680 case 2:
11681 if wireType != 2 {
11682 return fmt.Errorf("proto: wrong wireType = %d for field DefaultRuntimeClassName", wireType)
11683 }
11684 var stringLen uint64
11685 for shift := uint(0); ; shift += 7 {
11686 if shift >= 64 {
11687 return ErrIntOverflowGenerated
11688 }
11689 if iNdEx >= l {
11690 return io.ErrUnexpectedEOF
11691 }
11692 b := dAtA[iNdEx]
11693 iNdEx++
11694 stringLen |= (uint64(b) & 0x7F) << shift
11695 if b < 0x80 {
11696 break
11697 }
11698 }
11699 intStringLen := int(stringLen)
11700 if intStringLen < 0 {
11701 return ErrInvalidLengthGenerated
11702 }
11703 postIndex := iNdEx + intStringLen
11704 if postIndex > l {
11705 return io.ErrUnexpectedEOF
11706 }
11707 s := string(dAtA[iNdEx:postIndex])
11708 m.DefaultRuntimeClassName = &s
11709 iNdEx = postIndex
11710 default:
11711 iNdEx = preIndex
11712 skippy, err := skipGenerated(dAtA[iNdEx:])
11713 if err != nil {
11714 return err
11715 }
11716 if skippy < 0 {
11717 return ErrInvalidLengthGenerated
11718 }
11719 if (iNdEx + skippy) > l {
11720 return io.ErrUnexpectedEOF
11721 }
11722 iNdEx += skippy
11723 }
11724 }
11725
11726 if iNdEx > l {
11727 return io.ErrUnexpectedEOF
11728 }
11729 return nil
11730}
11731func (m *SELinuxStrategyOptions) Unmarshal(dAtA []byte) error {
11732 l := len(dAtA)
11733 iNdEx := 0
11734 for iNdEx < l {
11735 preIndex := iNdEx
11736 var wire uint64
11737 for shift := uint(0); ; shift += 7 {
11738 if shift >= 64 {
11739 return ErrIntOverflowGenerated
11740 }
11741 if iNdEx >= l {
11742 return io.ErrUnexpectedEOF
11743 }
11744 b := dAtA[iNdEx]
11745 iNdEx++
11746 wire |= (uint64(b) & 0x7F) << shift
11747 if b < 0x80 {
11748 break
11749 }
11750 }
11751 fieldNum := int32(wire >> 3)
11752 wireType := int(wire & 0x7)
11753 if wireType == 4 {
11754 return fmt.Errorf("proto: SELinuxStrategyOptions: wiretype end group for non-group")
11755 }
11756 if fieldNum <= 0 {
11757 return fmt.Errorf("proto: SELinuxStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
11758 }
11759 switch fieldNum {
11760 case 1:
11761 if wireType != 2 {
11762 return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
11763 }
11764 var stringLen uint64
11765 for shift := uint(0); ; shift += 7 {
11766 if shift >= 64 {
11767 return ErrIntOverflowGenerated
11768 }
11769 if iNdEx >= l {
11770 return io.ErrUnexpectedEOF
11771 }
11772 b := dAtA[iNdEx]
11773 iNdEx++
11774 stringLen |= (uint64(b) & 0x7F) << shift
11775 if b < 0x80 {
11776 break
11777 }
11778 }
11779 intStringLen := int(stringLen)
11780 if intStringLen < 0 {
11781 return ErrInvalidLengthGenerated
11782 }
11783 postIndex := iNdEx + intStringLen
11784 if postIndex > l {
11785 return io.ErrUnexpectedEOF
11786 }
11787 m.Rule = SELinuxStrategy(dAtA[iNdEx:postIndex])
11788 iNdEx = postIndex
11789 case 2:
11790 if wireType != 2 {
11791 return fmt.Errorf("proto: wrong wireType = %d for field SELinuxOptions", wireType)
11792 }
11793 var msglen int
11794 for shift := uint(0); ; shift += 7 {
11795 if shift >= 64 {
11796 return ErrIntOverflowGenerated
11797 }
11798 if iNdEx >= l {
11799 return io.ErrUnexpectedEOF
11800 }
11801 b := dAtA[iNdEx]
11802 iNdEx++
11803 msglen |= (int(b) & 0x7F) << shift
11804 if b < 0x80 {
11805 break
11806 }
11807 }
11808 if msglen < 0 {
11809 return ErrInvalidLengthGenerated
11810 }
11811 postIndex := iNdEx + msglen
11812 if postIndex > l {
11813 return io.ErrUnexpectedEOF
11814 }
11815 if m.SELinuxOptions == nil {
11816 m.SELinuxOptions = &k8s_io_api_core_v1.SELinuxOptions{}
11817 }
11818 if err := m.SELinuxOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11819 return err
11820 }
11821 iNdEx = postIndex
11822 default:
11823 iNdEx = preIndex
11824 skippy, err := skipGenerated(dAtA[iNdEx:])
11825 if err != nil {
11826 return err
11827 }
11828 if skippy < 0 {
11829 return ErrInvalidLengthGenerated
11830 }
11831 if (iNdEx + skippy) > l {
11832 return io.ErrUnexpectedEOF
11833 }
11834 iNdEx += skippy
11835 }
11836 }
11837
11838 if iNdEx > l {
11839 return io.ErrUnexpectedEOF
11840 }
11841 return nil
11842}
11843func (m *Scale) Unmarshal(dAtA []byte) error {
11844 l := len(dAtA)
11845 iNdEx := 0
11846 for iNdEx < l {
11847 preIndex := iNdEx
11848 var wire uint64
11849 for shift := uint(0); ; shift += 7 {
11850 if shift >= 64 {
11851 return ErrIntOverflowGenerated
11852 }
11853 if iNdEx >= l {
11854 return io.ErrUnexpectedEOF
11855 }
11856 b := dAtA[iNdEx]
11857 iNdEx++
11858 wire |= (uint64(b) & 0x7F) << shift
11859 if b < 0x80 {
11860 break
11861 }
11862 }
11863 fieldNum := int32(wire >> 3)
11864 wireType := int(wire & 0x7)
11865 if wireType == 4 {
11866 return fmt.Errorf("proto: Scale: wiretype end group for non-group")
11867 }
11868 if fieldNum <= 0 {
11869 return fmt.Errorf("proto: Scale: illegal tag %d (wire type %d)", fieldNum, wire)
11870 }
11871 switch fieldNum {
11872 case 1:
11873 if wireType != 2 {
11874 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
11875 }
11876 var msglen int
11877 for shift := uint(0); ; shift += 7 {
11878 if shift >= 64 {
11879 return ErrIntOverflowGenerated
11880 }
11881 if iNdEx >= l {
11882 return io.ErrUnexpectedEOF
11883 }
11884 b := dAtA[iNdEx]
11885 iNdEx++
11886 msglen |= (int(b) & 0x7F) << shift
11887 if b < 0x80 {
11888 break
11889 }
11890 }
11891 if msglen < 0 {
11892 return ErrInvalidLengthGenerated
11893 }
11894 postIndex := iNdEx + msglen
11895 if postIndex > l {
11896 return io.ErrUnexpectedEOF
11897 }
11898 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11899 return err
11900 }
11901 iNdEx = postIndex
11902 case 2:
11903 if wireType != 2 {
11904 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
11905 }
11906 var msglen int
11907 for shift := uint(0); ; shift += 7 {
11908 if shift >= 64 {
11909 return ErrIntOverflowGenerated
11910 }
11911 if iNdEx >= l {
11912 return io.ErrUnexpectedEOF
11913 }
11914 b := dAtA[iNdEx]
11915 iNdEx++
11916 msglen |= (int(b) & 0x7F) << shift
11917 if b < 0x80 {
11918 break
11919 }
11920 }
11921 if msglen < 0 {
11922 return ErrInvalidLengthGenerated
11923 }
11924 postIndex := iNdEx + msglen
11925 if postIndex > l {
11926 return io.ErrUnexpectedEOF
11927 }
11928 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11929 return err
11930 }
11931 iNdEx = postIndex
11932 case 3:
11933 if wireType != 2 {
11934 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
11935 }
11936 var msglen int
11937 for shift := uint(0); ; shift += 7 {
11938 if shift >= 64 {
11939 return ErrIntOverflowGenerated
11940 }
11941 if iNdEx >= l {
11942 return io.ErrUnexpectedEOF
11943 }
11944 b := dAtA[iNdEx]
11945 iNdEx++
11946 msglen |= (int(b) & 0x7F) << shift
11947 if b < 0x80 {
11948 break
11949 }
11950 }
11951 if msglen < 0 {
11952 return ErrInvalidLengthGenerated
11953 }
11954 postIndex := iNdEx + msglen
11955 if postIndex > l {
11956 return io.ErrUnexpectedEOF
11957 }
11958 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11959 return err
11960 }
11961 iNdEx = postIndex
11962 default:
11963 iNdEx = preIndex
11964 skippy, err := skipGenerated(dAtA[iNdEx:])
11965 if err != nil {
11966 return err
11967 }
11968 if skippy < 0 {
11969 return ErrInvalidLengthGenerated
11970 }
11971 if (iNdEx + skippy) > l {
11972 return io.ErrUnexpectedEOF
11973 }
11974 iNdEx += skippy
11975 }
11976 }
11977
11978 if iNdEx > l {
11979 return io.ErrUnexpectedEOF
11980 }
11981 return nil
11982}
11983func (m *ScaleSpec) Unmarshal(dAtA []byte) error {
11984 l := len(dAtA)
11985 iNdEx := 0
11986 for iNdEx < l {
11987 preIndex := iNdEx
11988 var wire uint64
11989 for shift := uint(0); ; shift += 7 {
11990 if shift >= 64 {
11991 return ErrIntOverflowGenerated
11992 }
11993 if iNdEx >= l {
11994 return io.ErrUnexpectedEOF
11995 }
11996 b := dAtA[iNdEx]
11997 iNdEx++
11998 wire |= (uint64(b) & 0x7F) << shift
11999 if b < 0x80 {
12000 break
12001 }
12002 }
12003 fieldNum := int32(wire >> 3)
12004 wireType := int(wire & 0x7)
12005 if wireType == 4 {
12006 return fmt.Errorf("proto: ScaleSpec: wiretype end group for non-group")
12007 }
12008 if fieldNum <= 0 {
12009 return fmt.Errorf("proto: ScaleSpec: illegal tag %d (wire type %d)", fieldNum, wire)
12010 }
12011 switch fieldNum {
12012 case 1:
12013 if wireType != 0 {
12014 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
12015 }
12016 m.Replicas = 0
12017 for shift := uint(0); ; shift += 7 {
12018 if shift >= 64 {
12019 return ErrIntOverflowGenerated
12020 }
12021 if iNdEx >= l {
12022 return io.ErrUnexpectedEOF
12023 }
12024 b := dAtA[iNdEx]
12025 iNdEx++
12026 m.Replicas |= (int32(b) & 0x7F) << shift
12027 if b < 0x80 {
12028 break
12029 }
12030 }
12031 default:
12032 iNdEx = preIndex
12033 skippy, err := skipGenerated(dAtA[iNdEx:])
12034 if err != nil {
12035 return err
12036 }
12037 if skippy < 0 {
12038 return ErrInvalidLengthGenerated
12039 }
12040 if (iNdEx + skippy) > l {
12041 return io.ErrUnexpectedEOF
12042 }
12043 iNdEx += skippy
12044 }
12045 }
12046
12047 if iNdEx > l {
12048 return io.ErrUnexpectedEOF
12049 }
12050 return nil
12051}
12052func (m *ScaleStatus) Unmarshal(dAtA []byte) error {
12053 l := len(dAtA)
12054 iNdEx := 0
12055 for iNdEx < l {
12056 preIndex := iNdEx
12057 var wire uint64
12058 for shift := uint(0); ; shift += 7 {
12059 if shift >= 64 {
12060 return ErrIntOverflowGenerated
12061 }
12062 if iNdEx >= l {
12063 return io.ErrUnexpectedEOF
12064 }
12065 b := dAtA[iNdEx]
12066 iNdEx++
12067 wire |= (uint64(b) & 0x7F) << shift
12068 if b < 0x80 {
12069 break
12070 }
12071 }
12072 fieldNum := int32(wire >> 3)
12073 wireType := int(wire & 0x7)
12074 if wireType == 4 {
12075 return fmt.Errorf("proto: ScaleStatus: wiretype end group for non-group")
12076 }
12077 if fieldNum <= 0 {
12078 return fmt.Errorf("proto: ScaleStatus: illegal tag %d (wire type %d)", fieldNum, wire)
12079 }
12080 switch fieldNum {
12081 case 1:
12082 if wireType != 0 {
12083 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
12084 }
12085 m.Replicas = 0
12086 for shift := uint(0); ; shift += 7 {
12087 if shift >= 64 {
12088 return ErrIntOverflowGenerated
12089 }
12090 if iNdEx >= l {
12091 return io.ErrUnexpectedEOF
12092 }
12093 b := dAtA[iNdEx]
12094 iNdEx++
12095 m.Replicas |= (int32(b) & 0x7F) << shift
12096 if b < 0x80 {
12097 break
12098 }
12099 }
12100 case 2:
12101 if wireType != 2 {
12102 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
12103 }
12104 var msglen int
12105 for shift := uint(0); ; shift += 7 {
12106 if shift >= 64 {
12107 return ErrIntOverflowGenerated
12108 }
12109 if iNdEx >= l {
12110 return io.ErrUnexpectedEOF
12111 }
12112 b := dAtA[iNdEx]
12113 iNdEx++
12114 msglen |= (int(b) & 0x7F) << shift
12115 if b < 0x80 {
12116 break
12117 }
12118 }
12119 if msglen < 0 {
12120 return ErrInvalidLengthGenerated
12121 }
12122 postIndex := iNdEx + msglen
12123 if postIndex > l {
12124 return io.ErrUnexpectedEOF
12125 }
12126 if m.Selector == nil {
12127 m.Selector = make(map[string]string)
12128 }
12129 var mapkey string
12130 var mapvalue string
12131 for iNdEx < postIndex {
12132 entryPreIndex := iNdEx
12133 var wire uint64
12134 for shift := uint(0); ; shift += 7 {
12135 if shift >= 64 {
12136 return ErrIntOverflowGenerated
12137 }
12138 if iNdEx >= l {
12139 return io.ErrUnexpectedEOF
12140 }
12141 b := dAtA[iNdEx]
12142 iNdEx++
12143 wire |= (uint64(b) & 0x7F) << shift
12144 if b < 0x80 {
12145 break
12146 }
12147 }
12148 fieldNum := int32(wire >> 3)
12149 if fieldNum == 1 {
12150 var stringLenmapkey uint64
12151 for shift := uint(0); ; shift += 7 {
12152 if shift >= 64 {
12153 return ErrIntOverflowGenerated
12154 }
12155 if iNdEx >= l {
12156 return io.ErrUnexpectedEOF
12157 }
12158 b := dAtA[iNdEx]
12159 iNdEx++
12160 stringLenmapkey |= (uint64(b) & 0x7F) << shift
12161 if b < 0x80 {
12162 break
12163 }
12164 }
12165 intStringLenmapkey := int(stringLenmapkey)
12166 if intStringLenmapkey < 0 {
12167 return ErrInvalidLengthGenerated
12168 }
12169 postStringIndexmapkey := iNdEx + intStringLenmapkey
12170 if postStringIndexmapkey > l {
12171 return io.ErrUnexpectedEOF
12172 }
12173 mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
12174 iNdEx = postStringIndexmapkey
12175 } else if fieldNum == 2 {
12176 var stringLenmapvalue uint64
12177 for shift := uint(0); ; shift += 7 {
12178 if shift >= 64 {
12179 return ErrIntOverflowGenerated
12180 }
12181 if iNdEx >= l {
12182 return io.ErrUnexpectedEOF
12183 }
12184 b := dAtA[iNdEx]
12185 iNdEx++
12186 stringLenmapvalue |= (uint64(b) & 0x7F) << shift
12187 if b < 0x80 {
12188 break
12189 }
12190 }
12191 intStringLenmapvalue := int(stringLenmapvalue)
12192 if intStringLenmapvalue < 0 {
12193 return ErrInvalidLengthGenerated
12194 }
12195 postStringIndexmapvalue := iNdEx + intStringLenmapvalue
12196 if postStringIndexmapvalue > l {
12197 return io.ErrUnexpectedEOF
12198 }
12199 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
12200 iNdEx = postStringIndexmapvalue
12201 } else {
12202 iNdEx = entryPreIndex
12203 skippy, err := skipGenerated(dAtA[iNdEx:])
12204 if err != nil {
12205 return err
12206 }
12207 if skippy < 0 {
12208 return ErrInvalidLengthGenerated
12209 }
12210 if (iNdEx + skippy) > postIndex {
12211 return io.ErrUnexpectedEOF
12212 }
12213 iNdEx += skippy
12214 }
12215 }
12216 m.Selector[mapkey] = mapvalue
12217 iNdEx = postIndex
12218 case 3:
12219 if wireType != 2 {
12220 return fmt.Errorf("proto: wrong wireType = %d for field TargetSelector", wireType)
12221 }
12222 var stringLen uint64
12223 for shift := uint(0); ; shift += 7 {
12224 if shift >= 64 {
12225 return ErrIntOverflowGenerated
12226 }
12227 if iNdEx >= l {
12228 return io.ErrUnexpectedEOF
12229 }
12230 b := dAtA[iNdEx]
12231 iNdEx++
12232 stringLen |= (uint64(b) & 0x7F) << shift
12233 if b < 0x80 {
12234 break
12235 }
12236 }
12237 intStringLen := int(stringLen)
12238 if intStringLen < 0 {
12239 return ErrInvalidLengthGenerated
12240 }
12241 postIndex := iNdEx + intStringLen
12242 if postIndex > l {
12243 return io.ErrUnexpectedEOF
12244 }
12245 m.TargetSelector = string(dAtA[iNdEx:postIndex])
12246 iNdEx = postIndex
12247 default:
12248 iNdEx = preIndex
12249 skippy, err := skipGenerated(dAtA[iNdEx:])
12250 if err != nil {
12251 return err
12252 }
12253 if skippy < 0 {
12254 return ErrInvalidLengthGenerated
12255 }
12256 if (iNdEx + skippy) > l {
12257 return io.ErrUnexpectedEOF
12258 }
12259 iNdEx += skippy
12260 }
12261 }
12262
12263 if iNdEx > l {
12264 return io.ErrUnexpectedEOF
12265 }
12266 return nil
12267}
12268func (m *SupplementalGroupsStrategyOptions) Unmarshal(dAtA []byte) error {
12269 l := len(dAtA)
12270 iNdEx := 0
12271 for iNdEx < l {
12272 preIndex := iNdEx
12273 var wire uint64
12274 for shift := uint(0); ; shift += 7 {
12275 if shift >= 64 {
12276 return ErrIntOverflowGenerated
12277 }
12278 if iNdEx >= l {
12279 return io.ErrUnexpectedEOF
12280 }
12281 b := dAtA[iNdEx]
12282 iNdEx++
12283 wire |= (uint64(b) & 0x7F) << shift
12284 if b < 0x80 {
12285 break
12286 }
12287 }
12288 fieldNum := int32(wire >> 3)
12289 wireType := int(wire & 0x7)
12290 if wireType == 4 {
12291 return fmt.Errorf("proto: SupplementalGroupsStrategyOptions: wiretype end group for non-group")
12292 }
12293 if fieldNum <= 0 {
12294 return fmt.Errorf("proto: SupplementalGroupsStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
12295 }
12296 switch fieldNum {
12297 case 1:
12298 if wireType != 2 {
12299 return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
12300 }
12301 var stringLen uint64
12302 for shift := uint(0); ; shift += 7 {
12303 if shift >= 64 {
12304 return ErrIntOverflowGenerated
12305 }
12306 if iNdEx >= l {
12307 return io.ErrUnexpectedEOF
12308 }
12309 b := dAtA[iNdEx]
12310 iNdEx++
12311 stringLen |= (uint64(b) & 0x7F) << shift
12312 if b < 0x80 {
12313 break
12314 }
12315 }
12316 intStringLen := int(stringLen)
12317 if intStringLen < 0 {
12318 return ErrInvalidLengthGenerated
12319 }
12320 postIndex := iNdEx + intStringLen
12321 if postIndex > l {
12322 return io.ErrUnexpectedEOF
12323 }
12324 m.Rule = SupplementalGroupsStrategyType(dAtA[iNdEx:postIndex])
12325 iNdEx = postIndex
12326 case 2:
12327 if wireType != 2 {
12328 return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
12329 }
12330 var msglen int
12331 for shift := uint(0); ; shift += 7 {
12332 if shift >= 64 {
12333 return ErrIntOverflowGenerated
12334 }
12335 if iNdEx >= l {
12336 return io.ErrUnexpectedEOF
12337 }
12338 b := dAtA[iNdEx]
12339 iNdEx++
12340 msglen |= (int(b) & 0x7F) << shift
12341 if b < 0x80 {
12342 break
12343 }
12344 }
12345 if msglen < 0 {
12346 return ErrInvalidLengthGenerated
12347 }
12348 postIndex := iNdEx + msglen
12349 if postIndex > l {
12350 return io.ErrUnexpectedEOF
12351 }
12352 m.Ranges = append(m.Ranges, IDRange{})
12353 if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
12354 return err
12355 }
12356 iNdEx = postIndex
12357 default:
12358 iNdEx = preIndex
12359 skippy, err := skipGenerated(dAtA[iNdEx:])
12360 if err != nil {
12361 return err
12362 }
12363 if skippy < 0 {
12364 return ErrInvalidLengthGenerated
12365 }
12366 if (iNdEx + skippy) > l {
12367 return io.ErrUnexpectedEOF
12368 }
12369 iNdEx += skippy
12370 }
12371 }
12372
12373 if iNdEx > l {
12374 return io.ErrUnexpectedEOF
12375 }
12376 return nil
12377}
12378func skipGenerated(dAtA []byte) (n int, err error) {
12379 l := len(dAtA)
12380 iNdEx := 0
12381 for iNdEx < l {
12382 var wire uint64
12383 for shift := uint(0); ; shift += 7 {
12384 if shift >= 64 {
12385 return 0, ErrIntOverflowGenerated
12386 }
12387 if iNdEx >= l {
12388 return 0, io.ErrUnexpectedEOF
12389 }
12390 b := dAtA[iNdEx]
12391 iNdEx++
12392 wire |= (uint64(b) & 0x7F) << shift
12393 if b < 0x80 {
12394 break
12395 }
12396 }
12397 wireType := int(wire & 0x7)
12398 switch wireType {
12399 case 0:
12400 for shift := uint(0); ; shift += 7 {
12401 if shift >= 64 {
12402 return 0, ErrIntOverflowGenerated
12403 }
12404 if iNdEx >= l {
12405 return 0, io.ErrUnexpectedEOF
12406 }
12407 iNdEx++
12408 if dAtA[iNdEx-1] < 0x80 {
12409 break
12410 }
12411 }
12412 return iNdEx, nil
12413 case 1:
12414 iNdEx += 8
12415 return iNdEx, nil
12416 case 2:
12417 var length int
12418 for shift := uint(0); ; shift += 7 {
12419 if shift >= 64 {
12420 return 0, ErrIntOverflowGenerated
12421 }
12422 if iNdEx >= l {
12423 return 0, io.ErrUnexpectedEOF
12424 }
12425 b := dAtA[iNdEx]
12426 iNdEx++
12427 length |= (int(b) & 0x7F) << shift
12428 if b < 0x80 {
12429 break
12430 }
12431 }
12432 iNdEx += length
12433 if length < 0 {
12434 return 0, ErrInvalidLengthGenerated
12435 }
12436 return iNdEx, nil
12437 case 3:
12438 for {
12439 var innerWire uint64
12440 var start int = iNdEx
12441 for shift := uint(0); ; shift += 7 {
12442 if shift >= 64 {
12443 return 0, ErrIntOverflowGenerated
12444 }
12445 if iNdEx >= l {
12446 return 0, io.ErrUnexpectedEOF
12447 }
12448 b := dAtA[iNdEx]
12449 iNdEx++
12450 innerWire |= (uint64(b) & 0x7F) << shift
12451 if b < 0x80 {
12452 break
12453 }
12454 }
12455 innerWireType := int(innerWire & 0x7)
12456 if innerWireType == 4 {
12457 break
12458 }
12459 next, err := skipGenerated(dAtA[start:])
12460 if err != nil {
12461 return 0, err
12462 }
12463 iNdEx = start + next
12464 }
12465 return iNdEx, nil
12466 case 4:
12467 return iNdEx, nil
12468 case 5:
12469 iNdEx += 4
12470 return iNdEx, nil
12471 default:
12472 return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
12473 }
12474 }
12475 panic("unreachable")
12476}
12477
12478var (
12479 ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
12480 ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
12481)
12482
12483func init() {
12484 proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/extensions/v1beta1/generated.proto", fileDescriptorGenerated)
12485}
12486
12487var fileDescriptorGenerated = []byte{
12488 // 3695 bytes of a gzipped FileDescriptorProto
12489 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0x4f, 0x6c, 0x1b, 0x47,
12490 0x77, 0xf7, 0x92, 0x94, 0x48, 0x3d, 0xfd, 0x1f, 0xc9, 0x12, 0x3f, 0x3b, 0x16, 0xfd, 0x6d, 0x00,
12491 0xd7, 0x49, 0x6d, 0x32, 0x76, 0x6c, 0x7f, 0xae, 0x8d, 0x26, 0x11, 0x25, 0xcb, 0x56, 0xaa, 0x3f,
12492 0xcc, 0x50, 0x72, 0x83, 0xa0, 0x49, 0xb3, 0x22, 0x47, 0xd4, 0x5a, 0xcb, 0xdd, 0xcd, 0xce, 0x52,
12493 0x11, 0x81, 0x1e, 0x7a, 0x28, 0x0a, 0x14, 0x68, 0xd1, 0x5e, 0xd2, 0xf6, 0xd8, 0xa0, 0x40, 0x4f,
12494 0x2d, 0xda, 0x5b, 0x7b, 0x08, 0x02, 0x14, 0x48, 0x01, 0xa3, 0x48, 0x8b, 0xdc, 0x9a, 0x93, 0xd0,
12495 0x28, 0xa7, 0xa2, 0xa7, 0xde, 0x0a, 0x1f, 0x8a, 0x62, 0x66, 0x67, 0xff, 0xef, 0x8a, 0x2b, 0xc5,
12496 0x16, 0x8a, 0xe2, 0xbb, 0x89, 0xf3, 0xde, 0xfb, 0xbd, 0x37, 0x33, 0x6f, 0xde, 0x7b, 0x33, 0xfb,
12497 0x04, 0x2b, 0xfb, 0xf7, 0x69, 0x55, 0x35, 0x6a, 0xfb, 0xbd, 0x1d, 0x62, 0xe9, 0xc4, 0x26, 0xb4,
12498 0x76, 0x40, 0xf4, 0xb6, 0x61, 0xd5, 0x04, 0x41, 0x31, 0xd5, 0x1a, 0x39, 0xb4, 0x89, 0x4e, 0x55,
12499 0x43, 0xa7, 0xb5, 0x83, 0x5b, 0x3b, 0xc4, 0x56, 0x6e, 0xd5, 0x3a, 0x44, 0x27, 0x96, 0x62, 0x93,
12500 0x76, 0xd5, 0xb4, 0x0c, 0xdb, 0x40, 0x57, 0x1c, 0xf6, 0xaa, 0x62, 0xaa, 0x55, 0x9f, 0xbd, 0x2a,
12501 0xd8, 0x2f, 0xdd, 0xec, 0xa8, 0xf6, 0x5e, 0x6f, 0xa7, 0xda, 0x32, 0xba, 0xb5, 0x8e, 0xd1, 0x31,
12502 0x6a, 0x5c, 0x6a, 0xa7, 0xb7, 0xcb, 0x7f, 0xf1, 0x1f, 0xfc, 0x2f, 0x07, 0xed, 0x92, 0x1c, 0x50,
12503 0xde, 0x32, 0x2c, 0x52, 0x3b, 0x88, 0x69, 0xbc, 0x74, 0xc7, 0xe7, 0xe9, 0x2a, 0xad, 0x3d, 0x55,
12504 0x27, 0x56, 0xbf, 0x66, 0xee, 0x77, 0xd8, 0x00, 0xad, 0x75, 0x89, 0xad, 0x24, 0x49, 0xd5, 0xd2,
12505 0xa4, 0xac, 0x9e, 0x6e, 0xab, 0x5d, 0x12, 0x13, 0xb8, 0x37, 0x48, 0x80, 0xb6, 0xf6, 0x48, 0x57,
12506 0x89, 0xc9, 0xbd, 0x9d, 0x26, 0xd7, 0xb3, 0x55, 0xad, 0xa6, 0xea, 0x36, 0xb5, 0xad, 0xa8, 0x90,
12507 0x7c, 0x07, 0xa6, 0x16, 0x35, 0xcd, 0xf8, 0x9c, 0xb4, 0x97, 0x9a, 0xab, 0xcb, 0x96, 0x7a, 0x40,
12508 0x2c, 0x74, 0x15, 0x0a, 0xba, 0xd2, 0x25, 0x65, 0xe9, 0xaa, 0x74, 0x7d, 0xa4, 0x3e, 0xf6, 0xfc,
12509 0xa8, 0x72, 0xe1, 0xf8, 0xa8, 0x52, 0xd8, 0x50, 0xba, 0x04, 0x73, 0x8a, 0xfc, 0x10, 0xa6, 0x85,
12510 0xd4, 0x8a, 0x46, 0x0e, 0x9f, 0x1a, 0x5a, 0xaf, 0x4b, 0xd0, 0x35, 0x18, 0x6e, 0x73, 0x00, 0x21,
12511 0x38, 0x21, 0x04, 0x87, 0x1d, 0x58, 0x2c, 0xa8, 0x32, 0x85, 0x49, 0x21, 0xfc, 0xc4, 0xa0, 0x76,
12512 0x43, 0xb1, 0xf7, 0xd0, 0x6d, 0x00, 0x53, 0xb1, 0xf7, 0x1a, 0x16, 0xd9, 0x55, 0x0f, 0x85, 0x38,
12513 0x12, 0xe2, 0xd0, 0xf0, 0x28, 0x38, 0xc0, 0x85, 0x6e, 0x40, 0xc9, 0x22, 0x4a, 0x7b, 0x53, 0xd7,
12514 0xfa, 0xe5, 0xdc, 0x55, 0xe9, 0x7a, 0xa9, 0x3e, 0x25, 0x24, 0x4a, 0x58, 0x8c, 0x63, 0x8f, 0x43,
12515 0xfe, 0x22, 0x07, 0x23, 0xcb, 0x0a, 0xe9, 0x1a, 0x7a, 0x93, 0xd8, 0xe8, 0x53, 0x28, 0xb1, 0xed,
12516 0x6a, 0x2b, 0xb6, 0xc2, 0xb5, 0x8d, 0xde, 0x7e, 0xab, 0xea, 0xbb, 0x93, 0xb7, 0x7a, 0x55, 0x73,
12517 0xbf, 0xc3, 0x06, 0x68, 0x95, 0x71, 0x57, 0x0f, 0x6e, 0x55, 0x37, 0x77, 0x9e, 0x91, 0x96, 0xbd,
12518 0x4e, 0x6c, 0xc5, 0xb7, 0xcf, 0x1f, 0xc3, 0x1e, 0x2a, 0xda, 0x80, 0x02, 0x35, 0x49, 0x8b, 0x5b,
12519 0x36, 0x7a, 0xfb, 0x46, 0xf5, 0x44, 0x67, 0xad, 0x7a, 0x96, 0x35, 0x4d, 0xd2, 0xf2, 0x57, 0x9c,
12520 0xfd, 0xc2, 0x1c, 0x07, 0x3d, 0x85, 0x61, 0x6a, 0x2b, 0x76, 0x8f, 0x96, 0xf3, 0x1c, 0xb1, 0x9a,
12521 0x19, 0x91, 0x4b, 0xf9, 0x9b, 0xe1, 0xfc, 0xc6, 0x02, 0x4d, 0xfe, 0x8f, 0x1c, 0x20, 0x8f, 0x77,
12522 0xc9, 0xd0, 0xdb, 0xaa, 0xad, 0x1a, 0x3a, 0x7a, 0x00, 0x05, 0xbb, 0x6f, 0xba, 0x2e, 0x70, 0xcd,
12523 0x35, 0x68, 0xab, 0x6f, 0x92, 0x17, 0x47, 0x95, 0xb9, 0xb8, 0x04, 0xa3, 0x60, 0x2e, 0x83, 0xd6,
12524 0x3c, 0x53, 0x73, 0x5c, 0xfa, 0x4e, 0x58, 0xf5, 0x8b, 0xa3, 0x4a, 0xc2, 0x61, 0xab, 0x7a, 0x48,
12525 0x61, 0x03, 0xd1, 0x01, 0x20, 0x4d, 0xa1, 0xf6, 0x96, 0xa5, 0xe8, 0xd4, 0xd1, 0xa4, 0x76, 0x89,
12526 0x58, 0x84, 0x37, 0xb3, 0x6d, 0x1a, 0x93, 0xa8, 0x5f, 0x12, 0x56, 0xa0, 0xb5, 0x18, 0x1a, 0x4e,
12527 0xd0, 0xc0, 0xbc, 0xd9, 0x22, 0x0a, 0x35, 0xf4, 0x72, 0x21, 0xec, 0xcd, 0x98, 0x8f, 0x62, 0x41,
12528 0x45, 0x6f, 0x40, 0xb1, 0x4b, 0x28, 0x55, 0x3a, 0xa4, 0x3c, 0xc4, 0x19, 0x27, 0x05, 0x63, 0x71,
12529 0xdd, 0x19, 0xc6, 0x2e, 0x5d, 0xfe, 0x4a, 0x82, 0x71, 0x6f, 0xe5, 0xd6, 0x54, 0x6a, 0xa3, 0xdf,
12530 0x8a, 0xf9, 0x61, 0x35, 0xdb, 0x94, 0x98, 0x34, 0xf7, 0x42, 0xcf, 0xe7, 0xdd, 0x91, 0x80, 0x0f,
12531 0xae, 0xc3, 0x90, 0x6a, 0x93, 0x2e, 0xdb, 0x87, 0xfc, 0xf5, 0xd1, 0xdb, 0xd7, 0xb3, 0xba, 0x4c,
12532 0x7d, 0x5c, 0x80, 0x0e, 0xad, 0x32, 0x71, 0xec, 0xa0, 0xc8, 0x7f, 0x5a, 0x08, 0x98, 0xcf, 0x5c,
12533 0x13, 0x7d, 0x0c, 0x25, 0x4a, 0x34, 0xd2, 0xb2, 0x0d, 0x4b, 0x98, 0xff, 0x76, 0x46, 0xf3, 0x95,
12534 0x1d, 0xa2, 0x35, 0x85, 0x68, 0x7d, 0x8c, 0xd9, 0xef, 0xfe, 0xc2, 0x1e, 0x24, 0xfa, 0x00, 0x4a,
12535 0x36, 0xe9, 0x9a, 0x9a, 0x62, 0x13, 0x71, 0x8e, 0x5e, 0x0f, 0x4e, 0x81, 0x79, 0x0e, 0x03, 0x6b,
12536 0x18, 0xed, 0x2d, 0xc1, 0xc6, 0x8f, 0x8f, 0xb7, 0x24, 0xee, 0x28, 0xf6, 0x60, 0xd0, 0x01, 0x4c,
12537 0xf4, 0xcc, 0x36, 0xe3, 0xb4, 0x59, 0x14, 0xec, 0xf4, 0x85, 0x27, 0xdd, 0xcb, 0xba, 0x36, 0xdb,
12538 0x21, 0xe9, 0xfa, 0x9c, 0xd0, 0x35, 0x11, 0x1e, 0xc7, 0x11, 0x2d, 0x68, 0x11, 0x26, 0xbb, 0xaa,
12539 0xce, 0xe2, 0x52, 0xbf, 0x49, 0x5a, 0x86, 0xde, 0xa6, 0xdc, 0xad, 0x86, 0xea, 0xf3, 0x02, 0x60,
12540 0x72, 0x3d, 0x4c, 0xc6, 0x51, 0x7e, 0xf4, 0x3e, 0x20, 0x77, 0x1a, 0x8f, 0x9d, 0x20, 0xae, 0x1a,
12541 0x3a, 0xf7, 0xb9, 0xbc, 0xef, 0xdc, 0x5b, 0x31, 0x0e, 0x9c, 0x20, 0x85, 0xd6, 0x60, 0xd6, 0x22,
12542 0x07, 0x2a, 0x9b, 0xe3, 0x13, 0x95, 0xda, 0x86, 0xd5, 0x5f, 0x53, 0xbb, 0xaa, 0x5d, 0x1e, 0xe6,
12543 0x36, 0x95, 0x8f, 0x8f, 0x2a, 0xb3, 0x38, 0x81, 0x8e, 0x13, 0xa5, 0xe4, 0x3f, 0x1b, 0x86, 0xc9,
12544 0x48, 0xbc, 0x41, 0x4f, 0x61, 0xae, 0xd5, 0xb3, 0x2c, 0xa2, 0xdb, 0x1b, 0xbd, 0xee, 0x0e, 0xb1,
12545 0x9a, 0xad, 0x3d, 0xd2, 0xee, 0x69, 0xa4, 0xcd, 0x1d, 0x65, 0xa8, 0xbe, 0x20, 0x2c, 0x9e, 0x5b,
12546 0x4a, 0xe4, 0xc2, 0x29, 0xd2, 0x6c, 0x15, 0x74, 0x3e, 0xb4, 0xae, 0x52, 0xea, 0x61, 0xe6, 0x38,
12547 0xa6, 0xb7, 0x0a, 0x1b, 0x31, 0x0e, 0x9c, 0x20, 0xc5, 0x6c, 0x6c, 0x13, 0xaa, 0x5a, 0xa4, 0x1d,
12548 0xb5, 0x31, 0x1f, 0xb6, 0x71, 0x39, 0x91, 0x0b, 0xa7, 0x48, 0xa3, 0xbb, 0x30, 0xea, 0x68, 0xe3,
12549 0xfb, 0x27, 0x36, 0x7a, 0x46, 0x80, 0x8d, 0x6e, 0xf8, 0x24, 0x1c, 0xe4, 0x63, 0x53, 0x33, 0x76,
12550 0x28, 0xb1, 0x0e, 0x48, 0x3b, 0x7d, 0x83, 0x37, 0x63, 0x1c, 0x38, 0x41, 0x8a, 0x4d, 0xcd, 0xf1,
12551 0xc0, 0xd8, 0xd4, 0x86, 0xc3, 0x53, 0xdb, 0x4e, 0xe4, 0xc2, 0x29, 0xd2, 0xcc, 0x8f, 0x1d, 0x93,
12552 0x17, 0x0f, 0x14, 0x55, 0x53, 0x76, 0x34, 0x52, 0x2e, 0x86, 0xfd, 0x78, 0x23, 0x4c, 0xc6, 0x51,
12553 0x7e, 0xf4, 0x18, 0xa6, 0x9d, 0xa1, 0x6d, 0x5d, 0xf1, 0x40, 0x4a, 0x1c, 0xe4, 0x67, 0x02, 0x64,
12554 0x7a, 0x23, 0xca, 0x80, 0xe3, 0x32, 0xe8, 0x01, 0x4c, 0xb4, 0x0c, 0x4d, 0xe3, 0xfe, 0xb8, 0x64,
12555 0xf4, 0x74, 0xbb, 0x3c, 0xc2, 0x51, 0x10, 0x3b, 0x8f, 0x4b, 0x21, 0x0a, 0x8e, 0x70, 0x22, 0x02,
12556 0xd0, 0x72, 0x13, 0x0e, 0x2d, 0x03, 0x8f, 0x8f, 0xb7, 0xb2, 0xc6, 0x00, 0x2f, 0x55, 0xf9, 0x35,
12557 0x80, 0x37, 0x44, 0x71, 0x00, 0x58, 0xfe, 0x67, 0x09, 0xe6, 0x53, 0x42, 0x07, 0x7a, 0x37, 0x94,
12558 0x62, 0x7f, 0x35, 0x92, 0x62, 0x2f, 0xa7, 0x88, 0x05, 0xf2, 0xac, 0x0e, 0xe3, 0x16, 0x9b, 0x95,
12559 0xde, 0x71, 0x58, 0x44, 0x8c, 0xbc, 0x3b, 0x60, 0x1a, 0x38, 0x28, 0xe3, 0xc7, 0xfc, 0xe9, 0xe3,
12560 0xa3, 0xca, 0x78, 0x88, 0x86, 0xc3, 0xf0, 0xf2, 0x9f, 0xe7, 0x00, 0x96, 0x89, 0xa9, 0x19, 0xfd,
12561 0x2e, 0xd1, 0xcf, 0xa3, 0x86, 0xda, 0x0c, 0xd5, 0x50, 0x37, 0x07, 0x6d, 0x8f, 0x67, 0x5a, 0x6a,
12562 0x11, 0xf5, 0x9b, 0x91, 0x22, 0xaa, 0x96, 0x1d, 0xf2, 0xe4, 0x2a, 0xea, 0xdf, 0xf2, 0x30, 0xe3,
12563 0x33, 0xfb, 0x65, 0xd4, 0xc3, 0xd0, 0x1e, 0xff, 0x4a, 0x64, 0x8f, 0xe7, 0x13, 0x44, 0x5e, 0x59,
12564 0x1d, 0xf5, 0xf2, 0xeb, 0x19, 0xf4, 0x0c, 0x26, 0x58, 0xe1, 0xe4, 0xb8, 0x07, 0x2f, 0xcb, 0x86,
12565 0x4f, 0x5d, 0x96, 0x79, 0x09, 0x74, 0x2d, 0x84, 0x84, 0x23, 0xc8, 0x29, 0x65, 0x60, 0xf1, 0x55,
12566 0x97, 0x81, 0xf2, 0xd7, 0x12, 0x4c, 0xf8, 0xdb, 0x74, 0x0e, 0x45, 0xdb, 0x46, 0xb8, 0x68, 0x7b,
12567 0x23, 0xb3, 0x8b, 0xa6, 0x54, 0x6d, 0xff, 0xcd, 0x0a, 0x7c, 0x8f, 0x89, 0x1d, 0xf0, 0x1d, 0xa5,
12568 0xb5, 0x3f, 0xf8, 0x8e, 0x87, 0xbe, 0x90, 0x00, 0x89, 0x2c, 0xb0, 0xa8, 0xeb, 0x86, 0xad, 0x38,
12569 0xb1, 0xd2, 0x31, 0x6b, 0x35, 0xb3, 0x59, 0xae, 0xc6, 0xea, 0x76, 0x0c, 0xeb, 0x91, 0x6e, 0x5b,
12570 0x7d, 0x7f, 0x47, 0xe2, 0x0c, 0x38, 0xc1, 0x00, 0xa4, 0x00, 0x58, 0x02, 0x73, 0xcb, 0x10, 0x07,
12571 0xf9, 0x66, 0x86, 0x98, 0xc7, 0x04, 0x96, 0x0c, 0x7d, 0x57, 0xed, 0xf8, 0x61, 0x07, 0x7b, 0x40,
12572 0x38, 0x00, 0x7a, 0xe9, 0x11, 0xcc, 0xa7, 0x58, 0x8b, 0xa6, 0x20, 0xbf, 0x4f, 0xfa, 0xce, 0xb2,
12573 0x61, 0xf6, 0x27, 0x9a, 0x85, 0xa1, 0x03, 0x45, 0xeb, 0x39, 0xe1, 0x77, 0x04, 0x3b, 0x3f, 0x1e,
12574 0xe4, 0xee, 0x4b, 0xf2, 0x57, 0x43, 0x41, 0xdf, 0xe1, 0x15, 0xf3, 0x75, 0x76, 0x69, 0x35, 0x35,
12575 0xb5, 0xa5, 0x50, 0x51, 0x08, 0x8d, 0x39, 0x17, 0x56, 0x67, 0x0c, 0x7b, 0xd4, 0x50, 0x6d, 0x9d,
12576 0x7b, 0xb5, 0xb5, 0x75, 0xfe, 0xe5, 0xd4, 0xd6, 0xbf, 0x0d, 0x25, 0xea, 0x56, 0xd5, 0x05, 0x0e,
12577 0x79, 0xeb, 0x14, 0xf1, 0x55, 0x14, 0xd4, 0x9e, 0x02, 0xaf, 0x94, 0xf6, 0x40, 0x93, 0x8a, 0xe8,
12578 0xa1, 0x53, 0x16, 0xd1, 0x2f, 0xb5, 0xf0, 0x65, 0x31, 0xd5, 0x54, 0x7a, 0x94, 0xb4, 0x79, 0x20,
12579 0x2a, 0xf9, 0x31, 0xb5, 0xc1, 0x47, 0xb1, 0xa0, 0xa2, 0x8f, 0x43, 0x2e, 0x5b, 0x3a, 0x8b, 0xcb,
12580 0x4e, 0xa4, 0xbb, 0x2b, 0xda, 0x86, 0x79, 0xd3, 0x32, 0x3a, 0x16, 0xa1, 0x74, 0x99, 0x28, 0x6d,
12581 0x4d, 0xd5, 0x89, 0xbb, 0x3e, 0x4e, 0x45, 0x74, 0xf9, 0xf8, 0xa8, 0x32, 0xdf, 0x48, 0x66, 0xc1,
12582 0x69, 0xb2, 0xf2, 0xf3, 0x02, 0x4c, 0x45, 0x33, 0x60, 0x4a, 0x91, 0x2a, 0x9d, 0xa9, 0x48, 0xbd,
12583 0x11, 0x38, 0x0c, 0x4e, 0x05, 0x1f, 0x78, 0xc1, 0x89, 0x1d, 0x88, 0x45, 0x98, 0x14, 0xd1, 0xc0,
12584 0x25, 0x8a, 0x32, 0xdd, 0xdb, 0xfd, 0xed, 0x30, 0x19, 0x47, 0xf9, 0x59, 0xe9, 0xe9, 0x57, 0x94,
12585 0x2e, 0x48, 0x21, 0x5c, 0x7a, 0x2e, 0x46, 0x19, 0x70, 0x5c, 0x06, 0xad, 0xc3, 0x4c, 0x4f, 0x8f,
12586 0x43, 0x39, 0xde, 0x78, 0x59, 0x40, 0xcd, 0x6c, 0xc7, 0x59, 0x70, 0x92, 0x1c, 0xda, 0x0d, 0x55,
12587 0xa3, 0xc3, 0x3c, 0xc2, 0xde, 0xce, 0x7c, 0x76, 0x32, 0x97, 0xa3, 0xe8, 0x21, 0x8c, 0x5b, 0xfc,
12588 0xde, 0xe1, 0x1a, 0xec, 0xd4, 0xee, 0x17, 0x85, 0xd8, 0x38, 0x0e, 0x12, 0x71, 0x98, 0x37, 0xa1,
12589 0xdc, 0x2e, 0x65, 0x2d, 0xb7, 0xe5, 0x7f, 0x94, 0x82, 0x49, 0xc8, 0x2b, 0x81, 0x07, 0xbd, 0x32,
12590 0xc5, 0x24, 0x02, 0xd5, 0x91, 0x91, 0x5c, 0xfd, 0xde, 0x3b, 0x55, 0xf5, 0xeb, 0x27, 0xcf, 0xc1,
12591 0xe5, 0xef, 0x97, 0x12, 0xcc, 0xad, 0x34, 0x1f, 0x5b, 0x46, 0xcf, 0x74, 0xcd, 0xd9, 0x34, 0x9d,
12592 0x75, 0xfd, 0x05, 0x14, 0xac, 0x9e, 0xe6, 0xce, 0xe3, 0x75, 0x77, 0x1e, 0xb8, 0xa7, 0xb1, 0x79,
12593 0xcc, 0x44, 0xa4, 0x9c, 0x49, 0x30, 0x01, 0xb4, 0x01, 0xc3, 0x96, 0xa2, 0x77, 0x88, 0x9b, 0x56,
12594 0xaf, 0x0d, 0xb0, 0x7e, 0x75, 0x19, 0x33, 0xf6, 0x40, 0xf1, 0xc6, 0xa5, 0xb1, 0x40, 0x91, 0xff,
12595 0x48, 0x82, 0xc9, 0x27, 0x5b, 0x5b, 0x8d, 0x55, 0x9d, 0x9f, 0x68, 0xfe, 0xb6, 0x7a, 0x15, 0x0a,
12596 0xa6, 0x62, 0xef, 0x45, 0x33, 0x3d, 0xa3, 0x61, 0x4e, 0x41, 0x1f, 0x42, 0x91, 0x45, 0x12, 0xa2,
12597 0xb7, 0x33, 0x96, 0xda, 0x02, 0xbe, 0xee, 0x08, 0xf9, 0x15, 0xa2, 0x18, 0xc0, 0x2e, 0x9c, 0xbc,
12598 0x0f, 0xb3, 0x01, 0x73, 0xd8, 0x7a, 0x3c, 0x65, 0xd9, 0x11, 0x35, 0x61, 0x88, 0x69, 0x66, 0x39,
12599 0x30, 0x9f, 0xe1, 0x31, 0x33, 0x32, 0x25, 0xbf, 0xd2, 0x61, 0xbf, 0x28, 0x76, 0xb0, 0xe4, 0x75,
12600 0x18, 0xe7, 0x0f, 0xca, 0x86, 0x65, 0xf3, 0x65, 0x41, 0x57, 0x20, 0xdf, 0x55, 0x75, 0x91, 0x67,
12601 0x47, 0x85, 0x4c, 0x9e, 0xe5, 0x08, 0x36, 0xce, 0xc9, 0xca, 0xa1, 0x88, 0x3c, 0x3e, 0x59, 0x39,
12602 0xc4, 0x6c, 0x5c, 0x7e, 0x0c, 0x45, 0xb1, 0xdc, 0x41, 0xa0, 0xfc, 0xc9, 0x40, 0xf9, 0x04, 0xa0,
12603 0x4d, 0x28, 0xae, 0x36, 0xea, 0x9a, 0xe1, 0x54, 0x5d, 0x2d, 0xb5, 0x6d, 0x45, 0xf7, 0x62, 0x69,
12604 0x75, 0x19, 0x63, 0x4e, 0x41, 0x32, 0x0c, 0x93, 0xc3, 0x16, 0x31, 0x6d, 0xee, 0x11, 0x23, 0x75,
12605 0x60, 0xbb, 0xfc, 0x88, 0x8f, 0x60, 0x41, 0x91, 0xff, 0x38, 0x07, 0x45, 0xb1, 0x1c, 0xe7, 0x70,
12606 0x0b, 0x5b, 0x0b, 0xdd, 0xc2, 0xde, 0xcc, 0xe6, 0x1a, 0xa9, 0x57, 0xb0, 0xad, 0xc8, 0x15, 0xec,
12607 0x46, 0x46, 0xbc, 0x93, 0xef, 0x5f, 0x7f, 0x27, 0xc1, 0x44, 0xd8, 0x29, 0xd1, 0x5d, 0x18, 0x65,
12608 0x09, 0x47, 0x6d, 0x91, 0x0d, 0xbf, 0xce, 0xf5, 0x1e, 0x61, 0x9a, 0x3e, 0x09, 0x07, 0xf9, 0x50,
12609 0xc7, 0x13, 0x63, 0x7e, 0x24, 0x26, 0x9d, 0xbe, 0xa4, 0x3d, 0x5b, 0xd5, 0xaa, 0xce, 0xa7, 0x95,
12610 0xea, 0xaa, 0x6e, 0x6f, 0x5a, 0x4d, 0xdb, 0x52, 0xf5, 0x4e, 0x4c, 0x11, 0x77, 0xca, 0x20, 0xb2,
12611 0xfc, 0x0f, 0x12, 0x8c, 0x0a, 0x93, 0xcf, 0xe1, 0x56, 0xf1, 0x1b, 0xe1, 0x5b, 0xc5, 0xb5, 0x8c,
12612 0x07, 0x3c, 0xf9, 0x4a, 0xf1, 0x57, 0xbe, 0xe9, 0xec, 0x48, 0x33, 0xaf, 0xde, 0x33, 0xa8, 0x1d,
12613 0xf5, 0x6a, 0x76, 0x18, 0x31, 0xa7, 0xa0, 0x1e, 0x4c, 0xa9, 0x91, 0x18, 0x20, 0x96, 0xb6, 0x96,
12614 0xcd, 0x12, 0x4f, 0xac, 0x5e, 0x16, 0xf0, 0x53, 0x51, 0x0a, 0x8e, 0xa9, 0x90, 0x09, 0xc4, 0xb8,
12615 0xd0, 0x07, 0x50, 0xd8, 0xb3, 0x6d, 0x33, 0xe1, 0xbd, 0x7a, 0x40, 0xe4, 0xf1, 0x4d, 0x28, 0xf1,
12616 0xd9, 0x6d, 0x6d, 0x35, 0x30, 0x87, 0x92, 0xff, 0xc7, 0x5f, 0x8f, 0xa6, 0xe3, 0xe3, 0x5e, 0x3c,
12617 0x95, 0xce, 0x12, 0x4f, 0x47, 0x93, 0x62, 0x29, 0x7a, 0x02, 0x79, 0x5b, 0xcb, 0x7a, 0x2d, 0x14,
12618 0x88, 0x5b, 0x6b, 0x4d, 0x3f, 0x20, 0x6d, 0xad, 0x35, 0x31, 0x83, 0x40, 0x9b, 0x30, 0xc4, 0xb2,
12619 0x0f, 0x3b, 0x82, 0xf9, 0xec, 0x47, 0x9a, 0xcd, 0xdf, 0x77, 0x08, 0xf6, 0x8b, 0x62, 0x07, 0x47,
12620 0xfe, 0x0c, 0xc6, 0x43, 0xe7, 0x14, 0x7d, 0x0a, 0x63, 0x9a, 0xa1, 0xb4, 0xeb, 0x8a, 0xa6, 0xe8,
12621 0x2d, 0xe2, 0x7e, 0x1c, 0xb8, 0x96, 0x74, 0xc3, 0x58, 0x0b, 0xf0, 0x89, 0x53, 0x3e, 0x2b, 0x94,
12622 0x8c, 0x05, 0x69, 0x38, 0x84, 0x28, 0x2b, 0x00, 0xfe, 0x1c, 0x51, 0x05, 0x86, 0x98, 0x9f, 0x39,
12623 0xf9, 0x64, 0xa4, 0x3e, 0xc2, 0x2c, 0x64, 0xee, 0x47, 0xb1, 0x33, 0x8e, 0x6e, 0x03, 0x50, 0xd2,
12624 0xb2, 0x88, 0xcd, 0x83, 0x41, 0x2e, 0xfc, 0x81, 0xb1, 0xe9, 0x51, 0x70, 0x80, 0x4b, 0xfe, 0x27,
12625 0x09, 0xc6, 0x37, 0x88, 0xfd, 0xb9, 0x61, 0xed, 0x37, 0x0c, 0x4d, 0x6d, 0xf5, 0xcf, 0x21, 0xd8,
12626 0xe2, 0x50, 0xb0, 0x7d, 0x6b, 0xc0, 0xce, 0x84, 0xac, 0x4b, 0x0b, 0xb9, 0xf2, 0xd7, 0x12, 0xcc,
12627 0x87, 0x38, 0x1f, 0xf9, 0x47, 0x77, 0x1b, 0x86, 0x4c, 0xc3, 0xb2, 0xdd, 0x44, 0x7c, 0x2a, 0x85,
12628 0x2c, 0x8c, 0x05, 0x52, 0x31, 0x83, 0xc1, 0x0e, 0x1a, 0x5a, 0x83, 0x9c, 0x6d, 0x08, 0x57, 0x3d,
12629 0x1d, 0x26, 0x21, 0x56, 0x1d, 0x04, 0x66, 0x6e, 0xcb, 0xc0, 0x39, 0xdb, 0x60, 0x1b, 0x51, 0x0e,
12630 0x71, 0x05, 0x83, 0xcf, 0x2b, 0x9a, 0x01, 0x86, 0xc2, 0xae, 0x65, 0x74, 0xcf, 0x3c, 0x07, 0x6f,
12631 0x23, 0x56, 0x2c, 0xa3, 0x8b, 0x39, 0x96, 0xfc, 0x8d, 0x04, 0xd3, 0x21, 0xce, 0x73, 0x08, 0xfc,
12632 0x1f, 0x84, 0x03, 0xff, 0x8d, 0xd3, 0x4c, 0x24, 0x25, 0xfc, 0x7f, 0x93, 0x8b, 0x4c, 0x83, 0x4d,
12633 0x18, 0xed, 0xc2, 0xa8, 0x69, 0xb4, 0x9b, 0x2f, 0xe1, 0x73, 0xe0, 0x24, 0xcb, 0x9b, 0x0d, 0x1f,
12634 0x0b, 0x07, 0x81, 0xd1, 0x21, 0x4c, 0xeb, 0x4a, 0x97, 0x50, 0x53, 0x69, 0x91, 0xe6, 0x4b, 0x78,
12635 0x20, 0xb9, 0xc8, 0xbf, 0x37, 0x44, 0x11, 0x71, 0x5c, 0x09, 0x5a, 0x87, 0xa2, 0x6a, 0xf2, 0x3a,
12636 0x4e, 0xd4, 0x2e, 0x03, 0xb3, 0xa8, 0x53, 0xf5, 0x39, 0xf1, 0x5c, 0xfc, 0xc0, 0x2e, 0x86, 0xfc,
12637 0xd7, 0x51, 0x6f, 0x60, 0xfe, 0x87, 0x1e, 0x43, 0x89, 0x37, 0x66, 0xb4, 0x0c, 0xcd, 0xfd, 0x32,
12638 0xc0, 0x76, 0xb6, 0x21, 0xc6, 0x5e, 0x1c, 0x55, 0x2e, 0x27, 0x3c, 0xfa, 0xba, 0x64, 0xec, 0x09,
12639 0xa3, 0x0d, 0x28, 0x98, 0x3f, 0xa5, 0x82, 0xe1, 0x49, 0x8e, 0x97, 0x2d, 0x1c, 0x47, 0xfe, 0xbd,
12640 0x7c, 0xc4, 0x5c, 0x9e, 0xea, 0x9e, 0xbd, 0xb4, 0x5d, 0xf7, 0x2a, 0xa6, 0xd4, 0x9d, 0xdf, 0x81,
12641 0xa2, 0xc8, 0xf0, 0xc2, 0x99, 0x7f, 0x71, 0x1a, 0x67, 0x0e, 0x66, 0x31, 0xef, 0xc2, 0xe2, 0x0e,
12642 0xba, 0xc0, 0xe8, 0x13, 0x18, 0x26, 0x8e, 0x0a, 0x27, 0x37, 0xde, 0x3b, 0x8d, 0x0a, 0x3f, 0xae,
12643 0xfa, 0x85, 0xaa, 0x18, 0x13, 0xa8, 0xe8, 0x5d, 0xb6, 0x5e, 0x8c, 0x97, 0x5d, 0x02, 0x69, 0xb9,
12644 0xc0, 0xd3, 0xd5, 0x15, 0x67, 0xda, 0xde, 0xf0, 0x8b, 0xa3, 0x0a, 0xf8, 0x3f, 0x71, 0x50, 0x42,
12645 0xfe, 0x17, 0x09, 0xa6, 0xf9, 0x0a, 0xb5, 0x7a, 0x96, 0x6a, 0xf7, 0xcf, 0x2d, 0x31, 0x3d, 0x0d,
12646 0x25, 0xa6, 0x3b, 0x03, 0x96, 0x25, 0x66, 0x61, 0x6a, 0x72, 0xfa, 0x56, 0x82, 0x8b, 0x31, 0xee,
12647 0x73, 0x88, 0x8b, 0xdb, 0xe1, 0xb8, 0xf8, 0xd6, 0x69, 0x27, 0x94, 0x12, 0x1b, 0xff, 0x6b, 0x3a,
12648 0x61, 0x3a, 0xfc, 0xa4, 0xdc, 0x06, 0x30, 0x2d, 0xf5, 0x40, 0xd5, 0x48, 0x47, 0x7c, 0x04, 0x2f,
12649 0x05, 0x5a, 0x9c, 0x3c, 0x0a, 0x0e, 0x70, 0x21, 0x0a, 0x73, 0x6d, 0xb2, 0xab, 0xf4, 0x34, 0x7b,
12650 0xb1, 0xdd, 0x5e, 0x52, 0x4c, 0x65, 0x47, 0xd5, 0x54, 0x5b, 0x15, 0xcf, 0x05, 0x23, 0xf5, 0x87,
12651 0xce, 0xc7, 0xe9, 0x24, 0x8e, 0x17, 0x47, 0x95, 0x2b, 0x49, 0x5f, 0x87, 0x5c, 0x96, 0x3e, 0x4e,
12652 0x81, 0x46, 0x7d, 0x28, 0x5b, 0xe4, 0xb3, 0x9e, 0x6a, 0x91, 0xf6, 0xb2, 0x65, 0x98, 0x21, 0xb5,
12653 0x79, 0xae, 0xf6, 0xd7, 0x8f, 0x8f, 0x2a, 0x65, 0x9c, 0xc2, 0x33, 0x58, 0x71, 0x2a, 0x3c, 0x7a,
12654 0x06, 0x33, 0x8a, 0x68, 0x46, 0x0b, 0x6a, 0x75, 0x4e, 0xc9, 0xfd, 0xe3, 0xa3, 0xca, 0xcc, 0x62,
12655 0x9c, 0x3c, 0x58, 0x61, 0x12, 0x28, 0xaa, 0x41, 0xf1, 0x80, 0xf7, 0xad, 0xd1, 0xf2, 0x10, 0xc7,
12656 0x67, 0x89, 0xa0, 0xe8, 0xb4, 0xb2, 0x31, 0xcc, 0xe1, 0x95, 0x26, 0x3f, 0x7d, 0x2e, 0x17, 0xbb,
12657 0x50, 0xb2, 0x5a, 0x52, 0x9c, 0x78, 0xfe, 0x62, 0x5c, 0xf2, 0xa3, 0xd6, 0x13, 0x9f, 0x84, 0x83,
12658 0x7c, 0xe8, 0x63, 0x18, 0xd9, 0x13, 0xaf, 0x12, 0xb4, 0x5c, 0xcc, 0x94, 0x84, 0x43, 0xaf, 0x18,
12659 0xf5, 0x69, 0xa1, 0x62, 0xc4, 0x1d, 0xa6, 0xd8, 0x47, 0x44, 0x6f, 0x40, 0x91, 0xff, 0x58, 0x5d,
12660 0xe6, 0xcf, 0x71, 0x25, 0x3f, 0xb6, 0x3d, 0x71, 0x86, 0xb1, 0x4b, 0x77, 0x59, 0x57, 0x1b, 0x4b,
12661 0xfc, 0x59, 0x38, 0xc2, 0xba, 0xda, 0x58, 0xc2, 0x2e, 0x1d, 0x7d, 0x0a, 0x45, 0x4a, 0xd6, 0x54,
12662 0xbd, 0x77, 0x58, 0x86, 0x4c, 0x1f, 0x95, 0x9b, 0x8f, 0x38, 0x77, 0xe4, 0x61, 0xcc, 0xd7, 0x20,
12663 0xe8, 0xd8, 0x85, 0x45, 0x7b, 0x30, 0x62, 0xf5, 0xf4, 0x45, 0xba, 0x4d, 0x89, 0x55, 0x1e, 0xe5,
12664 0x3a, 0x06, 0x85, 0x73, 0xec, 0xf2, 0x47, 0xb5, 0x78, 0x2b, 0xe4, 0x71, 0x60, 0x1f, 0x1c, 0xfd,
12665 0xa1, 0x04, 0x88, 0xf6, 0x4c, 0x53, 0x23, 0x5d, 0xa2, 0xdb, 0x8a, 0xc6, 0xdf, 0xe2, 0x68, 0x79,
12666 0x8c, 0xeb, 0x7c, 0x6f, 0xd0, 0xbc, 0x62, 0x82, 0x51, 0xe5, 0xde, 0xa3, 0x77, 0x9c, 0x15, 0x27,
12667 0xe8, 0x65, 0x4b, 0xbb, 0x4b, 0xf9, 0xdf, 0xe5, 0xf1, 0x4c, 0x4b, 0x9b, 0xfc, 0xe6, 0xe8, 0x2f,
12668 0xad, 0xa0, 0x63, 0x17, 0x16, 0x3d, 0x85, 0x39, 0xb7, 0xed, 0x11, 0x1b, 0x86, 0xbd, 0xa2, 0x6a,
12669 0x84, 0xf6, 0xa9, 0x4d, 0xba, 0xe5, 0x09, 0xbe, 0xed, 0x5e, 0xef, 0x07, 0x4e, 0xe4, 0xc2, 0x29,
12670 0xd2, 0xa8, 0x0b, 0x15, 0x37, 0x64, 0xb0, 0xf3, 0xe4, 0xc5, 0xac, 0x47, 0xb4, 0xa5, 0x68, 0xce,
12671 0x77, 0x80, 0x49, 0xae, 0xe0, 0xf5, 0xe3, 0xa3, 0x4a, 0x65, 0xf9, 0x64, 0x56, 0x3c, 0x08, 0x0b,
12672 0x7d, 0x08, 0x65, 0x25, 0x4d, 0xcf, 0x14, 0xd7, 0xf3, 0x1a, 0x8b, 0x43, 0xa9, 0x0a, 0x52, 0xa5,
12673 0x91, 0x0d, 0x53, 0x4a, 0xb8, 0x01, 0x95, 0x96, 0xa7, 0x33, 0x3d, 0x44, 0x46, 0xfa, 0x56, 0xfd,
12674 0xc7, 0x88, 0x08, 0x81, 0xe2, 0x98, 0x06, 0xf4, 0x3b, 0x80, 0x94, 0x68, 0xcf, 0x2c, 0x2d, 0xa3,
12675 0x4c, 0xe9, 0x27, 0xd6, 0x6c, 0xeb, 0xbb, 0x5d, 0x8c, 0x44, 0x71, 0x82, 0x1e, 0xb4, 0x06, 0xb3,
12676 0x62, 0x74, 0x5b, 0xa7, 0xca, 0x2e, 0x69, 0xf6, 0x69, 0xcb, 0xd6, 0x68, 0x79, 0x86, 0xc7, 0x3e,
12677 0xfe, 0xe1, 0x6b, 0x31, 0x81, 0x8e, 0x13, 0xa5, 0xd0, 0x7b, 0x30, 0xb5, 0x6b, 0x58, 0x3b, 0x6a,
12678 0xbb, 0x4d, 0x74, 0x17, 0x69, 0x96, 0x23, 0xcd, 0xb2, 0xd5, 0x58, 0x89, 0xd0, 0x70, 0x8c, 0x1b,
12679 0x51, 0xb8, 0x28, 0x90, 0x1b, 0x96, 0xd1, 0x5a, 0x37, 0x7a, 0xba, 0xed, 0x94, 0x44, 0x17, 0xbd,
12680 0x14, 0x73, 0x71, 0x31, 0x89, 0xe1, 0xc5, 0x51, 0xe5, 0x6a, 0x72, 0x05, 0xec, 0x33, 0xe1, 0x64,
12681 0x6c, 0xb4, 0x07, 0xc0, 0xe3, 0x82, 0x73, 0xfc, 0xe6, 0xf8, 0xf1, 0xbb, 0x9f, 0x25, 0xea, 0x24,
12682 0x9e, 0x40, 0xe7, 0x93, 0x9c, 0x47, 0xc6, 0x01, 0x6c, 0x76, 0x4b, 0x51, 0x22, 0x6d, 0xd5, 0xb4,
12683 0x3c, 0xcf, 0xf7, 0xba, 0x96, 0x6d, 0xaf, 0x3d, 0xb9, 0xc0, 0xa7, 0xa9, 0x28, 0x22, 0x8e, 0x2b,
12684 0x41, 0x26, 0x8c, 0x89, 0x3e, 0xf1, 0x25, 0x4d, 0xa1, 0xb4, 0x5c, 0xe6, 0xb3, 0x7c, 0x30, 0x78,
12685 0x96, 0x9e, 0x48, 0x74, 0x9e, 0x53, 0xc7, 0x47, 0x95, 0xb1, 0x20, 0x03, 0x0e, 0x69, 0xe0, 0x7d,
12686 0x41, 0xe2, 0x2b, 0xd1, 0xf9, 0xf4, 0x56, 0x9f, 0xae, 0x2f, 0xc8, 0x37, 0xed, 0xa5, 0xf5, 0x05,
12687 0x05, 0x20, 0x4f, 0x7e, 0x97, 0xfe, 0xcf, 0x1c, 0xcc, 0xf8, 0xcc, 0x99, 0xfb, 0x82, 0x12, 0x44,
12688 0x7e, 0xd9, 0x5f, 0x3d, 0xb8, 0xbf, 0xfa, 0x6b, 0x09, 0x26, 0xfc, 0xa5, 0xfb, 0xbf, 0xd7, 0xab,
12689 0xe3, 0xdb, 0x96, 0x72, 0x7b, 0xf8, 0xdb, 0x5c, 0x70, 0x02, 0xff, 0xef, 0x1b, 0x46, 0x7e, 0x7a,
12690 0x53, 0xb4, 0xfc, 0x6d, 0x1e, 0xa6, 0xa2, 0xa7, 0x31, 0xd4, 0x57, 0x20, 0x0d, 0xec, 0x2b, 0x68,
12691 0xc0, 0xec, 0x6e, 0x4f, 0xd3, 0xfa, 0x7c, 0x19, 0x02, 0xcd, 0x05, 0xce, 0x77, 0xc1, 0xd7, 0x84,
12692 0xe4, 0xec, 0x4a, 0x02, 0x0f, 0x4e, 0x94, 0x4c, 0xe9, 0x91, 0xc8, 0x9f, 0xa9, 0x47, 0x22, 0xf6,
12693 0xc9, 0xbe, 0x70, 0x8a, 0x4f, 0xf6, 0x89, 0xfd, 0x0e, 0x43, 0x67, 0xe8, 0x77, 0x38, 0x4b, 0x83,
12694 0x42, 0x42, 0x10, 0x1b, 0xd8, 0x2f, 0xfb, 0x1a, 0x5c, 0x12, 0x62, 0x36, 0xef, 0x1d, 0xd0, 0x6d,
12695 0xcb, 0xd0, 0x34, 0x62, 0x2d, 0xf7, 0xba, 0xdd, 0xbe, 0xfc, 0x0e, 0x4c, 0x84, 0xbb, 0x62, 0x9c,
12696 0x9d, 0x76, 0x1a, 0x73, 0xc4, 0xd7, 0xd9, 0xc0, 0x4e, 0x3b, 0xe3, 0xd8, 0xe3, 0x90, 0x7f, 0x5f,
12697 0x82, 0xb9, 0xe4, 0xee, 0x57, 0xa4, 0xc1, 0x44, 0x57, 0x39, 0x0c, 0x76, 0x24, 0x4b, 0x67, 0x7c,
12698 0x37, 0xe3, 0xed, 0x10, 0xeb, 0x21, 0x2c, 0x1c, 0xc1, 0x96, 0x7f, 0x94, 0x60, 0x3e, 0xa5, 0x11,
12699 0xe1, 0x7c, 0x2d, 0x41, 0x1f, 0x41, 0xa9, 0xab, 0x1c, 0x36, 0x7b, 0x56, 0x87, 0x9c, 0xf9, 0xa5,
12700 0x90, 0x47, 0x8c, 0x75, 0x81, 0x82, 0x3d, 0x3c, 0xf9, 0x2f, 0x25, 0xf8, 0x59, 0x6a, 0xf5, 0x84,
12701 0xee, 0x85, 0x7a, 0x26, 0xe4, 0x48, 0xcf, 0x04, 0x8a, 0x0b, 0xbe, 0xa2, 0x96, 0x89, 0x2f, 0x25,
12702 0x28, 0xa7, 0xdd, 0x2c, 0xd1, 0xdd, 0x90, 0x91, 0x3f, 0x8f, 0x18, 0x39, 0x1d, 0x93, 0x7b, 0x45,
12703 0x36, 0xfe, 0xab, 0x04, 0x97, 0x4f, 0xa8, 0xd0, 0xbc, 0xab, 0x12, 0x69, 0x07, 0xb9, 0xf8, 0xa3,
12704 0xb6, 0xf8, 0x22, 0xe6, 0x5f, 0x95, 0x12, 0x78, 0x70, 0xaa, 0x34, 0xda, 0x86, 0x79, 0x71, 0x4f,
12705 0x8b, 0xd2, 0x44, 0xf1, 0xc1, 0x5b, 0xcb, 0x96, 0x93, 0x59, 0x70, 0x9a, 0xac, 0xfc, 0x37, 0x12,
12706 0xcc, 0x25, 0x3f, 0x19, 0xa0, 0xb7, 0x43, 0x4b, 0x5e, 0x89, 0x2c, 0xf9, 0x64, 0x44, 0x4a, 0x2c,
12707 0xf8, 0x27, 0x30, 0x21, 0x1e, 0x16, 0x04, 0x8c, 0x70, 0x66, 0x39, 0x29, 0x45, 0x09, 0x08, 0xb7,
12708 0xbc, 0xe5, 0xc7, 0x24, 0x3c, 0x86, 0x23, 0x68, 0xf2, 0x1f, 0xe4, 0x60, 0xa8, 0xd9, 0x52, 0x34,
12709 0x72, 0x0e, 0xd5, 0xed, 0xfb, 0xa1, 0xea, 0x76, 0xd0, 0x3f, 0x6d, 0x71, 0xab, 0x52, 0x0b, 0x5b,
12710 0x1c, 0x29, 0x6c, 0xdf, 0xcc, 0x84, 0x76, 0x72, 0x4d, 0xfb, 0x6b, 0x30, 0xe2, 0x29, 0x3d, 0x5d,
12711 0xaa, 0x95, 0xff, 0x22, 0x07, 0xa3, 0x01, 0x15, 0xa7, 0x4c, 0xd4, 0xbb, 0xa1, 0x02, 0x27, 0x9f,
12712 0xe1, 0xee, 0x16, 0xd0, 0x55, 0x75, 0x4b, 0x1a, 0xa7, 0xe9, 0xd8, 0x6f, 0x33, 0x8d, 0x57, 0x3a,
12713 0xef, 0xc0, 0x84, 0xad, 0x58, 0x1d, 0x62, 0x7b, 0x9f, 0x35, 0xf2, 0xdc, 0x17, 0xbd, 0x56, 0xf5,
12714 0xad, 0x10, 0x15, 0x47, 0xb8, 0x2f, 0x3d, 0x84, 0xf1, 0x90, 0xb2, 0x53, 0xf5, 0x0c, 0xff, 0xbd,
12715 0x04, 0x3f, 0x1f, 0xf8, 0xe8, 0x84, 0xea, 0xa1, 0x43, 0x52, 0x8d, 0x1c, 0x92, 0x85, 0x74, 0x80,
12716 0x57, 0xd7, 0x7b, 0x56, 0xbf, 0xf9, 0xfc, 0x87, 0x85, 0x0b, 0xdf, 0xfd, 0xb0, 0x70, 0xe1, 0xfb,
12717 0x1f, 0x16, 0x2e, 0xfc, 0xee, 0xf1, 0x82, 0xf4, 0xfc, 0x78, 0x41, 0xfa, 0xee, 0x78, 0x41, 0xfa,
12718 0xfe, 0x78, 0x41, 0xfa, 0xf7, 0xe3, 0x05, 0xe9, 0x4f, 0x7e, 0x5c, 0xb8, 0xf0, 0x51, 0x51, 0xc0,
12719 0xfd, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd3, 0xd0, 0x60, 0xbe, 0x07, 0x3e, 0x00, 0x00,
12720}