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