Matthias Andreas Benkard | 832a54e | 2019-01-29 09:27:38 +0100 | [diff] [blame^] | 1 | /* |
| 2 | Copyright The Kubernetes Authors. |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | // Code generated by protoc-gen-gogo. |
| 18 | // source: k8s.io/kubernetes/vendor/k8s.io/api/extensions/v1beta1/generated.proto |
| 19 | // DO NOT EDIT! |
| 20 | |
| 21 | /* |
| 22 | Package v1beta1 is a generated protocol buffer package. |
| 23 | |
| 24 | It is generated from these files: |
| 25 | k8s.io/kubernetes/vendor/k8s.io/api/extensions/v1beta1/generated.proto |
| 26 | |
| 27 | It has these top-level messages: |
| 28 | AllowedFlexVolume |
| 29 | AllowedHostPath |
| 30 | CustomMetricCurrentStatus |
| 31 | CustomMetricCurrentStatusList |
| 32 | CustomMetricTarget |
| 33 | CustomMetricTargetList |
| 34 | DaemonSet |
| 35 | DaemonSetCondition |
| 36 | DaemonSetList |
| 37 | DaemonSetSpec |
| 38 | DaemonSetStatus |
| 39 | DaemonSetUpdateStrategy |
| 40 | Deployment |
| 41 | DeploymentCondition |
| 42 | DeploymentList |
| 43 | DeploymentRollback |
| 44 | DeploymentSpec |
| 45 | DeploymentStatus |
| 46 | DeploymentStrategy |
| 47 | FSGroupStrategyOptions |
| 48 | HTTPIngressPath |
| 49 | HTTPIngressRuleValue |
| 50 | HostPortRange |
| 51 | IDRange |
| 52 | IPBlock |
| 53 | Ingress |
| 54 | IngressBackend |
| 55 | IngressList |
| 56 | IngressRule |
| 57 | IngressRuleValue |
| 58 | IngressSpec |
| 59 | IngressStatus |
| 60 | IngressTLS |
| 61 | NetworkPolicy |
| 62 | NetworkPolicyEgressRule |
| 63 | NetworkPolicyIngressRule |
| 64 | NetworkPolicyList |
| 65 | NetworkPolicyPeer |
| 66 | NetworkPolicyPort |
| 67 | NetworkPolicySpec |
| 68 | PodSecurityPolicy |
| 69 | PodSecurityPolicyList |
| 70 | PodSecurityPolicySpec |
| 71 | ReplicaSet |
| 72 | ReplicaSetCondition |
| 73 | ReplicaSetList |
| 74 | ReplicaSetSpec |
| 75 | ReplicaSetStatus |
| 76 | ReplicationControllerDummy |
| 77 | RollbackConfig |
| 78 | RollingUpdateDaemonSet |
| 79 | RollingUpdateDeployment |
| 80 | RunAsUserStrategyOptions |
| 81 | SELinuxStrategyOptions |
| 82 | Scale |
| 83 | ScaleSpec |
| 84 | ScaleStatus |
| 85 | SupplementalGroupsStrategyOptions |
| 86 | */ |
| 87 | package v1beta1 |
| 88 | |
| 89 | import proto "github.com/gogo/protobuf/proto" |
| 90 | import fmt "fmt" |
| 91 | import math "math" |
| 92 | |
| 93 | import k8s_io_api_core_v1 "k8s.io/api/core/v1" |
| 94 | |
| 95 | import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" |
| 96 | |
| 97 | import k8s_io_apimachinery_pkg_util_intstr "k8s.io/apimachinery/pkg/util/intstr" |
| 98 | |
| 99 | import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" |
| 100 | |
| 101 | import strings "strings" |
| 102 | import reflect "reflect" |
| 103 | |
| 104 | import io "io" |
| 105 | |
| 106 | // Reference imports to suppress errors if they are not otherwise used. |
| 107 | var _ = proto.Marshal |
| 108 | var _ = fmt.Errorf |
| 109 | var _ = math.Inf |
| 110 | |
| 111 | // This is a compile-time assertion to ensure that this generated file |
| 112 | // is compatible with the proto package it is being compiled against. |
| 113 | // A compilation error at this line likely means your copy of the |
| 114 | // proto package needs to be updated. |
| 115 | const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package |
| 116 | |
| 117 | func (m *AllowedFlexVolume) Reset() { *m = AllowedFlexVolume{} } |
| 118 | func (*AllowedFlexVolume) ProtoMessage() {} |
| 119 | func (*AllowedFlexVolume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } |
| 120 | |
| 121 | func (m *AllowedHostPath) Reset() { *m = AllowedHostPath{} } |
| 122 | func (*AllowedHostPath) ProtoMessage() {} |
| 123 | func (*AllowedHostPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } |
| 124 | |
| 125 | func (m *CustomMetricCurrentStatus) Reset() { *m = CustomMetricCurrentStatus{} } |
| 126 | func (*CustomMetricCurrentStatus) ProtoMessage() {} |
| 127 | func (*CustomMetricCurrentStatus) Descriptor() ([]byte, []int) { |
| 128 | return fileDescriptorGenerated, []int{2} |
| 129 | } |
| 130 | |
| 131 | func (m *CustomMetricCurrentStatusList) Reset() { *m = CustomMetricCurrentStatusList{} } |
| 132 | func (*CustomMetricCurrentStatusList) ProtoMessage() {} |
| 133 | func (*CustomMetricCurrentStatusList) Descriptor() ([]byte, []int) { |
| 134 | return fileDescriptorGenerated, []int{3} |
| 135 | } |
| 136 | |
| 137 | func (m *CustomMetricTarget) Reset() { *m = CustomMetricTarget{} } |
| 138 | func (*CustomMetricTarget) ProtoMessage() {} |
| 139 | func (*CustomMetricTarget) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } |
| 140 | |
| 141 | func (m *CustomMetricTargetList) Reset() { *m = CustomMetricTargetList{} } |
| 142 | func (*CustomMetricTargetList) ProtoMessage() {} |
| 143 | func (*CustomMetricTargetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} } |
| 144 | |
| 145 | func (m *DaemonSet) Reset() { *m = DaemonSet{} } |
| 146 | func (*DaemonSet) ProtoMessage() {} |
| 147 | func (*DaemonSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} } |
| 148 | |
| 149 | func (m *DaemonSetCondition) Reset() { *m = DaemonSetCondition{} } |
| 150 | func (*DaemonSetCondition) ProtoMessage() {} |
| 151 | func (*DaemonSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } |
| 152 | |
| 153 | func (m *DaemonSetList) Reset() { *m = DaemonSetList{} } |
| 154 | func (*DaemonSetList) ProtoMessage() {} |
| 155 | func (*DaemonSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} } |
| 156 | |
| 157 | func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} } |
| 158 | func (*DaemonSetSpec) ProtoMessage() {} |
| 159 | func (*DaemonSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} } |
| 160 | |
| 161 | func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} } |
| 162 | func (*DaemonSetStatus) ProtoMessage() {} |
| 163 | func (*DaemonSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } |
| 164 | |
| 165 | func (m *DaemonSetUpdateStrategy) Reset() { *m = DaemonSetUpdateStrategy{} } |
| 166 | func (*DaemonSetUpdateStrategy) ProtoMessage() {} |
| 167 | func (*DaemonSetUpdateStrategy) Descriptor() ([]byte, []int) { |
| 168 | return fileDescriptorGenerated, []int{11} |
| 169 | } |
| 170 | |
| 171 | func (m *Deployment) Reset() { *m = Deployment{} } |
| 172 | func (*Deployment) ProtoMessage() {} |
| 173 | func (*Deployment) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } |
| 174 | |
| 175 | func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} } |
| 176 | func (*DeploymentCondition) ProtoMessage() {} |
| 177 | func (*DeploymentCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} } |
| 178 | |
| 179 | func (m *DeploymentList) Reset() { *m = DeploymentList{} } |
| 180 | func (*DeploymentList) ProtoMessage() {} |
| 181 | func (*DeploymentList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} } |
| 182 | |
| 183 | func (m *DeploymentRollback) Reset() { *m = DeploymentRollback{} } |
| 184 | func (*DeploymentRollback) ProtoMessage() {} |
| 185 | func (*DeploymentRollback) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} } |
| 186 | |
| 187 | func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} } |
| 188 | func (*DeploymentSpec) ProtoMessage() {} |
| 189 | func (*DeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} } |
| 190 | |
| 191 | func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} } |
| 192 | func (*DeploymentStatus) ProtoMessage() {} |
| 193 | func (*DeploymentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} } |
| 194 | |
| 195 | func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} } |
| 196 | func (*DeploymentStrategy) ProtoMessage() {} |
| 197 | func (*DeploymentStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} } |
| 198 | |
| 199 | func (m *FSGroupStrategyOptions) Reset() { *m = FSGroupStrategyOptions{} } |
| 200 | func (*FSGroupStrategyOptions) ProtoMessage() {} |
| 201 | func (*FSGroupStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} } |
| 202 | |
| 203 | func (m *HTTPIngressPath) Reset() { *m = HTTPIngressPath{} } |
| 204 | func (*HTTPIngressPath) ProtoMessage() {} |
| 205 | func (*HTTPIngressPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} } |
| 206 | |
| 207 | func (m *HTTPIngressRuleValue) Reset() { *m = HTTPIngressRuleValue{} } |
| 208 | func (*HTTPIngressRuleValue) ProtoMessage() {} |
| 209 | func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} } |
| 210 | |
| 211 | func (m *HostPortRange) Reset() { *m = HostPortRange{} } |
| 212 | func (*HostPortRange) ProtoMessage() {} |
| 213 | func (*HostPortRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} } |
| 214 | |
| 215 | func (m *IDRange) Reset() { *m = IDRange{} } |
| 216 | func (*IDRange) ProtoMessage() {} |
| 217 | func (*IDRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} } |
| 218 | |
| 219 | func (m *IPBlock) Reset() { *m = IPBlock{} } |
| 220 | func (*IPBlock) ProtoMessage() {} |
| 221 | func (*IPBlock) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} } |
| 222 | |
| 223 | func (m *Ingress) Reset() { *m = Ingress{} } |
| 224 | func (*Ingress) ProtoMessage() {} |
| 225 | func (*Ingress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} } |
| 226 | |
| 227 | func (m *IngressBackend) Reset() { *m = IngressBackend{} } |
| 228 | func (*IngressBackend) ProtoMessage() {} |
| 229 | func (*IngressBackend) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} } |
| 230 | |
| 231 | func (m *IngressList) Reset() { *m = IngressList{} } |
| 232 | func (*IngressList) ProtoMessage() {} |
| 233 | func (*IngressList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} } |
| 234 | |
| 235 | func (m *IngressRule) Reset() { *m = IngressRule{} } |
| 236 | func (*IngressRule) ProtoMessage() {} |
| 237 | func (*IngressRule) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} } |
| 238 | |
| 239 | func (m *IngressRuleValue) Reset() { *m = IngressRuleValue{} } |
| 240 | func (*IngressRuleValue) ProtoMessage() {} |
| 241 | func (*IngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} } |
| 242 | |
| 243 | func (m *IngressSpec) Reset() { *m = IngressSpec{} } |
| 244 | func (*IngressSpec) ProtoMessage() {} |
| 245 | func (*IngressSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} } |
| 246 | |
| 247 | func (m *IngressStatus) Reset() { *m = IngressStatus{} } |
| 248 | func (*IngressStatus) ProtoMessage() {} |
| 249 | func (*IngressStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} } |
| 250 | |
| 251 | func (m *IngressTLS) Reset() { *m = IngressTLS{} } |
| 252 | func (*IngressTLS) ProtoMessage() {} |
| 253 | func (*IngressTLS) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} } |
| 254 | |
| 255 | func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} } |
| 256 | func (*NetworkPolicy) ProtoMessage() {} |
| 257 | func (*NetworkPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} } |
| 258 | |
| 259 | func (m *NetworkPolicyEgressRule) Reset() { *m = NetworkPolicyEgressRule{} } |
| 260 | func (*NetworkPolicyEgressRule) ProtoMessage() {} |
| 261 | func (*NetworkPolicyEgressRule) Descriptor() ([]byte, []int) { |
| 262 | return fileDescriptorGenerated, []int{34} |
| 263 | } |
| 264 | |
| 265 | func (m *NetworkPolicyIngressRule) Reset() { *m = NetworkPolicyIngressRule{} } |
| 266 | func (*NetworkPolicyIngressRule) ProtoMessage() {} |
| 267 | func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) { |
| 268 | return fileDescriptorGenerated, []int{35} |
| 269 | } |
| 270 | |
| 271 | func (m *NetworkPolicyList) Reset() { *m = NetworkPolicyList{} } |
| 272 | func (*NetworkPolicyList) ProtoMessage() {} |
| 273 | func (*NetworkPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} } |
| 274 | |
| 275 | func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} } |
| 276 | func (*NetworkPolicyPeer) ProtoMessage() {} |
| 277 | func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} } |
| 278 | |
| 279 | func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} } |
| 280 | func (*NetworkPolicyPort) ProtoMessage() {} |
| 281 | func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} } |
| 282 | |
| 283 | func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} } |
| 284 | func (*NetworkPolicySpec) ProtoMessage() {} |
| 285 | func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} } |
| 286 | |
| 287 | func (m *PodSecurityPolicy) Reset() { *m = PodSecurityPolicy{} } |
| 288 | func (*PodSecurityPolicy) ProtoMessage() {} |
| 289 | func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{40} } |
| 290 | |
| 291 | func (m *PodSecurityPolicyList) Reset() { *m = PodSecurityPolicyList{} } |
| 292 | func (*PodSecurityPolicyList) ProtoMessage() {} |
| 293 | func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} } |
| 294 | |
| 295 | func (m *PodSecurityPolicySpec) Reset() { *m = PodSecurityPolicySpec{} } |
| 296 | func (*PodSecurityPolicySpec) ProtoMessage() {} |
| 297 | func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} } |
| 298 | |
| 299 | func (m *ReplicaSet) Reset() { *m = ReplicaSet{} } |
| 300 | func (*ReplicaSet) ProtoMessage() {} |
| 301 | func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} } |
| 302 | |
| 303 | func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} } |
| 304 | func (*ReplicaSetCondition) ProtoMessage() {} |
| 305 | func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} } |
| 306 | |
| 307 | func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} } |
| 308 | func (*ReplicaSetList) ProtoMessage() {} |
| 309 | func (*ReplicaSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} } |
| 310 | |
| 311 | func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} } |
| 312 | func (*ReplicaSetSpec) ProtoMessage() {} |
| 313 | func (*ReplicaSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} } |
| 314 | |
| 315 | func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} } |
| 316 | func (*ReplicaSetStatus) ProtoMessage() {} |
| 317 | func (*ReplicaSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} } |
| 318 | |
| 319 | func (m *ReplicationControllerDummy) Reset() { *m = ReplicationControllerDummy{} } |
| 320 | func (*ReplicationControllerDummy) ProtoMessage() {} |
| 321 | func (*ReplicationControllerDummy) Descriptor() ([]byte, []int) { |
| 322 | return fileDescriptorGenerated, []int{48} |
| 323 | } |
| 324 | |
| 325 | func (m *RollbackConfig) Reset() { *m = RollbackConfig{} } |
| 326 | func (*RollbackConfig) ProtoMessage() {} |
| 327 | func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} } |
| 328 | |
| 329 | func (m *RollingUpdateDaemonSet) Reset() { *m = RollingUpdateDaemonSet{} } |
| 330 | func (*RollingUpdateDaemonSet) ProtoMessage() {} |
| 331 | func (*RollingUpdateDaemonSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} } |
| 332 | |
| 333 | func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} } |
| 334 | func (*RollingUpdateDeployment) ProtoMessage() {} |
| 335 | func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) { |
| 336 | return fileDescriptorGenerated, []int{51} |
| 337 | } |
| 338 | |
| 339 | func (m *RunAsUserStrategyOptions) Reset() { *m = RunAsUserStrategyOptions{} } |
| 340 | func (*RunAsUserStrategyOptions) ProtoMessage() {} |
| 341 | func (*RunAsUserStrategyOptions) Descriptor() ([]byte, []int) { |
| 342 | return fileDescriptorGenerated, []int{52} |
| 343 | } |
| 344 | |
| 345 | func (m *SELinuxStrategyOptions) Reset() { *m = SELinuxStrategyOptions{} } |
| 346 | func (*SELinuxStrategyOptions) ProtoMessage() {} |
| 347 | func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{53} } |
| 348 | |
| 349 | func (m *Scale) Reset() { *m = Scale{} } |
| 350 | func (*Scale) ProtoMessage() {} |
| 351 | func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{54} } |
| 352 | |
| 353 | func (m *ScaleSpec) Reset() { *m = ScaleSpec{} } |
| 354 | func (*ScaleSpec) ProtoMessage() {} |
| 355 | func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{55} } |
| 356 | |
| 357 | func (m *ScaleStatus) Reset() { *m = ScaleStatus{} } |
| 358 | func (*ScaleStatus) ProtoMessage() {} |
| 359 | func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{56} } |
| 360 | |
| 361 | func (m *SupplementalGroupsStrategyOptions) Reset() { *m = SupplementalGroupsStrategyOptions{} } |
| 362 | func (*SupplementalGroupsStrategyOptions) ProtoMessage() {} |
| 363 | func (*SupplementalGroupsStrategyOptions) Descriptor() ([]byte, []int) { |
| 364 | return fileDescriptorGenerated, []int{57} |
| 365 | } |
| 366 | |
| 367 | func init() { |
| 368 | proto.RegisterType((*AllowedFlexVolume)(nil), "k8s.io.api.extensions.v1beta1.AllowedFlexVolume") |
| 369 | proto.RegisterType((*AllowedHostPath)(nil), "k8s.io.api.extensions.v1beta1.AllowedHostPath") |
| 370 | proto.RegisterType((*CustomMetricCurrentStatus)(nil), "k8s.io.api.extensions.v1beta1.CustomMetricCurrentStatus") |
| 371 | proto.RegisterType((*CustomMetricCurrentStatusList)(nil), "k8s.io.api.extensions.v1beta1.CustomMetricCurrentStatusList") |
| 372 | proto.RegisterType((*CustomMetricTarget)(nil), "k8s.io.api.extensions.v1beta1.CustomMetricTarget") |
| 373 | proto.RegisterType((*CustomMetricTargetList)(nil), "k8s.io.api.extensions.v1beta1.CustomMetricTargetList") |
| 374 | proto.RegisterType((*DaemonSet)(nil), "k8s.io.api.extensions.v1beta1.DaemonSet") |
| 375 | proto.RegisterType((*DaemonSetCondition)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetCondition") |
| 376 | proto.RegisterType((*DaemonSetList)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetList") |
| 377 | proto.RegisterType((*DaemonSetSpec)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetSpec") |
| 378 | proto.RegisterType((*DaemonSetStatus)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetStatus") |
| 379 | proto.RegisterType((*DaemonSetUpdateStrategy)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetUpdateStrategy") |
| 380 | proto.RegisterType((*Deployment)(nil), "k8s.io.api.extensions.v1beta1.Deployment") |
| 381 | proto.RegisterType((*DeploymentCondition)(nil), "k8s.io.api.extensions.v1beta1.DeploymentCondition") |
| 382 | proto.RegisterType((*DeploymentList)(nil), "k8s.io.api.extensions.v1beta1.DeploymentList") |
| 383 | proto.RegisterType((*DeploymentRollback)(nil), "k8s.io.api.extensions.v1beta1.DeploymentRollback") |
| 384 | proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.api.extensions.v1beta1.DeploymentSpec") |
| 385 | proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.api.extensions.v1beta1.DeploymentStatus") |
| 386 | proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.api.extensions.v1beta1.DeploymentStrategy") |
| 387 | proto.RegisterType((*FSGroupStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.FSGroupStrategyOptions") |
| 388 | proto.RegisterType((*HTTPIngressPath)(nil), "k8s.io.api.extensions.v1beta1.HTTPIngressPath") |
| 389 | proto.RegisterType((*HTTPIngressRuleValue)(nil), "k8s.io.api.extensions.v1beta1.HTTPIngressRuleValue") |
| 390 | proto.RegisterType((*HostPortRange)(nil), "k8s.io.api.extensions.v1beta1.HostPortRange") |
| 391 | proto.RegisterType((*IDRange)(nil), "k8s.io.api.extensions.v1beta1.IDRange") |
| 392 | proto.RegisterType((*IPBlock)(nil), "k8s.io.api.extensions.v1beta1.IPBlock") |
| 393 | proto.RegisterType((*Ingress)(nil), "k8s.io.api.extensions.v1beta1.Ingress") |
| 394 | proto.RegisterType((*IngressBackend)(nil), "k8s.io.api.extensions.v1beta1.IngressBackend") |
| 395 | proto.RegisterType((*IngressList)(nil), "k8s.io.api.extensions.v1beta1.IngressList") |
| 396 | proto.RegisterType((*IngressRule)(nil), "k8s.io.api.extensions.v1beta1.IngressRule") |
| 397 | proto.RegisterType((*IngressRuleValue)(nil), "k8s.io.api.extensions.v1beta1.IngressRuleValue") |
| 398 | proto.RegisterType((*IngressSpec)(nil), "k8s.io.api.extensions.v1beta1.IngressSpec") |
| 399 | proto.RegisterType((*IngressStatus)(nil), "k8s.io.api.extensions.v1beta1.IngressStatus") |
| 400 | proto.RegisterType((*IngressTLS)(nil), "k8s.io.api.extensions.v1beta1.IngressTLS") |
| 401 | proto.RegisterType((*NetworkPolicy)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicy") |
| 402 | proto.RegisterType((*NetworkPolicyEgressRule)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyEgressRule") |
| 403 | proto.RegisterType((*NetworkPolicyIngressRule)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyIngressRule") |
| 404 | proto.RegisterType((*NetworkPolicyList)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyList") |
| 405 | proto.RegisterType((*NetworkPolicyPeer)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyPeer") |
| 406 | proto.RegisterType((*NetworkPolicyPort)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyPort") |
| 407 | proto.RegisterType((*NetworkPolicySpec)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicySpec") |
| 408 | proto.RegisterType((*PodSecurityPolicy)(nil), "k8s.io.api.extensions.v1beta1.PodSecurityPolicy") |
| 409 | proto.RegisterType((*PodSecurityPolicyList)(nil), "k8s.io.api.extensions.v1beta1.PodSecurityPolicyList") |
| 410 | proto.RegisterType((*PodSecurityPolicySpec)(nil), "k8s.io.api.extensions.v1beta1.PodSecurityPolicySpec") |
| 411 | proto.RegisterType((*ReplicaSet)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSet") |
| 412 | proto.RegisterType((*ReplicaSetCondition)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetCondition") |
| 413 | proto.RegisterType((*ReplicaSetList)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetList") |
| 414 | proto.RegisterType((*ReplicaSetSpec)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetSpec") |
| 415 | proto.RegisterType((*ReplicaSetStatus)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetStatus") |
| 416 | proto.RegisterType((*ReplicationControllerDummy)(nil), "k8s.io.api.extensions.v1beta1.ReplicationControllerDummy") |
| 417 | proto.RegisterType((*RollbackConfig)(nil), "k8s.io.api.extensions.v1beta1.RollbackConfig") |
| 418 | proto.RegisterType((*RollingUpdateDaemonSet)(nil), "k8s.io.api.extensions.v1beta1.RollingUpdateDaemonSet") |
| 419 | proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.api.extensions.v1beta1.RollingUpdateDeployment") |
| 420 | proto.RegisterType((*RunAsUserStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.RunAsUserStrategyOptions") |
| 421 | proto.RegisterType((*SELinuxStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.SELinuxStrategyOptions") |
| 422 | proto.RegisterType((*Scale)(nil), "k8s.io.api.extensions.v1beta1.Scale") |
| 423 | proto.RegisterType((*ScaleSpec)(nil), "k8s.io.api.extensions.v1beta1.ScaleSpec") |
| 424 | proto.RegisterType((*ScaleStatus)(nil), "k8s.io.api.extensions.v1beta1.ScaleStatus") |
| 425 | proto.RegisterType((*SupplementalGroupsStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.SupplementalGroupsStrategyOptions") |
| 426 | } |
| 427 | func (m *AllowedFlexVolume) Marshal() (dAtA []byte, err error) { |
| 428 | size := m.Size() |
| 429 | dAtA = make([]byte, size) |
| 430 | n, err := m.MarshalTo(dAtA) |
| 431 | if err != nil { |
| 432 | return nil, err |
| 433 | } |
| 434 | return dAtA[:n], nil |
| 435 | } |
| 436 | |
| 437 | func (m *AllowedFlexVolume) MarshalTo(dAtA []byte) (int, error) { |
| 438 | var i int |
| 439 | _ = i |
| 440 | var l int |
| 441 | _ = l |
| 442 | dAtA[i] = 0xa |
| 443 | i++ |
| 444 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Driver))) |
| 445 | i += copy(dAtA[i:], m.Driver) |
| 446 | return i, nil |
| 447 | } |
| 448 | |
| 449 | func (m *AllowedHostPath) Marshal() (dAtA []byte, err error) { |
| 450 | size := m.Size() |
| 451 | dAtA = make([]byte, size) |
| 452 | n, err := m.MarshalTo(dAtA) |
| 453 | if err != nil { |
| 454 | return nil, err |
| 455 | } |
| 456 | return dAtA[:n], nil |
| 457 | } |
| 458 | |
| 459 | func (m *AllowedHostPath) MarshalTo(dAtA []byte) (int, error) { |
| 460 | var i int |
| 461 | _ = i |
| 462 | var l int |
| 463 | _ = l |
| 464 | dAtA[i] = 0xa |
| 465 | i++ |
| 466 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.PathPrefix))) |
| 467 | i += copy(dAtA[i:], m.PathPrefix) |
| 468 | dAtA[i] = 0x10 |
| 469 | i++ |
| 470 | if m.ReadOnly { |
| 471 | dAtA[i] = 1 |
| 472 | } else { |
| 473 | dAtA[i] = 0 |
| 474 | } |
| 475 | i++ |
| 476 | return i, nil |
| 477 | } |
| 478 | |
| 479 | func (m *CustomMetricCurrentStatus) Marshal() (dAtA []byte, err error) { |
| 480 | size := m.Size() |
| 481 | dAtA = make([]byte, size) |
| 482 | n, err := m.MarshalTo(dAtA) |
| 483 | if err != nil { |
| 484 | return nil, err |
| 485 | } |
| 486 | return dAtA[:n], nil |
| 487 | } |
| 488 | |
| 489 | func (m *CustomMetricCurrentStatus) MarshalTo(dAtA []byte) (int, error) { |
| 490 | var i int |
| 491 | _ = i |
| 492 | var l int |
| 493 | _ = l |
| 494 | dAtA[i] = 0xa |
| 495 | i++ |
| 496 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 497 | i += copy(dAtA[i:], m.Name) |
| 498 | dAtA[i] = 0x12 |
| 499 | i++ |
| 500 | i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentValue.Size())) |
| 501 | n1, err := m.CurrentValue.MarshalTo(dAtA[i:]) |
| 502 | if err != nil { |
| 503 | return 0, err |
| 504 | } |
| 505 | i += n1 |
| 506 | return i, nil |
| 507 | } |
| 508 | |
| 509 | func (m *CustomMetricCurrentStatusList) Marshal() (dAtA []byte, err error) { |
| 510 | size := m.Size() |
| 511 | dAtA = make([]byte, size) |
| 512 | n, err := m.MarshalTo(dAtA) |
| 513 | if err != nil { |
| 514 | return nil, err |
| 515 | } |
| 516 | return dAtA[:n], nil |
| 517 | } |
| 518 | |
| 519 | func (m *CustomMetricCurrentStatusList) MarshalTo(dAtA []byte) (int, error) { |
| 520 | var i int |
| 521 | _ = i |
| 522 | var l int |
| 523 | _ = l |
| 524 | if len(m.Items) > 0 { |
| 525 | for _, msg := range m.Items { |
| 526 | dAtA[i] = 0xa |
| 527 | i++ |
| 528 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 529 | n, err := msg.MarshalTo(dAtA[i:]) |
| 530 | if err != nil { |
| 531 | return 0, err |
| 532 | } |
| 533 | i += n |
| 534 | } |
| 535 | } |
| 536 | return i, nil |
| 537 | } |
| 538 | |
| 539 | func (m *CustomMetricTarget) 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 | |
| 549 | func (m *CustomMetricTarget) 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.Name))) |
| 557 | i += copy(dAtA[i:], m.Name) |
| 558 | dAtA[i] = 0x12 |
| 559 | i++ |
| 560 | i = encodeVarintGenerated(dAtA, i, uint64(m.TargetValue.Size())) |
| 561 | n2, err := m.TargetValue.MarshalTo(dAtA[i:]) |
| 562 | if err != nil { |
| 563 | return 0, err |
| 564 | } |
| 565 | i += n2 |
| 566 | return i, nil |
| 567 | } |
| 568 | |
| 569 | func (m *CustomMetricTargetList) Marshal() (dAtA []byte, err error) { |
| 570 | size := m.Size() |
| 571 | dAtA = make([]byte, size) |
| 572 | n, err := m.MarshalTo(dAtA) |
| 573 | if err != nil { |
| 574 | return nil, err |
| 575 | } |
| 576 | return dAtA[:n], nil |
| 577 | } |
| 578 | |
| 579 | func (m *CustomMetricTargetList) MarshalTo(dAtA []byte) (int, error) { |
| 580 | var i int |
| 581 | _ = i |
| 582 | var l int |
| 583 | _ = l |
| 584 | if len(m.Items) > 0 { |
| 585 | for _, msg := range m.Items { |
| 586 | dAtA[i] = 0xa |
| 587 | i++ |
| 588 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 589 | n, err := msg.MarshalTo(dAtA[i:]) |
| 590 | if err != nil { |
| 591 | return 0, err |
| 592 | } |
| 593 | i += n |
| 594 | } |
| 595 | } |
| 596 | return i, nil |
| 597 | } |
| 598 | |
| 599 | func (m *DaemonSet) Marshal() (dAtA []byte, err error) { |
| 600 | size := m.Size() |
| 601 | dAtA = make([]byte, size) |
| 602 | n, err := m.MarshalTo(dAtA) |
| 603 | if err != nil { |
| 604 | return nil, err |
| 605 | } |
| 606 | return dAtA[:n], nil |
| 607 | } |
| 608 | |
| 609 | func (m *DaemonSet) MarshalTo(dAtA []byte) (int, error) { |
| 610 | var i int |
| 611 | _ = i |
| 612 | var l int |
| 613 | _ = l |
| 614 | dAtA[i] = 0xa |
| 615 | i++ |
| 616 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 617 | n3, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 618 | if err != nil { |
| 619 | return 0, err |
| 620 | } |
| 621 | i += n3 |
| 622 | dAtA[i] = 0x12 |
| 623 | i++ |
| 624 | i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size())) |
| 625 | n4, err := m.Spec.MarshalTo(dAtA[i:]) |
| 626 | if err != nil { |
| 627 | return 0, err |
| 628 | } |
| 629 | i += n4 |
| 630 | dAtA[i] = 0x1a |
| 631 | i++ |
| 632 | i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size())) |
| 633 | n5, err := m.Status.MarshalTo(dAtA[i:]) |
| 634 | if err != nil { |
| 635 | return 0, err |
| 636 | } |
| 637 | i += n5 |
| 638 | return i, nil |
| 639 | } |
| 640 | |
| 641 | func (m *DaemonSetCondition) Marshal() (dAtA []byte, err error) { |
| 642 | size := m.Size() |
| 643 | dAtA = make([]byte, size) |
| 644 | n, err := m.MarshalTo(dAtA) |
| 645 | if err != nil { |
| 646 | return nil, err |
| 647 | } |
| 648 | return dAtA[:n], nil |
| 649 | } |
| 650 | |
| 651 | func (m *DaemonSetCondition) MarshalTo(dAtA []byte) (int, error) { |
| 652 | var i int |
| 653 | _ = i |
| 654 | var l int |
| 655 | _ = l |
| 656 | dAtA[i] = 0xa |
| 657 | i++ |
| 658 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 659 | i += copy(dAtA[i:], m.Type) |
| 660 | dAtA[i] = 0x12 |
| 661 | i++ |
| 662 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status))) |
| 663 | i += copy(dAtA[i:], m.Status) |
| 664 | dAtA[i] = 0x1a |
| 665 | i++ |
| 666 | i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size())) |
| 667 | n6, err := m.LastTransitionTime.MarshalTo(dAtA[i:]) |
| 668 | if err != nil { |
| 669 | return 0, err |
| 670 | } |
| 671 | i += n6 |
| 672 | dAtA[i] = 0x22 |
| 673 | i++ |
| 674 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason))) |
| 675 | i += copy(dAtA[i:], m.Reason) |
| 676 | dAtA[i] = 0x2a |
| 677 | i++ |
| 678 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) |
| 679 | i += copy(dAtA[i:], m.Message) |
| 680 | return i, nil |
| 681 | } |
| 682 | |
| 683 | func (m *DaemonSetList) Marshal() (dAtA []byte, err error) { |
| 684 | size := m.Size() |
| 685 | dAtA = make([]byte, size) |
| 686 | n, err := m.MarshalTo(dAtA) |
| 687 | if err != nil { |
| 688 | return nil, err |
| 689 | } |
| 690 | return dAtA[:n], nil |
| 691 | } |
| 692 | |
| 693 | func (m *DaemonSetList) MarshalTo(dAtA []byte) (int, error) { |
| 694 | var i int |
| 695 | _ = i |
| 696 | var l int |
| 697 | _ = l |
| 698 | dAtA[i] = 0xa |
| 699 | i++ |
| 700 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 701 | n7, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 702 | if err != nil { |
| 703 | return 0, err |
| 704 | } |
| 705 | i += n7 |
| 706 | if len(m.Items) > 0 { |
| 707 | for _, msg := range m.Items { |
| 708 | dAtA[i] = 0x12 |
| 709 | i++ |
| 710 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 711 | n, err := msg.MarshalTo(dAtA[i:]) |
| 712 | if err != nil { |
| 713 | return 0, err |
| 714 | } |
| 715 | i += n |
| 716 | } |
| 717 | } |
| 718 | return i, nil |
| 719 | } |
| 720 | |
| 721 | func (m *DaemonSetSpec) Marshal() (dAtA []byte, err error) { |
| 722 | size := m.Size() |
| 723 | dAtA = make([]byte, size) |
| 724 | n, err := m.MarshalTo(dAtA) |
| 725 | if err != nil { |
| 726 | return nil, err |
| 727 | } |
| 728 | return dAtA[:n], nil |
| 729 | } |
| 730 | |
| 731 | func (m *DaemonSetSpec) MarshalTo(dAtA []byte) (int, error) { |
| 732 | var i int |
| 733 | _ = i |
| 734 | var l int |
| 735 | _ = l |
| 736 | if m.Selector != nil { |
| 737 | dAtA[i] = 0xa |
| 738 | i++ |
| 739 | i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size())) |
| 740 | n8, err := m.Selector.MarshalTo(dAtA[i:]) |
| 741 | if err != nil { |
| 742 | return 0, err |
| 743 | } |
| 744 | i += n8 |
| 745 | } |
| 746 | dAtA[i] = 0x12 |
| 747 | i++ |
| 748 | i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size())) |
| 749 | n9, err := m.Template.MarshalTo(dAtA[i:]) |
| 750 | if err != nil { |
| 751 | return 0, err |
| 752 | } |
| 753 | i += n9 |
| 754 | dAtA[i] = 0x1a |
| 755 | i++ |
| 756 | i = encodeVarintGenerated(dAtA, i, uint64(m.UpdateStrategy.Size())) |
| 757 | n10, err := m.UpdateStrategy.MarshalTo(dAtA[i:]) |
| 758 | if err != nil { |
| 759 | return 0, err |
| 760 | } |
| 761 | i += n10 |
| 762 | dAtA[i] = 0x20 |
| 763 | i++ |
| 764 | i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds)) |
| 765 | dAtA[i] = 0x28 |
| 766 | i++ |
| 767 | i = encodeVarintGenerated(dAtA, i, uint64(m.TemplateGeneration)) |
| 768 | if m.RevisionHistoryLimit != nil { |
| 769 | dAtA[i] = 0x30 |
| 770 | i++ |
| 771 | i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit)) |
| 772 | } |
| 773 | return i, nil |
| 774 | } |
| 775 | |
| 776 | func (m *DaemonSetStatus) Marshal() (dAtA []byte, err error) { |
| 777 | size := m.Size() |
| 778 | dAtA = make([]byte, size) |
| 779 | n, err := m.MarshalTo(dAtA) |
| 780 | if err != nil { |
| 781 | return nil, err |
| 782 | } |
| 783 | return dAtA[:n], nil |
| 784 | } |
| 785 | |
| 786 | func (m *DaemonSetStatus) MarshalTo(dAtA []byte) (int, error) { |
| 787 | var i int |
| 788 | _ = i |
| 789 | var l int |
| 790 | _ = l |
| 791 | dAtA[i] = 0x8 |
| 792 | i++ |
| 793 | i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentNumberScheduled)) |
| 794 | dAtA[i] = 0x10 |
| 795 | i++ |
| 796 | i = encodeVarintGenerated(dAtA, i, uint64(m.NumberMisscheduled)) |
| 797 | dAtA[i] = 0x18 |
| 798 | i++ |
| 799 | i = encodeVarintGenerated(dAtA, i, uint64(m.DesiredNumberScheduled)) |
| 800 | dAtA[i] = 0x20 |
| 801 | i++ |
| 802 | i = encodeVarintGenerated(dAtA, i, uint64(m.NumberReady)) |
| 803 | dAtA[i] = 0x28 |
| 804 | i++ |
| 805 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration)) |
| 806 | dAtA[i] = 0x30 |
| 807 | i++ |
| 808 | i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedNumberScheduled)) |
| 809 | dAtA[i] = 0x38 |
| 810 | i++ |
| 811 | i = encodeVarintGenerated(dAtA, i, uint64(m.NumberAvailable)) |
| 812 | dAtA[i] = 0x40 |
| 813 | i++ |
| 814 | i = encodeVarintGenerated(dAtA, i, uint64(m.NumberUnavailable)) |
| 815 | if m.CollisionCount != nil { |
| 816 | dAtA[i] = 0x48 |
| 817 | i++ |
| 818 | i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount)) |
| 819 | } |
| 820 | if len(m.Conditions) > 0 { |
| 821 | for _, msg := range m.Conditions { |
| 822 | dAtA[i] = 0x52 |
| 823 | i++ |
| 824 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 825 | n, err := msg.MarshalTo(dAtA[i:]) |
| 826 | if err != nil { |
| 827 | return 0, err |
| 828 | } |
| 829 | i += n |
| 830 | } |
| 831 | } |
| 832 | return i, nil |
| 833 | } |
| 834 | |
| 835 | func (m *DaemonSetUpdateStrategy) Marshal() (dAtA []byte, err error) { |
| 836 | size := m.Size() |
| 837 | dAtA = make([]byte, size) |
| 838 | n, err := m.MarshalTo(dAtA) |
| 839 | if err != nil { |
| 840 | return nil, err |
| 841 | } |
| 842 | return dAtA[:n], nil |
| 843 | } |
| 844 | |
| 845 | func (m *DaemonSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error) { |
| 846 | var i int |
| 847 | _ = i |
| 848 | var l int |
| 849 | _ = l |
| 850 | dAtA[i] = 0xa |
| 851 | i++ |
| 852 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 853 | i += copy(dAtA[i:], m.Type) |
| 854 | if m.RollingUpdate != nil { |
| 855 | dAtA[i] = 0x12 |
| 856 | i++ |
| 857 | i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size())) |
| 858 | n11, err := m.RollingUpdate.MarshalTo(dAtA[i:]) |
| 859 | if err != nil { |
| 860 | return 0, err |
| 861 | } |
| 862 | i += n11 |
| 863 | } |
| 864 | return i, nil |
| 865 | } |
| 866 | |
| 867 | func (m *Deployment) Marshal() (dAtA []byte, err error) { |
| 868 | size := m.Size() |
| 869 | dAtA = make([]byte, size) |
| 870 | n, err := m.MarshalTo(dAtA) |
| 871 | if err != nil { |
| 872 | return nil, err |
| 873 | } |
| 874 | return dAtA[:n], nil |
| 875 | } |
| 876 | |
| 877 | func (m *Deployment) MarshalTo(dAtA []byte) (int, error) { |
| 878 | var i int |
| 879 | _ = i |
| 880 | var l int |
| 881 | _ = l |
| 882 | dAtA[i] = 0xa |
| 883 | i++ |
| 884 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 885 | n12, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 886 | if err != nil { |
| 887 | return 0, err |
| 888 | } |
| 889 | i += n12 |
| 890 | dAtA[i] = 0x12 |
| 891 | i++ |
| 892 | i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size())) |
| 893 | n13, err := m.Spec.MarshalTo(dAtA[i:]) |
| 894 | if err != nil { |
| 895 | return 0, err |
| 896 | } |
| 897 | i += n13 |
| 898 | dAtA[i] = 0x1a |
| 899 | i++ |
| 900 | i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size())) |
| 901 | n14, err := m.Status.MarshalTo(dAtA[i:]) |
| 902 | if err != nil { |
| 903 | return 0, err |
| 904 | } |
| 905 | i += n14 |
| 906 | return i, nil |
| 907 | } |
| 908 | |
| 909 | func (m *DeploymentCondition) Marshal() (dAtA []byte, err error) { |
| 910 | size := m.Size() |
| 911 | dAtA = make([]byte, size) |
| 912 | n, err := m.MarshalTo(dAtA) |
| 913 | if err != nil { |
| 914 | return nil, err |
| 915 | } |
| 916 | return dAtA[:n], nil |
| 917 | } |
| 918 | |
| 919 | func (m *DeploymentCondition) MarshalTo(dAtA []byte) (int, error) { |
| 920 | var i int |
| 921 | _ = i |
| 922 | var l int |
| 923 | _ = l |
| 924 | dAtA[i] = 0xa |
| 925 | i++ |
| 926 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 927 | i += copy(dAtA[i:], m.Type) |
| 928 | dAtA[i] = 0x12 |
| 929 | i++ |
| 930 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status))) |
| 931 | i += copy(dAtA[i:], m.Status) |
| 932 | dAtA[i] = 0x22 |
| 933 | i++ |
| 934 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason))) |
| 935 | i += copy(dAtA[i:], m.Reason) |
| 936 | dAtA[i] = 0x2a |
| 937 | i++ |
| 938 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) |
| 939 | i += copy(dAtA[i:], m.Message) |
| 940 | dAtA[i] = 0x32 |
| 941 | i++ |
| 942 | i = encodeVarintGenerated(dAtA, i, uint64(m.LastUpdateTime.Size())) |
| 943 | n15, err := m.LastUpdateTime.MarshalTo(dAtA[i:]) |
| 944 | if err != nil { |
| 945 | return 0, err |
| 946 | } |
| 947 | i += n15 |
| 948 | dAtA[i] = 0x3a |
| 949 | i++ |
| 950 | i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size())) |
| 951 | n16, err := m.LastTransitionTime.MarshalTo(dAtA[i:]) |
| 952 | if err != nil { |
| 953 | return 0, err |
| 954 | } |
| 955 | i += n16 |
| 956 | return i, nil |
| 957 | } |
| 958 | |
| 959 | func (m *DeploymentList) Marshal() (dAtA []byte, err error) { |
| 960 | size := m.Size() |
| 961 | dAtA = make([]byte, size) |
| 962 | n, err := m.MarshalTo(dAtA) |
| 963 | if err != nil { |
| 964 | return nil, err |
| 965 | } |
| 966 | return dAtA[:n], nil |
| 967 | } |
| 968 | |
| 969 | func (m *DeploymentList) MarshalTo(dAtA []byte) (int, error) { |
| 970 | var i int |
| 971 | _ = i |
| 972 | var l int |
| 973 | _ = l |
| 974 | dAtA[i] = 0xa |
| 975 | i++ |
| 976 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 977 | n17, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 978 | if err != nil { |
| 979 | return 0, err |
| 980 | } |
| 981 | i += n17 |
| 982 | if len(m.Items) > 0 { |
| 983 | for _, msg := range m.Items { |
| 984 | dAtA[i] = 0x12 |
| 985 | i++ |
| 986 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 987 | n, err := msg.MarshalTo(dAtA[i:]) |
| 988 | if err != nil { |
| 989 | return 0, err |
| 990 | } |
| 991 | i += n |
| 992 | } |
| 993 | } |
| 994 | return i, nil |
| 995 | } |
| 996 | |
| 997 | func (m *DeploymentRollback) Marshal() (dAtA []byte, err error) { |
| 998 | size := m.Size() |
| 999 | dAtA = make([]byte, size) |
| 1000 | n, err := m.MarshalTo(dAtA) |
| 1001 | if err != nil { |
| 1002 | return nil, err |
| 1003 | } |
| 1004 | return dAtA[:n], nil |
| 1005 | } |
| 1006 | |
| 1007 | func (m *DeploymentRollback) MarshalTo(dAtA []byte) (int, error) { |
| 1008 | var i int |
| 1009 | _ = i |
| 1010 | var l int |
| 1011 | _ = l |
| 1012 | dAtA[i] = 0xa |
| 1013 | i++ |
| 1014 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 1015 | i += copy(dAtA[i:], m.Name) |
| 1016 | if len(m.UpdatedAnnotations) > 0 { |
| 1017 | keysForUpdatedAnnotations := make([]string, 0, len(m.UpdatedAnnotations)) |
| 1018 | for k := range m.UpdatedAnnotations { |
| 1019 | keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, string(k)) |
| 1020 | } |
| 1021 | github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations) |
| 1022 | for _, k := range keysForUpdatedAnnotations { |
| 1023 | dAtA[i] = 0x12 |
| 1024 | i++ |
| 1025 | v := m.UpdatedAnnotations[string(k)] |
| 1026 | mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 1027 | i = encodeVarintGenerated(dAtA, i, uint64(mapSize)) |
| 1028 | dAtA[i] = 0xa |
| 1029 | i++ |
| 1030 | i = encodeVarintGenerated(dAtA, i, uint64(len(k))) |
| 1031 | i += copy(dAtA[i:], k) |
| 1032 | dAtA[i] = 0x12 |
| 1033 | i++ |
| 1034 | i = encodeVarintGenerated(dAtA, i, uint64(len(v))) |
| 1035 | i += copy(dAtA[i:], v) |
| 1036 | } |
| 1037 | } |
| 1038 | dAtA[i] = 0x1a |
| 1039 | i++ |
| 1040 | i = encodeVarintGenerated(dAtA, i, uint64(m.RollbackTo.Size())) |
| 1041 | n18, err := m.RollbackTo.MarshalTo(dAtA[i:]) |
| 1042 | if err != nil { |
| 1043 | return 0, err |
| 1044 | } |
| 1045 | i += n18 |
| 1046 | return i, nil |
| 1047 | } |
| 1048 | |
| 1049 | func (m *DeploymentSpec) Marshal() (dAtA []byte, err error) { |
| 1050 | size := m.Size() |
| 1051 | dAtA = make([]byte, size) |
| 1052 | n, err := m.MarshalTo(dAtA) |
| 1053 | if err != nil { |
| 1054 | return nil, err |
| 1055 | } |
| 1056 | return dAtA[:n], nil |
| 1057 | } |
| 1058 | |
| 1059 | func (m *DeploymentSpec) MarshalTo(dAtA []byte) (int, error) { |
| 1060 | var i int |
| 1061 | _ = i |
| 1062 | var l int |
| 1063 | _ = l |
| 1064 | if m.Replicas != nil { |
| 1065 | dAtA[i] = 0x8 |
| 1066 | i++ |
| 1067 | i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas)) |
| 1068 | } |
| 1069 | if m.Selector != nil { |
| 1070 | dAtA[i] = 0x12 |
| 1071 | i++ |
| 1072 | i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size())) |
| 1073 | n19, err := m.Selector.MarshalTo(dAtA[i:]) |
| 1074 | if err != nil { |
| 1075 | return 0, err |
| 1076 | } |
| 1077 | i += n19 |
| 1078 | } |
| 1079 | dAtA[i] = 0x1a |
| 1080 | i++ |
| 1081 | i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size())) |
| 1082 | n20, err := m.Template.MarshalTo(dAtA[i:]) |
| 1083 | if err != nil { |
| 1084 | return 0, err |
| 1085 | } |
| 1086 | i += n20 |
| 1087 | dAtA[i] = 0x22 |
| 1088 | i++ |
| 1089 | i = encodeVarintGenerated(dAtA, i, uint64(m.Strategy.Size())) |
| 1090 | n21, err := m.Strategy.MarshalTo(dAtA[i:]) |
| 1091 | if err != nil { |
| 1092 | return 0, err |
| 1093 | } |
| 1094 | i += n21 |
| 1095 | dAtA[i] = 0x28 |
| 1096 | i++ |
| 1097 | i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds)) |
| 1098 | if m.RevisionHistoryLimit != nil { |
| 1099 | dAtA[i] = 0x30 |
| 1100 | i++ |
| 1101 | i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit)) |
| 1102 | } |
| 1103 | dAtA[i] = 0x38 |
| 1104 | i++ |
| 1105 | if m.Paused { |
| 1106 | dAtA[i] = 1 |
| 1107 | } else { |
| 1108 | dAtA[i] = 0 |
| 1109 | } |
| 1110 | i++ |
| 1111 | if m.RollbackTo != nil { |
| 1112 | dAtA[i] = 0x42 |
| 1113 | i++ |
| 1114 | i = encodeVarintGenerated(dAtA, i, uint64(m.RollbackTo.Size())) |
| 1115 | n22, err := m.RollbackTo.MarshalTo(dAtA[i:]) |
| 1116 | if err != nil { |
| 1117 | return 0, err |
| 1118 | } |
| 1119 | i += n22 |
| 1120 | } |
| 1121 | if m.ProgressDeadlineSeconds != nil { |
| 1122 | dAtA[i] = 0x48 |
| 1123 | i++ |
| 1124 | i = encodeVarintGenerated(dAtA, i, uint64(*m.ProgressDeadlineSeconds)) |
| 1125 | } |
| 1126 | return i, nil |
| 1127 | } |
| 1128 | |
| 1129 | func (m *DeploymentStatus) Marshal() (dAtA []byte, err error) { |
| 1130 | size := m.Size() |
| 1131 | dAtA = make([]byte, size) |
| 1132 | n, err := m.MarshalTo(dAtA) |
| 1133 | if err != nil { |
| 1134 | return nil, err |
| 1135 | } |
| 1136 | return dAtA[:n], nil |
| 1137 | } |
| 1138 | |
| 1139 | func (m *DeploymentStatus) MarshalTo(dAtA []byte) (int, error) { |
| 1140 | var i int |
| 1141 | _ = i |
| 1142 | var l int |
| 1143 | _ = l |
| 1144 | dAtA[i] = 0x8 |
| 1145 | i++ |
| 1146 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration)) |
| 1147 | dAtA[i] = 0x10 |
| 1148 | i++ |
| 1149 | i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas)) |
| 1150 | dAtA[i] = 0x18 |
| 1151 | i++ |
| 1152 | i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas)) |
| 1153 | dAtA[i] = 0x20 |
| 1154 | i++ |
| 1155 | i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas)) |
| 1156 | dAtA[i] = 0x28 |
| 1157 | i++ |
| 1158 | i = encodeVarintGenerated(dAtA, i, uint64(m.UnavailableReplicas)) |
| 1159 | if len(m.Conditions) > 0 { |
| 1160 | for _, msg := range m.Conditions { |
| 1161 | dAtA[i] = 0x32 |
| 1162 | i++ |
| 1163 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1164 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1165 | if err != nil { |
| 1166 | return 0, err |
| 1167 | } |
| 1168 | i += n |
| 1169 | } |
| 1170 | } |
| 1171 | dAtA[i] = 0x38 |
| 1172 | i++ |
| 1173 | i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas)) |
| 1174 | if m.CollisionCount != nil { |
| 1175 | dAtA[i] = 0x40 |
| 1176 | i++ |
| 1177 | i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount)) |
| 1178 | } |
| 1179 | return i, nil |
| 1180 | } |
| 1181 | |
| 1182 | func (m *DeploymentStrategy) Marshal() (dAtA []byte, err error) { |
| 1183 | size := m.Size() |
| 1184 | dAtA = make([]byte, size) |
| 1185 | n, err := m.MarshalTo(dAtA) |
| 1186 | if err != nil { |
| 1187 | return nil, err |
| 1188 | } |
| 1189 | return dAtA[:n], nil |
| 1190 | } |
| 1191 | |
| 1192 | func (m *DeploymentStrategy) MarshalTo(dAtA []byte) (int, error) { |
| 1193 | var i int |
| 1194 | _ = i |
| 1195 | var l int |
| 1196 | _ = l |
| 1197 | dAtA[i] = 0xa |
| 1198 | i++ |
| 1199 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 1200 | i += copy(dAtA[i:], m.Type) |
| 1201 | if m.RollingUpdate != nil { |
| 1202 | dAtA[i] = 0x12 |
| 1203 | i++ |
| 1204 | i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size())) |
| 1205 | n23, err := m.RollingUpdate.MarshalTo(dAtA[i:]) |
| 1206 | if err != nil { |
| 1207 | return 0, err |
| 1208 | } |
| 1209 | i += n23 |
| 1210 | } |
| 1211 | return i, nil |
| 1212 | } |
| 1213 | |
| 1214 | func (m *FSGroupStrategyOptions) Marshal() (dAtA []byte, err error) { |
| 1215 | size := m.Size() |
| 1216 | dAtA = make([]byte, size) |
| 1217 | n, err := m.MarshalTo(dAtA) |
| 1218 | if err != nil { |
| 1219 | return nil, err |
| 1220 | } |
| 1221 | return dAtA[:n], nil |
| 1222 | } |
| 1223 | |
| 1224 | func (m *FSGroupStrategyOptions) MarshalTo(dAtA []byte) (int, error) { |
| 1225 | var i int |
| 1226 | _ = i |
| 1227 | var l int |
| 1228 | _ = l |
| 1229 | dAtA[i] = 0xa |
| 1230 | i++ |
| 1231 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule))) |
| 1232 | i += copy(dAtA[i:], m.Rule) |
| 1233 | if len(m.Ranges) > 0 { |
| 1234 | for _, msg := range m.Ranges { |
| 1235 | dAtA[i] = 0x12 |
| 1236 | i++ |
| 1237 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1238 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1239 | if err != nil { |
| 1240 | return 0, err |
| 1241 | } |
| 1242 | i += n |
| 1243 | } |
| 1244 | } |
| 1245 | return i, nil |
| 1246 | } |
| 1247 | |
| 1248 | func (m *HTTPIngressPath) Marshal() (dAtA []byte, err error) { |
| 1249 | size := m.Size() |
| 1250 | dAtA = make([]byte, size) |
| 1251 | n, err := m.MarshalTo(dAtA) |
| 1252 | if err != nil { |
| 1253 | return nil, err |
| 1254 | } |
| 1255 | return dAtA[:n], nil |
| 1256 | } |
| 1257 | |
| 1258 | func (m *HTTPIngressPath) MarshalTo(dAtA []byte) (int, error) { |
| 1259 | var i int |
| 1260 | _ = i |
| 1261 | var l int |
| 1262 | _ = l |
| 1263 | dAtA[i] = 0xa |
| 1264 | i++ |
| 1265 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path))) |
| 1266 | i += copy(dAtA[i:], m.Path) |
| 1267 | dAtA[i] = 0x12 |
| 1268 | i++ |
| 1269 | i = encodeVarintGenerated(dAtA, i, uint64(m.Backend.Size())) |
| 1270 | n24, err := m.Backend.MarshalTo(dAtA[i:]) |
| 1271 | if err != nil { |
| 1272 | return 0, err |
| 1273 | } |
| 1274 | i += n24 |
| 1275 | return i, nil |
| 1276 | } |
| 1277 | |
| 1278 | func (m *HTTPIngressRuleValue) Marshal() (dAtA []byte, err error) { |
| 1279 | size := m.Size() |
| 1280 | dAtA = make([]byte, size) |
| 1281 | n, err := m.MarshalTo(dAtA) |
| 1282 | if err != nil { |
| 1283 | return nil, err |
| 1284 | } |
| 1285 | return dAtA[:n], nil |
| 1286 | } |
| 1287 | |
| 1288 | func (m *HTTPIngressRuleValue) MarshalTo(dAtA []byte) (int, error) { |
| 1289 | var i int |
| 1290 | _ = i |
| 1291 | var l int |
| 1292 | _ = l |
| 1293 | if len(m.Paths) > 0 { |
| 1294 | for _, msg := range m.Paths { |
| 1295 | dAtA[i] = 0xa |
| 1296 | i++ |
| 1297 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1298 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1299 | if err != nil { |
| 1300 | return 0, err |
| 1301 | } |
| 1302 | i += n |
| 1303 | } |
| 1304 | } |
| 1305 | return i, nil |
| 1306 | } |
| 1307 | |
| 1308 | func (m *HostPortRange) Marshal() (dAtA []byte, err error) { |
| 1309 | size := m.Size() |
| 1310 | dAtA = make([]byte, size) |
| 1311 | n, err := m.MarshalTo(dAtA) |
| 1312 | if err != nil { |
| 1313 | return nil, err |
| 1314 | } |
| 1315 | return dAtA[:n], nil |
| 1316 | } |
| 1317 | |
| 1318 | func (m *HostPortRange) MarshalTo(dAtA []byte) (int, error) { |
| 1319 | var i int |
| 1320 | _ = i |
| 1321 | var l int |
| 1322 | _ = l |
| 1323 | dAtA[i] = 0x8 |
| 1324 | i++ |
| 1325 | i = encodeVarintGenerated(dAtA, i, uint64(m.Min)) |
| 1326 | dAtA[i] = 0x10 |
| 1327 | i++ |
| 1328 | i = encodeVarintGenerated(dAtA, i, uint64(m.Max)) |
| 1329 | return i, nil |
| 1330 | } |
| 1331 | |
| 1332 | func (m *IDRange) Marshal() (dAtA []byte, err error) { |
| 1333 | size := m.Size() |
| 1334 | dAtA = make([]byte, size) |
| 1335 | n, err := m.MarshalTo(dAtA) |
| 1336 | if err != nil { |
| 1337 | return nil, err |
| 1338 | } |
| 1339 | return dAtA[:n], nil |
| 1340 | } |
| 1341 | |
| 1342 | func (m *IDRange) MarshalTo(dAtA []byte) (int, error) { |
| 1343 | var i int |
| 1344 | _ = i |
| 1345 | var l int |
| 1346 | _ = l |
| 1347 | dAtA[i] = 0x8 |
| 1348 | i++ |
| 1349 | i = encodeVarintGenerated(dAtA, i, uint64(m.Min)) |
| 1350 | dAtA[i] = 0x10 |
| 1351 | i++ |
| 1352 | i = encodeVarintGenerated(dAtA, i, uint64(m.Max)) |
| 1353 | return i, nil |
| 1354 | } |
| 1355 | |
| 1356 | func (m *IPBlock) Marshal() (dAtA []byte, err error) { |
| 1357 | size := m.Size() |
| 1358 | dAtA = make([]byte, size) |
| 1359 | n, err := m.MarshalTo(dAtA) |
| 1360 | if err != nil { |
| 1361 | return nil, err |
| 1362 | } |
| 1363 | return dAtA[:n], nil |
| 1364 | } |
| 1365 | |
| 1366 | func (m *IPBlock) MarshalTo(dAtA []byte) (int, error) { |
| 1367 | var i int |
| 1368 | _ = i |
| 1369 | var l int |
| 1370 | _ = l |
| 1371 | dAtA[i] = 0xa |
| 1372 | i++ |
| 1373 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.CIDR))) |
| 1374 | i += copy(dAtA[i:], m.CIDR) |
| 1375 | if len(m.Except) > 0 { |
| 1376 | for _, s := range m.Except { |
| 1377 | dAtA[i] = 0x12 |
| 1378 | i++ |
| 1379 | l = len(s) |
| 1380 | for l >= 1<<7 { |
| 1381 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 1382 | l >>= 7 |
| 1383 | i++ |
| 1384 | } |
| 1385 | dAtA[i] = uint8(l) |
| 1386 | i++ |
| 1387 | i += copy(dAtA[i:], s) |
| 1388 | } |
| 1389 | } |
| 1390 | return i, nil |
| 1391 | } |
| 1392 | |
| 1393 | func (m *Ingress) Marshal() (dAtA []byte, err error) { |
| 1394 | size := m.Size() |
| 1395 | dAtA = make([]byte, size) |
| 1396 | n, err := m.MarshalTo(dAtA) |
| 1397 | if err != nil { |
| 1398 | return nil, err |
| 1399 | } |
| 1400 | return dAtA[:n], nil |
| 1401 | } |
| 1402 | |
| 1403 | func (m *Ingress) MarshalTo(dAtA []byte) (int, error) { |
| 1404 | var i int |
| 1405 | _ = i |
| 1406 | var l int |
| 1407 | _ = l |
| 1408 | dAtA[i] = 0xa |
| 1409 | i++ |
| 1410 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 1411 | n25, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 1412 | if err != nil { |
| 1413 | return 0, err |
| 1414 | } |
| 1415 | i += n25 |
| 1416 | dAtA[i] = 0x12 |
| 1417 | i++ |
| 1418 | i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size())) |
| 1419 | n26, err := m.Spec.MarshalTo(dAtA[i:]) |
| 1420 | if err != nil { |
| 1421 | return 0, err |
| 1422 | } |
| 1423 | i += n26 |
| 1424 | dAtA[i] = 0x1a |
| 1425 | i++ |
| 1426 | i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size())) |
| 1427 | n27, err := m.Status.MarshalTo(dAtA[i:]) |
| 1428 | if err != nil { |
| 1429 | return 0, err |
| 1430 | } |
| 1431 | i += n27 |
| 1432 | return i, nil |
| 1433 | } |
| 1434 | |
| 1435 | func (m *IngressBackend) Marshal() (dAtA []byte, err error) { |
| 1436 | size := m.Size() |
| 1437 | dAtA = make([]byte, size) |
| 1438 | n, err := m.MarshalTo(dAtA) |
| 1439 | if err != nil { |
| 1440 | return nil, err |
| 1441 | } |
| 1442 | return dAtA[:n], nil |
| 1443 | } |
| 1444 | |
| 1445 | func (m *IngressBackend) MarshalTo(dAtA []byte) (int, error) { |
| 1446 | var i int |
| 1447 | _ = i |
| 1448 | var l int |
| 1449 | _ = l |
| 1450 | dAtA[i] = 0xa |
| 1451 | i++ |
| 1452 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServiceName))) |
| 1453 | i += copy(dAtA[i:], m.ServiceName) |
| 1454 | dAtA[i] = 0x12 |
| 1455 | i++ |
| 1456 | i = encodeVarintGenerated(dAtA, i, uint64(m.ServicePort.Size())) |
| 1457 | n28, err := m.ServicePort.MarshalTo(dAtA[i:]) |
| 1458 | if err != nil { |
| 1459 | return 0, err |
| 1460 | } |
| 1461 | i += n28 |
| 1462 | return i, nil |
| 1463 | } |
| 1464 | |
| 1465 | func (m *IngressList) Marshal() (dAtA []byte, err error) { |
| 1466 | size := m.Size() |
| 1467 | dAtA = make([]byte, size) |
| 1468 | n, err := m.MarshalTo(dAtA) |
| 1469 | if err != nil { |
| 1470 | return nil, err |
| 1471 | } |
| 1472 | return dAtA[:n], nil |
| 1473 | } |
| 1474 | |
| 1475 | func (m *IngressList) MarshalTo(dAtA []byte) (int, error) { |
| 1476 | var i int |
| 1477 | _ = i |
| 1478 | var l int |
| 1479 | _ = l |
| 1480 | dAtA[i] = 0xa |
| 1481 | i++ |
| 1482 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 1483 | n29, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 1484 | if err != nil { |
| 1485 | return 0, err |
| 1486 | } |
| 1487 | i += n29 |
| 1488 | if len(m.Items) > 0 { |
| 1489 | for _, msg := range m.Items { |
| 1490 | dAtA[i] = 0x12 |
| 1491 | i++ |
| 1492 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1493 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1494 | if err != nil { |
| 1495 | return 0, err |
| 1496 | } |
| 1497 | i += n |
| 1498 | } |
| 1499 | } |
| 1500 | return i, nil |
| 1501 | } |
| 1502 | |
| 1503 | func (m *IngressRule) Marshal() (dAtA []byte, err error) { |
| 1504 | size := m.Size() |
| 1505 | dAtA = make([]byte, size) |
| 1506 | n, err := m.MarshalTo(dAtA) |
| 1507 | if err != nil { |
| 1508 | return nil, err |
| 1509 | } |
| 1510 | return dAtA[:n], nil |
| 1511 | } |
| 1512 | |
| 1513 | func (m *IngressRule) MarshalTo(dAtA []byte) (int, error) { |
| 1514 | var i int |
| 1515 | _ = i |
| 1516 | var l int |
| 1517 | _ = l |
| 1518 | dAtA[i] = 0xa |
| 1519 | i++ |
| 1520 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Host))) |
| 1521 | i += copy(dAtA[i:], m.Host) |
| 1522 | dAtA[i] = 0x12 |
| 1523 | i++ |
| 1524 | i = encodeVarintGenerated(dAtA, i, uint64(m.IngressRuleValue.Size())) |
| 1525 | n30, err := m.IngressRuleValue.MarshalTo(dAtA[i:]) |
| 1526 | if err != nil { |
| 1527 | return 0, err |
| 1528 | } |
| 1529 | i += n30 |
| 1530 | return i, nil |
| 1531 | } |
| 1532 | |
| 1533 | func (m *IngressRuleValue) Marshal() (dAtA []byte, err error) { |
| 1534 | size := m.Size() |
| 1535 | dAtA = make([]byte, size) |
| 1536 | n, err := m.MarshalTo(dAtA) |
| 1537 | if err != nil { |
| 1538 | return nil, err |
| 1539 | } |
| 1540 | return dAtA[:n], nil |
| 1541 | } |
| 1542 | |
| 1543 | func (m *IngressRuleValue) MarshalTo(dAtA []byte) (int, error) { |
| 1544 | var i int |
| 1545 | _ = i |
| 1546 | var l int |
| 1547 | _ = l |
| 1548 | if m.HTTP != nil { |
| 1549 | dAtA[i] = 0xa |
| 1550 | i++ |
| 1551 | i = encodeVarintGenerated(dAtA, i, uint64(m.HTTP.Size())) |
| 1552 | n31, err := m.HTTP.MarshalTo(dAtA[i:]) |
| 1553 | if err != nil { |
| 1554 | return 0, err |
| 1555 | } |
| 1556 | i += n31 |
| 1557 | } |
| 1558 | return i, nil |
| 1559 | } |
| 1560 | |
| 1561 | func (m *IngressSpec) Marshal() (dAtA []byte, err error) { |
| 1562 | size := m.Size() |
| 1563 | dAtA = make([]byte, size) |
| 1564 | n, err := m.MarshalTo(dAtA) |
| 1565 | if err != nil { |
| 1566 | return nil, err |
| 1567 | } |
| 1568 | return dAtA[:n], nil |
| 1569 | } |
| 1570 | |
| 1571 | func (m *IngressSpec) MarshalTo(dAtA []byte) (int, error) { |
| 1572 | var i int |
| 1573 | _ = i |
| 1574 | var l int |
| 1575 | _ = l |
| 1576 | if m.Backend != nil { |
| 1577 | dAtA[i] = 0xa |
| 1578 | i++ |
| 1579 | i = encodeVarintGenerated(dAtA, i, uint64(m.Backend.Size())) |
| 1580 | n32, err := m.Backend.MarshalTo(dAtA[i:]) |
| 1581 | if err != nil { |
| 1582 | return 0, err |
| 1583 | } |
| 1584 | i += n32 |
| 1585 | } |
| 1586 | if len(m.TLS) > 0 { |
| 1587 | for _, msg := range m.TLS { |
| 1588 | dAtA[i] = 0x12 |
| 1589 | i++ |
| 1590 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1591 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1592 | if err != nil { |
| 1593 | return 0, err |
| 1594 | } |
| 1595 | i += n |
| 1596 | } |
| 1597 | } |
| 1598 | if len(m.Rules) > 0 { |
| 1599 | for _, msg := range m.Rules { |
| 1600 | dAtA[i] = 0x1a |
| 1601 | i++ |
| 1602 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1603 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1604 | if err != nil { |
| 1605 | return 0, err |
| 1606 | } |
| 1607 | i += n |
| 1608 | } |
| 1609 | } |
| 1610 | return i, nil |
| 1611 | } |
| 1612 | |
| 1613 | func (m *IngressStatus) Marshal() (dAtA []byte, err error) { |
| 1614 | size := m.Size() |
| 1615 | dAtA = make([]byte, size) |
| 1616 | n, err := m.MarshalTo(dAtA) |
| 1617 | if err != nil { |
| 1618 | return nil, err |
| 1619 | } |
| 1620 | return dAtA[:n], nil |
| 1621 | } |
| 1622 | |
| 1623 | func (m *IngressStatus) MarshalTo(dAtA []byte) (int, error) { |
| 1624 | var i int |
| 1625 | _ = i |
| 1626 | var l int |
| 1627 | _ = l |
| 1628 | dAtA[i] = 0xa |
| 1629 | i++ |
| 1630 | i = encodeVarintGenerated(dAtA, i, uint64(m.LoadBalancer.Size())) |
| 1631 | n33, err := m.LoadBalancer.MarshalTo(dAtA[i:]) |
| 1632 | if err != nil { |
| 1633 | return 0, err |
| 1634 | } |
| 1635 | i += n33 |
| 1636 | return i, nil |
| 1637 | } |
| 1638 | |
| 1639 | func (m *IngressTLS) Marshal() (dAtA []byte, err error) { |
| 1640 | size := m.Size() |
| 1641 | dAtA = make([]byte, size) |
| 1642 | n, err := m.MarshalTo(dAtA) |
| 1643 | if err != nil { |
| 1644 | return nil, err |
| 1645 | } |
| 1646 | return dAtA[:n], nil |
| 1647 | } |
| 1648 | |
| 1649 | func (m *IngressTLS) MarshalTo(dAtA []byte) (int, error) { |
| 1650 | var i int |
| 1651 | _ = i |
| 1652 | var l int |
| 1653 | _ = l |
| 1654 | if len(m.Hosts) > 0 { |
| 1655 | for _, s := range m.Hosts { |
| 1656 | dAtA[i] = 0xa |
| 1657 | i++ |
| 1658 | l = len(s) |
| 1659 | for l >= 1<<7 { |
| 1660 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 1661 | l >>= 7 |
| 1662 | i++ |
| 1663 | } |
| 1664 | dAtA[i] = uint8(l) |
| 1665 | i++ |
| 1666 | i += copy(dAtA[i:], s) |
| 1667 | } |
| 1668 | } |
| 1669 | dAtA[i] = 0x12 |
| 1670 | i++ |
| 1671 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.SecretName))) |
| 1672 | i += copy(dAtA[i:], m.SecretName) |
| 1673 | return i, nil |
| 1674 | } |
| 1675 | |
| 1676 | func (m *NetworkPolicy) Marshal() (dAtA []byte, err error) { |
| 1677 | size := m.Size() |
| 1678 | dAtA = make([]byte, size) |
| 1679 | n, err := m.MarshalTo(dAtA) |
| 1680 | if err != nil { |
| 1681 | return nil, err |
| 1682 | } |
| 1683 | return dAtA[:n], nil |
| 1684 | } |
| 1685 | |
| 1686 | func (m *NetworkPolicy) MarshalTo(dAtA []byte) (int, error) { |
| 1687 | var i int |
| 1688 | _ = i |
| 1689 | var l int |
| 1690 | _ = l |
| 1691 | dAtA[i] = 0xa |
| 1692 | i++ |
| 1693 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 1694 | n34, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 1695 | if err != nil { |
| 1696 | return 0, err |
| 1697 | } |
| 1698 | i += n34 |
| 1699 | dAtA[i] = 0x12 |
| 1700 | i++ |
| 1701 | i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size())) |
| 1702 | n35, err := m.Spec.MarshalTo(dAtA[i:]) |
| 1703 | if err != nil { |
| 1704 | return 0, err |
| 1705 | } |
| 1706 | i += n35 |
| 1707 | return i, nil |
| 1708 | } |
| 1709 | |
| 1710 | func (m *NetworkPolicyEgressRule) Marshal() (dAtA []byte, err error) { |
| 1711 | size := m.Size() |
| 1712 | dAtA = make([]byte, size) |
| 1713 | n, err := m.MarshalTo(dAtA) |
| 1714 | if err != nil { |
| 1715 | return nil, err |
| 1716 | } |
| 1717 | return dAtA[:n], nil |
| 1718 | } |
| 1719 | |
| 1720 | func (m *NetworkPolicyEgressRule) MarshalTo(dAtA []byte) (int, error) { |
| 1721 | var i int |
| 1722 | _ = i |
| 1723 | var l int |
| 1724 | _ = l |
| 1725 | if len(m.Ports) > 0 { |
| 1726 | for _, msg := range m.Ports { |
| 1727 | dAtA[i] = 0xa |
| 1728 | i++ |
| 1729 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1730 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1731 | if err != nil { |
| 1732 | return 0, err |
| 1733 | } |
| 1734 | i += n |
| 1735 | } |
| 1736 | } |
| 1737 | if len(m.To) > 0 { |
| 1738 | for _, msg := range m.To { |
| 1739 | dAtA[i] = 0x12 |
| 1740 | i++ |
| 1741 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1742 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1743 | if err != nil { |
| 1744 | return 0, err |
| 1745 | } |
| 1746 | i += n |
| 1747 | } |
| 1748 | } |
| 1749 | return i, nil |
| 1750 | } |
| 1751 | |
| 1752 | func (m *NetworkPolicyIngressRule) Marshal() (dAtA []byte, err error) { |
| 1753 | size := m.Size() |
| 1754 | dAtA = make([]byte, size) |
| 1755 | n, err := m.MarshalTo(dAtA) |
| 1756 | if err != nil { |
| 1757 | return nil, err |
| 1758 | } |
| 1759 | return dAtA[:n], nil |
| 1760 | } |
| 1761 | |
| 1762 | func (m *NetworkPolicyIngressRule) MarshalTo(dAtA []byte) (int, error) { |
| 1763 | var i int |
| 1764 | _ = i |
| 1765 | var l int |
| 1766 | _ = l |
| 1767 | if len(m.Ports) > 0 { |
| 1768 | for _, msg := range m.Ports { |
| 1769 | dAtA[i] = 0xa |
| 1770 | i++ |
| 1771 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1772 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1773 | if err != nil { |
| 1774 | return 0, err |
| 1775 | } |
| 1776 | i += n |
| 1777 | } |
| 1778 | } |
| 1779 | if len(m.From) > 0 { |
| 1780 | for _, msg := range m.From { |
| 1781 | dAtA[i] = 0x12 |
| 1782 | i++ |
| 1783 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1784 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1785 | if err != nil { |
| 1786 | return 0, err |
| 1787 | } |
| 1788 | i += n |
| 1789 | } |
| 1790 | } |
| 1791 | return i, nil |
| 1792 | } |
| 1793 | |
| 1794 | func (m *NetworkPolicyList) Marshal() (dAtA []byte, err error) { |
| 1795 | size := m.Size() |
| 1796 | dAtA = make([]byte, size) |
| 1797 | n, err := m.MarshalTo(dAtA) |
| 1798 | if err != nil { |
| 1799 | return nil, err |
| 1800 | } |
| 1801 | return dAtA[:n], nil |
| 1802 | } |
| 1803 | |
| 1804 | func (m *NetworkPolicyList) MarshalTo(dAtA []byte) (int, error) { |
| 1805 | var i int |
| 1806 | _ = i |
| 1807 | var l int |
| 1808 | _ = l |
| 1809 | dAtA[i] = 0xa |
| 1810 | i++ |
| 1811 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 1812 | n36, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 1813 | if err != nil { |
| 1814 | return 0, err |
| 1815 | } |
| 1816 | i += n36 |
| 1817 | if len(m.Items) > 0 { |
| 1818 | for _, msg := range m.Items { |
| 1819 | dAtA[i] = 0x12 |
| 1820 | i++ |
| 1821 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1822 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1823 | if err != nil { |
| 1824 | return 0, err |
| 1825 | } |
| 1826 | i += n |
| 1827 | } |
| 1828 | } |
| 1829 | return i, nil |
| 1830 | } |
| 1831 | |
| 1832 | func (m *NetworkPolicyPeer) Marshal() (dAtA []byte, err error) { |
| 1833 | size := m.Size() |
| 1834 | dAtA = make([]byte, size) |
| 1835 | n, err := m.MarshalTo(dAtA) |
| 1836 | if err != nil { |
| 1837 | return nil, err |
| 1838 | } |
| 1839 | return dAtA[:n], nil |
| 1840 | } |
| 1841 | |
| 1842 | func (m *NetworkPolicyPeer) MarshalTo(dAtA []byte) (int, error) { |
| 1843 | var i int |
| 1844 | _ = i |
| 1845 | var l int |
| 1846 | _ = l |
| 1847 | if m.PodSelector != nil { |
| 1848 | dAtA[i] = 0xa |
| 1849 | i++ |
| 1850 | i = encodeVarintGenerated(dAtA, i, uint64(m.PodSelector.Size())) |
| 1851 | n37, err := m.PodSelector.MarshalTo(dAtA[i:]) |
| 1852 | if err != nil { |
| 1853 | return 0, err |
| 1854 | } |
| 1855 | i += n37 |
| 1856 | } |
| 1857 | if m.NamespaceSelector != nil { |
| 1858 | dAtA[i] = 0x12 |
| 1859 | i++ |
| 1860 | i = encodeVarintGenerated(dAtA, i, uint64(m.NamespaceSelector.Size())) |
| 1861 | n38, err := m.NamespaceSelector.MarshalTo(dAtA[i:]) |
| 1862 | if err != nil { |
| 1863 | return 0, err |
| 1864 | } |
| 1865 | i += n38 |
| 1866 | } |
| 1867 | if m.IPBlock != nil { |
| 1868 | dAtA[i] = 0x1a |
| 1869 | i++ |
| 1870 | i = encodeVarintGenerated(dAtA, i, uint64(m.IPBlock.Size())) |
| 1871 | n39, err := m.IPBlock.MarshalTo(dAtA[i:]) |
| 1872 | if err != nil { |
| 1873 | return 0, err |
| 1874 | } |
| 1875 | i += n39 |
| 1876 | } |
| 1877 | return i, nil |
| 1878 | } |
| 1879 | |
| 1880 | func (m *NetworkPolicyPort) Marshal() (dAtA []byte, err error) { |
| 1881 | size := m.Size() |
| 1882 | dAtA = make([]byte, size) |
| 1883 | n, err := m.MarshalTo(dAtA) |
| 1884 | if err != nil { |
| 1885 | return nil, err |
| 1886 | } |
| 1887 | return dAtA[:n], nil |
| 1888 | } |
| 1889 | |
| 1890 | func (m *NetworkPolicyPort) MarshalTo(dAtA []byte) (int, error) { |
| 1891 | var i int |
| 1892 | _ = i |
| 1893 | var l int |
| 1894 | _ = l |
| 1895 | if m.Protocol != nil { |
| 1896 | dAtA[i] = 0xa |
| 1897 | i++ |
| 1898 | i = encodeVarintGenerated(dAtA, i, uint64(len(*m.Protocol))) |
| 1899 | i += copy(dAtA[i:], *m.Protocol) |
| 1900 | } |
| 1901 | if m.Port != nil { |
| 1902 | dAtA[i] = 0x12 |
| 1903 | i++ |
| 1904 | i = encodeVarintGenerated(dAtA, i, uint64(m.Port.Size())) |
| 1905 | n40, err := m.Port.MarshalTo(dAtA[i:]) |
| 1906 | if err != nil { |
| 1907 | return 0, err |
| 1908 | } |
| 1909 | i += n40 |
| 1910 | } |
| 1911 | return i, nil |
| 1912 | } |
| 1913 | |
| 1914 | func (m *NetworkPolicySpec) Marshal() (dAtA []byte, err error) { |
| 1915 | size := m.Size() |
| 1916 | dAtA = make([]byte, size) |
| 1917 | n, err := m.MarshalTo(dAtA) |
| 1918 | if err != nil { |
| 1919 | return nil, err |
| 1920 | } |
| 1921 | return dAtA[:n], nil |
| 1922 | } |
| 1923 | |
| 1924 | func (m *NetworkPolicySpec) MarshalTo(dAtA []byte) (int, error) { |
| 1925 | var i int |
| 1926 | _ = i |
| 1927 | var l int |
| 1928 | _ = l |
| 1929 | dAtA[i] = 0xa |
| 1930 | i++ |
| 1931 | i = encodeVarintGenerated(dAtA, i, uint64(m.PodSelector.Size())) |
| 1932 | n41, err := m.PodSelector.MarshalTo(dAtA[i:]) |
| 1933 | if err != nil { |
| 1934 | return 0, err |
| 1935 | } |
| 1936 | i += n41 |
| 1937 | if len(m.Ingress) > 0 { |
| 1938 | for _, msg := range m.Ingress { |
| 1939 | dAtA[i] = 0x12 |
| 1940 | i++ |
| 1941 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1942 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1943 | if err != nil { |
| 1944 | return 0, err |
| 1945 | } |
| 1946 | i += n |
| 1947 | } |
| 1948 | } |
| 1949 | if len(m.Egress) > 0 { |
| 1950 | for _, msg := range m.Egress { |
| 1951 | dAtA[i] = 0x1a |
| 1952 | i++ |
| 1953 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1954 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1955 | if err != nil { |
| 1956 | return 0, err |
| 1957 | } |
| 1958 | i += n |
| 1959 | } |
| 1960 | } |
| 1961 | if len(m.PolicyTypes) > 0 { |
| 1962 | for _, s := range m.PolicyTypes { |
| 1963 | dAtA[i] = 0x22 |
| 1964 | i++ |
| 1965 | l = len(s) |
| 1966 | for l >= 1<<7 { |
| 1967 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 1968 | l >>= 7 |
| 1969 | i++ |
| 1970 | } |
| 1971 | dAtA[i] = uint8(l) |
| 1972 | i++ |
| 1973 | i += copy(dAtA[i:], s) |
| 1974 | } |
| 1975 | } |
| 1976 | return i, nil |
| 1977 | } |
| 1978 | |
| 1979 | func (m *PodSecurityPolicy) Marshal() (dAtA []byte, err error) { |
| 1980 | size := m.Size() |
| 1981 | dAtA = make([]byte, size) |
| 1982 | n, err := m.MarshalTo(dAtA) |
| 1983 | if err != nil { |
| 1984 | return nil, err |
| 1985 | } |
| 1986 | return dAtA[:n], nil |
| 1987 | } |
| 1988 | |
| 1989 | func (m *PodSecurityPolicy) MarshalTo(dAtA []byte) (int, error) { |
| 1990 | var i int |
| 1991 | _ = i |
| 1992 | var l int |
| 1993 | _ = l |
| 1994 | dAtA[i] = 0xa |
| 1995 | i++ |
| 1996 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 1997 | n42, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 1998 | if err != nil { |
| 1999 | return 0, err |
| 2000 | } |
| 2001 | i += n42 |
| 2002 | dAtA[i] = 0x12 |
| 2003 | i++ |
| 2004 | i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size())) |
| 2005 | n43, err := m.Spec.MarshalTo(dAtA[i:]) |
| 2006 | if err != nil { |
| 2007 | return 0, err |
| 2008 | } |
| 2009 | i += n43 |
| 2010 | return i, nil |
| 2011 | } |
| 2012 | |
| 2013 | func (m *PodSecurityPolicyList) Marshal() (dAtA []byte, err error) { |
| 2014 | size := m.Size() |
| 2015 | dAtA = make([]byte, size) |
| 2016 | n, err := m.MarshalTo(dAtA) |
| 2017 | if err != nil { |
| 2018 | return nil, err |
| 2019 | } |
| 2020 | return dAtA[:n], nil |
| 2021 | } |
| 2022 | |
| 2023 | func (m *PodSecurityPolicyList) MarshalTo(dAtA []byte) (int, error) { |
| 2024 | var i int |
| 2025 | _ = i |
| 2026 | var l int |
| 2027 | _ = l |
| 2028 | dAtA[i] = 0xa |
| 2029 | i++ |
| 2030 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 2031 | n44, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 2032 | if err != nil { |
| 2033 | return 0, err |
| 2034 | } |
| 2035 | i += n44 |
| 2036 | if len(m.Items) > 0 { |
| 2037 | for _, msg := range m.Items { |
| 2038 | dAtA[i] = 0x12 |
| 2039 | i++ |
| 2040 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 2041 | n, err := msg.MarshalTo(dAtA[i:]) |
| 2042 | if err != nil { |
| 2043 | return 0, err |
| 2044 | } |
| 2045 | i += n |
| 2046 | } |
| 2047 | } |
| 2048 | return i, nil |
| 2049 | } |
| 2050 | |
| 2051 | func (m *PodSecurityPolicySpec) Marshal() (dAtA []byte, err error) { |
| 2052 | size := m.Size() |
| 2053 | dAtA = make([]byte, size) |
| 2054 | n, err := m.MarshalTo(dAtA) |
| 2055 | if err != nil { |
| 2056 | return nil, err |
| 2057 | } |
| 2058 | return dAtA[:n], nil |
| 2059 | } |
| 2060 | |
| 2061 | func (m *PodSecurityPolicySpec) MarshalTo(dAtA []byte) (int, error) { |
| 2062 | var i int |
| 2063 | _ = i |
| 2064 | var l int |
| 2065 | _ = l |
| 2066 | dAtA[i] = 0x8 |
| 2067 | i++ |
| 2068 | if m.Privileged { |
| 2069 | dAtA[i] = 1 |
| 2070 | } else { |
| 2071 | dAtA[i] = 0 |
| 2072 | } |
| 2073 | i++ |
| 2074 | if len(m.DefaultAddCapabilities) > 0 { |
| 2075 | for _, s := range m.DefaultAddCapabilities { |
| 2076 | dAtA[i] = 0x12 |
| 2077 | i++ |
| 2078 | l = len(s) |
| 2079 | for l >= 1<<7 { |
| 2080 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 2081 | l >>= 7 |
| 2082 | i++ |
| 2083 | } |
| 2084 | dAtA[i] = uint8(l) |
| 2085 | i++ |
| 2086 | i += copy(dAtA[i:], s) |
| 2087 | } |
| 2088 | } |
| 2089 | if len(m.RequiredDropCapabilities) > 0 { |
| 2090 | for _, s := range m.RequiredDropCapabilities { |
| 2091 | dAtA[i] = 0x1a |
| 2092 | i++ |
| 2093 | l = len(s) |
| 2094 | for l >= 1<<7 { |
| 2095 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 2096 | l >>= 7 |
| 2097 | i++ |
| 2098 | } |
| 2099 | dAtA[i] = uint8(l) |
| 2100 | i++ |
| 2101 | i += copy(dAtA[i:], s) |
| 2102 | } |
| 2103 | } |
| 2104 | if len(m.AllowedCapabilities) > 0 { |
| 2105 | for _, s := range m.AllowedCapabilities { |
| 2106 | dAtA[i] = 0x22 |
| 2107 | i++ |
| 2108 | l = len(s) |
| 2109 | for l >= 1<<7 { |
| 2110 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 2111 | l >>= 7 |
| 2112 | i++ |
| 2113 | } |
| 2114 | dAtA[i] = uint8(l) |
| 2115 | i++ |
| 2116 | i += copy(dAtA[i:], s) |
| 2117 | } |
| 2118 | } |
| 2119 | if len(m.Volumes) > 0 { |
| 2120 | for _, s := range m.Volumes { |
| 2121 | dAtA[i] = 0x2a |
| 2122 | i++ |
| 2123 | l = len(s) |
| 2124 | for l >= 1<<7 { |
| 2125 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 2126 | l >>= 7 |
| 2127 | i++ |
| 2128 | } |
| 2129 | dAtA[i] = uint8(l) |
| 2130 | i++ |
| 2131 | i += copy(dAtA[i:], s) |
| 2132 | } |
| 2133 | } |
| 2134 | dAtA[i] = 0x30 |
| 2135 | i++ |
| 2136 | if m.HostNetwork { |
| 2137 | dAtA[i] = 1 |
| 2138 | } else { |
| 2139 | dAtA[i] = 0 |
| 2140 | } |
| 2141 | i++ |
| 2142 | if len(m.HostPorts) > 0 { |
| 2143 | for _, msg := range m.HostPorts { |
| 2144 | dAtA[i] = 0x3a |
| 2145 | i++ |
| 2146 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 2147 | n, err := msg.MarshalTo(dAtA[i:]) |
| 2148 | if err != nil { |
| 2149 | return 0, err |
| 2150 | } |
| 2151 | i += n |
| 2152 | } |
| 2153 | } |
| 2154 | dAtA[i] = 0x40 |
| 2155 | i++ |
| 2156 | if m.HostPID { |
| 2157 | dAtA[i] = 1 |
| 2158 | } else { |
| 2159 | dAtA[i] = 0 |
| 2160 | } |
| 2161 | i++ |
| 2162 | dAtA[i] = 0x48 |
| 2163 | i++ |
| 2164 | if m.HostIPC { |
| 2165 | dAtA[i] = 1 |
| 2166 | } else { |
| 2167 | dAtA[i] = 0 |
| 2168 | } |
| 2169 | i++ |
| 2170 | dAtA[i] = 0x52 |
| 2171 | i++ |
| 2172 | i = encodeVarintGenerated(dAtA, i, uint64(m.SELinux.Size())) |
| 2173 | n45, err := m.SELinux.MarshalTo(dAtA[i:]) |
| 2174 | if err != nil { |
| 2175 | return 0, err |
| 2176 | } |
| 2177 | i += n45 |
| 2178 | dAtA[i] = 0x5a |
| 2179 | i++ |
| 2180 | i = encodeVarintGenerated(dAtA, i, uint64(m.RunAsUser.Size())) |
| 2181 | n46, err := m.RunAsUser.MarshalTo(dAtA[i:]) |
| 2182 | if err != nil { |
| 2183 | return 0, err |
| 2184 | } |
| 2185 | i += n46 |
| 2186 | dAtA[i] = 0x62 |
| 2187 | i++ |
| 2188 | i = encodeVarintGenerated(dAtA, i, uint64(m.SupplementalGroups.Size())) |
| 2189 | n47, err := m.SupplementalGroups.MarshalTo(dAtA[i:]) |
| 2190 | if err != nil { |
| 2191 | return 0, err |
| 2192 | } |
| 2193 | i += n47 |
| 2194 | dAtA[i] = 0x6a |
| 2195 | i++ |
| 2196 | i = encodeVarintGenerated(dAtA, i, uint64(m.FSGroup.Size())) |
| 2197 | n48, err := m.FSGroup.MarshalTo(dAtA[i:]) |
| 2198 | if err != nil { |
| 2199 | return 0, err |
| 2200 | } |
| 2201 | i += n48 |
| 2202 | dAtA[i] = 0x70 |
| 2203 | i++ |
| 2204 | if m.ReadOnlyRootFilesystem { |
| 2205 | dAtA[i] = 1 |
| 2206 | } else { |
| 2207 | dAtA[i] = 0 |
| 2208 | } |
| 2209 | i++ |
| 2210 | if m.DefaultAllowPrivilegeEscalation != nil { |
| 2211 | dAtA[i] = 0x78 |
| 2212 | i++ |
| 2213 | if *m.DefaultAllowPrivilegeEscalation { |
| 2214 | dAtA[i] = 1 |
| 2215 | } else { |
| 2216 | dAtA[i] = 0 |
| 2217 | } |
| 2218 | i++ |
| 2219 | } |
| 2220 | if m.AllowPrivilegeEscalation != nil { |
| 2221 | dAtA[i] = 0x80 |
| 2222 | i++ |
| 2223 | dAtA[i] = 0x1 |
| 2224 | i++ |
| 2225 | if *m.AllowPrivilegeEscalation { |
| 2226 | dAtA[i] = 1 |
| 2227 | } else { |
| 2228 | dAtA[i] = 0 |
| 2229 | } |
| 2230 | i++ |
| 2231 | } |
| 2232 | if len(m.AllowedHostPaths) > 0 { |
| 2233 | for _, msg := range m.AllowedHostPaths { |
| 2234 | dAtA[i] = 0x8a |
| 2235 | i++ |
| 2236 | dAtA[i] = 0x1 |
| 2237 | i++ |
| 2238 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 2239 | n, err := msg.MarshalTo(dAtA[i:]) |
| 2240 | if err != nil { |
| 2241 | return 0, err |
| 2242 | } |
| 2243 | i += n |
| 2244 | } |
| 2245 | } |
| 2246 | if len(m.AllowedFlexVolumes) > 0 { |
| 2247 | for _, msg := range m.AllowedFlexVolumes { |
| 2248 | dAtA[i] = 0x92 |
| 2249 | i++ |
| 2250 | dAtA[i] = 0x1 |
| 2251 | i++ |
| 2252 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 2253 | n, err := msg.MarshalTo(dAtA[i:]) |
| 2254 | if err != nil { |
| 2255 | return 0, err |
| 2256 | } |
| 2257 | i += n |
| 2258 | } |
| 2259 | } |
| 2260 | if len(m.AllowedUnsafeSysctls) > 0 { |
| 2261 | for _, s := range m.AllowedUnsafeSysctls { |
| 2262 | dAtA[i] = 0x9a |
| 2263 | i++ |
| 2264 | dAtA[i] = 0x1 |
| 2265 | i++ |
| 2266 | l = len(s) |
| 2267 | for l >= 1<<7 { |
| 2268 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 2269 | l >>= 7 |
| 2270 | i++ |
| 2271 | } |
| 2272 | dAtA[i] = uint8(l) |
| 2273 | i++ |
| 2274 | i += copy(dAtA[i:], s) |
| 2275 | } |
| 2276 | } |
| 2277 | if len(m.ForbiddenSysctls) > 0 { |
| 2278 | for _, s := range m.ForbiddenSysctls { |
| 2279 | dAtA[i] = 0xa2 |
| 2280 | i++ |
| 2281 | dAtA[i] = 0x1 |
| 2282 | i++ |
| 2283 | l = len(s) |
| 2284 | for l >= 1<<7 { |
| 2285 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 2286 | l >>= 7 |
| 2287 | i++ |
| 2288 | } |
| 2289 | dAtA[i] = uint8(l) |
| 2290 | i++ |
| 2291 | i += copy(dAtA[i:], s) |
| 2292 | } |
| 2293 | } |
| 2294 | return i, nil |
| 2295 | } |
| 2296 | |
| 2297 | func (m *ReplicaSet) Marshal() (dAtA []byte, err error) { |
| 2298 | size := m.Size() |
| 2299 | dAtA = make([]byte, size) |
| 2300 | n, err := m.MarshalTo(dAtA) |
| 2301 | if err != nil { |
| 2302 | return nil, err |
| 2303 | } |
| 2304 | return dAtA[:n], nil |
| 2305 | } |
| 2306 | |
| 2307 | func (m *ReplicaSet) MarshalTo(dAtA []byte) (int, error) { |
| 2308 | var i int |
| 2309 | _ = i |
| 2310 | var l int |
| 2311 | _ = l |
| 2312 | dAtA[i] = 0xa |
| 2313 | i++ |
| 2314 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 2315 | n49, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 2316 | if err != nil { |
| 2317 | return 0, err |
| 2318 | } |
| 2319 | i += n49 |
| 2320 | dAtA[i] = 0x12 |
| 2321 | i++ |
| 2322 | i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size())) |
| 2323 | n50, err := m.Spec.MarshalTo(dAtA[i:]) |
| 2324 | if err != nil { |
| 2325 | return 0, err |
| 2326 | } |
| 2327 | i += n50 |
| 2328 | dAtA[i] = 0x1a |
| 2329 | i++ |
| 2330 | i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size())) |
| 2331 | n51, err := m.Status.MarshalTo(dAtA[i:]) |
| 2332 | if err != nil { |
| 2333 | return 0, err |
| 2334 | } |
| 2335 | i += n51 |
| 2336 | return i, nil |
| 2337 | } |
| 2338 | |
| 2339 | func (m *ReplicaSetCondition) Marshal() (dAtA []byte, err error) { |
| 2340 | size := m.Size() |
| 2341 | dAtA = make([]byte, size) |
| 2342 | n, err := m.MarshalTo(dAtA) |
| 2343 | if err != nil { |
| 2344 | return nil, err |
| 2345 | } |
| 2346 | return dAtA[:n], nil |
| 2347 | } |
| 2348 | |
| 2349 | func (m *ReplicaSetCondition) MarshalTo(dAtA []byte) (int, error) { |
| 2350 | var i int |
| 2351 | _ = i |
| 2352 | var l int |
| 2353 | _ = l |
| 2354 | dAtA[i] = 0xa |
| 2355 | i++ |
| 2356 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 2357 | i += copy(dAtA[i:], m.Type) |
| 2358 | dAtA[i] = 0x12 |
| 2359 | i++ |
| 2360 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status))) |
| 2361 | i += copy(dAtA[i:], m.Status) |
| 2362 | dAtA[i] = 0x1a |
| 2363 | i++ |
| 2364 | i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size())) |
| 2365 | n52, err := m.LastTransitionTime.MarshalTo(dAtA[i:]) |
| 2366 | if err != nil { |
| 2367 | return 0, err |
| 2368 | } |
| 2369 | i += n52 |
| 2370 | dAtA[i] = 0x22 |
| 2371 | i++ |
| 2372 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason))) |
| 2373 | i += copy(dAtA[i:], m.Reason) |
| 2374 | dAtA[i] = 0x2a |
| 2375 | i++ |
| 2376 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) |
| 2377 | i += copy(dAtA[i:], m.Message) |
| 2378 | return i, nil |
| 2379 | } |
| 2380 | |
| 2381 | func (m *ReplicaSetList) Marshal() (dAtA []byte, err error) { |
| 2382 | size := m.Size() |
| 2383 | dAtA = make([]byte, size) |
| 2384 | n, err := m.MarshalTo(dAtA) |
| 2385 | if err != nil { |
| 2386 | return nil, err |
| 2387 | } |
| 2388 | return dAtA[:n], nil |
| 2389 | } |
| 2390 | |
| 2391 | func (m *ReplicaSetList) MarshalTo(dAtA []byte) (int, error) { |
| 2392 | var i int |
| 2393 | _ = i |
| 2394 | var l int |
| 2395 | _ = l |
| 2396 | dAtA[i] = 0xa |
| 2397 | i++ |
| 2398 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 2399 | n53, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 2400 | if err != nil { |
| 2401 | return 0, err |
| 2402 | } |
| 2403 | i += n53 |
| 2404 | if len(m.Items) > 0 { |
| 2405 | for _, msg := range m.Items { |
| 2406 | dAtA[i] = 0x12 |
| 2407 | i++ |
| 2408 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 2409 | n, err := msg.MarshalTo(dAtA[i:]) |
| 2410 | if err != nil { |
| 2411 | return 0, err |
| 2412 | } |
| 2413 | i += n |
| 2414 | } |
| 2415 | } |
| 2416 | return i, nil |
| 2417 | } |
| 2418 | |
| 2419 | func (m *ReplicaSetSpec) Marshal() (dAtA []byte, err error) { |
| 2420 | size := m.Size() |
| 2421 | dAtA = make([]byte, size) |
| 2422 | n, err := m.MarshalTo(dAtA) |
| 2423 | if err != nil { |
| 2424 | return nil, err |
| 2425 | } |
| 2426 | return dAtA[:n], nil |
| 2427 | } |
| 2428 | |
| 2429 | func (m *ReplicaSetSpec) MarshalTo(dAtA []byte) (int, error) { |
| 2430 | var i int |
| 2431 | _ = i |
| 2432 | var l int |
| 2433 | _ = l |
| 2434 | if m.Replicas != nil { |
| 2435 | dAtA[i] = 0x8 |
| 2436 | i++ |
| 2437 | i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas)) |
| 2438 | } |
| 2439 | if m.Selector != nil { |
| 2440 | dAtA[i] = 0x12 |
| 2441 | i++ |
| 2442 | i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size())) |
| 2443 | n54, err := m.Selector.MarshalTo(dAtA[i:]) |
| 2444 | if err != nil { |
| 2445 | return 0, err |
| 2446 | } |
| 2447 | i += n54 |
| 2448 | } |
| 2449 | dAtA[i] = 0x1a |
| 2450 | i++ |
| 2451 | i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size())) |
| 2452 | n55, err := m.Template.MarshalTo(dAtA[i:]) |
| 2453 | if err != nil { |
| 2454 | return 0, err |
| 2455 | } |
| 2456 | i += n55 |
| 2457 | dAtA[i] = 0x20 |
| 2458 | i++ |
| 2459 | i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds)) |
| 2460 | return i, nil |
| 2461 | } |
| 2462 | |
| 2463 | func (m *ReplicaSetStatus) Marshal() (dAtA []byte, err error) { |
| 2464 | size := m.Size() |
| 2465 | dAtA = make([]byte, size) |
| 2466 | n, err := m.MarshalTo(dAtA) |
| 2467 | if err != nil { |
| 2468 | return nil, err |
| 2469 | } |
| 2470 | return dAtA[:n], nil |
| 2471 | } |
| 2472 | |
| 2473 | func (m *ReplicaSetStatus) MarshalTo(dAtA []byte) (int, error) { |
| 2474 | var i int |
| 2475 | _ = i |
| 2476 | var l int |
| 2477 | _ = l |
| 2478 | dAtA[i] = 0x8 |
| 2479 | i++ |
| 2480 | i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas)) |
| 2481 | dAtA[i] = 0x10 |
| 2482 | i++ |
| 2483 | i = encodeVarintGenerated(dAtA, i, uint64(m.FullyLabeledReplicas)) |
| 2484 | dAtA[i] = 0x18 |
| 2485 | i++ |
| 2486 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration)) |
| 2487 | dAtA[i] = 0x20 |
| 2488 | i++ |
| 2489 | i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas)) |
| 2490 | dAtA[i] = 0x28 |
| 2491 | i++ |
| 2492 | i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas)) |
| 2493 | if len(m.Conditions) > 0 { |
| 2494 | for _, msg := range m.Conditions { |
| 2495 | dAtA[i] = 0x32 |
| 2496 | i++ |
| 2497 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 2498 | n, err := msg.MarshalTo(dAtA[i:]) |
| 2499 | if err != nil { |
| 2500 | return 0, err |
| 2501 | } |
| 2502 | i += n |
| 2503 | } |
| 2504 | } |
| 2505 | return i, nil |
| 2506 | } |
| 2507 | |
| 2508 | func (m *ReplicationControllerDummy) Marshal() (dAtA []byte, err error) { |
| 2509 | size := m.Size() |
| 2510 | dAtA = make([]byte, size) |
| 2511 | n, err := m.MarshalTo(dAtA) |
| 2512 | if err != nil { |
| 2513 | return nil, err |
| 2514 | } |
| 2515 | return dAtA[:n], nil |
| 2516 | } |
| 2517 | |
| 2518 | func (m *ReplicationControllerDummy) MarshalTo(dAtA []byte) (int, error) { |
| 2519 | var i int |
| 2520 | _ = i |
| 2521 | var l int |
| 2522 | _ = l |
| 2523 | return i, nil |
| 2524 | } |
| 2525 | |
| 2526 | func (m *RollbackConfig) Marshal() (dAtA []byte, err error) { |
| 2527 | size := m.Size() |
| 2528 | dAtA = make([]byte, size) |
| 2529 | n, err := m.MarshalTo(dAtA) |
| 2530 | if err != nil { |
| 2531 | return nil, err |
| 2532 | } |
| 2533 | return dAtA[:n], nil |
| 2534 | } |
| 2535 | |
| 2536 | func (m *RollbackConfig) MarshalTo(dAtA []byte) (int, error) { |
| 2537 | var i int |
| 2538 | _ = i |
| 2539 | var l int |
| 2540 | _ = l |
| 2541 | dAtA[i] = 0x8 |
| 2542 | i++ |
| 2543 | i = encodeVarintGenerated(dAtA, i, uint64(m.Revision)) |
| 2544 | return i, nil |
| 2545 | } |
| 2546 | |
| 2547 | func (m *RollingUpdateDaemonSet) Marshal() (dAtA []byte, err error) { |
| 2548 | size := m.Size() |
| 2549 | dAtA = make([]byte, size) |
| 2550 | n, err := m.MarshalTo(dAtA) |
| 2551 | if err != nil { |
| 2552 | return nil, err |
| 2553 | } |
| 2554 | return dAtA[:n], nil |
| 2555 | } |
| 2556 | |
| 2557 | func (m *RollingUpdateDaemonSet) MarshalTo(dAtA []byte) (int, error) { |
| 2558 | var i int |
| 2559 | _ = i |
| 2560 | var l int |
| 2561 | _ = l |
| 2562 | if m.MaxUnavailable != nil { |
| 2563 | dAtA[i] = 0xa |
| 2564 | i++ |
| 2565 | i = encodeVarintGenerated(dAtA, i, uint64(m.MaxUnavailable.Size())) |
| 2566 | n56, err := m.MaxUnavailable.MarshalTo(dAtA[i:]) |
| 2567 | if err != nil { |
| 2568 | return 0, err |
| 2569 | } |
| 2570 | i += n56 |
| 2571 | } |
| 2572 | return i, nil |
| 2573 | } |
| 2574 | |
| 2575 | func (m *RollingUpdateDeployment) Marshal() (dAtA []byte, err error) { |
| 2576 | size := m.Size() |
| 2577 | dAtA = make([]byte, size) |
| 2578 | n, err := m.MarshalTo(dAtA) |
| 2579 | if err != nil { |
| 2580 | return nil, err |
| 2581 | } |
| 2582 | return dAtA[:n], nil |
| 2583 | } |
| 2584 | |
| 2585 | func (m *RollingUpdateDeployment) MarshalTo(dAtA []byte) (int, error) { |
| 2586 | var i int |
| 2587 | _ = i |
| 2588 | var l int |
| 2589 | _ = l |
| 2590 | if m.MaxUnavailable != nil { |
| 2591 | dAtA[i] = 0xa |
| 2592 | i++ |
| 2593 | i = encodeVarintGenerated(dAtA, i, uint64(m.MaxUnavailable.Size())) |
| 2594 | n57, err := m.MaxUnavailable.MarshalTo(dAtA[i:]) |
| 2595 | if err != nil { |
| 2596 | return 0, err |
| 2597 | } |
| 2598 | i += n57 |
| 2599 | } |
| 2600 | if m.MaxSurge != nil { |
| 2601 | dAtA[i] = 0x12 |
| 2602 | i++ |
| 2603 | i = encodeVarintGenerated(dAtA, i, uint64(m.MaxSurge.Size())) |
| 2604 | n58, err := m.MaxSurge.MarshalTo(dAtA[i:]) |
| 2605 | if err != nil { |
| 2606 | return 0, err |
| 2607 | } |
| 2608 | i += n58 |
| 2609 | } |
| 2610 | return i, nil |
| 2611 | } |
| 2612 | |
| 2613 | func (m *RunAsUserStrategyOptions) Marshal() (dAtA []byte, err error) { |
| 2614 | size := m.Size() |
| 2615 | dAtA = make([]byte, size) |
| 2616 | n, err := m.MarshalTo(dAtA) |
| 2617 | if err != nil { |
| 2618 | return nil, err |
| 2619 | } |
| 2620 | return dAtA[:n], nil |
| 2621 | } |
| 2622 | |
| 2623 | func (m *RunAsUserStrategyOptions) MarshalTo(dAtA []byte) (int, error) { |
| 2624 | var i int |
| 2625 | _ = i |
| 2626 | var l int |
| 2627 | _ = l |
| 2628 | dAtA[i] = 0xa |
| 2629 | i++ |
| 2630 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule))) |
| 2631 | i += copy(dAtA[i:], m.Rule) |
| 2632 | if len(m.Ranges) > 0 { |
| 2633 | for _, msg := range m.Ranges { |
| 2634 | dAtA[i] = 0x12 |
| 2635 | i++ |
| 2636 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 2637 | n, err := msg.MarshalTo(dAtA[i:]) |
| 2638 | if err != nil { |
| 2639 | return 0, err |
| 2640 | } |
| 2641 | i += n |
| 2642 | } |
| 2643 | } |
| 2644 | return i, nil |
| 2645 | } |
| 2646 | |
| 2647 | func (m *SELinuxStrategyOptions) Marshal() (dAtA []byte, err error) { |
| 2648 | size := m.Size() |
| 2649 | dAtA = make([]byte, size) |
| 2650 | n, err := m.MarshalTo(dAtA) |
| 2651 | if err != nil { |
| 2652 | return nil, err |
| 2653 | } |
| 2654 | return dAtA[:n], nil |
| 2655 | } |
| 2656 | |
| 2657 | func (m *SELinuxStrategyOptions) MarshalTo(dAtA []byte) (int, error) { |
| 2658 | var i int |
| 2659 | _ = i |
| 2660 | var l int |
| 2661 | _ = l |
| 2662 | dAtA[i] = 0xa |
| 2663 | i++ |
| 2664 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule))) |
| 2665 | i += copy(dAtA[i:], m.Rule) |
| 2666 | if m.SELinuxOptions != nil { |
| 2667 | dAtA[i] = 0x12 |
| 2668 | i++ |
| 2669 | i = encodeVarintGenerated(dAtA, i, uint64(m.SELinuxOptions.Size())) |
| 2670 | n59, err := m.SELinuxOptions.MarshalTo(dAtA[i:]) |
| 2671 | if err != nil { |
| 2672 | return 0, err |
| 2673 | } |
| 2674 | i += n59 |
| 2675 | } |
| 2676 | return i, nil |
| 2677 | } |
| 2678 | |
| 2679 | func (m *Scale) Marshal() (dAtA []byte, err error) { |
| 2680 | size := m.Size() |
| 2681 | dAtA = make([]byte, size) |
| 2682 | n, err := m.MarshalTo(dAtA) |
| 2683 | if err != nil { |
| 2684 | return nil, err |
| 2685 | } |
| 2686 | return dAtA[:n], nil |
| 2687 | } |
| 2688 | |
| 2689 | func (m *Scale) MarshalTo(dAtA []byte) (int, error) { |
| 2690 | var i int |
| 2691 | _ = i |
| 2692 | var l int |
| 2693 | _ = l |
| 2694 | dAtA[i] = 0xa |
| 2695 | i++ |
| 2696 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 2697 | n60, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 2698 | if err != nil { |
| 2699 | return 0, err |
| 2700 | } |
| 2701 | i += n60 |
| 2702 | dAtA[i] = 0x12 |
| 2703 | i++ |
| 2704 | i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size())) |
| 2705 | n61, err := m.Spec.MarshalTo(dAtA[i:]) |
| 2706 | if err != nil { |
| 2707 | return 0, err |
| 2708 | } |
| 2709 | i += n61 |
| 2710 | dAtA[i] = 0x1a |
| 2711 | i++ |
| 2712 | i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size())) |
| 2713 | n62, err := m.Status.MarshalTo(dAtA[i:]) |
| 2714 | if err != nil { |
| 2715 | return 0, err |
| 2716 | } |
| 2717 | i += n62 |
| 2718 | return i, nil |
| 2719 | } |
| 2720 | |
| 2721 | func (m *ScaleSpec) Marshal() (dAtA []byte, err error) { |
| 2722 | size := m.Size() |
| 2723 | dAtA = make([]byte, size) |
| 2724 | n, err := m.MarshalTo(dAtA) |
| 2725 | if err != nil { |
| 2726 | return nil, err |
| 2727 | } |
| 2728 | return dAtA[:n], nil |
| 2729 | } |
| 2730 | |
| 2731 | func (m *ScaleSpec) MarshalTo(dAtA []byte) (int, error) { |
| 2732 | var i int |
| 2733 | _ = i |
| 2734 | var l int |
| 2735 | _ = l |
| 2736 | dAtA[i] = 0x8 |
| 2737 | i++ |
| 2738 | i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas)) |
| 2739 | return i, nil |
| 2740 | } |
| 2741 | |
| 2742 | func (m *ScaleStatus) Marshal() (dAtA []byte, err error) { |
| 2743 | size := m.Size() |
| 2744 | dAtA = make([]byte, size) |
| 2745 | n, err := m.MarshalTo(dAtA) |
| 2746 | if err != nil { |
| 2747 | return nil, err |
| 2748 | } |
| 2749 | return dAtA[:n], nil |
| 2750 | } |
| 2751 | |
| 2752 | func (m *ScaleStatus) MarshalTo(dAtA []byte) (int, error) { |
| 2753 | var i int |
| 2754 | _ = i |
| 2755 | var l int |
| 2756 | _ = l |
| 2757 | dAtA[i] = 0x8 |
| 2758 | i++ |
| 2759 | i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas)) |
| 2760 | if len(m.Selector) > 0 { |
| 2761 | keysForSelector := make([]string, 0, len(m.Selector)) |
| 2762 | for k := range m.Selector { |
| 2763 | keysForSelector = append(keysForSelector, string(k)) |
| 2764 | } |
| 2765 | github_com_gogo_protobuf_sortkeys.Strings(keysForSelector) |
| 2766 | for _, k := range keysForSelector { |
| 2767 | dAtA[i] = 0x12 |
| 2768 | i++ |
| 2769 | v := m.Selector[string(k)] |
| 2770 | mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 2771 | i = encodeVarintGenerated(dAtA, i, uint64(mapSize)) |
| 2772 | dAtA[i] = 0xa |
| 2773 | i++ |
| 2774 | i = encodeVarintGenerated(dAtA, i, uint64(len(k))) |
| 2775 | i += copy(dAtA[i:], k) |
| 2776 | dAtA[i] = 0x12 |
| 2777 | i++ |
| 2778 | i = encodeVarintGenerated(dAtA, i, uint64(len(v))) |
| 2779 | i += copy(dAtA[i:], v) |
| 2780 | } |
| 2781 | } |
| 2782 | dAtA[i] = 0x1a |
| 2783 | i++ |
| 2784 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetSelector))) |
| 2785 | i += copy(dAtA[i:], m.TargetSelector) |
| 2786 | return i, nil |
| 2787 | } |
| 2788 | |
| 2789 | func (m *SupplementalGroupsStrategyOptions) Marshal() (dAtA []byte, err error) { |
| 2790 | size := m.Size() |
| 2791 | dAtA = make([]byte, size) |
| 2792 | n, err := m.MarshalTo(dAtA) |
| 2793 | if err != nil { |
| 2794 | return nil, err |
| 2795 | } |
| 2796 | return dAtA[:n], nil |
| 2797 | } |
| 2798 | |
| 2799 | func (m *SupplementalGroupsStrategyOptions) MarshalTo(dAtA []byte) (int, error) { |
| 2800 | var i int |
| 2801 | _ = i |
| 2802 | var l int |
| 2803 | _ = l |
| 2804 | dAtA[i] = 0xa |
| 2805 | i++ |
| 2806 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule))) |
| 2807 | i += copy(dAtA[i:], m.Rule) |
| 2808 | if len(m.Ranges) > 0 { |
| 2809 | for _, msg := range m.Ranges { |
| 2810 | dAtA[i] = 0x12 |
| 2811 | i++ |
| 2812 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 2813 | n, err := msg.MarshalTo(dAtA[i:]) |
| 2814 | if err != nil { |
| 2815 | return 0, err |
| 2816 | } |
| 2817 | i += n |
| 2818 | } |
| 2819 | } |
| 2820 | return i, nil |
| 2821 | } |
| 2822 | |
| 2823 | func encodeFixed64Generated(dAtA []byte, offset int, v uint64) int { |
| 2824 | dAtA[offset] = uint8(v) |
| 2825 | dAtA[offset+1] = uint8(v >> 8) |
| 2826 | dAtA[offset+2] = uint8(v >> 16) |
| 2827 | dAtA[offset+3] = uint8(v >> 24) |
| 2828 | dAtA[offset+4] = uint8(v >> 32) |
| 2829 | dAtA[offset+5] = uint8(v >> 40) |
| 2830 | dAtA[offset+6] = uint8(v >> 48) |
| 2831 | dAtA[offset+7] = uint8(v >> 56) |
| 2832 | return offset + 8 |
| 2833 | } |
| 2834 | func encodeFixed32Generated(dAtA []byte, offset int, v uint32) int { |
| 2835 | dAtA[offset] = uint8(v) |
| 2836 | dAtA[offset+1] = uint8(v >> 8) |
| 2837 | dAtA[offset+2] = uint8(v >> 16) |
| 2838 | dAtA[offset+3] = uint8(v >> 24) |
| 2839 | return offset + 4 |
| 2840 | } |
| 2841 | func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int { |
| 2842 | for v >= 1<<7 { |
| 2843 | dAtA[offset] = uint8(v&0x7f | 0x80) |
| 2844 | v >>= 7 |
| 2845 | offset++ |
| 2846 | } |
| 2847 | dAtA[offset] = uint8(v) |
| 2848 | return offset + 1 |
| 2849 | } |
| 2850 | func (m *AllowedFlexVolume) Size() (n int) { |
| 2851 | var l int |
| 2852 | _ = l |
| 2853 | l = len(m.Driver) |
| 2854 | n += 1 + l + sovGenerated(uint64(l)) |
| 2855 | return n |
| 2856 | } |
| 2857 | |
| 2858 | func (m *AllowedHostPath) Size() (n int) { |
| 2859 | var l int |
| 2860 | _ = l |
| 2861 | l = len(m.PathPrefix) |
| 2862 | n += 1 + l + sovGenerated(uint64(l)) |
| 2863 | n += 2 |
| 2864 | return n |
| 2865 | } |
| 2866 | |
| 2867 | func (m *CustomMetricCurrentStatus) Size() (n int) { |
| 2868 | var l int |
| 2869 | _ = l |
| 2870 | l = len(m.Name) |
| 2871 | n += 1 + l + sovGenerated(uint64(l)) |
| 2872 | l = m.CurrentValue.Size() |
| 2873 | n += 1 + l + sovGenerated(uint64(l)) |
| 2874 | return n |
| 2875 | } |
| 2876 | |
| 2877 | func (m *CustomMetricCurrentStatusList) Size() (n int) { |
| 2878 | var l int |
| 2879 | _ = l |
| 2880 | if len(m.Items) > 0 { |
| 2881 | for _, e := range m.Items { |
| 2882 | l = e.Size() |
| 2883 | n += 1 + l + sovGenerated(uint64(l)) |
| 2884 | } |
| 2885 | } |
| 2886 | return n |
| 2887 | } |
| 2888 | |
| 2889 | func (m *CustomMetricTarget) Size() (n int) { |
| 2890 | var l int |
| 2891 | _ = l |
| 2892 | l = len(m.Name) |
| 2893 | n += 1 + l + sovGenerated(uint64(l)) |
| 2894 | l = m.TargetValue.Size() |
| 2895 | n += 1 + l + sovGenerated(uint64(l)) |
| 2896 | return n |
| 2897 | } |
| 2898 | |
| 2899 | func (m *CustomMetricTargetList) Size() (n int) { |
| 2900 | var l int |
| 2901 | _ = l |
| 2902 | if len(m.Items) > 0 { |
| 2903 | for _, e := range m.Items { |
| 2904 | l = e.Size() |
| 2905 | n += 1 + l + sovGenerated(uint64(l)) |
| 2906 | } |
| 2907 | } |
| 2908 | return n |
| 2909 | } |
| 2910 | |
| 2911 | func (m *DaemonSet) Size() (n int) { |
| 2912 | var l int |
| 2913 | _ = l |
| 2914 | l = m.ObjectMeta.Size() |
| 2915 | n += 1 + l + sovGenerated(uint64(l)) |
| 2916 | l = m.Spec.Size() |
| 2917 | n += 1 + l + sovGenerated(uint64(l)) |
| 2918 | l = m.Status.Size() |
| 2919 | n += 1 + l + sovGenerated(uint64(l)) |
| 2920 | return n |
| 2921 | } |
| 2922 | |
| 2923 | func (m *DaemonSetCondition) Size() (n int) { |
| 2924 | var l int |
| 2925 | _ = l |
| 2926 | l = len(m.Type) |
| 2927 | n += 1 + l + sovGenerated(uint64(l)) |
| 2928 | l = len(m.Status) |
| 2929 | n += 1 + l + sovGenerated(uint64(l)) |
| 2930 | l = m.LastTransitionTime.Size() |
| 2931 | n += 1 + l + sovGenerated(uint64(l)) |
| 2932 | l = len(m.Reason) |
| 2933 | n += 1 + l + sovGenerated(uint64(l)) |
| 2934 | l = len(m.Message) |
| 2935 | n += 1 + l + sovGenerated(uint64(l)) |
| 2936 | return n |
| 2937 | } |
| 2938 | |
| 2939 | func (m *DaemonSetList) Size() (n int) { |
| 2940 | var l int |
| 2941 | _ = l |
| 2942 | l = m.ListMeta.Size() |
| 2943 | n += 1 + l + sovGenerated(uint64(l)) |
| 2944 | if len(m.Items) > 0 { |
| 2945 | for _, e := range m.Items { |
| 2946 | l = e.Size() |
| 2947 | n += 1 + l + sovGenerated(uint64(l)) |
| 2948 | } |
| 2949 | } |
| 2950 | return n |
| 2951 | } |
| 2952 | |
| 2953 | func (m *DaemonSetSpec) Size() (n int) { |
| 2954 | var l int |
| 2955 | _ = l |
| 2956 | if m.Selector != nil { |
| 2957 | l = m.Selector.Size() |
| 2958 | n += 1 + l + sovGenerated(uint64(l)) |
| 2959 | } |
| 2960 | l = m.Template.Size() |
| 2961 | n += 1 + l + sovGenerated(uint64(l)) |
| 2962 | l = m.UpdateStrategy.Size() |
| 2963 | n += 1 + l + sovGenerated(uint64(l)) |
| 2964 | n += 1 + sovGenerated(uint64(m.MinReadySeconds)) |
| 2965 | n += 1 + sovGenerated(uint64(m.TemplateGeneration)) |
| 2966 | if m.RevisionHistoryLimit != nil { |
| 2967 | n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit)) |
| 2968 | } |
| 2969 | return n |
| 2970 | } |
| 2971 | |
| 2972 | func (m *DaemonSetStatus) Size() (n int) { |
| 2973 | var l int |
| 2974 | _ = l |
| 2975 | n += 1 + sovGenerated(uint64(m.CurrentNumberScheduled)) |
| 2976 | n += 1 + sovGenerated(uint64(m.NumberMisscheduled)) |
| 2977 | n += 1 + sovGenerated(uint64(m.DesiredNumberScheduled)) |
| 2978 | n += 1 + sovGenerated(uint64(m.NumberReady)) |
| 2979 | n += 1 + sovGenerated(uint64(m.ObservedGeneration)) |
| 2980 | n += 1 + sovGenerated(uint64(m.UpdatedNumberScheduled)) |
| 2981 | n += 1 + sovGenerated(uint64(m.NumberAvailable)) |
| 2982 | n += 1 + sovGenerated(uint64(m.NumberUnavailable)) |
| 2983 | if m.CollisionCount != nil { |
| 2984 | n += 1 + sovGenerated(uint64(*m.CollisionCount)) |
| 2985 | } |
| 2986 | if len(m.Conditions) > 0 { |
| 2987 | for _, e := range m.Conditions { |
| 2988 | l = e.Size() |
| 2989 | n += 1 + l + sovGenerated(uint64(l)) |
| 2990 | } |
| 2991 | } |
| 2992 | return n |
| 2993 | } |
| 2994 | |
| 2995 | func (m *DaemonSetUpdateStrategy) Size() (n int) { |
| 2996 | var l int |
| 2997 | _ = l |
| 2998 | l = len(m.Type) |
| 2999 | n += 1 + l + sovGenerated(uint64(l)) |
| 3000 | if m.RollingUpdate != nil { |
| 3001 | l = m.RollingUpdate.Size() |
| 3002 | n += 1 + l + sovGenerated(uint64(l)) |
| 3003 | } |
| 3004 | return n |
| 3005 | } |
| 3006 | |
| 3007 | func (m *Deployment) Size() (n int) { |
| 3008 | var l int |
| 3009 | _ = l |
| 3010 | l = m.ObjectMeta.Size() |
| 3011 | n += 1 + l + sovGenerated(uint64(l)) |
| 3012 | l = m.Spec.Size() |
| 3013 | n += 1 + l + sovGenerated(uint64(l)) |
| 3014 | l = m.Status.Size() |
| 3015 | n += 1 + l + sovGenerated(uint64(l)) |
| 3016 | return n |
| 3017 | } |
| 3018 | |
| 3019 | func (m *DeploymentCondition) Size() (n int) { |
| 3020 | var l int |
| 3021 | _ = l |
| 3022 | l = len(m.Type) |
| 3023 | n += 1 + l + sovGenerated(uint64(l)) |
| 3024 | l = len(m.Status) |
| 3025 | n += 1 + l + sovGenerated(uint64(l)) |
| 3026 | l = len(m.Reason) |
| 3027 | n += 1 + l + sovGenerated(uint64(l)) |
| 3028 | l = len(m.Message) |
| 3029 | n += 1 + l + sovGenerated(uint64(l)) |
| 3030 | l = m.LastUpdateTime.Size() |
| 3031 | n += 1 + l + sovGenerated(uint64(l)) |
| 3032 | l = m.LastTransitionTime.Size() |
| 3033 | n += 1 + l + sovGenerated(uint64(l)) |
| 3034 | return n |
| 3035 | } |
| 3036 | |
| 3037 | func (m *DeploymentList) Size() (n int) { |
| 3038 | var l int |
| 3039 | _ = l |
| 3040 | l = m.ListMeta.Size() |
| 3041 | n += 1 + l + sovGenerated(uint64(l)) |
| 3042 | if len(m.Items) > 0 { |
| 3043 | for _, e := range m.Items { |
| 3044 | l = e.Size() |
| 3045 | n += 1 + l + sovGenerated(uint64(l)) |
| 3046 | } |
| 3047 | } |
| 3048 | return n |
| 3049 | } |
| 3050 | |
| 3051 | func (m *DeploymentRollback) Size() (n int) { |
| 3052 | var l int |
| 3053 | _ = l |
| 3054 | l = len(m.Name) |
| 3055 | n += 1 + l + sovGenerated(uint64(l)) |
| 3056 | if len(m.UpdatedAnnotations) > 0 { |
| 3057 | for k, v := range m.UpdatedAnnotations { |
| 3058 | _ = k |
| 3059 | _ = v |
| 3060 | mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 3061 | n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) |
| 3062 | } |
| 3063 | } |
| 3064 | l = m.RollbackTo.Size() |
| 3065 | n += 1 + l + sovGenerated(uint64(l)) |
| 3066 | return n |
| 3067 | } |
| 3068 | |
| 3069 | func (m *DeploymentSpec) Size() (n int) { |
| 3070 | var l int |
| 3071 | _ = l |
| 3072 | if m.Replicas != nil { |
| 3073 | n += 1 + sovGenerated(uint64(*m.Replicas)) |
| 3074 | } |
| 3075 | if m.Selector != nil { |
| 3076 | l = m.Selector.Size() |
| 3077 | n += 1 + l + sovGenerated(uint64(l)) |
| 3078 | } |
| 3079 | l = m.Template.Size() |
| 3080 | n += 1 + l + sovGenerated(uint64(l)) |
| 3081 | l = m.Strategy.Size() |
| 3082 | n += 1 + l + sovGenerated(uint64(l)) |
| 3083 | n += 1 + sovGenerated(uint64(m.MinReadySeconds)) |
| 3084 | if m.RevisionHistoryLimit != nil { |
| 3085 | n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit)) |
| 3086 | } |
| 3087 | n += 2 |
| 3088 | if m.RollbackTo != nil { |
| 3089 | l = m.RollbackTo.Size() |
| 3090 | n += 1 + l + sovGenerated(uint64(l)) |
| 3091 | } |
| 3092 | if m.ProgressDeadlineSeconds != nil { |
| 3093 | n += 1 + sovGenerated(uint64(*m.ProgressDeadlineSeconds)) |
| 3094 | } |
| 3095 | return n |
| 3096 | } |
| 3097 | |
| 3098 | func (m *DeploymentStatus) Size() (n int) { |
| 3099 | var l int |
| 3100 | _ = l |
| 3101 | n += 1 + sovGenerated(uint64(m.ObservedGeneration)) |
| 3102 | n += 1 + sovGenerated(uint64(m.Replicas)) |
| 3103 | n += 1 + sovGenerated(uint64(m.UpdatedReplicas)) |
| 3104 | n += 1 + sovGenerated(uint64(m.AvailableReplicas)) |
| 3105 | n += 1 + sovGenerated(uint64(m.UnavailableReplicas)) |
| 3106 | if len(m.Conditions) > 0 { |
| 3107 | for _, e := range m.Conditions { |
| 3108 | l = e.Size() |
| 3109 | n += 1 + l + sovGenerated(uint64(l)) |
| 3110 | } |
| 3111 | } |
| 3112 | n += 1 + sovGenerated(uint64(m.ReadyReplicas)) |
| 3113 | if m.CollisionCount != nil { |
| 3114 | n += 1 + sovGenerated(uint64(*m.CollisionCount)) |
| 3115 | } |
| 3116 | return n |
| 3117 | } |
| 3118 | |
| 3119 | func (m *DeploymentStrategy) Size() (n int) { |
| 3120 | var l int |
| 3121 | _ = l |
| 3122 | l = len(m.Type) |
| 3123 | n += 1 + l + sovGenerated(uint64(l)) |
| 3124 | if m.RollingUpdate != nil { |
| 3125 | l = m.RollingUpdate.Size() |
| 3126 | n += 1 + l + sovGenerated(uint64(l)) |
| 3127 | } |
| 3128 | return n |
| 3129 | } |
| 3130 | |
| 3131 | func (m *FSGroupStrategyOptions) Size() (n int) { |
| 3132 | var l int |
| 3133 | _ = l |
| 3134 | l = len(m.Rule) |
| 3135 | n += 1 + l + sovGenerated(uint64(l)) |
| 3136 | if len(m.Ranges) > 0 { |
| 3137 | for _, e := range m.Ranges { |
| 3138 | l = e.Size() |
| 3139 | n += 1 + l + sovGenerated(uint64(l)) |
| 3140 | } |
| 3141 | } |
| 3142 | return n |
| 3143 | } |
| 3144 | |
| 3145 | func (m *HTTPIngressPath) Size() (n int) { |
| 3146 | var l int |
| 3147 | _ = l |
| 3148 | l = len(m.Path) |
| 3149 | n += 1 + l + sovGenerated(uint64(l)) |
| 3150 | l = m.Backend.Size() |
| 3151 | n += 1 + l + sovGenerated(uint64(l)) |
| 3152 | return n |
| 3153 | } |
| 3154 | |
| 3155 | func (m *HTTPIngressRuleValue) Size() (n int) { |
| 3156 | var l int |
| 3157 | _ = l |
| 3158 | if len(m.Paths) > 0 { |
| 3159 | for _, e := range m.Paths { |
| 3160 | l = e.Size() |
| 3161 | n += 1 + l + sovGenerated(uint64(l)) |
| 3162 | } |
| 3163 | } |
| 3164 | return n |
| 3165 | } |
| 3166 | |
| 3167 | func (m *HostPortRange) Size() (n int) { |
| 3168 | var l int |
| 3169 | _ = l |
| 3170 | n += 1 + sovGenerated(uint64(m.Min)) |
| 3171 | n += 1 + sovGenerated(uint64(m.Max)) |
| 3172 | return n |
| 3173 | } |
| 3174 | |
| 3175 | func (m *IDRange) Size() (n int) { |
| 3176 | var l int |
| 3177 | _ = l |
| 3178 | n += 1 + sovGenerated(uint64(m.Min)) |
| 3179 | n += 1 + sovGenerated(uint64(m.Max)) |
| 3180 | return n |
| 3181 | } |
| 3182 | |
| 3183 | func (m *IPBlock) Size() (n int) { |
| 3184 | var l int |
| 3185 | _ = l |
| 3186 | l = len(m.CIDR) |
| 3187 | n += 1 + l + sovGenerated(uint64(l)) |
| 3188 | if len(m.Except) > 0 { |
| 3189 | for _, s := range m.Except { |
| 3190 | l = len(s) |
| 3191 | n += 1 + l + sovGenerated(uint64(l)) |
| 3192 | } |
| 3193 | } |
| 3194 | return n |
| 3195 | } |
| 3196 | |
| 3197 | func (m *Ingress) Size() (n int) { |
| 3198 | var l int |
| 3199 | _ = l |
| 3200 | l = m.ObjectMeta.Size() |
| 3201 | n += 1 + l + sovGenerated(uint64(l)) |
| 3202 | l = m.Spec.Size() |
| 3203 | n += 1 + l + sovGenerated(uint64(l)) |
| 3204 | l = m.Status.Size() |
| 3205 | n += 1 + l + sovGenerated(uint64(l)) |
| 3206 | return n |
| 3207 | } |
| 3208 | |
| 3209 | func (m *IngressBackend) Size() (n int) { |
| 3210 | var l int |
| 3211 | _ = l |
| 3212 | l = len(m.ServiceName) |
| 3213 | n += 1 + l + sovGenerated(uint64(l)) |
| 3214 | l = m.ServicePort.Size() |
| 3215 | n += 1 + l + sovGenerated(uint64(l)) |
| 3216 | return n |
| 3217 | } |
| 3218 | |
| 3219 | func (m *IngressList) Size() (n int) { |
| 3220 | var l int |
| 3221 | _ = l |
| 3222 | l = m.ListMeta.Size() |
| 3223 | n += 1 + l + sovGenerated(uint64(l)) |
| 3224 | if len(m.Items) > 0 { |
| 3225 | for _, e := range m.Items { |
| 3226 | l = e.Size() |
| 3227 | n += 1 + l + sovGenerated(uint64(l)) |
| 3228 | } |
| 3229 | } |
| 3230 | return n |
| 3231 | } |
| 3232 | |
| 3233 | func (m *IngressRule) Size() (n int) { |
| 3234 | var l int |
| 3235 | _ = l |
| 3236 | l = len(m.Host) |
| 3237 | n += 1 + l + sovGenerated(uint64(l)) |
| 3238 | l = m.IngressRuleValue.Size() |
| 3239 | n += 1 + l + sovGenerated(uint64(l)) |
| 3240 | return n |
| 3241 | } |
| 3242 | |
| 3243 | func (m *IngressRuleValue) Size() (n int) { |
| 3244 | var l int |
| 3245 | _ = l |
| 3246 | if m.HTTP != nil { |
| 3247 | l = m.HTTP.Size() |
| 3248 | n += 1 + l + sovGenerated(uint64(l)) |
| 3249 | } |
| 3250 | return n |
| 3251 | } |
| 3252 | |
| 3253 | func (m *IngressSpec) Size() (n int) { |
| 3254 | var l int |
| 3255 | _ = l |
| 3256 | if m.Backend != nil { |
| 3257 | l = m.Backend.Size() |
| 3258 | n += 1 + l + sovGenerated(uint64(l)) |
| 3259 | } |
| 3260 | if len(m.TLS) > 0 { |
| 3261 | for _, e := range m.TLS { |
| 3262 | l = e.Size() |
| 3263 | n += 1 + l + sovGenerated(uint64(l)) |
| 3264 | } |
| 3265 | } |
| 3266 | if len(m.Rules) > 0 { |
| 3267 | for _, e := range m.Rules { |
| 3268 | l = e.Size() |
| 3269 | n += 1 + l + sovGenerated(uint64(l)) |
| 3270 | } |
| 3271 | } |
| 3272 | return n |
| 3273 | } |
| 3274 | |
| 3275 | func (m *IngressStatus) Size() (n int) { |
| 3276 | var l int |
| 3277 | _ = l |
| 3278 | l = m.LoadBalancer.Size() |
| 3279 | n += 1 + l + sovGenerated(uint64(l)) |
| 3280 | return n |
| 3281 | } |
| 3282 | |
| 3283 | func (m *IngressTLS) Size() (n int) { |
| 3284 | var l int |
| 3285 | _ = l |
| 3286 | if len(m.Hosts) > 0 { |
| 3287 | for _, s := range m.Hosts { |
| 3288 | l = len(s) |
| 3289 | n += 1 + l + sovGenerated(uint64(l)) |
| 3290 | } |
| 3291 | } |
| 3292 | l = len(m.SecretName) |
| 3293 | n += 1 + l + sovGenerated(uint64(l)) |
| 3294 | return n |
| 3295 | } |
| 3296 | |
| 3297 | func (m *NetworkPolicy) Size() (n int) { |
| 3298 | var l int |
| 3299 | _ = l |
| 3300 | l = m.ObjectMeta.Size() |
| 3301 | n += 1 + l + sovGenerated(uint64(l)) |
| 3302 | l = m.Spec.Size() |
| 3303 | n += 1 + l + sovGenerated(uint64(l)) |
| 3304 | return n |
| 3305 | } |
| 3306 | |
| 3307 | func (m *NetworkPolicyEgressRule) Size() (n int) { |
| 3308 | var l int |
| 3309 | _ = l |
| 3310 | if len(m.Ports) > 0 { |
| 3311 | for _, e := range m.Ports { |
| 3312 | l = e.Size() |
| 3313 | n += 1 + l + sovGenerated(uint64(l)) |
| 3314 | } |
| 3315 | } |
| 3316 | if len(m.To) > 0 { |
| 3317 | for _, e := range m.To { |
| 3318 | l = e.Size() |
| 3319 | n += 1 + l + sovGenerated(uint64(l)) |
| 3320 | } |
| 3321 | } |
| 3322 | return n |
| 3323 | } |
| 3324 | |
| 3325 | func (m *NetworkPolicyIngressRule) Size() (n int) { |
| 3326 | var l int |
| 3327 | _ = l |
| 3328 | if len(m.Ports) > 0 { |
| 3329 | for _, e := range m.Ports { |
| 3330 | l = e.Size() |
| 3331 | n += 1 + l + sovGenerated(uint64(l)) |
| 3332 | } |
| 3333 | } |
| 3334 | if len(m.From) > 0 { |
| 3335 | for _, e := range m.From { |
| 3336 | l = e.Size() |
| 3337 | n += 1 + l + sovGenerated(uint64(l)) |
| 3338 | } |
| 3339 | } |
| 3340 | return n |
| 3341 | } |
| 3342 | |
| 3343 | func (m *NetworkPolicyList) Size() (n int) { |
| 3344 | var l int |
| 3345 | _ = l |
| 3346 | l = m.ListMeta.Size() |
| 3347 | n += 1 + l + sovGenerated(uint64(l)) |
| 3348 | if len(m.Items) > 0 { |
| 3349 | for _, e := range m.Items { |
| 3350 | l = e.Size() |
| 3351 | n += 1 + l + sovGenerated(uint64(l)) |
| 3352 | } |
| 3353 | } |
| 3354 | return n |
| 3355 | } |
| 3356 | |
| 3357 | func (m *NetworkPolicyPeer) Size() (n int) { |
| 3358 | var l int |
| 3359 | _ = l |
| 3360 | if m.PodSelector != nil { |
| 3361 | l = m.PodSelector.Size() |
| 3362 | n += 1 + l + sovGenerated(uint64(l)) |
| 3363 | } |
| 3364 | if m.NamespaceSelector != nil { |
| 3365 | l = m.NamespaceSelector.Size() |
| 3366 | n += 1 + l + sovGenerated(uint64(l)) |
| 3367 | } |
| 3368 | if m.IPBlock != nil { |
| 3369 | l = m.IPBlock.Size() |
| 3370 | n += 1 + l + sovGenerated(uint64(l)) |
| 3371 | } |
| 3372 | return n |
| 3373 | } |
| 3374 | |
| 3375 | func (m *NetworkPolicyPort) Size() (n int) { |
| 3376 | var l int |
| 3377 | _ = l |
| 3378 | if m.Protocol != nil { |
| 3379 | l = len(*m.Protocol) |
| 3380 | n += 1 + l + sovGenerated(uint64(l)) |
| 3381 | } |
| 3382 | if m.Port != nil { |
| 3383 | l = m.Port.Size() |
| 3384 | n += 1 + l + sovGenerated(uint64(l)) |
| 3385 | } |
| 3386 | return n |
| 3387 | } |
| 3388 | |
| 3389 | func (m *NetworkPolicySpec) Size() (n int) { |
| 3390 | var l int |
| 3391 | _ = l |
| 3392 | l = m.PodSelector.Size() |
| 3393 | n += 1 + l + sovGenerated(uint64(l)) |
| 3394 | if len(m.Ingress) > 0 { |
| 3395 | for _, e := range m.Ingress { |
| 3396 | l = e.Size() |
| 3397 | n += 1 + l + sovGenerated(uint64(l)) |
| 3398 | } |
| 3399 | } |
| 3400 | if len(m.Egress) > 0 { |
| 3401 | for _, e := range m.Egress { |
| 3402 | l = e.Size() |
| 3403 | n += 1 + l + sovGenerated(uint64(l)) |
| 3404 | } |
| 3405 | } |
| 3406 | if len(m.PolicyTypes) > 0 { |
| 3407 | for _, s := range m.PolicyTypes { |
| 3408 | l = len(s) |
| 3409 | n += 1 + l + sovGenerated(uint64(l)) |
| 3410 | } |
| 3411 | } |
| 3412 | return n |
| 3413 | } |
| 3414 | |
| 3415 | func (m *PodSecurityPolicy) Size() (n int) { |
| 3416 | var l int |
| 3417 | _ = l |
| 3418 | l = m.ObjectMeta.Size() |
| 3419 | n += 1 + l + sovGenerated(uint64(l)) |
| 3420 | l = m.Spec.Size() |
| 3421 | n += 1 + l + sovGenerated(uint64(l)) |
| 3422 | return n |
| 3423 | } |
| 3424 | |
| 3425 | func (m *PodSecurityPolicyList) Size() (n int) { |
| 3426 | var l int |
| 3427 | _ = l |
| 3428 | l = m.ListMeta.Size() |
| 3429 | n += 1 + l + sovGenerated(uint64(l)) |
| 3430 | if len(m.Items) > 0 { |
| 3431 | for _, e := range m.Items { |
| 3432 | l = e.Size() |
| 3433 | n += 1 + l + sovGenerated(uint64(l)) |
| 3434 | } |
| 3435 | } |
| 3436 | return n |
| 3437 | } |
| 3438 | |
| 3439 | func (m *PodSecurityPolicySpec) Size() (n int) { |
| 3440 | var l int |
| 3441 | _ = l |
| 3442 | n += 2 |
| 3443 | if len(m.DefaultAddCapabilities) > 0 { |
| 3444 | for _, s := range m.DefaultAddCapabilities { |
| 3445 | l = len(s) |
| 3446 | n += 1 + l + sovGenerated(uint64(l)) |
| 3447 | } |
| 3448 | } |
| 3449 | if len(m.RequiredDropCapabilities) > 0 { |
| 3450 | for _, s := range m.RequiredDropCapabilities { |
| 3451 | l = len(s) |
| 3452 | n += 1 + l + sovGenerated(uint64(l)) |
| 3453 | } |
| 3454 | } |
| 3455 | if len(m.AllowedCapabilities) > 0 { |
| 3456 | for _, s := range m.AllowedCapabilities { |
| 3457 | l = len(s) |
| 3458 | n += 1 + l + sovGenerated(uint64(l)) |
| 3459 | } |
| 3460 | } |
| 3461 | if len(m.Volumes) > 0 { |
| 3462 | for _, s := range m.Volumes { |
| 3463 | l = len(s) |
| 3464 | n += 1 + l + sovGenerated(uint64(l)) |
| 3465 | } |
| 3466 | } |
| 3467 | n += 2 |
| 3468 | if len(m.HostPorts) > 0 { |
| 3469 | for _, e := range m.HostPorts { |
| 3470 | l = e.Size() |
| 3471 | n += 1 + l + sovGenerated(uint64(l)) |
| 3472 | } |
| 3473 | } |
| 3474 | n += 2 |
| 3475 | n += 2 |
| 3476 | l = m.SELinux.Size() |
| 3477 | n += 1 + l + sovGenerated(uint64(l)) |
| 3478 | l = m.RunAsUser.Size() |
| 3479 | n += 1 + l + sovGenerated(uint64(l)) |
| 3480 | l = m.SupplementalGroups.Size() |
| 3481 | n += 1 + l + sovGenerated(uint64(l)) |
| 3482 | l = m.FSGroup.Size() |
| 3483 | n += 1 + l + sovGenerated(uint64(l)) |
| 3484 | n += 2 |
| 3485 | if m.DefaultAllowPrivilegeEscalation != nil { |
| 3486 | n += 2 |
| 3487 | } |
| 3488 | if m.AllowPrivilegeEscalation != nil { |
| 3489 | n += 3 |
| 3490 | } |
| 3491 | if len(m.AllowedHostPaths) > 0 { |
| 3492 | for _, e := range m.AllowedHostPaths { |
| 3493 | l = e.Size() |
| 3494 | n += 2 + l + sovGenerated(uint64(l)) |
| 3495 | } |
| 3496 | } |
| 3497 | if len(m.AllowedFlexVolumes) > 0 { |
| 3498 | for _, e := range m.AllowedFlexVolumes { |
| 3499 | l = e.Size() |
| 3500 | n += 2 + l + sovGenerated(uint64(l)) |
| 3501 | } |
| 3502 | } |
| 3503 | if len(m.AllowedUnsafeSysctls) > 0 { |
| 3504 | for _, s := range m.AllowedUnsafeSysctls { |
| 3505 | l = len(s) |
| 3506 | n += 2 + l + sovGenerated(uint64(l)) |
| 3507 | } |
| 3508 | } |
| 3509 | if len(m.ForbiddenSysctls) > 0 { |
| 3510 | for _, s := range m.ForbiddenSysctls { |
| 3511 | l = len(s) |
| 3512 | n += 2 + l + sovGenerated(uint64(l)) |
| 3513 | } |
| 3514 | } |
| 3515 | return n |
| 3516 | } |
| 3517 | |
| 3518 | func (m *ReplicaSet) Size() (n int) { |
| 3519 | var l int |
| 3520 | _ = l |
| 3521 | l = m.ObjectMeta.Size() |
| 3522 | n += 1 + l + sovGenerated(uint64(l)) |
| 3523 | l = m.Spec.Size() |
| 3524 | n += 1 + l + sovGenerated(uint64(l)) |
| 3525 | l = m.Status.Size() |
| 3526 | n += 1 + l + sovGenerated(uint64(l)) |
| 3527 | return n |
| 3528 | } |
| 3529 | |
| 3530 | func (m *ReplicaSetCondition) Size() (n int) { |
| 3531 | var l int |
| 3532 | _ = l |
| 3533 | l = len(m.Type) |
| 3534 | n += 1 + l + sovGenerated(uint64(l)) |
| 3535 | l = len(m.Status) |
| 3536 | n += 1 + l + sovGenerated(uint64(l)) |
| 3537 | l = m.LastTransitionTime.Size() |
| 3538 | n += 1 + l + sovGenerated(uint64(l)) |
| 3539 | l = len(m.Reason) |
| 3540 | n += 1 + l + sovGenerated(uint64(l)) |
| 3541 | l = len(m.Message) |
| 3542 | n += 1 + l + sovGenerated(uint64(l)) |
| 3543 | return n |
| 3544 | } |
| 3545 | |
| 3546 | func (m *ReplicaSetList) Size() (n int) { |
| 3547 | var l int |
| 3548 | _ = l |
| 3549 | l = m.ListMeta.Size() |
| 3550 | n += 1 + l + sovGenerated(uint64(l)) |
| 3551 | if len(m.Items) > 0 { |
| 3552 | for _, e := range m.Items { |
| 3553 | l = e.Size() |
| 3554 | n += 1 + l + sovGenerated(uint64(l)) |
| 3555 | } |
| 3556 | } |
| 3557 | return n |
| 3558 | } |
| 3559 | |
| 3560 | func (m *ReplicaSetSpec) Size() (n int) { |
| 3561 | var l int |
| 3562 | _ = l |
| 3563 | if m.Replicas != nil { |
| 3564 | n += 1 + sovGenerated(uint64(*m.Replicas)) |
| 3565 | } |
| 3566 | if m.Selector != nil { |
| 3567 | l = m.Selector.Size() |
| 3568 | n += 1 + l + sovGenerated(uint64(l)) |
| 3569 | } |
| 3570 | l = m.Template.Size() |
| 3571 | n += 1 + l + sovGenerated(uint64(l)) |
| 3572 | n += 1 + sovGenerated(uint64(m.MinReadySeconds)) |
| 3573 | return n |
| 3574 | } |
| 3575 | |
| 3576 | func (m *ReplicaSetStatus) Size() (n int) { |
| 3577 | var l int |
| 3578 | _ = l |
| 3579 | n += 1 + sovGenerated(uint64(m.Replicas)) |
| 3580 | n += 1 + sovGenerated(uint64(m.FullyLabeledReplicas)) |
| 3581 | n += 1 + sovGenerated(uint64(m.ObservedGeneration)) |
| 3582 | n += 1 + sovGenerated(uint64(m.ReadyReplicas)) |
| 3583 | n += 1 + sovGenerated(uint64(m.AvailableReplicas)) |
| 3584 | if len(m.Conditions) > 0 { |
| 3585 | for _, e := range m.Conditions { |
| 3586 | l = e.Size() |
| 3587 | n += 1 + l + sovGenerated(uint64(l)) |
| 3588 | } |
| 3589 | } |
| 3590 | return n |
| 3591 | } |
| 3592 | |
| 3593 | func (m *ReplicationControllerDummy) Size() (n int) { |
| 3594 | var l int |
| 3595 | _ = l |
| 3596 | return n |
| 3597 | } |
| 3598 | |
| 3599 | func (m *RollbackConfig) Size() (n int) { |
| 3600 | var l int |
| 3601 | _ = l |
| 3602 | n += 1 + sovGenerated(uint64(m.Revision)) |
| 3603 | return n |
| 3604 | } |
| 3605 | |
| 3606 | func (m *RollingUpdateDaemonSet) Size() (n int) { |
| 3607 | var l int |
| 3608 | _ = l |
| 3609 | if m.MaxUnavailable != nil { |
| 3610 | l = m.MaxUnavailable.Size() |
| 3611 | n += 1 + l + sovGenerated(uint64(l)) |
| 3612 | } |
| 3613 | return n |
| 3614 | } |
| 3615 | |
| 3616 | func (m *RollingUpdateDeployment) Size() (n int) { |
| 3617 | var l int |
| 3618 | _ = l |
| 3619 | if m.MaxUnavailable != nil { |
| 3620 | l = m.MaxUnavailable.Size() |
| 3621 | n += 1 + l + sovGenerated(uint64(l)) |
| 3622 | } |
| 3623 | if m.MaxSurge != nil { |
| 3624 | l = m.MaxSurge.Size() |
| 3625 | n += 1 + l + sovGenerated(uint64(l)) |
| 3626 | } |
| 3627 | return n |
| 3628 | } |
| 3629 | |
| 3630 | func (m *RunAsUserStrategyOptions) Size() (n int) { |
| 3631 | var l int |
| 3632 | _ = l |
| 3633 | l = len(m.Rule) |
| 3634 | n += 1 + l + sovGenerated(uint64(l)) |
| 3635 | if len(m.Ranges) > 0 { |
| 3636 | for _, e := range m.Ranges { |
| 3637 | l = e.Size() |
| 3638 | n += 1 + l + sovGenerated(uint64(l)) |
| 3639 | } |
| 3640 | } |
| 3641 | return n |
| 3642 | } |
| 3643 | |
| 3644 | func (m *SELinuxStrategyOptions) Size() (n int) { |
| 3645 | var l int |
| 3646 | _ = l |
| 3647 | l = len(m.Rule) |
| 3648 | n += 1 + l + sovGenerated(uint64(l)) |
| 3649 | if m.SELinuxOptions != nil { |
| 3650 | l = m.SELinuxOptions.Size() |
| 3651 | n += 1 + l + sovGenerated(uint64(l)) |
| 3652 | } |
| 3653 | return n |
| 3654 | } |
| 3655 | |
| 3656 | func (m *Scale) Size() (n int) { |
| 3657 | var l int |
| 3658 | _ = l |
| 3659 | l = m.ObjectMeta.Size() |
| 3660 | n += 1 + l + sovGenerated(uint64(l)) |
| 3661 | l = m.Spec.Size() |
| 3662 | n += 1 + l + sovGenerated(uint64(l)) |
| 3663 | l = m.Status.Size() |
| 3664 | n += 1 + l + sovGenerated(uint64(l)) |
| 3665 | return n |
| 3666 | } |
| 3667 | |
| 3668 | func (m *ScaleSpec) Size() (n int) { |
| 3669 | var l int |
| 3670 | _ = l |
| 3671 | n += 1 + sovGenerated(uint64(m.Replicas)) |
| 3672 | return n |
| 3673 | } |
| 3674 | |
| 3675 | func (m *ScaleStatus) Size() (n int) { |
| 3676 | var l int |
| 3677 | _ = l |
| 3678 | n += 1 + sovGenerated(uint64(m.Replicas)) |
| 3679 | if len(m.Selector) > 0 { |
| 3680 | for k, v := range m.Selector { |
| 3681 | _ = k |
| 3682 | _ = v |
| 3683 | mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 3684 | n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) |
| 3685 | } |
| 3686 | } |
| 3687 | l = len(m.TargetSelector) |
| 3688 | n += 1 + l + sovGenerated(uint64(l)) |
| 3689 | return n |
| 3690 | } |
| 3691 | |
| 3692 | func (m *SupplementalGroupsStrategyOptions) Size() (n int) { |
| 3693 | var l int |
| 3694 | _ = l |
| 3695 | l = len(m.Rule) |
| 3696 | n += 1 + l + sovGenerated(uint64(l)) |
| 3697 | if len(m.Ranges) > 0 { |
| 3698 | for _, e := range m.Ranges { |
| 3699 | l = e.Size() |
| 3700 | n += 1 + l + sovGenerated(uint64(l)) |
| 3701 | } |
| 3702 | } |
| 3703 | return n |
| 3704 | } |
| 3705 | |
| 3706 | func sovGenerated(x uint64) (n int) { |
| 3707 | for { |
| 3708 | n++ |
| 3709 | x >>= 7 |
| 3710 | if x == 0 { |
| 3711 | break |
| 3712 | } |
| 3713 | } |
| 3714 | return n |
| 3715 | } |
| 3716 | func sozGenerated(x uint64) (n int) { |
| 3717 | return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
| 3718 | } |
| 3719 | func (this *AllowedFlexVolume) String() string { |
| 3720 | if this == nil { |
| 3721 | return "nil" |
| 3722 | } |
| 3723 | s := strings.Join([]string{`&AllowedFlexVolume{`, |
| 3724 | `Driver:` + fmt.Sprintf("%v", this.Driver) + `,`, |
| 3725 | `}`, |
| 3726 | }, "") |
| 3727 | return s |
| 3728 | } |
| 3729 | func (this *AllowedHostPath) String() string { |
| 3730 | if this == nil { |
| 3731 | return "nil" |
| 3732 | } |
| 3733 | s := strings.Join([]string{`&AllowedHostPath{`, |
| 3734 | `PathPrefix:` + fmt.Sprintf("%v", this.PathPrefix) + `,`, |
| 3735 | `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`, |
| 3736 | `}`, |
| 3737 | }, "") |
| 3738 | return s |
| 3739 | } |
| 3740 | func (this *CustomMetricCurrentStatus) String() string { |
| 3741 | if this == nil { |
| 3742 | return "nil" |
| 3743 | } |
| 3744 | s := strings.Join([]string{`&CustomMetricCurrentStatus{`, |
| 3745 | `Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 3746 | `CurrentValue:` + strings.Replace(strings.Replace(this.CurrentValue.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`, |
| 3747 | `}`, |
| 3748 | }, "") |
| 3749 | return s |
| 3750 | } |
| 3751 | func (this *CustomMetricCurrentStatusList) String() string { |
| 3752 | if this == nil { |
| 3753 | return "nil" |
| 3754 | } |
| 3755 | s := strings.Join([]string{`&CustomMetricCurrentStatusList{`, |
| 3756 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "CustomMetricCurrentStatus", "CustomMetricCurrentStatus", 1), `&`, ``, 1) + `,`, |
| 3757 | `}`, |
| 3758 | }, "") |
| 3759 | return s |
| 3760 | } |
| 3761 | func (this *CustomMetricTarget) String() string { |
| 3762 | if this == nil { |
| 3763 | return "nil" |
| 3764 | } |
| 3765 | s := strings.Join([]string{`&CustomMetricTarget{`, |
| 3766 | `Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 3767 | `TargetValue:` + strings.Replace(strings.Replace(this.TargetValue.String(), "Quantity", "k8s_io_apimachinery_pkg_api_resource.Quantity", 1), `&`, ``, 1) + `,`, |
| 3768 | `}`, |
| 3769 | }, "") |
| 3770 | return s |
| 3771 | } |
| 3772 | func (this *CustomMetricTargetList) String() string { |
| 3773 | if this == nil { |
| 3774 | return "nil" |
| 3775 | } |
| 3776 | s := strings.Join([]string{`&CustomMetricTargetList{`, |
| 3777 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "CustomMetricTarget", "CustomMetricTarget", 1), `&`, ``, 1) + `,`, |
| 3778 | `}`, |
| 3779 | }, "") |
| 3780 | return s |
| 3781 | } |
| 3782 | func (this *DaemonSet) String() string { |
| 3783 | if this == nil { |
| 3784 | return "nil" |
| 3785 | } |
| 3786 | s := strings.Join([]string{`&DaemonSet{`, |
| 3787 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 3788 | `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DaemonSetSpec", "DaemonSetSpec", 1), `&`, ``, 1) + `,`, |
| 3789 | `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DaemonSetStatus", "DaemonSetStatus", 1), `&`, ``, 1) + `,`, |
| 3790 | `}`, |
| 3791 | }, "") |
| 3792 | return s |
| 3793 | } |
| 3794 | func (this *DaemonSetCondition) String() string { |
| 3795 | if this == nil { |
| 3796 | return "nil" |
| 3797 | } |
| 3798 | s := strings.Join([]string{`&DaemonSetCondition{`, |
| 3799 | `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 3800 | `Status:` + fmt.Sprintf("%v", this.Status) + `,`, |
| 3801 | `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, |
| 3802 | `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, |
| 3803 | `Message:` + fmt.Sprintf("%v", this.Message) + `,`, |
| 3804 | `}`, |
| 3805 | }, "") |
| 3806 | return s |
| 3807 | } |
| 3808 | func (this *DaemonSetList) String() string { |
| 3809 | if this == nil { |
| 3810 | return "nil" |
| 3811 | } |
| 3812 | s := strings.Join([]string{`&DaemonSetList{`, |
| 3813 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 3814 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "DaemonSet", "DaemonSet", 1), `&`, ``, 1) + `,`, |
| 3815 | `}`, |
| 3816 | }, "") |
| 3817 | return s |
| 3818 | } |
| 3819 | func (this *DaemonSetSpec) String() string { |
| 3820 | if this == nil { |
| 3821 | return "nil" |
| 3822 | } |
| 3823 | s := strings.Join([]string{`&DaemonSetSpec{`, |
| 3824 | `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, |
| 3825 | `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, |
| 3826 | `UpdateStrategy:` + strings.Replace(strings.Replace(this.UpdateStrategy.String(), "DaemonSetUpdateStrategy", "DaemonSetUpdateStrategy", 1), `&`, ``, 1) + `,`, |
| 3827 | `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`, |
| 3828 | `TemplateGeneration:` + fmt.Sprintf("%v", this.TemplateGeneration) + `,`, |
| 3829 | `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`, |
| 3830 | `}`, |
| 3831 | }, "") |
| 3832 | return s |
| 3833 | } |
| 3834 | func (this *DaemonSetStatus) String() string { |
| 3835 | if this == nil { |
| 3836 | return "nil" |
| 3837 | } |
| 3838 | s := strings.Join([]string{`&DaemonSetStatus{`, |
| 3839 | `CurrentNumberScheduled:` + fmt.Sprintf("%v", this.CurrentNumberScheduled) + `,`, |
| 3840 | `NumberMisscheduled:` + fmt.Sprintf("%v", this.NumberMisscheduled) + `,`, |
| 3841 | `DesiredNumberScheduled:` + fmt.Sprintf("%v", this.DesiredNumberScheduled) + `,`, |
| 3842 | `NumberReady:` + fmt.Sprintf("%v", this.NumberReady) + `,`, |
| 3843 | `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`, |
| 3844 | `UpdatedNumberScheduled:` + fmt.Sprintf("%v", this.UpdatedNumberScheduled) + `,`, |
| 3845 | `NumberAvailable:` + fmt.Sprintf("%v", this.NumberAvailable) + `,`, |
| 3846 | `NumberUnavailable:` + fmt.Sprintf("%v", this.NumberUnavailable) + `,`, |
| 3847 | `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`, |
| 3848 | `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "DaemonSetCondition", "DaemonSetCondition", 1), `&`, ``, 1) + `,`, |
| 3849 | `}`, |
| 3850 | }, "") |
| 3851 | return s |
| 3852 | } |
| 3853 | func (this *DaemonSetUpdateStrategy) String() string { |
| 3854 | if this == nil { |
| 3855 | return "nil" |
| 3856 | } |
| 3857 | s := strings.Join([]string{`&DaemonSetUpdateStrategy{`, |
| 3858 | `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 3859 | `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateDaemonSet", "RollingUpdateDaemonSet", 1) + `,`, |
| 3860 | `}`, |
| 3861 | }, "") |
| 3862 | return s |
| 3863 | } |
| 3864 | func (this *Deployment) String() string { |
| 3865 | if this == nil { |
| 3866 | return "nil" |
| 3867 | } |
| 3868 | s := strings.Join([]string{`&Deployment{`, |
| 3869 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 3870 | `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DeploymentSpec", "DeploymentSpec", 1), `&`, ``, 1) + `,`, |
| 3871 | `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DeploymentStatus", "DeploymentStatus", 1), `&`, ``, 1) + `,`, |
| 3872 | `}`, |
| 3873 | }, "") |
| 3874 | return s |
| 3875 | } |
| 3876 | func (this *DeploymentCondition) String() string { |
| 3877 | if this == nil { |
| 3878 | return "nil" |
| 3879 | } |
| 3880 | s := strings.Join([]string{`&DeploymentCondition{`, |
| 3881 | `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 3882 | `Status:` + fmt.Sprintf("%v", this.Status) + `,`, |
| 3883 | `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, |
| 3884 | `Message:` + fmt.Sprintf("%v", this.Message) + `,`, |
| 3885 | `LastUpdateTime:` + strings.Replace(strings.Replace(this.LastUpdateTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, |
| 3886 | `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, |
| 3887 | `}`, |
| 3888 | }, "") |
| 3889 | return s |
| 3890 | } |
| 3891 | func (this *DeploymentList) String() string { |
| 3892 | if this == nil { |
| 3893 | return "nil" |
| 3894 | } |
| 3895 | s := strings.Join([]string{`&DeploymentList{`, |
| 3896 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 3897 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Deployment", "Deployment", 1), `&`, ``, 1) + `,`, |
| 3898 | `}`, |
| 3899 | }, "") |
| 3900 | return s |
| 3901 | } |
| 3902 | func (this *DeploymentRollback) String() string { |
| 3903 | if this == nil { |
| 3904 | return "nil" |
| 3905 | } |
| 3906 | keysForUpdatedAnnotations := make([]string, 0, len(this.UpdatedAnnotations)) |
| 3907 | for k := range this.UpdatedAnnotations { |
| 3908 | keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, k) |
| 3909 | } |
| 3910 | github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations) |
| 3911 | mapStringForUpdatedAnnotations := "map[string]string{" |
| 3912 | for _, k := range keysForUpdatedAnnotations { |
| 3913 | mapStringForUpdatedAnnotations += fmt.Sprintf("%v: %v,", k, this.UpdatedAnnotations[k]) |
| 3914 | } |
| 3915 | mapStringForUpdatedAnnotations += "}" |
| 3916 | s := strings.Join([]string{`&DeploymentRollback{`, |
| 3917 | `Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 3918 | `UpdatedAnnotations:` + mapStringForUpdatedAnnotations + `,`, |
| 3919 | `RollbackTo:` + strings.Replace(strings.Replace(this.RollbackTo.String(), "RollbackConfig", "RollbackConfig", 1), `&`, ``, 1) + `,`, |
| 3920 | `}`, |
| 3921 | }, "") |
| 3922 | return s |
| 3923 | } |
| 3924 | func (this *DeploymentSpec) String() string { |
| 3925 | if this == nil { |
| 3926 | return "nil" |
| 3927 | } |
| 3928 | s := strings.Join([]string{`&DeploymentSpec{`, |
| 3929 | `Replicas:` + valueToStringGenerated(this.Replicas) + `,`, |
| 3930 | `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, |
| 3931 | `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, |
| 3932 | `Strategy:` + strings.Replace(strings.Replace(this.Strategy.String(), "DeploymentStrategy", "DeploymentStrategy", 1), `&`, ``, 1) + `,`, |
| 3933 | `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`, |
| 3934 | `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`, |
| 3935 | `Paused:` + fmt.Sprintf("%v", this.Paused) + `,`, |
| 3936 | `RollbackTo:` + strings.Replace(fmt.Sprintf("%v", this.RollbackTo), "RollbackConfig", "RollbackConfig", 1) + `,`, |
| 3937 | `ProgressDeadlineSeconds:` + valueToStringGenerated(this.ProgressDeadlineSeconds) + `,`, |
| 3938 | `}`, |
| 3939 | }, "") |
| 3940 | return s |
| 3941 | } |
| 3942 | func (this *DeploymentStatus) String() string { |
| 3943 | if this == nil { |
| 3944 | return "nil" |
| 3945 | } |
| 3946 | s := strings.Join([]string{`&DeploymentStatus{`, |
| 3947 | `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`, |
| 3948 | `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`, |
| 3949 | `UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`, |
| 3950 | `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`, |
| 3951 | `UnavailableReplicas:` + fmt.Sprintf("%v", this.UnavailableReplicas) + `,`, |
| 3952 | `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "DeploymentCondition", "DeploymentCondition", 1), `&`, ``, 1) + `,`, |
| 3953 | `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`, |
| 3954 | `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`, |
| 3955 | `}`, |
| 3956 | }, "") |
| 3957 | return s |
| 3958 | } |
| 3959 | func (this *DeploymentStrategy) String() string { |
| 3960 | if this == nil { |
| 3961 | return "nil" |
| 3962 | } |
| 3963 | s := strings.Join([]string{`&DeploymentStrategy{`, |
| 3964 | `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 3965 | `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateDeployment", "RollingUpdateDeployment", 1) + `,`, |
| 3966 | `}`, |
| 3967 | }, "") |
| 3968 | return s |
| 3969 | } |
| 3970 | func (this *FSGroupStrategyOptions) String() string { |
| 3971 | if this == nil { |
| 3972 | return "nil" |
| 3973 | } |
| 3974 | s := strings.Join([]string{`&FSGroupStrategyOptions{`, |
| 3975 | `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`, |
| 3976 | `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`, |
| 3977 | `}`, |
| 3978 | }, "") |
| 3979 | return s |
| 3980 | } |
| 3981 | func (this *HTTPIngressPath) String() string { |
| 3982 | if this == nil { |
| 3983 | return "nil" |
| 3984 | } |
| 3985 | s := strings.Join([]string{`&HTTPIngressPath{`, |
| 3986 | `Path:` + fmt.Sprintf("%v", this.Path) + `,`, |
| 3987 | `Backend:` + strings.Replace(strings.Replace(this.Backend.String(), "IngressBackend", "IngressBackend", 1), `&`, ``, 1) + `,`, |
| 3988 | `}`, |
| 3989 | }, "") |
| 3990 | return s |
| 3991 | } |
| 3992 | func (this *HTTPIngressRuleValue) String() string { |
| 3993 | if this == nil { |
| 3994 | return "nil" |
| 3995 | } |
| 3996 | s := strings.Join([]string{`&HTTPIngressRuleValue{`, |
| 3997 | `Paths:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Paths), "HTTPIngressPath", "HTTPIngressPath", 1), `&`, ``, 1) + `,`, |
| 3998 | `}`, |
| 3999 | }, "") |
| 4000 | return s |
| 4001 | } |
| 4002 | func (this *HostPortRange) String() string { |
| 4003 | if this == nil { |
| 4004 | return "nil" |
| 4005 | } |
| 4006 | s := strings.Join([]string{`&HostPortRange{`, |
| 4007 | `Min:` + fmt.Sprintf("%v", this.Min) + `,`, |
| 4008 | `Max:` + fmt.Sprintf("%v", this.Max) + `,`, |
| 4009 | `}`, |
| 4010 | }, "") |
| 4011 | return s |
| 4012 | } |
| 4013 | func (this *IDRange) String() string { |
| 4014 | if this == nil { |
| 4015 | return "nil" |
| 4016 | } |
| 4017 | s := strings.Join([]string{`&IDRange{`, |
| 4018 | `Min:` + fmt.Sprintf("%v", this.Min) + `,`, |
| 4019 | `Max:` + fmt.Sprintf("%v", this.Max) + `,`, |
| 4020 | `}`, |
| 4021 | }, "") |
| 4022 | return s |
| 4023 | } |
| 4024 | func (this *IPBlock) String() string { |
| 4025 | if this == nil { |
| 4026 | return "nil" |
| 4027 | } |
| 4028 | s := strings.Join([]string{`&IPBlock{`, |
| 4029 | `CIDR:` + fmt.Sprintf("%v", this.CIDR) + `,`, |
| 4030 | `Except:` + fmt.Sprintf("%v", this.Except) + `,`, |
| 4031 | `}`, |
| 4032 | }, "") |
| 4033 | return s |
| 4034 | } |
| 4035 | func (this *Ingress) String() string { |
| 4036 | if this == nil { |
| 4037 | return "nil" |
| 4038 | } |
| 4039 | s := strings.Join([]string{`&Ingress{`, |
| 4040 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 4041 | `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "IngressSpec", "IngressSpec", 1), `&`, ``, 1) + `,`, |
| 4042 | `Status:` + strings.Replace(strings.Replace(this.Status.String(), "IngressStatus", "IngressStatus", 1), `&`, ``, 1) + `,`, |
| 4043 | `}`, |
| 4044 | }, "") |
| 4045 | return s |
| 4046 | } |
| 4047 | func (this *IngressBackend) String() string { |
| 4048 | if this == nil { |
| 4049 | return "nil" |
| 4050 | } |
| 4051 | s := strings.Join([]string{`&IngressBackend{`, |
| 4052 | `ServiceName:` + fmt.Sprintf("%v", this.ServiceName) + `,`, |
| 4053 | `ServicePort:` + strings.Replace(strings.Replace(this.ServicePort.String(), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`, |
| 4054 | `}`, |
| 4055 | }, "") |
| 4056 | return s |
| 4057 | } |
| 4058 | func (this *IngressList) String() string { |
| 4059 | if this == nil { |
| 4060 | return "nil" |
| 4061 | } |
| 4062 | s := strings.Join([]string{`&IngressList{`, |
| 4063 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 4064 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Ingress", "Ingress", 1), `&`, ``, 1) + `,`, |
| 4065 | `}`, |
| 4066 | }, "") |
| 4067 | return s |
| 4068 | } |
| 4069 | func (this *IngressRule) String() string { |
| 4070 | if this == nil { |
| 4071 | return "nil" |
| 4072 | } |
| 4073 | s := strings.Join([]string{`&IngressRule{`, |
| 4074 | `Host:` + fmt.Sprintf("%v", this.Host) + `,`, |
| 4075 | `IngressRuleValue:` + strings.Replace(strings.Replace(this.IngressRuleValue.String(), "IngressRuleValue", "IngressRuleValue", 1), `&`, ``, 1) + `,`, |
| 4076 | `}`, |
| 4077 | }, "") |
| 4078 | return s |
| 4079 | } |
| 4080 | func (this *IngressRuleValue) String() string { |
| 4081 | if this == nil { |
| 4082 | return "nil" |
| 4083 | } |
| 4084 | s := strings.Join([]string{`&IngressRuleValue{`, |
| 4085 | `HTTP:` + strings.Replace(fmt.Sprintf("%v", this.HTTP), "HTTPIngressRuleValue", "HTTPIngressRuleValue", 1) + `,`, |
| 4086 | `}`, |
| 4087 | }, "") |
| 4088 | return s |
| 4089 | } |
| 4090 | func (this *IngressSpec) String() string { |
| 4091 | if this == nil { |
| 4092 | return "nil" |
| 4093 | } |
| 4094 | s := strings.Join([]string{`&IngressSpec{`, |
| 4095 | `Backend:` + strings.Replace(fmt.Sprintf("%v", this.Backend), "IngressBackend", "IngressBackend", 1) + `,`, |
| 4096 | `TLS:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.TLS), "IngressTLS", "IngressTLS", 1), `&`, ``, 1) + `,`, |
| 4097 | `Rules:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Rules), "IngressRule", "IngressRule", 1), `&`, ``, 1) + `,`, |
| 4098 | `}`, |
| 4099 | }, "") |
| 4100 | return s |
| 4101 | } |
| 4102 | func (this *IngressStatus) String() string { |
| 4103 | if this == nil { |
| 4104 | return "nil" |
| 4105 | } |
| 4106 | s := strings.Join([]string{`&IngressStatus{`, |
| 4107 | `LoadBalancer:` + strings.Replace(strings.Replace(this.LoadBalancer.String(), "LoadBalancerStatus", "k8s_io_api_core_v1.LoadBalancerStatus", 1), `&`, ``, 1) + `,`, |
| 4108 | `}`, |
| 4109 | }, "") |
| 4110 | return s |
| 4111 | } |
| 4112 | func (this *IngressTLS) String() string { |
| 4113 | if this == nil { |
| 4114 | return "nil" |
| 4115 | } |
| 4116 | s := strings.Join([]string{`&IngressTLS{`, |
| 4117 | `Hosts:` + fmt.Sprintf("%v", this.Hosts) + `,`, |
| 4118 | `SecretName:` + fmt.Sprintf("%v", this.SecretName) + `,`, |
| 4119 | `}`, |
| 4120 | }, "") |
| 4121 | return s |
| 4122 | } |
| 4123 | func (this *NetworkPolicy) String() string { |
| 4124 | if this == nil { |
| 4125 | return "nil" |
| 4126 | } |
| 4127 | s := strings.Join([]string{`&NetworkPolicy{`, |
| 4128 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 4129 | `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "NetworkPolicySpec", "NetworkPolicySpec", 1), `&`, ``, 1) + `,`, |
| 4130 | `}`, |
| 4131 | }, "") |
| 4132 | return s |
| 4133 | } |
| 4134 | func (this *NetworkPolicyEgressRule) String() string { |
| 4135 | if this == nil { |
| 4136 | return "nil" |
| 4137 | } |
| 4138 | s := strings.Join([]string{`&NetworkPolicyEgressRule{`, |
| 4139 | `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "NetworkPolicyPort", "NetworkPolicyPort", 1), `&`, ``, 1) + `,`, |
| 4140 | `To:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.To), "NetworkPolicyPeer", "NetworkPolicyPeer", 1), `&`, ``, 1) + `,`, |
| 4141 | `}`, |
| 4142 | }, "") |
| 4143 | return s |
| 4144 | } |
| 4145 | func (this *NetworkPolicyIngressRule) String() string { |
| 4146 | if this == nil { |
| 4147 | return "nil" |
| 4148 | } |
| 4149 | s := strings.Join([]string{`&NetworkPolicyIngressRule{`, |
| 4150 | `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "NetworkPolicyPort", "NetworkPolicyPort", 1), `&`, ``, 1) + `,`, |
| 4151 | `From:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.From), "NetworkPolicyPeer", "NetworkPolicyPeer", 1), `&`, ``, 1) + `,`, |
| 4152 | `}`, |
| 4153 | }, "") |
| 4154 | return s |
| 4155 | } |
| 4156 | func (this *NetworkPolicyList) String() string { |
| 4157 | if this == nil { |
| 4158 | return "nil" |
| 4159 | } |
| 4160 | s := strings.Join([]string{`&NetworkPolicyList{`, |
| 4161 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 4162 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "NetworkPolicy", "NetworkPolicy", 1), `&`, ``, 1) + `,`, |
| 4163 | `}`, |
| 4164 | }, "") |
| 4165 | return s |
| 4166 | } |
| 4167 | func (this *NetworkPolicyPeer) String() string { |
| 4168 | if this == nil { |
| 4169 | return "nil" |
| 4170 | } |
| 4171 | s := strings.Join([]string{`&NetworkPolicyPeer{`, |
| 4172 | `PodSelector:` + strings.Replace(fmt.Sprintf("%v", this.PodSelector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, |
| 4173 | `NamespaceSelector:` + strings.Replace(fmt.Sprintf("%v", this.NamespaceSelector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, |
| 4174 | `IPBlock:` + strings.Replace(fmt.Sprintf("%v", this.IPBlock), "IPBlock", "IPBlock", 1) + `,`, |
| 4175 | `}`, |
| 4176 | }, "") |
| 4177 | return s |
| 4178 | } |
| 4179 | func (this *NetworkPolicyPort) String() string { |
| 4180 | if this == nil { |
| 4181 | return "nil" |
| 4182 | } |
| 4183 | s := strings.Join([]string{`&NetworkPolicyPort{`, |
| 4184 | `Protocol:` + valueToStringGenerated(this.Protocol) + `,`, |
| 4185 | `Port:` + strings.Replace(fmt.Sprintf("%v", this.Port), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`, |
| 4186 | `}`, |
| 4187 | }, "") |
| 4188 | return s |
| 4189 | } |
| 4190 | func (this *NetworkPolicySpec) String() string { |
| 4191 | if this == nil { |
| 4192 | return "nil" |
| 4193 | } |
| 4194 | s := strings.Join([]string{`&NetworkPolicySpec{`, |
| 4195 | `PodSelector:` + strings.Replace(strings.Replace(this.PodSelector.String(), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1), `&`, ``, 1) + `,`, |
| 4196 | `Ingress:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ingress), "NetworkPolicyIngressRule", "NetworkPolicyIngressRule", 1), `&`, ``, 1) + `,`, |
| 4197 | `Egress:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Egress), "NetworkPolicyEgressRule", "NetworkPolicyEgressRule", 1), `&`, ``, 1) + `,`, |
| 4198 | `PolicyTypes:` + fmt.Sprintf("%v", this.PolicyTypes) + `,`, |
| 4199 | `}`, |
| 4200 | }, "") |
| 4201 | return s |
| 4202 | } |
| 4203 | func (this *PodSecurityPolicy) String() string { |
| 4204 | if this == nil { |
| 4205 | return "nil" |
| 4206 | } |
| 4207 | s := strings.Join([]string{`&PodSecurityPolicy{`, |
| 4208 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 4209 | `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodSecurityPolicySpec", "PodSecurityPolicySpec", 1), `&`, ``, 1) + `,`, |
| 4210 | `}`, |
| 4211 | }, "") |
| 4212 | return s |
| 4213 | } |
| 4214 | func (this *PodSecurityPolicyList) String() string { |
| 4215 | if this == nil { |
| 4216 | return "nil" |
| 4217 | } |
| 4218 | s := strings.Join([]string{`&PodSecurityPolicyList{`, |
| 4219 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 4220 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PodSecurityPolicy", "PodSecurityPolicy", 1), `&`, ``, 1) + `,`, |
| 4221 | `}`, |
| 4222 | }, "") |
| 4223 | return s |
| 4224 | } |
| 4225 | func (this *PodSecurityPolicySpec) String() string { |
| 4226 | if this == nil { |
| 4227 | return "nil" |
| 4228 | } |
| 4229 | s := strings.Join([]string{`&PodSecurityPolicySpec{`, |
| 4230 | `Privileged:` + fmt.Sprintf("%v", this.Privileged) + `,`, |
| 4231 | `DefaultAddCapabilities:` + fmt.Sprintf("%v", this.DefaultAddCapabilities) + `,`, |
| 4232 | `RequiredDropCapabilities:` + fmt.Sprintf("%v", this.RequiredDropCapabilities) + `,`, |
| 4233 | `AllowedCapabilities:` + fmt.Sprintf("%v", this.AllowedCapabilities) + `,`, |
| 4234 | `Volumes:` + fmt.Sprintf("%v", this.Volumes) + `,`, |
| 4235 | `HostNetwork:` + fmt.Sprintf("%v", this.HostNetwork) + `,`, |
| 4236 | `HostPorts:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.HostPorts), "HostPortRange", "HostPortRange", 1), `&`, ``, 1) + `,`, |
| 4237 | `HostPID:` + fmt.Sprintf("%v", this.HostPID) + `,`, |
| 4238 | `HostIPC:` + fmt.Sprintf("%v", this.HostIPC) + `,`, |
| 4239 | `SELinux:` + strings.Replace(strings.Replace(this.SELinux.String(), "SELinuxStrategyOptions", "SELinuxStrategyOptions", 1), `&`, ``, 1) + `,`, |
| 4240 | `RunAsUser:` + strings.Replace(strings.Replace(this.RunAsUser.String(), "RunAsUserStrategyOptions", "RunAsUserStrategyOptions", 1), `&`, ``, 1) + `,`, |
| 4241 | `SupplementalGroups:` + strings.Replace(strings.Replace(this.SupplementalGroups.String(), "SupplementalGroupsStrategyOptions", "SupplementalGroupsStrategyOptions", 1), `&`, ``, 1) + `,`, |
| 4242 | `FSGroup:` + strings.Replace(strings.Replace(this.FSGroup.String(), "FSGroupStrategyOptions", "FSGroupStrategyOptions", 1), `&`, ``, 1) + `,`, |
| 4243 | `ReadOnlyRootFilesystem:` + fmt.Sprintf("%v", this.ReadOnlyRootFilesystem) + `,`, |
| 4244 | `DefaultAllowPrivilegeEscalation:` + valueToStringGenerated(this.DefaultAllowPrivilegeEscalation) + `,`, |
| 4245 | `AllowPrivilegeEscalation:` + valueToStringGenerated(this.AllowPrivilegeEscalation) + `,`, |
| 4246 | `AllowedHostPaths:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.AllowedHostPaths), "AllowedHostPath", "AllowedHostPath", 1), `&`, ``, 1) + `,`, |
| 4247 | `AllowedFlexVolumes:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.AllowedFlexVolumes), "AllowedFlexVolume", "AllowedFlexVolume", 1), `&`, ``, 1) + `,`, |
| 4248 | `AllowedUnsafeSysctls:` + fmt.Sprintf("%v", this.AllowedUnsafeSysctls) + `,`, |
| 4249 | `ForbiddenSysctls:` + fmt.Sprintf("%v", this.ForbiddenSysctls) + `,`, |
| 4250 | `}`, |
| 4251 | }, "") |
| 4252 | return s |
| 4253 | } |
| 4254 | func (this *ReplicaSet) String() string { |
| 4255 | if this == nil { |
| 4256 | return "nil" |
| 4257 | } |
| 4258 | s := strings.Join([]string{`&ReplicaSet{`, |
| 4259 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 4260 | `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ReplicaSetSpec", "ReplicaSetSpec", 1), `&`, ``, 1) + `,`, |
| 4261 | `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ReplicaSetStatus", "ReplicaSetStatus", 1), `&`, ``, 1) + `,`, |
| 4262 | `}`, |
| 4263 | }, "") |
| 4264 | return s |
| 4265 | } |
| 4266 | func (this *ReplicaSetCondition) String() string { |
| 4267 | if this == nil { |
| 4268 | return "nil" |
| 4269 | } |
| 4270 | s := strings.Join([]string{`&ReplicaSetCondition{`, |
| 4271 | `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 4272 | `Status:` + fmt.Sprintf("%v", this.Status) + `,`, |
| 4273 | `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, |
| 4274 | `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, |
| 4275 | `Message:` + fmt.Sprintf("%v", this.Message) + `,`, |
| 4276 | `}`, |
| 4277 | }, "") |
| 4278 | return s |
| 4279 | } |
| 4280 | func (this *ReplicaSetList) String() string { |
| 4281 | if this == nil { |
| 4282 | return "nil" |
| 4283 | } |
| 4284 | s := strings.Join([]string{`&ReplicaSetList{`, |
| 4285 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 4286 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ReplicaSet", "ReplicaSet", 1), `&`, ``, 1) + `,`, |
| 4287 | `}`, |
| 4288 | }, "") |
| 4289 | return s |
| 4290 | } |
| 4291 | func (this *ReplicaSetSpec) String() string { |
| 4292 | if this == nil { |
| 4293 | return "nil" |
| 4294 | } |
| 4295 | s := strings.Join([]string{`&ReplicaSetSpec{`, |
| 4296 | `Replicas:` + valueToStringGenerated(this.Replicas) + `,`, |
| 4297 | `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, |
| 4298 | `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, |
| 4299 | `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`, |
| 4300 | `}`, |
| 4301 | }, "") |
| 4302 | return s |
| 4303 | } |
| 4304 | func (this *ReplicaSetStatus) String() string { |
| 4305 | if this == nil { |
| 4306 | return "nil" |
| 4307 | } |
| 4308 | s := strings.Join([]string{`&ReplicaSetStatus{`, |
| 4309 | `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`, |
| 4310 | `FullyLabeledReplicas:` + fmt.Sprintf("%v", this.FullyLabeledReplicas) + `,`, |
| 4311 | `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`, |
| 4312 | `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`, |
| 4313 | `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`, |
| 4314 | `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "ReplicaSetCondition", "ReplicaSetCondition", 1), `&`, ``, 1) + `,`, |
| 4315 | `}`, |
| 4316 | }, "") |
| 4317 | return s |
| 4318 | } |
| 4319 | func (this *ReplicationControllerDummy) String() string { |
| 4320 | if this == nil { |
| 4321 | return "nil" |
| 4322 | } |
| 4323 | s := strings.Join([]string{`&ReplicationControllerDummy{`, |
| 4324 | `}`, |
| 4325 | }, "") |
| 4326 | return s |
| 4327 | } |
| 4328 | func (this *RollbackConfig) String() string { |
| 4329 | if this == nil { |
| 4330 | return "nil" |
| 4331 | } |
| 4332 | s := strings.Join([]string{`&RollbackConfig{`, |
| 4333 | `Revision:` + fmt.Sprintf("%v", this.Revision) + `,`, |
| 4334 | `}`, |
| 4335 | }, "") |
| 4336 | return s |
| 4337 | } |
| 4338 | func (this *RollingUpdateDaemonSet) String() string { |
| 4339 | if this == nil { |
| 4340 | return "nil" |
| 4341 | } |
| 4342 | s := strings.Join([]string{`&RollingUpdateDaemonSet{`, |
| 4343 | `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`, |
| 4344 | `}`, |
| 4345 | }, "") |
| 4346 | return s |
| 4347 | } |
| 4348 | func (this *RollingUpdateDeployment) String() string { |
| 4349 | if this == nil { |
| 4350 | return "nil" |
| 4351 | } |
| 4352 | s := strings.Join([]string{`&RollingUpdateDeployment{`, |
| 4353 | `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`, |
| 4354 | `MaxSurge:` + strings.Replace(fmt.Sprintf("%v", this.MaxSurge), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`, |
| 4355 | `}`, |
| 4356 | }, "") |
| 4357 | return s |
| 4358 | } |
| 4359 | func (this *RunAsUserStrategyOptions) String() string { |
| 4360 | if this == nil { |
| 4361 | return "nil" |
| 4362 | } |
| 4363 | s := strings.Join([]string{`&RunAsUserStrategyOptions{`, |
| 4364 | `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`, |
| 4365 | `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`, |
| 4366 | `}`, |
| 4367 | }, "") |
| 4368 | return s |
| 4369 | } |
| 4370 | func (this *SELinuxStrategyOptions) String() string { |
| 4371 | if this == nil { |
| 4372 | return "nil" |
| 4373 | } |
| 4374 | s := strings.Join([]string{`&SELinuxStrategyOptions{`, |
| 4375 | `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`, |
| 4376 | `SELinuxOptions:` + strings.Replace(fmt.Sprintf("%v", this.SELinuxOptions), "SELinuxOptions", "k8s_io_api_core_v1.SELinuxOptions", 1) + `,`, |
| 4377 | `}`, |
| 4378 | }, "") |
| 4379 | return s |
| 4380 | } |
| 4381 | func (this *Scale) String() string { |
| 4382 | if this == nil { |
| 4383 | return "nil" |
| 4384 | } |
| 4385 | s := strings.Join([]string{`&Scale{`, |
| 4386 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 4387 | `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ScaleSpec", "ScaleSpec", 1), `&`, ``, 1) + `,`, |
| 4388 | `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ScaleStatus", "ScaleStatus", 1), `&`, ``, 1) + `,`, |
| 4389 | `}`, |
| 4390 | }, "") |
| 4391 | return s |
| 4392 | } |
| 4393 | func (this *ScaleSpec) String() string { |
| 4394 | if this == nil { |
| 4395 | return "nil" |
| 4396 | } |
| 4397 | s := strings.Join([]string{`&ScaleSpec{`, |
| 4398 | `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`, |
| 4399 | `}`, |
| 4400 | }, "") |
| 4401 | return s |
| 4402 | } |
| 4403 | func (this *ScaleStatus) String() string { |
| 4404 | if this == nil { |
| 4405 | return "nil" |
| 4406 | } |
| 4407 | keysForSelector := make([]string, 0, len(this.Selector)) |
| 4408 | for k := range this.Selector { |
| 4409 | keysForSelector = append(keysForSelector, k) |
| 4410 | } |
| 4411 | github_com_gogo_protobuf_sortkeys.Strings(keysForSelector) |
| 4412 | mapStringForSelector := "map[string]string{" |
| 4413 | for _, k := range keysForSelector { |
| 4414 | mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k]) |
| 4415 | } |
| 4416 | mapStringForSelector += "}" |
| 4417 | s := strings.Join([]string{`&ScaleStatus{`, |
| 4418 | `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`, |
| 4419 | `Selector:` + mapStringForSelector + `,`, |
| 4420 | `TargetSelector:` + fmt.Sprintf("%v", this.TargetSelector) + `,`, |
| 4421 | `}`, |
| 4422 | }, "") |
| 4423 | return s |
| 4424 | } |
| 4425 | func (this *SupplementalGroupsStrategyOptions) String() string { |
| 4426 | if this == nil { |
| 4427 | return "nil" |
| 4428 | } |
| 4429 | s := strings.Join([]string{`&SupplementalGroupsStrategyOptions{`, |
| 4430 | `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`, |
| 4431 | `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`, |
| 4432 | `}`, |
| 4433 | }, "") |
| 4434 | return s |
| 4435 | } |
| 4436 | func valueToStringGenerated(v interface{}) string { |
| 4437 | rv := reflect.ValueOf(v) |
| 4438 | if rv.IsNil() { |
| 4439 | return "nil" |
| 4440 | } |
| 4441 | pv := reflect.Indirect(rv).Interface() |
| 4442 | return fmt.Sprintf("*%v", pv) |
| 4443 | } |
| 4444 | func (m *AllowedFlexVolume) Unmarshal(dAtA []byte) error { |
| 4445 | l := len(dAtA) |
| 4446 | iNdEx := 0 |
| 4447 | for iNdEx < l { |
| 4448 | preIndex := iNdEx |
| 4449 | var wire uint64 |
| 4450 | for shift := uint(0); ; shift += 7 { |
| 4451 | if shift >= 64 { |
| 4452 | return ErrIntOverflowGenerated |
| 4453 | } |
| 4454 | if iNdEx >= l { |
| 4455 | return io.ErrUnexpectedEOF |
| 4456 | } |
| 4457 | b := dAtA[iNdEx] |
| 4458 | iNdEx++ |
| 4459 | wire |= (uint64(b) & 0x7F) << shift |
| 4460 | if b < 0x80 { |
| 4461 | break |
| 4462 | } |
| 4463 | } |
| 4464 | fieldNum := int32(wire >> 3) |
| 4465 | wireType := int(wire & 0x7) |
| 4466 | if wireType == 4 { |
| 4467 | return fmt.Errorf("proto: AllowedFlexVolume: wiretype end group for non-group") |
| 4468 | } |
| 4469 | if fieldNum <= 0 { |
| 4470 | return fmt.Errorf("proto: AllowedFlexVolume: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4471 | } |
| 4472 | switch fieldNum { |
| 4473 | case 1: |
| 4474 | if wireType != 2 { |
| 4475 | return fmt.Errorf("proto: wrong wireType = %d for field Driver", wireType) |
| 4476 | } |
| 4477 | var stringLen uint64 |
| 4478 | for shift := uint(0); ; shift += 7 { |
| 4479 | if shift >= 64 { |
| 4480 | return ErrIntOverflowGenerated |
| 4481 | } |
| 4482 | if iNdEx >= l { |
| 4483 | return io.ErrUnexpectedEOF |
| 4484 | } |
| 4485 | b := dAtA[iNdEx] |
| 4486 | iNdEx++ |
| 4487 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4488 | if b < 0x80 { |
| 4489 | break |
| 4490 | } |
| 4491 | } |
| 4492 | intStringLen := int(stringLen) |
| 4493 | if intStringLen < 0 { |
| 4494 | return ErrInvalidLengthGenerated |
| 4495 | } |
| 4496 | postIndex := iNdEx + intStringLen |
| 4497 | if postIndex > l { |
| 4498 | return io.ErrUnexpectedEOF |
| 4499 | } |
| 4500 | m.Driver = string(dAtA[iNdEx:postIndex]) |
| 4501 | iNdEx = postIndex |
| 4502 | default: |
| 4503 | iNdEx = preIndex |
| 4504 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4505 | if err != nil { |
| 4506 | return err |
| 4507 | } |
| 4508 | if skippy < 0 { |
| 4509 | return ErrInvalidLengthGenerated |
| 4510 | } |
| 4511 | if (iNdEx + skippy) > l { |
| 4512 | return io.ErrUnexpectedEOF |
| 4513 | } |
| 4514 | iNdEx += skippy |
| 4515 | } |
| 4516 | } |
| 4517 | |
| 4518 | if iNdEx > l { |
| 4519 | return io.ErrUnexpectedEOF |
| 4520 | } |
| 4521 | return nil |
| 4522 | } |
| 4523 | func (m *AllowedHostPath) Unmarshal(dAtA []byte) error { |
| 4524 | l := len(dAtA) |
| 4525 | iNdEx := 0 |
| 4526 | for iNdEx < l { |
| 4527 | preIndex := iNdEx |
| 4528 | var wire uint64 |
| 4529 | for shift := uint(0); ; shift += 7 { |
| 4530 | if shift >= 64 { |
| 4531 | return ErrIntOverflowGenerated |
| 4532 | } |
| 4533 | if iNdEx >= l { |
| 4534 | return io.ErrUnexpectedEOF |
| 4535 | } |
| 4536 | b := dAtA[iNdEx] |
| 4537 | iNdEx++ |
| 4538 | wire |= (uint64(b) & 0x7F) << shift |
| 4539 | if b < 0x80 { |
| 4540 | break |
| 4541 | } |
| 4542 | } |
| 4543 | fieldNum := int32(wire >> 3) |
| 4544 | wireType := int(wire & 0x7) |
| 4545 | if wireType == 4 { |
| 4546 | return fmt.Errorf("proto: AllowedHostPath: wiretype end group for non-group") |
| 4547 | } |
| 4548 | if fieldNum <= 0 { |
| 4549 | return fmt.Errorf("proto: AllowedHostPath: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4550 | } |
| 4551 | switch fieldNum { |
| 4552 | case 1: |
| 4553 | if wireType != 2 { |
| 4554 | return fmt.Errorf("proto: wrong wireType = %d for field PathPrefix", wireType) |
| 4555 | } |
| 4556 | var stringLen uint64 |
| 4557 | for shift := uint(0); ; shift += 7 { |
| 4558 | if shift >= 64 { |
| 4559 | return ErrIntOverflowGenerated |
| 4560 | } |
| 4561 | if iNdEx >= l { |
| 4562 | return io.ErrUnexpectedEOF |
| 4563 | } |
| 4564 | b := dAtA[iNdEx] |
| 4565 | iNdEx++ |
| 4566 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4567 | if b < 0x80 { |
| 4568 | break |
| 4569 | } |
| 4570 | } |
| 4571 | intStringLen := int(stringLen) |
| 4572 | if intStringLen < 0 { |
| 4573 | return ErrInvalidLengthGenerated |
| 4574 | } |
| 4575 | postIndex := iNdEx + intStringLen |
| 4576 | if postIndex > l { |
| 4577 | return io.ErrUnexpectedEOF |
| 4578 | } |
| 4579 | m.PathPrefix = string(dAtA[iNdEx:postIndex]) |
| 4580 | iNdEx = postIndex |
| 4581 | case 2: |
| 4582 | if wireType != 0 { |
| 4583 | return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType) |
| 4584 | } |
| 4585 | var v int |
| 4586 | for shift := uint(0); ; shift += 7 { |
| 4587 | if shift >= 64 { |
| 4588 | return ErrIntOverflowGenerated |
| 4589 | } |
| 4590 | if iNdEx >= l { |
| 4591 | return io.ErrUnexpectedEOF |
| 4592 | } |
| 4593 | b := dAtA[iNdEx] |
| 4594 | iNdEx++ |
| 4595 | v |= (int(b) & 0x7F) << shift |
| 4596 | if b < 0x80 { |
| 4597 | break |
| 4598 | } |
| 4599 | } |
| 4600 | m.ReadOnly = bool(v != 0) |
| 4601 | default: |
| 4602 | iNdEx = preIndex |
| 4603 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4604 | if err != nil { |
| 4605 | return err |
| 4606 | } |
| 4607 | if skippy < 0 { |
| 4608 | return ErrInvalidLengthGenerated |
| 4609 | } |
| 4610 | if (iNdEx + skippy) > l { |
| 4611 | return io.ErrUnexpectedEOF |
| 4612 | } |
| 4613 | iNdEx += skippy |
| 4614 | } |
| 4615 | } |
| 4616 | |
| 4617 | if iNdEx > l { |
| 4618 | return io.ErrUnexpectedEOF |
| 4619 | } |
| 4620 | return nil |
| 4621 | } |
| 4622 | func (m *CustomMetricCurrentStatus) Unmarshal(dAtA []byte) error { |
| 4623 | l := len(dAtA) |
| 4624 | iNdEx := 0 |
| 4625 | for iNdEx < l { |
| 4626 | preIndex := iNdEx |
| 4627 | var wire uint64 |
| 4628 | for shift := uint(0); ; shift += 7 { |
| 4629 | if shift >= 64 { |
| 4630 | return ErrIntOverflowGenerated |
| 4631 | } |
| 4632 | if iNdEx >= l { |
| 4633 | return io.ErrUnexpectedEOF |
| 4634 | } |
| 4635 | b := dAtA[iNdEx] |
| 4636 | iNdEx++ |
| 4637 | wire |= (uint64(b) & 0x7F) << shift |
| 4638 | if b < 0x80 { |
| 4639 | break |
| 4640 | } |
| 4641 | } |
| 4642 | fieldNum := int32(wire >> 3) |
| 4643 | wireType := int(wire & 0x7) |
| 4644 | if wireType == 4 { |
| 4645 | return fmt.Errorf("proto: CustomMetricCurrentStatus: wiretype end group for non-group") |
| 4646 | } |
| 4647 | if fieldNum <= 0 { |
| 4648 | return fmt.Errorf("proto: CustomMetricCurrentStatus: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4649 | } |
| 4650 | switch fieldNum { |
| 4651 | case 1: |
| 4652 | if wireType != 2 { |
| 4653 | return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 4654 | } |
| 4655 | var stringLen uint64 |
| 4656 | for shift := uint(0); ; shift += 7 { |
| 4657 | if shift >= 64 { |
| 4658 | return ErrIntOverflowGenerated |
| 4659 | } |
| 4660 | if iNdEx >= l { |
| 4661 | return io.ErrUnexpectedEOF |
| 4662 | } |
| 4663 | b := dAtA[iNdEx] |
| 4664 | iNdEx++ |
| 4665 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4666 | if b < 0x80 { |
| 4667 | break |
| 4668 | } |
| 4669 | } |
| 4670 | intStringLen := int(stringLen) |
| 4671 | if intStringLen < 0 { |
| 4672 | return ErrInvalidLengthGenerated |
| 4673 | } |
| 4674 | postIndex := iNdEx + intStringLen |
| 4675 | if postIndex > l { |
| 4676 | return io.ErrUnexpectedEOF |
| 4677 | } |
| 4678 | m.Name = string(dAtA[iNdEx:postIndex]) |
| 4679 | iNdEx = postIndex |
| 4680 | case 2: |
| 4681 | if wireType != 2 { |
| 4682 | return fmt.Errorf("proto: wrong wireType = %d for field CurrentValue", wireType) |
| 4683 | } |
| 4684 | var msglen int |
| 4685 | for shift := uint(0); ; shift += 7 { |
| 4686 | if shift >= 64 { |
| 4687 | return ErrIntOverflowGenerated |
| 4688 | } |
| 4689 | if iNdEx >= l { |
| 4690 | return io.ErrUnexpectedEOF |
| 4691 | } |
| 4692 | b := dAtA[iNdEx] |
| 4693 | iNdEx++ |
| 4694 | msglen |= (int(b) & 0x7F) << shift |
| 4695 | if b < 0x80 { |
| 4696 | break |
| 4697 | } |
| 4698 | } |
| 4699 | if msglen < 0 { |
| 4700 | return ErrInvalidLengthGenerated |
| 4701 | } |
| 4702 | postIndex := iNdEx + msglen |
| 4703 | if postIndex > l { |
| 4704 | return io.ErrUnexpectedEOF |
| 4705 | } |
| 4706 | if err := m.CurrentValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4707 | return err |
| 4708 | } |
| 4709 | iNdEx = postIndex |
| 4710 | default: |
| 4711 | iNdEx = preIndex |
| 4712 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4713 | if err != nil { |
| 4714 | return err |
| 4715 | } |
| 4716 | if skippy < 0 { |
| 4717 | return ErrInvalidLengthGenerated |
| 4718 | } |
| 4719 | if (iNdEx + skippy) > l { |
| 4720 | return io.ErrUnexpectedEOF |
| 4721 | } |
| 4722 | iNdEx += skippy |
| 4723 | } |
| 4724 | } |
| 4725 | |
| 4726 | if iNdEx > l { |
| 4727 | return io.ErrUnexpectedEOF |
| 4728 | } |
| 4729 | return nil |
| 4730 | } |
| 4731 | func (m *CustomMetricCurrentStatusList) Unmarshal(dAtA []byte) error { |
| 4732 | l := len(dAtA) |
| 4733 | iNdEx := 0 |
| 4734 | for iNdEx < l { |
| 4735 | preIndex := iNdEx |
| 4736 | var wire uint64 |
| 4737 | for shift := uint(0); ; shift += 7 { |
| 4738 | if shift >= 64 { |
| 4739 | return ErrIntOverflowGenerated |
| 4740 | } |
| 4741 | if iNdEx >= l { |
| 4742 | return io.ErrUnexpectedEOF |
| 4743 | } |
| 4744 | b := dAtA[iNdEx] |
| 4745 | iNdEx++ |
| 4746 | wire |= (uint64(b) & 0x7F) << shift |
| 4747 | if b < 0x80 { |
| 4748 | break |
| 4749 | } |
| 4750 | } |
| 4751 | fieldNum := int32(wire >> 3) |
| 4752 | wireType := int(wire & 0x7) |
| 4753 | if wireType == 4 { |
| 4754 | return fmt.Errorf("proto: CustomMetricCurrentStatusList: wiretype end group for non-group") |
| 4755 | } |
| 4756 | if fieldNum <= 0 { |
| 4757 | return fmt.Errorf("proto: CustomMetricCurrentStatusList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4758 | } |
| 4759 | switch fieldNum { |
| 4760 | case 1: |
| 4761 | if wireType != 2 { |
| 4762 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 4763 | } |
| 4764 | var msglen int |
| 4765 | for shift := uint(0); ; shift += 7 { |
| 4766 | if shift >= 64 { |
| 4767 | return ErrIntOverflowGenerated |
| 4768 | } |
| 4769 | if iNdEx >= l { |
| 4770 | return io.ErrUnexpectedEOF |
| 4771 | } |
| 4772 | b := dAtA[iNdEx] |
| 4773 | iNdEx++ |
| 4774 | msglen |= (int(b) & 0x7F) << shift |
| 4775 | if b < 0x80 { |
| 4776 | break |
| 4777 | } |
| 4778 | } |
| 4779 | if msglen < 0 { |
| 4780 | return ErrInvalidLengthGenerated |
| 4781 | } |
| 4782 | postIndex := iNdEx + msglen |
| 4783 | if postIndex > l { |
| 4784 | return io.ErrUnexpectedEOF |
| 4785 | } |
| 4786 | m.Items = append(m.Items, CustomMetricCurrentStatus{}) |
| 4787 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4788 | return err |
| 4789 | } |
| 4790 | iNdEx = postIndex |
| 4791 | default: |
| 4792 | iNdEx = preIndex |
| 4793 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4794 | if err != nil { |
| 4795 | return err |
| 4796 | } |
| 4797 | if skippy < 0 { |
| 4798 | return ErrInvalidLengthGenerated |
| 4799 | } |
| 4800 | if (iNdEx + skippy) > l { |
| 4801 | return io.ErrUnexpectedEOF |
| 4802 | } |
| 4803 | iNdEx += skippy |
| 4804 | } |
| 4805 | } |
| 4806 | |
| 4807 | if iNdEx > l { |
| 4808 | return io.ErrUnexpectedEOF |
| 4809 | } |
| 4810 | return nil |
| 4811 | } |
| 4812 | func (m *CustomMetricTarget) Unmarshal(dAtA []byte) error { |
| 4813 | l := len(dAtA) |
| 4814 | iNdEx := 0 |
| 4815 | for iNdEx < l { |
| 4816 | preIndex := iNdEx |
| 4817 | var wire uint64 |
| 4818 | for shift := uint(0); ; shift += 7 { |
| 4819 | if shift >= 64 { |
| 4820 | return ErrIntOverflowGenerated |
| 4821 | } |
| 4822 | if iNdEx >= l { |
| 4823 | return io.ErrUnexpectedEOF |
| 4824 | } |
| 4825 | b := dAtA[iNdEx] |
| 4826 | iNdEx++ |
| 4827 | wire |= (uint64(b) & 0x7F) << shift |
| 4828 | if b < 0x80 { |
| 4829 | break |
| 4830 | } |
| 4831 | } |
| 4832 | fieldNum := int32(wire >> 3) |
| 4833 | wireType := int(wire & 0x7) |
| 4834 | if wireType == 4 { |
| 4835 | return fmt.Errorf("proto: CustomMetricTarget: wiretype end group for non-group") |
| 4836 | } |
| 4837 | if fieldNum <= 0 { |
| 4838 | return fmt.Errorf("proto: CustomMetricTarget: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4839 | } |
| 4840 | switch fieldNum { |
| 4841 | case 1: |
| 4842 | if wireType != 2 { |
| 4843 | return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 4844 | } |
| 4845 | var stringLen uint64 |
| 4846 | for shift := uint(0); ; shift += 7 { |
| 4847 | if shift >= 64 { |
| 4848 | return ErrIntOverflowGenerated |
| 4849 | } |
| 4850 | if iNdEx >= l { |
| 4851 | return io.ErrUnexpectedEOF |
| 4852 | } |
| 4853 | b := dAtA[iNdEx] |
| 4854 | iNdEx++ |
| 4855 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4856 | if b < 0x80 { |
| 4857 | break |
| 4858 | } |
| 4859 | } |
| 4860 | intStringLen := int(stringLen) |
| 4861 | if intStringLen < 0 { |
| 4862 | return ErrInvalidLengthGenerated |
| 4863 | } |
| 4864 | postIndex := iNdEx + intStringLen |
| 4865 | if postIndex > l { |
| 4866 | return io.ErrUnexpectedEOF |
| 4867 | } |
| 4868 | m.Name = string(dAtA[iNdEx:postIndex]) |
| 4869 | iNdEx = postIndex |
| 4870 | case 2: |
| 4871 | if wireType != 2 { |
| 4872 | return fmt.Errorf("proto: wrong wireType = %d for field TargetValue", wireType) |
| 4873 | } |
| 4874 | var msglen int |
| 4875 | for shift := uint(0); ; shift += 7 { |
| 4876 | if shift >= 64 { |
| 4877 | return ErrIntOverflowGenerated |
| 4878 | } |
| 4879 | if iNdEx >= l { |
| 4880 | return io.ErrUnexpectedEOF |
| 4881 | } |
| 4882 | b := dAtA[iNdEx] |
| 4883 | iNdEx++ |
| 4884 | msglen |= (int(b) & 0x7F) << shift |
| 4885 | if b < 0x80 { |
| 4886 | break |
| 4887 | } |
| 4888 | } |
| 4889 | if msglen < 0 { |
| 4890 | return ErrInvalidLengthGenerated |
| 4891 | } |
| 4892 | postIndex := iNdEx + msglen |
| 4893 | if postIndex > l { |
| 4894 | return io.ErrUnexpectedEOF |
| 4895 | } |
| 4896 | if err := m.TargetValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4897 | return err |
| 4898 | } |
| 4899 | iNdEx = postIndex |
| 4900 | default: |
| 4901 | iNdEx = preIndex |
| 4902 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4903 | if err != nil { |
| 4904 | return err |
| 4905 | } |
| 4906 | if skippy < 0 { |
| 4907 | return ErrInvalidLengthGenerated |
| 4908 | } |
| 4909 | if (iNdEx + skippy) > l { |
| 4910 | return io.ErrUnexpectedEOF |
| 4911 | } |
| 4912 | iNdEx += skippy |
| 4913 | } |
| 4914 | } |
| 4915 | |
| 4916 | if iNdEx > l { |
| 4917 | return io.ErrUnexpectedEOF |
| 4918 | } |
| 4919 | return nil |
| 4920 | } |
| 4921 | func (m *CustomMetricTargetList) Unmarshal(dAtA []byte) error { |
| 4922 | l := len(dAtA) |
| 4923 | iNdEx := 0 |
| 4924 | for iNdEx < l { |
| 4925 | preIndex := iNdEx |
| 4926 | var wire uint64 |
| 4927 | for shift := uint(0); ; shift += 7 { |
| 4928 | if shift >= 64 { |
| 4929 | return ErrIntOverflowGenerated |
| 4930 | } |
| 4931 | if iNdEx >= l { |
| 4932 | return io.ErrUnexpectedEOF |
| 4933 | } |
| 4934 | b := dAtA[iNdEx] |
| 4935 | iNdEx++ |
| 4936 | wire |= (uint64(b) & 0x7F) << shift |
| 4937 | if b < 0x80 { |
| 4938 | break |
| 4939 | } |
| 4940 | } |
| 4941 | fieldNum := int32(wire >> 3) |
| 4942 | wireType := int(wire & 0x7) |
| 4943 | if wireType == 4 { |
| 4944 | return fmt.Errorf("proto: CustomMetricTargetList: wiretype end group for non-group") |
| 4945 | } |
| 4946 | if fieldNum <= 0 { |
| 4947 | return fmt.Errorf("proto: CustomMetricTargetList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4948 | } |
| 4949 | switch fieldNum { |
| 4950 | case 1: |
| 4951 | if wireType != 2 { |
| 4952 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 4953 | } |
| 4954 | var msglen int |
| 4955 | for shift := uint(0); ; shift += 7 { |
| 4956 | if shift >= 64 { |
| 4957 | return ErrIntOverflowGenerated |
| 4958 | } |
| 4959 | if iNdEx >= l { |
| 4960 | return io.ErrUnexpectedEOF |
| 4961 | } |
| 4962 | b := dAtA[iNdEx] |
| 4963 | iNdEx++ |
| 4964 | msglen |= (int(b) & 0x7F) << shift |
| 4965 | if b < 0x80 { |
| 4966 | break |
| 4967 | } |
| 4968 | } |
| 4969 | if msglen < 0 { |
| 4970 | return ErrInvalidLengthGenerated |
| 4971 | } |
| 4972 | postIndex := iNdEx + msglen |
| 4973 | if postIndex > l { |
| 4974 | return io.ErrUnexpectedEOF |
| 4975 | } |
| 4976 | m.Items = append(m.Items, CustomMetricTarget{}) |
| 4977 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4978 | return err |
| 4979 | } |
| 4980 | iNdEx = postIndex |
| 4981 | default: |
| 4982 | iNdEx = preIndex |
| 4983 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4984 | if err != nil { |
| 4985 | return err |
| 4986 | } |
| 4987 | if skippy < 0 { |
| 4988 | return ErrInvalidLengthGenerated |
| 4989 | } |
| 4990 | if (iNdEx + skippy) > l { |
| 4991 | return io.ErrUnexpectedEOF |
| 4992 | } |
| 4993 | iNdEx += skippy |
| 4994 | } |
| 4995 | } |
| 4996 | |
| 4997 | if iNdEx > l { |
| 4998 | return io.ErrUnexpectedEOF |
| 4999 | } |
| 5000 | return nil |
| 5001 | } |
| 5002 | func (m *DaemonSet) Unmarshal(dAtA []byte) error { |
| 5003 | l := len(dAtA) |
| 5004 | iNdEx := 0 |
| 5005 | for iNdEx < l { |
| 5006 | preIndex := iNdEx |
| 5007 | var wire 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 | wire |= (uint64(b) & 0x7F) << shift |
| 5018 | if b < 0x80 { |
| 5019 | break |
| 5020 | } |
| 5021 | } |
| 5022 | fieldNum := int32(wire >> 3) |
| 5023 | wireType := int(wire & 0x7) |
| 5024 | if wireType == 4 { |
| 5025 | return fmt.Errorf("proto: DaemonSet: wiretype end group for non-group") |
| 5026 | } |
| 5027 | if fieldNum <= 0 { |
| 5028 | return fmt.Errorf("proto: DaemonSet: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5029 | } |
| 5030 | switch fieldNum { |
| 5031 | case 1: |
| 5032 | if wireType != 2 { |
| 5033 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 5034 | } |
| 5035 | var msglen int |
| 5036 | for shift := uint(0); ; shift += 7 { |
| 5037 | if shift >= 64 { |
| 5038 | return ErrIntOverflowGenerated |
| 5039 | } |
| 5040 | if iNdEx >= l { |
| 5041 | return io.ErrUnexpectedEOF |
| 5042 | } |
| 5043 | b := dAtA[iNdEx] |
| 5044 | iNdEx++ |
| 5045 | msglen |= (int(b) & 0x7F) << shift |
| 5046 | if b < 0x80 { |
| 5047 | break |
| 5048 | } |
| 5049 | } |
| 5050 | if msglen < 0 { |
| 5051 | return ErrInvalidLengthGenerated |
| 5052 | } |
| 5053 | postIndex := iNdEx + msglen |
| 5054 | if postIndex > l { |
| 5055 | return io.ErrUnexpectedEOF |
| 5056 | } |
| 5057 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5058 | return err |
| 5059 | } |
| 5060 | iNdEx = postIndex |
| 5061 | case 2: |
| 5062 | if wireType != 2 { |
| 5063 | return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) |
| 5064 | } |
| 5065 | var msglen int |
| 5066 | for shift := uint(0); ; shift += 7 { |
| 5067 | if shift >= 64 { |
| 5068 | return ErrIntOverflowGenerated |
| 5069 | } |
| 5070 | if iNdEx >= l { |
| 5071 | return io.ErrUnexpectedEOF |
| 5072 | } |
| 5073 | b := dAtA[iNdEx] |
| 5074 | iNdEx++ |
| 5075 | msglen |= (int(b) & 0x7F) << shift |
| 5076 | if b < 0x80 { |
| 5077 | break |
| 5078 | } |
| 5079 | } |
| 5080 | if msglen < 0 { |
| 5081 | return ErrInvalidLengthGenerated |
| 5082 | } |
| 5083 | postIndex := iNdEx + msglen |
| 5084 | if postIndex > l { |
| 5085 | return io.ErrUnexpectedEOF |
| 5086 | } |
| 5087 | if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5088 | return err |
| 5089 | } |
| 5090 | iNdEx = postIndex |
| 5091 | case 3: |
| 5092 | if wireType != 2 { |
| 5093 | return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 5094 | } |
| 5095 | var msglen int |
| 5096 | for shift := uint(0); ; shift += 7 { |
| 5097 | if shift >= 64 { |
| 5098 | return ErrIntOverflowGenerated |
| 5099 | } |
| 5100 | if iNdEx >= l { |
| 5101 | return io.ErrUnexpectedEOF |
| 5102 | } |
| 5103 | b := dAtA[iNdEx] |
| 5104 | iNdEx++ |
| 5105 | msglen |= (int(b) & 0x7F) << shift |
| 5106 | if b < 0x80 { |
| 5107 | break |
| 5108 | } |
| 5109 | } |
| 5110 | if msglen < 0 { |
| 5111 | return ErrInvalidLengthGenerated |
| 5112 | } |
| 5113 | postIndex := iNdEx + msglen |
| 5114 | if postIndex > l { |
| 5115 | return io.ErrUnexpectedEOF |
| 5116 | } |
| 5117 | if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5118 | return err |
| 5119 | } |
| 5120 | iNdEx = postIndex |
| 5121 | default: |
| 5122 | iNdEx = preIndex |
| 5123 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5124 | if err != nil { |
| 5125 | return err |
| 5126 | } |
| 5127 | if skippy < 0 { |
| 5128 | return ErrInvalidLengthGenerated |
| 5129 | } |
| 5130 | if (iNdEx + skippy) > l { |
| 5131 | return io.ErrUnexpectedEOF |
| 5132 | } |
| 5133 | iNdEx += skippy |
| 5134 | } |
| 5135 | } |
| 5136 | |
| 5137 | if iNdEx > l { |
| 5138 | return io.ErrUnexpectedEOF |
| 5139 | } |
| 5140 | return nil |
| 5141 | } |
| 5142 | func (m *DaemonSetCondition) Unmarshal(dAtA []byte) error { |
| 5143 | l := len(dAtA) |
| 5144 | iNdEx := 0 |
| 5145 | for iNdEx < l { |
| 5146 | preIndex := iNdEx |
| 5147 | var wire uint64 |
| 5148 | for shift := uint(0); ; shift += 7 { |
| 5149 | if shift >= 64 { |
| 5150 | return ErrIntOverflowGenerated |
| 5151 | } |
| 5152 | if iNdEx >= l { |
| 5153 | return io.ErrUnexpectedEOF |
| 5154 | } |
| 5155 | b := dAtA[iNdEx] |
| 5156 | iNdEx++ |
| 5157 | wire |= (uint64(b) & 0x7F) << shift |
| 5158 | if b < 0x80 { |
| 5159 | break |
| 5160 | } |
| 5161 | } |
| 5162 | fieldNum := int32(wire >> 3) |
| 5163 | wireType := int(wire & 0x7) |
| 5164 | if wireType == 4 { |
| 5165 | return fmt.Errorf("proto: DaemonSetCondition: wiretype end group for non-group") |
| 5166 | } |
| 5167 | if fieldNum <= 0 { |
| 5168 | return fmt.Errorf("proto: DaemonSetCondition: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5169 | } |
| 5170 | switch fieldNum { |
| 5171 | case 1: |
| 5172 | if wireType != 2 { |
| 5173 | return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 5174 | } |
| 5175 | var stringLen uint64 |
| 5176 | for shift := uint(0); ; shift += 7 { |
| 5177 | if shift >= 64 { |
| 5178 | return ErrIntOverflowGenerated |
| 5179 | } |
| 5180 | if iNdEx >= l { |
| 5181 | return io.ErrUnexpectedEOF |
| 5182 | } |
| 5183 | b := dAtA[iNdEx] |
| 5184 | iNdEx++ |
| 5185 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5186 | if b < 0x80 { |
| 5187 | break |
| 5188 | } |
| 5189 | } |
| 5190 | intStringLen := int(stringLen) |
| 5191 | if intStringLen < 0 { |
| 5192 | return ErrInvalidLengthGenerated |
| 5193 | } |
| 5194 | postIndex := iNdEx + intStringLen |
| 5195 | if postIndex > l { |
| 5196 | return io.ErrUnexpectedEOF |
| 5197 | } |
| 5198 | m.Type = DaemonSetConditionType(dAtA[iNdEx:postIndex]) |
| 5199 | iNdEx = postIndex |
| 5200 | case 2: |
| 5201 | if wireType != 2 { |
| 5202 | return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 5203 | } |
| 5204 | var stringLen uint64 |
| 5205 | for shift := uint(0); ; shift += 7 { |
| 5206 | if shift >= 64 { |
| 5207 | return ErrIntOverflowGenerated |
| 5208 | } |
| 5209 | if iNdEx >= l { |
| 5210 | return io.ErrUnexpectedEOF |
| 5211 | } |
| 5212 | b := dAtA[iNdEx] |
| 5213 | iNdEx++ |
| 5214 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5215 | if b < 0x80 { |
| 5216 | break |
| 5217 | } |
| 5218 | } |
| 5219 | intStringLen := int(stringLen) |
| 5220 | if intStringLen < 0 { |
| 5221 | return ErrInvalidLengthGenerated |
| 5222 | } |
| 5223 | postIndex := iNdEx + intStringLen |
| 5224 | if postIndex > l { |
| 5225 | return io.ErrUnexpectedEOF |
| 5226 | } |
| 5227 | m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex]) |
| 5228 | iNdEx = postIndex |
| 5229 | case 3: |
| 5230 | if wireType != 2 { |
| 5231 | return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) |
| 5232 | } |
| 5233 | var msglen int |
| 5234 | for shift := uint(0); ; shift += 7 { |
| 5235 | if shift >= 64 { |
| 5236 | return ErrIntOverflowGenerated |
| 5237 | } |
| 5238 | if iNdEx >= l { |
| 5239 | return io.ErrUnexpectedEOF |
| 5240 | } |
| 5241 | b := dAtA[iNdEx] |
| 5242 | iNdEx++ |
| 5243 | msglen |= (int(b) & 0x7F) << shift |
| 5244 | if b < 0x80 { |
| 5245 | break |
| 5246 | } |
| 5247 | } |
| 5248 | if msglen < 0 { |
| 5249 | return ErrInvalidLengthGenerated |
| 5250 | } |
| 5251 | postIndex := iNdEx + msglen |
| 5252 | if postIndex > l { |
| 5253 | return io.ErrUnexpectedEOF |
| 5254 | } |
| 5255 | if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5256 | return err |
| 5257 | } |
| 5258 | iNdEx = postIndex |
| 5259 | case 4: |
| 5260 | if wireType != 2 { |
| 5261 | return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) |
| 5262 | } |
| 5263 | var stringLen uint64 |
| 5264 | for shift := uint(0); ; shift += 7 { |
| 5265 | if shift >= 64 { |
| 5266 | return ErrIntOverflowGenerated |
| 5267 | } |
| 5268 | if iNdEx >= l { |
| 5269 | return io.ErrUnexpectedEOF |
| 5270 | } |
| 5271 | b := dAtA[iNdEx] |
| 5272 | iNdEx++ |
| 5273 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5274 | if b < 0x80 { |
| 5275 | break |
| 5276 | } |
| 5277 | } |
| 5278 | intStringLen := int(stringLen) |
| 5279 | if intStringLen < 0 { |
| 5280 | return ErrInvalidLengthGenerated |
| 5281 | } |
| 5282 | postIndex := iNdEx + intStringLen |
| 5283 | if postIndex > l { |
| 5284 | return io.ErrUnexpectedEOF |
| 5285 | } |
| 5286 | m.Reason = string(dAtA[iNdEx:postIndex]) |
| 5287 | iNdEx = postIndex |
| 5288 | case 5: |
| 5289 | if wireType != 2 { |
| 5290 | return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) |
| 5291 | } |
| 5292 | var stringLen uint64 |
| 5293 | for shift := uint(0); ; shift += 7 { |
| 5294 | if shift >= 64 { |
| 5295 | return ErrIntOverflowGenerated |
| 5296 | } |
| 5297 | if iNdEx >= l { |
| 5298 | return io.ErrUnexpectedEOF |
| 5299 | } |
| 5300 | b := dAtA[iNdEx] |
| 5301 | iNdEx++ |
| 5302 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5303 | if b < 0x80 { |
| 5304 | break |
| 5305 | } |
| 5306 | } |
| 5307 | intStringLen := int(stringLen) |
| 5308 | if intStringLen < 0 { |
| 5309 | return ErrInvalidLengthGenerated |
| 5310 | } |
| 5311 | postIndex := iNdEx + intStringLen |
| 5312 | if postIndex > l { |
| 5313 | return io.ErrUnexpectedEOF |
| 5314 | } |
| 5315 | m.Message = string(dAtA[iNdEx:postIndex]) |
| 5316 | iNdEx = postIndex |
| 5317 | default: |
| 5318 | iNdEx = preIndex |
| 5319 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5320 | if err != nil { |
| 5321 | return err |
| 5322 | } |
| 5323 | if skippy < 0 { |
| 5324 | return ErrInvalidLengthGenerated |
| 5325 | } |
| 5326 | if (iNdEx + skippy) > l { |
| 5327 | return io.ErrUnexpectedEOF |
| 5328 | } |
| 5329 | iNdEx += skippy |
| 5330 | } |
| 5331 | } |
| 5332 | |
| 5333 | if iNdEx > l { |
| 5334 | return io.ErrUnexpectedEOF |
| 5335 | } |
| 5336 | return nil |
| 5337 | } |
| 5338 | func (m *DaemonSetList) Unmarshal(dAtA []byte) error { |
| 5339 | l := len(dAtA) |
| 5340 | iNdEx := 0 |
| 5341 | for iNdEx < l { |
| 5342 | preIndex := iNdEx |
| 5343 | var wire uint64 |
| 5344 | for shift := uint(0); ; shift += 7 { |
| 5345 | if shift >= 64 { |
| 5346 | return ErrIntOverflowGenerated |
| 5347 | } |
| 5348 | if iNdEx >= l { |
| 5349 | return io.ErrUnexpectedEOF |
| 5350 | } |
| 5351 | b := dAtA[iNdEx] |
| 5352 | iNdEx++ |
| 5353 | wire |= (uint64(b) & 0x7F) << shift |
| 5354 | if b < 0x80 { |
| 5355 | break |
| 5356 | } |
| 5357 | } |
| 5358 | fieldNum := int32(wire >> 3) |
| 5359 | wireType := int(wire & 0x7) |
| 5360 | if wireType == 4 { |
| 5361 | return fmt.Errorf("proto: DaemonSetList: wiretype end group for non-group") |
| 5362 | } |
| 5363 | if fieldNum <= 0 { |
| 5364 | return fmt.Errorf("proto: DaemonSetList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5365 | } |
| 5366 | switch fieldNum { |
| 5367 | case 1: |
| 5368 | if wireType != 2 { |
| 5369 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 5370 | } |
| 5371 | var msglen int |
| 5372 | for shift := uint(0); ; shift += 7 { |
| 5373 | if shift >= 64 { |
| 5374 | return ErrIntOverflowGenerated |
| 5375 | } |
| 5376 | if iNdEx >= l { |
| 5377 | return io.ErrUnexpectedEOF |
| 5378 | } |
| 5379 | b := dAtA[iNdEx] |
| 5380 | iNdEx++ |
| 5381 | msglen |= (int(b) & 0x7F) << shift |
| 5382 | if b < 0x80 { |
| 5383 | break |
| 5384 | } |
| 5385 | } |
| 5386 | if msglen < 0 { |
| 5387 | return ErrInvalidLengthGenerated |
| 5388 | } |
| 5389 | postIndex := iNdEx + msglen |
| 5390 | if postIndex > l { |
| 5391 | return io.ErrUnexpectedEOF |
| 5392 | } |
| 5393 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5394 | return err |
| 5395 | } |
| 5396 | iNdEx = postIndex |
| 5397 | case 2: |
| 5398 | if wireType != 2 { |
| 5399 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 5400 | } |
| 5401 | var msglen int |
| 5402 | for shift := uint(0); ; shift += 7 { |
| 5403 | if shift >= 64 { |
| 5404 | return ErrIntOverflowGenerated |
| 5405 | } |
| 5406 | if iNdEx >= l { |
| 5407 | return io.ErrUnexpectedEOF |
| 5408 | } |
| 5409 | b := dAtA[iNdEx] |
| 5410 | iNdEx++ |
| 5411 | msglen |= (int(b) & 0x7F) << shift |
| 5412 | if b < 0x80 { |
| 5413 | break |
| 5414 | } |
| 5415 | } |
| 5416 | if msglen < 0 { |
| 5417 | return ErrInvalidLengthGenerated |
| 5418 | } |
| 5419 | postIndex := iNdEx + msglen |
| 5420 | if postIndex > l { |
| 5421 | return io.ErrUnexpectedEOF |
| 5422 | } |
| 5423 | m.Items = append(m.Items, DaemonSet{}) |
| 5424 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5425 | return err |
| 5426 | } |
| 5427 | iNdEx = postIndex |
| 5428 | default: |
| 5429 | iNdEx = preIndex |
| 5430 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5431 | if err != nil { |
| 5432 | return err |
| 5433 | } |
| 5434 | if skippy < 0 { |
| 5435 | return ErrInvalidLengthGenerated |
| 5436 | } |
| 5437 | if (iNdEx + skippy) > l { |
| 5438 | return io.ErrUnexpectedEOF |
| 5439 | } |
| 5440 | iNdEx += skippy |
| 5441 | } |
| 5442 | } |
| 5443 | |
| 5444 | if iNdEx > l { |
| 5445 | return io.ErrUnexpectedEOF |
| 5446 | } |
| 5447 | return nil |
| 5448 | } |
| 5449 | func (m *DaemonSetSpec) Unmarshal(dAtA []byte) error { |
| 5450 | l := len(dAtA) |
| 5451 | iNdEx := 0 |
| 5452 | for iNdEx < l { |
| 5453 | preIndex := iNdEx |
| 5454 | var wire uint64 |
| 5455 | for shift := uint(0); ; shift += 7 { |
| 5456 | if shift >= 64 { |
| 5457 | return ErrIntOverflowGenerated |
| 5458 | } |
| 5459 | if iNdEx >= l { |
| 5460 | return io.ErrUnexpectedEOF |
| 5461 | } |
| 5462 | b := dAtA[iNdEx] |
| 5463 | iNdEx++ |
| 5464 | wire |= (uint64(b) & 0x7F) << shift |
| 5465 | if b < 0x80 { |
| 5466 | break |
| 5467 | } |
| 5468 | } |
| 5469 | fieldNum := int32(wire >> 3) |
| 5470 | wireType := int(wire & 0x7) |
| 5471 | if wireType == 4 { |
| 5472 | return fmt.Errorf("proto: DaemonSetSpec: wiretype end group for non-group") |
| 5473 | } |
| 5474 | if fieldNum <= 0 { |
| 5475 | return fmt.Errorf("proto: DaemonSetSpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5476 | } |
| 5477 | switch fieldNum { |
| 5478 | case 1: |
| 5479 | if wireType != 2 { |
| 5480 | return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType) |
| 5481 | } |
| 5482 | var msglen int |
| 5483 | for shift := uint(0); ; shift += 7 { |
| 5484 | if shift >= 64 { |
| 5485 | return ErrIntOverflowGenerated |
| 5486 | } |
| 5487 | if iNdEx >= l { |
| 5488 | return io.ErrUnexpectedEOF |
| 5489 | } |
| 5490 | b := dAtA[iNdEx] |
| 5491 | iNdEx++ |
| 5492 | msglen |= (int(b) & 0x7F) << shift |
| 5493 | if b < 0x80 { |
| 5494 | break |
| 5495 | } |
| 5496 | } |
| 5497 | if msglen < 0 { |
| 5498 | return ErrInvalidLengthGenerated |
| 5499 | } |
| 5500 | postIndex := iNdEx + msglen |
| 5501 | if postIndex > l { |
| 5502 | return io.ErrUnexpectedEOF |
| 5503 | } |
| 5504 | if m.Selector == nil { |
| 5505 | m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} |
| 5506 | } |
| 5507 | if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5508 | return err |
| 5509 | } |
| 5510 | iNdEx = postIndex |
| 5511 | case 2: |
| 5512 | if wireType != 2 { |
| 5513 | return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType) |
| 5514 | } |
| 5515 | var msglen int |
| 5516 | for shift := uint(0); ; shift += 7 { |
| 5517 | if shift >= 64 { |
| 5518 | return ErrIntOverflowGenerated |
| 5519 | } |
| 5520 | if iNdEx >= l { |
| 5521 | return io.ErrUnexpectedEOF |
| 5522 | } |
| 5523 | b := dAtA[iNdEx] |
| 5524 | iNdEx++ |
| 5525 | msglen |= (int(b) & 0x7F) << shift |
| 5526 | if b < 0x80 { |
| 5527 | break |
| 5528 | } |
| 5529 | } |
| 5530 | if msglen < 0 { |
| 5531 | return ErrInvalidLengthGenerated |
| 5532 | } |
| 5533 | postIndex := iNdEx + msglen |
| 5534 | if postIndex > l { |
| 5535 | return io.ErrUnexpectedEOF |
| 5536 | } |
| 5537 | if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5538 | return err |
| 5539 | } |
| 5540 | iNdEx = postIndex |
| 5541 | case 3: |
| 5542 | if wireType != 2 { |
| 5543 | return fmt.Errorf("proto: wrong wireType = %d for field UpdateStrategy", wireType) |
| 5544 | } |
| 5545 | var msglen int |
| 5546 | for shift := uint(0); ; shift += 7 { |
| 5547 | if shift >= 64 { |
| 5548 | return ErrIntOverflowGenerated |
| 5549 | } |
| 5550 | if iNdEx >= l { |
| 5551 | return io.ErrUnexpectedEOF |
| 5552 | } |
| 5553 | b := dAtA[iNdEx] |
| 5554 | iNdEx++ |
| 5555 | msglen |= (int(b) & 0x7F) << shift |
| 5556 | if b < 0x80 { |
| 5557 | break |
| 5558 | } |
| 5559 | } |
| 5560 | if msglen < 0 { |
| 5561 | return ErrInvalidLengthGenerated |
| 5562 | } |
| 5563 | postIndex := iNdEx + msglen |
| 5564 | if postIndex > l { |
| 5565 | return io.ErrUnexpectedEOF |
| 5566 | } |
| 5567 | if err := m.UpdateStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5568 | return err |
| 5569 | } |
| 5570 | iNdEx = postIndex |
| 5571 | case 4: |
| 5572 | if wireType != 0 { |
| 5573 | return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType) |
| 5574 | } |
| 5575 | m.MinReadySeconds = 0 |
| 5576 | for shift := uint(0); ; shift += 7 { |
| 5577 | if shift >= 64 { |
| 5578 | return ErrIntOverflowGenerated |
| 5579 | } |
| 5580 | if iNdEx >= l { |
| 5581 | return io.ErrUnexpectedEOF |
| 5582 | } |
| 5583 | b := dAtA[iNdEx] |
| 5584 | iNdEx++ |
| 5585 | m.MinReadySeconds |= (int32(b) & 0x7F) << shift |
| 5586 | if b < 0x80 { |
| 5587 | break |
| 5588 | } |
| 5589 | } |
| 5590 | case 5: |
| 5591 | if wireType != 0 { |
| 5592 | return fmt.Errorf("proto: wrong wireType = %d for field TemplateGeneration", wireType) |
| 5593 | } |
| 5594 | m.TemplateGeneration = 0 |
| 5595 | for shift := uint(0); ; shift += 7 { |
| 5596 | if shift >= 64 { |
| 5597 | return ErrIntOverflowGenerated |
| 5598 | } |
| 5599 | if iNdEx >= l { |
| 5600 | return io.ErrUnexpectedEOF |
| 5601 | } |
| 5602 | b := dAtA[iNdEx] |
| 5603 | iNdEx++ |
| 5604 | m.TemplateGeneration |= (int64(b) & 0x7F) << shift |
| 5605 | if b < 0x80 { |
| 5606 | break |
| 5607 | } |
| 5608 | } |
| 5609 | case 6: |
| 5610 | if wireType != 0 { |
| 5611 | return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType) |
| 5612 | } |
| 5613 | var v int32 |
| 5614 | for shift := uint(0); ; shift += 7 { |
| 5615 | if shift >= 64 { |
| 5616 | return ErrIntOverflowGenerated |
| 5617 | } |
| 5618 | if iNdEx >= l { |
| 5619 | return io.ErrUnexpectedEOF |
| 5620 | } |
| 5621 | b := dAtA[iNdEx] |
| 5622 | iNdEx++ |
| 5623 | v |= (int32(b) & 0x7F) << shift |
| 5624 | if b < 0x80 { |
| 5625 | break |
| 5626 | } |
| 5627 | } |
| 5628 | m.RevisionHistoryLimit = &v |
| 5629 | default: |
| 5630 | iNdEx = preIndex |
| 5631 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5632 | if err != nil { |
| 5633 | return err |
| 5634 | } |
| 5635 | if skippy < 0 { |
| 5636 | return ErrInvalidLengthGenerated |
| 5637 | } |
| 5638 | if (iNdEx + skippy) > l { |
| 5639 | return io.ErrUnexpectedEOF |
| 5640 | } |
| 5641 | iNdEx += skippy |
| 5642 | } |
| 5643 | } |
| 5644 | |
| 5645 | if iNdEx > l { |
| 5646 | return io.ErrUnexpectedEOF |
| 5647 | } |
| 5648 | return nil |
| 5649 | } |
| 5650 | func (m *DaemonSetStatus) Unmarshal(dAtA []byte) error { |
| 5651 | l := len(dAtA) |
| 5652 | iNdEx := 0 |
| 5653 | for iNdEx < l { |
| 5654 | preIndex := iNdEx |
| 5655 | var wire uint64 |
| 5656 | for shift := uint(0); ; shift += 7 { |
| 5657 | if shift >= 64 { |
| 5658 | return ErrIntOverflowGenerated |
| 5659 | } |
| 5660 | if iNdEx >= l { |
| 5661 | return io.ErrUnexpectedEOF |
| 5662 | } |
| 5663 | b := dAtA[iNdEx] |
| 5664 | iNdEx++ |
| 5665 | wire |= (uint64(b) & 0x7F) << shift |
| 5666 | if b < 0x80 { |
| 5667 | break |
| 5668 | } |
| 5669 | } |
| 5670 | fieldNum := int32(wire >> 3) |
| 5671 | wireType := int(wire & 0x7) |
| 5672 | if wireType == 4 { |
| 5673 | return fmt.Errorf("proto: DaemonSetStatus: wiretype end group for non-group") |
| 5674 | } |
| 5675 | if fieldNum <= 0 { |
| 5676 | return fmt.Errorf("proto: DaemonSetStatus: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5677 | } |
| 5678 | switch fieldNum { |
| 5679 | case 1: |
| 5680 | if wireType != 0 { |
| 5681 | return fmt.Errorf("proto: wrong wireType = %d for field CurrentNumberScheduled", wireType) |
| 5682 | } |
| 5683 | m.CurrentNumberScheduled = 0 |
| 5684 | for shift := uint(0); ; shift += 7 { |
| 5685 | if shift >= 64 { |
| 5686 | return ErrIntOverflowGenerated |
| 5687 | } |
| 5688 | if iNdEx >= l { |
| 5689 | return io.ErrUnexpectedEOF |
| 5690 | } |
| 5691 | b := dAtA[iNdEx] |
| 5692 | iNdEx++ |
| 5693 | m.CurrentNumberScheduled |= (int32(b) & 0x7F) << shift |
| 5694 | if b < 0x80 { |
| 5695 | break |
| 5696 | } |
| 5697 | } |
| 5698 | case 2: |
| 5699 | if wireType != 0 { |
| 5700 | return fmt.Errorf("proto: wrong wireType = %d for field NumberMisscheduled", wireType) |
| 5701 | } |
| 5702 | m.NumberMisscheduled = 0 |
| 5703 | for shift := uint(0); ; shift += 7 { |
| 5704 | if shift >= 64 { |
| 5705 | return ErrIntOverflowGenerated |
| 5706 | } |
| 5707 | if iNdEx >= l { |
| 5708 | return io.ErrUnexpectedEOF |
| 5709 | } |
| 5710 | b := dAtA[iNdEx] |
| 5711 | iNdEx++ |
| 5712 | m.NumberMisscheduled |= (int32(b) & 0x7F) << shift |
| 5713 | if b < 0x80 { |
| 5714 | break |
| 5715 | } |
| 5716 | } |
| 5717 | case 3: |
| 5718 | if wireType != 0 { |
| 5719 | return fmt.Errorf("proto: wrong wireType = %d for field DesiredNumberScheduled", wireType) |
| 5720 | } |
| 5721 | m.DesiredNumberScheduled = 0 |
| 5722 | for shift := uint(0); ; shift += 7 { |
| 5723 | if shift >= 64 { |
| 5724 | return ErrIntOverflowGenerated |
| 5725 | } |
| 5726 | if iNdEx >= l { |
| 5727 | return io.ErrUnexpectedEOF |
| 5728 | } |
| 5729 | b := dAtA[iNdEx] |
| 5730 | iNdEx++ |
| 5731 | m.DesiredNumberScheduled |= (int32(b) & 0x7F) << shift |
| 5732 | if b < 0x80 { |
| 5733 | break |
| 5734 | } |
| 5735 | } |
| 5736 | case 4: |
| 5737 | if wireType != 0 { |
| 5738 | return fmt.Errorf("proto: wrong wireType = %d for field NumberReady", wireType) |
| 5739 | } |
| 5740 | m.NumberReady = 0 |
| 5741 | for shift := uint(0); ; shift += 7 { |
| 5742 | if shift >= 64 { |
| 5743 | return ErrIntOverflowGenerated |
| 5744 | } |
| 5745 | if iNdEx >= l { |
| 5746 | return io.ErrUnexpectedEOF |
| 5747 | } |
| 5748 | b := dAtA[iNdEx] |
| 5749 | iNdEx++ |
| 5750 | m.NumberReady |= (int32(b) & 0x7F) << shift |
| 5751 | if b < 0x80 { |
| 5752 | break |
| 5753 | } |
| 5754 | } |
| 5755 | case 5: |
| 5756 | if wireType != 0 { |
| 5757 | return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType) |
| 5758 | } |
| 5759 | m.ObservedGeneration = 0 |
| 5760 | for shift := uint(0); ; shift += 7 { |
| 5761 | if shift >= 64 { |
| 5762 | return ErrIntOverflowGenerated |
| 5763 | } |
| 5764 | if iNdEx >= l { |
| 5765 | return io.ErrUnexpectedEOF |
| 5766 | } |
| 5767 | b := dAtA[iNdEx] |
| 5768 | iNdEx++ |
| 5769 | m.ObservedGeneration |= (int64(b) & 0x7F) << shift |
| 5770 | if b < 0x80 { |
| 5771 | break |
| 5772 | } |
| 5773 | } |
| 5774 | case 6: |
| 5775 | if wireType != 0 { |
| 5776 | return fmt.Errorf("proto: wrong wireType = %d for field UpdatedNumberScheduled", wireType) |
| 5777 | } |
| 5778 | m.UpdatedNumberScheduled = 0 |
| 5779 | for shift := uint(0); ; shift += 7 { |
| 5780 | if shift >= 64 { |
| 5781 | return ErrIntOverflowGenerated |
| 5782 | } |
| 5783 | if iNdEx >= l { |
| 5784 | return io.ErrUnexpectedEOF |
| 5785 | } |
| 5786 | b := dAtA[iNdEx] |
| 5787 | iNdEx++ |
| 5788 | m.UpdatedNumberScheduled |= (int32(b) & 0x7F) << shift |
| 5789 | if b < 0x80 { |
| 5790 | break |
| 5791 | } |
| 5792 | } |
| 5793 | case 7: |
| 5794 | if wireType != 0 { |
| 5795 | return fmt.Errorf("proto: wrong wireType = %d for field NumberAvailable", wireType) |
| 5796 | } |
| 5797 | m.NumberAvailable = 0 |
| 5798 | for shift := uint(0); ; shift += 7 { |
| 5799 | if shift >= 64 { |
| 5800 | return ErrIntOverflowGenerated |
| 5801 | } |
| 5802 | if iNdEx >= l { |
| 5803 | return io.ErrUnexpectedEOF |
| 5804 | } |
| 5805 | b := dAtA[iNdEx] |
| 5806 | iNdEx++ |
| 5807 | m.NumberAvailable |= (int32(b) & 0x7F) << shift |
| 5808 | if b < 0x80 { |
| 5809 | break |
| 5810 | } |
| 5811 | } |
| 5812 | case 8: |
| 5813 | if wireType != 0 { |
| 5814 | return fmt.Errorf("proto: wrong wireType = %d for field NumberUnavailable", wireType) |
| 5815 | } |
| 5816 | m.NumberUnavailable = 0 |
| 5817 | for shift := uint(0); ; shift += 7 { |
| 5818 | if shift >= 64 { |
| 5819 | return ErrIntOverflowGenerated |
| 5820 | } |
| 5821 | if iNdEx >= l { |
| 5822 | return io.ErrUnexpectedEOF |
| 5823 | } |
| 5824 | b := dAtA[iNdEx] |
| 5825 | iNdEx++ |
| 5826 | m.NumberUnavailable |= (int32(b) & 0x7F) << shift |
| 5827 | if b < 0x80 { |
| 5828 | break |
| 5829 | } |
| 5830 | } |
| 5831 | case 9: |
| 5832 | if wireType != 0 { |
| 5833 | return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType) |
| 5834 | } |
| 5835 | var v int32 |
| 5836 | for shift := uint(0); ; shift += 7 { |
| 5837 | if shift >= 64 { |
| 5838 | return ErrIntOverflowGenerated |
| 5839 | } |
| 5840 | if iNdEx >= l { |
| 5841 | return io.ErrUnexpectedEOF |
| 5842 | } |
| 5843 | b := dAtA[iNdEx] |
| 5844 | iNdEx++ |
| 5845 | v |= (int32(b) & 0x7F) << shift |
| 5846 | if b < 0x80 { |
| 5847 | break |
| 5848 | } |
| 5849 | } |
| 5850 | m.CollisionCount = &v |
| 5851 | case 10: |
| 5852 | if wireType != 2 { |
| 5853 | return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) |
| 5854 | } |
| 5855 | var msglen int |
| 5856 | for shift := uint(0); ; shift += 7 { |
| 5857 | if shift >= 64 { |
| 5858 | return ErrIntOverflowGenerated |
| 5859 | } |
| 5860 | if iNdEx >= l { |
| 5861 | return io.ErrUnexpectedEOF |
| 5862 | } |
| 5863 | b := dAtA[iNdEx] |
| 5864 | iNdEx++ |
| 5865 | msglen |= (int(b) & 0x7F) << shift |
| 5866 | if b < 0x80 { |
| 5867 | break |
| 5868 | } |
| 5869 | } |
| 5870 | if msglen < 0 { |
| 5871 | return ErrInvalidLengthGenerated |
| 5872 | } |
| 5873 | postIndex := iNdEx + msglen |
| 5874 | if postIndex > l { |
| 5875 | return io.ErrUnexpectedEOF |
| 5876 | } |
| 5877 | m.Conditions = append(m.Conditions, DaemonSetCondition{}) |
| 5878 | if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5879 | return err |
| 5880 | } |
| 5881 | iNdEx = postIndex |
| 5882 | default: |
| 5883 | iNdEx = preIndex |
| 5884 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5885 | if err != nil { |
| 5886 | return err |
| 5887 | } |
| 5888 | if skippy < 0 { |
| 5889 | return ErrInvalidLengthGenerated |
| 5890 | } |
| 5891 | if (iNdEx + skippy) > l { |
| 5892 | return io.ErrUnexpectedEOF |
| 5893 | } |
| 5894 | iNdEx += skippy |
| 5895 | } |
| 5896 | } |
| 5897 | |
| 5898 | if iNdEx > l { |
| 5899 | return io.ErrUnexpectedEOF |
| 5900 | } |
| 5901 | return nil |
| 5902 | } |
| 5903 | func (m *DaemonSetUpdateStrategy) Unmarshal(dAtA []byte) error { |
| 5904 | l := len(dAtA) |
| 5905 | iNdEx := 0 |
| 5906 | for iNdEx < l { |
| 5907 | preIndex := iNdEx |
| 5908 | var wire uint64 |
| 5909 | for shift := uint(0); ; shift += 7 { |
| 5910 | if shift >= 64 { |
| 5911 | return ErrIntOverflowGenerated |
| 5912 | } |
| 5913 | if iNdEx >= l { |
| 5914 | return io.ErrUnexpectedEOF |
| 5915 | } |
| 5916 | b := dAtA[iNdEx] |
| 5917 | iNdEx++ |
| 5918 | wire |= (uint64(b) & 0x7F) << shift |
| 5919 | if b < 0x80 { |
| 5920 | break |
| 5921 | } |
| 5922 | } |
| 5923 | fieldNum := int32(wire >> 3) |
| 5924 | wireType := int(wire & 0x7) |
| 5925 | if wireType == 4 { |
| 5926 | return fmt.Errorf("proto: DaemonSetUpdateStrategy: wiretype end group for non-group") |
| 5927 | } |
| 5928 | if fieldNum <= 0 { |
| 5929 | return fmt.Errorf("proto: DaemonSetUpdateStrategy: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5930 | } |
| 5931 | switch fieldNum { |
| 5932 | case 1: |
| 5933 | if wireType != 2 { |
| 5934 | return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 5935 | } |
| 5936 | var stringLen uint64 |
| 5937 | for shift := uint(0); ; shift += 7 { |
| 5938 | if shift >= 64 { |
| 5939 | return ErrIntOverflowGenerated |
| 5940 | } |
| 5941 | if iNdEx >= l { |
| 5942 | return io.ErrUnexpectedEOF |
| 5943 | } |
| 5944 | b := dAtA[iNdEx] |
| 5945 | iNdEx++ |
| 5946 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5947 | if b < 0x80 { |
| 5948 | break |
| 5949 | } |
| 5950 | } |
| 5951 | intStringLen := int(stringLen) |
| 5952 | if intStringLen < 0 { |
| 5953 | return ErrInvalidLengthGenerated |
| 5954 | } |
| 5955 | postIndex := iNdEx + intStringLen |
| 5956 | if postIndex > l { |
| 5957 | return io.ErrUnexpectedEOF |
| 5958 | } |
| 5959 | m.Type = DaemonSetUpdateStrategyType(dAtA[iNdEx:postIndex]) |
| 5960 | iNdEx = postIndex |
| 5961 | case 2: |
| 5962 | if wireType != 2 { |
| 5963 | return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType) |
| 5964 | } |
| 5965 | var msglen int |
| 5966 | for shift := uint(0); ; shift += 7 { |
| 5967 | if shift >= 64 { |
| 5968 | return ErrIntOverflowGenerated |
| 5969 | } |
| 5970 | if iNdEx >= l { |
| 5971 | return io.ErrUnexpectedEOF |
| 5972 | } |
| 5973 | b := dAtA[iNdEx] |
| 5974 | iNdEx++ |
| 5975 | msglen |= (int(b) & 0x7F) << shift |
| 5976 | if b < 0x80 { |
| 5977 | break |
| 5978 | } |
| 5979 | } |
| 5980 | if msglen < 0 { |
| 5981 | return ErrInvalidLengthGenerated |
| 5982 | } |
| 5983 | postIndex := iNdEx + msglen |
| 5984 | if postIndex > l { |
| 5985 | return io.ErrUnexpectedEOF |
| 5986 | } |
| 5987 | if m.RollingUpdate == nil { |
| 5988 | m.RollingUpdate = &RollingUpdateDaemonSet{} |
| 5989 | } |
| 5990 | if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5991 | return err |
| 5992 | } |
| 5993 | iNdEx = postIndex |
| 5994 | default: |
| 5995 | iNdEx = preIndex |
| 5996 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5997 | if err != nil { |
| 5998 | return err |
| 5999 | } |
| 6000 | if skippy < 0 { |
| 6001 | return ErrInvalidLengthGenerated |
| 6002 | } |
| 6003 | if (iNdEx + skippy) > l { |
| 6004 | return io.ErrUnexpectedEOF |
| 6005 | } |
| 6006 | iNdEx += skippy |
| 6007 | } |
| 6008 | } |
| 6009 | |
| 6010 | if iNdEx > l { |
| 6011 | return io.ErrUnexpectedEOF |
| 6012 | } |
| 6013 | return nil |
| 6014 | } |
| 6015 | func (m *Deployment) Unmarshal(dAtA []byte) error { |
| 6016 | l := len(dAtA) |
| 6017 | iNdEx := 0 |
| 6018 | for iNdEx < l { |
| 6019 | preIndex := iNdEx |
| 6020 | var wire uint64 |
| 6021 | for shift := uint(0); ; shift += 7 { |
| 6022 | if shift >= 64 { |
| 6023 | return ErrIntOverflowGenerated |
| 6024 | } |
| 6025 | if iNdEx >= l { |
| 6026 | return io.ErrUnexpectedEOF |
| 6027 | } |
| 6028 | b := dAtA[iNdEx] |
| 6029 | iNdEx++ |
| 6030 | wire |= (uint64(b) & 0x7F) << shift |
| 6031 | if b < 0x80 { |
| 6032 | break |
| 6033 | } |
| 6034 | } |
| 6035 | fieldNum := int32(wire >> 3) |
| 6036 | wireType := int(wire & 0x7) |
| 6037 | if wireType == 4 { |
| 6038 | return fmt.Errorf("proto: Deployment: wiretype end group for non-group") |
| 6039 | } |
| 6040 | if fieldNum <= 0 { |
| 6041 | return fmt.Errorf("proto: Deployment: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6042 | } |
| 6043 | switch fieldNum { |
| 6044 | case 1: |
| 6045 | if wireType != 2 { |
| 6046 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 6047 | } |
| 6048 | var msglen int |
| 6049 | for shift := uint(0); ; shift += 7 { |
| 6050 | if shift >= 64 { |
| 6051 | return ErrIntOverflowGenerated |
| 6052 | } |
| 6053 | if iNdEx >= l { |
| 6054 | return io.ErrUnexpectedEOF |
| 6055 | } |
| 6056 | b := dAtA[iNdEx] |
| 6057 | iNdEx++ |
| 6058 | msglen |= (int(b) & 0x7F) << shift |
| 6059 | if b < 0x80 { |
| 6060 | break |
| 6061 | } |
| 6062 | } |
| 6063 | if msglen < 0 { |
| 6064 | return ErrInvalidLengthGenerated |
| 6065 | } |
| 6066 | postIndex := iNdEx + msglen |
| 6067 | if postIndex > l { |
| 6068 | return io.ErrUnexpectedEOF |
| 6069 | } |
| 6070 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6071 | return err |
| 6072 | } |
| 6073 | iNdEx = postIndex |
| 6074 | case 2: |
| 6075 | if wireType != 2 { |
| 6076 | return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) |
| 6077 | } |
| 6078 | var msglen int |
| 6079 | for shift := uint(0); ; shift += 7 { |
| 6080 | if shift >= 64 { |
| 6081 | return ErrIntOverflowGenerated |
| 6082 | } |
| 6083 | if iNdEx >= l { |
| 6084 | return io.ErrUnexpectedEOF |
| 6085 | } |
| 6086 | b := dAtA[iNdEx] |
| 6087 | iNdEx++ |
| 6088 | msglen |= (int(b) & 0x7F) << shift |
| 6089 | if b < 0x80 { |
| 6090 | break |
| 6091 | } |
| 6092 | } |
| 6093 | if msglen < 0 { |
| 6094 | return ErrInvalidLengthGenerated |
| 6095 | } |
| 6096 | postIndex := iNdEx + msglen |
| 6097 | if postIndex > l { |
| 6098 | return io.ErrUnexpectedEOF |
| 6099 | } |
| 6100 | if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6101 | return err |
| 6102 | } |
| 6103 | iNdEx = postIndex |
| 6104 | case 3: |
| 6105 | if wireType != 2 { |
| 6106 | return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 6107 | } |
| 6108 | var msglen int |
| 6109 | for shift := uint(0); ; shift += 7 { |
| 6110 | if shift >= 64 { |
| 6111 | return ErrIntOverflowGenerated |
| 6112 | } |
| 6113 | if iNdEx >= l { |
| 6114 | return io.ErrUnexpectedEOF |
| 6115 | } |
| 6116 | b := dAtA[iNdEx] |
| 6117 | iNdEx++ |
| 6118 | msglen |= (int(b) & 0x7F) << shift |
| 6119 | if b < 0x80 { |
| 6120 | break |
| 6121 | } |
| 6122 | } |
| 6123 | if msglen < 0 { |
| 6124 | return ErrInvalidLengthGenerated |
| 6125 | } |
| 6126 | postIndex := iNdEx + msglen |
| 6127 | if postIndex > l { |
| 6128 | return io.ErrUnexpectedEOF |
| 6129 | } |
| 6130 | if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6131 | return err |
| 6132 | } |
| 6133 | iNdEx = postIndex |
| 6134 | default: |
| 6135 | iNdEx = preIndex |
| 6136 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6137 | if err != nil { |
| 6138 | return err |
| 6139 | } |
| 6140 | if skippy < 0 { |
| 6141 | return ErrInvalidLengthGenerated |
| 6142 | } |
| 6143 | if (iNdEx + skippy) > l { |
| 6144 | return io.ErrUnexpectedEOF |
| 6145 | } |
| 6146 | iNdEx += skippy |
| 6147 | } |
| 6148 | } |
| 6149 | |
| 6150 | if iNdEx > l { |
| 6151 | return io.ErrUnexpectedEOF |
| 6152 | } |
| 6153 | return nil |
| 6154 | } |
| 6155 | func (m *DeploymentCondition) Unmarshal(dAtA []byte) error { |
| 6156 | l := len(dAtA) |
| 6157 | iNdEx := 0 |
| 6158 | for iNdEx < l { |
| 6159 | preIndex := iNdEx |
| 6160 | var wire uint64 |
| 6161 | for shift := uint(0); ; shift += 7 { |
| 6162 | if shift >= 64 { |
| 6163 | return ErrIntOverflowGenerated |
| 6164 | } |
| 6165 | if iNdEx >= l { |
| 6166 | return io.ErrUnexpectedEOF |
| 6167 | } |
| 6168 | b := dAtA[iNdEx] |
| 6169 | iNdEx++ |
| 6170 | wire |= (uint64(b) & 0x7F) << shift |
| 6171 | if b < 0x80 { |
| 6172 | break |
| 6173 | } |
| 6174 | } |
| 6175 | fieldNum := int32(wire >> 3) |
| 6176 | wireType := int(wire & 0x7) |
| 6177 | if wireType == 4 { |
| 6178 | return fmt.Errorf("proto: DeploymentCondition: wiretype end group for non-group") |
| 6179 | } |
| 6180 | if fieldNum <= 0 { |
| 6181 | return fmt.Errorf("proto: DeploymentCondition: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6182 | } |
| 6183 | switch fieldNum { |
| 6184 | case 1: |
| 6185 | if wireType != 2 { |
| 6186 | return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 6187 | } |
| 6188 | var stringLen uint64 |
| 6189 | for shift := uint(0); ; shift += 7 { |
| 6190 | if shift >= 64 { |
| 6191 | return ErrIntOverflowGenerated |
| 6192 | } |
| 6193 | if iNdEx >= l { |
| 6194 | return io.ErrUnexpectedEOF |
| 6195 | } |
| 6196 | b := dAtA[iNdEx] |
| 6197 | iNdEx++ |
| 6198 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6199 | if b < 0x80 { |
| 6200 | break |
| 6201 | } |
| 6202 | } |
| 6203 | intStringLen := int(stringLen) |
| 6204 | if intStringLen < 0 { |
| 6205 | return ErrInvalidLengthGenerated |
| 6206 | } |
| 6207 | postIndex := iNdEx + intStringLen |
| 6208 | if postIndex > l { |
| 6209 | return io.ErrUnexpectedEOF |
| 6210 | } |
| 6211 | m.Type = DeploymentConditionType(dAtA[iNdEx:postIndex]) |
| 6212 | iNdEx = postIndex |
| 6213 | case 2: |
| 6214 | if wireType != 2 { |
| 6215 | return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 6216 | } |
| 6217 | var stringLen uint64 |
| 6218 | for shift := uint(0); ; shift += 7 { |
| 6219 | if shift >= 64 { |
| 6220 | return ErrIntOverflowGenerated |
| 6221 | } |
| 6222 | if iNdEx >= l { |
| 6223 | return io.ErrUnexpectedEOF |
| 6224 | } |
| 6225 | b := dAtA[iNdEx] |
| 6226 | iNdEx++ |
| 6227 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6228 | if b < 0x80 { |
| 6229 | break |
| 6230 | } |
| 6231 | } |
| 6232 | intStringLen := int(stringLen) |
| 6233 | if intStringLen < 0 { |
| 6234 | return ErrInvalidLengthGenerated |
| 6235 | } |
| 6236 | postIndex := iNdEx + intStringLen |
| 6237 | if postIndex > l { |
| 6238 | return io.ErrUnexpectedEOF |
| 6239 | } |
| 6240 | m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex]) |
| 6241 | iNdEx = postIndex |
| 6242 | case 4: |
| 6243 | if wireType != 2 { |
| 6244 | return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) |
| 6245 | } |
| 6246 | var stringLen uint64 |
| 6247 | for shift := uint(0); ; shift += 7 { |
| 6248 | if shift >= 64 { |
| 6249 | return ErrIntOverflowGenerated |
| 6250 | } |
| 6251 | if iNdEx >= l { |
| 6252 | return io.ErrUnexpectedEOF |
| 6253 | } |
| 6254 | b := dAtA[iNdEx] |
| 6255 | iNdEx++ |
| 6256 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6257 | if b < 0x80 { |
| 6258 | break |
| 6259 | } |
| 6260 | } |
| 6261 | intStringLen := int(stringLen) |
| 6262 | if intStringLen < 0 { |
| 6263 | return ErrInvalidLengthGenerated |
| 6264 | } |
| 6265 | postIndex := iNdEx + intStringLen |
| 6266 | if postIndex > l { |
| 6267 | return io.ErrUnexpectedEOF |
| 6268 | } |
| 6269 | m.Reason = string(dAtA[iNdEx:postIndex]) |
| 6270 | iNdEx = postIndex |
| 6271 | case 5: |
| 6272 | if wireType != 2 { |
| 6273 | return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) |
| 6274 | } |
| 6275 | var stringLen uint64 |
| 6276 | for shift := uint(0); ; shift += 7 { |
| 6277 | if shift >= 64 { |
| 6278 | return ErrIntOverflowGenerated |
| 6279 | } |
| 6280 | if iNdEx >= l { |
| 6281 | return io.ErrUnexpectedEOF |
| 6282 | } |
| 6283 | b := dAtA[iNdEx] |
| 6284 | iNdEx++ |
| 6285 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6286 | if b < 0x80 { |
| 6287 | break |
| 6288 | } |
| 6289 | } |
| 6290 | intStringLen := int(stringLen) |
| 6291 | if intStringLen < 0 { |
| 6292 | return ErrInvalidLengthGenerated |
| 6293 | } |
| 6294 | postIndex := iNdEx + intStringLen |
| 6295 | if postIndex > l { |
| 6296 | return io.ErrUnexpectedEOF |
| 6297 | } |
| 6298 | m.Message = string(dAtA[iNdEx:postIndex]) |
| 6299 | iNdEx = postIndex |
| 6300 | case 6: |
| 6301 | if wireType != 2 { |
| 6302 | return fmt.Errorf("proto: wrong wireType = %d for field LastUpdateTime", wireType) |
| 6303 | } |
| 6304 | var msglen int |
| 6305 | for shift := uint(0); ; shift += 7 { |
| 6306 | if shift >= 64 { |
| 6307 | return ErrIntOverflowGenerated |
| 6308 | } |
| 6309 | if iNdEx >= l { |
| 6310 | return io.ErrUnexpectedEOF |
| 6311 | } |
| 6312 | b := dAtA[iNdEx] |
| 6313 | iNdEx++ |
| 6314 | msglen |= (int(b) & 0x7F) << shift |
| 6315 | if b < 0x80 { |
| 6316 | break |
| 6317 | } |
| 6318 | } |
| 6319 | if msglen < 0 { |
| 6320 | return ErrInvalidLengthGenerated |
| 6321 | } |
| 6322 | postIndex := iNdEx + msglen |
| 6323 | if postIndex > l { |
| 6324 | return io.ErrUnexpectedEOF |
| 6325 | } |
| 6326 | if err := m.LastUpdateTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6327 | return err |
| 6328 | } |
| 6329 | iNdEx = postIndex |
| 6330 | case 7: |
| 6331 | if wireType != 2 { |
| 6332 | return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) |
| 6333 | } |
| 6334 | var msglen int |
| 6335 | for shift := uint(0); ; shift += 7 { |
| 6336 | if shift >= 64 { |
| 6337 | return ErrIntOverflowGenerated |
| 6338 | } |
| 6339 | if iNdEx >= l { |
| 6340 | return io.ErrUnexpectedEOF |
| 6341 | } |
| 6342 | b := dAtA[iNdEx] |
| 6343 | iNdEx++ |
| 6344 | msglen |= (int(b) & 0x7F) << shift |
| 6345 | if b < 0x80 { |
| 6346 | break |
| 6347 | } |
| 6348 | } |
| 6349 | if msglen < 0 { |
| 6350 | return ErrInvalidLengthGenerated |
| 6351 | } |
| 6352 | postIndex := iNdEx + msglen |
| 6353 | if postIndex > l { |
| 6354 | return io.ErrUnexpectedEOF |
| 6355 | } |
| 6356 | if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6357 | return err |
| 6358 | } |
| 6359 | iNdEx = postIndex |
| 6360 | default: |
| 6361 | iNdEx = preIndex |
| 6362 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6363 | if err != nil { |
| 6364 | return err |
| 6365 | } |
| 6366 | if skippy < 0 { |
| 6367 | return ErrInvalidLengthGenerated |
| 6368 | } |
| 6369 | if (iNdEx + skippy) > l { |
| 6370 | return io.ErrUnexpectedEOF |
| 6371 | } |
| 6372 | iNdEx += skippy |
| 6373 | } |
| 6374 | } |
| 6375 | |
| 6376 | if iNdEx > l { |
| 6377 | return io.ErrUnexpectedEOF |
| 6378 | } |
| 6379 | return nil |
| 6380 | } |
| 6381 | func (m *DeploymentList) Unmarshal(dAtA []byte) error { |
| 6382 | l := len(dAtA) |
| 6383 | iNdEx := 0 |
| 6384 | for iNdEx < l { |
| 6385 | preIndex := iNdEx |
| 6386 | var wire uint64 |
| 6387 | for shift := uint(0); ; shift += 7 { |
| 6388 | if shift >= 64 { |
| 6389 | return ErrIntOverflowGenerated |
| 6390 | } |
| 6391 | if iNdEx >= l { |
| 6392 | return io.ErrUnexpectedEOF |
| 6393 | } |
| 6394 | b := dAtA[iNdEx] |
| 6395 | iNdEx++ |
| 6396 | wire |= (uint64(b) & 0x7F) << shift |
| 6397 | if b < 0x80 { |
| 6398 | break |
| 6399 | } |
| 6400 | } |
| 6401 | fieldNum := int32(wire >> 3) |
| 6402 | wireType := int(wire & 0x7) |
| 6403 | if wireType == 4 { |
| 6404 | return fmt.Errorf("proto: DeploymentList: wiretype end group for non-group") |
| 6405 | } |
| 6406 | if fieldNum <= 0 { |
| 6407 | return fmt.Errorf("proto: DeploymentList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6408 | } |
| 6409 | switch fieldNum { |
| 6410 | case 1: |
| 6411 | if wireType != 2 { |
| 6412 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 6413 | } |
| 6414 | var msglen int |
| 6415 | for shift := uint(0); ; shift += 7 { |
| 6416 | if shift >= 64 { |
| 6417 | return ErrIntOverflowGenerated |
| 6418 | } |
| 6419 | if iNdEx >= l { |
| 6420 | return io.ErrUnexpectedEOF |
| 6421 | } |
| 6422 | b := dAtA[iNdEx] |
| 6423 | iNdEx++ |
| 6424 | msglen |= (int(b) & 0x7F) << shift |
| 6425 | if b < 0x80 { |
| 6426 | break |
| 6427 | } |
| 6428 | } |
| 6429 | if msglen < 0 { |
| 6430 | return ErrInvalidLengthGenerated |
| 6431 | } |
| 6432 | postIndex := iNdEx + msglen |
| 6433 | if postIndex > l { |
| 6434 | return io.ErrUnexpectedEOF |
| 6435 | } |
| 6436 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6437 | return err |
| 6438 | } |
| 6439 | iNdEx = postIndex |
| 6440 | case 2: |
| 6441 | if wireType != 2 { |
| 6442 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 6443 | } |
| 6444 | var msglen int |
| 6445 | for shift := uint(0); ; shift += 7 { |
| 6446 | if shift >= 64 { |
| 6447 | return ErrIntOverflowGenerated |
| 6448 | } |
| 6449 | if iNdEx >= l { |
| 6450 | return io.ErrUnexpectedEOF |
| 6451 | } |
| 6452 | b := dAtA[iNdEx] |
| 6453 | iNdEx++ |
| 6454 | msglen |= (int(b) & 0x7F) << shift |
| 6455 | if b < 0x80 { |
| 6456 | break |
| 6457 | } |
| 6458 | } |
| 6459 | if msglen < 0 { |
| 6460 | return ErrInvalidLengthGenerated |
| 6461 | } |
| 6462 | postIndex := iNdEx + msglen |
| 6463 | if postIndex > l { |
| 6464 | return io.ErrUnexpectedEOF |
| 6465 | } |
| 6466 | m.Items = append(m.Items, Deployment{}) |
| 6467 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6468 | return err |
| 6469 | } |
| 6470 | iNdEx = postIndex |
| 6471 | default: |
| 6472 | iNdEx = preIndex |
| 6473 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6474 | if err != nil { |
| 6475 | return err |
| 6476 | } |
| 6477 | if skippy < 0 { |
| 6478 | return ErrInvalidLengthGenerated |
| 6479 | } |
| 6480 | if (iNdEx + skippy) > l { |
| 6481 | return io.ErrUnexpectedEOF |
| 6482 | } |
| 6483 | iNdEx += skippy |
| 6484 | } |
| 6485 | } |
| 6486 | |
| 6487 | if iNdEx > l { |
| 6488 | return io.ErrUnexpectedEOF |
| 6489 | } |
| 6490 | return nil |
| 6491 | } |
| 6492 | func (m *DeploymentRollback) Unmarshal(dAtA []byte) error { |
| 6493 | l := len(dAtA) |
| 6494 | iNdEx := 0 |
| 6495 | for iNdEx < l { |
| 6496 | preIndex := iNdEx |
| 6497 | var wire uint64 |
| 6498 | for shift := uint(0); ; shift += 7 { |
| 6499 | if shift >= 64 { |
| 6500 | return ErrIntOverflowGenerated |
| 6501 | } |
| 6502 | if iNdEx >= l { |
| 6503 | return io.ErrUnexpectedEOF |
| 6504 | } |
| 6505 | b := dAtA[iNdEx] |
| 6506 | iNdEx++ |
| 6507 | wire |= (uint64(b) & 0x7F) << shift |
| 6508 | if b < 0x80 { |
| 6509 | break |
| 6510 | } |
| 6511 | } |
| 6512 | fieldNum := int32(wire >> 3) |
| 6513 | wireType := int(wire & 0x7) |
| 6514 | if wireType == 4 { |
| 6515 | return fmt.Errorf("proto: DeploymentRollback: wiretype end group for non-group") |
| 6516 | } |
| 6517 | if fieldNum <= 0 { |
| 6518 | return fmt.Errorf("proto: DeploymentRollback: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6519 | } |
| 6520 | switch fieldNum { |
| 6521 | case 1: |
| 6522 | if wireType != 2 { |
| 6523 | return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 6524 | } |
| 6525 | var stringLen uint64 |
| 6526 | for shift := uint(0); ; shift += 7 { |
| 6527 | if shift >= 64 { |
| 6528 | return ErrIntOverflowGenerated |
| 6529 | } |
| 6530 | if iNdEx >= l { |
| 6531 | return io.ErrUnexpectedEOF |
| 6532 | } |
| 6533 | b := dAtA[iNdEx] |
| 6534 | iNdEx++ |
| 6535 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6536 | if b < 0x80 { |
| 6537 | break |
| 6538 | } |
| 6539 | } |
| 6540 | intStringLen := int(stringLen) |
| 6541 | if intStringLen < 0 { |
| 6542 | return ErrInvalidLengthGenerated |
| 6543 | } |
| 6544 | postIndex := iNdEx + intStringLen |
| 6545 | if postIndex > l { |
| 6546 | return io.ErrUnexpectedEOF |
| 6547 | } |
| 6548 | m.Name = string(dAtA[iNdEx:postIndex]) |
| 6549 | iNdEx = postIndex |
| 6550 | case 2: |
| 6551 | if wireType != 2 { |
| 6552 | return fmt.Errorf("proto: wrong wireType = %d for field UpdatedAnnotations", wireType) |
| 6553 | } |
| 6554 | var msglen int |
| 6555 | for shift := uint(0); ; shift += 7 { |
| 6556 | if shift >= 64 { |
| 6557 | return ErrIntOverflowGenerated |
| 6558 | } |
| 6559 | if iNdEx >= l { |
| 6560 | return io.ErrUnexpectedEOF |
| 6561 | } |
| 6562 | b := dAtA[iNdEx] |
| 6563 | iNdEx++ |
| 6564 | msglen |= (int(b) & 0x7F) << shift |
| 6565 | if b < 0x80 { |
| 6566 | break |
| 6567 | } |
| 6568 | } |
| 6569 | if msglen < 0 { |
| 6570 | return ErrInvalidLengthGenerated |
| 6571 | } |
| 6572 | postIndex := iNdEx + msglen |
| 6573 | if postIndex > l { |
| 6574 | return io.ErrUnexpectedEOF |
| 6575 | } |
| 6576 | var keykey uint64 |
| 6577 | for shift := uint(0); ; shift += 7 { |
| 6578 | if shift >= 64 { |
| 6579 | return ErrIntOverflowGenerated |
| 6580 | } |
| 6581 | if iNdEx >= l { |
| 6582 | return io.ErrUnexpectedEOF |
| 6583 | } |
| 6584 | b := dAtA[iNdEx] |
| 6585 | iNdEx++ |
| 6586 | keykey |= (uint64(b) & 0x7F) << shift |
| 6587 | if b < 0x80 { |
| 6588 | break |
| 6589 | } |
| 6590 | } |
| 6591 | var stringLenmapkey uint64 |
| 6592 | for shift := uint(0); ; shift += 7 { |
| 6593 | if shift >= 64 { |
| 6594 | return ErrIntOverflowGenerated |
| 6595 | } |
| 6596 | if iNdEx >= l { |
| 6597 | return io.ErrUnexpectedEOF |
| 6598 | } |
| 6599 | b := dAtA[iNdEx] |
| 6600 | iNdEx++ |
| 6601 | stringLenmapkey |= (uint64(b) & 0x7F) << shift |
| 6602 | if b < 0x80 { |
| 6603 | break |
| 6604 | } |
| 6605 | } |
| 6606 | intStringLenmapkey := int(stringLenmapkey) |
| 6607 | if intStringLenmapkey < 0 { |
| 6608 | return ErrInvalidLengthGenerated |
| 6609 | } |
| 6610 | postStringIndexmapkey := iNdEx + intStringLenmapkey |
| 6611 | if postStringIndexmapkey > l { |
| 6612 | return io.ErrUnexpectedEOF |
| 6613 | } |
| 6614 | mapkey := string(dAtA[iNdEx:postStringIndexmapkey]) |
| 6615 | iNdEx = postStringIndexmapkey |
| 6616 | if m.UpdatedAnnotations == nil { |
| 6617 | m.UpdatedAnnotations = make(map[string]string) |
| 6618 | } |
| 6619 | if iNdEx < postIndex { |
| 6620 | var valuekey uint64 |
| 6621 | for shift := uint(0); ; shift += 7 { |
| 6622 | if shift >= 64 { |
| 6623 | return ErrIntOverflowGenerated |
| 6624 | } |
| 6625 | if iNdEx >= l { |
| 6626 | return io.ErrUnexpectedEOF |
| 6627 | } |
| 6628 | b := dAtA[iNdEx] |
| 6629 | iNdEx++ |
| 6630 | valuekey |= (uint64(b) & 0x7F) << shift |
| 6631 | if b < 0x80 { |
| 6632 | break |
| 6633 | } |
| 6634 | } |
| 6635 | var stringLenmapvalue uint64 |
| 6636 | for shift := uint(0); ; shift += 7 { |
| 6637 | if shift >= 64 { |
| 6638 | return ErrIntOverflowGenerated |
| 6639 | } |
| 6640 | if iNdEx >= l { |
| 6641 | return io.ErrUnexpectedEOF |
| 6642 | } |
| 6643 | b := dAtA[iNdEx] |
| 6644 | iNdEx++ |
| 6645 | stringLenmapvalue |= (uint64(b) & 0x7F) << shift |
| 6646 | if b < 0x80 { |
| 6647 | break |
| 6648 | } |
| 6649 | } |
| 6650 | intStringLenmapvalue := int(stringLenmapvalue) |
| 6651 | if intStringLenmapvalue < 0 { |
| 6652 | return ErrInvalidLengthGenerated |
| 6653 | } |
| 6654 | postStringIndexmapvalue := iNdEx + intStringLenmapvalue |
| 6655 | if postStringIndexmapvalue > l { |
| 6656 | return io.ErrUnexpectedEOF |
| 6657 | } |
| 6658 | mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue]) |
| 6659 | iNdEx = postStringIndexmapvalue |
| 6660 | m.UpdatedAnnotations[mapkey] = mapvalue |
| 6661 | } else { |
| 6662 | var mapvalue string |
| 6663 | m.UpdatedAnnotations[mapkey] = mapvalue |
| 6664 | } |
| 6665 | iNdEx = postIndex |
| 6666 | case 3: |
| 6667 | if wireType != 2 { |
| 6668 | return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType) |
| 6669 | } |
| 6670 | var msglen int |
| 6671 | for shift := uint(0); ; shift += 7 { |
| 6672 | if shift >= 64 { |
| 6673 | return ErrIntOverflowGenerated |
| 6674 | } |
| 6675 | if iNdEx >= l { |
| 6676 | return io.ErrUnexpectedEOF |
| 6677 | } |
| 6678 | b := dAtA[iNdEx] |
| 6679 | iNdEx++ |
| 6680 | msglen |= (int(b) & 0x7F) << shift |
| 6681 | if b < 0x80 { |
| 6682 | break |
| 6683 | } |
| 6684 | } |
| 6685 | if msglen < 0 { |
| 6686 | return ErrInvalidLengthGenerated |
| 6687 | } |
| 6688 | postIndex := iNdEx + msglen |
| 6689 | if postIndex > l { |
| 6690 | return io.ErrUnexpectedEOF |
| 6691 | } |
| 6692 | if err := m.RollbackTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6693 | return err |
| 6694 | } |
| 6695 | iNdEx = postIndex |
| 6696 | default: |
| 6697 | iNdEx = preIndex |
| 6698 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6699 | if err != nil { |
| 6700 | return err |
| 6701 | } |
| 6702 | if skippy < 0 { |
| 6703 | return ErrInvalidLengthGenerated |
| 6704 | } |
| 6705 | if (iNdEx + skippy) > l { |
| 6706 | return io.ErrUnexpectedEOF |
| 6707 | } |
| 6708 | iNdEx += skippy |
| 6709 | } |
| 6710 | } |
| 6711 | |
| 6712 | if iNdEx > l { |
| 6713 | return io.ErrUnexpectedEOF |
| 6714 | } |
| 6715 | return nil |
| 6716 | } |
| 6717 | func (m *DeploymentSpec) Unmarshal(dAtA []byte) error { |
| 6718 | l := len(dAtA) |
| 6719 | iNdEx := 0 |
| 6720 | for iNdEx < l { |
| 6721 | preIndex := iNdEx |
| 6722 | var wire uint64 |
| 6723 | for shift := uint(0); ; shift += 7 { |
| 6724 | if shift >= 64 { |
| 6725 | return ErrIntOverflowGenerated |
| 6726 | } |
| 6727 | if iNdEx >= l { |
| 6728 | return io.ErrUnexpectedEOF |
| 6729 | } |
| 6730 | b := dAtA[iNdEx] |
| 6731 | iNdEx++ |
| 6732 | wire |= (uint64(b) & 0x7F) << shift |
| 6733 | if b < 0x80 { |
| 6734 | break |
| 6735 | } |
| 6736 | } |
| 6737 | fieldNum := int32(wire >> 3) |
| 6738 | wireType := int(wire & 0x7) |
| 6739 | if wireType == 4 { |
| 6740 | return fmt.Errorf("proto: DeploymentSpec: wiretype end group for non-group") |
| 6741 | } |
| 6742 | if fieldNum <= 0 { |
| 6743 | return fmt.Errorf("proto: DeploymentSpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6744 | } |
| 6745 | switch fieldNum { |
| 6746 | case 1: |
| 6747 | if wireType != 0 { |
| 6748 | return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType) |
| 6749 | } |
| 6750 | var v int32 |
| 6751 | for shift := uint(0); ; shift += 7 { |
| 6752 | if shift >= 64 { |
| 6753 | return ErrIntOverflowGenerated |
| 6754 | } |
| 6755 | if iNdEx >= l { |
| 6756 | return io.ErrUnexpectedEOF |
| 6757 | } |
| 6758 | b := dAtA[iNdEx] |
| 6759 | iNdEx++ |
| 6760 | v |= (int32(b) & 0x7F) << shift |
| 6761 | if b < 0x80 { |
| 6762 | break |
| 6763 | } |
| 6764 | } |
| 6765 | m.Replicas = &v |
| 6766 | case 2: |
| 6767 | if wireType != 2 { |
| 6768 | return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType) |
| 6769 | } |
| 6770 | var msglen int |
| 6771 | for shift := uint(0); ; shift += 7 { |
| 6772 | if shift >= 64 { |
| 6773 | return ErrIntOverflowGenerated |
| 6774 | } |
| 6775 | if iNdEx >= l { |
| 6776 | return io.ErrUnexpectedEOF |
| 6777 | } |
| 6778 | b := dAtA[iNdEx] |
| 6779 | iNdEx++ |
| 6780 | msglen |= (int(b) & 0x7F) << shift |
| 6781 | if b < 0x80 { |
| 6782 | break |
| 6783 | } |
| 6784 | } |
| 6785 | if msglen < 0 { |
| 6786 | return ErrInvalidLengthGenerated |
| 6787 | } |
| 6788 | postIndex := iNdEx + msglen |
| 6789 | if postIndex > l { |
| 6790 | return io.ErrUnexpectedEOF |
| 6791 | } |
| 6792 | if m.Selector == nil { |
| 6793 | m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} |
| 6794 | } |
| 6795 | if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6796 | return err |
| 6797 | } |
| 6798 | iNdEx = postIndex |
| 6799 | case 3: |
| 6800 | if wireType != 2 { |
| 6801 | return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType) |
| 6802 | } |
| 6803 | var msglen int |
| 6804 | for shift := uint(0); ; shift += 7 { |
| 6805 | if shift >= 64 { |
| 6806 | return ErrIntOverflowGenerated |
| 6807 | } |
| 6808 | if iNdEx >= l { |
| 6809 | return io.ErrUnexpectedEOF |
| 6810 | } |
| 6811 | b := dAtA[iNdEx] |
| 6812 | iNdEx++ |
| 6813 | msglen |= (int(b) & 0x7F) << shift |
| 6814 | if b < 0x80 { |
| 6815 | break |
| 6816 | } |
| 6817 | } |
| 6818 | if msglen < 0 { |
| 6819 | return ErrInvalidLengthGenerated |
| 6820 | } |
| 6821 | postIndex := iNdEx + msglen |
| 6822 | if postIndex > l { |
| 6823 | return io.ErrUnexpectedEOF |
| 6824 | } |
| 6825 | if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6826 | return err |
| 6827 | } |
| 6828 | iNdEx = postIndex |
| 6829 | case 4: |
| 6830 | if wireType != 2 { |
| 6831 | return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType) |
| 6832 | } |
| 6833 | var msglen int |
| 6834 | for shift := uint(0); ; shift += 7 { |
| 6835 | if shift >= 64 { |
| 6836 | return ErrIntOverflowGenerated |
| 6837 | } |
| 6838 | if iNdEx >= l { |
| 6839 | return io.ErrUnexpectedEOF |
| 6840 | } |
| 6841 | b := dAtA[iNdEx] |
| 6842 | iNdEx++ |
| 6843 | msglen |= (int(b) & 0x7F) << shift |
| 6844 | if b < 0x80 { |
| 6845 | break |
| 6846 | } |
| 6847 | } |
| 6848 | if msglen < 0 { |
| 6849 | return ErrInvalidLengthGenerated |
| 6850 | } |
| 6851 | postIndex := iNdEx + msglen |
| 6852 | if postIndex > l { |
| 6853 | return io.ErrUnexpectedEOF |
| 6854 | } |
| 6855 | if err := m.Strategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6856 | return err |
| 6857 | } |
| 6858 | iNdEx = postIndex |
| 6859 | case 5: |
| 6860 | if wireType != 0 { |
| 6861 | return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType) |
| 6862 | } |
| 6863 | m.MinReadySeconds = 0 |
| 6864 | for shift := uint(0); ; shift += 7 { |
| 6865 | if shift >= 64 { |
| 6866 | return ErrIntOverflowGenerated |
| 6867 | } |
| 6868 | if iNdEx >= l { |
| 6869 | return io.ErrUnexpectedEOF |
| 6870 | } |
| 6871 | b := dAtA[iNdEx] |
| 6872 | iNdEx++ |
| 6873 | m.MinReadySeconds |= (int32(b) & 0x7F) << shift |
| 6874 | if b < 0x80 { |
| 6875 | break |
| 6876 | } |
| 6877 | } |
| 6878 | case 6: |
| 6879 | if wireType != 0 { |
| 6880 | return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType) |
| 6881 | } |
| 6882 | var v int32 |
| 6883 | for shift := uint(0); ; shift += 7 { |
| 6884 | if shift >= 64 { |
| 6885 | return ErrIntOverflowGenerated |
| 6886 | } |
| 6887 | if iNdEx >= l { |
| 6888 | return io.ErrUnexpectedEOF |
| 6889 | } |
| 6890 | b := dAtA[iNdEx] |
| 6891 | iNdEx++ |
| 6892 | v |= (int32(b) & 0x7F) << shift |
| 6893 | if b < 0x80 { |
| 6894 | break |
| 6895 | } |
| 6896 | } |
| 6897 | m.RevisionHistoryLimit = &v |
| 6898 | case 7: |
| 6899 | if wireType != 0 { |
| 6900 | return fmt.Errorf("proto: wrong wireType = %d for field Paused", wireType) |
| 6901 | } |
| 6902 | var v int |
| 6903 | for shift := uint(0); ; shift += 7 { |
| 6904 | if shift >= 64 { |
| 6905 | return ErrIntOverflowGenerated |
| 6906 | } |
| 6907 | if iNdEx >= l { |
| 6908 | return io.ErrUnexpectedEOF |
| 6909 | } |
| 6910 | b := dAtA[iNdEx] |
| 6911 | iNdEx++ |
| 6912 | v |= (int(b) & 0x7F) << shift |
| 6913 | if b < 0x80 { |
| 6914 | break |
| 6915 | } |
| 6916 | } |
| 6917 | m.Paused = bool(v != 0) |
| 6918 | case 8: |
| 6919 | if wireType != 2 { |
| 6920 | return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType) |
| 6921 | } |
| 6922 | var msglen int |
| 6923 | for shift := uint(0); ; shift += 7 { |
| 6924 | if shift >= 64 { |
| 6925 | return ErrIntOverflowGenerated |
| 6926 | } |
| 6927 | if iNdEx >= l { |
| 6928 | return io.ErrUnexpectedEOF |
| 6929 | } |
| 6930 | b := dAtA[iNdEx] |
| 6931 | iNdEx++ |
| 6932 | msglen |= (int(b) & 0x7F) << shift |
| 6933 | if b < 0x80 { |
| 6934 | break |
| 6935 | } |
| 6936 | } |
| 6937 | if msglen < 0 { |
| 6938 | return ErrInvalidLengthGenerated |
| 6939 | } |
| 6940 | postIndex := iNdEx + msglen |
| 6941 | if postIndex > l { |
| 6942 | return io.ErrUnexpectedEOF |
| 6943 | } |
| 6944 | if m.RollbackTo == nil { |
| 6945 | m.RollbackTo = &RollbackConfig{} |
| 6946 | } |
| 6947 | if err := m.RollbackTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6948 | return err |
| 6949 | } |
| 6950 | iNdEx = postIndex |
| 6951 | case 9: |
| 6952 | if wireType != 0 { |
| 6953 | return fmt.Errorf("proto: wrong wireType = %d for field ProgressDeadlineSeconds", wireType) |
| 6954 | } |
| 6955 | var v int32 |
| 6956 | for shift := uint(0); ; shift += 7 { |
| 6957 | if shift >= 64 { |
| 6958 | return ErrIntOverflowGenerated |
| 6959 | } |
| 6960 | if iNdEx >= l { |
| 6961 | return io.ErrUnexpectedEOF |
| 6962 | } |
| 6963 | b := dAtA[iNdEx] |
| 6964 | iNdEx++ |
| 6965 | v |= (int32(b) & 0x7F) << shift |
| 6966 | if b < 0x80 { |
| 6967 | break |
| 6968 | } |
| 6969 | } |
| 6970 | m.ProgressDeadlineSeconds = &v |
| 6971 | default: |
| 6972 | iNdEx = preIndex |
| 6973 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6974 | if err != nil { |
| 6975 | return err |
| 6976 | } |
| 6977 | if skippy < 0 { |
| 6978 | return ErrInvalidLengthGenerated |
| 6979 | } |
| 6980 | if (iNdEx + skippy) > l { |
| 6981 | return io.ErrUnexpectedEOF |
| 6982 | } |
| 6983 | iNdEx += skippy |
| 6984 | } |
| 6985 | } |
| 6986 | |
| 6987 | if iNdEx > l { |
| 6988 | return io.ErrUnexpectedEOF |
| 6989 | } |
| 6990 | return nil |
| 6991 | } |
| 6992 | func (m *DeploymentStatus) Unmarshal(dAtA []byte) error { |
| 6993 | l := len(dAtA) |
| 6994 | iNdEx := 0 |
| 6995 | for iNdEx < l { |
| 6996 | preIndex := iNdEx |
| 6997 | var wire uint64 |
| 6998 | for shift := uint(0); ; shift += 7 { |
| 6999 | if shift >= 64 { |
| 7000 | return ErrIntOverflowGenerated |
| 7001 | } |
| 7002 | if iNdEx >= l { |
| 7003 | return io.ErrUnexpectedEOF |
| 7004 | } |
| 7005 | b := dAtA[iNdEx] |
| 7006 | iNdEx++ |
| 7007 | wire |= (uint64(b) & 0x7F) << shift |
| 7008 | if b < 0x80 { |
| 7009 | break |
| 7010 | } |
| 7011 | } |
| 7012 | fieldNum := int32(wire >> 3) |
| 7013 | wireType := int(wire & 0x7) |
| 7014 | if wireType == 4 { |
| 7015 | return fmt.Errorf("proto: DeploymentStatus: wiretype end group for non-group") |
| 7016 | } |
| 7017 | if fieldNum <= 0 { |
| 7018 | return fmt.Errorf("proto: DeploymentStatus: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7019 | } |
| 7020 | switch fieldNum { |
| 7021 | case 1: |
| 7022 | if wireType != 0 { |
| 7023 | return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType) |
| 7024 | } |
| 7025 | m.ObservedGeneration = 0 |
| 7026 | for shift := uint(0); ; shift += 7 { |
| 7027 | if shift >= 64 { |
| 7028 | return ErrIntOverflowGenerated |
| 7029 | } |
| 7030 | if iNdEx >= l { |
| 7031 | return io.ErrUnexpectedEOF |
| 7032 | } |
| 7033 | b := dAtA[iNdEx] |
| 7034 | iNdEx++ |
| 7035 | m.ObservedGeneration |= (int64(b) & 0x7F) << shift |
| 7036 | if b < 0x80 { |
| 7037 | break |
| 7038 | } |
| 7039 | } |
| 7040 | case 2: |
| 7041 | if wireType != 0 { |
| 7042 | return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType) |
| 7043 | } |
| 7044 | m.Replicas = 0 |
| 7045 | for shift := uint(0); ; shift += 7 { |
| 7046 | if shift >= 64 { |
| 7047 | return ErrIntOverflowGenerated |
| 7048 | } |
| 7049 | if iNdEx >= l { |
| 7050 | return io.ErrUnexpectedEOF |
| 7051 | } |
| 7052 | b := dAtA[iNdEx] |
| 7053 | iNdEx++ |
| 7054 | m.Replicas |= (int32(b) & 0x7F) << shift |
| 7055 | if b < 0x80 { |
| 7056 | break |
| 7057 | } |
| 7058 | } |
| 7059 | case 3: |
| 7060 | if wireType != 0 { |
| 7061 | return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType) |
| 7062 | } |
| 7063 | m.UpdatedReplicas = 0 |
| 7064 | for shift := uint(0); ; shift += 7 { |
| 7065 | if shift >= 64 { |
| 7066 | return ErrIntOverflowGenerated |
| 7067 | } |
| 7068 | if iNdEx >= l { |
| 7069 | return io.ErrUnexpectedEOF |
| 7070 | } |
| 7071 | b := dAtA[iNdEx] |
| 7072 | iNdEx++ |
| 7073 | m.UpdatedReplicas |= (int32(b) & 0x7F) << shift |
| 7074 | if b < 0x80 { |
| 7075 | break |
| 7076 | } |
| 7077 | } |
| 7078 | case 4: |
| 7079 | if wireType != 0 { |
| 7080 | return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType) |
| 7081 | } |
| 7082 | m.AvailableReplicas = 0 |
| 7083 | for shift := uint(0); ; shift += 7 { |
| 7084 | if shift >= 64 { |
| 7085 | return ErrIntOverflowGenerated |
| 7086 | } |
| 7087 | if iNdEx >= l { |
| 7088 | return io.ErrUnexpectedEOF |
| 7089 | } |
| 7090 | b := dAtA[iNdEx] |
| 7091 | iNdEx++ |
| 7092 | m.AvailableReplicas |= (int32(b) & 0x7F) << shift |
| 7093 | if b < 0x80 { |
| 7094 | break |
| 7095 | } |
| 7096 | } |
| 7097 | case 5: |
| 7098 | if wireType != 0 { |
| 7099 | return fmt.Errorf("proto: wrong wireType = %d for field UnavailableReplicas", wireType) |
| 7100 | } |
| 7101 | m.UnavailableReplicas = 0 |
| 7102 | for shift := uint(0); ; shift += 7 { |
| 7103 | if shift >= 64 { |
| 7104 | return ErrIntOverflowGenerated |
| 7105 | } |
| 7106 | if iNdEx >= l { |
| 7107 | return io.ErrUnexpectedEOF |
| 7108 | } |
| 7109 | b := dAtA[iNdEx] |
| 7110 | iNdEx++ |
| 7111 | m.UnavailableReplicas |= (int32(b) & 0x7F) << shift |
| 7112 | if b < 0x80 { |
| 7113 | break |
| 7114 | } |
| 7115 | } |
| 7116 | case 6: |
| 7117 | if wireType != 2 { |
| 7118 | return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) |
| 7119 | } |
| 7120 | var msglen int |
| 7121 | for shift := uint(0); ; shift += 7 { |
| 7122 | if shift >= 64 { |
| 7123 | return ErrIntOverflowGenerated |
| 7124 | } |
| 7125 | if iNdEx >= l { |
| 7126 | return io.ErrUnexpectedEOF |
| 7127 | } |
| 7128 | b := dAtA[iNdEx] |
| 7129 | iNdEx++ |
| 7130 | msglen |= (int(b) & 0x7F) << shift |
| 7131 | if b < 0x80 { |
| 7132 | break |
| 7133 | } |
| 7134 | } |
| 7135 | if msglen < 0 { |
| 7136 | return ErrInvalidLengthGenerated |
| 7137 | } |
| 7138 | postIndex := iNdEx + msglen |
| 7139 | if postIndex > l { |
| 7140 | return io.ErrUnexpectedEOF |
| 7141 | } |
| 7142 | m.Conditions = append(m.Conditions, DeploymentCondition{}) |
| 7143 | if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 7144 | return err |
| 7145 | } |
| 7146 | iNdEx = postIndex |
| 7147 | case 7: |
| 7148 | if wireType != 0 { |
| 7149 | return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType) |
| 7150 | } |
| 7151 | m.ReadyReplicas = 0 |
| 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 | m.ReadyReplicas |= (int32(b) & 0x7F) << shift |
| 7162 | if b < 0x80 { |
| 7163 | break |
| 7164 | } |
| 7165 | } |
| 7166 | case 8: |
| 7167 | if wireType != 0 { |
| 7168 | return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType) |
| 7169 | } |
| 7170 | var v int32 |
| 7171 | for shift := uint(0); ; shift += 7 { |
| 7172 | if shift >= 64 { |
| 7173 | return ErrIntOverflowGenerated |
| 7174 | } |
| 7175 | if iNdEx >= l { |
| 7176 | return io.ErrUnexpectedEOF |
| 7177 | } |
| 7178 | b := dAtA[iNdEx] |
| 7179 | iNdEx++ |
| 7180 | v |= (int32(b) & 0x7F) << shift |
| 7181 | if b < 0x80 { |
| 7182 | break |
| 7183 | } |
| 7184 | } |
| 7185 | m.CollisionCount = &v |
| 7186 | default: |
| 7187 | iNdEx = preIndex |
| 7188 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7189 | if err != nil { |
| 7190 | return err |
| 7191 | } |
| 7192 | if skippy < 0 { |
| 7193 | return ErrInvalidLengthGenerated |
| 7194 | } |
| 7195 | if (iNdEx + skippy) > l { |
| 7196 | return io.ErrUnexpectedEOF |
| 7197 | } |
| 7198 | iNdEx += skippy |
| 7199 | } |
| 7200 | } |
| 7201 | |
| 7202 | if iNdEx > l { |
| 7203 | return io.ErrUnexpectedEOF |
| 7204 | } |
| 7205 | return nil |
| 7206 | } |
| 7207 | func (m *DeploymentStrategy) Unmarshal(dAtA []byte) error { |
| 7208 | l := len(dAtA) |
| 7209 | iNdEx := 0 |
| 7210 | for iNdEx < l { |
| 7211 | preIndex := iNdEx |
| 7212 | var wire uint64 |
| 7213 | for shift := uint(0); ; shift += 7 { |
| 7214 | if shift >= 64 { |
| 7215 | return ErrIntOverflowGenerated |
| 7216 | } |
| 7217 | if iNdEx >= l { |
| 7218 | return io.ErrUnexpectedEOF |
| 7219 | } |
| 7220 | b := dAtA[iNdEx] |
| 7221 | iNdEx++ |
| 7222 | wire |= (uint64(b) & 0x7F) << shift |
| 7223 | if b < 0x80 { |
| 7224 | break |
| 7225 | } |
| 7226 | } |
| 7227 | fieldNum := int32(wire >> 3) |
| 7228 | wireType := int(wire & 0x7) |
| 7229 | if wireType == 4 { |
| 7230 | return fmt.Errorf("proto: DeploymentStrategy: wiretype end group for non-group") |
| 7231 | } |
| 7232 | if fieldNum <= 0 { |
| 7233 | return fmt.Errorf("proto: DeploymentStrategy: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7234 | } |
| 7235 | switch fieldNum { |
| 7236 | case 1: |
| 7237 | if wireType != 2 { |
| 7238 | return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 7239 | } |
| 7240 | var stringLen uint64 |
| 7241 | for shift := uint(0); ; shift += 7 { |
| 7242 | if shift >= 64 { |
| 7243 | return ErrIntOverflowGenerated |
| 7244 | } |
| 7245 | if iNdEx >= l { |
| 7246 | return io.ErrUnexpectedEOF |
| 7247 | } |
| 7248 | b := dAtA[iNdEx] |
| 7249 | iNdEx++ |
| 7250 | stringLen |= (uint64(b) & 0x7F) << shift |
| 7251 | if b < 0x80 { |
| 7252 | break |
| 7253 | } |
| 7254 | } |
| 7255 | intStringLen := int(stringLen) |
| 7256 | if intStringLen < 0 { |
| 7257 | return ErrInvalidLengthGenerated |
| 7258 | } |
| 7259 | postIndex := iNdEx + intStringLen |
| 7260 | if postIndex > l { |
| 7261 | return io.ErrUnexpectedEOF |
| 7262 | } |
| 7263 | m.Type = DeploymentStrategyType(dAtA[iNdEx:postIndex]) |
| 7264 | iNdEx = postIndex |
| 7265 | case 2: |
| 7266 | if wireType != 2 { |
| 7267 | return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType) |
| 7268 | } |
| 7269 | var msglen int |
| 7270 | for shift := uint(0); ; shift += 7 { |
| 7271 | if shift >= 64 { |
| 7272 | return ErrIntOverflowGenerated |
| 7273 | } |
| 7274 | if iNdEx >= l { |
| 7275 | return io.ErrUnexpectedEOF |
| 7276 | } |
| 7277 | b := dAtA[iNdEx] |
| 7278 | iNdEx++ |
| 7279 | msglen |= (int(b) & 0x7F) << shift |
| 7280 | if b < 0x80 { |
| 7281 | break |
| 7282 | } |
| 7283 | } |
| 7284 | if msglen < 0 { |
| 7285 | return ErrInvalidLengthGenerated |
| 7286 | } |
| 7287 | postIndex := iNdEx + msglen |
| 7288 | if postIndex > l { |
| 7289 | return io.ErrUnexpectedEOF |
| 7290 | } |
| 7291 | if m.RollingUpdate == nil { |
| 7292 | m.RollingUpdate = &RollingUpdateDeployment{} |
| 7293 | } |
| 7294 | if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 7295 | return err |
| 7296 | } |
| 7297 | iNdEx = postIndex |
| 7298 | default: |
| 7299 | iNdEx = preIndex |
| 7300 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7301 | if err != nil { |
| 7302 | return err |
| 7303 | } |
| 7304 | if skippy < 0 { |
| 7305 | return ErrInvalidLengthGenerated |
| 7306 | } |
| 7307 | if (iNdEx + skippy) > l { |
| 7308 | return io.ErrUnexpectedEOF |
| 7309 | } |
| 7310 | iNdEx += skippy |
| 7311 | } |
| 7312 | } |
| 7313 | |
| 7314 | if iNdEx > l { |
| 7315 | return io.ErrUnexpectedEOF |
| 7316 | } |
| 7317 | return nil |
| 7318 | } |
| 7319 | func (m *FSGroupStrategyOptions) Unmarshal(dAtA []byte) error { |
| 7320 | l := len(dAtA) |
| 7321 | iNdEx := 0 |
| 7322 | for iNdEx < l { |
| 7323 | preIndex := iNdEx |
| 7324 | var wire uint64 |
| 7325 | for shift := uint(0); ; shift += 7 { |
| 7326 | if shift >= 64 { |
| 7327 | return ErrIntOverflowGenerated |
| 7328 | } |
| 7329 | if iNdEx >= l { |
| 7330 | return io.ErrUnexpectedEOF |
| 7331 | } |
| 7332 | b := dAtA[iNdEx] |
| 7333 | iNdEx++ |
| 7334 | wire |= (uint64(b) & 0x7F) << shift |
| 7335 | if b < 0x80 { |
| 7336 | break |
| 7337 | } |
| 7338 | } |
| 7339 | fieldNum := int32(wire >> 3) |
| 7340 | wireType := int(wire & 0x7) |
| 7341 | if wireType == 4 { |
| 7342 | return fmt.Errorf("proto: FSGroupStrategyOptions: wiretype end group for non-group") |
| 7343 | } |
| 7344 | if fieldNum <= 0 { |
| 7345 | return fmt.Errorf("proto: FSGroupStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7346 | } |
| 7347 | switch fieldNum { |
| 7348 | case 1: |
| 7349 | if wireType != 2 { |
| 7350 | return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType) |
| 7351 | } |
| 7352 | var stringLen uint64 |
| 7353 | for shift := uint(0); ; shift += 7 { |
| 7354 | if shift >= 64 { |
| 7355 | return ErrIntOverflowGenerated |
| 7356 | } |
| 7357 | if iNdEx >= l { |
| 7358 | return io.ErrUnexpectedEOF |
| 7359 | } |
| 7360 | b := dAtA[iNdEx] |
| 7361 | iNdEx++ |
| 7362 | stringLen |= (uint64(b) & 0x7F) << shift |
| 7363 | if b < 0x80 { |
| 7364 | break |
| 7365 | } |
| 7366 | } |
| 7367 | intStringLen := int(stringLen) |
| 7368 | if intStringLen < 0 { |
| 7369 | return ErrInvalidLengthGenerated |
| 7370 | } |
| 7371 | postIndex := iNdEx + intStringLen |
| 7372 | if postIndex > l { |
| 7373 | return io.ErrUnexpectedEOF |
| 7374 | } |
| 7375 | m.Rule = FSGroupStrategyType(dAtA[iNdEx:postIndex]) |
| 7376 | iNdEx = postIndex |
| 7377 | case 2: |
| 7378 | if wireType != 2 { |
| 7379 | return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType) |
| 7380 | } |
| 7381 | var msglen int |
| 7382 | for shift := uint(0); ; shift += 7 { |
| 7383 | if shift >= 64 { |
| 7384 | return ErrIntOverflowGenerated |
| 7385 | } |
| 7386 | if iNdEx >= l { |
| 7387 | return io.ErrUnexpectedEOF |
| 7388 | } |
| 7389 | b := dAtA[iNdEx] |
| 7390 | iNdEx++ |
| 7391 | msglen |= (int(b) & 0x7F) << shift |
| 7392 | if b < 0x80 { |
| 7393 | break |
| 7394 | } |
| 7395 | } |
| 7396 | if msglen < 0 { |
| 7397 | return ErrInvalidLengthGenerated |
| 7398 | } |
| 7399 | postIndex := iNdEx + msglen |
| 7400 | if postIndex > l { |
| 7401 | return io.ErrUnexpectedEOF |
| 7402 | } |
| 7403 | m.Ranges = append(m.Ranges, IDRange{}) |
| 7404 | if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 7405 | return err |
| 7406 | } |
| 7407 | iNdEx = postIndex |
| 7408 | default: |
| 7409 | iNdEx = preIndex |
| 7410 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7411 | if err != nil { |
| 7412 | return err |
| 7413 | } |
| 7414 | if skippy < 0 { |
| 7415 | return ErrInvalidLengthGenerated |
| 7416 | } |
| 7417 | if (iNdEx + skippy) > l { |
| 7418 | return io.ErrUnexpectedEOF |
| 7419 | } |
| 7420 | iNdEx += skippy |
| 7421 | } |
| 7422 | } |
| 7423 | |
| 7424 | if iNdEx > l { |
| 7425 | return io.ErrUnexpectedEOF |
| 7426 | } |
| 7427 | return nil |
| 7428 | } |
| 7429 | func (m *HTTPIngressPath) Unmarshal(dAtA []byte) error { |
| 7430 | l := len(dAtA) |
| 7431 | iNdEx := 0 |
| 7432 | for iNdEx < l { |
| 7433 | preIndex := iNdEx |
| 7434 | var wire uint64 |
| 7435 | for shift := uint(0); ; shift += 7 { |
| 7436 | if shift >= 64 { |
| 7437 | return ErrIntOverflowGenerated |
| 7438 | } |
| 7439 | if iNdEx >= l { |
| 7440 | return io.ErrUnexpectedEOF |
| 7441 | } |
| 7442 | b := dAtA[iNdEx] |
| 7443 | iNdEx++ |
| 7444 | wire |= (uint64(b) & 0x7F) << shift |
| 7445 | if b < 0x80 { |
| 7446 | break |
| 7447 | } |
| 7448 | } |
| 7449 | fieldNum := int32(wire >> 3) |
| 7450 | wireType := int(wire & 0x7) |
| 7451 | if wireType == 4 { |
| 7452 | return fmt.Errorf("proto: HTTPIngressPath: wiretype end group for non-group") |
| 7453 | } |
| 7454 | if fieldNum <= 0 { |
| 7455 | return fmt.Errorf("proto: HTTPIngressPath: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7456 | } |
| 7457 | switch fieldNum { |
| 7458 | case 1: |
| 7459 | if wireType != 2 { |
| 7460 | return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) |
| 7461 | } |
| 7462 | var stringLen uint64 |
| 7463 | for shift := uint(0); ; shift += 7 { |
| 7464 | if shift >= 64 { |
| 7465 | return ErrIntOverflowGenerated |
| 7466 | } |
| 7467 | if iNdEx >= l { |
| 7468 | return io.ErrUnexpectedEOF |
| 7469 | } |
| 7470 | b := dAtA[iNdEx] |
| 7471 | iNdEx++ |
| 7472 | stringLen |= (uint64(b) & 0x7F) << shift |
| 7473 | if b < 0x80 { |
| 7474 | break |
| 7475 | } |
| 7476 | } |
| 7477 | intStringLen := int(stringLen) |
| 7478 | if intStringLen < 0 { |
| 7479 | return ErrInvalidLengthGenerated |
| 7480 | } |
| 7481 | postIndex := iNdEx + intStringLen |
| 7482 | if postIndex > l { |
| 7483 | return io.ErrUnexpectedEOF |
| 7484 | } |
| 7485 | m.Path = string(dAtA[iNdEx:postIndex]) |
| 7486 | iNdEx = postIndex |
| 7487 | case 2: |
| 7488 | if wireType != 2 { |
| 7489 | return fmt.Errorf("proto: wrong wireType = %d for field Backend", wireType) |
| 7490 | } |
| 7491 | var msglen int |
| 7492 | for shift := uint(0); ; shift += 7 { |
| 7493 | if shift >= 64 { |
| 7494 | return ErrIntOverflowGenerated |
| 7495 | } |
| 7496 | if iNdEx >= l { |
| 7497 | return io.ErrUnexpectedEOF |
| 7498 | } |
| 7499 | b := dAtA[iNdEx] |
| 7500 | iNdEx++ |
| 7501 | msglen |= (int(b) & 0x7F) << shift |
| 7502 | if b < 0x80 { |
| 7503 | break |
| 7504 | } |
| 7505 | } |
| 7506 | if msglen < 0 { |
| 7507 | return ErrInvalidLengthGenerated |
| 7508 | } |
| 7509 | postIndex := iNdEx + msglen |
| 7510 | if postIndex > l { |
| 7511 | return io.ErrUnexpectedEOF |
| 7512 | } |
| 7513 | if err := m.Backend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 7514 | return err |
| 7515 | } |
| 7516 | iNdEx = postIndex |
| 7517 | default: |
| 7518 | iNdEx = preIndex |
| 7519 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7520 | if err != nil { |
| 7521 | return err |
| 7522 | } |
| 7523 | if skippy < 0 { |
| 7524 | return ErrInvalidLengthGenerated |
| 7525 | } |
| 7526 | if (iNdEx + skippy) > l { |
| 7527 | return io.ErrUnexpectedEOF |
| 7528 | } |
| 7529 | iNdEx += skippy |
| 7530 | } |
| 7531 | } |
| 7532 | |
| 7533 | if iNdEx > l { |
| 7534 | return io.ErrUnexpectedEOF |
| 7535 | } |
| 7536 | return nil |
| 7537 | } |
| 7538 | func (m *HTTPIngressRuleValue) Unmarshal(dAtA []byte) error { |
| 7539 | l := len(dAtA) |
| 7540 | iNdEx := 0 |
| 7541 | for iNdEx < l { |
| 7542 | preIndex := iNdEx |
| 7543 | var wire uint64 |
| 7544 | for shift := uint(0); ; shift += 7 { |
| 7545 | if shift >= 64 { |
| 7546 | return ErrIntOverflowGenerated |
| 7547 | } |
| 7548 | if iNdEx >= l { |
| 7549 | return io.ErrUnexpectedEOF |
| 7550 | } |
| 7551 | b := dAtA[iNdEx] |
| 7552 | iNdEx++ |
| 7553 | wire |= (uint64(b) & 0x7F) << shift |
| 7554 | if b < 0x80 { |
| 7555 | break |
| 7556 | } |
| 7557 | } |
| 7558 | fieldNum := int32(wire >> 3) |
| 7559 | wireType := int(wire & 0x7) |
| 7560 | if wireType == 4 { |
| 7561 | return fmt.Errorf("proto: HTTPIngressRuleValue: wiretype end group for non-group") |
| 7562 | } |
| 7563 | if fieldNum <= 0 { |
| 7564 | return fmt.Errorf("proto: HTTPIngressRuleValue: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7565 | } |
| 7566 | switch fieldNum { |
| 7567 | case 1: |
| 7568 | if wireType != 2 { |
| 7569 | return fmt.Errorf("proto: wrong wireType = %d for field Paths", wireType) |
| 7570 | } |
| 7571 | var msglen int |
| 7572 | for shift := uint(0); ; shift += 7 { |
| 7573 | if shift >= 64 { |
| 7574 | return ErrIntOverflowGenerated |
| 7575 | } |
| 7576 | if iNdEx >= l { |
| 7577 | return io.ErrUnexpectedEOF |
| 7578 | } |
| 7579 | b := dAtA[iNdEx] |
| 7580 | iNdEx++ |
| 7581 | msglen |= (int(b) & 0x7F) << shift |
| 7582 | if b < 0x80 { |
| 7583 | break |
| 7584 | } |
| 7585 | } |
| 7586 | if msglen < 0 { |
| 7587 | return ErrInvalidLengthGenerated |
| 7588 | } |
| 7589 | postIndex := iNdEx + msglen |
| 7590 | if postIndex > l { |
| 7591 | return io.ErrUnexpectedEOF |
| 7592 | } |
| 7593 | m.Paths = append(m.Paths, HTTPIngressPath{}) |
| 7594 | if err := m.Paths[len(m.Paths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 7595 | return err |
| 7596 | } |
| 7597 | iNdEx = postIndex |
| 7598 | default: |
| 7599 | iNdEx = preIndex |
| 7600 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7601 | if err != nil { |
| 7602 | return err |
| 7603 | } |
| 7604 | if skippy < 0 { |
| 7605 | return ErrInvalidLengthGenerated |
| 7606 | } |
| 7607 | if (iNdEx + skippy) > l { |
| 7608 | return io.ErrUnexpectedEOF |
| 7609 | } |
| 7610 | iNdEx += skippy |
| 7611 | } |
| 7612 | } |
| 7613 | |
| 7614 | if iNdEx > l { |
| 7615 | return io.ErrUnexpectedEOF |
| 7616 | } |
| 7617 | return nil |
| 7618 | } |
| 7619 | func (m *HostPortRange) Unmarshal(dAtA []byte) error { |
| 7620 | l := len(dAtA) |
| 7621 | iNdEx := 0 |
| 7622 | for iNdEx < l { |
| 7623 | preIndex := iNdEx |
| 7624 | var wire uint64 |
| 7625 | for shift := uint(0); ; shift += 7 { |
| 7626 | if shift >= 64 { |
| 7627 | return ErrIntOverflowGenerated |
| 7628 | } |
| 7629 | if iNdEx >= l { |
| 7630 | return io.ErrUnexpectedEOF |
| 7631 | } |
| 7632 | b := dAtA[iNdEx] |
| 7633 | iNdEx++ |
| 7634 | wire |= (uint64(b) & 0x7F) << shift |
| 7635 | if b < 0x80 { |
| 7636 | break |
| 7637 | } |
| 7638 | } |
| 7639 | fieldNum := int32(wire >> 3) |
| 7640 | wireType := int(wire & 0x7) |
| 7641 | if wireType == 4 { |
| 7642 | return fmt.Errorf("proto: HostPortRange: wiretype end group for non-group") |
| 7643 | } |
| 7644 | if fieldNum <= 0 { |
| 7645 | return fmt.Errorf("proto: HostPortRange: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7646 | } |
| 7647 | switch fieldNum { |
| 7648 | case 1: |
| 7649 | if wireType != 0 { |
| 7650 | return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType) |
| 7651 | } |
| 7652 | m.Min = 0 |
| 7653 | for shift := uint(0); ; shift += 7 { |
| 7654 | if shift >= 64 { |
| 7655 | return ErrIntOverflowGenerated |
| 7656 | } |
| 7657 | if iNdEx >= l { |
| 7658 | return io.ErrUnexpectedEOF |
| 7659 | } |
| 7660 | b := dAtA[iNdEx] |
| 7661 | iNdEx++ |
| 7662 | m.Min |= (int32(b) & 0x7F) << shift |
| 7663 | if b < 0x80 { |
| 7664 | break |
| 7665 | } |
| 7666 | } |
| 7667 | case 2: |
| 7668 | if wireType != 0 { |
| 7669 | return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType) |
| 7670 | } |
| 7671 | m.Max = 0 |
| 7672 | for shift := uint(0); ; shift += 7 { |
| 7673 | if shift >= 64 { |
| 7674 | return ErrIntOverflowGenerated |
| 7675 | } |
| 7676 | if iNdEx >= l { |
| 7677 | return io.ErrUnexpectedEOF |
| 7678 | } |
| 7679 | b := dAtA[iNdEx] |
| 7680 | iNdEx++ |
| 7681 | m.Max |= (int32(b) & 0x7F) << shift |
| 7682 | if b < 0x80 { |
| 7683 | break |
| 7684 | } |
| 7685 | } |
| 7686 | default: |
| 7687 | iNdEx = preIndex |
| 7688 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7689 | if err != nil { |
| 7690 | return err |
| 7691 | } |
| 7692 | if skippy < 0 { |
| 7693 | return ErrInvalidLengthGenerated |
| 7694 | } |
| 7695 | if (iNdEx + skippy) > l { |
| 7696 | return io.ErrUnexpectedEOF |
| 7697 | } |
| 7698 | iNdEx += skippy |
| 7699 | } |
| 7700 | } |
| 7701 | |
| 7702 | if iNdEx > l { |
| 7703 | return io.ErrUnexpectedEOF |
| 7704 | } |
| 7705 | return nil |
| 7706 | } |
| 7707 | func (m *IDRange) Unmarshal(dAtA []byte) error { |
| 7708 | l := len(dAtA) |
| 7709 | iNdEx := 0 |
| 7710 | for iNdEx < l { |
| 7711 | preIndex := iNdEx |
| 7712 | var wire uint64 |
| 7713 | for shift := uint(0); ; shift += 7 { |
| 7714 | if shift >= 64 { |
| 7715 | return ErrIntOverflowGenerated |
| 7716 | } |
| 7717 | if iNdEx >= l { |
| 7718 | return io.ErrUnexpectedEOF |
| 7719 | } |
| 7720 | b := dAtA[iNdEx] |
| 7721 | iNdEx++ |
| 7722 | wire |= (uint64(b) & 0x7F) << shift |
| 7723 | if b < 0x80 { |
| 7724 | break |
| 7725 | } |
| 7726 | } |
| 7727 | fieldNum := int32(wire >> 3) |
| 7728 | wireType := int(wire & 0x7) |
| 7729 | if wireType == 4 { |
| 7730 | return fmt.Errorf("proto: IDRange: wiretype end group for non-group") |
| 7731 | } |
| 7732 | if fieldNum <= 0 { |
| 7733 | return fmt.Errorf("proto: IDRange: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7734 | } |
| 7735 | switch fieldNum { |
| 7736 | case 1: |
| 7737 | if wireType != 0 { |
| 7738 | return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType) |
| 7739 | } |
| 7740 | m.Min = 0 |
| 7741 | for shift := uint(0); ; shift += 7 { |
| 7742 | if shift >= 64 { |
| 7743 | return ErrIntOverflowGenerated |
| 7744 | } |
| 7745 | if iNdEx >= l { |
| 7746 | return io.ErrUnexpectedEOF |
| 7747 | } |
| 7748 | b := dAtA[iNdEx] |
| 7749 | iNdEx++ |
| 7750 | m.Min |= (int64(b) & 0x7F) << shift |
| 7751 | if b < 0x80 { |
| 7752 | break |
| 7753 | } |
| 7754 | } |
| 7755 | case 2: |
| 7756 | if wireType != 0 { |
| 7757 | return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType) |
| 7758 | } |
| 7759 | m.Max = 0 |
| 7760 | for shift := uint(0); ; shift += 7 { |
| 7761 | if shift >= 64 { |
| 7762 | return ErrIntOverflowGenerated |
| 7763 | } |
| 7764 | if iNdEx >= l { |
| 7765 | return io.ErrUnexpectedEOF |
| 7766 | } |
| 7767 | b := dAtA[iNdEx] |
| 7768 | iNdEx++ |
| 7769 | m.Max |= (int64(b) & 0x7F) << shift |
| 7770 | if b < 0x80 { |
| 7771 | break |
| 7772 | } |
| 7773 | } |
| 7774 | default: |
| 7775 | iNdEx = preIndex |
| 7776 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7777 | if err != nil { |
| 7778 | return err |
| 7779 | } |
| 7780 | if skippy < 0 { |
| 7781 | return ErrInvalidLengthGenerated |
| 7782 | } |
| 7783 | if (iNdEx + skippy) > l { |
| 7784 | return io.ErrUnexpectedEOF |
| 7785 | } |
| 7786 | iNdEx += skippy |
| 7787 | } |
| 7788 | } |
| 7789 | |
| 7790 | if iNdEx > l { |
| 7791 | return io.ErrUnexpectedEOF |
| 7792 | } |
| 7793 | return nil |
| 7794 | } |
| 7795 | func (m *IPBlock) Unmarshal(dAtA []byte) error { |
| 7796 | l := len(dAtA) |
| 7797 | iNdEx := 0 |
| 7798 | for iNdEx < l { |
| 7799 | preIndex := iNdEx |
| 7800 | var wire uint64 |
| 7801 | for shift := uint(0); ; shift += 7 { |
| 7802 | if shift >= 64 { |
| 7803 | return ErrIntOverflowGenerated |
| 7804 | } |
| 7805 | if iNdEx >= l { |
| 7806 | return io.ErrUnexpectedEOF |
| 7807 | } |
| 7808 | b := dAtA[iNdEx] |
| 7809 | iNdEx++ |
| 7810 | wire |= (uint64(b) & 0x7F) << shift |
| 7811 | if b < 0x80 { |
| 7812 | break |
| 7813 | } |
| 7814 | } |
| 7815 | fieldNum := int32(wire >> 3) |
| 7816 | wireType := int(wire & 0x7) |
| 7817 | if wireType == 4 { |
| 7818 | return fmt.Errorf("proto: IPBlock: wiretype end group for non-group") |
| 7819 | } |
| 7820 | if fieldNum <= 0 { |
| 7821 | return fmt.Errorf("proto: IPBlock: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7822 | } |
| 7823 | switch fieldNum { |
| 7824 | case 1: |
| 7825 | if wireType != 2 { |
| 7826 | return fmt.Errorf("proto: wrong wireType = %d for field CIDR", wireType) |
| 7827 | } |
| 7828 | var stringLen uint64 |
| 7829 | for shift := uint(0); ; shift += 7 { |
| 7830 | if shift >= 64 { |
| 7831 | return ErrIntOverflowGenerated |
| 7832 | } |
| 7833 | if iNdEx >= l { |
| 7834 | return io.ErrUnexpectedEOF |
| 7835 | } |
| 7836 | b := dAtA[iNdEx] |
| 7837 | iNdEx++ |
| 7838 | stringLen |= (uint64(b) & 0x7F) << shift |
| 7839 | if b < 0x80 { |
| 7840 | break |
| 7841 | } |
| 7842 | } |
| 7843 | intStringLen := int(stringLen) |
| 7844 | if intStringLen < 0 { |
| 7845 | return ErrInvalidLengthGenerated |
| 7846 | } |
| 7847 | postIndex := iNdEx + intStringLen |
| 7848 | if postIndex > l { |
| 7849 | return io.ErrUnexpectedEOF |
| 7850 | } |
| 7851 | m.CIDR = string(dAtA[iNdEx:postIndex]) |
| 7852 | iNdEx = postIndex |
| 7853 | case 2: |
| 7854 | if wireType != 2 { |
| 7855 | return fmt.Errorf("proto: wrong wireType = %d for field Except", wireType) |
| 7856 | } |
| 7857 | var stringLen uint64 |
| 7858 | for shift := uint(0); ; shift += 7 { |
| 7859 | if shift >= 64 { |
| 7860 | return ErrIntOverflowGenerated |
| 7861 | } |
| 7862 | if iNdEx >= l { |
| 7863 | return io.ErrUnexpectedEOF |
| 7864 | } |
| 7865 | b := dAtA[iNdEx] |
| 7866 | iNdEx++ |
| 7867 | stringLen |= (uint64(b) & 0x7F) << shift |
| 7868 | if b < 0x80 { |
| 7869 | break |
| 7870 | } |
| 7871 | } |
| 7872 | intStringLen := int(stringLen) |
| 7873 | if intStringLen < 0 { |
| 7874 | return ErrInvalidLengthGenerated |
| 7875 | } |
| 7876 | postIndex := iNdEx + intStringLen |
| 7877 | if postIndex > l { |
| 7878 | return io.ErrUnexpectedEOF |
| 7879 | } |
| 7880 | m.Except = append(m.Except, string(dAtA[iNdEx:postIndex])) |
| 7881 | iNdEx = postIndex |
| 7882 | default: |
| 7883 | iNdEx = preIndex |
| 7884 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7885 | if err != nil { |
| 7886 | return err |
| 7887 | } |
| 7888 | if skippy < 0 { |
| 7889 | return ErrInvalidLengthGenerated |
| 7890 | } |
| 7891 | if (iNdEx + skippy) > l { |
| 7892 | return io.ErrUnexpectedEOF |
| 7893 | } |
| 7894 | iNdEx += skippy |
| 7895 | } |
| 7896 | } |
| 7897 | |
| 7898 | if iNdEx > l { |
| 7899 | return io.ErrUnexpectedEOF |
| 7900 | } |
| 7901 | return nil |
| 7902 | } |
| 7903 | func (m *Ingress) Unmarshal(dAtA []byte) error { |
| 7904 | l := len(dAtA) |
| 7905 | iNdEx := 0 |
| 7906 | for iNdEx < l { |
| 7907 | preIndex := iNdEx |
| 7908 | var wire uint64 |
| 7909 | for shift := uint(0); ; shift += 7 { |
| 7910 | if shift >= 64 { |
| 7911 | return ErrIntOverflowGenerated |
| 7912 | } |
| 7913 | if iNdEx >= l { |
| 7914 | return io.ErrUnexpectedEOF |
| 7915 | } |
| 7916 | b := dAtA[iNdEx] |
| 7917 | iNdEx++ |
| 7918 | wire |= (uint64(b) & 0x7F) << shift |
| 7919 | if b < 0x80 { |
| 7920 | break |
| 7921 | } |
| 7922 | } |
| 7923 | fieldNum := int32(wire >> 3) |
| 7924 | wireType := int(wire & 0x7) |
| 7925 | if wireType == 4 { |
| 7926 | return fmt.Errorf("proto: Ingress: wiretype end group for non-group") |
| 7927 | } |
| 7928 | if fieldNum <= 0 { |
| 7929 | return fmt.Errorf("proto: Ingress: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7930 | } |
| 7931 | switch fieldNum { |
| 7932 | case 1: |
| 7933 | if wireType != 2 { |
| 7934 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 7935 | } |
| 7936 | var msglen int |
| 7937 | for shift := uint(0); ; shift += 7 { |
| 7938 | if shift >= 64 { |
| 7939 | return ErrIntOverflowGenerated |
| 7940 | } |
| 7941 | if iNdEx >= l { |
| 7942 | return io.ErrUnexpectedEOF |
| 7943 | } |
| 7944 | b := dAtA[iNdEx] |
| 7945 | iNdEx++ |
| 7946 | msglen |= (int(b) & 0x7F) << shift |
| 7947 | if b < 0x80 { |
| 7948 | break |
| 7949 | } |
| 7950 | } |
| 7951 | if msglen < 0 { |
| 7952 | return ErrInvalidLengthGenerated |
| 7953 | } |
| 7954 | postIndex := iNdEx + msglen |
| 7955 | if postIndex > l { |
| 7956 | return io.ErrUnexpectedEOF |
| 7957 | } |
| 7958 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 7959 | return err |
| 7960 | } |
| 7961 | iNdEx = postIndex |
| 7962 | case 2: |
| 7963 | if wireType != 2 { |
| 7964 | return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) |
| 7965 | } |
| 7966 | var msglen int |
| 7967 | for shift := uint(0); ; shift += 7 { |
| 7968 | if shift >= 64 { |
| 7969 | return ErrIntOverflowGenerated |
| 7970 | } |
| 7971 | if iNdEx >= l { |
| 7972 | return io.ErrUnexpectedEOF |
| 7973 | } |
| 7974 | b := dAtA[iNdEx] |
| 7975 | iNdEx++ |
| 7976 | msglen |= (int(b) & 0x7F) << shift |
| 7977 | if b < 0x80 { |
| 7978 | break |
| 7979 | } |
| 7980 | } |
| 7981 | if msglen < 0 { |
| 7982 | return ErrInvalidLengthGenerated |
| 7983 | } |
| 7984 | postIndex := iNdEx + msglen |
| 7985 | if postIndex > l { |
| 7986 | return io.ErrUnexpectedEOF |
| 7987 | } |
| 7988 | if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 7989 | return err |
| 7990 | } |
| 7991 | iNdEx = postIndex |
| 7992 | case 3: |
| 7993 | if wireType != 2 { |
| 7994 | return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 7995 | } |
| 7996 | var msglen int |
| 7997 | for shift := uint(0); ; shift += 7 { |
| 7998 | if shift >= 64 { |
| 7999 | return ErrIntOverflowGenerated |
| 8000 | } |
| 8001 | if iNdEx >= l { |
| 8002 | return io.ErrUnexpectedEOF |
| 8003 | } |
| 8004 | b := dAtA[iNdEx] |
| 8005 | iNdEx++ |
| 8006 | msglen |= (int(b) & 0x7F) << shift |
| 8007 | if b < 0x80 { |
| 8008 | break |
| 8009 | } |
| 8010 | } |
| 8011 | if msglen < 0 { |
| 8012 | return ErrInvalidLengthGenerated |
| 8013 | } |
| 8014 | postIndex := iNdEx + msglen |
| 8015 | if postIndex > l { |
| 8016 | return io.ErrUnexpectedEOF |
| 8017 | } |
| 8018 | if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8019 | return err |
| 8020 | } |
| 8021 | iNdEx = postIndex |
| 8022 | default: |
| 8023 | iNdEx = preIndex |
| 8024 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8025 | if err != nil { |
| 8026 | return err |
| 8027 | } |
| 8028 | if skippy < 0 { |
| 8029 | return ErrInvalidLengthGenerated |
| 8030 | } |
| 8031 | if (iNdEx + skippy) > l { |
| 8032 | return io.ErrUnexpectedEOF |
| 8033 | } |
| 8034 | iNdEx += skippy |
| 8035 | } |
| 8036 | } |
| 8037 | |
| 8038 | if iNdEx > l { |
| 8039 | return io.ErrUnexpectedEOF |
| 8040 | } |
| 8041 | return nil |
| 8042 | } |
| 8043 | func (m *IngressBackend) Unmarshal(dAtA []byte) error { |
| 8044 | l := len(dAtA) |
| 8045 | iNdEx := 0 |
| 8046 | for iNdEx < l { |
| 8047 | preIndex := iNdEx |
| 8048 | var wire uint64 |
| 8049 | for shift := uint(0); ; shift += 7 { |
| 8050 | if shift >= 64 { |
| 8051 | return ErrIntOverflowGenerated |
| 8052 | } |
| 8053 | if iNdEx >= l { |
| 8054 | return io.ErrUnexpectedEOF |
| 8055 | } |
| 8056 | b := dAtA[iNdEx] |
| 8057 | iNdEx++ |
| 8058 | wire |= (uint64(b) & 0x7F) << shift |
| 8059 | if b < 0x80 { |
| 8060 | break |
| 8061 | } |
| 8062 | } |
| 8063 | fieldNum := int32(wire >> 3) |
| 8064 | wireType := int(wire & 0x7) |
| 8065 | if wireType == 4 { |
| 8066 | return fmt.Errorf("proto: IngressBackend: wiretype end group for non-group") |
| 8067 | } |
| 8068 | if fieldNum <= 0 { |
| 8069 | return fmt.Errorf("proto: IngressBackend: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8070 | } |
| 8071 | switch fieldNum { |
| 8072 | case 1: |
| 8073 | if wireType != 2 { |
| 8074 | return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType) |
| 8075 | } |
| 8076 | var stringLen uint64 |
| 8077 | for shift := uint(0); ; shift += 7 { |
| 8078 | if shift >= 64 { |
| 8079 | return ErrIntOverflowGenerated |
| 8080 | } |
| 8081 | if iNdEx >= l { |
| 8082 | return io.ErrUnexpectedEOF |
| 8083 | } |
| 8084 | b := dAtA[iNdEx] |
| 8085 | iNdEx++ |
| 8086 | stringLen |= (uint64(b) & 0x7F) << shift |
| 8087 | if b < 0x80 { |
| 8088 | break |
| 8089 | } |
| 8090 | } |
| 8091 | intStringLen := int(stringLen) |
| 8092 | if intStringLen < 0 { |
| 8093 | return ErrInvalidLengthGenerated |
| 8094 | } |
| 8095 | postIndex := iNdEx + intStringLen |
| 8096 | if postIndex > l { |
| 8097 | return io.ErrUnexpectedEOF |
| 8098 | } |
| 8099 | m.ServiceName = string(dAtA[iNdEx:postIndex]) |
| 8100 | iNdEx = postIndex |
| 8101 | case 2: |
| 8102 | if wireType != 2 { |
| 8103 | return fmt.Errorf("proto: wrong wireType = %d for field ServicePort", wireType) |
| 8104 | } |
| 8105 | var msglen int |
| 8106 | for shift := uint(0); ; shift += 7 { |
| 8107 | if shift >= 64 { |
| 8108 | return ErrIntOverflowGenerated |
| 8109 | } |
| 8110 | if iNdEx >= l { |
| 8111 | return io.ErrUnexpectedEOF |
| 8112 | } |
| 8113 | b := dAtA[iNdEx] |
| 8114 | iNdEx++ |
| 8115 | msglen |= (int(b) & 0x7F) << shift |
| 8116 | if b < 0x80 { |
| 8117 | break |
| 8118 | } |
| 8119 | } |
| 8120 | if msglen < 0 { |
| 8121 | return ErrInvalidLengthGenerated |
| 8122 | } |
| 8123 | postIndex := iNdEx + msglen |
| 8124 | if postIndex > l { |
| 8125 | return io.ErrUnexpectedEOF |
| 8126 | } |
| 8127 | if err := m.ServicePort.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8128 | return err |
| 8129 | } |
| 8130 | iNdEx = postIndex |
| 8131 | default: |
| 8132 | iNdEx = preIndex |
| 8133 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8134 | if err != nil { |
| 8135 | return err |
| 8136 | } |
| 8137 | if skippy < 0 { |
| 8138 | return ErrInvalidLengthGenerated |
| 8139 | } |
| 8140 | if (iNdEx + skippy) > l { |
| 8141 | return io.ErrUnexpectedEOF |
| 8142 | } |
| 8143 | iNdEx += skippy |
| 8144 | } |
| 8145 | } |
| 8146 | |
| 8147 | if iNdEx > l { |
| 8148 | return io.ErrUnexpectedEOF |
| 8149 | } |
| 8150 | return nil |
| 8151 | } |
| 8152 | func (m *IngressList) Unmarshal(dAtA []byte) error { |
| 8153 | l := len(dAtA) |
| 8154 | iNdEx := 0 |
| 8155 | for iNdEx < l { |
| 8156 | preIndex := iNdEx |
| 8157 | var wire uint64 |
| 8158 | for shift := uint(0); ; shift += 7 { |
| 8159 | if shift >= 64 { |
| 8160 | return ErrIntOverflowGenerated |
| 8161 | } |
| 8162 | if iNdEx >= l { |
| 8163 | return io.ErrUnexpectedEOF |
| 8164 | } |
| 8165 | b := dAtA[iNdEx] |
| 8166 | iNdEx++ |
| 8167 | wire |= (uint64(b) & 0x7F) << shift |
| 8168 | if b < 0x80 { |
| 8169 | break |
| 8170 | } |
| 8171 | } |
| 8172 | fieldNum := int32(wire >> 3) |
| 8173 | wireType := int(wire & 0x7) |
| 8174 | if wireType == 4 { |
| 8175 | return fmt.Errorf("proto: IngressList: wiretype end group for non-group") |
| 8176 | } |
| 8177 | if fieldNum <= 0 { |
| 8178 | return fmt.Errorf("proto: IngressList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8179 | } |
| 8180 | switch fieldNum { |
| 8181 | case 1: |
| 8182 | if wireType != 2 { |
| 8183 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 8184 | } |
| 8185 | var msglen int |
| 8186 | for shift := uint(0); ; shift += 7 { |
| 8187 | if shift >= 64 { |
| 8188 | return ErrIntOverflowGenerated |
| 8189 | } |
| 8190 | if iNdEx >= l { |
| 8191 | return io.ErrUnexpectedEOF |
| 8192 | } |
| 8193 | b := dAtA[iNdEx] |
| 8194 | iNdEx++ |
| 8195 | msglen |= (int(b) & 0x7F) << shift |
| 8196 | if b < 0x80 { |
| 8197 | break |
| 8198 | } |
| 8199 | } |
| 8200 | if msglen < 0 { |
| 8201 | return ErrInvalidLengthGenerated |
| 8202 | } |
| 8203 | postIndex := iNdEx + msglen |
| 8204 | if postIndex > l { |
| 8205 | return io.ErrUnexpectedEOF |
| 8206 | } |
| 8207 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8208 | return err |
| 8209 | } |
| 8210 | iNdEx = postIndex |
| 8211 | case 2: |
| 8212 | if wireType != 2 { |
| 8213 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 8214 | } |
| 8215 | var msglen int |
| 8216 | for shift := uint(0); ; shift += 7 { |
| 8217 | if shift >= 64 { |
| 8218 | return ErrIntOverflowGenerated |
| 8219 | } |
| 8220 | if iNdEx >= l { |
| 8221 | return io.ErrUnexpectedEOF |
| 8222 | } |
| 8223 | b := dAtA[iNdEx] |
| 8224 | iNdEx++ |
| 8225 | msglen |= (int(b) & 0x7F) << shift |
| 8226 | if b < 0x80 { |
| 8227 | break |
| 8228 | } |
| 8229 | } |
| 8230 | if msglen < 0 { |
| 8231 | return ErrInvalidLengthGenerated |
| 8232 | } |
| 8233 | postIndex := iNdEx + msglen |
| 8234 | if postIndex > l { |
| 8235 | return io.ErrUnexpectedEOF |
| 8236 | } |
| 8237 | m.Items = append(m.Items, Ingress{}) |
| 8238 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8239 | return err |
| 8240 | } |
| 8241 | iNdEx = postIndex |
| 8242 | default: |
| 8243 | iNdEx = preIndex |
| 8244 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8245 | if err != nil { |
| 8246 | return err |
| 8247 | } |
| 8248 | if skippy < 0 { |
| 8249 | return ErrInvalidLengthGenerated |
| 8250 | } |
| 8251 | if (iNdEx + skippy) > l { |
| 8252 | return io.ErrUnexpectedEOF |
| 8253 | } |
| 8254 | iNdEx += skippy |
| 8255 | } |
| 8256 | } |
| 8257 | |
| 8258 | if iNdEx > l { |
| 8259 | return io.ErrUnexpectedEOF |
| 8260 | } |
| 8261 | return nil |
| 8262 | } |
| 8263 | func (m *IngressRule) Unmarshal(dAtA []byte) error { |
| 8264 | l := len(dAtA) |
| 8265 | iNdEx := 0 |
| 8266 | for iNdEx < l { |
| 8267 | preIndex := iNdEx |
| 8268 | var wire uint64 |
| 8269 | for shift := uint(0); ; shift += 7 { |
| 8270 | if shift >= 64 { |
| 8271 | return ErrIntOverflowGenerated |
| 8272 | } |
| 8273 | if iNdEx >= l { |
| 8274 | return io.ErrUnexpectedEOF |
| 8275 | } |
| 8276 | b := dAtA[iNdEx] |
| 8277 | iNdEx++ |
| 8278 | wire |= (uint64(b) & 0x7F) << shift |
| 8279 | if b < 0x80 { |
| 8280 | break |
| 8281 | } |
| 8282 | } |
| 8283 | fieldNum := int32(wire >> 3) |
| 8284 | wireType := int(wire & 0x7) |
| 8285 | if wireType == 4 { |
| 8286 | return fmt.Errorf("proto: IngressRule: wiretype end group for non-group") |
| 8287 | } |
| 8288 | if fieldNum <= 0 { |
| 8289 | return fmt.Errorf("proto: IngressRule: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8290 | } |
| 8291 | switch fieldNum { |
| 8292 | case 1: |
| 8293 | if wireType != 2 { |
| 8294 | return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType) |
| 8295 | } |
| 8296 | var stringLen uint64 |
| 8297 | for shift := uint(0); ; shift += 7 { |
| 8298 | if shift >= 64 { |
| 8299 | return ErrIntOverflowGenerated |
| 8300 | } |
| 8301 | if iNdEx >= l { |
| 8302 | return io.ErrUnexpectedEOF |
| 8303 | } |
| 8304 | b := dAtA[iNdEx] |
| 8305 | iNdEx++ |
| 8306 | stringLen |= (uint64(b) & 0x7F) << shift |
| 8307 | if b < 0x80 { |
| 8308 | break |
| 8309 | } |
| 8310 | } |
| 8311 | intStringLen := int(stringLen) |
| 8312 | if intStringLen < 0 { |
| 8313 | return ErrInvalidLengthGenerated |
| 8314 | } |
| 8315 | postIndex := iNdEx + intStringLen |
| 8316 | if postIndex > l { |
| 8317 | return io.ErrUnexpectedEOF |
| 8318 | } |
| 8319 | m.Host = string(dAtA[iNdEx:postIndex]) |
| 8320 | iNdEx = postIndex |
| 8321 | case 2: |
| 8322 | if wireType != 2 { |
| 8323 | return fmt.Errorf("proto: wrong wireType = %d for field IngressRuleValue", wireType) |
| 8324 | } |
| 8325 | var msglen int |
| 8326 | for shift := uint(0); ; shift += 7 { |
| 8327 | if shift >= 64 { |
| 8328 | return ErrIntOverflowGenerated |
| 8329 | } |
| 8330 | if iNdEx >= l { |
| 8331 | return io.ErrUnexpectedEOF |
| 8332 | } |
| 8333 | b := dAtA[iNdEx] |
| 8334 | iNdEx++ |
| 8335 | msglen |= (int(b) & 0x7F) << shift |
| 8336 | if b < 0x80 { |
| 8337 | break |
| 8338 | } |
| 8339 | } |
| 8340 | if msglen < 0 { |
| 8341 | return ErrInvalidLengthGenerated |
| 8342 | } |
| 8343 | postIndex := iNdEx + msglen |
| 8344 | if postIndex > l { |
| 8345 | return io.ErrUnexpectedEOF |
| 8346 | } |
| 8347 | if err := m.IngressRuleValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8348 | return err |
| 8349 | } |
| 8350 | iNdEx = postIndex |
| 8351 | default: |
| 8352 | iNdEx = preIndex |
| 8353 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8354 | if err != nil { |
| 8355 | return err |
| 8356 | } |
| 8357 | if skippy < 0 { |
| 8358 | return ErrInvalidLengthGenerated |
| 8359 | } |
| 8360 | if (iNdEx + skippy) > l { |
| 8361 | return io.ErrUnexpectedEOF |
| 8362 | } |
| 8363 | iNdEx += skippy |
| 8364 | } |
| 8365 | } |
| 8366 | |
| 8367 | if iNdEx > l { |
| 8368 | return io.ErrUnexpectedEOF |
| 8369 | } |
| 8370 | return nil |
| 8371 | } |
| 8372 | func (m *IngressRuleValue) Unmarshal(dAtA []byte) error { |
| 8373 | l := len(dAtA) |
| 8374 | iNdEx := 0 |
| 8375 | for iNdEx < l { |
| 8376 | preIndex := iNdEx |
| 8377 | var wire uint64 |
| 8378 | for shift := uint(0); ; shift += 7 { |
| 8379 | if shift >= 64 { |
| 8380 | return ErrIntOverflowGenerated |
| 8381 | } |
| 8382 | if iNdEx >= l { |
| 8383 | return io.ErrUnexpectedEOF |
| 8384 | } |
| 8385 | b := dAtA[iNdEx] |
| 8386 | iNdEx++ |
| 8387 | wire |= (uint64(b) & 0x7F) << shift |
| 8388 | if b < 0x80 { |
| 8389 | break |
| 8390 | } |
| 8391 | } |
| 8392 | fieldNum := int32(wire >> 3) |
| 8393 | wireType := int(wire & 0x7) |
| 8394 | if wireType == 4 { |
| 8395 | return fmt.Errorf("proto: IngressRuleValue: wiretype end group for non-group") |
| 8396 | } |
| 8397 | if fieldNum <= 0 { |
| 8398 | return fmt.Errorf("proto: IngressRuleValue: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8399 | } |
| 8400 | switch fieldNum { |
| 8401 | case 1: |
| 8402 | if wireType != 2 { |
| 8403 | return fmt.Errorf("proto: wrong wireType = %d for field HTTP", wireType) |
| 8404 | } |
| 8405 | var msglen int |
| 8406 | for shift := uint(0); ; shift += 7 { |
| 8407 | if shift >= 64 { |
| 8408 | return ErrIntOverflowGenerated |
| 8409 | } |
| 8410 | if iNdEx >= l { |
| 8411 | return io.ErrUnexpectedEOF |
| 8412 | } |
| 8413 | b := dAtA[iNdEx] |
| 8414 | iNdEx++ |
| 8415 | msglen |= (int(b) & 0x7F) << shift |
| 8416 | if b < 0x80 { |
| 8417 | break |
| 8418 | } |
| 8419 | } |
| 8420 | if msglen < 0 { |
| 8421 | return ErrInvalidLengthGenerated |
| 8422 | } |
| 8423 | postIndex := iNdEx + msglen |
| 8424 | if postIndex > l { |
| 8425 | return io.ErrUnexpectedEOF |
| 8426 | } |
| 8427 | if m.HTTP == nil { |
| 8428 | m.HTTP = &HTTPIngressRuleValue{} |
| 8429 | } |
| 8430 | if err := m.HTTP.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8431 | return err |
| 8432 | } |
| 8433 | iNdEx = postIndex |
| 8434 | default: |
| 8435 | iNdEx = preIndex |
| 8436 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8437 | if err != nil { |
| 8438 | return err |
| 8439 | } |
| 8440 | if skippy < 0 { |
| 8441 | return ErrInvalidLengthGenerated |
| 8442 | } |
| 8443 | if (iNdEx + skippy) > l { |
| 8444 | return io.ErrUnexpectedEOF |
| 8445 | } |
| 8446 | iNdEx += skippy |
| 8447 | } |
| 8448 | } |
| 8449 | |
| 8450 | if iNdEx > l { |
| 8451 | return io.ErrUnexpectedEOF |
| 8452 | } |
| 8453 | return nil |
| 8454 | } |
| 8455 | func (m *IngressSpec) Unmarshal(dAtA []byte) error { |
| 8456 | l := len(dAtA) |
| 8457 | iNdEx := 0 |
| 8458 | for iNdEx < l { |
| 8459 | preIndex := iNdEx |
| 8460 | var wire uint64 |
| 8461 | for shift := uint(0); ; shift += 7 { |
| 8462 | if shift >= 64 { |
| 8463 | return ErrIntOverflowGenerated |
| 8464 | } |
| 8465 | if iNdEx >= l { |
| 8466 | return io.ErrUnexpectedEOF |
| 8467 | } |
| 8468 | b := dAtA[iNdEx] |
| 8469 | iNdEx++ |
| 8470 | wire |= (uint64(b) & 0x7F) << shift |
| 8471 | if b < 0x80 { |
| 8472 | break |
| 8473 | } |
| 8474 | } |
| 8475 | fieldNum := int32(wire >> 3) |
| 8476 | wireType := int(wire & 0x7) |
| 8477 | if wireType == 4 { |
| 8478 | return fmt.Errorf("proto: IngressSpec: wiretype end group for non-group") |
| 8479 | } |
| 8480 | if fieldNum <= 0 { |
| 8481 | return fmt.Errorf("proto: IngressSpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8482 | } |
| 8483 | switch fieldNum { |
| 8484 | case 1: |
| 8485 | if wireType != 2 { |
| 8486 | return fmt.Errorf("proto: wrong wireType = %d for field Backend", wireType) |
| 8487 | } |
| 8488 | var msglen int |
| 8489 | for shift := uint(0); ; shift += 7 { |
| 8490 | if shift >= 64 { |
| 8491 | return ErrIntOverflowGenerated |
| 8492 | } |
| 8493 | if iNdEx >= l { |
| 8494 | return io.ErrUnexpectedEOF |
| 8495 | } |
| 8496 | b := dAtA[iNdEx] |
| 8497 | iNdEx++ |
| 8498 | msglen |= (int(b) & 0x7F) << shift |
| 8499 | if b < 0x80 { |
| 8500 | break |
| 8501 | } |
| 8502 | } |
| 8503 | if msglen < 0 { |
| 8504 | return ErrInvalidLengthGenerated |
| 8505 | } |
| 8506 | postIndex := iNdEx + msglen |
| 8507 | if postIndex > l { |
| 8508 | return io.ErrUnexpectedEOF |
| 8509 | } |
| 8510 | if m.Backend == nil { |
| 8511 | m.Backend = &IngressBackend{} |
| 8512 | } |
| 8513 | if err := m.Backend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8514 | return err |
| 8515 | } |
| 8516 | iNdEx = postIndex |
| 8517 | case 2: |
| 8518 | if wireType != 2 { |
| 8519 | return fmt.Errorf("proto: wrong wireType = %d for field TLS", wireType) |
| 8520 | } |
| 8521 | var msglen int |
| 8522 | for shift := uint(0); ; shift += 7 { |
| 8523 | if shift >= 64 { |
| 8524 | return ErrIntOverflowGenerated |
| 8525 | } |
| 8526 | if iNdEx >= l { |
| 8527 | return io.ErrUnexpectedEOF |
| 8528 | } |
| 8529 | b := dAtA[iNdEx] |
| 8530 | iNdEx++ |
| 8531 | msglen |= (int(b) & 0x7F) << shift |
| 8532 | if b < 0x80 { |
| 8533 | break |
| 8534 | } |
| 8535 | } |
| 8536 | if msglen < 0 { |
| 8537 | return ErrInvalidLengthGenerated |
| 8538 | } |
| 8539 | postIndex := iNdEx + msglen |
| 8540 | if postIndex > l { |
| 8541 | return io.ErrUnexpectedEOF |
| 8542 | } |
| 8543 | m.TLS = append(m.TLS, IngressTLS{}) |
| 8544 | if err := m.TLS[len(m.TLS)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8545 | return err |
| 8546 | } |
| 8547 | iNdEx = postIndex |
| 8548 | case 3: |
| 8549 | if wireType != 2 { |
| 8550 | return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType) |
| 8551 | } |
| 8552 | var msglen int |
| 8553 | for shift := uint(0); ; shift += 7 { |
| 8554 | if shift >= 64 { |
| 8555 | return ErrIntOverflowGenerated |
| 8556 | } |
| 8557 | if iNdEx >= l { |
| 8558 | return io.ErrUnexpectedEOF |
| 8559 | } |
| 8560 | b := dAtA[iNdEx] |
| 8561 | iNdEx++ |
| 8562 | msglen |= (int(b) & 0x7F) << shift |
| 8563 | if b < 0x80 { |
| 8564 | break |
| 8565 | } |
| 8566 | } |
| 8567 | if msglen < 0 { |
| 8568 | return ErrInvalidLengthGenerated |
| 8569 | } |
| 8570 | postIndex := iNdEx + msglen |
| 8571 | if postIndex > l { |
| 8572 | return io.ErrUnexpectedEOF |
| 8573 | } |
| 8574 | m.Rules = append(m.Rules, IngressRule{}) |
| 8575 | if err := m.Rules[len(m.Rules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8576 | return err |
| 8577 | } |
| 8578 | iNdEx = postIndex |
| 8579 | default: |
| 8580 | iNdEx = preIndex |
| 8581 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8582 | if err != nil { |
| 8583 | return err |
| 8584 | } |
| 8585 | if skippy < 0 { |
| 8586 | return ErrInvalidLengthGenerated |
| 8587 | } |
| 8588 | if (iNdEx + skippy) > l { |
| 8589 | return io.ErrUnexpectedEOF |
| 8590 | } |
| 8591 | iNdEx += skippy |
| 8592 | } |
| 8593 | } |
| 8594 | |
| 8595 | if iNdEx > l { |
| 8596 | return io.ErrUnexpectedEOF |
| 8597 | } |
| 8598 | return nil |
| 8599 | } |
| 8600 | func (m *IngressStatus) Unmarshal(dAtA []byte) error { |
| 8601 | l := len(dAtA) |
| 8602 | iNdEx := 0 |
| 8603 | for iNdEx < l { |
| 8604 | preIndex := iNdEx |
| 8605 | var wire uint64 |
| 8606 | for shift := uint(0); ; shift += 7 { |
| 8607 | if shift >= 64 { |
| 8608 | return ErrIntOverflowGenerated |
| 8609 | } |
| 8610 | if iNdEx >= l { |
| 8611 | return io.ErrUnexpectedEOF |
| 8612 | } |
| 8613 | b := dAtA[iNdEx] |
| 8614 | iNdEx++ |
| 8615 | wire |= (uint64(b) & 0x7F) << shift |
| 8616 | if b < 0x80 { |
| 8617 | break |
| 8618 | } |
| 8619 | } |
| 8620 | fieldNum := int32(wire >> 3) |
| 8621 | wireType := int(wire & 0x7) |
| 8622 | if wireType == 4 { |
| 8623 | return fmt.Errorf("proto: IngressStatus: wiretype end group for non-group") |
| 8624 | } |
| 8625 | if fieldNum <= 0 { |
| 8626 | return fmt.Errorf("proto: IngressStatus: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8627 | } |
| 8628 | switch fieldNum { |
| 8629 | case 1: |
| 8630 | if wireType != 2 { |
| 8631 | return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancer", wireType) |
| 8632 | } |
| 8633 | var msglen int |
| 8634 | for shift := uint(0); ; shift += 7 { |
| 8635 | if shift >= 64 { |
| 8636 | return ErrIntOverflowGenerated |
| 8637 | } |
| 8638 | if iNdEx >= l { |
| 8639 | return io.ErrUnexpectedEOF |
| 8640 | } |
| 8641 | b := dAtA[iNdEx] |
| 8642 | iNdEx++ |
| 8643 | msglen |= (int(b) & 0x7F) << shift |
| 8644 | if b < 0x80 { |
| 8645 | break |
| 8646 | } |
| 8647 | } |
| 8648 | if msglen < 0 { |
| 8649 | return ErrInvalidLengthGenerated |
| 8650 | } |
| 8651 | postIndex := iNdEx + msglen |
| 8652 | if postIndex > l { |
| 8653 | return io.ErrUnexpectedEOF |
| 8654 | } |
| 8655 | if err := m.LoadBalancer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8656 | return err |
| 8657 | } |
| 8658 | iNdEx = postIndex |
| 8659 | default: |
| 8660 | iNdEx = preIndex |
| 8661 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8662 | if err != nil { |
| 8663 | return err |
| 8664 | } |
| 8665 | if skippy < 0 { |
| 8666 | return ErrInvalidLengthGenerated |
| 8667 | } |
| 8668 | if (iNdEx + skippy) > l { |
| 8669 | return io.ErrUnexpectedEOF |
| 8670 | } |
| 8671 | iNdEx += skippy |
| 8672 | } |
| 8673 | } |
| 8674 | |
| 8675 | if iNdEx > l { |
| 8676 | return io.ErrUnexpectedEOF |
| 8677 | } |
| 8678 | return nil |
| 8679 | } |
| 8680 | func (m *IngressTLS) Unmarshal(dAtA []byte) error { |
| 8681 | l := len(dAtA) |
| 8682 | iNdEx := 0 |
| 8683 | for iNdEx < l { |
| 8684 | preIndex := iNdEx |
| 8685 | var wire uint64 |
| 8686 | for shift := uint(0); ; shift += 7 { |
| 8687 | if shift >= 64 { |
| 8688 | return ErrIntOverflowGenerated |
| 8689 | } |
| 8690 | if iNdEx >= l { |
| 8691 | return io.ErrUnexpectedEOF |
| 8692 | } |
| 8693 | b := dAtA[iNdEx] |
| 8694 | iNdEx++ |
| 8695 | wire |= (uint64(b) & 0x7F) << shift |
| 8696 | if b < 0x80 { |
| 8697 | break |
| 8698 | } |
| 8699 | } |
| 8700 | fieldNum := int32(wire >> 3) |
| 8701 | wireType := int(wire & 0x7) |
| 8702 | if wireType == 4 { |
| 8703 | return fmt.Errorf("proto: IngressTLS: wiretype end group for non-group") |
| 8704 | } |
| 8705 | if fieldNum <= 0 { |
| 8706 | return fmt.Errorf("proto: IngressTLS: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8707 | } |
| 8708 | switch fieldNum { |
| 8709 | case 1: |
| 8710 | if wireType != 2 { |
| 8711 | return fmt.Errorf("proto: wrong wireType = %d for field Hosts", wireType) |
| 8712 | } |
| 8713 | var stringLen uint64 |
| 8714 | for shift := uint(0); ; shift += 7 { |
| 8715 | if shift >= 64 { |
| 8716 | return ErrIntOverflowGenerated |
| 8717 | } |
| 8718 | if iNdEx >= l { |
| 8719 | return io.ErrUnexpectedEOF |
| 8720 | } |
| 8721 | b := dAtA[iNdEx] |
| 8722 | iNdEx++ |
| 8723 | stringLen |= (uint64(b) & 0x7F) << shift |
| 8724 | if b < 0x80 { |
| 8725 | break |
| 8726 | } |
| 8727 | } |
| 8728 | intStringLen := int(stringLen) |
| 8729 | if intStringLen < 0 { |
| 8730 | return ErrInvalidLengthGenerated |
| 8731 | } |
| 8732 | postIndex := iNdEx + intStringLen |
| 8733 | if postIndex > l { |
| 8734 | return io.ErrUnexpectedEOF |
| 8735 | } |
| 8736 | m.Hosts = append(m.Hosts, string(dAtA[iNdEx:postIndex])) |
| 8737 | iNdEx = postIndex |
| 8738 | case 2: |
| 8739 | if wireType != 2 { |
| 8740 | return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType) |
| 8741 | } |
| 8742 | var stringLen uint64 |
| 8743 | for shift := uint(0); ; shift += 7 { |
| 8744 | if shift >= 64 { |
| 8745 | return ErrIntOverflowGenerated |
| 8746 | } |
| 8747 | if iNdEx >= l { |
| 8748 | return io.ErrUnexpectedEOF |
| 8749 | } |
| 8750 | b := dAtA[iNdEx] |
| 8751 | iNdEx++ |
| 8752 | stringLen |= (uint64(b) & 0x7F) << shift |
| 8753 | if b < 0x80 { |
| 8754 | break |
| 8755 | } |
| 8756 | } |
| 8757 | intStringLen := int(stringLen) |
| 8758 | if intStringLen < 0 { |
| 8759 | return ErrInvalidLengthGenerated |
| 8760 | } |
| 8761 | postIndex := iNdEx + intStringLen |
| 8762 | if postIndex > l { |
| 8763 | return io.ErrUnexpectedEOF |
| 8764 | } |
| 8765 | m.SecretName = string(dAtA[iNdEx:postIndex]) |
| 8766 | iNdEx = postIndex |
| 8767 | default: |
| 8768 | iNdEx = preIndex |
| 8769 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8770 | if err != nil { |
| 8771 | return err |
| 8772 | } |
| 8773 | if skippy < 0 { |
| 8774 | return ErrInvalidLengthGenerated |
| 8775 | } |
| 8776 | if (iNdEx + skippy) > l { |
| 8777 | return io.ErrUnexpectedEOF |
| 8778 | } |
| 8779 | iNdEx += skippy |
| 8780 | } |
| 8781 | } |
| 8782 | |
| 8783 | if iNdEx > l { |
| 8784 | return io.ErrUnexpectedEOF |
| 8785 | } |
| 8786 | return nil |
| 8787 | } |
| 8788 | func (m *NetworkPolicy) Unmarshal(dAtA []byte) error { |
| 8789 | l := len(dAtA) |
| 8790 | iNdEx := 0 |
| 8791 | for iNdEx < l { |
| 8792 | preIndex := iNdEx |
| 8793 | var wire uint64 |
| 8794 | for shift := uint(0); ; shift += 7 { |
| 8795 | if shift >= 64 { |
| 8796 | return ErrIntOverflowGenerated |
| 8797 | } |
| 8798 | if iNdEx >= l { |
| 8799 | return io.ErrUnexpectedEOF |
| 8800 | } |
| 8801 | b := dAtA[iNdEx] |
| 8802 | iNdEx++ |
| 8803 | wire |= (uint64(b) & 0x7F) << shift |
| 8804 | if b < 0x80 { |
| 8805 | break |
| 8806 | } |
| 8807 | } |
| 8808 | fieldNum := int32(wire >> 3) |
| 8809 | wireType := int(wire & 0x7) |
| 8810 | if wireType == 4 { |
| 8811 | return fmt.Errorf("proto: NetworkPolicy: wiretype end group for non-group") |
| 8812 | } |
| 8813 | if fieldNum <= 0 { |
| 8814 | return fmt.Errorf("proto: NetworkPolicy: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8815 | } |
| 8816 | switch fieldNum { |
| 8817 | case 1: |
| 8818 | if wireType != 2 { |
| 8819 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 8820 | } |
| 8821 | var msglen int |
| 8822 | for shift := uint(0); ; shift += 7 { |
| 8823 | if shift >= 64 { |
| 8824 | return ErrIntOverflowGenerated |
| 8825 | } |
| 8826 | if iNdEx >= l { |
| 8827 | return io.ErrUnexpectedEOF |
| 8828 | } |
| 8829 | b := dAtA[iNdEx] |
| 8830 | iNdEx++ |
| 8831 | msglen |= (int(b) & 0x7F) << shift |
| 8832 | if b < 0x80 { |
| 8833 | break |
| 8834 | } |
| 8835 | } |
| 8836 | if msglen < 0 { |
| 8837 | return ErrInvalidLengthGenerated |
| 8838 | } |
| 8839 | postIndex := iNdEx + msglen |
| 8840 | if postIndex > l { |
| 8841 | return io.ErrUnexpectedEOF |
| 8842 | } |
| 8843 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8844 | return err |
| 8845 | } |
| 8846 | iNdEx = postIndex |
| 8847 | case 2: |
| 8848 | if wireType != 2 { |
| 8849 | return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) |
| 8850 | } |
| 8851 | var msglen int |
| 8852 | for shift := uint(0); ; shift += 7 { |
| 8853 | if shift >= 64 { |
| 8854 | return ErrIntOverflowGenerated |
| 8855 | } |
| 8856 | if iNdEx >= l { |
| 8857 | return io.ErrUnexpectedEOF |
| 8858 | } |
| 8859 | b := dAtA[iNdEx] |
| 8860 | iNdEx++ |
| 8861 | msglen |= (int(b) & 0x7F) << shift |
| 8862 | if b < 0x80 { |
| 8863 | break |
| 8864 | } |
| 8865 | } |
| 8866 | if msglen < 0 { |
| 8867 | return ErrInvalidLengthGenerated |
| 8868 | } |
| 8869 | postIndex := iNdEx + msglen |
| 8870 | if postIndex > l { |
| 8871 | return io.ErrUnexpectedEOF |
| 8872 | } |
| 8873 | if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8874 | return err |
| 8875 | } |
| 8876 | iNdEx = postIndex |
| 8877 | default: |
| 8878 | iNdEx = preIndex |
| 8879 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8880 | if err != nil { |
| 8881 | return err |
| 8882 | } |
| 8883 | if skippy < 0 { |
| 8884 | return ErrInvalidLengthGenerated |
| 8885 | } |
| 8886 | if (iNdEx + skippy) > l { |
| 8887 | return io.ErrUnexpectedEOF |
| 8888 | } |
| 8889 | iNdEx += skippy |
| 8890 | } |
| 8891 | } |
| 8892 | |
| 8893 | if iNdEx > l { |
| 8894 | return io.ErrUnexpectedEOF |
| 8895 | } |
| 8896 | return nil |
| 8897 | } |
| 8898 | func (m *NetworkPolicyEgressRule) Unmarshal(dAtA []byte) error { |
| 8899 | l := len(dAtA) |
| 8900 | iNdEx := 0 |
| 8901 | for iNdEx < l { |
| 8902 | preIndex := iNdEx |
| 8903 | var wire uint64 |
| 8904 | for shift := uint(0); ; shift += 7 { |
| 8905 | if shift >= 64 { |
| 8906 | return ErrIntOverflowGenerated |
| 8907 | } |
| 8908 | if iNdEx >= l { |
| 8909 | return io.ErrUnexpectedEOF |
| 8910 | } |
| 8911 | b := dAtA[iNdEx] |
| 8912 | iNdEx++ |
| 8913 | wire |= (uint64(b) & 0x7F) << shift |
| 8914 | if b < 0x80 { |
| 8915 | break |
| 8916 | } |
| 8917 | } |
| 8918 | fieldNum := int32(wire >> 3) |
| 8919 | wireType := int(wire & 0x7) |
| 8920 | if wireType == 4 { |
| 8921 | return fmt.Errorf("proto: NetworkPolicyEgressRule: wiretype end group for non-group") |
| 8922 | } |
| 8923 | if fieldNum <= 0 { |
| 8924 | return fmt.Errorf("proto: NetworkPolicyEgressRule: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8925 | } |
| 8926 | switch fieldNum { |
| 8927 | case 1: |
| 8928 | if wireType != 2 { |
| 8929 | return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType) |
| 8930 | } |
| 8931 | var msglen int |
| 8932 | for shift := uint(0); ; shift += 7 { |
| 8933 | if shift >= 64 { |
| 8934 | return ErrIntOverflowGenerated |
| 8935 | } |
| 8936 | if iNdEx >= l { |
| 8937 | return io.ErrUnexpectedEOF |
| 8938 | } |
| 8939 | b := dAtA[iNdEx] |
| 8940 | iNdEx++ |
| 8941 | msglen |= (int(b) & 0x7F) << shift |
| 8942 | if b < 0x80 { |
| 8943 | break |
| 8944 | } |
| 8945 | } |
| 8946 | if msglen < 0 { |
| 8947 | return ErrInvalidLengthGenerated |
| 8948 | } |
| 8949 | postIndex := iNdEx + msglen |
| 8950 | if postIndex > l { |
| 8951 | return io.ErrUnexpectedEOF |
| 8952 | } |
| 8953 | m.Ports = append(m.Ports, NetworkPolicyPort{}) |
| 8954 | if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8955 | return err |
| 8956 | } |
| 8957 | iNdEx = postIndex |
| 8958 | case 2: |
| 8959 | if wireType != 2 { |
| 8960 | return fmt.Errorf("proto: wrong wireType = %d for field To", wireType) |
| 8961 | } |
| 8962 | var msglen int |
| 8963 | for shift := uint(0); ; shift += 7 { |
| 8964 | if shift >= 64 { |
| 8965 | return ErrIntOverflowGenerated |
| 8966 | } |
| 8967 | if iNdEx >= l { |
| 8968 | return io.ErrUnexpectedEOF |
| 8969 | } |
| 8970 | b := dAtA[iNdEx] |
| 8971 | iNdEx++ |
| 8972 | msglen |= (int(b) & 0x7F) << shift |
| 8973 | if b < 0x80 { |
| 8974 | break |
| 8975 | } |
| 8976 | } |
| 8977 | if msglen < 0 { |
| 8978 | return ErrInvalidLengthGenerated |
| 8979 | } |
| 8980 | postIndex := iNdEx + msglen |
| 8981 | if postIndex > l { |
| 8982 | return io.ErrUnexpectedEOF |
| 8983 | } |
| 8984 | m.To = append(m.To, NetworkPolicyPeer{}) |
| 8985 | if err := m.To[len(m.To)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8986 | return err |
| 8987 | } |
| 8988 | iNdEx = postIndex |
| 8989 | default: |
| 8990 | iNdEx = preIndex |
| 8991 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8992 | if err != nil { |
| 8993 | return err |
| 8994 | } |
| 8995 | if skippy < 0 { |
| 8996 | return ErrInvalidLengthGenerated |
| 8997 | } |
| 8998 | if (iNdEx + skippy) > l { |
| 8999 | return io.ErrUnexpectedEOF |
| 9000 | } |
| 9001 | iNdEx += skippy |
| 9002 | } |
| 9003 | } |
| 9004 | |
| 9005 | if iNdEx > l { |
| 9006 | return io.ErrUnexpectedEOF |
| 9007 | } |
| 9008 | return nil |
| 9009 | } |
| 9010 | func (m *NetworkPolicyIngressRule) Unmarshal(dAtA []byte) error { |
| 9011 | l := len(dAtA) |
| 9012 | iNdEx := 0 |
| 9013 | for iNdEx < l { |
| 9014 | preIndex := iNdEx |
| 9015 | var wire uint64 |
| 9016 | for shift := uint(0); ; shift += 7 { |
| 9017 | if shift >= 64 { |
| 9018 | return ErrIntOverflowGenerated |
| 9019 | } |
| 9020 | if iNdEx >= l { |
| 9021 | return io.ErrUnexpectedEOF |
| 9022 | } |
| 9023 | b := dAtA[iNdEx] |
| 9024 | iNdEx++ |
| 9025 | wire |= (uint64(b) & 0x7F) << shift |
| 9026 | if b < 0x80 { |
| 9027 | break |
| 9028 | } |
| 9029 | } |
| 9030 | fieldNum := int32(wire >> 3) |
| 9031 | wireType := int(wire & 0x7) |
| 9032 | if wireType == 4 { |
| 9033 | return fmt.Errorf("proto: NetworkPolicyIngressRule: wiretype end group for non-group") |
| 9034 | } |
| 9035 | if fieldNum <= 0 { |
| 9036 | return fmt.Errorf("proto: NetworkPolicyIngressRule: illegal tag %d (wire type %d)", fieldNum, wire) |
| 9037 | } |
| 9038 | switch fieldNum { |
| 9039 | case 1: |
| 9040 | if wireType != 2 { |
| 9041 | return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType) |
| 9042 | } |
| 9043 | var msglen int |
| 9044 | for shift := uint(0); ; shift += 7 { |
| 9045 | if shift >= 64 { |
| 9046 | return ErrIntOverflowGenerated |
| 9047 | } |
| 9048 | if iNdEx >= l { |
| 9049 | return io.ErrUnexpectedEOF |
| 9050 | } |
| 9051 | b := dAtA[iNdEx] |
| 9052 | iNdEx++ |
| 9053 | msglen |= (int(b) & 0x7F) << shift |
| 9054 | if b < 0x80 { |
| 9055 | break |
| 9056 | } |
| 9057 | } |
| 9058 | if msglen < 0 { |
| 9059 | return ErrInvalidLengthGenerated |
| 9060 | } |
| 9061 | postIndex := iNdEx + msglen |
| 9062 | if postIndex > l { |
| 9063 | return io.ErrUnexpectedEOF |
| 9064 | } |
| 9065 | m.Ports = append(m.Ports, NetworkPolicyPort{}) |
| 9066 | if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9067 | return err |
| 9068 | } |
| 9069 | iNdEx = postIndex |
| 9070 | case 2: |
| 9071 | if wireType != 2 { |
| 9072 | return fmt.Errorf("proto: wrong wireType = %d for field From", wireType) |
| 9073 | } |
| 9074 | var msglen int |
| 9075 | for shift := uint(0); ; shift += 7 { |
| 9076 | if shift >= 64 { |
| 9077 | return ErrIntOverflowGenerated |
| 9078 | } |
| 9079 | if iNdEx >= l { |
| 9080 | return io.ErrUnexpectedEOF |
| 9081 | } |
| 9082 | b := dAtA[iNdEx] |
| 9083 | iNdEx++ |
| 9084 | msglen |= (int(b) & 0x7F) << shift |
| 9085 | if b < 0x80 { |
| 9086 | break |
| 9087 | } |
| 9088 | } |
| 9089 | if msglen < 0 { |
| 9090 | return ErrInvalidLengthGenerated |
| 9091 | } |
| 9092 | postIndex := iNdEx + msglen |
| 9093 | if postIndex > l { |
| 9094 | return io.ErrUnexpectedEOF |
| 9095 | } |
| 9096 | m.From = append(m.From, NetworkPolicyPeer{}) |
| 9097 | if err := m.From[len(m.From)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9098 | return err |
| 9099 | } |
| 9100 | iNdEx = postIndex |
| 9101 | default: |
| 9102 | iNdEx = preIndex |
| 9103 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 9104 | if err != nil { |
| 9105 | return err |
| 9106 | } |
| 9107 | if skippy < 0 { |
| 9108 | return ErrInvalidLengthGenerated |
| 9109 | } |
| 9110 | if (iNdEx + skippy) > l { |
| 9111 | return io.ErrUnexpectedEOF |
| 9112 | } |
| 9113 | iNdEx += skippy |
| 9114 | } |
| 9115 | } |
| 9116 | |
| 9117 | if iNdEx > l { |
| 9118 | return io.ErrUnexpectedEOF |
| 9119 | } |
| 9120 | return nil |
| 9121 | } |
| 9122 | func (m *NetworkPolicyList) Unmarshal(dAtA []byte) error { |
| 9123 | l := len(dAtA) |
| 9124 | iNdEx := 0 |
| 9125 | for iNdEx < l { |
| 9126 | preIndex := iNdEx |
| 9127 | var wire uint64 |
| 9128 | for shift := uint(0); ; shift += 7 { |
| 9129 | if shift >= 64 { |
| 9130 | return ErrIntOverflowGenerated |
| 9131 | } |
| 9132 | if iNdEx >= l { |
| 9133 | return io.ErrUnexpectedEOF |
| 9134 | } |
| 9135 | b := dAtA[iNdEx] |
| 9136 | iNdEx++ |
| 9137 | wire |= (uint64(b) & 0x7F) << shift |
| 9138 | if b < 0x80 { |
| 9139 | break |
| 9140 | } |
| 9141 | } |
| 9142 | fieldNum := int32(wire >> 3) |
| 9143 | wireType := int(wire & 0x7) |
| 9144 | if wireType == 4 { |
| 9145 | return fmt.Errorf("proto: NetworkPolicyList: wiretype end group for non-group") |
| 9146 | } |
| 9147 | if fieldNum <= 0 { |
| 9148 | return fmt.Errorf("proto: NetworkPolicyList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 9149 | } |
| 9150 | switch fieldNum { |
| 9151 | case 1: |
| 9152 | if wireType != 2 { |
| 9153 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 9154 | } |
| 9155 | var msglen int |
| 9156 | for shift := uint(0); ; shift += 7 { |
| 9157 | if shift >= 64 { |
| 9158 | return ErrIntOverflowGenerated |
| 9159 | } |
| 9160 | if iNdEx >= l { |
| 9161 | return io.ErrUnexpectedEOF |
| 9162 | } |
| 9163 | b := dAtA[iNdEx] |
| 9164 | iNdEx++ |
| 9165 | msglen |= (int(b) & 0x7F) << shift |
| 9166 | if b < 0x80 { |
| 9167 | break |
| 9168 | } |
| 9169 | } |
| 9170 | if msglen < 0 { |
| 9171 | return ErrInvalidLengthGenerated |
| 9172 | } |
| 9173 | postIndex := iNdEx + msglen |
| 9174 | if postIndex > l { |
| 9175 | return io.ErrUnexpectedEOF |
| 9176 | } |
| 9177 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9178 | return err |
| 9179 | } |
| 9180 | iNdEx = postIndex |
| 9181 | case 2: |
| 9182 | if wireType != 2 { |
| 9183 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 9184 | } |
| 9185 | var msglen int |
| 9186 | for shift := uint(0); ; shift += 7 { |
| 9187 | if shift >= 64 { |
| 9188 | return ErrIntOverflowGenerated |
| 9189 | } |
| 9190 | if iNdEx >= l { |
| 9191 | return io.ErrUnexpectedEOF |
| 9192 | } |
| 9193 | b := dAtA[iNdEx] |
| 9194 | iNdEx++ |
| 9195 | msglen |= (int(b) & 0x7F) << shift |
| 9196 | if b < 0x80 { |
| 9197 | break |
| 9198 | } |
| 9199 | } |
| 9200 | if msglen < 0 { |
| 9201 | return ErrInvalidLengthGenerated |
| 9202 | } |
| 9203 | postIndex := iNdEx + msglen |
| 9204 | if postIndex > l { |
| 9205 | return io.ErrUnexpectedEOF |
| 9206 | } |
| 9207 | m.Items = append(m.Items, NetworkPolicy{}) |
| 9208 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9209 | return err |
| 9210 | } |
| 9211 | iNdEx = postIndex |
| 9212 | default: |
| 9213 | iNdEx = preIndex |
| 9214 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 9215 | if err != nil { |
| 9216 | return err |
| 9217 | } |
| 9218 | if skippy < 0 { |
| 9219 | return ErrInvalidLengthGenerated |
| 9220 | } |
| 9221 | if (iNdEx + skippy) > l { |
| 9222 | return io.ErrUnexpectedEOF |
| 9223 | } |
| 9224 | iNdEx += skippy |
| 9225 | } |
| 9226 | } |
| 9227 | |
| 9228 | if iNdEx > l { |
| 9229 | return io.ErrUnexpectedEOF |
| 9230 | } |
| 9231 | return nil |
| 9232 | } |
| 9233 | func (m *NetworkPolicyPeer) Unmarshal(dAtA []byte) error { |
| 9234 | l := len(dAtA) |
| 9235 | iNdEx := 0 |
| 9236 | for iNdEx < l { |
| 9237 | preIndex := iNdEx |
| 9238 | var wire uint64 |
| 9239 | for shift := uint(0); ; shift += 7 { |
| 9240 | if shift >= 64 { |
| 9241 | return ErrIntOverflowGenerated |
| 9242 | } |
| 9243 | if iNdEx >= l { |
| 9244 | return io.ErrUnexpectedEOF |
| 9245 | } |
| 9246 | b := dAtA[iNdEx] |
| 9247 | iNdEx++ |
| 9248 | wire |= (uint64(b) & 0x7F) << shift |
| 9249 | if b < 0x80 { |
| 9250 | break |
| 9251 | } |
| 9252 | } |
| 9253 | fieldNum := int32(wire >> 3) |
| 9254 | wireType := int(wire & 0x7) |
| 9255 | if wireType == 4 { |
| 9256 | return fmt.Errorf("proto: NetworkPolicyPeer: wiretype end group for non-group") |
| 9257 | } |
| 9258 | if fieldNum <= 0 { |
| 9259 | return fmt.Errorf("proto: NetworkPolicyPeer: illegal tag %d (wire type %d)", fieldNum, wire) |
| 9260 | } |
| 9261 | switch fieldNum { |
| 9262 | case 1: |
| 9263 | if wireType != 2 { |
| 9264 | return fmt.Errorf("proto: wrong wireType = %d for field PodSelector", wireType) |
| 9265 | } |
| 9266 | var msglen int |
| 9267 | for shift := uint(0); ; shift += 7 { |
| 9268 | if shift >= 64 { |
| 9269 | return ErrIntOverflowGenerated |
| 9270 | } |
| 9271 | if iNdEx >= l { |
| 9272 | return io.ErrUnexpectedEOF |
| 9273 | } |
| 9274 | b := dAtA[iNdEx] |
| 9275 | iNdEx++ |
| 9276 | msglen |= (int(b) & 0x7F) << shift |
| 9277 | if b < 0x80 { |
| 9278 | break |
| 9279 | } |
| 9280 | } |
| 9281 | if msglen < 0 { |
| 9282 | return ErrInvalidLengthGenerated |
| 9283 | } |
| 9284 | postIndex := iNdEx + msglen |
| 9285 | if postIndex > l { |
| 9286 | return io.ErrUnexpectedEOF |
| 9287 | } |
| 9288 | if m.PodSelector == nil { |
| 9289 | m.PodSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} |
| 9290 | } |
| 9291 | if err := m.PodSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9292 | return err |
| 9293 | } |
| 9294 | iNdEx = postIndex |
| 9295 | case 2: |
| 9296 | if wireType != 2 { |
| 9297 | return fmt.Errorf("proto: wrong wireType = %d for field NamespaceSelector", wireType) |
| 9298 | } |
| 9299 | var msglen int |
| 9300 | for shift := uint(0); ; shift += 7 { |
| 9301 | if shift >= 64 { |
| 9302 | return ErrIntOverflowGenerated |
| 9303 | } |
| 9304 | if iNdEx >= l { |
| 9305 | return io.ErrUnexpectedEOF |
| 9306 | } |
| 9307 | b := dAtA[iNdEx] |
| 9308 | iNdEx++ |
| 9309 | msglen |= (int(b) & 0x7F) << shift |
| 9310 | if b < 0x80 { |
| 9311 | break |
| 9312 | } |
| 9313 | } |
| 9314 | if msglen < 0 { |
| 9315 | return ErrInvalidLengthGenerated |
| 9316 | } |
| 9317 | postIndex := iNdEx + msglen |
| 9318 | if postIndex > l { |
| 9319 | return io.ErrUnexpectedEOF |
| 9320 | } |
| 9321 | if m.NamespaceSelector == nil { |
| 9322 | m.NamespaceSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} |
| 9323 | } |
| 9324 | if err := m.NamespaceSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9325 | return err |
| 9326 | } |
| 9327 | iNdEx = postIndex |
| 9328 | case 3: |
| 9329 | if wireType != 2 { |
| 9330 | return fmt.Errorf("proto: wrong wireType = %d for field IPBlock", wireType) |
| 9331 | } |
| 9332 | var msglen int |
| 9333 | for shift := uint(0); ; shift += 7 { |
| 9334 | if shift >= 64 { |
| 9335 | return ErrIntOverflowGenerated |
| 9336 | } |
| 9337 | if iNdEx >= l { |
| 9338 | return io.ErrUnexpectedEOF |
| 9339 | } |
| 9340 | b := dAtA[iNdEx] |
| 9341 | iNdEx++ |
| 9342 | msglen |= (int(b) & 0x7F) << shift |
| 9343 | if b < 0x80 { |
| 9344 | break |
| 9345 | } |
| 9346 | } |
| 9347 | if msglen < 0 { |
| 9348 | return ErrInvalidLengthGenerated |
| 9349 | } |
| 9350 | postIndex := iNdEx + msglen |
| 9351 | if postIndex > l { |
| 9352 | return io.ErrUnexpectedEOF |
| 9353 | } |
| 9354 | if m.IPBlock == nil { |
| 9355 | m.IPBlock = &IPBlock{} |
| 9356 | } |
| 9357 | if err := m.IPBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9358 | return err |
| 9359 | } |
| 9360 | iNdEx = postIndex |
| 9361 | default: |
| 9362 | iNdEx = preIndex |
| 9363 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 9364 | if err != nil { |
| 9365 | return err |
| 9366 | } |
| 9367 | if skippy < 0 { |
| 9368 | return ErrInvalidLengthGenerated |
| 9369 | } |
| 9370 | if (iNdEx + skippy) > l { |
| 9371 | return io.ErrUnexpectedEOF |
| 9372 | } |
| 9373 | iNdEx += skippy |
| 9374 | } |
| 9375 | } |
| 9376 | |
| 9377 | if iNdEx > l { |
| 9378 | return io.ErrUnexpectedEOF |
| 9379 | } |
| 9380 | return nil |
| 9381 | } |
| 9382 | func (m *NetworkPolicyPort) Unmarshal(dAtA []byte) error { |
| 9383 | l := len(dAtA) |
| 9384 | iNdEx := 0 |
| 9385 | for iNdEx < l { |
| 9386 | preIndex := iNdEx |
| 9387 | var wire uint64 |
| 9388 | for shift := uint(0); ; shift += 7 { |
| 9389 | if shift >= 64 { |
| 9390 | return ErrIntOverflowGenerated |
| 9391 | } |
| 9392 | if iNdEx >= l { |
| 9393 | return io.ErrUnexpectedEOF |
| 9394 | } |
| 9395 | b := dAtA[iNdEx] |
| 9396 | iNdEx++ |
| 9397 | wire |= (uint64(b) & 0x7F) << shift |
| 9398 | if b < 0x80 { |
| 9399 | break |
| 9400 | } |
| 9401 | } |
| 9402 | fieldNum := int32(wire >> 3) |
| 9403 | wireType := int(wire & 0x7) |
| 9404 | if wireType == 4 { |
| 9405 | return fmt.Errorf("proto: NetworkPolicyPort: wiretype end group for non-group") |
| 9406 | } |
| 9407 | if fieldNum <= 0 { |
| 9408 | return fmt.Errorf("proto: NetworkPolicyPort: illegal tag %d (wire type %d)", fieldNum, wire) |
| 9409 | } |
| 9410 | switch fieldNum { |
| 9411 | case 1: |
| 9412 | if wireType != 2 { |
| 9413 | return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType) |
| 9414 | } |
| 9415 | var stringLen uint64 |
| 9416 | for shift := uint(0); ; shift += 7 { |
| 9417 | if shift >= 64 { |
| 9418 | return ErrIntOverflowGenerated |
| 9419 | } |
| 9420 | if iNdEx >= l { |
| 9421 | return io.ErrUnexpectedEOF |
| 9422 | } |
| 9423 | b := dAtA[iNdEx] |
| 9424 | iNdEx++ |
| 9425 | stringLen |= (uint64(b) & 0x7F) << shift |
| 9426 | if b < 0x80 { |
| 9427 | break |
| 9428 | } |
| 9429 | } |
| 9430 | intStringLen := int(stringLen) |
| 9431 | if intStringLen < 0 { |
| 9432 | return ErrInvalidLengthGenerated |
| 9433 | } |
| 9434 | postIndex := iNdEx + intStringLen |
| 9435 | if postIndex > l { |
| 9436 | return io.ErrUnexpectedEOF |
| 9437 | } |
| 9438 | s := k8s_io_api_core_v1.Protocol(dAtA[iNdEx:postIndex]) |
| 9439 | m.Protocol = &s |
| 9440 | iNdEx = postIndex |
| 9441 | case 2: |
| 9442 | if wireType != 2 { |
| 9443 | return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType) |
| 9444 | } |
| 9445 | var msglen int |
| 9446 | for shift := uint(0); ; shift += 7 { |
| 9447 | if shift >= 64 { |
| 9448 | return ErrIntOverflowGenerated |
| 9449 | } |
| 9450 | if iNdEx >= l { |
| 9451 | return io.ErrUnexpectedEOF |
| 9452 | } |
| 9453 | b := dAtA[iNdEx] |
| 9454 | iNdEx++ |
| 9455 | msglen |= (int(b) & 0x7F) << shift |
| 9456 | if b < 0x80 { |
| 9457 | break |
| 9458 | } |
| 9459 | } |
| 9460 | if msglen < 0 { |
| 9461 | return ErrInvalidLengthGenerated |
| 9462 | } |
| 9463 | postIndex := iNdEx + msglen |
| 9464 | if postIndex > l { |
| 9465 | return io.ErrUnexpectedEOF |
| 9466 | } |
| 9467 | if m.Port == nil { |
| 9468 | m.Port = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{} |
| 9469 | } |
| 9470 | if err := m.Port.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9471 | return err |
| 9472 | } |
| 9473 | iNdEx = postIndex |
| 9474 | default: |
| 9475 | iNdEx = preIndex |
| 9476 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 9477 | if err != nil { |
| 9478 | return err |
| 9479 | } |
| 9480 | if skippy < 0 { |
| 9481 | return ErrInvalidLengthGenerated |
| 9482 | } |
| 9483 | if (iNdEx + skippy) > l { |
| 9484 | return io.ErrUnexpectedEOF |
| 9485 | } |
| 9486 | iNdEx += skippy |
| 9487 | } |
| 9488 | } |
| 9489 | |
| 9490 | if iNdEx > l { |
| 9491 | return io.ErrUnexpectedEOF |
| 9492 | } |
| 9493 | return nil |
| 9494 | } |
| 9495 | func (m *NetworkPolicySpec) Unmarshal(dAtA []byte) error { |
| 9496 | l := len(dAtA) |
| 9497 | iNdEx := 0 |
| 9498 | for iNdEx < l { |
| 9499 | preIndex := iNdEx |
| 9500 | var wire uint64 |
| 9501 | for shift := uint(0); ; shift += 7 { |
| 9502 | if shift >= 64 { |
| 9503 | return ErrIntOverflowGenerated |
| 9504 | } |
| 9505 | if iNdEx >= l { |
| 9506 | return io.ErrUnexpectedEOF |
| 9507 | } |
| 9508 | b := dAtA[iNdEx] |
| 9509 | iNdEx++ |
| 9510 | wire |= (uint64(b) & 0x7F) << shift |
| 9511 | if b < 0x80 { |
| 9512 | break |
| 9513 | } |
| 9514 | } |
| 9515 | fieldNum := int32(wire >> 3) |
| 9516 | wireType := int(wire & 0x7) |
| 9517 | if wireType == 4 { |
| 9518 | return fmt.Errorf("proto: NetworkPolicySpec: wiretype end group for non-group") |
| 9519 | } |
| 9520 | if fieldNum <= 0 { |
| 9521 | return fmt.Errorf("proto: NetworkPolicySpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| 9522 | } |
| 9523 | switch fieldNum { |
| 9524 | case 1: |
| 9525 | if wireType != 2 { |
| 9526 | return fmt.Errorf("proto: wrong wireType = %d for field PodSelector", wireType) |
| 9527 | } |
| 9528 | var msglen int |
| 9529 | for shift := uint(0); ; shift += 7 { |
| 9530 | if shift >= 64 { |
| 9531 | return ErrIntOverflowGenerated |
| 9532 | } |
| 9533 | if iNdEx >= l { |
| 9534 | return io.ErrUnexpectedEOF |
| 9535 | } |
| 9536 | b := dAtA[iNdEx] |
| 9537 | iNdEx++ |
| 9538 | msglen |= (int(b) & 0x7F) << shift |
| 9539 | if b < 0x80 { |
| 9540 | break |
| 9541 | } |
| 9542 | } |
| 9543 | if msglen < 0 { |
| 9544 | return ErrInvalidLengthGenerated |
| 9545 | } |
| 9546 | postIndex := iNdEx + msglen |
| 9547 | if postIndex > l { |
| 9548 | return io.ErrUnexpectedEOF |
| 9549 | } |
| 9550 | if err := m.PodSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9551 | return err |
| 9552 | } |
| 9553 | iNdEx = postIndex |
| 9554 | case 2: |
| 9555 | if wireType != 2 { |
| 9556 | return fmt.Errorf("proto: wrong wireType = %d for field Ingress", wireType) |
| 9557 | } |
| 9558 | var msglen int |
| 9559 | for shift := uint(0); ; shift += 7 { |
| 9560 | if shift >= 64 { |
| 9561 | return ErrIntOverflowGenerated |
| 9562 | } |
| 9563 | if iNdEx >= l { |
| 9564 | return io.ErrUnexpectedEOF |
| 9565 | } |
| 9566 | b := dAtA[iNdEx] |
| 9567 | iNdEx++ |
| 9568 | msglen |= (int(b) & 0x7F) << shift |
| 9569 | if b < 0x80 { |
| 9570 | break |
| 9571 | } |
| 9572 | } |
| 9573 | if msglen < 0 { |
| 9574 | return ErrInvalidLengthGenerated |
| 9575 | } |
| 9576 | postIndex := iNdEx + msglen |
| 9577 | if postIndex > l { |
| 9578 | return io.ErrUnexpectedEOF |
| 9579 | } |
| 9580 | m.Ingress = append(m.Ingress, NetworkPolicyIngressRule{}) |
| 9581 | if err := m.Ingress[len(m.Ingress)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9582 | return err |
| 9583 | } |
| 9584 | iNdEx = postIndex |
| 9585 | case 3: |
| 9586 | if wireType != 2 { |
| 9587 | return fmt.Errorf("proto: wrong wireType = %d for field Egress", wireType) |
| 9588 | } |
| 9589 | var msglen int |
| 9590 | for shift := uint(0); ; shift += 7 { |
| 9591 | if shift >= 64 { |
| 9592 | return ErrIntOverflowGenerated |
| 9593 | } |
| 9594 | if iNdEx >= l { |
| 9595 | return io.ErrUnexpectedEOF |
| 9596 | } |
| 9597 | b := dAtA[iNdEx] |
| 9598 | iNdEx++ |
| 9599 | msglen |= (int(b) & 0x7F) << shift |
| 9600 | if b < 0x80 { |
| 9601 | break |
| 9602 | } |
| 9603 | } |
| 9604 | if msglen < 0 { |
| 9605 | return ErrInvalidLengthGenerated |
| 9606 | } |
| 9607 | postIndex := iNdEx + msglen |
| 9608 | if postIndex > l { |
| 9609 | return io.ErrUnexpectedEOF |
| 9610 | } |
| 9611 | m.Egress = append(m.Egress, NetworkPolicyEgressRule{}) |
| 9612 | if err := m.Egress[len(m.Egress)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9613 | return err |
| 9614 | } |
| 9615 | iNdEx = postIndex |
| 9616 | case 4: |
| 9617 | if wireType != 2 { |
| 9618 | return fmt.Errorf("proto: wrong wireType = %d for field PolicyTypes", wireType) |
| 9619 | } |
| 9620 | var stringLen uint64 |
| 9621 | for shift := uint(0); ; shift += 7 { |
| 9622 | if shift >= 64 { |
| 9623 | return ErrIntOverflowGenerated |
| 9624 | } |
| 9625 | if iNdEx >= l { |
| 9626 | return io.ErrUnexpectedEOF |
| 9627 | } |
| 9628 | b := dAtA[iNdEx] |
| 9629 | iNdEx++ |
| 9630 | stringLen |= (uint64(b) & 0x7F) << shift |
| 9631 | if b < 0x80 { |
| 9632 | break |
| 9633 | } |
| 9634 | } |
| 9635 | intStringLen := int(stringLen) |
| 9636 | if intStringLen < 0 { |
| 9637 | return ErrInvalidLengthGenerated |
| 9638 | } |
| 9639 | postIndex := iNdEx + intStringLen |
| 9640 | if postIndex > l { |
| 9641 | return io.ErrUnexpectedEOF |
| 9642 | } |
| 9643 | m.PolicyTypes = append(m.PolicyTypes, PolicyType(dAtA[iNdEx:postIndex])) |
| 9644 | iNdEx = postIndex |
| 9645 | default: |
| 9646 | iNdEx = preIndex |
| 9647 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 9648 | if err != nil { |
| 9649 | return err |
| 9650 | } |
| 9651 | if skippy < 0 { |
| 9652 | return ErrInvalidLengthGenerated |
| 9653 | } |
| 9654 | if (iNdEx + skippy) > l { |
| 9655 | return io.ErrUnexpectedEOF |
| 9656 | } |
| 9657 | iNdEx += skippy |
| 9658 | } |
| 9659 | } |
| 9660 | |
| 9661 | if iNdEx > l { |
| 9662 | return io.ErrUnexpectedEOF |
| 9663 | } |
| 9664 | return nil |
| 9665 | } |
| 9666 | func (m *PodSecurityPolicy) Unmarshal(dAtA []byte) error { |
| 9667 | l := len(dAtA) |
| 9668 | iNdEx := 0 |
| 9669 | for iNdEx < l { |
| 9670 | preIndex := iNdEx |
| 9671 | var wire uint64 |
| 9672 | for shift := uint(0); ; shift += 7 { |
| 9673 | if shift >= 64 { |
| 9674 | return ErrIntOverflowGenerated |
| 9675 | } |
| 9676 | if iNdEx >= l { |
| 9677 | return io.ErrUnexpectedEOF |
| 9678 | } |
| 9679 | b := dAtA[iNdEx] |
| 9680 | iNdEx++ |
| 9681 | wire |= (uint64(b) & 0x7F) << shift |
| 9682 | if b < 0x80 { |
| 9683 | break |
| 9684 | } |
| 9685 | } |
| 9686 | fieldNum := int32(wire >> 3) |
| 9687 | wireType := int(wire & 0x7) |
| 9688 | if wireType == 4 { |
| 9689 | return fmt.Errorf("proto: PodSecurityPolicy: wiretype end group for non-group") |
| 9690 | } |
| 9691 | if fieldNum <= 0 { |
| 9692 | return fmt.Errorf("proto: PodSecurityPolicy: illegal tag %d (wire type %d)", fieldNum, wire) |
| 9693 | } |
| 9694 | switch fieldNum { |
| 9695 | case 1: |
| 9696 | if wireType != 2 { |
| 9697 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 9698 | } |
| 9699 | var msglen int |
| 9700 | for shift := uint(0); ; shift += 7 { |
| 9701 | if shift >= 64 { |
| 9702 | return ErrIntOverflowGenerated |
| 9703 | } |
| 9704 | if iNdEx >= l { |
| 9705 | return io.ErrUnexpectedEOF |
| 9706 | } |
| 9707 | b := dAtA[iNdEx] |
| 9708 | iNdEx++ |
| 9709 | msglen |= (int(b) & 0x7F) << shift |
| 9710 | if b < 0x80 { |
| 9711 | break |
| 9712 | } |
| 9713 | } |
| 9714 | if msglen < 0 { |
| 9715 | return ErrInvalidLengthGenerated |
| 9716 | } |
| 9717 | postIndex := iNdEx + msglen |
| 9718 | if postIndex > l { |
| 9719 | return io.ErrUnexpectedEOF |
| 9720 | } |
| 9721 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9722 | return err |
| 9723 | } |
| 9724 | iNdEx = postIndex |
| 9725 | case 2: |
| 9726 | if wireType != 2 { |
| 9727 | return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) |
| 9728 | } |
| 9729 | var msglen int |
| 9730 | for shift := uint(0); ; shift += 7 { |
| 9731 | if shift >= 64 { |
| 9732 | return ErrIntOverflowGenerated |
| 9733 | } |
| 9734 | if iNdEx >= l { |
| 9735 | return io.ErrUnexpectedEOF |
| 9736 | } |
| 9737 | b := dAtA[iNdEx] |
| 9738 | iNdEx++ |
| 9739 | msglen |= (int(b) & 0x7F) << shift |
| 9740 | if b < 0x80 { |
| 9741 | break |
| 9742 | } |
| 9743 | } |
| 9744 | if msglen < 0 { |
| 9745 | return ErrInvalidLengthGenerated |
| 9746 | } |
| 9747 | postIndex := iNdEx + msglen |
| 9748 | if postIndex > l { |
| 9749 | return io.ErrUnexpectedEOF |
| 9750 | } |
| 9751 | if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9752 | return err |
| 9753 | } |
| 9754 | iNdEx = postIndex |
| 9755 | default: |
| 9756 | iNdEx = preIndex |
| 9757 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 9758 | if err != nil { |
| 9759 | return err |
| 9760 | } |
| 9761 | if skippy < 0 { |
| 9762 | return ErrInvalidLengthGenerated |
| 9763 | } |
| 9764 | if (iNdEx + skippy) > l { |
| 9765 | return io.ErrUnexpectedEOF |
| 9766 | } |
| 9767 | iNdEx += skippy |
| 9768 | } |
| 9769 | } |
| 9770 | |
| 9771 | if iNdEx > l { |
| 9772 | return io.ErrUnexpectedEOF |
| 9773 | } |
| 9774 | return nil |
| 9775 | } |
| 9776 | func (m *PodSecurityPolicyList) Unmarshal(dAtA []byte) error { |
| 9777 | l := len(dAtA) |
| 9778 | iNdEx := 0 |
| 9779 | for iNdEx < l { |
| 9780 | preIndex := iNdEx |
| 9781 | var wire uint64 |
| 9782 | for shift := uint(0); ; shift += 7 { |
| 9783 | if shift >= 64 { |
| 9784 | return ErrIntOverflowGenerated |
| 9785 | } |
| 9786 | if iNdEx >= l { |
| 9787 | return io.ErrUnexpectedEOF |
| 9788 | } |
| 9789 | b := dAtA[iNdEx] |
| 9790 | iNdEx++ |
| 9791 | wire |= (uint64(b) & 0x7F) << shift |
| 9792 | if b < 0x80 { |
| 9793 | break |
| 9794 | } |
| 9795 | } |
| 9796 | fieldNum := int32(wire >> 3) |
| 9797 | wireType := int(wire & 0x7) |
| 9798 | if wireType == 4 { |
| 9799 | return fmt.Errorf("proto: PodSecurityPolicyList: wiretype end group for non-group") |
| 9800 | } |
| 9801 | if fieldNum <= 0 { |
| 9802 | return fmt.Errorf("proto: PodSecurityPolicyList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 9803 | } |
| 9804 | switch fieldNum { |
| 9805 | case 1: |
| 9806 | if wireType != 2 { |
| 9807 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 9808 | } |
| 9809 | var msglen int |
| 9810 | for shift := uint(0); ; shift += 7 { |
| 9811 | if shift >= 64 { |
| 9812 | return ErrIntOverflowGenerated |
| 9813 | } |
| 9814 | if iNdEx >= l { |
| 9815 | return io.ErrUnexpectedEOF |
| 9816 | } |
| 9817 | b := dAtA[iNdEx] |
| 9818 | iNdEx++ |
| 9819 | msglen |= (int(b) & 0x7F) << shift |
| 9820 | if b < 0x80 { |
| 9821 | break |
| 9822 | } |
| 9823 | } |
| 9824 | if msglen < 0 { |
| 9825 | return ErrInvalidLengthGenerated |
| 9826 | } |
| 9827 | postIndex := iNdEx + msglen |
| 9828 | if postIndex > l { |
| 9829 | return io.ErrUnexpectedEOF |
| 9830 | } |
| 9831 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9832 | return err |
| 9833 | } |
| 9834 | iNdEx = postIndex |
| 9835 | case 2: |
| 9836 | if wireType != 2 { |
| 9837 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 9838 | } |
| 9839 | var msglen int |
| 9840 | for shift := uint(0); ; shift += 7 { |
| 9841 | if shift >= 64 { |
| 9842 | return ErrIntOverflowGenerated |
| 9843 | } |
| 9844 | if iNdEx >= l { |
| 9845 | return io.ErrUnexpectedEOF |
| 9846 | } |
| 9847 | b := dAtA[iNdEx] |
| 9848 | iNdEx++ |
| 9849 | msglen |= (int(b) & 0x7F) << shift |
| 9850 | if b < 0x80 { |
| 9851 | break |
| 9852 | } |
| 9853 | } |
| 9854 | if msglen < 0 { |
| 9855 | return ErrInvalidLengthGenerated |
| 9856 | } |
| 9857 | postIndex := iNdEx + msglen |
| 9858 | if postIndex > l { |
| 9859 | return io.ErrUnexpectedEOF |
| 9860 | } |
| 9861 | m.Items = append(m.Items, PodSecurityPolicy{}) |
| 9862 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9863 | return err |
| 9864 | } |
| 9865 | iNdEx = postIndex |
| 9866 | default: |
| 9867 | iNdEx = preIndex |
| 9868 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 9869 | if err != nil { |
| 9870 | return err |
| 9871 | } |
| 9872 | if skippy < 0 { |
| 9873 | return ErrInvalidLengthGenerated |
| 9874 | } |
| 9875 | if (iNdEx + skippy) > l { |
| 9876 | return io.ErrUnexpectedEOF |
| 9877 | } |
| 9878 | iNdEx += skippy |
| 9879 | } |
| 9880 | } |
| 9881 | |
| 9882 | if iNdEx > l { |
| 9883 | return io.ErrUnexpectedEOF |
| 9884 | } |
| 9885 | return nil |
| 9886 | } |
| 9887 | func (m *PodSecurityPolicySpec) Unmarshal(dAtA []byte) error { |
| 9888 | l := len(dAtA) |
| 9889 | iNdEx := 0 |
| 9890 | for iNdEx < l { |
| 9891 | preIndex := iNdEx |
| 9892 | var wire uint64 |
| 9893 | for shift := uint(0); ; shift += 7 { |
| 9894 | if shift >= 64 { |
| 9895 | return ErrIntOverflowGenerated |
| 9896 | } |
| 9897 | if iNdEx >= l { |
| 9898 | return io.ErrUnexpectedEOF |
| 9899 | } |
| 9900 | b := dAtA[iNdEx] |
| 9901 | iNdEx++ |
| 9902 | wire |= (uint64(b) & 0x7F) << shift |
| 9903 | if b < 0x80 { |
| 9904 | break |
| 9905 | } |
| 9906 | } |
| 9907 | fieldNum := int32(wire >> 3) |
| 9908 | wireType := int(wire & 0x7) |
| 9909 | if wireType == 4 { |
| 9910 | return fmt.Errorf("proto: PodSecurityPolicySpec: wiretype end group for non-group") |
| 9911 | } |
| 9912 | if fieldNum <= 0 { |
| 9913 | return fmt.Errorf("proto: PodSecurityPolicySpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| 9914 | } |
| 9915 | switch fieldNum { |
| 9916 | case 1: |
| 9917 | if wireType != 0 { |
| 9918 | return fmt.Errorf("proto: wrong wireType = %d for field Privileged", wireType) |
| 9919 | } |
| 9920 | var v int |
| 9921 | for shift := uint(0); ; shift += 7 { |
| 9922 | if shift >= 64 { |
| 9923 | return ErrIntOverflowGenerated |
| 9924 | } |
| 9925 | if iNdEx >= l { |
| 9926 | return io.ErrUnexpectedEOF |
| 9927 | } |
| 9928 | b := dAtA[iNdEx] |
| 9929 | iNdEx++ |
| 9930 | v |= (int(b) & 0x7F) << shift |
| 9931 | if b < 0x80 { |
| 9932 | break |
| 9933 | } |
| 9934 | } |
| 9935 | m.Privileged = bool(v != 0) |
| 9936 | case 2: |
| 9937 | if wireType != 2 { |
| 9938 | return fmt.Errorf("proto: wrong wireType = %d for field DefaultAddCapabilities", wireType) |
| 9939 | } |
| 9940 | var stringLen uint64 |
| 9941 | for shift := uint(0); ; shift += 7 { |
| 9942 | if shift >= 64 { |
| 9943 | return ErrIntOverflowGenerated |
| 9944 | } |
| 9945 | if iNdEx >= l { |
| 9946 | return io.ErrUnexpectedEOF |
| 9947 | } |
| 9948 | b := dAtA[iNdEx] |
| 9949 | iNdEx++ |
| 9950 | stringLen |= (uint64(b) & 0x7F) << shift |
| 9951 | if b < 0x80 { |
| 9952 | break |
| 9953 | } |
| 9954 | } |
| 9955 | intStringLen := int(stringLen) |
| 9956 | if intStringLen < 0 { |
| 9957 | return ErrInvalidLengthGenerated |
| 9958 | } |
| 9959 | postIndex := iNdEx + intStringLen |
| 9960 | if postIndex > l { |
| 9961 | return io.ErrUnexpectedEOF |
| 9962 | } |
| 9963 | m.DefaultAddCapabilities = append(m.DefaultAddCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex])) |
| 9964 | iNdEx = postIndex |
| 9965 | case 3: |
| 9966 | if wireType != 2 { |
| 9967 | return fmt.Errorf("proto: wrong wireType = %d for field RequiredDropCapabilities", wireType) |
| 9968 | } |
| 9969 | var stringLen uint64 |
| 9970 | for shift := uint(0); ; shift += 7 { |
| 9971 | if shift >= 64 { |
| 9972 | return ErrIntOverflowGenerated |
| 9973 | } |
| 9974 | if iNdEx >= l { |
| 9975 | return io.ErrUnexpectedEOF |
| 9976 | } |
| 9977 | b := dAtA[iNdEx] |
| 9978 | iNdEx++ |
| 9979 | stringLen |= (uint64(b) & 0x7F) << shift |
| 9980 | if b < 0x80 { |
| 9981 | break |
| 9982 | } |
| 9983 | } |
| 9984 | intStringLen := int(stringLen) |
| 9985 | if intStringLen < 0 { |
| 9986 | return ErrInvalidLengthGenerated |
| 9987 | } |
| 9988 | postIndex := iNdEx + intStringLen |
| 9989 | if postIndex > l { |
| 9990 | return io.ErrUnexpectedEOF |
| 9991 | } |
| 9992 | m.RequiredDropCapabilities = append(m.RequiredDropCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex])) |
| 9993 | iNdEx = postIndex |
| 9994 | case 4: |
| 9995 | if wireType != 2 { |
| 9996 | return fmt.Errorf("proto: wrong wireType = %d for field AllowedCapabilities", wireType) |
| 9997 | } |
| 9998 | var stringLen uint64 |
| 9999 | for shift := uint(0); ; shift += 7 { |
| 10000 | if shift >= 64 { |
| 10001 | return ErrIntOverflowGenerated |
| 10002 | } |
| 10003 | if iNdEx >= l { |
| 10004 | return io.ErrUnexpectedEOF |
| 10005 | } |
| 10006 | b := dAtA[iNdEx] |
| 10007 | iNdEx++ |
| 10008 | stringLen |= (uint64(b) & 0x7F) << shift |
| 10009 | if b < 0x80 { |
| 10010 | break |
| 10011 | } |
| 10012 | } |
| 10013 | intStringLen := int(stringLen) |
| 10014 | if intStringLen < 0 { |
| 10015 | return ErrInvalidLengthGenerated |
| 10016 | } |
| 10017 | postIndex := iNdEx + intStringLen |
| 10018 | if postIndex > l { |
| 10019 | return io.ErrUnexpectedEOF |
| 10020 | } |
| 10021 | m.AllowedCapabilities = append(m.AllowedCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex])) |
| 10022 | iNdEx = postIndex |
| 10023 | case 5: |
| 10024 | if wireType != 2 { |
| 10025 | return fmt.Errorf("proto: wrong wireType = %d for field Volumes", wireType) |
| 10026 | } |
| 10027 | var stringLen uint64 |
| 10028 | for shift := uint(0); ; shift += 7 { |
| 10029 | if shift >= 64 { |
| 10030 | return ErrIntOverflowGenerated |
| 10031 | } |
| 10032 | if iNdEx >= l { |
| 10033 | return io.ErrUnexpectedEOF |
| 10034 | } |
| 10035 | b := dAtA[iNdEx] |
| 10036 | iNdEx++ |
| 10037 | stringLen |= (uint64(b) & 0x7F) << shift |
| 10038 | if b < 0x80 { |
| 10039 | break |
| 10040 | } |
| 10041 | } |
| 10042 | intStringLen := int(stringLen) |
| 10043 | if intStringLen < 0 { |
| 10044 | return ErrInvalidLengthGenerated |
| 10045 | } |
| 10046 | postIndex := iNdEx + intStringLen |
| 10047 | if postIndex > l { |
| 10048 | return io.ErrUnexpectedEOF |
| 10049 | } |
| 10050 | m.Volumes = append(m.Volumes, FSType(dAtA[iNdEx:postIndex])) |
| 10051 | iNdEx = postIndex |
| 10052 | case 6: |
| 10053 | if wireType != 0 { |
| 10054 | return fmt.Errorf("proto: wrong wireType = %d for field HostNetwork", wireType) |
| 10055 | } |
| 10056 | var v int |
| 10057 | for shift := uint(0); ; shift += 7 { |
| 10058 | if shift >= 64 { |
| 10059 | return ErrIntOverflowGenerated |
| 10060 | } |
| 10061 | if iNdEx >= l { |
| 10062 | return io.ErrUnexpectedEOF |
| 10063 | } |
| 10064 | b := dAtA[iNdEx] |
| 10065 | iNdEx++ |
| 10066 | v |= (int(b) & 0x7F) << shift |
| 10067 | if b < 0x80 { |
| 10068 | break |
| 10069 | } |
| 10070 | } |
| 10071 | m.HostNetwork = bool(v != 0) |
| 10072 | case 7: |
| 10073 | if wireType != 2 { |
| 10074 | return fmt.Errorf("proto: wrong wireType = %d for field HostPorts", wireType) |
| 10075 | } |
| 10076 | var msglen int |
| 10077 | for shift := uint(0); ; shift += 7 { |
| 10078 | if shift >= 64 { |
| 10079 | return ErrIntOverflowGenerated |
| 10080 | } |
| 10081 | if iNdEx >= l { |
| 10082 | return io.ErrUnexpectedEOF |
| 10083 | } |
| 10084 | b := dAtA[iNdEx] |
| 10085 | iNdEx++ |
| 10086 | msglen |= (int(b) & 0x7F) << shift |
| 10087 | if b < 0x80 { |
| 10088 | break |
| 10089 | } |
| 10090 | } |
| 10091 | if msglen < 0 { |
| 10092 | return ErrInvalidLengthGenerated |
| 10093 | } |
| 10094 | postIndex := iNdEx + msglen |
| 10095 | if postIndex > l { |
| 10096 | return io.ErrUnexpectedEOF |
| 10097 | } |
| 10098 | m.HostPorts = append(m.HostPorts, HostPortRange{}) |
| 10099 | if err := m.HostPorts[len(m.HostPorts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 10100 | return err |
| 10101 | } |
| 10102 | iNdEx = postIndex |
| 10103 | case 8: |
| 10104 | if wireType != 0 { |
| 10105 | return fmt.Errorf("proto: wrong wireType = %d for field HostPID", wireType) |
| 10106 | } |
| 10107 | var v int |
| 10108 | for shift := uint(0); ; shift += 7 { |
| 10109 | if shift >= 64 { |
| 10110 | return ErrIntOverflowGenerated |
| 10111 | } |
| 10112 | if iNdEx >= l { |
| 10113 | return io.ErrUnexpectedEOF |
| 10114 | } |
| 10115 | b := dAtA[iNdEx] |
| 10116 | iNdEx++ |
| 10117 | v |= (int(b) & 0x7F) << shift |
| 10118 | if b < 0x80 { |
| 10119 | break |
| 10120 | } |
| 10121 | } |
| 10122 | m.HostPID = bool(v != 0) |
| 10123 | case 9: |
| 10124 | if wireType != 0 { |
| 10125 | return fmt.Errorf("proto: wrong wireType = %d for field HostIPC", wireType) |
| 10126 | } |
| 10127 | var v int |
| 10128 | for shift := uint(0); ; shift += 7 { |
| 10129 | if shift >= 64 { |
| 10130 | return ErrIntOverflowGenerated |
| 10131 | } |
| 10132 | if iNdEx >= l { |
| 10133 | return io.ErrUnexpectedEOF |
| 10134 | } |
| 10135 | b := dAtA[iNdEx] |
| 10136 | iNdEx++ |
| 10137 | v |= (int(b) & 0x7F) << shift |
| 10138 | if b < 0x80 { |
| 10139 | break |
| 10140 | } |
| 10141 | } |
| 10142 | m.HostIPC = bool(v != 0) |
| 10143 | case 10: |
| 10144 | if wireType != 2 { |
| 10145 | return fmt.Errorf("proto: wrong wireType = %d for field SELinux", wireType) |
| 10146 | } |
| 10147 | var msglen int |
| 10148 | for shift := uint(0); ; shift += 7 { |
| 10149 | if shift >= 64 { |
| 10150 | return ErrIntOverflowGenerated |
| 10151 | } |
| 10152 | if iNdEx >= l { |
| 10153 | return io.ErrUnexpectedEOF |
| 10154 | } |
| 10155 | b := dAtA[iNdEx] |
| 10156 | iNdEx++ |
| 10157 | msglen |= (int(b) & 0x7F) << shift |
| 10158 | if b < 0x80 { |
| 10159 | break |
| 10160 | } |
| 10161 | } |
| 10162 | if msglen < 0 { |
| 10163 | return ErrInvalidLengthGenerated |
| 10164 | } |
| 10165 | postIndex := iNdEx + msglen |
| 10166 | if postIndex > l { |
| 10167 | return io.ErrUnexpectedEOF |
| 10168 | } |
| 10169 | if err := m.SELinux.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 10170 | return err |
| 10171 | } |
| 10172 | iNdEx = postIndex |
| 10173 | case 11: |
| 10174 | if wireType != 2 { |
| 10175 | return fmt.Errorf("proto: wrong wireType = %d for field RunAsUser", wireType) |
| 10176 | } |
| 10177 | var msglen int |
| 10178 | for shift := uint(0); ; shift += 7 { |
| 10179 | if shift >= 64 { |
| 10180 | return ErrIntOverflowGenerated |
| 10181 | } |
| 10182 | if iNdEx >= l { |
| 10183 | return io.ErrUnexpectedEOF |
| 10184 | } |
| 10185 | b := dAtA[iNdEx] |
| 10186 | iNdEx++ |
| 10187 | msglen |= (int(b) & 0x7F) << shift |
| 10188 | if b < 0x80 { |
| 10189 | break |
| 10190 | } |
| 10191 | } |
| 10192 | if msglen < 0 { |
| 10193 | return ErrInvalidLengthGenerated |
| 10194 | } |
| 10195 | postIndex := iNdEx + msglen |
| 10196 | if postIndex > l { |
| 10197 | return io.ErrUnexpectedEOF |
| 10198 | } |
| 10199 | if err := m.RunAsUser.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 10200 | return err |
| 10201 | } |
| 10202 | iNdEx = postIndex |
| 10203 | case 12: |
| 10204 | if wireType != 2 { |
| 10205 | return fmt.Errorf("proto: wrong wireType = %d for field SupplementalGroups", wireType) |
| 10206 | } |
| 10207 | var msglen int |
| 10208 | for shift := uint(0); ; shift += 7 { |
| 10209 | if shift >= 64 { |
| 10210 | return ErrIntOverflowGenerated |
| 10211 | } |
| 10212 | if iNdEx >= l { |
| 10213 | return io.ErrUnexpectedEOF |
| 10214 | } |
| 10215 | b := dAtA[iNdEx] |
| 10216 | iNdEx++ |
| 10217 | msglen |= (int(b) & 0x7F) << shift |
| 10218 | if b < 0x80 { |
| 10219 | break |
| 10220 | } |
| 10221 | } |
| 10222 | if msglen < 0 { |
| 10223 | return ErrInvalidLengthGenerated |
| 10224 | } |
| 10225 | postIndex := iNdEx + msglen |
| 10226 | if postIndex > l { |
| 10227 | return io.ErrUnexpectedEOF |
| 10228 | } |
| 10229 | if err := m.SupplementalGroups.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 10230 | return err |
| 10231 | } |
| 10232 | iNdEx = postIndex |
| 10233 | case 13: |
| 10234 | if wireType != 2 { |
| 10235 | return fmt.Errorf("proto: wrong wireType = %d for field FSGroup", wireType) |
| 10236 | } |
| 10237 | var msglen int |
| 10238 | for shift := uint(0); ; shift += 7 { |
| 10239 | if shift >= 64 { |
| 10240 | return ErrIntOverflowGenerated |
| 10241 | } |
| 10242 | if iNdEx >= l { |
| 10243 | return io.ErrUnexpectedEOF |
| 10244 | } |
| 10245 | b := dAtA[iNdEx] |
| 10246 | iNdEx++ |
| 10247 | msglen |= (int(b) & 0x7F) << shift |
| 10248 | if b < 0x80 { |
| 10249 | break |
| 10250 | } |
| 10251 | } |
| 10252 | if msglen < 0 { |
| 10253 | return ErrInvalidLengthGenerated |
| 10254 | } |
| 10255 | postIndex := iNdEx + msglen |
| 10256 | if postIndex > l { |
| 10257 | return io.ErrUnexpectedEOF |
| 10258 | } |
| 10259 | if err := m.FSGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 10260 | return err |
| 10261 | } |
| 10262 | iNdEx = postIndex |
| 10263 | case 14: |
| 10264 | if wireType != 0 { |
| 10265 | return fmt.Errorf("proto: wrong wireType = %d for field ReadOnlyRootFilesystem", wireType) |
| 10266 | } |
| 10267 | var v int |
| 10268 | for shift := uint(0); ; shift += 7 { |
| 10269 | if shift >= 64 { |
| 10270 | return ErrIntOverflowGenerated |
| 10271 | } |
| 10272 | if iNdEx >= l { |
| 10273 | return io.ErrUnexpectedEOF |
| 10274 | } |
| 10275 | b := dAtA[iNdEx] |
| 10276 | iNdEx++ |
| 10277 | v |= (int(b) & 0x7F) << shift |
| 10278 | if b < 0x80 { |
| 10279 | break |
| 10280 | } |
| 10281 | } |
| 10282 | m.ReadOnlyRootFilesystem = bool(v != 0) |
| 10283 | case 15: |
| 10284 | if wireType != 0 { |
| 10285 | return fmt.Errorf("proto: wrong wireType = %d for field DefaultAllowPrivilegeEscalation", wireType) |
| 10286 | } |
| 10287 | var v int |
| 10288 | for shift := uint(0); ; shift += 7 { |
| 10289 | if shift >= 64 { |
| 10290 | return ErrIntOverflowGenerated |
| 10291 | } |
| 10292 | if iNdEx >= l { |
| 10293 | return io.ErrUnexpectedEOF |
| 10294 | } |
| 10295 | b := dAtA[iNdEx] |
| 10296 | iNdEx++ |
| 10297 | v |= (int(b) & 0x7F) << shift |
| 10298 | if b < 0x80 { |
| 10299 | break |
| 10300 | } |
| 10301 | } |
| 10302 | b := bool(v != 0) |
| 10303 | m.DefaultAllowPrivilegeEscalation = &b |
| 10304 | case 16: |
| 10305 | if wireType != 0 { |
| 10306 | return fmt.Errorf("proto: wrong wireType = %d for field AllowPrivilegeEscalation", wireType) |
| 10307 | } |
| 10308 | var v int |
| 10309 | for shift := uint(0); ; shift += 7 { |
| 10310 | if shift >= 64 { |
| 10311 | return ErrIntOverflowGenerated |
| 10312 | } |
| 10313 | if iNdEx >= l { |
| 10314 | return io.ErrUnexpectedEOF |
| 10315 | } |
| 10316 | b := dAtA[iNdEx] |
| 10317 | iNdEx++ |
| 10318 | v |= (int(b) & 0x7F) << shift |
| 10319 | if b < 0x80 { |
| 10320 | break |
| 10321 | } |
| 10322 | } |
| 10323 | b := bool(v != 0) |
| 10324 | m.AllowPrivilegeEscalation = &b |
| 10325 | case 17: |
| 10326 | if wireType != 2 { |
| 10327 | return fmt.Errorf("proto: wrong wireType = %d for field AllowedHostPaths", wireType) |
| 10328 | } |
| 10329 | var msglen int |
| 10330 | for shift := uint(0); ; shift += 7 { |
| 10331 | if shift >= 64 { |
| 10332 | return ErrIntOverflowGenerated |
| 10333 | } |
| 10334 | if iNdEx >= l { |
| 10335 | return io.ErrUnexpectedEOF |
| 10336 | } |
| 10337 | b := dAtA[iNdEx] |
| 10338 | iNdEx++ |
| 10339 | msglen |= (int(b) & 0x7F) << shift |
| 10340 | if b < 0x80 { |
| 10341 | break |
| 10342 | } |
| 10343 | } |
| 10344 | if msglen < 0 { |
| 10345 | return ErrInvalidLengthGenerated |
| 10346 | } |
| 10347 | postIndex := iNdEx + msglen |
| 10348 | if postIndex > l { |
| 10349 | return io.ErrUnexpectedEOF |
| 10350 | } |
| 10351 | m.AllowedHostPaths = append(m.AllowedHostPaths, AllowedHostPath{}) |
| 10352 | if err := m.AllowedHostPaths[len(m.AllowedHostPaths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 10353 | return err |
| 10354 | } |
| 10355 | iNdEx = postIndex |
| 10356 | case 18: |
| 10357 | if wireType != 2 { |
| 10358 | return fmt.Errorf("proto: wrong wireType = %d for field AllowedFlexVolumes", wireType) |
| 10359 | } |
| 10360 | var msglen int |
| 10361 | for shift := uint(0); ; shift += 7 { |
| 10362 | if shift >= 64 { |
| 10363 | return ErrIntOverflowGenerated |
| 10364 | } |
| 10365 | if iNdEx >= l { |
| 10366 | return io.ErrUnexpectedEOF |
| 10367 | } |
| 10368 | b := dAtA[iNdEx] |
| 10369 | iNdEx++ |
| 10370 | msglen |= (int(b) & 0x7F) << shift |
| 10371 | if b < 0x80 { |
| 10372 | break |
| 10373 | } |
| 10374 | } |
| 10375 | if msglen < 0 { |
| 10376 | return ErrInvalidLengthGenerated |
| 10377 | } |
| 10378 | postIndex := iNdEx + msglen |
| 10379 | if postIndex > l { |
| 10380 | return io.ErrUnexpectedEOF |
| 10381 | } |
| 10382 | m.AllowedFlexVolumes = append(m.AllowedFlexVolumes, AllowedFlexVolume{}) |
| 10383 | if err := m.AllowedFlexVolumes[len(m.AllowedFlexVolumes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 10384 | return err |
| 10385 | } |
| 10386 | iNdEx = postIndex |
| 10387 | case 19: |
| 10388 | if wireType != 2 { |
| 10389 | return fmt.Errorf("proto: wrong wireType = %d for field AllowedUnsafeSysctls", wireType) |
| 10390 | } |
| 10391 | var stringLen uint64 |
| 10392 | for shift := uint(0); ; shift += 7 { |
| 10393 | if shift >= 64 { |
| 10394 | return ErrIntOverflowGenerated |
| 10395 | } |
| 10396 | if iNdEx >= l { |
| 10397 | return io.ErrUnexpectedEOF |
| 10398 | } |
| 10399 | b := dAtA[iNdEx] |
| 10400 | iNdEx++ |
| 10401 | stringLen |= (uint64(b) & 0x7F) << shift |
| 10402 | if b < 0x80 { |
| 10403 | break |
| 10404 | } |
| 10405 | } |
| 10406 | intStringLen := int(stringLen) |
| 10407 | if intStringLen < 0 { |
| 10408 | return ErrInvalidLengthGenerated |
| 10409 | } |
| 10410 | postIndex := iNdEx + intStringLen |
| 10411 | if postIndex > l { |
| 10412 | return io.ErrUnexpectedEOF |
| 10413 | } |
| 10414 | m.AllowedUnsafeSysctls = append(m.AllowedUnsafeSysctls, string(dAtA[iNdEx:postIndex])) |
| 10415 | iNdEx = postIndex |
| 10416 | case 20: |
| 10417 | if wireType != 2 { |
| 10418 | return fmt.Errorf("proto: wrong wireType = %d for field ForbiddenSysctls", wireType) |
| 10419 | } |
| 10420 | var stringLen uint64 |
| 10421 | for shift := uint(0); ; shift += 7 { |
| 10422 | if shift >= 64 { |
| 10423 | return ErrIntOverflowGenerated |
| 10424 | } |
| 10425 | if iNdEx >= l { |
| 10426 | return io.ErrUnexpectedEOF |
| 10427 | } |
| 10428 | b := dAtA[iNdEx] |
| 10429 | iNdEx++ |
| 10430 | stringLen |= (uint64(b) & 0x7F) << shift |
| 10431 | if b < 0x80 { |
| 10432 | break |
| 10433 | } |
| 10434 | } |
| 10435 | intStringLen := int(stringLen) |
| 10436 | if intStringLen < 0 { |
| 10437 | return ErrInvalidLengthGenerated |
| 10438 | } |
| 10439 | postIndex := iNdEx + intStringLen |
| 10440 | if postIndex > l { |
| 10441 | return io.ErrUnexpectedEOF |
| 10442 | } |
| 10443 | m.ForbiddenSysctls = append(m.ForbiddenSysctls, string(dAtA[iNdEx:postIndex])) |
| 10444 | iNdEx = postIndex |
| 10445 | default: |
| 10446 | iNdEx = preIndex |
| 10447 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 10448 | if err != nil { |
| 10449 | return err |
| 10450 | } |
| 10451 | if skippy < 0 { |
| 10452 | return ErrInvalidLengthGenerated |
| 10453 | } |
| 10454 | if (iNdEx + skippy) > l { |
| 10455 | return io.ErrUnexpectedEOF |
| 10456 | } |
| 10457 | iNdEx += skippy |
| 10458 | } |
| 10459 | } |
| 10460 | |
| 10461 | if iNdEx > l { |
| 10462 | return io.ErrUnexpectedEOF |
| 10463 | } |
| 10464 | return nil |
| 10465 | } |
| 10466 | func (m *ReplicaSet) Unmarshal(dAtA []byte) error { |
| 10467 | l := len(dAtA) |
| 10468 | iNdEx := 0 |
| 10469 | for iNdEx < l { |
| 10470 | preIndex := iNdEx |
| 10471 | var wire uint64 |
| 10472 | for shift := uint(0); ; shift += 7 { |
| 10473 | if shift >= 64 { |
| 10474 | return ErrIntOverflowGenerated |
| 10475 | } |
| 10476 | if iNdEx >= l { |
| 10477 | return io.ErrUnexpectedEOF |
| 10478 | } |
| 10479 | b := dAtA[iNdEx] |
| 10480 | iNdEx++ |
| 10481 | wire |= (uint64(b) & 0x7F) << shift |
| 10482 | if b < 0x80 { |
| 10483 | break |
| 10484 | } |
| 10485 | } |
| 10486 | fieldNum := int32(wire >> 3) |
| 10487 | wireType := int(wire & 0x7) |
| 10488 | if wireType == 4 { |
| 10489 | return fmt.Errorf("proto: ReplicaSet: wiretype end group for non-group") |
| 10490 | } |
| 10491 | if fieldNum <= 0 { |
| 10492 | return fmt.Errorf("proto: ReplicaSet: illegal tag %d (wire type %d)", fieldNum, wire) |
| 10493 | } |
| 10494 | switch fieldNum { |
| 10495 | case 1: |
| 10496 | if wireType != 2 { |
| 10497 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 10498 | } |
| 10499 | var msglen int |
| 10500 | for shift := uint(0); ; shift += 7 { |
| 10501 | if shift >= 64 { |
| 10502 | return ErrIntOverflowGenerated |
| 10503 | } |
| 10504 | if iNdEx >= l { |
| 10505 | return io.ErrUnexpectedEOF |
| 10506 | } |
| 10507 | b := dAtA[iNdEx] |
| 10508 | iNdEx++ |
| 10509 | msglen |= (int(b) & 0x7F) << shift |
| 10510 | if b < 0x80 { |
| 10511 | break |
| 10512 | } |
| 10513 | } |
| 10514 | if msglen < 0 { |
| 10515 | return ErrInvalidLengthGenerated |
| 10516 | } |
| 10517 | postIndex := iNdEx + msglen |
| 10518 | if postIndex > l { |
| 10519 | return io.ErrUnexpectedEOF |
| 10520 | } |
| 10521 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 10522 | return err |
| 10523 | } |
| 10524 | iNdEx = postIndex |
| 10525 | case 2: |
| 10526 | if wireType != 2 { |
| 10527 | return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) |
| 10528 | } |
| 10529 | var msglen int |
| 10530 | for shift := uint(0); ; shift += 7 { |
| 10531 | if shift >= 64 { |
| 10532 | return ErrIntOverflowGenerated |
| 10533 | } |
| 10534 | if iNdEx >= l { |
| 10535 | return io.ErrUnexpectedEOF |
| 10536 | } |
| 10537 | b := dAtA[iNdEx] |
| 10538 | iNdEx++ |
| 10539 | msglen |= (int(b) & 0x7F) << shift |
| 10540 | if b < 0x80 { |
| 10541 | break |
| 10542 | } |
| 10543 | } |
| 10544 | if msglen < 0 { |
| 10545 | return ErrInvalidLengthGenerated |
| 10546 | } |
| 10547 | postIndex := iNdEx + msglen |
| 10548 | if postIndex > l { |
| 10549 | return io.ErrUnexpectedEOF |
| 10550 | } |
| 10551 | if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 10552 | return err |
| 10553 | } |
| 10554 | iNdEx = postIndex |
| 10555 | case 3: |
| 10556 | if wireType != 2 { |
| 10557 | return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 10558 | } |
| 10559 | var msglen int |
| 10560 | for shift := uint(0); ; shift += 7 { |
| 10561 | if shift >= 64 { |
| 10562 | return ErrIntOverflowGenerated |
| 10563 | } |
| 10564 | if iNdEx >= l { |
| 10565 | return io.ErrUnexpectedEOF |
| 10566 | } |
| 10567 | b := dAtA[iNdEx] |
| 10568 | iNdEx++ |
| 10569 | msglen |= (int(b) & 0x7F) << shift |
| 10570 | if b < 0x80 { |
| 10571 | break |
| 10572 | } |
| 10573 | } |
| 10574 | if msglen < 0 { |
| 10575 | return ErrInvalidLengthGenerated |
| 10576 | } |
| 10577 | postIndex := iNdEx + msglen |
| 10578 | if postIndex > l { |
| 10579 | return io.ErrUnexpectedEOF |
| 10580 | } |
| 10581 | if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 10582 | return err |
| 10583 | } |
| 10584 | iNdEx = postIndex |
| 10585 | default: |
| 10586 | iNdEx = preIndex |
| 10587 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 10588 | if err != nil { |
| 10589 | return err |
| 10590 | } |
| 10591 | if skippy < 0 { |
| 10592 | return ErrInvalidLengthGenerated |
| 10593 | } |
| 10594 | if (iNdEx + skippy) > l { |
| 10595 | return io.ErrUnexpectedEOF |
| 10596 | } |
| 10597 | iNdEx += skippy |
| 10598 | } |
| 10599 | } |
| 10600 | |
| 10601 | if iNdEx > l { |
| 10602 | return io.ErrUnexpectedEOF |
| 10603 | } |
| 10604 | return nil |
| 10605 | } |
| 10606 | func (m *ReplicaSetCondition) Unmarshal(dAtA []byte) error { |
| 10607 | l := len(dAtA) |
| 10608 | iNdEx := 0 |
| 10609 | for iNdEx < l { |
| 10610 | preIndex := iNdEx |
| 10611 | var wire uint64 |
| 10612 | for shift := uint(0); ; shift += 7 { |
| 10613 | if shift >= 64 { |
| 10614 | return ErrIntOverflowGenerated |
| 10615 | } |
| 10616 | if iNdEx >= l { |
| 10617 | return io.ErrUnexpectedEOF |
| 10618 | } |
| 10619 | b := dAtA[iNdEx] |
| 10620 | iNdEx++ |
| 10621 | wire |= (uint64(b) & 0x7F) << shift |
| 10622 | if b < 0x80 { |
| 10623 | break |
| 10624 | } |
| 10625 | } |
| 10626 | fieldNum := int32(wire >> 3) |
| 10627 | wireType := int(wire & 0x7) |
| 10628 | if wireType == 4 { |
| 10629 | return fmt.Errorf("proto: ReplicaSetCondition: wiretype end group for non-group") |
| 10630 | } |
| 10631 | if fieldNum <= 0 { |
| 10632 | return fmt.Errorf("proto: ReplicaSetCondition: illegal tag %d (wire type %d)", fieldNum, wire) |
| 10633 | } |
| 10634 | switch fieldNum { |
| 10635 | case 1: |
| 10636 | if wireType != 2 { |
| 10637 | return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 10638 | } |
| 10639 | var stringLen uint64 |
| 10640 | for shift := uint(0); ; shift += 7 { |
| 10641 | if shift >= 64 { |
| 10642 | return ErrIntOverflowGenerated |
| 10643 | } |
| 10644 | if iNdEx >= l { |
| 10645 | return io.ErrUnexpectedEOF |
| 10646 | } |
| 10647 | b := dAtA[iNdEx] |
| 10648 | iNdEx++ |
| 10649 | stringLen |= (uint64(b) & 0x7F) << shift |
| 10650 | if b < 0x80 { |
| 10651 | break |
| 10652 | } |
| 10653 | } |
| 10654 | intStringLen := int(stringLen) |
| 10655 | if intStringLen < 0 { |
| 10656 | return ErrInvalidLengthGenerated |
| 10657 | } |
| 10658 | postIndex := iNdEx + intStringLen |
| 10659 | if postIndex > l { |
| 10660 | return io.ErrUnexpectedEOF |
| 10661 | } |
| 10662 | m.Type = ReplicaSetConditionType(dAtA[iNdEx:postIndex]) |
| 10663 | iNdEx = postIndex |
| 10664 | case 2: |
| 10665 | if wireType != 2 { |
| 10666 | return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 10667 | } |
| 10668 | var stringLen uint64 |
| 10669 | for shift := uint(0); ; shift += 7 { |
| 10670 | if shift >= 64 { |
| 10671 | return ErrIntOverflowGenerated |
| 10672 | } |
| 10673 | if iNdEx >= l { |
| 10674 | return io.ErrUnexpectedEOF |
| 10675 | } |
| 10676 | b := dAtA[iNdEx] |
| 10677 | iNdEx++ |
| 10678 | stringLen |= (uint64(b) & 0x7F) << shift |
| 10679 | if b < 0x80 { |
| 10680 | break |
| 10681 | } |
| 10682 | } |
| 10683 | intStringLen := int(stringLen) |
| 10684 | if intStringLen < 0 { |
| 10685 | return ErrInvalidLengthGenerated |
| 10686 | } |
| 10687 | postIndex := iNdEx + intStringLen |
| 10688 | if postIndex > l { |
| 10689 | return io.ErrUnexpectedEOF |
| 10690 | } |
| 10691 | m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex]) |
| 10692 | iNdEx = postIndex |
| 10693 | case 3: |
| 10694 | if wireType != 2 { |
| 10695 | return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) |
| 10696 | } |
| 10697 | var msglen int |
| 10698 | for shift := uint(0); ; shift += 7 { |
| 10699 | if shift >= 64 { |
| 10700 | return ErrIntOverflowGenerated |
| 10701 | } |
| 10702 | if iNdEx >= l { |
| 10703 | return io.ErrUnexpectedEOF |
| 10704 | } |
| 10705 | b := dAtA[iNdEx] |
| 10706 | iNdEx++ |
| 10707 | msglen |= (int(b) & 0x7F) << shift |
| 10708 | if b < 0x80 { |
| 10709 | break |
| 10710 | } |
| 10711 | } |
| 10712 | if msglen < 0 { |
| 10713 | return ErrInvalidLengthGenerated |
| 10714 | } |
| 10715 | postIndex := iNdEx + msglen |
| 10716 | if postIndex > l { |
| 10717 | return io.ErrUnexpectedEOF |
| 10718 | } |
| 10719 | if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 10720 | return err |
| 10721 | } |
| 10722 | iNdEx = postIndex |
| 10723 | case 4: |
| 10724 | if wireType != 2 { |
| 10725 | return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) |
| 10726 | } |
| 10727 | var stringLen uint64 |
| 10728 | for shift := uint(0); ; shift += 7 { |
| 10729 | if shift >= 64 { |
| 10730 | return ErrIntOverflowGenerated |
| 10731 | } |
| 10732 | if iNdEx >= l { |
| 10733 | return io.ErrUnexpectedEOF |
| 10734 | } |
| 10735 | b := dAtA[iNdEx] |
| 10736 | iNdEx++ |
| 10737 | stringLen |= (uint64(b) & 0x7F) << shift |
| 10738 | if b < 0x80 { |
| 10739 | break |
| 10740 | } |
| 10741 | } |
| 10742 | intStringLen := int(stringLen) |
| 10743 | if intStringLen < 0 { |
| 10744 | return ErrInvalidLengthGenerated |
| 10745 | } |
| 10746 | postIndex := iNdEx + intStringLen |
| 10747 | if postIndex > l { |
| 10748 | return io.ErrUnexpectedEOF |
| 10749 | } |
| 10750 | m.Reason = string(dAtA[iNdEx:postIndex]) |
| 10751 | iNdEx = postIndex |
| 10752 | case 5: |
| 10753 | if wireType != 2 { |
| 10754 | return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) |
| 10755 | } |
| 10756 | var stringLen uint64 |
| 10757 | for shift := uint(0); ; shift += 7 { |
| 10758 | if shift >= 64 { |
| 10759 | return ErrIntOverflowGenerated |
| 10760 | } |
| 10761 | if iNdEx >= l { |
| 10762 | return io.ErrUnexpectedEOF |
| 10763 | } |
| 10764 | b := dAtA[iNdEx] |
| 10765 | iNdEx++ |
| 10766 | stringLen |= (uint64(b) & 0x7F) << shift |
| 10767 | if b < 0x80 { |
| 10768 | break |
| 10769 | } |
| 10770 | } |
| 10771 | intStringLen := int(stringLen) |
| 10772 | if intStringLen < 0 { |
| 10773 | return ErrInvalidLengthGenerated |
| 10774 | } |
| 10775 | postIndex := iNdEx + intStringLen |
| 10776 | if postIndex > l { |
| 10777 | return io.ErrUnexpectedEOF |
| 10778 | } |
| 10779 | m.Message = string(dAtA[iNdEx:postIndex]) |
| 10780 | iNdEx = postIndex |
| 10781 | default: |
| 10782 | iNdEx = preIndex |
| 10783 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 10784 | if err != nil { |
| 10785 | return err |
| 10786 | } |
| 10787 | if skippy < 0 { |
| 10788 | return ErrInvalidLengthGenerated |
| 10789 | } |
| 10790 | if (iNdEx + skippy) > l { |
| 10791 | return io.ErrUnexpectedEOF |
| 10792 | } |
| 10793 | iNdEx += skippy |
| 10794 | } |
| 10795 | } |
| 10796 | |
| 10797 | if iNdEx > l { |
| 10798 | return io.ErrUnexpectedEOF |
| 10799 | } |
| 10800 | return nil |
| 10801 | } |
| 10802 | func (m *ReplicaSetList) Unmarshal(dAtA []byte) error { |
| 10803 | l := len(dAtA) |
| 10804 | iNdEx := 0 |
| 10805 | for iNdEx < l { |
| 10806 | preIndex := iNdEx |
| 10807 | var wire uint64 |
| 10808 | for shift := uint(0); ; shift += 7 { |
| 10809 | if shift >= 64 { |
| 10810 | return ErrIntOverflowGenerated |
| 10811 | } |
| 10812 | if iNdEx >= l { |
| 10813 | return io.ErrUnexpectedEOF |
| 10814 | } |
| 10815 | b := dAtA[iNdEx] |
| 10816 | iNdEx++ |
| 10817 | wire |= (uint64(b) & 0x7F) << shift |
| 10818 | if b < 0x80 { |
| 10819 | break |
| 10820 | } |
| 10821 | } |
| 10822 | fieldNum := int32(wire >> 3) |
| 10823 | wireType := int(wire & 0x7) |
| 10824 | if wireType == 4 { |
| 10825 | return fmt.Errorf("proto: ReplicaSetList: wiretype end group for non-group") |
| 10826 | } |
| 10827 | if fieldNum <= 0 { |
| 10828 | return fmt.Errorf("proto: ReplicaSetList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 10829 | } |
| 10830 | switch fieldNum { |
| 10831 | case 1: |
| 10832 | if wireType != 2 { |
| 10833 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 10834 | } |
| 10835 | var msglen int |
| 10836 | for shift := uint(0); ; shift += 7 { |
| 10837 | if shift >= 64 { |
| 10838 | return ErrIntOverflowGenerated |
| 10839 | } |
| 10840 | if iNdEx >= l { |
| 10841 | return io.ErrUnexpectedEOF |
| 10842 | } |
| 10843 | b := dAtA[iNdEx] |
| 10844 | iNdEx++ |
| 10845 | msglen |= (int(b) & 0x7F) << shift |
| 10846 | if b < 0x80 { |
| 10847 | break |
| 10848 | } |
| 10849 | } |
| 10850 | if msglen < 0 { |
| 10851 | return ErrInvalidLengthGenerated |
| 10852 | } |
| 10853 | postIndex := iNdEx + msglen |
| 10854 | if postIndex > l { |
| 10855 | return io.ErrUnexpectedEOF |
| 10856 | } |
| 10857 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 10858 | return err |
| 10859 | } |
| 10860 | iNdEx = postIndex |
| 10861 | case 2: |
| 10862 | if wireType != 2 { |
| 10863 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 10864 | } |
| 10865 | var msglen int |
| 10866 | for shift := uint(0); ; shift += 7 { |
| 10867 | if shift >= 64 { |
| 10868 | return ErrIntOverflowGenerated |
| 10869 | } |
| 10870 | if iNdEx >= l { |
| 10871 | return io.ErrUnexpectedEOF |
| 10872 | } |
| 10873 | b := dAtA[iNdEx] |
| 10874 | iNdEx++ |
| 10875 | msglen |= (int(b) & 0x7F) << shift |
| 10876 | if b < 0x80 { |
| 10877 | break |
| 10878 | } |
| 10879 | } |
| 10880 | if msglen < 0 { |
| 10881 | return ErrInvalidLengthGenerated |
| 10882 | } |
| 10883 | postIndex := iNdEx + msglen |
| 10884 | if postIndex > l { |
| 10885 | return io.ErrUnexpectedEOF |
| 10886 | } |
| 10887 | m.Items = append(m.Items, ReplicaSet{}) |
| 10888 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 10889 | return err |
| 10890 | } |
| 10891 | iNdEx = postIndex |
| 10892 | default: |
| 10893 | iNdEx = preIndex |
| 10894 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 10895 | if err != nil { |
| 10896 | return err |
| 10897 | } |
| 10898 | if skippy < 0 { |
| 10899 | return ErrInvalidLengthGenerated |
| 10900 | } |
| 10901 | if (iNdEx + skippy) > l { |
| 10902 | return io.ErrUnexpectedEOF |
| 10903 | } |
| 10904 | iNdEx += skippy |
| 10905 | } |
| 10906 | } |
| 10907 | |
| 10908 | if iNdEx > l { |
| 10909 | return io.ErrUnexpectedEOF |
| 10910 | } |
| 10911 | return nil |
| 10912 | } |
| 10913 | func (m *ReplicaSetSpec) Unmarshal(dAtA []byte) error { |
| 10914 | l := len(dAtA) |
| 10915 | iNdEx := 0 |
| 10916 | for iNdEx < l { |
| 10917 | preIndex := iNdEx |
| 10918 | var wire uint64 |
| 10919 | for shift := uint(0); ; shift += 7 { |
| 10920 | if shift >= 64 { |
| 10921 | return ErrIntOverflowGenerated |
| 10922 | } |
| 10923 | if iNdEx >= l { |
| 10924 | return io.ErrUnexpectedEOF |
| 10925 | } |
| 10926 | b := dAtA[iNdEx] |
| 10927 | iNdEx++ |
| 10928 | wire |= (uint64(b) & 0x7F) << shift |
| 10929 | if b < 0x80 { |
| 10930 | break |
| 10931 | } |
| 10932 | } |
| 10933 | fieldNum := int32(wire >> 3) |
| 10934 | wireType := int(wire & 0x7) |
| 10935 | if wireType == 4 { |
| 10936 | return fmt.Errorf("proto: ReplicaSetSpec: wiretype end group for non-group") |
| 10937 | } |
| 10938 | if fieldNum <= 0 { |
| 10939 | return fmt.Errorf("proto: ReplicaSetSpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| 10940 | } |
| 10941 | switch fieldNum { |
| 10942 | case 1: |
| 10943 | if wireType != 0 { |
| 10944 | return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType) |
| 10945 | } |
| 10946 | var v int32 |
| 10947 | for shift := uint(0); ; shift += 7 { |
| 10948 | if shift >= 64 { |
| 10949 | return ErrIntOverflowGenerated |
| 10950 | } |
| 10951 | if iNdEx >= l { |
| 10952 | return io.ErrUnexpectedEOF |
| 10953 | } |
| 10954 | b := dAtA[iNdEx] |
| 10955 | iNdEx++ |
| 10956 | v |= (int32(b) & 0x7F) << shift |
| 10957 | if b < 0x80 { |
| 10958 | break |
| 10959 | } |
| 10960 | } |
| 10961 | m.Replicas = &v |
| 10962 | case 2: |
| 10963 | if wireType != 2 { |
| 10964 | return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType) |
| 10965 | } |
| 10966 | var msglen int |
| 10967 | for shift := uint(0); ; shift += 7 { |
| 10968 | if shift >= 64 { |
| 10969 | return ErrIntOverflowGenerated |
| 10970 | } |
| 10971 | if iNdEx >= l { |
| 10972 | return io.ErrUnexpectedEOF |
| 10973 | } |
| 10974 | b := dAtA[iNdEx] |
| 10975 | iNdEx++ |
| 10976 | msglen |= (int(b) & 0x7F) << shift |
| 10977 | if b < 0x80 { |
| 10978 | break |
| 10979 | } |
| 10980 | } |
| 10981 | if msglen < 0 { |
| 10982 | return ErrInvalidLengthGenerated |
| 10983 | } |
| 10984 | postIndex := iNdEx + msglen |
| 10985 | if postIndex > l { |
| 10986 | return io.ErrUnexpectedEOF |
| 10987 | } |
| 10988 | if m.Selector == nil { |
| 10989 | m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} |
| 10990 | } |
| 10991 | if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 10992 | return err |
| 10993 | } |
| 10994 | iNdEx = postIndex |
| 10995 | case 3: |
| 10996 | if wireType != 2 { |
| 10997 | return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType) |
| 10998 | } |
| 10999 | var msglen int |
| 11000 | for shift := uint(0); ; shift += 7 { |
| 11001 | if shift >= 64 { |
| 11002 | return ErrIntOverflowGenerated |
| 11003 | } |
| 11004 | if iNdEx >= l { |
| 11005 | return io.ErrUnexpectedEOF |
| 11006 | } |
| 11007 | b := dAtA[iNdEx] |
| 11008 | iNdEx++ |
| 11009 | msglen |= (int(b) & 0x7F) << shift |
| 11010 | if b < 0x80 { |
| 11011 | break |
| 11012 | } |
| 11013 | } |
| 11014 | if msglen < 0 { |
| 11015 | return ErrInvalidLengthGenerated |
| 11016 | } |
| 11017 | postIndex := iNdEx + msglen |
| 11018 | if postIndex > l { |
| 11019 | return io.ErrUnexpectedEOF |
| 11020 | } |
| 11021 | if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11022 | return err |
| 11023 | } |
| 11024 | iNdEx = postIndex |
| 11025 | case 4: |
| 11026 | if wireType != 0 { |
| 11027 | return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType) |
| 11028 | } |
| 11029 | m.MinReadySeconds = 0 |
| 11030 | for shift := uint(0); ; shift += 7 { |
| 11031 | if shift >= 64 { |
| 11032 | return ErrIntOverflowGenerated |
| 11033 | } |
| 11034 | if iNdEx >= l { |
| 11035 | return io.ErrUnexpectedEOF |
| 11036 | } |
| 11037 | b := dAtA[iNdEx] |
| 11038 | iNdEx++ |
| 11039 | m.MinReadySeconds |= (int32(b) & 0x7F) << shift |
| 11040 | if b < 0x80 { |
| 11041 | break |
| 11042 | } |
| 11043 | } |
| 11044 | default: |
| 11045 | iNdEx = preIndex |
| 11046 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 11047 | if err != nil { |
| 11048 | return err |
| 11049 | } |
| 11050 | if skippy < 0 { |
| 11051 | return ErrInvalidLengthGenerated |
| 11052 | } |
| 11053 | if (iNdEx + skippy) > l { |
| 11054 | return io.ErrUnexpectedEOF |
| 11055 | } |
| 11056 | iNdEx += skippy |
| 11057 | } |
| 11058 | } |
| 11059 | |
| 11060 | if iNdEx > l { |
| 11061 | return io.ErrUnexpectedEOF |
| 11062 | } |
| 11063 | return nil |
| 11064 | } |
| 11065 | func (m *ReplicaSetStatus) Unmarshal(dAtA []byte) error { |
| 11066 | l := len(dAtA) |
| 11067 | iNdEx := 0 |
| 11068 | for iNdEx < l { |
| 11069 | preIndex := iNdEx |
| 11070 | var wire uint64 |
| 11071 | for shift := uint(0); ; shift += 7 { |
| 11072 | if shift >= 64 { |
| 11073 | return ErrIntOverflowGenerated |
| 11074 | } |
| 11075 | if iNdEx >= l { |
| 11076 | return io.ErrUnexpectedEOF |
| 11077 | } |
| 11078 | b := dAtA[iNdEx] |
| 11079 | iNdEx++ |
| 11080 | wire |= (uint64(b) & 0x7F) << shift |
| 11081 | if b < 0x80 { |
| 11082 | break |
| 11083 | } |
| 11084 | } |
| 11085 | fieldNum := int32(wire >> 3) |
| 11086 | wireType := int(wire & 0x7) |
| 11087 | if wireType == 4 { |
| 11088 | return fmt.Errorf("proto: ReplicaSetStatus: wiretype end group for non-group") |
| 11089 | } |
| 11090 | if fieldNum <= 0 { |
| 11091 | return fmt.Errorf("proto: ReplicaSetStatus: illegal tag %d (wire type %d)", fieldNum, wire) |
| 11092 | } |
| 11093 | switch fieldNum { |
| 11094 | case 1: |
| 11095 | if wireType != 0 { |
| 11096 | return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType) |
| 11097 | } |
| 11098 | m.Replicas = 0 |
| 11099 | for shift := uint(0); ; shift += 7 { |
| 11100 | if shift >= 64 { |
| 11101 | return ErrIntOverflowGenerated |
| 11102 | } |
| 11103 | if iNdEx >= l { |
| 11104 | return io.ErrUnexpectedEOF |
| 11105 | } |
| 11106 | b := dAtA[iNdEx] |
| 11107 | iNdEx++ |
| 11108 | m.Replicas |= (int32(b) & 0x7F) << shift |
| 11109 | if b < 0x80 { |
| 11110 | break |
| 11111 | } |
| 11112 | } |
| 11113 | case 2: |
| 11114 | if wireType != 0 { |
| 11115 | return fmt.Errorf("proto: wrong wireType = %d for field FullyLabeledReplicas", wireType) |
| 11116 | } |
| 11117 | m.FullyLabeledReplicas = 0 |
| 11118 | for shift := uint(0); ; shift += 7 { |
| 11119 | if shift >= 64 { |
| 11120 | return ErrIntOverflowGenerated |
| 11121 | } |
| 11122 | if iNdEx >= l { |
| 11123 | return io.ErrUnexpectedEOF |
| 11124 | } |
| 11125 | b := dAtA[iNdEx] |
| 11126 | iNdEx++ |
| 11127 | m.FullyLabeledReplicas |= (int32(b) & 0x7F) << shift |
| 11128 | if b < 0x80 { |
| 11129 | break |
| 11130 | } |
| 11131 | } |
| 11132 | case 3: |
| 11133 | if wireType != 0 { |
| 11134 | return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType) |
| 11135 | } |
| 11136 | m.ObservedGeneration = 0 |
| 11137 | for shift := uint(0); ; shift += 7 { |
| 11138 | if shift >= 64 { |
| 11139 | return ErrIntOverflowGenerated |
| 11140 | } |
| 11141 | if iNdEx >= l { |
| 11142 | return io.ErrUnexpectedEOF |
| 11143 | } |
| 11144 | b := dAtA[iNdEx] |
| 11145 | iNdEx++ |
| 11146 | m.ObservedGeneration |= (int64(b) & 0x7F) << shift |
| 11147 | if b < 0x80 { |
| 11148 | break |
| 11149 | } |
| 11150 | } |
| 11151 | case 4: |
| 11152 | if wireType != 0 { |
| 11153 | return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType) |
| 11154 | } |
| 11155 | m.ReadyReplicas = 0 |
| 11156 | for shift := uint(0); ; shift += 7 { |
| 11157 | if shift >= 64 { |
| 11158 | return ErrIntOverflowGenerated |
| 11159 | } |
| 11160 | if iNdEx >= l { |
| 11161 | return io.ErrUnexpectedEOF |
| 11162 | } |
| 11163 | b := dAtA[iNdEx] |
| 11164 | iNdEx++ |
| 11165 | m.ReadyReplicas |= (int32(b) & 0x7F) << shift |
| 11166 | if b < 0x80 { |
| 11167 | break |
| 11168 | } |
| 11169 | } |
| 11170 | case 5: |
| 11171 | if wireType != 0 { |
| 11172 | return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType) |
| 11173 | } |
| 11174 | m.AvailableReplicas = 0 |
| 11175 | for shift := uint(0); ; shift += 7 { |
| 11176 | if shift >= 64 { |
| 11177 | return ErrIntOverflowGenerated |
| 11178 | } |
| 11179 | if iNdEx >= l { |
| 11180 | return io.ErrUnexpectedEOF |
| 11181 | } |
| 11182 | b := dAtA[iNdEx] |
| 11183 | iNdEx++ |
| 11184 | m.AvailableReplicas |= (int32(b) & 0x7F) << shift |
| 11185 | if b < 0x80 { |
| 11186 | break |
| 11187 | } |
| 11188 | } |
| 11189 | case 6: |
| 11190 | if wireType != 2 { |
| 11191 | return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) |
| 11192 | } |
| 11193 | var msglen int |
| 11194 | for shift := uint(0); ; shift += 7 { |
| 11195 | if shift >= 64 { |
| 11196 | return ErrIntOverflowGenerated |
| 11197 | } |
| 11198 | if iNdEx >= l { |
| 11199 | return io.ErrUnexpectedEOF |
| 11200 | } |
| 11201 | b := dAtA[iNdEx] |
| 11202 | iNdEx++ |
| 11203 | msglen |= (int(b) & 0x7F) << shift |
| 11204 | if b < 0x80 { |
| 11205 | break |
| 11206 | } |
| 11207 | } |
| 11208 | if msglen < 0 { |
| 11209 | return ErrInvalidLengthGenerated |
| 11210 | } |
| 11211 | postIndex := iNdEx + msglen |
| 11212 | if postIndex > l { |
| 11213 | return io.ErrUnexpectedEOF |
| 11214 | } |
| 11215 | m.Conditions = append(m.Conditions, ReplicaSetCondition{}) |
| 11216 | if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11217 | return err |
| 11218 | } |
| 11219 | iNdEx = postIndex |
| 11220 | default: |
| 11221 | iNdEx = preIndex |
| 11222 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 11223 | if err != nil { |
| 11224 | return err |
| 11225 | } |
| 11226 | if skippy < 0 { |
| 11227 | return ErrInvalidLengthGenerated |
| 11228 | } |
| 11229 | if (iNdEx + skippy) > l { |
| 11230 | return io.ErrUnexpectedEOF |
| 11231 | } |
| 11232 | iNdEx += skippy |
| 11233 | } |
| 11234 | } |
| 11235 | |
| 11236 | if iNdEx > l { |
| 11237 | return io.ErrUnexpectedEOF |
| 11238 | } |
| 11239 | return nil |
| 11240 | } |
| 11241 | func (m *ReplicationControllerDummy) Unmarshal(dAtA []byte) error { |
| 11242 | l := len(dAtA) |
| 11243 | iNdEx := 0 |
| 11244 | for iNdEx < l { |
| 11245 | preIndex := iNdEx |
| 11246 | var wire uint64 |
| 11247 | for shift := uint(0); ; shift += 7 { |
| 11248 | if shift >= 64 { |
| 11249 | return ErrIntOverflowGenerated |
| 11250 | } |
| 11251 | if iNdEx >= l { |
| 11252 | return io.ErrUnexpectedEOF |
| 11253 | } |
| 11254 | b := dAtA[iNdEx] |
| 11255 | iNdEx++ |
| 11256 | wire |= (uint64(b) & 0x7F) << shift |
| 11257 | if b < 0x80 { |
| 11258 | break |
| 11259 | } |
| 11260 | } |
| 11261 | fieldNum := int32(wire >> 3) |
| 11262 | wireType := int(wire & 0x7) |
| 11263 | if wireType == 4 { |
| 11264 | return fmt.Errorf("proto: ReplicationControllerDummy: wiretype end group for non-group") |
| 11265 | } |
| 11266 | if fieldNum <= 0 { |
| 11267 | return fmt.Errorf("proto: ReplicationControllerDummy: illegal tag %d (wire type %d)", fieldNum, wire) |
| 11268 | } |
| 11269 | switch fieldNum { |
| 11270 | default: |
| 11271 | iNdEx = preIndex |
| 11272 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 11273 | if err != nil { |
| 11274 | return err |
| 11275 | } |
| 11276 | if skippy < 0 { |
| 11277 | return ErrInvalidLengthGenerated |
| 11278 | } |
| 11279 | if (iNdEx + skippy) > l { |
| 11280 | return io.ErrUnexpectedEOF |
| 11281 | } |
| 11282 | iNdEx += skippy |
| 11283 | } |
| 11284 | } |
| 11285 | |
| 11286 | if iNdEx > l { |
| 11287 | return io.ErrUnexpectedEOF |
| 11288 | } |
| 11289 | return nil |
| 11290 | } |
| 11291 | func (m *RollbackConfig) Unmarshal(dAtA []byte) error { |
| 11292 | l := len(dAtA) |
| 11293 | iNdEx := 0 |
| 11294 | for iNdEx < l { |
| 11295 | preIndex := iNdEx |
| 11296 | var wire uint64 |
| 11297 | for shift := uint(0); ; shift += 7 { |
| 11298 | if shift >= 64 { |
| 11299 | return ErrIntOverflowGenerated |
| 11300 | } |
| 11301 | if iNdEx >= l { |
| 11302 | return io.ErrUnexpectedEOF |
| 11303 | } |
| 11304 | b := dAtA[iNdEx] |
| 11305 | iNdEx++ |
| 11306 | wire |= (uint64(b) & 0x7F) << shift |
| 11307 | if b < 0x80 { |
| 11308 | break |
| 11309 | } |
| 11310 | } |
| 11311 | fieldNum := int32(wire >> 3) |
| 11312 | wireType := int(wire & 0x7) |
| 11313 | if wireType == 4 { |
| 11314 | return fmt.Errorf("proto: RollbackConfig: wiretype end group for non-group") |
| 11315 | } |
| 11316 | if fieldNum <= 0 { |
| 11317 | return fmt.Errorf("proto: RollbackConfig: illegal tag %d (wire type %d)", fieldNum, wire) |
| 11318 | } |
| 11319 | switch fieldNum { |
| 11320 | case 1: |
| 11321 | if wireType != 0 { |
| 11322 | return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) |
| 11323 | } |
| 11324 | m.Revision = 0 |
| 11325 | for shift := uint(0); ; shift += 7 { |
| 11326 | if shift >= 64 { |
| 11327 | return ErrIntOverflowGenerated |
| 11328 | } |
| 11329 | if iNdEx >= l { |
| 11330 | return io.ErrUnexpectedEOF |
| 11331 | } |
| 11332 | b := dAtA[iNdEx] |
| 11333 | iNdEx++ |
| 11334 | m.Revision |= (int64(b) & 0x7F) << shift |
| 11335 | if b < 0x80 { |
| 11336 | break |
| 11337 | } |
| 11338 | } |
| 11339 | default: |
| 11340 | iNdEx = preIndex |
| 11341 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 11342 | if err != nil { |
| 11343 | return err |
| 11344 | } |
| 11345 | if skippy < 0 { |
| 11346 | return ErrInvalidLengthGenerated |
| 11347 | } |
| 11348 | if (iNdEx + skippy) > l { |
| 11349 | return io.ErrUnexpectedEOF |
| 11350 | } |
| 11351 | iNdEx += skippy |
| 11352 | } |
| 11353 | } |
| 11354 | |
| 11355 | if iNdEx > l { |
| 11356 | return io.ErrUnexpectedEOF |
| 11357 | } |
| 11358 | return nil |
| 11359 | } |
| 11360 | func (m *RollingUpdateDaemonSet) Unmarshal(dAtA []byte) error { |
| 11361 | l := len(dAtA) |
| 11362 | iNdEx := 0 |
| 11363 | for iNdEx < l { |
| 11364 | preIndex := iNdEx |
| 11365 | var wire uint64 |
| 11366 | for shift := uint(0); ; shift += 7 { |
| 11367 | if shift >= 64 { |
| 11368 | return ErrIntOverflowGenerated |
| 11369 | } |
| 11370 | if iNdEx >= l { |
| 11371 | return io.ErrUnexpectedEOF |
| 11372 | } |
| 11373 | b := dAtA[iNdEx] |
| 11374 | iNdEx++ |
| 11375 | wire |= (uint64(b) & 0x7F) << shift |
| 11376 | if b < 0x80 { |
| 11377 | break |
| 11378 | } |
| 11379 | } |
| 11380 | fieldNum := int32(wire >> 3) |
| 11381 | wireType := int(wire & 0x7) |
| 11382 | if wireType == 4 { |
| 11383 | return fmt.Errorf("proto: RollingUpdateDaemonSet: wiretype end group for non-group") |
| 11384 | } |
| 11385 | if fieldNum <= 0 { |
| 11386 | return fmt.Errorf("proto: RollingUpdateDaemonSet: illegal tag %d (wire type %d)", fieldNum, wire) |
| 11387 | } |
| 11388 | switch fieldNum { |
| 11389 | case 1: |
| 11390 | if wireType != 2 { |
| 11391 | return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType) |
| 11392 | } |
| 11393 | var msglen int |
| 11394 | for shift := uint(0); ; shift += 7 { |
| 11395 | if shift >= 64 { |
| 11396 | return ErrIntOverflowGenerated |
| 11397 | } |
| 11398 | if iNdEx >= l { |
| 11399 | return io.ErrUnexpectedEOF |
| 11400 | } |
| 11401 | b := dAtA[iNdEx] |
| 11402 | iNdEx++ |
| 11403 | msglen |= (int(b) & 0x7F) << shift |
| 11404 | if b < 0x80 { |
| 11405 | break |
| 11406 | } |
| 11407 | } |
| 11408 | if msglen < 0 { |
| 11409 | return ErrInvalidLengthGenerated |
| 11410 | } |
| 11411 | postIndex := iNdEx + msglen |
| 11412 | if postIndex > l { |
| 11413 | return io.ErrUnexpectedEOF |
| 11414 | } |
| 11415 | if m.MaxUnavailable == nil { |
| 11416 | m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{} |
| 11417 | } |
| 11418 | if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11419 | return err |
| 11420 | } |
| 11421 | iNdEx = postIndex |
| 11422 | default: |
| 11423 | iNdEx = preIndex |
| 11424 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 11425 | if err != nil { |
| 11426 | return err |
| 11427 | } |
| 11428 | if skippy < 0 { |
| 11429 | return ErrInvalidLengthGenerated |
| 11430 | } |
| 11431 | if (iNdEx + skippy) > l { |
| 11432 | return io.ErrUnexpectedEOF |
| 11433 | } |
| 11434 | iNdEx += skippy |
| 11435 | } |
| 11436 | } |
| 11437 | |
| 11438 | if iNdEx > l { |
| 11439 | return io.ErrUnexpectedEOF |
| 11440 | } |
| 11441 | return nil |
| 11442 | } |
| 11443 | func (m *RollingUpdateDeployment) Unmarshal(dAtA []byte) error { |
| 11444 | l := len(dAtA) |
| 11445 | iNdEx := 0 |
| 11446 | for iNdEx < l { |
| 11447 | preIndex := iNdEx |
| 11448 | var wire uint64 |
| 11449 | for shift := uint(0); ; shift += 7 { |
| 11450 | if shift >= 64 { |
| 11451 | return ErrIntOverflowGenerated |
| 11452 | } |
| 11453 | if iNdEx >= l { |
| 11454 | return io.ErrUnexpectedEOF |
| 11455 | } |
| 11456 | b := dAtA[iNdEx] |
| 11457 | iNdEx++ |
| 11458 | wire |= (uint64(b) & 0x7F) << shift |
| 11459 | if b < 0x80 { |
| 11460 | break |
| 11461 | } |
| 11462 | } |
| 11463 | fieldNum := int32(wire >> 3) |
| 11464 | wireType := int(wire & 0x7) |
| 11465 | if wireType == 4 { |
| 11466 | return fmt.Errorf("proto: RollingUpdateDeployment: wiretype end group for non-group") |
| 11467 | } |
| 11468 | if fieldNum <= 0 { |
| 11469 | return fmt.Errorf("proto: RollingUpdateDeployment: illegal tag %d (wire type %d)", fieldNum, wire) |
| 11470 | } |
| 11471 | switch fieldNum { |
| 11472 | case 1: |
| 11473 | if wireType != 2 { |
| 11474 | return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType) |
| 11475 | } |
| 11476 | var msglen int |
| 11477 | for shift := uint(0); ; shift += 7 { |
| 11478 | if shift >= 64 { |
| 11479 | return ErrIntOverflowGenerated |
| 11480 | } |
| 11481 | if iNdEx >= l { |
| 11482 | return io.ErrUnexpectedEOF |
| 11483 | } |
| 11484 | b := dAtA[iNdEx] |
| 11485 | iNdEx++ |
| 11486 | msglen |= (int(b) & 0x7F) << shift |
| 11487 | if b < 0x80 { |
| 11488 | break |
| 11489 | } |
| 11490 | } |
| 11491 | if msglen < 0 { |
| 11492 | return ErrInvalidLengthGenerated |
| 11493 | } |
| 11494 | postIndex := iNdEx + msglen |
| 11495 | if postIndex > l { |
| 11496 | return io.ErrUnexpectedEOF |
| 11497 | } |
| 11498 | if m.MaxUnavailable == nil { |
| 11499 | m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{} |
| 11500 | } |
| 11501 | if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11502 | return err |
| 11503 | } |
| 11504 | iNdEx = postIndex |
| 11505 | case 2: |
| 11506 | if wireType != 2 { |
| 11507 | return fmt.Errorf("proto: wrong wireType = %d for field MaxSurge", wireType) |
| 11508 | } |
| 11509 | var msglen int |
| 11510 | for shift := uint(0); ; shift += 7 { |
| 11511 | if shift >= 64 { |
| 11512 | return ErrIntOverflowGenerated |
| 11513 | } |
| 11514 | if iNdEx >= l { |
| 11515 | return io.ErrUnexpectedEOF |
| 11516 | } |
| 11517 | b := dAtA[iNdEx] |
| 11518 | iNdEx++ |
| 11519 | msglen |= (int(b) & 0x7F) << shift |
| 11520 | if b < 0x80 { |
| 11521 | break |
| 11522 | } |
| 11523 | } |
| 11524 | if msglen < 0 { |
| 11525 | return ErrInvalidLengthGenerated |
| 11526 | } |
| 11527 | postIndex := iNdEx + msglen |
| 11528 | if postIndex > l { |
| 11529 | return io.ErrUnexpectedEOF |
| 11530 | } |
| 11531 | if m.MaxSurge == nil { |
| 11532 | m.MaxSurge = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{} |
| 11533 | } |
| 11534 | if err := m.MaxSurge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11535 | return err |
| 11536 | } |
| 11537 | iNdEx = postIndex |
| 11538 | default: |
| 11539 | iNdEx = preIndex |
| 11540 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 11541 | if err != nil { |
| 11542 | return err |
| 11543 | } |
| 11544 | if skippy < 0 { |
| 11545 | return ErrInvalidLengthGenerated |
| 11546 | } |
| 11547 | if (iNdEx + skippy) > l { |
| 11548 | return io.ErrUnexpectedEOF |
| 11549 | } |
| 11550 | iNdEx += skippy |
| 11551 | } |
| 11552 | } |
| 11553 | |
| 11554 | if iNdEx > l { |
| 11555 | return io.ErrUnexpectedEOF |
| 11556 | } |
| 11557 | return nil |
| 11558 | } |
| 11559 | func (m *RunAsUserStrategyOptions) Unmarshal(dAtA []byte) error { |
| 11560 | l := len(dAtA) |
| 11561 | iNdEx := 0 |
| 11562 | for iNdEx < l { |
| 11563 | preIndex := iNdEx |
| 11564 | var wire uint64 |
| 11565 | for shift := uint(0); ; shift += 7 { |
| 11566 | if shift >= 64 { |
| 11567 | return ErrIntOverflowGenerated |
| 11568 | } |
| 11569 | if iNdEx >= l { |
| 11570 | return io.ErrUnexpectedEOF |
| 11571 | } |
| 11572 | b := dAtA[iNdEx] |
| 11573 | iNdEx++ |
| 11574 | wire |= (uint64(b) & 0x7F) << shift |
| 11575 | if b < 0x80 { |
| 11576 | break |
| 11577 | } |
| 11578 | } |
| 11579 | fieldNum := int32(wire >> 3) |
| 11580 | wireType := int(wire & 0x7) |
| 11581 | if wireType == 4 { |
| 11582 | return fmt.Errorf("proto: RunAsUserStrategyOptions: wiretype end group for non-group") |
| 11583 | } |
| 11584 | if fieldNum <= 0 { |
| 11585 | return fmt.Errorf("proto: RunAsUserStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 11586 | } |
| 11587 | switch fieldNum { |
| 11588 | case 1: |
| 11589 | if wireType != 2 { |
| 11590 | return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType) |
| 11591 | } |
| 11592 | var stringLen uint64 |
| 11593 | for shift := uint(0); ; shift += 7 { |
| 11594 | if shift >= 64 { |
| 11595 | return ErrIntOverflowGenerated |
| 11596 | } |
| 11597 | if iNdEx >= l { |
| 11598 | return io.ErrUnexpectedEOF |
| 11599 | } |
| 11600 | b := dAtA[iNdEx] |
| 11601 | iNdEx++ |
| 11602 | stringLen |= (uint64(b) & 0x7F) << shift |
| 11603 | if b < 0x80 { |
| 11604 | break |
| 11605 | } |
| 11606 | } |
| 11607 | intStringLen := int(stringLen) |
| 11608 | if intStringLen < 0 { |
| 11609 | return ErrInvalidLengthGenerated |
| 11610 | } |
| 11611 | postIndex := iNdEx + intStringLen |
| 11612 | if postIndex > l { |
| 11613 | return io.ErrUnexpectedEOF |
| 11614 | } |
| 11615 | m.Rule = RunAsUserStrategy(dAtA[iNdEx:postIndex]) |
| 11616 | iNdEx = postIndex |
| 11617 | case 2: |
| 11618 | if wireType != 2 { |
| 11619 | return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType) |
| 11620 | } |
| 11621 | var msglen int |
| 11622 | for shift := uint(0); ; shift += 7 { |
| 11623 | if shift >= 64 { |
| 11624 | return ErrIntOverflowGenerated |
| 11625 | } |
| 11626 | if iNdEx >= l { |
| 11627 | return io.ErrUnexpectedEOF |
| 11628 | } |
| 11629 | b := dAtA[iNdEx] |
| 11630 | iNdEx++ |
| 11631 | msglen |= (int(b) & 0x7F) << shift |
| 11632 | if b < 0x80 { |
| 11633 | break |
| 11634 | } |
| 11635 | } |
| 11636 | if msglen < 0 { |
| 11637 | return ErrInvalidLengthGenerated |
| 11638 | } |
| 11639 | postIndex := iNdEx + msglen |
| 11640 | if postIndex > l { |
| 11641 | return io.ErrUnexpectedEOF |
| 11642 | } |
| 11643 | m.Ranges = append(m.Ranges, IDRange{}) |
| 11644 | if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11645 | return err |
| 11646 | } |
| 11647 | iNdEx = postIndex |
| 11648 | default: |
| 11649 | iNdEx = preIndex |
| 11650 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 11651 | if err != nil { |
| 11652 | return err |
| 11653 | } |
| 11654 | if skippy < 0 { |
| 11655 | return ErrInvalidLengthGenerated |
| 11656 | } |
| 11657 | if (iNdEx + skippy) > l { |
| 11658 | return io.ErrUnexpectedEOF |
| 11659 | } |
| 11660 | iNdEx += skippy |
| 11661 | } |
| 11662 | } |
| 11663 | |
| 11664 | if iNdEx > l { |
| 11665 | return io.ErrUnexpectedEOF |
| 11666 | } |
| 11667 | return nil |
| 11668 | } |
| 11669 | func (m *SELinuxStrategyOptions) Unmarshal(dAtA []byte) error { |
| 11670 | l := len(dAtA) |
| 11671 | iNdEx := 0 |
| 11672 | for iNdEx < l { |
| 11673 | preIndex := iNdEx |
| 11674 | var wire uint64 |
| 11675 | for shift := uint(0); ; shift += 7 { |
| 11676 | if shift >= 64 { |
| 11677 | return ErrIntOverflowGenerated |
| 11678 | } |
| 11679 | if iNdEx >= l { |
| 11680 | return io.ErrUnexpectedEOF |
| 11681 | } |
| 11682 | b := dAtA[iNdEx] |
| 11683 | iNdEx++ |
| 11684 | wire |= (uint64(b) & 0x7F) << shift |
| 11685 | if b < 0x80 { |
| 11686 | break |
| 11687 | } |
| 11688 | } |
| 11689 | fieldNum := int32(wire >> 3) |
| 11690 | wireType := int(wire & 0x7) |
| 11691 | if wireType == 4 { |
| 11692 | return fmt.Errorf("proto: SELinuxStrategyOptions: wiretype end group for non-group") |
| 11693 | } |
| 11694 | if fieldNum <= 0 { |
| 11695 | return fmt.Errorf("proto: SELinuxStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 11696 | } |
| 11697 | switch fieldNum { |
| 11698 | case 1: |
| 11699 | if wireType != 2 { |
| 11700 | return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType) |
| 11701 | } |
| 11702 | var stringLen uint64 |
| 11703 | for shift := uint(0); ; shift += 7 { |
| 11704 | if shift >= 64 { |
| 11705 | return ErrIntOverflowGenerated |
| 11706 | } |
| 11707 | if iNdEx >= l { |
| 11708 | return io.ErrUnexpectedEOF |
| 11709 | } |
| 11710 | b := dAtA[iNdEx] |
| 11711 | iNdEx++ |
| 11712 | stringLen |= (uint64(b) & 0x7F) << shift |
| 11713 | if b < 0x80 { |
| 11714 | break |
| 11715 | } |
| 11716 | } |
| 11717 | intStringLen := int(stringLen) |
| 11718 | if intStringLen < 0 { |
| 11719 | return ErrInvalidLengthGenerated |
| 11720 | } |
| 11721 | postIndex := iNdEx + intStringLen |
| 11722 | if postIndex > l { |
| 11723 | return io.ErrUnexpectedEOF |
| 11724 | } |
| 11725 | m.Rule = SELinuxStrategy(dAtA[iNdEx:postIndex]) |
| 11726 | iNdEx = postIndex |
| 11727 | case 2: |
| 11728 | if wireType != 2 { |
| 11729 | return fmt.Errorf("proto: wrong wireType = %d for field SELinuxOptions", wireType) |
| 11730 | } |
| 11731 | var msglen int |
| 11732 | for shift := uint(0); ; shift += 7 { |
| 11733 | if shift >= 64 { |
| 11734 | return ErrIntOverflowGenerated |
| 11735 | } |
| 11736 | if iNdEx >= l { |
| 11737 | return io.ErrUnexpectedEOF |
| 11738 | } |
| 11739 | b := dAtA[iNdEx] |
| 11740 | iNdEx++ |
| 11741 | msglen |= (int(b) & 0x7F) << shift |
| 11742 | if b < 0x80 { |
| 11743 | break |
| 11744 | } |
| 11745 | } |
| 11746 | if msglen < 0 { |
| 11747 | return ErrInvalidLengthGenerated |
| 11748 | } |
| 11749 | postIndex := iNdEx + msglen |
| 11750 | if postIndex > l { |
| 11751 | return io.ErrUnexpectedEOF |
| 11752 | } |
| 11753 | if m.SELinuxOptions == nil { |
| 11754 | m.SELinuxOptions = &k8s_io_api_core_v1.SELinuxOptions{} |
| 11755 | } |
| 11756 | if err := m.SELinuxOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11757 | return err |
| 11758 | } |
| 11759 | iNdEx = postIndex |
| 11760 | default: |
| 11761 | iNdEx = preIndex |
| 11762 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 11763 | if err != nil { |
| 11764 | return err |
| 11765 | } |
| 11766 | if skippy < 0 { |
| 11767 | return ErrInvalidLengthGenerated |
| 11768 | } |
| 11769 | if (iNdEx + skippy) > l { |
| 11770 | return io.ErrUnexpectedEOF |
| 11771 | } |
| 11772 | iNdEx += skippy |
| 11773 | } |
| 11774 | } |
| 11775 | |
| 11776 | if iNdEx > l { |
| 11777 | return io.ErrUnexpectedEOF |
| 11778 | } |
| 11779 | return nil |
| 11780 | } |
| 11781 | func (m *Scale) Unmarshal(dAtA []byte) error { |
| 11782 | l := len(dAtA) |
| 11783 | iNdEx := 0 |
| 11784 | for iNdEx < l { |
| 11785 | preIndex := iNdEx |
| 11786 | var wire uint64 |
| 11787 | for shift := uint(0); ; shift += 7 { |
| 11788 | if shift >= 64 { |
| 11789 | return ErrIntOverflowGenerated |
| 11790 | } |
| 11791 | if iNdEx >= l { |
| 11792 | return io.ErrUnexpectedEOF |
| 11793 | } |
| 11794 | b := dAtA[iNdEx] |
| 11795 | iNdEx++ |
| 11796 | wire |= (uint64(b) & 0x7F) << shift |
| 11797 | if b < 0x80 { |
| 11798 | break |
| 11799 | } |
| 11800 | } |
| 11801 | fieldNum := int32(wire >> 3) |
| 11802 | wireType := int(wire & 0x7) |
| 11803 | if wireType == 4 { |
| 11804 | return fmt.Errorf("proto: Scale: wiretype end group for non-group") |
| 11805 | } |
| 11806 | if fieldNum <= 0 { |
| 11807 | return fmt.Errorf("proto: Scale: illegal tag %d (wire type %d)", fieldNum, wire) |
| 11808 | } |
| 11809 | switch fieldNum { |
| 11810 | case 1: |
| 11811 | if wireType != 2 { |
| 11812 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 11813 | } |
| 11814 | var msglen int |
| 11815 | for shift := uint(0); ; shift += 7 { |
| 11816 | if shift >= 64 { |
| 11817 | return ErrIntOverflowGenerated |
| 11818 | } |
| 11819 | if iNdEx >= l { |
| 11820 | return io.ErrUnexpectedEOF |
| 11821 | } |
| 11822 | b := dAtA[iNdEx] |
| 11823 | iNdEx++ |
| 11824 | msglen |= (int(b) & 0x7F) << shift |
| 11825 | if b < 0x80 { |
| 11826 | break |
| 11827 | } |
| 11828 | } |
| 11829 | if msglen < 0 { |
| 11830 | return ErrInvalidLengthGenerated |
| 11831 | } |
| 11832 | postIndex := iNdEx + msglen |
| 11833 | if postIndex > l { |
| 11834 | return io.ErrUnexpectedEOF |
| 11835 | } |
| 11836 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11837 | return err |
| 11838 | } |
| 11839 | iNdEx = postIndex |
| 11840 | case 2: |
| 11841 | if wireType != 2 { |
| 11842 | return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) |
| 11843 | } |
| 11844 | var msglen int |
| 11845 | for shift := uint(0); ; shift += 7 { |
| 11846 | if shift >= 64 { |
| 11847 | return ErrIntOverflowGenerated |
| 11848 | } |
| 11849 | if iNdEx >= l { |
| 11850 | return io.ErrUnexpectedEOF |
| 11851 | } |
| 11852 | b := dAtA[iNdEx] |
| 11853 | iNdEx++ |
| 11854 | msglen |= (int(b) & 0x7F) << shift |
| 11855 | if b < 0x80 { |
| 11856 | break |
| 11857 | } |
| 11858 | } |
| 11859 | if msglen < 0 { |
| 11860 | return ErrInvalidLengthGenerated |
| 11861 | } |
| 11862 | postIndex := iNdEx + msglen |
| 11863 | if postIndex > l { |
| 11864 | return io.ErrUnexpectedEOF |
| 11865 | } |
| 11866 | if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11867 | return err |
| 11868 | } |
| 11869 | iNdEx = postIndex |
| 11870 | case 3: |
| 11871 | if wireType != 2 { |
| 11872 | return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 11873 | } |
| 11874 | var msglen int |
| 11875 | for shift := uint(0); ; shift += 7 { |
| 11876 | if shift >= 64 { |
| 11877 | return ErrIntOverflowGenerated |
| 11878 | } |
| 11879 | if iNdEx >= l { |
| 11880 | return io.ErrUnexpectedEOF |
| 11881 | } |
| 11882 | b := dAtA[iNdEx] |
| 11883 | iNdEx++ |
| 11884 | msglen |= (int(b) & 0x7F) << shift |
| 11885 | if b < 0x80 { |
| 11886 | break |
| 11887 | } |
| 11888 | } |
| 11889 | if msglen < 0 { |
| 11890 | return ErrInvalidLengthGenerated |
| 11891 | } |
| 11892 | postIndex := iNdEx + msglen |
| 11893 | if postIndex > l { |
| 11894 | return io.ErrUnexpectedEOF |
| 11895 | } |
| 11896 | if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11897 | return err |
| 11898 | } |
| 11899 | iNdEx = postIndex |
| 11900 | default: |
| 11901 | iNdEx = preIndex |
| 11902 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 11903 | if err != nil { |
| 11904 | return err |
| 11905 | } |
| 11906 | if skippy < 0 { |
| 11907 | return ErrInvalidLengthGenerated |
| 11908 | } |
| 11909 | if (iNdEx + skippy) > l { |
| 11910 | return io.ErrUnexpectedEOF |
| 11911 | } |
| 11912 | iNdEx += skippy |
| 11913 | } |
| 11914 | } |
| 11915 | |
| 11916 | if iNdEx > l { |
| 11917 | return io.ErrUnexpectedEOF |
| 11918 | } |
| 11919 | return nil |
| 11920 | } |
| 11921 | func (m *ScaleSpec) Unmarshal(dAtA []byte) error { |
| 11922 | l := len(dAtA) |
| 11923 | iNdEx := 0 |
| 11924 | for iNdEx < l { |
| 11925 | preIndex := iNdEx |
| 11926 | var wire uint64 |
| 11927 | for shift := uint(0); ; shift += 7 { |
| 11928 | if shift >= 64 { |
| 11929 | return ErrIntOverflowGenerated |
| 11930 | } |
| 11931 | if iNdEx >= l { |
| 11932 | return io.ErrUnexpectedEOF |
| 11933 | } |
| 11934 | b := dAtA[iNdEx] |
| 11935 | iNdEx++ |
| 11936 | wire |= (uint64(b) & 0x7F) << shift |
| 11937 | if b < 0x80 { |
| 11938 | break |
| 11939 | } |
| 11940 | } |
| 11941 | fieldNum := int32(wire >> 3) |
| 11942 | wireType := int(wire & 0x7) |
| 11943 | if wireType == 4 { |
| 11944 | return fmt.Errorf("proto: ScaleSpec: wiretype end group for non-group") |
| 11945 | } |
| 11946 | if fieldNum <= 0 { |
| 11947 | return fmt.Errorf("proto: ScaleSpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| 11948 | } |
| 11949 | switch fieldNum { |
| 11950 | case 1: |
| 11951 | if wireType != 0 { |
| 11952 | return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType) |
| 11953 | } |
| 11954 | m.Replicas = 0 |
| 11955 | for shift := uint(0); ; shift += 7 { |
| 11956 | if shift >= 64 { |
| 11957 | return ErrIntOverflowGenerated |
| 11958 | } |
| 11959 | if iNdEx >= l { |
| 11960 | return io.ErrUnexpectedEOF |
| 11961 | } |
| 11962 | b := dAtA[iNdEx] |
| 11963 | iNdEx++ |
| 11964 | m.Replicas |= (int32(b) & 0x7F) << shift |
| 11965 | if b < 0x80 { |
| 11966 | break |
| 11967 | } |
| 11968 | } |
| 11969 | default: |
| 11970 | iNdEx = preIndex |
| 11971 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 11972 | if err != nil { |
| 11973 | return err |
| 11974 | } |
| 11975 | if skippy < 0 { |
| 11976 | return ErrInvalidLengthGenerated |
| 11977 | } |
| 11978 | if (iNdEx + skippy) > l { |
| 11979 | return io.ErrUnexpectedEOF |
| 11980 | } |
| 11981 | iNdEx += skippy |
| 11982 | } |
| 11983 | } |
| 11984 | |
| 11985 | if iNdEx > l { |
| 11986 | return io.ErrUnexpectedEOF |
| 11987 | } |
| 11988 | return nil |
| 11989 | } |
| 11990 | func (m *ScaleStatus) Unmarshal(dAtA []byte) error { |
| 11991 | l := len(dAtA) |
| 11992 | iNdEx := 0 |
| 11993 | for iNdEx < l { |
| 11994 | preIndex := iNdEx |
| 11995 | var wire uint64 |
| 11996 | for shift := uint(0); ; shift += 7 { |
| 11997 | if shift >= 64 { |
| 11998 | return ErrIntOverflowGenerated |
| 11999 | } |
| 12000 | if iNdEx >= l { |
| 12001 | return io.ErrUnexpectedEOF |
| 12002 | } |
| 12003 | b := dAtA[iNdEx] |
| 12004 | iNdEx++ |
| 12005 | wire |= (uint64(b) & 0x7F) << shift |
| 12006 | if b < 0x80 { |
| 12007 | break |
| 12008 | } |
| 12009 | } |
| 12010 | fieldNum := int32(wire >> 3) |
| 12011 | wireType := int(wire & 0x7) |
| 12012 | if wireType == 4 { |
| 12013 | return fmt.Errorf("proto: ScaleStatus: wiretype end group for non-group") |
| 12014 | } |
| 12015 | if fieldNum <= 0 { |
| 12016 | return fmt.Errorf("proto: ScaleStatus: illegal tag %d (wire type %d)", fieldNum, wire) |
| 12017 | } |
| 12018 | switch fieldNum { |
| 12019 | case 1: |
| 12020 | if wireType != 0 { |
| 12021 | return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType) |
| 12022 | } |
| 12023 | m.Replicas = 0 |
| 12024 | for shift := uint(0); ; shift += 7 { |
| 12025 | if shift >= 64 { |
| 12026 | return ErrIntOverflowGenerated |
| 12027 | } |
| 12028 | if iNdEx >= l { |
| 12029 | return io.ErrUnexpectedEOF |
| 12030 | } |
| 12031 | b := dAtA[iNdEx] |
| 12032 | iNdEx++ |
| 12033 | m.Replicas |= (int32(b) & 0x7F) << shift |
| 12034 | if b < 0x80 { |
| 12035 | break |
| 12036 | } |
| 12037 | } |
| 12038 | case 2: |
| 12039 | if wireType != 2 { |
| 12040 | return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType) |
| 12041 | } |
| 12042 | var msglen int |
| 12043 | for shift := uint(0); ; shift += 7 { |
| 12044 | if shift >= 64 { |
| 12045 | return ErrIntOverflowGenerated |
| 12046 | } |
| 12047 | if iNdEx >= l { |
| 12048 | return io.ErrUnexpectedEOF |
| 12049 | } |
| 12050 | b := dAtA[iNdEx] |
| 12051 | iNdEx++ |
| 12052 | msglen |= (int(b) & 0x7F) << shift |
| 12053 | if b < 0x80 { |
| 12054 | break |
| 12055 | } |
| 12056 | } |
| 12057 | if msglen < 0 { |
| 12058 | return ErrInvalidLengthGenerated |
| 12059 | } |
| 12060 | postIndex := iNdEx + msglen |
| 12061 | if postIndex > l { |
| 12062 | return io.ErrUnexpectedEOF |
| 12063 | } |
| 12064 | var keykey uint64 |
| 12065 | for shift := uint(0); ; shift += 7 { |
| 12066 | if shift >= 64 { |
| 12067 | return ErrIntOverflowGenerated |
| 12068 | } |
| 12069 | if iNdEx >= l { |
| 12070 | return io.ErrUnexpectedEOF |
| 12071 | } |
| 12072 | b := dAtA[iNdEx] |
| 12073 | iNdEx++ |
| 12074 | keykey |= (uint64(b) & 0x7F) << shift |
| 12075 | if b < 0x80 { |
| 12076 | break |
| 12077 | } |
| 12078 | } |
| 12079 | var stringLenmapkey uint64 |
| 12080 | for shift := uint(0); ; shift += 7 { |
| 12081 | if shift >= 64 { |
| 12082 | return ErrIntOverflowGenerated |
| 12083 | } |
| 12084 | if iNdEx >= l { |
| 12085 | return io.ErrUnexpectedEOF |
| 12086 | } |
| 12087 | b := dAtA[iNdEx] |
| 12088 | iNdEx++ |
| 12089 | stringLenmapkey |= (uint64(b) & 0x7F) << shift |
| 12090 | if b < 0x80 { |
| 12091 | break |
| 12092 | } |
| 12093 | } |
| 12094 | intStringLenmapkey := int(stringLenmapkey) |
| 12095 | if intStringLenmapkey < 0 { |
| 12096 | return ErrInvalidLengthGenerated |
| 12097 | } |
| 12098 | postStringIndexmapkey := iNdEx + intStringLenmapkey |
| 12099 | if postStringIndexmapkey > l { |
| 12100 | return io.ErrUnexpectedEOF |
| 12101 | } |
| 12102 | mapkey := string(dAtA[iNdEx:postStringIndexmapkey]) |
| 12103 | iNdEx = postStringIndexmapkey |
| 12104 | if m.Selector == nil { |
| 12105 | m.Selector = make(map[string]string) |
| 12106 | } |
| 12107 | if iNdEx < postIndex { |
| 12108 | var valuekey uint64 |
| 12109 | for shift := uint(0); ; shift += 7 { |
| 12110 | if shift >= 64 { |
| 12111 | return ErrIntOverflowGenerated |
| 12112 | } |
| 12113 | if iNdEx >= l { |
| 12114 | return io.ErrUnexpectedEOF |
| 12115 | } |
| 12116 | b := dAtA[iNdEx] |
| 12117 | iNdEx++ |
| 12118 | valuekey |= (uint64(b) & 0x7F) << shift |
| 12119 | if b < 0x80 { |
| 12120 | break |
| 12121 | } |
| 12122 | } |
| 12123 | var stringLenmapvalue uint64 |
| 12124 | for shift := uint(0); ; shift += 7 { |
| 12125 | if shift >= 64 { |
| 12126 | return ErrIntOverflowGenerated |
| 12127 | } |
| 12128 | if iNdEx >= l { |
| 12129 | return io.ErrUnexpectedEOF |
| 12130 | } |
| 12131 | b := dAtA[iNdEx] |
| 12132 | iNdEx++ |
| 12133 | stringLenmapvalue |= (uint64(b) & 0x7F) << shift |
| 12134 | if b < 0x80 { |
| 12135 | break |
| 12136 | } |
| 12137 | } |
| 12138 | intStringLenmapvalue := int(stringLenmapvalue) |
| 12139 | if intStringLenmapvalue < 0 { |
| 12140 | return ErrInvalidLengthGenerated |
| 12141 | } |
| 12142 | postStringIndexmapvalue := iNdEx + intStringLenmapvalue |
| 12143 | if postStringIndexmapvalue > l { |
| 12144 | return io.ErrUnexpectedEOF |
| 12145 | } |
| 12146 | mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue]) |
| 12147 | iNdEx = postStringIndexmapvalue |
| 12148 | m.Selector[mapkey] = mapvalue |
| 12149 | } else { |
| 12150 | var mapvalue string |
| 12151 | m.Selector[mapkey] = mapvalue |
| 12152 | } |
| 12153 | iNdEx = postIndex |
| 12154 | case 3: |
| 12155 | if wireType != 2 { |
| 12156 | return fmt.Errorf("proto: wrong wireType = %d for field TargetSelector", wireType) |
| 12157 | } |
| 12158 | var stringLen uint64 |
| 12159 | for shift := uint(0); ; shift += 7 { |
| 12160 | if shift >= 64 { |
| 12161 | return ErrIntOverflowGenerated |
| 12162 | } |
| 12163 | if iNdEx >= l { |
| 12164 | return io.ErrUnexpectedEOF |
| 12165 | } |
| 12166 | b := dAtA[iNdEx] |
| 12167 | iNdEx++ |
| 12168 | stringLen |= (uint64(b) & 0x7F) << shift |
| 12169 | if b < 0x80 { |
| 12170 | break |
| 12171 | } |
| 12172 | } |
| 12173 | intStringLen := int(stringLen) |
| 12174 | if intStringLen < 0 { |
| 12175 | return ErrInvalidLengthGenerated |
| 12176 | } |
| 12177 | postIndex := iNdEx + intStringLen |
| 12178 | if postIndex > l { |
| 12179 | return io.ErrUnexpectedEOF |
| 12180 | } |
| 12181 | m.TargetSelector = string(dAtA[iNdEx:postIndex]) |
| 12182 | iNdEx = postIndex |
| 12183 | default: |
| 12184 | iNdEx = preIndex |
| 12185 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 12186 | if err != nil { |
| 12187 | return err |
| 12188 | } |
| 12189 | if skippy < 0 { |
| 12190 | return ErrInvalidLengthGenerated |
| 12191 | } |
| 12192 | if (iNdEx + skippy) > l { |
| 12193 | return io.ErrUnexpectedEOF |
| 12194 | } |
| 12195 | iNdEx += skippy |
| 12196 | } |
| 12197 | } |
| 12198 | |
| 12199 | if iNdEx > l { |
| 12200 | return io.ErrUnexpectedEOF |
| 12201 | } |
| 12202 | return nil |
| 12203 | } |
| 12204 | func (m *SupplementalGroupsStrategyOptions) Unmarshal(dAtA []byte) error { |
| 12205 | l := len(dAtA) |
| 12206 | iNdEx := 0 |
| 12207 | for iNdEx < l { |
| 12208 | preIndex := iNdEx |
| 12209 | var wire uint64 |
| 12210 | for shift := uint(0); ; shift += 7 { |
| 12211 | if shift >= 64 { |
| 12212 | return ErrIntOverflowGenerated |
| 12213 | } |
| 12214 | if iNdEx >= l { |
| 12215 | return io.ErrUnexpectedEOF |
| 12216 | } |
| 12217 | b := dAtA[iNdEx] |
| 12218 | iNdEx++ |
| 12219 | wire |= (uint64(b) & 0x7F) << shift |
| 12220 | if b < 0x80 { |
| 12221 | break |
| 12222 | } |
| 12223 | } |
| 12224 | fieldNum := int32(wire >> 3) |
| 12225 | wireType := int(wire & 0x7) |
| 12226 | if wireType == 4 { |
| 12227 | return fmt.Errorf("proto: SupplementalGroupsStrategyOptions: wiretype end group for non-group") |
| 12228 | } |
| 12229 | if fieldNum <= 0 { |
| 12230 | return fmt.Errorf("proto: SupplementalGroupsStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 12231 | } |
| 12232 | switch fieldNum { |
| 12233 | case 1: |
| 12234 | if wireType != 2 { |
| 12235 | return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType) |
| 12236 | } |
| 12237 | var stringLen uint64 |
| 12238 | for shift := uint(0); ; shift += 7 { |
| 12239 | if shift >= 64 { |
| 12240 | return ErrIntOverflowGenerated |
| 12241 | } |
| 12242 | if iNdEx >= l { |
| 12243 | return io.ErrUnexpectedEOF |
| 12244 | } |
| 12245 | b := dAtA[iNdEx] |
| 12246 | iNdEx++ |
| 12247 | stringLen |= (uint64(b) & 0x7F) << shift |
| 12248 | if b < 0x80 { |
| 12249 | break |
| 12250 | } |
| 12251 | } |
| 12252 | intStringLen := int(stringLen) |
| 12253 | if intStringLen < 0 { |
| 12254 | return ErrInvalidLengthGenerated |
| 12255 | } |
| 12256 | postIndex := iNdEx + intStringLen |
| 12257 | if postIndex > l { |
| 12258 | return io.ErrUnexpectedEOF |
| 12259 | } |
| 12260 | m.Rule = SupplementalGroupsStrategyType(dAtA[iNdEx:postIndex]) |
| 12261 | iNdEx = postIndex |
| 12262 | case 2: |
| 12263 | if wireType != 2 { |
| 12264 | return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType) |
| 12265 | } |
| 12266 | var msglen int |
| 12267 | for shift := uint(0); ; shift += 7 { |
| 12268 | if shift >= 64 { |
| 12269 | return ErrIntOverflowGenerated |
| 12270 | } |
| 12271 | if iNdEx >= l { |
| 12272 | return io.ErrUnexpectedEOF |
| 12273 | } |
| 12274 | b := dAtA[iNdEx] |
| 12275 | iNdEx++ |
| 12276 | msglen |= (int(b) & 0x7F) << shift |
| 12277 | if b < 0x80 { |
| 12278 | break |
| 12279 | } |
| 12280 | } |
| 12281 | if msglen < 0 { |
| 12282 | return ErrInvalidLengthGenerated |
| 12283 | } |
| 12284 | postIndex := iNdEx + msglen |
| 12285 | if postIndex > l { |
| 12286 | return io.ErrUnexpectedEOF |
| 12287 | } |
| 12288 | m.Ranges = append(m.Ranges, IDRange{}) |
| 12289 | if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 12290 | return err |
| 12291 | } |
| 12292 | iNdEx = postIndex |
| 12293 | default: |
| 12294 | iNdEx = preIndex |
| 12295 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 12296 | if err != nil { |
| 12297 | return err |
| 12298 | } |
| 12299 | if skippy < 0 { |
| 12300 | return ErrInvalidLengthGenerated |
| 12301 | } |
| 12302 | if (iNdEx + skippy) > l { |
| 12303 | return io.ErrUnexpectedEOF |
| 12304 | } |
| 12305 | iNdEx += skippy |
| 12306 | } |
| 12307 | } |
| 12308 | |
| 12309 | if iNdEx > l { |
| 12310 | return io.ErrUnexpectedEOF |
| 12311 | } |
| 12312 | return nil |
| 12313 | } |
| 12314 | func skipGenerated(dAtA []byte) (n int, err error) { |
| 12315 | l := len(dAtA) |
| 12316 | iNdEx := 0 |
| 12317 | for iNdEx < l { |
| 12318 | var wire uint64 |
| 12319 | for shift := uint(0); ; shift += 7 { |
| 12320 | if shift >= 64 { |
| 12321 | return 0, ErrIntOverflowGenerated |
| 12322 | } |
| 12323 | if iNdEx >= l { |
| 12324 | return 0, io.ErrUnexpectedEOF |
| 12325 | } |
| 12326 | b := dAtA[iNdEx] |
| 12327 | iNdEx++ |
| 12328 | wire |= (uint64(b) & 0x7F) << shift |
| 12329 | if b < 0x80 { |
| 12330 | break |
| 12331 | } |
| 12332 | } |
| 12333 | wireType := int(wire & 0x7) |
| 12334 | switch wireType { |
| 12335 | case 0: |
| 12336 | for shift := uint(0); ; shift += 7 { |
| 12337 | if shift >= 64 { |
| 12338 | return 0, ErrIntOverflowGenerated |
| 12339 | } |
| 12340 | if iNdEx >= l { |
| 12341 | return 0, io.ErrUnexpectedEOF |
| 12342 | } |
| 12343 | iNdEx++ |
| 12344 | if dAtA[iNdEx-1] < 0x80 { |
| 12345 | break |
| 12346 | } |
| 12347 | } |
| 12348 | return iNdEx, nil |
| 12349 | case 1: |
| 12350 | iNdEx += 8 |
| 12351 | return iNdEx, nil |
| 12352 | case 2: |
| 12353 | var length int |
| 12354 | for shift := uint(0); ; shift += 7 { |
| 12355 | if shift >= 64 { |
| 12356 | return 0, ErrIntOverflowGenerated |
| 12357 | } |
| 12358 | if iNdEx >= l { |
| 12359 | return 0, io.ErrUnexpectedEOF |
| 12360 | } |
| 12361 | b := dAtA[iNdEx] |
| 12362 | iNdEx++ |
| 12363 | length |= (int(b) & 0x7F) << shift |
| 12364 | if b < 0x80 { |
| 12365 | break |
| 12366 | } |
| 12367 | } |
| 12368 | iNdEx += length |
| 12369 | if length < 0 { |
| 12370 | return 0, ErrInvalidLengthGenerated |
| 12371 | } |
| 12372 | return iNdEx, nil |
| 12373 | case 3: |
| 12374 | for { |
| 12375 | var innerWire uint64 |
| 12376 | var start int = iNdEx |
| 12377 | for shift := uint(0); ; shift += 7 { |
| 12378 | if shift >= 64 { |
| 12379 | return 0, ErrIntOverflowGenerated |
| 12380 | } |
| 12381 | if iNdEx >= l { |
| 12382 | return 0, io.ErrUnexpectedEOF |
| 12383 | } |
| 12384 | b := dAtA[iNdEx] |
| 12385 | iNdEx++ |
| 12386 | innerWire |= (uint64(b) & 0x7F) << shift |
| 12387 | if b < 0x80 { |
| 12388 | break |
| 12389 | } |
| 12390 | } |
| 12391 | innerWireType := int(innerWire & 0x7) |
| 12392 | if innerWireType == 4 { |
| 12393 | break |
| 12394 | } |
| 12395 | next, err := skipGenerated(dAtA[start:]) |
| 12396 | if err != nil { |
| 12397 | return 0, err |
| 12398 | } |
| 12399 | iNdEx = start + next |
| 12400 | } |
| 12401 | return iNdEx, nil |
| 12402 | case 4: |
| 12403 | return iNdEx, nil |
| 12404 | case 5: |
| 12405 | iNdEx += 4 |
| 12406 | return iNdEx, nil |
| 12407 | default: |
| 12408 | return 0, fmt.Errorf("proto: illegal wireType %d", wireType) |
| 12409 | } |
| 12410 | } |
| 12411 | panic("unreachable") |
| 12412 | } |
| 12413 | |
| 12414 | var ( |
| 12415 | ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") |
| 12416 | ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") |
| 12417 | ) |
| 12418 | |
| 12419 | func init() { |
| 12420 | proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/extensions/v1beta1/generated.proto", fileDescriptorGenerated) |
| 12421 | } |
| 12422 | |
| 12423 | var fileDescriptorGenerated = []byte{ |
| 12424 | // 3637 bytes of a gzipped FileDescriptorProto |
| 12425 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0xcb, 0x6f, 0x1c, 0x47, |
| 12426 | 0x73, 0xd7, 0xec, 0x2e, 0xb9, 0xcb, 0xa2, 0xf8, 0x6a, 0xd2, 0xe4, 0x7e, 0x94, 0xc5, 0xd5, 0x37, |
| 12427 | 0x06, 0x14, 0xc9, 0x91, 0x76, 0x2d, 0xd9, 0xd2, 0xa7, 0x58, 0x88, 0x6d, 0x2e, 0x29, 0x4a, 0x74, |
| 12428 | 0xf8, 0x52, 0x2f, 0xa9, 0x38, 0x46, 0xe4, 0x78, 0xb8, 0xdb, 0x5c, 0x8e, 0x38, 0x3b, 0x33, 0x9e, |
| 12429 | 0xe9, 0xa1, 0xb9, 0x40, 0x10, 0xe4, 0x10, 0x04, 0x08, 0x90, 0x20, 0xc9, 0xc1, 0x79, 0xdc, 0xe2, |
| 12430 | 0x4b, 0x4e, 0x09, 0x92, 0x5b, 0x72, 0x30, 0x0c, 0x04, 0x70, 0x00, 0x21, 0x70, 0x00, 0xdf, 0xe2, |
| 12431 | 0x13, 0x11, 0xd3, 0xa7, 0x20, 0xff, 0x40, 0xa0, 0x43, 0x10, 0x74, 0x4f, 0xcf, 0x7b, 0x86, 0xbb, |
| 12432 | 0x4b, 0x4b, 0x44, 0x10, 0xe4, 0xc6, 0xed, 0xaa, 0xfa, 0x55, 0x75, 0x75, 0x75, 0x55, 0x4d, 0x77, |
| 12433 | 0x13, 0x56, 0x0e, 0xee, 0xd9, 0x55, 0xd5, 0xa8, 0x1d, 0x38, 0xbb, 0xc4, 0xd2, 0x09, 0x25, 0x76, |
| 12434 | 0xed, 0x90, 0xe8, 0x2d, 0xc3, 0xaa, 0x09, 0x82, 0x62, 0xaa, 0x35, 0x72, 0x44, 0x89, 0x6e, 0xab, |
| 12435 | 0x86, 0x6e, 0xd7, 0x0e, 0x6f, 0xed, 0x12, 0xaa, 0xdc, 0xaa, 0xb5, 0x89, 0x4e, 0x2c, 0x85, 0x92, |
| 12436 | 0x56, 0xd5, 0xb4, 0x0c, 0x6a, 0xa0, 0xcb, 0x2e, 0x7b, 0x55, 0x31, 0xd5, 0x6a, 0xc0, 0x5e, 0x15, |
| 12437 | 0xec, 0xf3, 0x37, 0xdb, 0x2a, 0xdd, 0x77, 0x76, 0xab, 0x4d, 0xa3, 0x53, 0x6b, 0x1b, 0x6d, 0xa3, |
| 12438 | 0xc6, 0xa5, 0x76, 0x9d, 0x3d, 0xfe, 0x8b, 0xff, 0xe0, 0x7f, 0xb9, 0x68, 0xf3, 0x72, 0x48, 0x79, |
| 12439 | 0xd3, 0xb0, 0x48, 0xed, 0x30, 0xa1, 0x71, 0xfe, 0x7a, 0x88, 0xc7, 0x34, 0x34, 0xb5, 0xd9, 0xcd, |
| 12440 | 0x32, 0x6e, 0xfe, 0x9d, 0x80, 0xb5, 0xa3, 0x34, 0xf7, 0x55, 0x9d, 0x58, 0xdd, 0x9a, 0x79, 0xd0, |
| 12441 | 0xe6, 0xb2, 0x16, 0xb1, 0x0d, 0xc7, 0x6a, 0x92, 0x81, 0xa4, 0xec, 0x5a, 0x87, 0x50, 0x25, 0xcd, |
| 12442 | 0xac, 0x5a, 0x96, 0x94, 0xe5, 0xe8, 0x54, 0xed, 0x24, 0xd5, 0xdc, 0xed, 0x25, 0x60, 0x37, 0xf7, |
| 12443 | 0x49, 0x47, 0x49, 0xc8, 0xbd, 0x9d, 0x25, 0xe7, 0x50, 0x55, 0xab, 0xa9, 0x3a, 0xb5, 0xa9, 0x15, |
| 12444 | 0x17, 0x92, 0xef, 0xc3, 0xd4, 0xa2, 0xa6, 0x19, 0x9f, 0x93, 0xd6, 0x8a, 0x46, 0x8e, 0x9e, 0x18, |
| 12445 | 0x9a, 0xd3, 0x21, 0xe8, 0x2a, 0x0c, 0xb7, 0x2c, 0xf5, 0x90, 0x58, 0x65, 0xe9, 0x8a, 0x74, 0x6d, |
| 12446 | 0xa4, 0x3e, 0xfe, 0xfc, 0xb8, 0x72, 0xe1, 0xe4, 0xb8, 0x32, 0xbc, 0xcc, 0x47, 0xb1, 0xa0, 0xca, |
| 12447 | 0x36, 0x4c, 0x08, 0xe1, 0x47, 0x86, 0x4d, 0xb7, 0x14, 0xba, 0x8f, 0x6e, 0x03, 0x98, 0x0a, 0xdd, |
| 12448 | 0xdf, 0xb2, 0xc8, 0x9e, 0x7a, 0x24, 0xc4, 0x91, 0x10, 0x87, 0x2d, 0x9f, 0x82, 0x43, 0x5c, 0xe8, |
| 12449 | 0x06, 0x94, 0x2c, 0xa2, 0xb4, 0x36, 0x75, 0xad, 0x5b, 0xce, 0x5d, 0x91, 0xae, 0x95, 0xea, 0x93, |
| 12450 | 0x42, 0xa2, 0x84, 0xc5, 0x38, 0xf6, 0x39, 0xe4, 0xbf, 0x94, 0xe0, 0x67, 0x4b, 0x8e, 0x4d, 0x8d, |
| 12451 | 0xce, 0x3a, 0xa1, 0x96, 0xda, 0x5c, 0x72, 0x2c, 0x8b, 0xe8, 0xb4, 0x41, 0x15, 0xea, 0xd8, 0xe8, |
| 12452 | 0x0a, 0x14, 0x74, 0xa5, 0x43, 0x84, 0xe6, 0x8b, 0x02, 0xa7, 0xb0, 0xa1, 0x74, 0x08, 0xe6, 0x14, |
| 12453 | 0xf4, 0x31, 0x0c, 0x1d, 0x2a, 0x9a, 0x43, 0xb8, 0xaa, 0xd1, 0xdb, 0xd5, 0x6a, 0x10, 0xa8, 0xbe, |
| 12454 | 0xdb, 0xaa, 0xe6, 0x41, 0x9b, 0x47, 0xae, 0x17, 0x0b, 0xd5, 0xc7, 0x8e, 0xa2, 0x53, 0x95, 0x76, |
| 12455 | 0xeb, 0x33, 0x02, 0xf2, 0xa2, 0xd0, 0xfb, 0x84, 0x61, 0x61, 0x17, 0x52, 0xfe, 0x1d, 0xb8, 0x9c, |
| 12456 | 0x69, 0xda, 0x9a, 0x6a, 0x53, 0xf4, 0x14, 0x86, 0x54, 0x4a, 0x3a, 0x76, 0x59, 0xba, 0x92, 0xbf, |
| 12457 | 0x36, 0x7a, 0xfb, 0x5e, 0xf5, 0xd4, 0x5d, 0x52, 0xcd, 0x04, 0xab, 0x8f, 0x09, 0x33, 0x86, 0x56, |
| 12458 | 0x19, 0x1c, 0x76, 0x51, 0xe5, 0x3f, 0x95, 0x00, 0x85, 0x65, 0xb6, 0x15, 0xab, 0x4d, 0x68, 0x1f, |
| 12459 | 0x4e, 0xf9, 0x8d, 0x9f, 0xe6, 0x94, 0x69, 0x01, 0x39, 0xea, 0x2a, 0x8c, 0xf8, 0xc4, 0x84, 0xd9, |
| 12460 | 0xa4, 0x49, 0xdc, 0x19, 0x4f, 0xa2, 0xce, 0xb8, 0x35, 0x80, 0x33, 0x5c, 0x94, 0x0c, 0x2f, 0x7c, |
| 12461 | 0x91, 0x83, 0x91, 0x65, 0x85, 0x74, 0x0c, 0xbd, 0x41, 0x28, 0xfa, 0x14, 0x4a, 0x6c, 0x6b, 0xb6, |
| 12462 | 0x14, 0xaa, 0x70, 0x07, 0x8c, 0xde, 0x7e, 0xeb, 0xb4, 0xd9, 0xd9, 0x55, 0xc6, 0x5d, 0x3d, 0xbc, |
| 12463 | 0x55, 0xdd, 0xdc, 0x7d, 0x46, 0x9a, 0x74, 0x9d, 0x50, 0x25, 0x88, 0xe0, 0x60, 0x0c, 0xfb, 0xa8, |
| 12464 | 0x68, 0x03, 0x0a, 0xb6, 0x49, 0x9a, 0xc2, 0x77, 0x37, 0x7a, 0x4c, 0xc3, 0xb7, 0xac, 0x61, 0x92, |
| 12465 | 0x66, 0xb0, 0x18, 0xec, 0x17, 0xe6, 0x38, 0xe8, 0x09, 0x0c, 0xdb, 0x7c, 0x95, 0xcb, 0xf9, 0xc4, |
| 12466 | 0x6a, 0x9c, 0x8e, 0xe8, 0xc6, 0x86, 0xbf, 0x5d, 0xdd, 0xdf, 0x58, 0xa0, 0xc9, 0xff, 0x91, 0x03, |
| 12467 | 0xe4, 0xf3, 0x2e, 0x19, 0x7a, 0x4b, 0xa5, 0xaa, 0xa1, 0xa3, 0x77, 0xa1, 0x40, 0xbb, 0xa6, 0x17, |
| 12468 | 0x1d, 0x57, 0x3d, 0x83, 0xb6, 0xbb, 0x26, 0x79, 0x71, 0x5c, 0x99, 0x4d, 0x4a, 0x30, 0x0a, 0xe6, |
| 12469 | 0x32, 0x68, 0xcd, 0x37, 0x35, 0xc7, 0xa5, 0xdf, 0x89, 0xaa, 0x7e, 0x71, 0x5c, 0x49, 0xc9, 0xdc, |
| 12470 | 0x55, 0x1f, 0x29, 0x6a, 0x20, 0x3a, 0x04, 0xa4, 0x29, 0x36, 0xdd, 0xb6, 0x14, 0xdd, 0x76, 0x35, |
| 12471 | 0xa9, 0x1d, 0x22, 0x9c, 0xf0, 0x66, 0x7f, 0x8b, 0xc6, 0x24, 0xea, 0xf3, 0xc2, 0x0a, 0xb4, 0x96, |
| 12472 | 0x40, 0xc3, 0x29, 0x1a, 0x58, 0xbe, 0xb3, 0x88, 0x62, 0x1b, 0x7a, 0xb9, 0x10, 0xcd, 0x77, 0x98, |
| 12473 | 0x8f, 0x62, 0x41, 0x45, 0xd7, 0xa1, 0xd8, 0x21, 0xb6, 0xad, 0xb4, 0x49, 0x79, 0x88, 0x33, 0x4e, |
| 12474 | 0x08, 0xc6, 0xe2, 0xba, 0x3b, 0x8c, 0x3d, 0xba, 0xfc, 0x95, 0x04, 0x63, 0xbe, 0xe7, 0x78, 0xb4, |
| 12475 | 0xff, 0x66, 0x22, 0x0e, 0xab, 0xfd, 0x4d, 0x89, 0x49, 0xf3, 0x28, 0xf4, 0xb3, 0xa2, 0x37, 0x12, |
| 12476 | 0x8a, 0xc1, 0x75, 0x6f, 0x2f, 0xe5, 0xf8, 0x5e, 0xba, 0xd6, 0x6f, 0xc8, 0x64, 0x6c, 0xa1, 0x3f, |
| 12477 | 0x2b, 0x84, 0xcc, 0x67, 0xa1, 0x89, 0x9e, 0x42, 0xc9, 0x26, 0x1a, 0x69, 0x52, 0xc3, 0x12, 0xe6, |
| 12478 | 0xbf, 0xdd, 0xa7, 0xf9, 0xca, 0x2e, 0xd1, 0x1a, 0x42, 0xb4, 0x7e, 0x91, 0xd9, 0xef, 0xfd, 0xc2, |
| 12479 | 0x3e, 0x24, 0x7a, 0x0c, 0x25, 0x4a, 0x3a, 0xa6, 0xa6, 0x50, 0x2f, 0x07, 0xbd, 0x11, 0x9e, 0x02, |
| 12480 | 0x8b, 0x1c, 0x06, 0xb6, 0x65, 0xb4, 0xb6, 0x05, 0x1b, 0xdf, 0x3e, 0xbe, 0x4b, 0xbc, 0x51, 0xec, |
| 12481 | 0xc3, 0xa0, 0x43, 0x18, 0x77, 0xcc, 0x16, 0xe3, 0xa4, 0xac, 0xe2, 0xb5, 0xbb, 0x22, 0x92, 0xee, |
| 12482 | 0xf6, 0xeb, 0x9b, 0x9d, 0x88, 0x74, 0x7d, 0x56, 0xe8, 0x1a, 0x8f, 0x8e, 0xe3, 0x98, 0x16, 0xb4, |
| 12483 | 0x08, 0x13, 0x1d, 0x55, 0x67, 0x95, 0xab, 0xdb, 0x20, 0x4d, 0x43, 0x6f, 0xd9, 0x3c, 0xac, 0x86, |
| 12484 | 0xea, 0x73, 0x02, 0x60, 0x62, 0x3d, 0x4a, 0xc6, 0x71, 0x7e, 0xf4, 0x21, 0x20, 0x6f, 0x1a, 0x0f, |
| 12485 | 0xdd, 0x82, 0xad, 0x1a, 0x3a, 0x8f, 0xb9, 0x7c, 0x10, 0xdc, 0xdb, 0x09, 0x0e, 0x9c, 0x22, 0x85, |
| 12486 | 0xd6, 0x60, 0xc6, 0x22, 0x87, 0x2a, 0x9b, 0xe3, 0x23, 0xd5, 0xa6, 0x86, 0xd5, 0x5d, 0x53, 0x3b, |
| 12487 | 0x2a, 0x2d, 0x0f, 0x73, 0x9b, 0xca, 0x27, 0xc7, 0x95, 0x19, 0x9c, 0x42, 0xc7, 0xa9, 0x52, 0xf2, |
| 12488 | 0x9f, 0x0f, 0xc3, 0x44, 0x2c, 0xdf, 0xa0, 0x27, 0x30, 0xdb, 0x74, 0x8b, 0xd3, 0x86, 0xd3, 0xd9, |
| 12489 | 0x25, 0x56, 0xa3, 0xb9, 0x4f, 0x5a, 0x8e, 0x46, 0x5a, 0x3c, 0x50, 0x86, 0xea, 0x0b, 0xc2, 0xe2, |
| 12490 | 0xd9, 0xa5, 0x54, 0x2e, 0x9c, 0x21, 0xcd, 0xbc, 0xa0, 0xf3, 0xa1, 0x75, 0xd5, 0xb6, 0x7d, 0xcc, |
| 12491 | 0x1c, 0xc7, 0xf4, 0xbd, 0xb0, 0x91, 0xe0, 0xc0, 0x29, 0x52, 0xcc, 0xc6, 0x16, 0xb1, 0x55, 0x8b, |
| 12492 | 0xb4, 0xe2, 0x36, 0xe6, 0xa3, 0x36, 0x2e, 0xa7, 0x72, 0xe1, 0x0c, 0x69, 0x74, 0x07, 0x46, 0x5d, |
| 12493 | 0x6d, 0x7c, 0xfd, 0xc4, 0x42, 0xfb, 0xe5, 0x70, 0x23, 0x20, 0xe1, 0x30, 0x1f, 0x9b, 0x9a, 0xb1, |
| 12494 | 0x6b, 0x13, 0xeb, 0x90, 0xb4, 0xb2, 0x17, 0x78, 0x33, 0xc1, 0x81, 0x53, 0xa4, 0xd8, 0xd4, 0xdc, |
| 12495 | 0x08, 0x4c, 0x4c, 0x6d, 0x38, 0x3a, 0xb5, 0x9d, 0x54, 0x2e, 0x9c, 0x21, 0xcd, 0xe2, 0xd8, 0x35, |
| 12496 | 0x79, 0xf1, 0x50, 0x51, 0x35, 0x65, 0x57, 0x23, 0xe5, 0x62, 0x34, 0x8e, 0x37, 0xa2, 0x64, 0x1c, |
| 12497 | 0xe7, 0x47, 0x0f, 0x61, 0xca, 0x1d, 0xda, 0xd1, 0x15, 0x1f, 0xa4, 0xc4, 0x41, 0x7e, 0x26, 0x40, |
| 12498 | 0xa6, 0x36, 0xe2, 0x0c, 0x38, 0x29, 0x83, 0xde, 0x85, 0xf1, 0xa6, 0xa1, 0x69, 0x3c, 0x1e, 0x97, |
| 12499 | 0x0c, 0x47, 0xa7, 0xe5, 0x11, 0x8e, 0x82, 0xd8, 0x7e, 0x5c, 0x8a, 0x50, 0x70, 0x8c, 0x13, 0x11, |
| 12500 | 0x80, 0xa6, 0x57, 0x70, 0xec, 0x32, 0xf4, 0xd5, 0x6b, 0x24, 0x8b, 0x5e, 0xd0, 0x03, 0xf8, 0x43, |
| 12501 | 0x36, 0x0e, 0x01, 0xcb, 0xff, 0x22, 0xc1, 0x5c, 0x46, 0xea, 0x40, 0xef, 0x47, 0x4a, 0xec, 0x2f, |
| 12502 | 0xc7, 0x4a, 0xec, 0xa5, 0x0c, 0xb1, 0x50, 0x9d, 0xd5, 0x61, 0xcc, 0x62, 0xb3, 0xd2, 0xdb, 0x2e, |
| 12503 | 0x8b, 0xc8, 0x91, 0x77, 0x7a, 0x4c, 0x03, 0x87, 0x65, 0x82, 0x9c, 0x3f, 0x75, 0x72, 0x5c, 0x19, |
| 12504 | 0x8b, 0xd0, 0x70, 0x14, 0x5e, 0xfe, 0x8b, 0x1c, 0xc0, 0x32, 0x31, 0x35, 0xa3, 0xdb, 0x21, 0xfa, |
| 12505 | 0x79, 0xf4, 0x50, 0x9b, 0x91, 0x1e, 0xea, 0x66, 0xaf, 0xe5, 0xf1, 0x4d, 0xcb, 0x6c, 0xa2, 0x7e, |
| 12506 | 0x3d, 0xd6, 0x44, 0xd5, 0xfa, 0x87, 0x3c, 0xbd, 0x8b, 0xfa, 0xb7, 0x3c, 0x4c, 0x07, 0xcc, 0x41, |
| 12507 | 0x1b, 0x75, 0x3f, 0xb2, 0xc6, 0xbf, 0x14, 0x5b, 0xe3, 0xb9, 0x14, 0x91, 0x57, 0xd6, 0x47, 0xbd, |
| 12508 | 0xfc, 0x7e, 0x06, 0x3d, 0x83, 0x71, 0xd6, 0x38, 0xb9, 0xe1, 0xc1, 0xdb, 0xb2, 0xe1, 0x81, 0xdb, |
| 12509 | 0x32, 0xbf, 0x80, 0xae, 0x45, 0x90, 0x70, 0x0c, 0x39, 0xa3, 0x0d, 0x2c, 0xbe, 0xea, 0x36, 0x50, |
| 12510 | 0xfe, 0x5a, 0x82, 0xf1, 0x60, 0x99, 0xce, 0xa1, 0x69, 0xdb, 0x88, 0x36, 0x6d, 0xd7, 0xfb, 0x0e, |
| 12511 | 0xd1, 0x8c, 0xae, 0xed, 0xbf, 0x58, 0x83, 0xef, 0x33, 0xb1, 0x0d, 0xbe, 0xab, 0x34, 0x0f, 0xfa, |
| 12512 | 0xf8, 0xfc, 0xfb, 0x42, 0x02, 0x24, 0xaa, 0xc0, 0xa2, 0xae, 0x1b, 0x54, 0x71, 0x73, 0xa5, 0x6b, |
| 12513 | 0xd6, 0x6a, 0xdf, 0x66, 0x79, 0x1a, 0xab, 0x3b, 0x09, 0xac, 0x07, 0x3a, 0xb5, 0xba, 0xc1, 0x8a, |
| 12514 | 0x24, 0x19, 0x70, 0x8a, 0x01, 0x48, 0x01, 0xb0, 0x04, 0xe6, 0xb6, 0x21, 0x36, 0xf2, 0xcd, 0x3e, |
| 12515 | 0x72, 0x1e, 0x13, 0x58, 0x32, 0xf4, 0x3d, 0xb5, 0x1d, 0xa4, 0x1d, 0xec, 0x03, 0xe1, 0x10, 0xe8, |
| 12516 | 0xfc, 0x03, 0x98, 0xcb, 0xb0, 0x16, 0x4d, 0x42, 0xfe, 0x80, 0x74, 0x5d, 0xb7, 0x61, 0xf6, 0x27, |
| 12517 | 0x9a, 0x09, 0x7f, 0x26, 0x8f, 0x88, 0x2f, 0xdc, 0x77, 0x73, 0xf7, 0x24, 0xf9, 0xab, 0xa1, 0x70, |
| 12518 | 0xec, 0xf0, 0x8e, 0xf9, 0x1a, 0x94, 0x2c, 0x62, 0x6a, 0x6a, 0x53, 0xb1, 0x45, 0x23, 0x74, 0xd1, |
| 12519 | 0x3d, 0xd2, 0x70, 0xc7, 0xb0, 0x4f, 0x8d, 0xf4, 0xd6, 0xb9, 0x57, 0xdb, 0x5b, 0xe7, 0x5f, 0x4e, |
| 12520 | 0x6f, 0xfd, 0x5b, 0x50, 0xb2, 0xbd, 0xae, 0xba, 0xc0, 0x21, 0x6f, 0x0d, 0x90, 0x5f, 0x45, 0x43, |
| 12521 | 0xed, 0x2b, 0xf0, 0x5b, 0x69, 0x1f, 0x34, 0xad, 0x89, 0x1e, 0x1a, 0xb0, 0x89, 0x7e, 0xa9, 0x8d, |
| 12522 | 0x2f, 0xcb, 0xa9, 0xa6, 0xe2, 0xd8, 0xa4, 0xc5, 0x13, 0x51, 0x29, 0xc8, 0xa9, 0x5b, 0x7c, 0x14, |
| 12523 | 0x0b, 0x2a, 0x7a, 0x1a, 0x09, 0xd9, 0xd2, 0x59, 0x42, 0x76, 0x3c, 0x3b, 0x5c, 0xd1, 0x0e, 0xcc, |
| 12524 | 0x99, 0x96, 0xd1, 0xb6, 0x88, 0x6d, 0x2f, 0x13, 0xa5, 0xa5, 0xa9, 0x3a, 0xf1, 0xfc, 0xe3, 0x76, |
| 12525 | 0x44, 0x97, 0x4e, 0x8e, 0x2b, 0x73, 0x5b, 0xe9, 0x2c, 0x38, 0x4b, 0x56, 0x7e, 0x5e, 0x80, 0xc9, |
| 12526 | 0x78, 0x05, 0xcc, 0x68, 0x52, 0xa5, 0x33, 0x35, 0xa9, 0x37, 0x42, 0x9b, 0xc1, 0xed, 0xe0, 0x43, |
| 12527 | 0x67, 0x7c, 0x89, 0x0d, 0xb1, 0x08, 0x13, 0x22, 0x1b, 0x78, 0x44, 0xd1, 0xa6, 0xfb, 0xab, 0xbf, |
| 12528 | 0x13, 0x25, 0xe3, 0x38, 0x3f, 0x6b, 0x3d, 0x83, 0x8e, 0xd2, 0x03, 0x29, 0x44, 0x5b, 0xcf, 0xc5, |
| 12529 | 0x38, 0x03, 0x4e, 0xca, 0xa0, 0x75, 0x98, 0x76, 0xf4, 0x24, 0x94, 0x1b, 0x8d, 0x97, 0x04, 0xd4, |
| 12530 | 0xf4, 0x4e, 0x92, 0x05, 0xa7, 0xc9, 0xa1, 0xbd, 0x48, 0x37, 0x3a, 0xcc, 0x33, 0xec, 0xed, 0xbe, |
| 12531 | 0xf7, 0x4e, 0xdf, 0xed, 0x28, 0xba, 0x0f, 0x63, 0x16, 0xff, 0xee, 0xf0, 0x0c, 0x76, 0x7b, 0xf7, |
| 12532 | 0xd7, 0x84, 0xd8, 0x18, 0x0e, 0x13, 0x71, 0x94, 0x37, 0xa5, 0xdd, 0x2e, 0xf5, 0xdb, 0x6e, 0xcb, |
| 12533 | 0xff, 0x24, 0x85, 0x8b, 0x90, 0xdf, 0x02, 0xf7, 0x3a, 0x65, 0x4a, 0x48, 0x84, 0xba, 0x23, 0x23, |
| 12534 | 0xbd, 0xfb, 0xbd, 0x3b, 0x50, 0xf7, 0x1b, 0x14, 0xcf, 0xde, 0xed, 0xef, 0x97, 0x12, 0xcc, 0xae, |
| 12535 | 0x34, 0x1e, 0x5a, 0x86, 0x63, 0x7a, 0xe6, 0x6c, 0x9a, 0xae, 0x5f, 0x7f, 0x01, 0x05, 0xcb, 0xd1, |
| 12536 | 0xbc, 0x79, 0xbc, 0xe1, 0xcd, 0x03, 0x3b, 0x1a, 0x9b, 0xc7, 0x74, 0x4c, 0xca, 0x9d, 0x04, 0x13, |
| 12537 | 0x40, 0x1b, 0x30, 0x6c, 0x29, 0x7a, 0x9b, 0x78, 0x65, 0xf5, 0x6a, 0x0f, 0xeb, 0x57, 0x97, 0x31, |
| 12538 | 0x63, 0x0f, 0x35, 0x6f, 0x5c, 0x1a, 0x0b, 0x14, 0xf9, 0x8f, 0x24, 0x98, 0x78, 0xb4, 0xbd, 0xbd, |
| 12539 | 0xb5, 0xaa, 0xf3, 0x1d, 0xcd, 0x4f, 0xdf, 0xaf, 0x40, 0xc1, 0x54, 0xe8, 0x7e, 0xbc, 0xd2, 0x33, |
| 12540 | 0x1a, 0xe6, 0x14, 0xf4, 0x11, 0x14, 0x59, 0x26, 0x21, 0x7a, 0xab, 0xcf, 0x56, 0x5b, 0xc0, 0xd7, |
| 12541 | 0x5d, 0xa1, 0xa0, 0x43, 0x14, 0x03, 0xd8, 0x83, 0x93, 0x0f, 0x60, 0x26, 0x64, 0x0e, 0xf3, 0x07, |
| 12542 | 0x3f, 0x06, 0x46, 0x0d, 0x18, 0x62, 0x9a, 0xbd, 0x53, 0xde, 0x5e, 0x87, 0x99, 0xb1, 0x29, 0x05, |
| 12543 | 0x9d, 0x0e, 0xfb, 0x65, 0x63, 0x17, 0x4b, 0x5e, 0x87, 0x31, 0x7e, 0xe5, 0x60, 0x58, 0x94, 0xbb, |
| 12544 | 0x05, 0x5d, 0x86, 0x7c, 0x47, 0xd5, 0x45, 0x9d, 0x1d, 0x15, 0x32, 0x79, 0x56, 0x23, 0xd8, 0x38, |
| 12545 | 0x27, 0x2b, 0x47, 0x22, 0xf3, 0x04, 0x64, 0xe5, 0x08, 0xb3, 0x71, 0xf9, 0x21, 0x14, 0x85, 0xbb, |
| 12546 | 0xc3, 0x40, 0xf9, 0xd3, 0x81, 0xf2, 0x29, 0x40, 0x9b, 0x50, 0x5c, 0xdd, 0xaa, 0x6b, 0x86, 0xdb, |
| 12547 | 0x75, 0x35, 0xd5, 0x96, 0x15, 0x5f, 0x8b, 0xa5, 0xd5, 0x65, 0x8c, 0x39, 0x05, 0xc9, 0x30, 0x4c, |
| 12548 | 0x8e, 0x9a, 0xc4, 0xa4, 0x3c, 0x22, 0x46, 0xea, 0xc0, 0x56, 0xf9, 0x01, 0x1f, 0xc1, 0x82, 0x22, |
| 12549 | 0xff, 0x71, 0x0e, 0x8a, 0xc2, 0x1d, 0xe7, 0xf0, 0x15, 0xb6, 0x16, 0xf9, 0x0a, 0x7b, 0xb3, 0xbf, |
| 12550 | 0xd0, 0xc8, 0xfc, 0x04, 0xdb, 0x8e, 0x7d, 0x82, 0xdd, 0xe8, 0x13, 0xef, 0xf4, 0xef, 0xaf, 0xbf, |
| 12551 | 0x97, 0x60, 0x3c, 0x1a, 0x94, 0xe8, 0x0e, 0x8c, 0xb2, 0x82, 0xa3, 0x36, 0xc9, 0x46, 0xd0, 0xe7, |
| 12552 | 0xfa, 0x87, 0x30, 0x8d, 0x80, 0x84, 0xc3, 0x7c, 0xa8, 0xed, 0x8b, 0xb1, 0x38, 0x12, 0x93, 0xce, |
| 12553 | 0x76, 0xa9, 0x43, 0x55, 0xad, 0xea, 0x5e, 0xa3, 0x55, 0x57, 0x75, 0xba, 0x69, 0x35, 0xa8, 0xa5, |
| 12554 | 0xea, 0xed, 0x84, 0x22, 0x1e, 0x94, 0x61, 0x64, 0xf9, 0x1f, 0x25, 0x18, 0x15, 0x26, 0x9f, 0xc3, |
| 12555 | 0x57, 0xc5, 0xaf, 0x45, 0xbf, 0x2a, 0xae, 0xf6, 0xb9, 0xc1, 0xd3, 0x3f, 0x29, 0xfe, 0x3a, 0x30, |
| 12556 | 0x9d, 0x6d, 0x69, 0x16, 0xd5, 0xfb, 0x86, 0x4d, 0xe3, 0x51, 0xcd, 0x36, 0x23, 0xe6, 0x14, 0xe4, |
| 12557 | 0xc0, 0xa4, 0x1a, 0xcb, 0x01, 0xc2, 0xb5, 0xb5, 0xfe, 0x2c, 0xf1, 0xc5, 0xea, 0x65, 0x01, 0x3f, |
| 12558 | 0x19, 0xa7, 0xe0, 0x84, 0x0a, 0x99, 0x40, 0x82, 0x0b, 0x3d, 0x86, 0xc2, 0x3e, 0xa5, 0x66, 0xca, |
| 12559 | 0x79, 0x75, 0x8f, 0xcc, 0x13, 0x98, 0x50, 0xe2, 0xb3, 0xdb, 0xde, 0xde, 0xc2, 0x1c, 0x4a, 0xfe, |
| 12560 | 0xef, 0xc0, 0x1f, 0x0d, 0x37, 0xc6, 0xfd, 0x7c, 0x2a, 0x9d, 0x25, 0x9f, 0x8e, 0xa6, 0xe5, 0x52, |
| 12561 | 0xf4, 0x08, 0xf2, 0x54, 0xeb, 0xf7, 0xb3, 0x50, 0x20, 0x6e, 0xaf, 0x35, 0x82, 0x84, 0xb4, 0xbd, |
| 12562 | 0xd6, 0xc0, 0x0c, 0x02, 0x6d, 0xc2, 0x10, 0xab, 0x3e, 0x6c, 0x0b, 0xe6, 0xfb, 0xdf, 0xd2, 0x6c, |
| 12563 | 0xfe, 0x41, 0x40, 0xb0, 0x5f, 0x36, 0x76, 0x71, 0xe4, 0xcf, 0x60, 0x2c, 0xb2, 0x4f, 0xd1, 0xa7, |
| 12564 | 0x70, 0x51, 0x33, 0x94, 0x56, 0x5d, 0xd1, 0x14, 0xbd, 0x49, 0xbc, 0xcb, 0x81, 0xab, 0x69, 0x5f, |
| 12565 | 0x18, 0x6b, 0x21, 0x3e, 0xb1, 0xcb, 0xfd, 0xeb, 0xd4, 0x30, 0x0d, 0x47, 0x10, 0x65, 0x05, 0x20, |
| 12566 | 0x98, 0x23, 0xaa, 0xc0, 0x10, 0x8b, 0x33, 0xb7, 0x9e, 0x8c, 0xd4, 0x47, 0x98, 0x85, 0x2c, 0xfc, |
| 12567 | 0x6c, 0xec, 0x8e, 0xa3, 0xdb, 0x00, 0x36, 0x69, 0x5a, 0x84, 0xf2, 0x64, 0x90, 0x8b, 0x5e, 0x41, |
| 12568 | 0x37, 0x7c, 0x0a, 0x0e, 0x71, 0xc9, 0xff, 0x2c, 0xc1, 0xd8, 0x06, 0xa1, 0x9f, 0x1b, 0xd6, 0xc1, |
| 12569 | 0x16, 0x7f, 0x3a, 0x70, 0x0e, 0xc9, 0x16, 0x47, 0x92, 0xed, 0x5b, 0x3d, 0x56, 0x26, 0x62, 0x5d, |
| 12570 | 0x56, 0xca, 0x95, 0xbf, 0x96, 0x60, 0x2e, 0xc2, 0xf9, 0x20, 0xd8, 0xba, 0x3b, 0x30, 0x64, 0x1a, |
| 12571 | 0x16, 0xf5, 0x0a, 0xf1, 0x40, 0x0a, 0x59, 0x1a, 0x0b, 0x95, 0x62, 0x06, 0x83, 0x5d, 0x34, 0xb4, |
| 12572 | 0x06, 0x39, 0x6a, 0x88, 0x50, 0x1d, 0x0c, 0x93, 0x10, 0xab, 0x0e, 0x02, 0x33, 0xb7, 0x6d, 0xe0, |
| 12573 | 0x1c, 0x35, 0xd8, 0x42, 0x94, 0x23, 0x5c, 0xe1, 0xe4, 0xf3, 0x8a, 0x66, 0x80, 0xa1, 0xb0, 0x67, |
| 12574 | 0x19, 0x9d, 0x33, 0xcf, 0xc1, 0x5f, 0x88, 0x15, 0xcb, 0xe8, 0x60, 0x8e, 0x25, 0x7f, 0x23, 0xc1, |
| 12575 | 0x54, 0x84, 0xf3, 0x1c, 0x12, 0xff, 0xe3, 0x68, 0xe2, 0xbf, 0x31, 0xc8, 0x44, 0x32, 0xd2, 0xff, |
| 12576 | 0x37, 0xb9, 0xd8, 0x34, 0xd8, 0x84, 0xd1, 0x1e, 0x8c, 0x9a, 0x46, 0xab, 0xf1, 0x12, 0xae, 0x03, |
| 12577 | 0x27, 0x58, 0xdd, 0xdc, 0x0a, 0xb0, 0x70, 0x18, 0x18, 0x1d, 0xc1, 0x94, 0xae, 0x74, 0x88, 0x6d, |
| 12578 | 0x2a, 0x4d, 0xd2, 0x78, 0x09, 0x07, 0x24, 0xaf, 0xf1, 0xfb, 0x86, 0x38, 0x22, 0x4e, 0x2a, 0x41, |
| 12579 | 0xeb, 0x50, 0x54, 0x4d, 0xde, 0xc7, 0x89, 0xde, 0xa5, 0x67, 0x15, 0x75, 0xbb, 0x3e, 0x37, 0x9f, |
| 12580 | 0x8b, 0x1f, 0xd8, 0xc3, 0x90, 0xff, 0x26, 0x1e, 0x0d, 0x2c, 0xfe, 0xd0, 0x43, 0x28, 0xf1, 0x47, |
| 12581 | 0x38, 0x4d, 0x43, 0xf3, 0x6e, 0x06, 0xd8, 0xca, 0x6e, 0x89, 0xb1, 0x17, 0xc7, 0x95, 0x4b, 0x29, |
| 12582 | 0x87, 0xbe, 0x1e, 0x19, 0xfb, 0xc2, 0x68, 0x03, 0x0a, 0xe6, 0x4f, 0xe9, 0x60, 0x78, 0x91, 0xe3, |
| 12583 | 0x6d, 0x0b, 0xc7, 0x91, 0x7f, 0x2f, 0x1f, 0x33, 0x97, 0x97, 0xba, 0x67, 0x2f, 0x6d, 0xd5, 0xfd, |
| 12584 | 0x8e, 0x29, 0x73, 0xe5, 0x77, 0xa1, 0x28, 0x2a, 0xbc, 0x08, 0xe6, 0x5f, 0x0c, 0x12, 0xcc, 0xe1, |
| 12585 | 0x2a, 0xe6, 0x7f, 0xb0, 0x78, 0x83, 0x1e, 0x30, 0xfa, 0x04, 0x86, 0x89, 0xab, 0xc2, 0xad, 0x8d, |
| 12586 | 0x77, 0x07, 0x51, 0x11, 0xe4, 0xd5, 0xa0, 0x51, 0x15, 0x63, 0x02, 0x15, 0xbd, 0xcf, 0xfc, 0xc5, |
| 12587 | 0x78, 0xd9, 0x47, 0xa0, 0x5d, 0x2e, 0xf0, 0x72, 0x75, 0xd9, 0x9d, 0xb6, 0x3f, 0xfc, 0xe2, 0xb8, |
| 12588 | 0x02, 0xc1, 0x4f, 0x1c, 0x96, 0x90, 0xff, 0x55, 0x82, 0x29, 0xee, 0xa1, 0xa6, 0x63, 0xa9, 0xb4, |
| 12589 | 0x7b, 0x6e, 0x85, 0xe9, 0x49, 0xa4, 0x30, 0xbd, 0xd3, 0xc3, 0x2d, 0x09, 0x0b, 0x33, 0x8b, 0xd3, |
| 12590 | 0xb7, 0x12, 0xbc, 0x96, 0xe0, 0x3e, 0x87, 0xbc, 0xb8, 0x13, 0xcd, 0x8b, 0x6f, 0x0d, 0x3a, 0xa1, |
| 12591 | 0xac, 0xd6, 0x78, 0x3c, 0x65, 0x3a, 0x7c, 0xa7, 0xdc, 0x06, 0x30, 0x2d, 0xf5, 0x50, 0xd5, 0x48, |
| 12592 | 0x5b, 0x5c, 0x82, 0x97, 0x42, 0x8f, 0xe0, 0x7c, 0x0a, 0x0e, 0x71, 0x21, 0x1b, 0x66, 0x5b, 0x64, |
| 12593 | 0x4f, 0x71, 0x34, 0xba, 0xd8, 0x6a, 0x2d, 0x29, 0xa6, 0xb2, 0xab, 0x6a, 0x2a, 0x55, 0xc5, 0x71, |
| 12594 | 0xc1, 0x48, 0xfd, 0xbe, 0x7b, 0x39, 0x9d, 0xc6, 0xf1, 0xe2, 0xb8, 0x72, 0x39, 0xed, 0x76, 0xc8, |
| 12595 | 0x63, 0xe9, 0xe2, 0x0c, 0x68, 0xd4, 0x85, 0xb2, 0x45, 0x3e, 0x73, 0x54, 0x8b, 0xb4, 0x96, 0x2d, |
| 12596 | 0xc3, 0x8c, 0xa8, 0xcd, 0x73, 0xb5, 0xbf, 0x7a, 0x72, 0x5c, 0x29, 0xe3, 0x0c, 0x9e, 0xde, 0x8a, |
| 12597 | 0x33, 0xe1, 0xd1, 0x33, 0x98, 0x56, 0xdc, 0xb7, 0x83, 0x11, 0xad, 0xee, 0x2e, 0xb9, 0x77, 0x72, |
| 12598 | 0x5c, 0x99, 0x5e, 0x4c, 0x92, 0x7b, 0x2b, 0x4c, 0x03, 0x45, 0x35, 0x28, 0x1e, 0xf2, 0x97, 0x8d, |
| 12599 | 0x76, 0x79, 0x88, 0xe3, 0xb3, 0x42, 0x50, 0x74, 0x1f, 0x3b, 0x32, 0xcc, 0xe1, 0x95, 0x06, 0xdf, |
| 12600 | 0x7d, 0x1e, 0x17, 0xfb, 0xa0, 0x64, 0xbd, 0xa4, 0xd8, 0xf1, 0xfc, 0xc4, 0xb8, 0x14, 0x64, 0xad, |
| 12601 | 0x47, 0x01, 0x09, 0x87, 0xf9, 0xd0, 0x53, 0x18, 0xd9, 0x17, 0xa7, 0x12, 0x76, 0xb9, 0xd8, 0x57, |
| 12602 | 0x11, 0x8e, 0x9c, 0x62, 0xd4, 0xa7, 0x84, 0x8a, 0x11, 0x6f, 0xd8, 0xc6, 0x01, 0x22, 0xba, 0x0e, |
| 12603 | 0x45, 0xfe, 0x63, 0x75, 0x99, 0x1f, 0xc7, 0x95, 0x82, 0xdc, 0xf6, 0xc8, 0x1d, 0xc6, 0x1e, 0xdd, |
| 12604 | 0x63, 0x5d, 0xdd, 0x5a, 0xe2, 0xc7, 0xc2, 0x31, 0xd6, 0xd5, 0xad, 0x25, 0xec, 0xd1, 0xd1, 0xa7, |
| 12605 | 0x50, 0xb4, 0xc9, 0x9a, 0xaa, 0x3b, 0x47, 0x65, 0xe8, 0xeb, 0x52, 0xb9, 0xf1, 0x80, 0x73, 0xc7, |
| 12606 | 0x0e, 0xc6, 0x02, 0x0d, 0x82, 0x8e, 0x3d, 0x58, 0xb4, 0x0f, 0x23, 0x96, 0xa3, 0x2f, 0xda, 0x3b, |
| 12607 | 0x36, 0xb1, 0xca, 0xa3, 0x5c, 0x47, 0xaf, 0x74, 0x8e, 0x3d, 0xfe, 0xb8, 0x16, 0xdf, 0x43, 0x3e, |
| 12608 | 0x07, 0x0e, 0xc0, 0xd1, 0x1f, 0x4a, 0x80, 0x6c, 0xc7, 0x34, 0x35, 0xd2, 0x21, 0x3a, 0x55, 0x34, |
| 12609 | 0x7e, 0x16, 0x67, 0x97, 0x2f, 0x72, 0x9d, 0x1f, 0xf4, 0x9a, 0x57, 0x42, 0x30, 0xae, 0xdc, 0x3f, |
| 12610 | 0xf4, 0x4e, 0xb2, 0xe2, 0x14, 0xbd, 0xcc, 0xb5, 0x7b, 0x36, 0xff, 0xbb, 0x3c, 0xd6, 0x97, 0x6b, |
| 12611 | 0xd3, 0xcf, 0x1c, 0x03, 0xd7, 0x0a, 0x3a, 0xf6, 0x60, 0xd1, 0x13, 0x98, 0xf5, 0x1e, 0xc6, 0x62, |
| 12612 | 0xc3, 0xa0, 0x2b, 0xaa, 0x46, 0xec, 0xae, 0x4d, 0x49, 0xa7, 0x3c, 0xce, 0x97, 0xdd, 0x7f, 0xfb, |
| 12613 | 0x81, 0x53, 0xb9, 0x70, 0x86, 0x34, 0xea, 0x40, 0xc5, 0x4b, 0x19, 0x6c, 0x3f, 0xf9, 0x39, 0xeb, |
| 12614 | 0x81, 0xdd, 0x54, 0x34, 0xf7, 0x1e, 0x60, 0x82, 0x2b, 0x78, 0xe3, 0xe4, 0xb8, 0x52, 0x59, 0x3e, |
| 12615 | 0x9d, 0x15, 0xf7, 0xc2, 0x42, 0x1f, 0x41, 0x59, 0xc9, 0xd2, 0x33, 0xc9, 0xf5, 0xbc, 0xce, 0xf2, |
| 12616 | 0x50, 0xa6, 0x82, 0x4c, 0x69, 0x44, 0x61, 0x52, 0x89, 0x3e, 0x51, 0xb6, 0xcb, 0x53, 0x7d, 0x1d, |
| 12617 | 0x44, 0xc6, 0x5e, 0x36, 0x07, 0x87, 0x11, 0x31, 0x82, 0x8d, 0x13, 0x1a, 0xd0, 0x6f, 0x03, 0x52, |
| 12618 | 0xe2, 0xaf, 0xaa, 0xed, 0x32, 0xea, 0xab, 0xfc, 0x24, 0x9e, 0x63, 0x07, 0x61, 0x97, 0x20, 0xd9, |
| 12619 | 0x38, 0x45, 0x0f, 0x5a, 0x83, 0x19, 0x31, 0xba, 0xa3, 0xdb, 0xca, 0x1e, 0x69, 0x74, 0xed, 0x26, |
| 12620 | 0xd5, 0xec, 0xf2, 0x34, 0xcf, 0x7d, 0xfc, 0xe2, 0x6b, 0x31, 0x85, 0x8e, 0x53, 0xa5, 0xd0, 0x07, |
| 12621 | 0x30, 0xb9, 0x67, 0x58, 0xbb, 0x6a, 0xab, 0x45, 0x74, 0x0f, 0x69, 0x86, 0x23, 0xcd, 0x30, 0x6f, |
| 12622 | 0xac, 0xc4, 0x68, 0x38, 0xc1, 0xcd, 0x1f, 0x93, 0x88, 0xab, 0x85, 0xf3, 0x79, 0x90, 0x3b, 0xd8, |
| 12623 | 0x63, 0x92, 0xc0, 0xb4, 0x97, 0xf6, 0x98, 0x24, 0x04, 0x79, 0xfa, 0x61, 0xe6, 0x7f, 0xe6, 0x60, |
| 12624 | 0x3a, 0x60, 0xee, 0xfb, 0x31, 0x49, 0x8a, 0xc8, 0xff, 0x3f, 0xca, 0xed, 0xfd, 0x28, 0xf7, 0x6b, |
| 12625 | 0x09, 0xc6, 0x03, 0xd7, 0xfd, 0xef, 0x7b, 0xe0, 0x11, 0xd8, 0x96, 0xd1, 0x72, 0xfe, 0x5d, 0x2e, |
| 12626 | 0x3c, 0x81, 0xff, 0xf3, 0xaf, 0x0c, 0x7e, 0xfa, 0x4b, 0x5a, 0xf9, 0xdb, 0x3c, 0x4c, 0xc6, 0x77, |
| 12627 | 0x63, 0xe4, 0x32, 0x5a, 0xea, 0x79, 0x19, 0xbd, 0x05, 0x33, 0x7b, 0x8e, 0xa6, 0x75, 0xb9, 0x1b, |
| 12628 | 0x42, 0x37, 0xd2, 0xee, 0x65, 0xd2, 0xeb, 0x42, 0x72, 0x66, 0x25, 0x85, 0x07, 0xa7, 0x4a, 0x66, |
| 12629 | 0x5c, 0xac, 0xe7, 0xcf, 0x74, 0xb1, 0x9e, 0xb8, 0xe7, 0x2d, 0x0c, 0x70, 0xcf, 0x9b, 0x7a, 0x49, |
| 12630 | 0x3e, 0x74, 0x86, 0x4b, 0xf2, 0xb3, 0xdc, 0x6a, 0xa7, 0x24, 0xb1, 0x9e, 0x8f, 0x2c, 0x5f, 0x87, |
| 12631 | 0x79, 0x21, 0x46, 0xf9, 0x85, 0xb3, 0x4e, 0x2d, 0x43, 0xd3, 0x88, 0xb5, 0xec, 0x74, 0x3a, 0x5d, |
| 12632 | 0xf9, 0x3d, 0x18, 0x8f, 0x3e, 0xa5, 0x70, 0x57, 0xda, 0x7d, 0xcd, 0x21, 0xae, 0xf4, 0x42, 0x2b, |
| 12633 | 0xed, 0x8e, 0x63, 0x9f, 0x43, 0xfe, 0x7d, 0x09, 0x66, 0xd3, 0x9f, 0x4c, 0x22, 0x0d, 0xc6, 0x3b, |
| 12634 | 0xca, 0x51, 0xf8, 0x19, 0xab, 0x74, 0xc6, 0xc3, 0x16, 0x7e, 0x87, 0xbe, 0x1e, 0xc1, 0xc2, 0x31, |
| 12635 | 0x6c, 0xf9, 0x47, 0x09, 0xe6, 0x32, 0x6e, 0xaf, 0xcf, 0xd7, 0x12, 0xf4, 0x31, 0x94, 0x3a, 0xca, |
| 12636 | 0x51, 0xc3, 0xb1, 0xda, 0xe4, 0xcc, 0xc7, 0x4b, 0x3c, 0x63, 0xac, 0x0b, 0x14, 0xec, 0xe3, 0xc9, |
| 12637 | 0x5f, 0x4a, 0x50, 0xce, 0x6a, 0xf4, 0xd1, 0x9d, 0xc8, 0x3d, 0xfb, 0xcf, 0x63, 0xf7, 0xec, 0x53, |
| 12638 | 0x09, 0xb9, 0x57, 0x74, 0xcb, 0xfe, 0xb7, 0x12, 0xcc, 0xa6, 0x7f, 0xf0, 0xa0, 0xb7, 0x23, 0x16, |
| 12639 | 0x56, 0x62, 0x16, 0x4e, 0xc4, 0xa4, 0x84, 0x7d, 0x9f, 0xc0, 0xb8, 0xf8, 0x2c, 0x12, 0x30, 0xc2, |
| 12640 | 0xab, 0x72, 0x5a, 0xae, 0x14, 0x10, 0xde, 0x67, 0x00, 0x5f, 0xaf, 0xe8, 0x18, 0x8e, 0xa1, 0xc9, |
| 12641 | 0x7f, 0x90, 0x83, 0xa1, 0x46, 0x53, 0xd1, 0xc8, 0x39, 0xb4, 0x59, 0x1f, 0x46, 0xda, 0xac, 0x5e, |
| 12642 | 0xff, 0x72, 0xc2, 0xad, 0xca, 0xec, 0xb0, 0x70, 0xac, 0xc3, 0x7a, 0xb3, 0x2f, 0xb4, 0xd3, 0x9b, |
| 12643 | 0xab, 0x5f, 0x81, 0x11, 0x5f, 0xe9, 0x60, 0x39, 0x5f, 0xfe, 0xab, 0x1c, 0x8c, 0x86, 0x54, 0x0c, |
| 12644 | 0x58, 0x31, 0xf6, 0x22, 0x95, 0xb6, 0x9f, 0x7f, 0xf4, 0x0b, 0xe9, 0xaa, 0x7a, 0xb5, 0xd5, 0x7d, |
| 12645 | 0x32, 0x19, 0x3c, 0x92, 0x4b, 0x96, 0xdc, 0xf7, 0x60, 0x9c, 0xf2, 0x7f, 0x84, 0xf3, 0x0f, 0x65, |
| 12646 | 0xf3, 0x3c, 0x16, 0xfd, 0x87, 0xb6, 0xdb, 0x11, 0x2a, 0x8e, 0x71, 0xcf, 0xdf, 0x87, 0xb1, 0x88, |
| 12647 | 0xb2, 0x81, 0x5e, 0x3c, 0xfe, 0x83, 0x04, 0x3f, 0xef, 0xf9, 0xc9, 0x8c, 0xea, 0x91, 0x4d, 0x52, |
| 12648 | 0x8d, 0x6d, 0x92, 0x85, 0x6c, 0x80, 0x57, 0xf7, 0x72, 0xa6, 0x7e, 0xf3, 0xf9, 0x0f, 0x0b, 0x17, |
| 12649 | 0xbe, 0xfb, 0x61, 0xe1, 0xc2, 0xf7, 0x3f, 0x2c, 0x5c, 0xf8, 0xdd, 0x93, 0x05, 0xe9, 0xf9, 0xc9, |
| 12650 | 0x82, 0xf4, 0xdd, 0xc9, 0x82, 0xf4, 0xfd, 0xc9, 0x82, 0xf4, 0xef, 0x27, 0x0b, 0xd2, 0x9f, 0xfc, |
| 12651 | 0xb8, 0x70, 0xe1, 0xe3, 0xa2, 0x80, 0xfb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7b, 0xc2, 0x4a, |
| 12652 | 0x40, 0x12, 0x3d, 0x00, 0x00, |
| 12653 | } |