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/v1/generated.proto |
| 19 | // DO NOT EDIT! |
| 20 | |
| 21 | /* |
| 22 | Package v1 is a generated protocol buffer package. |
| 23 | |
| 24 | It is generated from these files: |
| 25 | k8s.io/kubernetes/vendor/k8s.io/api/apps/v1/generated.proto |
| 26 | |
| 27 | It has these top-level messages: |
| 28 | ControllerRevision |
| 29 | ControllerRevisionList |
| 30 | DaemonSet |
| 31 | DaemonSetCondition |
| 32 | DaemonSetList |
| 33 | DaemonSetSpec |
| 34 | DaemonSetStatus |
| 35 | DaemonSetUpdateStrategy |
| 36 | Deployment |
| 37 | DeploymentCondition |
| 38 | DeploymentList |
| 39 | DeploymentSpec |
| 40 | DeploymentStatus |
| 41 | DeploymentStrategy |
| 42 | ReplicaSet |
| 43 | ReplicaSetCondition |
| 44 | ReplicaSetList |
| 45 | ReplicaSetSpec |
| 46 | ReplicaSetStatus |
| 47 | RollingUpdateDaemonSet |
| 48 | RollingUpdateDeployment |
| 49 | RollingUpdateStatefulSetStrategy |
| 50 | StatefulSet |
| 51 | StatefulSetCondition |
| 52 | StatefulSetList |
| 53 | StatefulSetSpec |
| 54 | StatefulSetStatus |
| 55 | StatefulSetUpdateStrategy |
| 56 | */ |
| 57 | package v1 |
| 58 | |
| 59 | import proto "github.com/gogo/protobuf/proto" |
| 60 | import fmt "fmt" |
| 61 | import math "math" |
| 62 | |
| 63 | import k8s_io_api_core_v1 "k8s.io/api/core/v1" |
| 64 | |
| 65 | import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" |
| 66 | |
| 67 | import k8s_io_apimachinery_pkg_util_intstr "k8s.io/apimachinery/pkg/util/intstr" |
| 68 | |
| 69 | import strings "strings" |
| 70 | import reflect "reflect" |
| 71 | |
| 72 | import io "io" |
| 73 | |
| 74 | // Reference imports to suppress errors if they are not otherwise used. |
| 75 | var _ = proto.Marshal |
| 76 | var _ = fmt.Errorf |
| 77 | var _ = math.Inf |
| 78 | |
| 79 | // This is a compile-time assertion to ensure that this generated file |
| 80 | // is compatible with the proto package it is being compiled against. |
| 81 | // A compilation error at this line likely means your copy of the |
| 82 | // proto package needs to be updated. |
| 83 | const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package |
| 84 | |
| 85 | func (m *ControllerRevision) Reset() { *m = ControllerRevision{} } |
| 86 | func (*ControllerRevision) ProtoMessage() {} |
| 87 | func (*ControllerRevision) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } |
| 88 | |
| 89 | func (m *ControllerRevisionList) Reset() { *m = ControllerRevisionList{} } |
| 90 | func (*ControllerRevisionList) ProtoMessage() {} |
| 91 | func (*ControllerRevisionList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } |
| 92 | |
| 93 | func (m *DaemonSet) Reset() { *m = DaemonSet{} } |
| 94 | func (*DaemonSet) ProtoMessage() {} |
| 95 | func (*DaemonSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } |
| 96 | |
| 97 | func (m *DaemonSetCondition) Reset() { *m = DaemonSetCondition{} } |
| 98 | func (*DaemonSetCondition) ProtoMessage() {} |
| 99 | func (*DaemonSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } |
| 100 | |
| 101 | func (m *DaemonSetList) Reset() { *m = DaemonSetList{} } |
| 102 | func (*DaemonSetList) ProtoMessage() {} |
| 103 | func (*DaemonSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } |
| 104 | |
| 105 | func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} } |
| 106 | func (*DaemonSetSpec) ProtoMessage() {} |
| 107 | func (*DaemonSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} } |
| 108 | |
| 109 | func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} } |
| 110 | func (*DaemonSetStatus) ProtoMessage() {} |
| 111 | func (*DaemonSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} } |
| 112 | |
| 113 | func (m *DaemonSetUpdateStrategy) Reset() { *m = DaemonSetUpdateStrategy{} } |
| 114 | func (*DaemonSetUpdateStrategy) ProtoMessage() {} |
| 115 | func (*DaemonSetUpdateStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } |
| 116 | |
| 117 | func (m *Deployment) Reset() { *m = Deployment{} } |
| 118 | func (*Deployment) ProtoMessage() {} |
| 119 | func (*Deployment) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} } |
| 120 | |
| 121 | func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} } |
| 122 | func (*DeploymentCondition) ProtoMessage() {} |
| 123 | func (*DeploymentCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} } |
| 124 | |
| 125 | func (m *DeploymentList) Reset() { *m = DeploymentList{} } |
| 126 | func (*DeploymentList) ProtoMessage() {} |
| 127 | func (*DeploymentList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } |
| 128 | |
| 129 | func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} } |
| 130 | func (*DeploymentSpec) ProtoMessage() {} |
| 131 | func (*DeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} } |
| 132 | |
| 133 | func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} } |
| 134 | func (*DeploymentStatus) ProtoMessage() {} |
| 135 | func (*DeploymentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } |
| 136 | |
| 137 | func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} } |
| 138 | func (*DeploymentStrategy) ProtoMessage() {} |
| 139 | func (*DeploymentStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} } |
| 140 | |
| 141 | func (m *ReplicaSet) Reset() { *m = ReplicaSet{} } |
| 142 | func (*ReplicaSet) ProtoMessage() {} |
| 143 | func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} } |
| 144 | |
| 145 | func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} } |
| 146 | func (*ReplicaSetCondition) ProtoMessage() {} |
| 147 | func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} } |
| 148 | |
| 149 | func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} } |
| 150 | func (*ReplicaSetList) ProtoMessage() {} |
| 151 | func (*ReplicaSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} } |
| 152 | |
| 153 | func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} } |
| 154 | func (*ReplicaSetSpec) ProtoMessage() {} |
| 155 | func (*ReplicaSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} } |
| 156 | |
| 157 | func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} } |
| 158 | func (*ReplicaSetStatus) ProtoMessage() {} |
| 159 | func (*ReplicaSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} } |
| 160 | |
| 161 | func (m *RollingUpdateDaemonSet) Reset() { *m = RollingUpdateDaemonSet{} } |
| 162 | func (*RollingUpdateDaemonSet) ProtoMessage() {} |
| 163 | func (*RollingUpdateDaemonSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} } |
| 164 | |
| 165 | func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} } |
| 166 | func (*RollingUpdateDeployment) ProtoMessage() {} |
| 167 | func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) { |
| 168 | return fileDescriptorGenerated, []int{20} |
| 169 | } |
| 170 | |
| 171 | func (m *RollingUpdateStatefulSetStrategy) Reset() { *m = RollingUpdateStatefulSetStrategy{} } |
| 172 | func (*RollingUpdateStatefulSetStrategy) ProtoMessage() {} |
| 173 | func (*RollingUpdateStatefulSetStrategy) Descriptor() ([]byte, []int) { |
| 174 | return fileDescriptorGenerated, []int{21} |
| 175 | } |
| 176 | |
| 177 | func (m *StatefulSet) Reset() { *m = StatefulSet{} } |
| 178 | func (*StatefulSet) ProtoMessage() {} |
| 179 | func (*StatefulSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} } |
| 180 | |
| 181 | func (m *StatefulSetCondition) Reset() { *m = StatefulSetCondition{} } |
| 182 | func (*StatefulSetCondition) ProtoMessage() {} |
| 183 | func (*StatefulSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} } |
| 184 | |
| 185 | func (m *StatefulSetList) Reset() { *m = StatefulSetList{} } |
| 186 | func (*StatefulSetList) ProtoMessage() {} |
| 187 | func (*StatefulSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} } |
| 188 | |
| 189 | func (m *StatefulSetSpec) Reset() { *m = StatefulSetSpec{} } |
| 190 | func (*StatefulSetSpec) ProtoMessage() {} |
| 191 | func (*StatefulSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} } |
| 192 | |
| 193 | func (m *StatefulSetStatus) Reset() { *m = StatefulSetStatus{} } |
| 194 | func (*StatefulSetStatus) ProtoMessage() {} |
| 195 | func (*StatefulSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} } |
| 196 | |
| 197 | func (m *StatefulSetUpdateStrategy) Reset() { *m = StatefulSetUpdateStrategy{} } |
| 198 | func (*StatefulSetUpdateStrategy) ProtoMessage() {} |
| 199 | func (*StatefulSetUpdateStrategy) Descriptor() ([]byte, []int) { |
| 200 | return fileDescriptorGenerated, []int{27} |
| 201 | } |
| 202 | |
| 203 | func init() { |
| 204 | proto.RegisterType((*ControllerRevision)(nil), "k8s.io.api.apps.v1.ControllerRevision") |
| 205 | proto.RegisterType((*ControllerRevisionList)(nil), "k8s.io.api.apps.v1.ControllerRevisionList") |
| 206 | proto.RegisterType((*DaemonSet)(nil), "k8s.io.api.apps.v1.DaemonSet") |
| 207 | proto.RegisterType((*DaemonSetCondition)(nil), "k8s.io.api.apps.v1.DaemonSetCondition") |
| 208 | proto.RegisterType((*DaemonSetList)(nil), "k8s.io.api.apps.v1.DaemonSetList") |
| 209 | proto.RegisterType((*DaemonSetSpec)(nil), "k8s.io.api.apps.v1.DaemonSetSpec") |
| 210 | proto.RegisterType((*DaemonSetStatus)(nil), "k8s.io.api.apps.v1.DaemonSetStatus") |
| 211 | proto.RegisterType((*DaemonSetUpdateStrategy)(nil), "k8s.io.api.apps.v1.DaemonSetUpdateStrategy") |
| 212 | proto.RegisterType((*Deployment)(nil), "k8s.io.api.apps.v1.Deployment") |
| 213 | proto.RegisterType((*DeploymentCondition)(nil), "k8s.io.api.apps.v1.DeploymentCondition") |
| 214 | proto.RegisterType((*DeploymentList)(nil), "k8s.io.api.apps.v1.DeploymentList") |
| 215 | proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.api.apps.v1.DeploymentSpec") |
| 216 | proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.api.apps.v1.DeploymentStatus") |
| 217 | proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.api.apps.v1.DeploymentStrategy") |
| 218 | proto.RegisterType((*ReplicaSet)(nil), "k8s.io.api.apps.v1.ReplicaSet") |
| 219 | proto.RegisterType((*ReplicaSetCondition)(nil), "k8s.io.api.apps.v1.ReplicaSetCondition") |
| 220 | proto.RegisterType((*ReplicaSetList)(nil), "k8s.io.api.apps.v1.ReplicaSetList") |
| 221 | proto.RegisterType((*ReplicaSetSpec)(nil), "k8s.io.api.apps.v1.ReplicaSetSpec") |
| 222 | proto.RegisterType((*ReplicaSetStatus)(nil), "k8s.io.api.apps.v1.ReplicaSetStatus") |
| 223 | proto.RegisterType((*RollingUpdateDaemonSet)(nil), "k8s.io.api.apps.v1.RollingUpdateDaemonSet") |
| 224 | proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.api.apps.v1.RollingUpdateDeployment") |
| 225 | proto.RegisterType((*RollingUpdateStatefulSetStrategy)(nil), "k8s.io.api.apps.v1.RollingUpdateStatefulSetStrategy") |
| 226 | proto.RegisterType((*StatefulSet)(nil), "k8s.io.api.apps.v1.StatefulSet") |
| 227 | proto.RegisterType((*StatefulSetCondition)(nil), "k8s.io.api.apps.v1.StatefulSetCondition") |
| 228 | proto.RegisterType((*StatefulSetList)(nil), "k8s.io.api.apps.v1.StatefulSetList") |
| 229 | proto.RegisterType((*StatefulSetSpec)(nil), "k8s.io.api.apps.v1.StatefulSetSpec") |
| 230 | proto.RegisterType((*StatefulSetStatus)(nil), "k8s.io.api.apps.v1.StatefulSetStatus") |
| 231 | proto.RegisterType((*StatefulSetUpdateStrategy)(nil), "k8s.io.api.apps.v1.StatefulSetUpdateStrategy") |
| 232 | } |
| 233 | func (m *ControllerRevision) Marshal() (dAtA []byte, err error) { |
| 234 | size := m.Size() |
| 235 | dAtA = make([]byte, size) |
| 236 | n, err := m.MarshalTo(dAtA) |
| 237 | if err != nil { |
| 238 | return nil, err |
| 239 | } |
| 240 | return dAtA[:n], nil |
| 241 | } |
| 242 | |
| 243 | func (m *ControllerRevision) MarshalTo(dAtA []byte) (int, error) { |
| 244 | var i int |
| 245 | _ = i |
| 246 | var l int |
| 247 | _ = l |
| 248 | dAtA[i] = 0xa |
| 249 | i++ |
| 250 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 251 | n1, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 252 | if err != nil { |
| 253 | return 0, err |
| 254 | } |
| 255 | i += n1 |
| 256 | dAtA[i] = 0x12 |
| 257 | i++ |
| 258 | i = encodeVarintGenerated(dAtA, i, uint64(m.Data.Size())) |
| 259 | n2, err := m.Data.MarshalTo(dAtA[i:]) |
| 260 | if err != nil { |
| 261 | return 0, err |
| 262 | } |
| 263 | i += n2 |
| 264 | dAtA[i] = 0x18 |
| 265 | i++ |
| 266 | i = encodeVarintGenerated(dAtA, i, uint64(m.Revision)) |
| 267 | return i, nil |
| 268 | } |
| 269 | |
| 270 | func (m *ControllerRevisionList) Marshal() (dAtA []byte, err error) { |
| 271 | size := m.Size() |
| 272 | dAtA = make([]byte, size) |
| 273 | n, err := m.MarshalTo(dAtA) |
| 274 | if err != nil { |
| 275 | return nil, err |
| 276 | } |
| 277 | return dAtA[:n], nil |
| 278 | } |
| 279 | |
| 280 | func (m *ControllerRevisionList) MarshalTo(dAtA []byte) (int, error) { |
| 281 | var i int |
| 282 | _ = i |
| 283 | var l int |
| 284 | _ = l |
| 285 | dAtA[i] = 0xa |
| 286 | i++ |
| 287 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 288 | n3, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 289 | if err != nil { |
| 290 | return 0, err |
| 291 | } |
| 292 | i += n3 |
| 293 | if len(m.Items) > 0 { |
| 294 | for _, msg := range m.Items { |
| 295 | dAtA[i] = 0x12 |
| 296 | i++ |
| 297 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 298 | n, err := msg.MarshalTo(dAtA[i:]) |
| 299 | if err != nil { |
| 300 | return 0, err |
| 301 | } |
| 302 | i += n |
| 303 | } |
| 304 | } |
| 305 | return i, nil |
| 306 | } |
| 307 | |
| 308 | func (m *DaemonSet) Marshal() (dAtA []byte, err error) { |
| 309 | size := m.Size() |
| 310 | dAtA = make([]byte, size) |
| 311 | n, err := m.MarshalTo(dAtA) |
| 312 | if err != nil { |
| 313 | return nil, err |
| 314 | } |
| 315 | return dAtA[:n], nil |
| 316 | } |
| 317 | |
| 318 | func (m *DaemonSet) MarshalTo(dAtA []byte) (int, error) { |
| 319 | var i int |
| 320 | _ = i |
| 321 | var l int |
| 322 | _ = l |
| 323 | dAtA[i] = 0xa |
| 324 | i++ |
| 325 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 326 | n4, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 327 | if err != nil { |
| 328 | return 0, err |
| 329 | } |
| 330 | i += n4 |
| 331 | dAtA[i] = 0x12 |
| 332 | i++ |
| 333 | i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size())) |
| 334 | n5, err := m.Spec.MarshalTo(dAtA[i:]) |
| 335 | if err != nil { |
| 336 | return 0, err |
| 337 | } |
| 338 | i += n5 |
| 339 | dAtA[i] = 0x1a |
| 340 | i++ |
| 341 | i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size())) |
| 342 | n6, err := m.Status.MarshalTo(dAtA[i:]) |
| 343 | if err != nil { |
| 344 | return 0, err |
| 345 | } |
| 346 | i += n6 |
| 347 | return i, nil |
| 348 | } |
| 349 | |
| 350 | func (m *DaemonSetCondition) Marshal() (dAtA []byte, err error) { |
| 351 | size := m.Size() |
| 352 | dAtA = make([]byte, size) |
| 353 | n, err := m.MarshalTo(dAtA) |
| 354 | if err != nil { |
| 355 | return nil, err |
| 356 | } |
| 357 | return dAtA[:n], nil |
| 358 | } |
| 359 | |
| 360 | func (m *DaemonSetCondition) MarshalTo(dAtA []byte) (int, error) { |
| 361 | var i int |
| 362 | _ = i |
| 363 | var l int |
| 364 | _ = l |
| 365 | dAtA[i] = 0xa |
| 366 | i++ |
| 367 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 368 | i += copy(dAtA[i:], m.Type) |
| 369 | dAtA[i] = 0x12 |
| 370 | i++ |
| 371 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status))) |
| 372 | i += copy(dAtA[i:], m.Status) |
| 373 | dAtA[i] = 0x1a |
| 374 | i++ |
| 375 | i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size())) |
| 376 | n7, err := m.LastTransitionTime.MarshalTo(dAtA[i:]) |
| 377 | if err != nil { |
| 378 | return 0, err |
| 379 | } |
| 380 | i += n7 |
| 381 | dAtA[i] = 0x22 |
| 382 | i++ |
| 383 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason))) |
| 384 | i += copy(dAtA[i:], m.Reason) |
| 385 | dAtA[i] = 0x2a |
| 386 | i++ |
| 387 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) |
| 388 | i += copy(dAtA[i:], m.Message) |
| 389 | return i, nil |
| 390 | } |
| 391 | |
| 392 | func (m *DaemonSetList) Marshal() (dAtA []byte, err error) { |
| 393 | size := m.Size() |
| 394 | dAtA = make([]byte, size) |
| 395 | n, err := m.MarshalTo(dAtA) |
| 396 | if err != nil { |
| 397 | return nil, err |
| 398 | } |
| 399 | return dAtA[:n], nil |
| 400 | } |
| 401 | |
| 402 | func (m *DaemonSetList) MarshalTo(dAtA []byte) (int, error) { |
| 403 | var i int |
| 404 | _ = i |
| 405 | var l int |
| 406 | _ = l |
| 407 | dAtA[i] = 0xa |
| 408 | i++ |
| 409 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 410 | n8, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 411 | if err != nil { |
| 412 | return 0, err |
| 413 | } |
| 414 | i += n8 |
| 415 | if len(m.Items) > 0 { |
| 416 | for _, msg := range m.Items { |
| 417 | dAtA[i] = 0x12 |
| 418 | i++ |
| 419 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 420 | n, err := msg.MarshalTo(dAtA[i:]) |
| 421 | if err != nil { |
| 422 | return 0, err |
| 423 | } |
| 424 | i += n |
| 425 | } |
| 426 | } |
| 427 | return i, nil |
| 428 | } |
| 429 | |
| 430 | func (m *DaemonSetSpec) Marshal() (dAtA []byte, err error) { |
| 431 | size := m.Size() |
| 432 | dAtA = make([]byte, size) |
| 433 | n, err := m.MarshalTo(dAtA) |
| 434 | if err != nil { |
| 435 | return nil, err |
| 436 | } |
| 437 | return dAtA[:n], nil |
| 438 | } |
| 439 | |
| 440 | func (m *DaemonSetSpec) MarshalTo(dAtA []byte) (int, error) { |
| 441 | var i int |
| 442 | _ = i |
| 443 | var l int |
| 444 | _ = l |
| 445 | if m.Selector != nil { |
| 446 | dAtA[i] = 0xa |
| 447 | i++ |
| 448 | i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size())) |
| 449 | n9, err := m.Selector.MarshalTo(dAtA[i:]) |
| 450 | if err != nil { |
| 451 | return 0, err |
| 452 | } |
| 453 | i += n9 |
| 454 | } |
| 455 | dAtA[i] = 0x12 |
| 456 | i++ |
| 457 | i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size())) |
| 458 | n10, err := m.Template.MarshalTo(dAtA[i:]) |
| 459 | if err != nil { |
| 460 | return 0, err |
| 461 | } |
| 462 | i += n10 |
| 463 | dAtA[i] = 0x1a |
| 464 | i++ |
| 465 | i = encodeVarintGenerated(dAtA, i, uint64(m.UpdateStrategy.Size())) |
| 466 | n11, err := m.UpdateStrategy.MarshalTo(dAtA[i:]) |
| 467 | if err != nil { |
| 468 | return 0, err |
| 469 | } |
| 470 | i += n11 |
| 471 | dAtA[i] = 0x20 |
| 472 | i++ |
| 473 | i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds)) |
| 474 | if m.RevisionHistoryLimit != nil { |
| 475 | dAtA[i] = 0x30 |
| 476 | i++ |
| 477 | i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit)) |
| 478 | } |
| 479 | return i, nil |
| 480 | } |
| 481 | |
| 482 | func (m *DaemonSetStatus) Marshal() (dAtA []byte, err error) { |
| 483 | size := m.Size() |
| 484 | dAtA = make([]byte, size) |
| 485 | n, err := m.MarshalTo(dAtA) |
| 486 | if err != nil { |
| 487 | return nil, err |
| 488 | } |
| 489 | return dAtA[:n], nil |
| 490 | } |
| 491 | |
| 492 | func (m *DaemonSetStatus) MarshalTo(dAtA []byte) (int, error) { |
| 493 | var i int |
| 494 | _ = i |
| 495 | var l int |
| 496 | _ = l |
| 497 | dAtA[i] = 0x8 |
| 498 | i++ |
| 499 | i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentNumberScheduled)) |
| 500 | dAtA[i] = 0x10 |
| 501 | i++ |
| 502 | i = encodeVarintGenerated(dAtA, i, uint64(m.NumberMisscheduled)) |
| 503 | dAtA[i] = 0x18 |
| 504 | i++ |
| 505 | i = encodeVarintGenerated(dAtA, i, uint64(m.DesiredNumberScheduled)) |
| 506 | dAtA[i] = 0x20 |
| 507 | i++ |
| 508 | i = encodeVarintGenerated(dAtA, i, uint64(m.NumberReady)) |
| 509 | dAtA[i] = 0x28 |
| 510 | i++ |
| 511 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration)) |
| 512 | dAtA[i] = 0x30 |
| 513 | i++ |
| 514 | i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedNumberScheduled)) |
| 515 | dAtA[i] = 0x38 |
| 516 | i++ |
| 517 | i = encodeVarintGenerated(dAtA, i, uint64(m.NumberAvailable)) |
| 518 | dAtA[i] = 0x40 |
| 519 | i++ |
| 520 | i = encodeVarintGenerated(dAtA, i, uint64(m.NumberUnavailable)) |
| 521 | if m.CollisionCount != nil { |
| 522 | dAtA[i] = 0x48 |
| 523 | i++ |
| 524 | i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount)) |
| 525 | } |
| 526 | if len(m.Conditions) > 0 { |
| 527 | for _, msg := range m.Conditions { |
| 528 | dAtA[i] = 0x52 |
| 529 | i++ |
| 530 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 531 | n, err := msg.MarshalTo(dAtA[i:]) |
| 532 | if err != nil { |
| 533 | return 0, err |
| 534 | } |
| 535 | i += n |
| 536 | } |
| 537 | } |
| 538 | return i, nil |
| 539 | } |
| 540 | |
| 541 | func (m *DaemonSetUpdateStrategy) Marshal() (dAtA []byte, err error) { |
| 542 | size := m.Size() |
| 543 | dAtA = make([]byte, size) |
| 544 | n, err := m.MarshalTo(dAtA) |
| 545 | if err != nil { |
| 546 | return nil, err |
| 547 | } |
| 548 | return dAtA[:n], nil |
| 549 | } |
| 550 | |
| 551 | func (m *DaemonSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error) { |
| 552 | var i int |
| 553 | _ = i |
| 554 | var l int |
| 555 | _ = l |
| 556 | dAtA[i] = 0xa |
| 557 | i++ |
| 558 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 559 | i += copy(dAtA[i:], m.Type) |
| 560 | if m.RollingUpdate != nil { |
| 561 | dAtA[i] = 0x12 |
| 562 | i++ |
| 563 | i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size())) |
| 564 | n12, err := m.RollingUpdate.MarshalTo(dAtA[i:]) |
| 565 | if err != nil { |
| 566 | return 0, err |
| 567 | } |
| 568 | i += n12 |
| 569 | } |
| 570 | return i, nil |
| 571 | } |
| 572 | |
| 573 | func (m *Deployment) Marshal() (dAtA []byte, err error) { |
| 574 | size := m.Size() |
| 575 | dAtA = make([]byte, size) |
| 576 | n, err := m.MarshalTo(dAtA) |
| 577 | if err != nil { |
| 578 | return nil, err |
| 579 | } |
| 580 | return dAtA[:n], nil |
| 581 | } |
| 582 | |
| 583 | func (m *Deployment) MarshalTo(dAtA []byte) (int, error) { |
| 584 | var i int |
| 585 | _ = i |
| 586 | var l int |
| 587 | _ = l |
| 588 | dAtA[i] = 0xa |
| 589 | i++ |
| 590 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 591 | n13, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 592 | if err != nil { |
| 593 | return 0, err |
| 594 | } |
| 595 | i += n13 |
| 596 | dAtA[i] = 0x12 |
| 597 | i++ |
| 598 | i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size())) |
| 599 | n14, err := m.Spec.MarshalTo(dAtA[i:]) |
| 600 | if err != nil { |
| 601 | return 0, err |
| 602 | } |
| 603 | i += n14 |
| 604 | dAtA[i] = 0x1a |
| 605 | i++ |
| 606 | i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size())) |
| 607 | n15, err := m.Status.MarshalTo(dAtA[i:]) |
| 608 | if err != nil { |
| 609 | return 0, err |
| 610 | } |
| 611 | i += n15 |
| 612 | return i, nil |
| 613 | } |
| 614 | |
| 615 | func (m *DeploymentCondition) 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 *DeploymentCondition) MarshalTo(dAtA []byte) (int, error) { |
| 626 | var i int |
| 627 | _ = i |
| 628 | var l int |
| 629 | _ = l |
| 630 | dAtA[i] = 0xa |
| 631 | i++ |
| 632 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 633 | i += copy(dAtA[i:], m.Type) |
| 634 | dAtA[i] = 0x12 |
| 635 | i++ |
| 636 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status))) |
| 637 | i += copy(dAtA[i:], m.Status) |
| 638 | dAtA[i] = 0x22 |
| 639 | i++ |
| 640 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason))) |
| 641 | i += copy(dAtA[i:], m.Reason) |
| 642 | dAtA[i] = 0x2a |
| 643 | i++ |
| 644 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) |
| 645 | i += copy(dAtA[i:], m.Message) |
| 646 | dAtA[i] = 0x32 |
| 647 | i++ |
| 648 | i = encodeVarintGenerated(dAtA, i, uint64(m.LastUpdateTime.Size())) |
| 649 | n16, err := m.LastUpdateTime.MarshalTo(dAtA[i:]) |
| 650 | if err != nil { |
| 651 | return 0, err |
| 652 | } |
| 653 | i += n16 |
| 654 | dAtA[i] = 0x3a |
| 655 | i++ |
| 656 | i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size())) |
| 657 | n17, err := m.LastTransitionTime.MarshalTo(dAtA[i:]) |
| 658 | if err != nil { |
| 659 | return 0, err |
| 660 | } |
| 661 | i += n17 |
| 662 | return i, nil |
| 663 | } |
| 664 | |
| 665 | func (m *DeploymentList) Marshal() (dAtA []byte, err error) { |
| 666 | size := m.Size() |
| 667 | dAtA = make([]byte, size) |
| 668 | n, err := m.MarshalTo(dAtA) |
| 669 | if err != nil { |
| 670 | return nil, err |
| 671 | } |
| 672 | return dAtA[:n], nil |
| 673 | } |
| 674 | |
| 675 | func (m *DeploymentList) MarshalTo(dAtA []byte) (int, error) { |
| 676 | var i int |
| 677 | _ = i |
| 678 | var l int |
| 679 | _ = l |
| 680 | dAtA[i] = 0xa |
| 681 | i++ |
| 682 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 683 | n18, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 684 | if err != nil { |
| 685 | return 0, err |
| 686 | } |
| 687 | i += n18 |
| 688 | if len(m.Items) > 0 { |
| 689 | for _, msg := range m.Items { |
| 690 | dAtA[i] = 0x12 |
| 691 | i++ |
| 692 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 693 | n, err := msg.MarshalTo(dAtA[i:]) |
| 694 | if err != nil { |
| 695 | return 0, err |
| 696 | } |
| 697 | i += n |
| 698 | } |
| 699 | } |
| 700 | return i, nil |
| 701 | } |
| 702 | |
| 703 | func (m *DeploymentSpec) Marshal() (dAtA []byte, err error) { |
| 704 | size := m.Size() |
| 705 | dAtA = make([]byte, size) |
| 706 | n, err := m.MarshalTo(dAtA) |
| 707 | if err != nil { |
| 708 | return nil, err |
| 709 | } |
| 710 | return dAtA[:n], nil |
| 711 | } |
| 712 | |
| 713 | func (m *DeploymentSpec) MarshalTo(dAtA []byte) (int, error) { |
| 714 | var i int |
| 715 | _ = i |
| 716 | var l int |
| 717 | _ = l |
| 718 | if m.Replicas != nil { |
| 719 | dAtA[i] = 0x8 |
| 720 | i++ |
| 721 | i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas)) |
| 722 | } |
| 723 | if m.Selector != nil { |
| 724 | dAtA[i] = 0x12 |
| 725 | i++ |
| 726 | i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size())) |
| 727 | n19, err := m.Selector.MarshalTo(dAtA[i:]) |
| 728 | if err != nil { |
| 729 | return 0, err |
| 730 | } |
| 731 | i += n19 |
| 732 | } |
| 733 | dAtA[i] = 0x1a |
| 734 | i++ |
| 735 | i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size())) |
| 736 | n20, err := m.Template.MarshalTo(dAtA[i:]) |
| 737 | if err != nil { |
| 738 | return 0, err |
| 739 | } |
| 740 | i += n20 |
| 741 | dAtA[i] = 0x22 |
| 742 | i++ |
| 743 | i = encodeVarintGenerated(dAtA, i, uint64(m.Strategy.Size())) |
| 744 | n21, err := m.Strategy.MarshalTo(dAtA[i:]) |
| 745 | if err != nil { |
| 746 | return 0, err |
| 747 | } |
| 748 | i += n21 |
| 749 | dAtA[i] = 0x28 |
| 750 | i++ |
| 751 | i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds)) |
| 752 | if m.RevisionHistoryLimit != nil { |
| 753 | dAtA[i] = 0x30 |
| 754 | i++ |
| 755 | i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit)) |
| 756 | } |
| 757 | dAtA[i] = 0x38 |
| 758 | i++ |
| 759 | if m.Paused { |
| 760 | dAtA[i] = 1 |
| 761 | } else { |
| 762 | dAtA[i] = 0 |
| 763 | } |
| 764 | i++ |
| 765 | if m.ProgressDeadlineSeconds != nil { |
| 766 | dAtA[i] = 0x48 |
| 767 | i++ |
| 768 | i = encodeVarintGenerated(dAtA, i, uint64(*m.ProgressDeadlineSeconds)) |
| 769 | } |
| 770 | return i, nil |
| 771 | } |
| 772 | |
| 773 | func (m *DeploymentStatus) Marshal() (dAtA []byte, err error) { |
| 774 | size := m.Size() |
| 775 | dAtA = make([]byte, size) |
| 776 | n, err := m.MarshalTo(dAtA) |
| 777 | if err != nil { |
| 778 | return nil, err |
| 779 | } |
| 780 | return dAtA[:n], nil |
| 781 | } |
| 782 | |
| 783 | func (m *DeploymentStatus) MarshalTo(dAtA []byte) (int, error) { |
| 784 | var i int |
| 785 | _ = i |
| 786 | var l int |
| 787 | _ = l |
| 788 | dAtA[i] = 0x8 |
| 789 | i++ |
| 790 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration)) |
| 791 | dAtA[i] = 0x10 |
| 792 | i++ |
| 793 | i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas)) |
| 794 | dAtA[i] = 0x18 |
| 795 | i++ |
| 796 | i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas)) |
| 797 | dAtA[i] = 0x20 |
| 798 | i++ |
| 799 | i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas)) |
| 800 | dAtA[i] = 0x28 |
| 801 | i++ |
| 802 | i = encodeVarintGenerated(dAtA, i, uint64(m.UnavailableReplicas)) |
| 803 | if len(m.Conditions) > 0 { |
| 804 | for _, msg := range m.Conditions { |
| 805 | dAtA[i] = 0x32 |
| 806 | i++ |
| 807 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 808 | n, err := msg.MarshalTo(dAtA[i:]) |
| 809 | if err != nil { |
| 810 | return 0, err |
| 811 | } |
| 812 | i += n |
| 813 | } |
| 814 | } |
| 815 | dAtA[i] = 0x38 |
| 816 | i++ |
| 817 | i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas)) |
| 818 | if m.CollisionCount != nil { |
| 819 | dAtA[i] = 0x40 |
| 820 | i++ |
| 821 | i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount)) |
| 822 | } |
| 823 | return i, nil |
| 824 | } |
| 825 | |
| 826 | func (m *DeploymentStrategy) Marshal() (dAtA []byte, err error) { |
| 827 | size := m.Size() |
| 828 | dAtA = make([]byte, size) |
| 829 | n, err := m.MarshalTo(dAtA) |
| 830 | if err != nil { |
| 831 | return nil, err |
| 832 | } |
| 833 | return dAtA[:n], nil |
| 834 | } |
| 835 | |
| 836 | func (m *DeploymentStrategy) MarshalTo(dAtA []byte) (int, error) { |
| 837 | var i int |
| 838 | _ = i |
| 839 | var l int |
| 840 | _ = l |
| 841 | dAtA[i] = 0xa |
| 842 | i++ |
| 843 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 844 | i += copy(dAtA[i:], m.Type) |
| 845 | if m.RollingUpdate != nil { |
| 846 | dAtA[i] = 0x12 |
| 847 | i++ |
| 848 | i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size())) |
| 849 | n22, err := m.RollingUpdate.MarshalTo(dAtA[i:]) |
| 850 | if err != nil { |
| 851 | return 0, err |
| 852 | } |
| 853 | i += n22 |
| 854 | } |
| 855 | return i, nil |
| 856 | } |
| 857 | |
| 858 | func (m *ReplicaSet) Marshal() (dAtA []byte, err error) { |
| 859 | size := m.Size() |
| 860 | dAtA = make([]byte, size) |
| 861 | n, err := m.MarshalTo(dAtA) |
| 862 | if err != nil { |
| 863 | return nil, err |
| 864 | } |
| 865 | return dAtA[:n], nil |
| 866 | } |
| 867 | |
| 868 | func (m *ReplicaSet) MarshalTo(dAtA []byte) (int, error) { |
| 869 | var i int |
| 870 | _ = i |
| 871 | var l int |
| 872 | _ = l |
| 873 | dAtA[i] = 0xa |
| 874 | i++ |
| 875 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 876 | n23, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 877 | if err != nil { |
| 878 | return 0, err |
| 879 | } |
| 880 | i += n23 |
| 881 | dAtA[i] = 0x12 |
| 882 | i++ |
| 883 | i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size())) |
| 884 | n24, err := m.Spec.MarshalTo(dAtA[i:]) |
| 885 | if err != nil { |
| 886 | return 0, err |
| 887 | } |
| 888 | i += n24 |
| 889 | dAtA[i] = 0x1a |
| 890 | i++ |
| 891 | i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size())) |
| 892 | n25, err := m.Status.MarshalTo(dAtA[i:]) |
| 893 | if err != nil { |
| 894 | return 0, err |
| 895 | } |
| 896 | i += n25 |
| 897 | return i, nil |
| 898 | } |
| 899 | |
| 900 | func (m *ReplicaSetCondition) Marshal() (dAtA []byte, err error) { |
| 901 | size := m.Size() |
| 902 | dAtA = make([]byte, size) |
| 903 | n, err := m.MarshalTo(dAtA) |
| 904 | if err != nil { |
| 905 | return nil, err |
| 906 | } |
| 907 | return dAtA[:n], nil |
| 908 | } |
| 909 | |
| 910 | func (m *ReplicaSetCondition) MarshalTo(dAtA []byte) (int, error) { |
| 911 | var i int |
| 912 | _ = i |
| 913 | var l int |
| 914 | _ = l |
| 915 | dAtA[i] = 0xa |
| 916 | i++ |
| 917 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 918 | i += copy(dAtA[i:], m.Type) |
| 919 | dAtA[i] = 0x12 |
| 920 | i++ |
| 921 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status))) |
| 922 | i += copy(dAtA[i:], m.Status) |
| 923 | dAtA[i] = 0x1a |
| 924 | i++ |
| 925 | i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size())) |
| 926 | n26, err := m.LastTransitionTime.MarshalTo(dAtA[i:]) |
| 927 | if err != nil { |
| 928 | return 0, err |
| 929 | } |
| 930 | i += n26 |
| 931 | dAtA[i] = 0x22 |
| 932 | i++ |
| 933 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason))) |
| 934 | i += copy(dAtA[i:], m.Reason) |
| 935 | dAtA[i] = 0x2a |
| 936 | i++ |
| 937 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) |
| 938 | i += copy(dAtA[i:], m.Message) |
| 939 | return i, nil |
| 940 | } |
| 941 | |
| 942 | func (m *ReplicaSetList) Marshal() (dAtA []byte, err error) { |
| 943 | size := m.Size() |
| 944 | dAtA = make([]byte, size) |
| 945 | n, err := m.MarshalTo(dAtA) |
| 946 | if err != nil { |
| 947 | return nil, err |
| 948 | } |
| 949 | return dAtA[:n], nil |
| 950 | } |
| 951 | |
| 952 | func (m *ReplicaSetList) MarshalTo(dAtA []byte) (int, error) { |
| 953 | var i int |
| 954 | _ = i |
| 955 | var l int |
| 956 | _ = l |
| 957 | dAtA[i] = 0xa |
| 958 | i++ |
| 959 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 960 | n27, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 961 | if err != nil { |
| 962 | return 0, err |
| 963 | } |
| 964 | i += n27 |
| 965 | if len(m.Items) > 0 { |
| 966 | for _, msg := range m.Items { |
| 967 | dAtA[i] = 0x12 |
| 968 | i++ |
| 969 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 970 | n, err := msg.MarshalTo(dAtA[i:]) |
| 971 | if err != nil { |
| 972 | return 0, err |
| 973 | } |
| 974 | i += n |
| 975 | } |
| 976 | } |
| 977 | return i, nil |
| 978 | } |
| 979 | |
| 980 | func (m *ReplicaSetSpec) Marshal() (dAtA []byte, err error) { |
| 981 | size := m.Size() |
| 982 | dAtA = make([]byte, size) |
| 983 | n, err := m.MarshalTo(dAtA) |
| 984 | if err != nil { |
| 985 | return nil, err |
| 986 | } |
| 987 | return dAtA[:n], nil |
| 988 | } |
| 989 | |
| 990 | func (m *ReplicaSetSpec) MarshalTo(dAtA []byte) (int, error) { |
| 991 | var i int |
| 992 | _ = i |
| 993 | var l int |
| 994 | _ = l |
| 995 | if m.Replicas != nil { |
| 996 | dAtA[i] = 0x8 |
| 997 | i++ |
| 998 | i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas)) |
| 999 | } |
| 1000 | if m.Selector != nil { |
| 1001 | dAtA[i] = 0x12 |
| 1002 | i++ |
| 1003 | i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size())) |
| 1004 | n28, err := m.Selector.MarshalTo(dAtA[i:]) |
| 1005 | if err != nil { |
| 1006 | return 0, err |
| 1007 | } |
| 1008 | i += n28 |
| 1009 | } |
| 1010 | dAtA[i] = 0x1a |
| 1011 | i++ |
| 1012 | i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size())) |
| 1013 | n29, err := m.Template.MarshalTo(dAtA[i:]) |
| 1014 | if err != nil { |
| 1015 | return 0, err |
| 1016 | } |
| 1017 | i += n29 |
| 1018 | dAtA[i] = 0x20 |
| 1019 | i++ |
| 1020 | i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds)) |
| 1021 | return i, nil |
| 1022 | } |
| 1023 | |
| 1024 | func (m *ReplicaSetStatus) Marshal() (dAtA []byte, err error) { |
| 1025 | size := m.Size() |
| 1026 | dAtA = make([]byte, size) |
| 1027 | n, err := m.MarshalTo(dAtA) |
| 1028 | if err != nil { |
| 1029 | return nil, err |
| 1030 | } |
| 1031 | return dAtA[:n], nil |
| 1032 | } |
| 1033 | |
| 1034 | func (m *ReplicaSetStatus) MarshalTo(dAtA []byte) (int, error) { |
| 1035 | var i int |
| 1036 | _ = i |
| 1037 | var l int |
| 1038 | _ = l |
| 1039 | dAtA[i] = 0x8 |
| 1040 | i++ |
| 1041 | i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas)) |
| 1042 | dAtA[i] = 0x10 |
| 1043 | i++ |
| 1044 | i = encodeVarintGenerated(dAtA, i, uint64(m.FullyLabeledReplicas)) |
| 1045 | dAtA[i] = 0x18 |
| 1046 | i++ |
| 1047 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration)) |
| 1048 | dAtA[i] = 0x20 |
| 1049 | i++ |
| 1050 | i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas)) |
| 1051 | dAtA[i] = 0x28 |
| 1052 | i++ |
| 1053 | i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas)) |
| 1054 | if len(m.Conditions) > 0 { |
| 1055 | for _, msg := range m.Conditions { |
| 1056 | dAtA[i] = 0x32 |
| 1057 | i++ |
| 1058 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1059 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1060 | if err != nil { |
| 1061 | return 0, err |
| 1062 | } |
| 1063 | i += n |
| 1064 | } |
| 1065 | } |
| 1066 | return i, nil |
| 1067 | } |
| 1068 | |
| 1069 | func (m *RollingUpdateDaemonSet) Marshal() (dAtA []byte, err error) { |
| 1070 | size := m.Size() |
| 1071 | dAtA = make([]byte, size) |
| 1072 | n, err := m.MarshalTo(dAtA) |
| 1073 | if err != nil { |
| 1074 | return nil, err |
| 1075 | } |
| 1076 | return dAtA[:n], nil |
| 1077 | } |
| 1078 | |
| 1079 | func (m *RollingUpdateDaemonSet) MarshalTo(dAtA []byte) (int, error) { |
| 1080 | var i int |
| 1081 | _ = i |
| 1082 | var l int |
| 1083 | _ = l |
| 1084 | if m.MaxUnavailable != nil { |
| 1085 | dAtA[i] = 0xa |
| 1086 | i++ |
| 1087 | i = encodeVarintGenerated(dAtA, i, uint64(m.MaxUnavailable.Size())) |
| 1088 | n30, err := m.MaxUnavailable.MarshalTo(dAtA[i:]) |
| 1089 | if err != nil { |
| 1090 | return 0, err |
| 1091 | } |
| 1092 | i += n30 |
| 1093 | } |
| 1094 | return i, nil |
| 1095 | } |
| 1096 | |
| 1097 | func (m *RollingUpdateDeployment) Marshal() (dAtA []byte, err error) { |
| 1098 | size := m.Size() |
| 1099 | dAtA = make([]byte, size) |
| 1100 | n, err := m.MarshalTo(dAtA) |
| 1101 | if err != nil { |
| 1102 | return nil, err |
| 1103 | } |
| 1104 | return dAtA[:n], nil |
| 1105 | } |
| 1106 | |
| 1107 | func (m *RollingUpdateDeployment) MarshalTo(dAtA []byte) (int, error) { |
| 1108 | var i int |
| 1109 | _ = i |
| 1110 | var l int |
| 1111 | _ = l |
| 1112 | if m.MaxUnavailable != nil { |
| 1113 | dAtA[i] = 0xa |
| 1114 | i++ |
| 1115 | i = encodeVarintGenerated(dAtA, i, uint64(m.MaxUnavailable.Size())) |
| 1116 | n31, err := m.MaxUnavailable.MarshalTo(dAtA[i:]) |
| 1117 | if err != nil { |
| 1118 | return 0, err |
| 1119 | } |
| 1120 | i += n31 |
| 1121 | } |
| 1122 | if m.MaxSurge != nil { |
| 1123 | dAtA[i] = 0x12 |
| 1124 | i++ |
| 1125 | i = encodeVarintGenerated(dAtA, i, uint64(m.MaxSurge.Size())) |
| 1126 | n32, err := m.MaxSurge.MarshalTo(dAtA[i:]) |
| 1127 | if err != nil { |
| 1128 | return 0, err |
| 1129 | } |
| 1130 | i += n32 |
| 1131 | } |
| 1132 | return i, nil |
| 1133 | } |
| 1134 | |
| 1135 | func (m *RollingUpdateStatefulSetStrategy) Marshal() (dAtA []byte, err error) { |
| 1136 | size := m.Size() |
| 1137 | dAtA = make([]byte, size) |
| 1138 | n, err := m.MarshalTo(dAtA) |
| 1139 | if err != nil { |
| 1140 | return nil, err |
| 1141 | } |
| 1142 | return dAtA[:n], nil |
| 1143 | } |
| 1144 | |
| 1145 | func (m *RollingUpdateStatefulSetStrategy) MarshalTo(dAtA []byte) (int, error) { |
| 1146 | var i int |
| 1147 | _ = i |
| 1148 | var l int |
| 1149 | _ = l |
| 1150 | if m.Partition != nil { |
| 1151 | dAtA[i] = 0x8 |
| 1152 | i++ |
| 1153 | i = encodeVarintGenerated(dAtA, i, uint64(*m.Partition)) |
| 1154 | } |
| 1155 | return i, nil |
| 1156 | } |
| 1157 | |
| 1158 | func (m *StatefulSet) Marshal() (dAtA []byte, err error) { |
| 1159 | size := m.Size() |
| 1160 | dAtA = make([]byte, size) |
| 1161 | n, err := m.MarshalTo(dAtA) |
| 1162 | if err != nil { |
| 1163 | return nil, err |
| 1164 | } |
| 1165 | return dAtA[:n], nil |
| 1166 | } |
| 1167 | |
| 1168 | func (m *StatefulSet) MarshalTo(dAtA []byte) (int, error) { |
| 1169 | var i int |
| 1170 | _ = i |
| 1171 | var l int |
| 1172 | _ = l |
| 1173 | dAtA[i] = 0xa |
| 1174 | i++ |
| 1175 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 1176 | n33, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 1177 | if err != nil { |
| 1178 | return 0, err |
| 1179 | } |
| 1180 | i += n33 |
| 1181 | dAtA[i] = 0x12 |
| 1182 | i++ |
| 1183 | i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size())) |
| 1184 | n34, err := m.Spec.MarshalTo(dAtA[i:]) |
| 1185 | if err != nil { |
| 1186 | return 0, err |
| 1187 | } |
| 1188 | i += n34 |
| 1189 | dAtA[i] = 0x1a |
| 1190 | i++ |
| 1191 | i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size())) |
| 1192 | n35, err := m.Status.MarshalTo(dAtA[i:]) |
| 1193 | if err != nil { |
| 1194 | return 0, err |
| 1195 | } |
| 1196 | i += n35 |
| 1197 | return i, nil |
| 1198 | } |
| 1199 | |
| 1200 | func (m *StatefulSetCondition) Marshal() (dAtA []byte, err error) { |
| 1201 | size := m.Size() |
| 1202 | dAtA = make([]byte, size) |
| 1203 | n, err := m.MarshalTo(dAtA) |
| 1204 | if err != nil { |
| 1205 | return nil, err |
| 1206 | } |
| 1207 | return dAtA[:n], nil |
| 1208 | } |
| 1209 | |
| 1210 | func (m *StatefulSetCondition) MarshalTo(dAtA []byte) (int, error) { |
| 1211 | var i int |
| 1212 | _ = i |
| 1213 | var l int |
| 1214 | _ = l |
| 1215 | dAtA[i] = 0xa |
| 1216 | i++ |
| 1217 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 1218 | i += copy(dAtA[i:], m.Type) |
| 1219 | dAtA[i] = 0x12 |
| 1220 | i++ |
| 1221 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status))) |
| 1222 | i += copy(dAtA[i:], m.Status) |
| 1223 | dAtA[i] = 0x1a |
| 1224 | i++ |
| 1225 | i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size())) |
| 1226 | n36, err := m.LastTransitionTime.MarshalTo(dAtA[i:]) |
| 1227 | if err != nil { |
| 1228 | return 0, err |
| 1229 | } |
| 1230 | i += n36 |
| 1231 | dAtA[i] = 0x22 |
| 1232 | i++ |
| 1233 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason))) |
| 1234 | i += copy(dAtA[i:], m.Reason) |
| 1235 | dAtA[i] = 0x2a |
| 1236 | i++ |
| 1237 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) |
| 1238 | i += copy(dAtA[i:], m.Message) |
| 1239 | return i, nil |
| 1240 | } |
| 1241 | |
| 1242 | func (m *StatefulSetList) Marshal() (dAtA []byte, err error) { |
| 1243 | size := m.Size() |
| 1244 | dAtA = make([]byte, size) |
| 1245 | n, err := m.MarshalTo(dAtA) |
| 1246 | if err != nil { |
| 1247 | return nil, err |
| 1248 | } |
| 1249 | return dAtA[:n], nil |
| 1250 | } |
| 1251 | |
| 1252 | func (m *StatefulSetList) MarshalTo(dAtA []byte) (int, error) { |
| 1253 | var i int |
| 1254 | _ = i |
| 1255 | var l int |
| 1256 | _ = l |
| 1257 | dAtA[i] = 0xa |
| 1258 | i++ |
| 1259 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 1260 | n37, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 1261 | if err != nil { |
| 1262 | return 0, err |
| 1263 | } |
| 1264 | i += n37 |
| 1265 | if len(m.Items) > 0 { |
| 1266 | for _, msg := range m.Items { |
| 1267 | dAtA[i] = 0x12 |
| 1268 | i++ |
| 1269 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1270 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1271 | if err != nil { |
| 1272 | return 0, err |
| 1273 | } |
| 1274 | i += n |
| 1275 | } |
| 1276 | } |
| 1277 | return i, nil |
| 1278 | } |
| 1279 | |
| 1280 | func (m *StatefulSetSpec) Marshal() (dAtA []byte, err error) { |
| 1281 | size := m.Size() |
| 1282 | dAtA = make([]byte, size) |
| 1283 | n, err := m.MarshalTo(dAtA) |
| 1284 | if err != nil { |
| 1285 | return nil, err |
| 1286 | } |
| 1287 | return dAtA[:n], nil |
| 1288 | } |
| 1289 | |
| 1290 | func (m *StatefulSetSpec) MarshalTo(dAtA []byte) (int, error) { |
| 1291 | var i int |
| 1292 | _ = i |
| 1293 | var l int |
| 1294 | _ = l |
| 1295 | if m.Replicas != nil { |
| 1296 | dAtA[i] = 0x8 |
| 1297 | i++ |
| 1298 | i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas)) |
| 1299 | } |
| 1300 | if m.Selector != nil { |
| 1301 | dAtA[i] = 0x12 |
| 1302 | i++ |
| 1303 | i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size())) |
| 1304 | n38, err := m.Selector.MarshalTo(dAtA[i:]) |
| 1305 | if err != nil { |
| 1306 | return 0, err |
| 1307 | } |
| 1308 | i += n38 |
| 1309 | } |
| 1310 | dAtA[i] = 0x1a |
| 1311 | i++ |
| 1312 | i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size())) |
| 1313 | n39, err := m.Template.MarshalTo(dAtA[i:]) |
| 1314 | if err != nil { |
| 1315 | return 0, err |
| 1316 | } |
| 1317 | i += n39 |
| 1318 | if len(m.VolumeClaimTemplates) > 0 { |
| 1319 | for _, msg := range m.VolumeClaimTemplates { |
| 1320 | dAtA[i] = 0x22 |
| 1321 | i++ |
| 1322 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1323 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1324 | if err != nil { |
| 1325 | return 0, err |
| 1326 | } |
| 1327 | i += n |
| 1328 | } |
| 1329 | } |
| 1330 | dAtA[i] = 0x2a |
| 1331 | i++ |
| 1332 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServiceName))) |
| 1333 | i += copy(dAtA[i:], m.ServiceName) |
| 1334 | dAtA[i] = 0x32 |
| 1335 | i++ |
| 1336 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.PodManagementPolicy))) |
| 1337 | i += copy(dAtA[i:], m.PodManagementPolicy) |
| 1338 | dAtA[i] = 0x3a |
| 1339 | i++ |
| 1340 | i = encodeVarintGenerated(dAtA, i, uint64(m.UpdateStrategy.Size())) |
| 1341 | n40, err := m.UpdateStrategy.MarshalTo(dAtA[i:]) |
| 1342 | if err != nil { |
| 1343 | return 0, err |
| 1344 | } |
| 1345 | i += n40 |
| 1346 | if m.RevisionHistoryLimit != nil { |
| 1347 | dAtA[i] = 0x40 |
| 1348 | i++ |
| 1349 | i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit)) |
| 1350 | } |
| 1351 | return i, nil |
| 1352 | } |
| 1353 | |
| 1354 | func (m *StatefulSetStatus) Marshal() (dAtA []byte, err error) { |
| 1355 | size := m.Size() |
| 1356 | dAtA = make([]byte, size) |
| 1357 | n, err := m.MarshalTo(dAtA) |
| 1358 | if err != nil { |
| 1359 | return nil, err |
| 1360 | } |
| 1361 | return dAtA[:n], nil |
| 1362 | } |
| 1363 | |
| 1364 | func (m *StatefulSetStatus) MarshalTo(dAtA []byte) (int, error) { |
| 1365 | var i int |
| 1366 | _ = i |
| 1367 | var l int |
| 1368 | _ = l |
| 1369 | dAtA[i] = 0x8 |
| 1370 | i++ |
| 1371 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration)) |
| 1372 | dAtA[i] = 0x10 |
| 1373 | i++ |
| 1374 | i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas)) |
| 1375 | dAtA[i] = 0x18 |
| 1376 | i++ |
| 1377 | i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas)) |
| 1378 | dAtA[i] = 0x20 |
| 1379 | i++ |
| 1380 | i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentReplicas)) |
| 1381 | dAtA[i] = 0x28 |
| 1382 | i++ |
| 1383 | i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas)) |
| 1384 | dAtA[i] = 0x32 |
| 1385 | i++ |
| 1386 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.CurrentRevision))) |
| 1387 | i += copy(dAtA[i:], m.CurrentRevision) |
| 1388 | dAtA[i] = 0x3a |
| 1389 | i++ |
| 1390 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.UpdateRevision))) |
| 1391 | i += copy(dAtA[i:], m.UpdateRevision) |
| 1392 | if m.CollisionCount != nil { |
| 1393 | dAtA[i] = 0x48 |
| 1394 | i++ |
| 1395 | i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount)) |
| 1396 | } |
| 1397 | if len(m.Conditions) > 0 { |
| 1398 | for _, msg := range m.Conditions { |
| 1399 | dAtA[i] = 0x52 |
| 1400 | i++ |
| 1401 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 1402 | n, err := msg.MarshalTo(dAtA[i:]) |
| 1403 | if err != nil { |
| 1404 | return 0, err |
| 1405 | } |
| 1406 | i += n |
| 1407 | } |
| 1408 | } |
| 1409 | return i, nil |
| 1410 | } |
| 1411 | |
| 1412 | func (m *StatefulSetUpdateStrategy) Marshal() (dAtA []byte, err error) { |
| 1413 | size := m.Size() |
| 1414 | dAtA = make([]byte, size) |
| 1415 | n, err := m.MarshalTo(dAtA) |
| 1416 | if err != nil { |
| 1417 | return nil, err |
| 1418 | } |
| 1419 | return dAtA[:n], nil |
| 1420 | } |
| 1421 | |
| 1422 | func (m *StatefulSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error) { |
| 1423 | var i int |
| 1424 | _ = i |
| 1425 | var l int |
| 1426 | _ = l |
| 1427 | dAtA[i] = 0xa |
| 1428 | i++ |
| 1429 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 1430 | i += copy(dAtA[i:], m.Type) |
| 1431 | if m.RollingUpdate != nil { |
| 1432 | dAtA[i] = 0x12 |
| 1433 | i++ |
| 1434 | i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size())) |
| 1435 | n41, err := m.RollingUpdate.MarshalTo(dAtA[i:]) |
| 1436 | if err != nil { |
| 1437 | return 0, err |
| 1438 | } |
| 1439 | i += n41 |
| 1440 | } |
| 1441 | return i, nil |
| 1442 | } |
| 1443 | |
| 1444 | func encodeFixed64Generated(dAtA []byte, offset int, v uint64) int { |
| 1445 | dAtA[offset] = uint8(v) |
| 1446 | dAtA[offset+1] = uint8(v >> 8) |
| 1447 | dAtA[offset+2] = uint8(v >> 16) |
| 1448 | dAtA[offset+3] = uint8(v >> 24) |
| 1449 | dAtA[offset+4] = uint8(v >> 32) |
| 1450 | dAtA[offset+5] = uint8(v >> 40) |
| 1451 | dAtA[offset+6] = uint8(v >> 48) |
| 1452 | dAtA[offset+7] = uint8(v >> 56) |
| 1453 | return offset + 8 |
| 1454 | } |
| 1455 | func encodeFixed32Generated(dAtA []byte, offset int, v uint32) int { |
| 1456 | dAtA[offset] = uint8(v) |
| 1457 | dAtA[offset+1] = uint8(v >> 8) |
| 1458 | dAtA[offset+2] = uint8(v >> 16) |
| 1459 | dAtA[offset+3] = uint8(v >> 24) |
| 1460 | return offset + 4 |
| 1461 | } |
| 1462 | func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int { |
| 1463 | for v >= 1<<7 { |
| 1464 | dAtA[offset] = uint8(v&0x7f | 0x80) |
| 1465 | v >>= 7 |
| 1466 | offset++ |
| 1467 | } |
| 1468 | dAtA[offset] = uint8(v) |
| 1469 | return offset + 1 |
| 1470 | } |
| 1471 | func (m *ControllerRevision) Size() (n int) { |
| 1472 | var l int |
| 1473 | _ = l |
| 1474 | l = m.ObjectMeta.Size() |
| 1475 | n += 1 + l + sovGenerated(uint64(l)) |
| 1476 | l = m.Data.Size() |
| 1477 | n += 1 + l + sovGenerated(uint64(l)) |
| 1478 | n += 1 + sovGenerated(uint64(m.Revision)) |
| 1479 | return n |
| 1480 | } |
| 1481 | |
| 1482 | func (m *ControllerRevisionList) Size() (n int) { |
| 1483 | var l int |
| 1484 | _ = l |
| 1485 | l = m.ListMeta.Size() |
| 1486 | n += 1 + l + sovGenerated(uint64(l)) |
| 1487 | if len(m.Items) > 0 { |
| 1488 | for _, e := range m.Items { |
| 1489 | l = e.Size() |
| 1490 | n += 1 + l + sovGenerated(uint64(l)) |
| 1491 | } |
| 1492 | } |
| 1493 | return n |
| 1494 | } |
| 1495 | |
| 1496 | func (m *DaemonSet) Size() (n int) { |
| 1497 | var l int |
| 1498 | _ = l |
| 1499 | l = m.ObjectMeta.Size() |
| 1500 | n += 1 + l + sovGenerated(uint64(l)) |
| 1501 | l = m.Spec.Size() |
| 1502 | n += 1 + l + sovGenerated(uint64(l)) |
| 1503 | l = m.Status.Size() |
| 1504 | n += 1 + l + sovGenerated(uint64(l)) |
| 1505 | return n |
| 1506 | } |
| 1507 | |
| 1508 | func (m *DaemonSetCondition) Size() (n int) { |
| 1509 | var l int |
| 1510 | _ = l |
| 1511 | l = len(m.Type) |
| 1512 | n += 1 + l + sovGenerated(uint64(l)) |
| 1513 | l = len(m.Status) |
| 1514 | n += 1 + l + sovGenerated(uint64(l)) |
| 1515 | l = m.LastTransitionTime.Size() |
| 1516 | n += 1 + l + sovGenerated(uint64(l)) |
| 1517 | l = len(m.Reason) |
| 1518 | n += 1 + l + sovGenerated(uint64(l)) |
| 1519 | l = len(m.Message) |
| 1520 | n += 1 + l + sovGenerated(uint64(l)) |
| 1521 | return n |
| 1522 | } |
| 1523 | |
| 1524 | func (m *DaemonSetList) Size() (n int) { |
| 1525 | var l int |
| 1526 | _ = l |
| 1527 | l = m.ListMeta.Size() |
| 1528 | n += 1 + l + sovGenerated(uint64(l)) |
| 1529 | if len(m.Items) > 0 { |
| 1530 | for _, e := range m.Items { |
| 1531 | l = e.Size() |
| 1532 | n += 1 + l + sovGenerated(uint64(l)) |
| 1533 | } |
| 1534 | } |
| 1535 | return n |
| 1536 | } |
| 1537 | |
| 1538 | func (m *DaemonSetSpec) Size() (n int) { |
| 1539 | var l int |
| 1540 | _ = l |
| 1541 | if m.Selector != nil { |
| 1542 | l = m.Selector.Size() |
| 1543 | n += 1 + l + sovGenerated(uint64(l)) |
| 1544 | } |
| 1545 | l = m.Template.Size() |
| 1546 | n += 1 + l + sovGenerated(uint64(l)) |
| 1547 | l = m.UpdateStrategy.Size() |
| 1548 | n += 1 + l + sovGenerated(uint64(l)) |
| 1549 | n += 1 + sovGenerated(uint64(m.MinReadySeconds)) |
| 1550 | if m.RevisionHistoryLimit != nil { |
| 1551 | n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit)) |
| 1552 | } |
| 1553 | return n |
| 1554 | } |
| 1555 | |
| 1556 | func (m *DaemonSetStatus) Size() (n int) { |
| 1557 | var l int |
| 1558 | _ = l |
| 1559 | n += 1 + sovGenerated(uint64(m.CurrentNumberScheduled)) |
| 1560 | n += 1 + sovGenerated(uint64(m.NumberMisscheduled)) |
| 1561 | n += 1 + sovGenerated(uint64(m.DesiredNumberScheduled)) |
| 1562 | n += 1 + sovGenerated(uint64(m.NumberReady)) |
| 1563 | n += 1 + sovGenerated(uint64(m.ObservedGeneration)) |
| 1564 | n += 1 + sovGenerated(uint64(m.UpdatedNumberScheduled)) |
| 1565 | n += 1 + sovGenerated(uint64(m.NumberAvailable)) |
| 1566 | n += 1 + sovGenerated(uint64(m.NumberUnavailable)) |
| 1567 | if m.CollisionCount != nil { |
| 1568 | n += 1 + sovGenerated(uint64(*m.CollisionCount)) |
| 1569 | } |
| 1570 | if len(m.Conditions) > 0 { |
| 1571 | for _, e := range m.Conditions { |
| 1572 | l = e.Size() |
| 1573 | n += 1 + l + sovGenerated(uint64(l)) |
| 1574 | } |
| 1575 | } |
| 1576 | return n |
| 1577 | } |
| 1578 | |
| 1579 | func (m *DaemonSetUpdateStrategy) Size() (n int) { |
| 1580 | var l int |
| 1581 | _ = l |
| 1582 | l = len(m.Type) |
| 1583 | n += 1 + l + sovGenerated(uint64(l)) |
| 1584 | if m.RollingUpdate != nil { |
| 1585 | l = m.RollingUpdate.Size() |
| 1586 | n += 1 + l + sovGenerated(uint64(l)) |
| 1587 | } |
| 1588 | return n |
| 1589 | } |
| 1590 | |
| 1591 | func (m *Deployment) Size() (n int) { |
| 1592 | var l int |
| 1593 | _ = l |
| 1594 | l = m.ObjectMeta.Size() |
| 1595 | n += 1 + l + sovGenerated(uint64(l)) |
| 1596 | l = m.Spec.Size() |
| 1597 | n += 1 + l + sovGenerated(uint64(l)) |
| 1598 | l = m.Status.Size() |
| 1599 | n += 1 + l + sovGenerated(uint64(l)) |
| 1600 | return n |
| 1601 | } |
| 1602 | |
| 1603 | func (m *DeploymentCondition) Size() (n int) { |
| 1604 | var l int |
| 1605 | _ = l |
| 1606 | l = len(m.Type) |
| 1607 | n += 1 + l + sovGenerated(uint64(l)) |
| 1608 | l = len(m.Status) |
| 1609 | n += 1 + l + sovGenerated(uint64(l)) |
| 1610 | l = len(m.Reason) |
| 1611 | n += 1 + l + sovGenerated(uint64(l)) |
| 1612 | l = len(m.Message) |
| 1613 | n += 1 + l + sovGenerated(uint64(l)) |
| 1614 | l = m.LastUpdateTime.Size() |
| 1615 | n += 1 + l + sovGenerated(uint64(l)) |
| 1616 | l = m.LastTransitionTime.Size() |
| 1617 | n += 1 + l + sovGenerated(uint64(l)) |
| 1618 | return n |
| 1619 | } |
| 1620 | |
| 1621 | func (m *DeploymentList) Size() (n int) { |
| 1622 | var l int |
| 1623 | _ = l |
| 1624 | l = m.ListMeta.Size() |
| 1625 | n += 1 + l + sovGenerated(uint64(l)) |
| 1626 | if len(m.Items) > 0 { |
| 1627 | for _, e := range m.Items { |
| 1628 | l = e.Size() |
| 1629 | n += 1 + l + sovGenerated(uint64(l)) |
| 1630 | } |
| 1631 | } |
| 1632 | return n |
| 1633 | } |
| 1634 | |
| 1635 | func (m *DeploymentSpec) Size() (n int) { |
| 1636 | var l int |
| 1637 | _ = l |
| 1638 | if m.Replicas != nil { |
| 1639 | n += 1 + sovGenerated(uint64(*m.Replicas)) |
| 1640 | } |
| 1641 | if m.Selector != nil { |
| 1642 | l = m.Selector.Size() |
| 1643 | n += 1 + l + sovGenerated(uint64(l)) |
| 1644 | } |
| 1645 | l = m.Template.Size() |
| 1646 | n += 1 + l + sovGenerated(uint64(l)) |
| 1647 | l = m.Strategy.Size() |
| 1648 | n += 1 + l + sovGenerated(uint64(l)) |
| 1649 | n += 1 + sovGenerated(uint64(m.MinReadySeconds)) |
| 1650 | if m.RevisionHistoryLimit != nil { |
| 1651 | n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit)) |
| 1652 | } |
| 1653 | n += 2 |
| 1654 | if m.ProgressDeadlineSeconds != nil { |
| 1655 | n += 1 + sovGenerated(uint64(*m.ProgressDeadlineSeconds)) |
| 1656 | } |
| 1657 | return n |
| 1658 | } |
| 1659 | |
| 1660 | func (m *DeploymentStatus) Size() (n int) { |
| 1661 | var l int |
| 1662 | _ = l |
| 1663 | n += 1 + sovGenerated(uint64(m.ObservedGeneration)) |
| 1664 | n += 1 + sovGenerated(uint64(m.Replicas)) |
| 1665 | n += 1 + sovGenerated(uint64(m.UpdatedReplicas)) |
| 1666 | n += 1 + sovGenerated(uint64(m.AvailableReplicas)) |
| 1667 | n += 1 + sovGenerated(uint64(m.UnavailableReplicas)) |
| 1668 | if len(m.Conditions) > 0 { |
| 1669 | for _, e := range m.Conditions { |
| 1670 | l = e.Size() |
| 1671 | n += 1 + l + sovGenerated(uint64(l)) |
| 1672 | } |
| 1673 | } |
| 1674 | n += 1 + sovGenerated(uint64(m.ReadyReplicas)) |
| 1675 | if m.CollisionCount != nil { |
| 1676 | n += 1 + sovGenerated(uint64(*m.CollisionCount)) |
| 1677 | } |
| 1678 | return n |
| 1679 | } |
| 1680 | |
| 1681 | func (m *DeploymentStrategy) Size() (n int) { |
| 1682 | var l int |
| 1683 | _ = l |
| 1684 | l = len(m.Type) |
| 1685 | n += 1 + l + sovGenerated(uint64(l)) |
| 1686 | if m.RollingUpdate != nil { |
| 1687 | l = m.RollingUpdate.Size() |
| 1688 | n += 1 + l + sovGenerated(uint64(l)) |
| 1689 | } |
| 1690 | return n |
| 1691 | } |
| 1692 | |
| 1693 | func (m *ReplicaSet) Size() (n int) { |
| 1694 | var l int |
| 1695 | _ = l |
| 1696 | l = m.ObjectMeta.Size() |
| 1697 | n += 1 + l + sovGenerated(uint64(l)) |
| 1698 | l = m.Spec.Size() |
| 1699 | n += 1 + l + sovGenerated(uint64(l)) |
| 1700 | l = m.Status.Size() |
| 1701 | n += 1 + l + sovGenerated(uint64(l)) |
| 1702 | return n |
| 1703 | } |
| 1704 | |
| 1705 | func (m *ReplicaSetCondition) Size() (n int) { |
| 1706 | var l int |
| 1707 | _ = l |
| 1708 | l = len(m.Type) |
| 1709 | n += 1 + l + sovGenerated(uint64(l)) |
| 1710 | l = len(m.Status) |
| 1711 | n += 1 + l + sovGenerated(uint64(l)) |
| 1712 | l = m.LastTransitionTime.Size() |
| 1713 | n += 1 + l + sovGenerated(uint64(l)) |
| 1714 | l = len(m.Reason) |
| 1715 | n += 1 + l + sovGenerated(uint64(l)) |
| 1716 | l = len(m.Message) |
| 1717 | n += 1 + l + sovGenerated(uint64(l)) |
| 1718 | return n |
| 1719 | } |
| 1720 | |
| 1721 | func (m *ReplicaSetList) Size() (n int) { |
| 1722 | var l int |
| 1723 | _ = l |
| 1724 | l = m.ListMeta.Size() |
| 1725 | n += 1 + l + sovGenerated(uint64(l)) |
| 1726 | if len(m.Items) > 0 { |
| 1727 | for _, e := range m.Items { |
| 1728 | l = e.Size() |
| 1729 | n += 1 + l + sovGenerated(uint64(l)) |
| 1730 | } |
| 1731 | } |
| 1732 | return n |
| 1733 | } |
| 1734 | |
| 1735 | func (m *ReplicaSetSpec) Size() (n int) { |
| 1736 | var l int |
| 1737 | _ = l |
| 1738 | if m.Replicas != nil { |
| 1739 | n += 1 + sovGenerated(uint64(*m.Replicas)) |
| 1740 | } |
| 1741 | if m.Selector != nil { |
| 1742 | l = m.Selector.Size() |
| 1743 | n += 1 + l + sovGenerated(uint64(l)) |
| 1744 | } |
| 1745 | l = m.Template.Size() |
| 1746 | n += 1 + l + sovGenerated(uint64(l)) |
| 1747 | n += 1 + sovGenerated(uint64(m.MinReadySeconds)) |
| 1748 | return n |
| 1749 | } |
| 1750 | |
| 1751 | func (m *ReplicaSetStatus) Size() (n int) { |
| 1752 | var l int |
| 1753 | _ = l |
| 1754 | n += 1 + sovGenerated(uint64(m.Replicas)) |
| 1755 | n += 1 + sovGenerated(uint64(m.FullyLabeledReplicas)) |
| 1756 | n += 1 + sovGenerated(uint64(m.ObservedGeneration)) |
| 1757 | n += 1 + sovGenerated(uint64(m.ReadyReplicas)) |
| 1758 | n += 1 + sovGenerated(uint64(m.AvailableReplicas)) |
| 1759 | if len(m.Conditions) > 0 { |
| 1760 | for _, e := range m.Conditions { |
| 1761 | l = e.Size() |
| 1762 | n += 1 + l + sovGenerated(uint64(l)) |
| 1763 | } |
| 1764 | } |
| 1765 | return n |
| 1766 | } |
| 1767 | |
| 1768 | func (m *RollingUpdateDaemonSet) Size() (n int) { |
| 1769 | var l int |
| 1770 | _ = l |
| 1771 | if m.MaxUnavailable != nil { |
| 1772 | l = m.MaxUnavailable.Size() |
| 1773 | n += 1 + l + sovGenerated(uint64(l)) |
| 1774 | } |
| 1775 | return n |
| 1776 | } |
| 1777 | |
| 1778 | func (m *RollingUpdateDeployment) Size() (n int) { |
| 1779 | var l int |
| 1780 | _ = l |
| 1781 | if m.MaxUnavailable != nil { |
| 1782 | l = m.MaxUnavailable.Size() |
| 1783 | n += 1 + l + sovGenerated(uint64(l)) |
| 1784 | } |
| 1785 | if m.MaxSurge != nil { |
| 1786 | l = m.MaxSurge.Size() |
| 1787 | n += 1 + l + sovGenerated(uint64(l)) |
| 1788 | } |
| 1789 | return n |
| 1790 | } |
| 1791 | |
| 1792 | func (m *RollingUpdateStatefulSetStrategy) Size() (n int) { |
| 1793 | var l int |
| 1794 | _ = l |
| 1795 | if m.Partition != nil { |
| 1796 | n += 1 + sovGenerated(uint64(*m.Partition)) |
| 1797 | } |
| 1798 | return n |
| 1799 | } |
| 1800 | |
| 1801 | func (m *StatefulSet) Size() (n int) { |
| 1802 | var l int |
| 1803 | _ = l |
| 1804 | l = m.ObjectMeta.Size() |
| 1805 | n += 1 + l + sovGenerated(uint64(l)) |
| 1806 | l = m.Spec.Size() |
| 1807 | n += 1 + l + sovGenerated(uint64(l)) |
| 1808 | l = m.Status.Size() |
| 1809 | n += 1 + l + sovGenerated(uint64(l)) |
| 1810 | return n |
| 1811 | } |
| 1812 | |
| 1813 | func (m *StatefulSetCondition) Size() (n int) { |
| 1814 | var l int |
| 1815 | _ = l |
| 1816 | l = len(m.Type) |
| 1817 | n += 1 + l + sovGenerated(uint64(l)) |
| 1818 | l = len(m.Status) |
| 1819 | n += 1 + l + sovGenerated(uint64(l)) |
| 1820 | l = m.LastTransitionTime.Size() |
| 1821 | n += 1 + l + sovGenerated(uint64(l)) |
| 1822 | l = len(m.Reason) |
| 1823 | n += 1 + l + sovGenerated(uint64(l)) |
| 1824 | l = len(m.Message) |
| 1825 | n += 1 + l + sovGenerated(uint64(l)) |
| 1826 | return n |
| 1827 | } |
| 1828 | |
| 1829 | func (m *StatefulSetList) Size() (n int) { |
| 1830 | var l int |
| 1831 | _ = l |
| 1832 | l = m.ListMeta.Size() |
| 1833 | n += 1 + l + sovGenerated(uint64(l)) |
| 1834 | if len(m.Items) > 0 { |
| 1835 | for _, e := range m.Items { |
| 1836 | l = e.Size() |
| 1837 | n += 1 + l + sovGenerated(uint64(l)) |
| 1838 | } |
| 1839 | } |
| 1840 | return n |
| 1841 | } |
| 1842 | |
| 1843 | func (m *StatefulSetSpec) Size() (n int) { |
| 1844 | var l int |
| 1845 | _ = l |
| 1846 | if m.Replicas != nil { |
| 1847 | n += 1 + sovGenerated(uint64(*m.Replicas)) |
| 1848 | } |
| 1849 | if m.Selector != nil { |
| 1850 | l = m.Selector.Size() |
| 1851 | n += 1 + l + sovGenerated(uint64(l)) |
| 1852 | } |
| 1853 | l = m.Template.Size() |
| 1854 | n += 1 + l + sovGenerated(uint64(l)) |
| 1855 | if len(m.VolumeClaimTemplates) > 0 { |
| 1856 | for _, e := range m.VolumeClaimTemplates { |
| 1857 | l = e.Size() |
| 1858 | n += 1 + l + sovGenerated(uint64(l)) |
| 1859 | } |
| 1860 | } |
| 1861 | l = len(m.ServiceName) |
| 1862 | n += 1 + l + sovGenerated(uint64(l)) |
| 1863 | l = len(m.PodManagementPolicy) |
| 1864 | n += 1 + l + sovGenerated(uint64(l)) |
| 1865 | l = m.UpdateStrategy.Size() |
| 1866 | n += 1 + l + sovGenerated(uint64(l)) |
| 1867 | if m.RevisionHistoryLimit != nil { |
| 1868 | n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit)) |
| 1869 | } |
| 1870 | return n |
| 1871 | } |
| 1872 | |
| 1873 | func (m *StatefulSetStatus) Size() (n int) { |
| 1874 | var l int |
| 1875 | _ = l |
| 1876 | n += 1 + sovGenerated(uint64(m.ObservedGeneration)) |
| 1877 | n += 1 + sovGenerated(uint64(m.Replicas)) |
| 1878 | n += 1 + sovGenerated(uint64(m.ReadyReplicas)) |
| 1879 | n += 1 + sovGenerated(uint64(m.CurrentReplicas)) |
| 1880 | n += 1 + sovGenerated(uint64(m.UpdatedReplicas)) |
| 1881 | l = len(m.CurrentRevision) |
| 1882 | n += 1 + l + sovGenerated(uint64(l)) |
| 1883 | l = len(m.UpdateRevision) |
| 1884 | n += 1 + l + sovGenerated(uint64(l)) |
| 1885 | if m.CollisionCount != nil { |
| 1886 | n += 1 + sovGenerated(uint64(*m.CollisionCount)) |
| 1887 | } |
| 1888 | if len(m.Conditions) > 0 { |
| 1889 | for _, e := range m.Conditions { |
| 1890 | l = e.Size() |
| 1891 | n += 1 + l + sovGenerated(uint64(l)) |
| 1892 | } |
| 1893 | } |
| 1894 | return n |
| 1895 | } |
| 1896 | |
| 1897 | func (m *StatefulSetUpdateStrategy) Size() (n int) { |
| 1898 | var l int |
| 1899 | _ = l |
| 1900 | l = len(m.Type) |
| 1901 | n += 1 + l + sovGenerated(uint64(l)) |
| 1902 | if m.RollingUpdate != nil { |
| 1903 | l = m.RollingUpdate.Size() |
| 1904 | n += 1 + l + sovGenerated(uint64(l)) |
| 1905 | } |
| 1906 | return n |
| 1907 | } |
| 1908 | |
| 1909 | func sovGenerated(x uint64) (n int) { |
| 1910 | for { |
| 1911 | n++ |
| 1912 | x >>= 7 |
| 1913 | if x == 0 { |
| 1914 | break |
| 1915 | } |
| 1916 | } |
| 1917 | return n |
| 1918 | } |
| 1919 | func sozGenerated(x uint64) (n int) { |
| 1920 | return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
| 1921 | } |
| 1922 | func (this *ControllerRevision) String() string { |
| 1923 | if this == nil { |
| 1924 | return "nil" |
| 1925 | } |
| 1926 | s := strings.Join([]string{`&ControllerRevision{`, |
| 1927 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 1928 | `Data:` + strings.Replace(strings.Replace(this.Data.String(), "RawExtension", "k8s_io_apimachinery_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`, |
| 1929 | `Revision:` + fmt.Sprintf("%v", this.Revision) + `,`, |
| 1930 | `}`, |
| 1931 | }, "") |
| 1932 | return s |
| 1933 | } |
| 1934 | func (this *ControllerRevisionList) String() string { |
| 1935 | if this == nil { |
| 1936 | return "nil" |
| 1937 | } |
| 1938 | s := strings.Join([]string{`&ControllerRevisionList{`, |
| 1939 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 1940 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ControllerRevision", "ControllerRevision", 1), `&`, ``, 1) + `,`, |
| 1941 | `}`, |
| 1942 | }, "") |
| 1943 | return s |
| 1944 | } |
| 1945 | func (this *DaemonSet) String() string { |
| 1946 | if this == nil { |
| 1947 | return "nil" |
| 1948 | } |
| 1949 | s := strings.Join([]string{`&DaemonSet{`, |
| 1950 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 1951 | `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DaemonSetSpec", "DaemonSetSpec", 1), `&`, ``, 1) + `,`, |
| 1952 | `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DaemonSetStatus", "DaemonSetStatus", 1), `&`, ``, 1) + `,`, |
| 1953 | `}`, |
| 1954 | }, "") |
| 1955 | return s |
| 1956 | } |
| 1957 | func (this *DaemonSetCondition) String() string { |
| 1958 | if this == nil { |
| 1959 | return "nil" |
| 1960 | } |
| 1961 | s := strings.Join([]string{`&DaemonSetCondition{`, |
| 1962 | `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 1963 | `Status:` + fmt.Sprintf("%v", this.Status) + `,`, |
| 1964 | `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, |
| 1965 | `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, |
| 1966 | `Message:` + fmt.Sprintf("%v", this.Message) + `,`, |
| 1967 | `}`, |
| 1968 | }, "") |
| 1969 | return s |
| 1970 | } |
| 1971 | func (this *DaemonSetList) String() string { |
| 1972 | if this == nil { |
| 1973 | return "nil" |
| 1974 | } |
| 1975 | s := strings.Join([]string{`&DaemonSetList{`, |
| 1976 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 1977 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "DaemonSet", "DaemonSet", 1), `&`, ``, 1) + `,`, |
| 1978 | `}`, |
| 1979 | }, "") |
| 1980 | return s |
| 1981 | } |
| 1982 | func (this *DaemonSetSpec) String() string { |
| 1983 | if this == nil { |
| 1984 | return "nil" |
| 1985 | } |
| 1986 | s := strings.Join([]string{`&DaemonSetSpec{`, |
| 1987 | `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, |
| 1988 | `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, |
| 1989 | `UpdateStrategy:` + strings.Replace(strings.Replace(this.UpdateStrategy.String(), "DaemonSetUpdateStrategy", "DaemonSetUpdateStrategy", 1), `&`, ``, 1) + `,`, |
| 1990 | `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`, |
| 1991 | `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`, |
| 1992 | `}`, |
| 1993 | }, "") |
| 1994 | return s |
| 1995 | } |
| 1996 | func (this *DaemonSetStatus) String() string { |
| 1997 | if this == nil { |
| 1998 | return "nil" |
| 1999 | } |
| 2000 | s := strings.Join([]string{`&DaemonSetStatus{`, |
| 2001 | `CurrentNumberScheduled:` + fmt.Sprintf("%v", this.CurrentNumberScheduled) + `,`, |
| 2002 | `NumberMisscheduled:` + fmt.Sprintf("%v", this.NumberMisscheduled) + `,`, |
| 2003 | `DesiredNumberScheduled:` + fmt.Sprintf("%v", this.DesiredNumberScheduled) + `,`, |
| 2004 | `NumberReady:` + fmt.Sprintf("%v", this.NumberReady) + `,`, |
| 2005 | `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`, |
| 2006 | `UpdatedNumberScheduled:` + fmt.Sprintf("%v", this.UpdatedNumberScheduled) + `,`, |
| 2007 | `NumberAvailable:` + fmt.Sprintf("%v", this.NumberAvailable) + `,`, |
| 2008 | `NumberUnavailable:` + fmt.Sprintf("%v", this.NumberUnavailable) + `,`, |
| 2009 | `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`, |
| 2010 | `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "DaemonSetCondition", "DaemonSetCondition", 1), `&`, ``, 1) + `,`, |
| 2011 | `}`, |
| 2012 | }, "") |
| 2013 | return s |
| 2014 | } |
| 2015 | func (this *DaemonSetUpdateStrategy) String() string { |
| 2016 | if this == nil { |
| 2017 | return "nil" |
| 2018 | } |
| 2019 | s := strings.Join([]string{`&DaemonSetUpdateStrategy{`, |
| 2020 | `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 2021 | `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateDaemonSet", "RollingUpdateDaemonSet", 1) + `,`, |
| 2022 | `}`, |
| 2023 | }, "") |
| 2024 | return s |
| 2025 | } |
| 2026 | func (this *Deployment) String() string { |
| 2027 | if this == nil { |
| 2028 | return "nil" |
| 2029 | } |
| 2030 | s := strings.Join([]string{`&Deployment{`, |
| 2031 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 2032 | `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DeploymentSpec", "DeploymentSpec", 1), `&`, ``, 1) + `,`, |
| 2033 | `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DeploymentStatus", "DeploymentStatus", 1), `&`, ``, 1) + `,`, |
| 2034 | `}`, |
| 2035 | }, "") |
| 2036 | return s |
| 2037 | } |
| 2038 | func (this *DeploymentCondition) String() string { |
| 2039 | if this == nil { |
| 2040 | return "nil" |
| 2041 | } |
| 2042 | s := strings.Join([]string{`&DeploymentCondition{`, |
| 2043 | `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 2044 | `Status:` + fmt.Sprintf("%v", this.Status) + `,`, |
| 2045 | `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, |
| 2046 | `Message:` + fmt.Sprintf("%v", this.Message) + `,`, |
| 2047 | `LastUpdateTime:` + strings.Replace(strings.Replace(this.LastUpdateTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, |
| 2048 | `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, |
| 2049 | `}`, |
| 2050 | }, "") |
| 2051 | return s |
| 2052 | } |
| 2053 | func (this *DeploymentList) String() string { |
| 2054 | if this == nil { |
| 2055 | return "nil" |
| 2056 | } |
| 2057 | s := strings.Join([]string{`&DeploymentList{`, |
| 2058 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 2059 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Deployment", "Deployment", 1), `&`, ``, 1) + `,`, |
| 2060 | `}`, |
| 2061 | }, "") |
| 2062 | return s |
| 2063 | } |
| 2064 | func (this *DeploymentSpec) String() string { |
| 2065 | if this == nil { |
| 2066 | return "nil" |
| 2067 | } |
| 2068 | s := strings.Join([]string{`&DeploymentSpec{`, |
| 2069 | `Replicas:` + valueToStringGenerated(this.Replicas) + `,`, |
| 2070 | `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, |
| 2071 | `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, |
| 2072 | `Strategy:` + strings.Replace(strings.Replace(this.Strategy.String(), "DeploymentStrategy", "DeploymentStrategy", 1), `&`, ``, 1) + `,`, |
| 2073 | `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`, |
| 2074 | `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`, |
| 2075 | `Paused:` + fmt.Sprintf("%v", this.Paused) + `,`, |
| 2076 | `ProgressDeadlineSeconds:` + valueToStringGenerated(this.ProgressDeadlineSeconds) + `,`, |
| 2077 | `}`, |
| 2078 | }, "") |
| 2079 | return s |
| 2080 | } |
| 2081 | func (this *DeploymentStatus) String() string { |
| 2082 | if this == nil { |
| 2083 | return "nil" |
| 2084 | } |
| 2085 | s := strings.Join([]string{`&DeploymentStatus{`, |
| 2086 | `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`, |
| 2087 | `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`, |
| 2088 | `UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`, |
| 2089 | `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`, |
| 2090 | `UnavailableReplicas:` + fmt.Sprintf("%v", this.UnavailableReplicas) + `,`, |
| 2091 | `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "DeploymentCondition", "DeploymentCondition", 1), `&`, ``, 1) + `,`, |
| 2092 | `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`, |
| 2093 | `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`, |
| 2094 | `}`, |
| 2095 | }, "") |
| 2096 | return s |
| 2097 | } |
| 2098 | func (this *DeploymentStrategy) String() string { |
| 2099 | if this == nil { |
| 2100 | return "nil" |
| 2101 | } |
| 2102 | s := strings.Join([]string{`&DeploymentStrategy{`, |
| 2103 | `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 2104 | `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateDeployment", "RollingUpdateDeployment", 1) + `,`, |
| 2105 | `}`, |
| 2106 | }, "") |
| 2107 | return s |
| 2108 | } |
| 2109 | func (this *ReplicaSet) String() string { |
| 2110 | if this == nil { |
| 2111 | return "nil" |
| 2112 | } |
| 2113 | s := strings.Join([]string{`&ReplicaSet{`, |
| 2114 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 2115 | `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ReplicaSetSpec", "ReplicaSetSpec", 1), `&`, ``, 1) + `,`, |
| 2116 | `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ReplicaSetStatus", "ReplicaSetStatus", 1), `&`, ``, 1) + `,`, |
| 2117 | `}`, |
| 2118 | }, "") |
| 2119 | return s |
| 2120 | } |
| 2121 | func (this *ReplicaSetCondition) String() string { |
| 2122 | if this == nil { |
| 2123 | return "nil" |
| 2124 | } |
| 2125 | s := strings.Join([]string{`&ReplicaSetCondition{`, |
| 2126 | `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 2127 | `Status:` + fmt.Sprintf("%v", this.Status) + `,`, |
| 2128 | `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, |
| 2129 | `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, |
| 2130 | `Message:` + fmt.Sprintf("%v", this.Message) + `,`, |
| 2131 | `}`, |
| 2132 | }, "") |
| 2133 | return s |
| 2134 | } |
| 2135 | func (this *ReplicaSetList) String() string { |
| 2136 | if this == nil { |
| 2137 | return "nil" |
| 2138 | } |
| 2139 | s := strings.Join([]string{`&ReplicaSetList{`, |
| 2140 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 2141 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ReplicaSet", "ReplicaSet", 1), `&`, ``, 1) + `,`, |
| 2142 | `}`, |
| 2143 | }, "") |
| 2144 | return s |
| 2145 | } |
| 2146 | func (this *ReplicaSetSpec) String() string { |
| 2147 | if this == nil { |
| 2148 | return "nil" |
| 2149 | } |
| 2150 | s := strings.Join([]string{`&ReplicaSetSpec{`, |
| 2151 | `Replicas:` + valueToStringGenerated(this.Replicas) + `,`, |
| 2152 | `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, |
| 2153 | `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, |
| 2154 | `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`, |
| 2155 | `}`, |
| 2156 | }, "") |
| 2157 | return s |
| 2158 | } |
| 2159 | func (this *ReplicaSetStatus) String() string { |
| 2160 | if this == nil { |
| 2161 | return "nil" |
| 2162 | } |
| 2163 | s := strings.Join([]string{`&ReplicaSetStatus{`, |
| 2164 | `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`, |
| 2165 | `FullyLabeledReplicas:` + fmt.Sprintf("%v", this.FullyLabeledReplicas) + `,`, |
| 2166 | `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`, |
| 2167 | `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`, |
| 2168 | `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`, |
| 2169 | `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "ReplicaSetCondition", "ReplicaSetCondition", 1), `&`, ``, 1) + `,`, |
| 2170 | `}`, |
| 2171 | }, "") |
| 2172 | return s |
| 2173 | } |
| 2174 | func (this *RollingUpdateDaemonSet) String() string { |
| 2175 | if this == nil { |
| 2176 | return "nil" |
| 2177 | } |
| 2178 | s := strings.Join([]string{`&RollingUpdateDaemonSet{`, |
| 2179 | `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`, |
| 2180 | `}`, |
| 2181 | }, "") |
| 2182 | return s |
| 2183 | } |
| 2184 | func (this *RollingUpdateDeployment) String() string { |
| 2185 | if this == nil { |
| 2186 | return "nil" |
| 2187 | } |
| 2188 | s := strings.Join([]string{`&RollingUpdateDeployment{`, |
| 2189 | `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`, |
| 2190 | `MaxSurge:` + strings.Replace(fmt.Sprintf("%v", this.MaxSurge), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`, |
| 2191 | `}`, |
| 2192 | }, "") |
| 2193 | return s |
| 2194 | } |
| 2195 | func (this *RollingUpdateStatefulSetStrategy) String() string { |
| 2196 | if this == nil { |
| 2197 | return "nil" |
| 2198 | } |
| 2199 | s := strings.Join([]string{`&RollingUpdateStatefulSetStrategy{`, |
| 2200 | `Partition:` + valueToStringGenerated(this.Partition) + `,`, |
| 2201 | `}`, |
| 2202 | }, "") |
| 2203 | return s |
| 2204 | } |
| 2205 | func (this *StatefulSet) String() string { |
| 2206 | if this == nil { |
| 2207 | return "nil" |
| 2208 | } |
| 2209 | s := strings.Join([]string{`&StatefulSet{`, |
| 2210 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 2211 | `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "StatefulSetSpec", "StatefulSetSpec", 1), `&`, ``, 1) + `,`, |
| 2212 | `Status:` + strings.Replace(strings.Replace(this.Status.String(), "StatefulSetStatus", "StatefulSetStatus", 1), `&`, ``, 1) + `,`, |
| 2213 | `}`, |
| 2214 | }, "") |
| 2215 | return s |
| 2216 | } |
| 2217 | func (this *StatefulSetCondition) String() string { |
| 2218 | if this == nil { |
| 2219 | return "nil" |
| 2220 | } |
| 2221 | s := strings.Join([]string{`&StatefulSetCondition{`, |
| 2222 | `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 2223 | `Status:` + fmt.Sprintf("%v", this.Status) + `,`, |
| 2224 | `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`, |
| 2225 | `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, |
| 2226 | `Message:` + fmt.Sprintf("%v", this.Message) + `,`, |
| 2227 | `}`, |
| 2228 | }, "") |
| 2229 | return s |
| 2230 | } |
| 2231 | func (this *StatefulSetList) String() string { |
| 2232 | if this == nil { |
| 2233 | return "nil" |
| 2234 | } |
| 2235 | s := strings.Join([]string{`&StatefulSetList{`, |
| 2236 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 2237 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "StatefulSet", "StatefulSet", 1), `&`, ``, 1) + `,`, |
| 2238 | `}`, |
| 2239 | }, "") |
| 2240 | return s |
| 2241 | } |
| 2242 | func (this *StatefulSetSpec) String() string { |
| 2243 | if this == nil { |
| 2244 | return "nil" |
| 2245 | } |
| 2246 | s := strings.Join([]string{`&StatefulSetSpec{`, |
| 2247 | `Replicas:` + valueToStringGenerated(this.Replicas) + `,`, |
| 2248 | `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`, |
| 2249 | `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`, |
| 2250 | `VolumeClaimTemplates:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VolumeClaimTemplates), "PersistentVolumeClaim", "k8s_io_api_core_v1.PersistentVolumeClaim", 1), `&`, ``, 1) + `,`, |
| 2251 | `ServiceName:` + fmt.Sprintf("%v", this.ServiceName) + `,`, |
| 2252 | `PodManagementPolicy:` + fmt.Sprintf("%v", this.PodManagementPolicy) + `,`, |
| 2253 | `UpdateStrategy:` + strings.Replace(strings.Replace(this.UpdateStrategy.String(), "StatefulSetUpdateStrategy", "StatefulSetUpdateStrategy", 1), `&`, ``, 1) + `,`, |
| 2254 | `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`, |
| 2255 | `}`, |
| 2256 | }, "") |
| 2257 | return s |
| 2258 | } |
| 2259 | func (this *StatefulSetStatus) String() string { |
| 2260 | if this == nil { |
| 2261 | return "nil" |
| 2262 | } |
| 2263 | s := strings.Join([]string{`&StatefulSetStatus{`, |
| 2264 | `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`, |
| 2265 | `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`, |
| 2266 | `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`, |
| 2267 | `CurrentReplicas:` + fmt.Sprintf("%v", this.CurrentReplicas) + `,`, |
| 2268 | `UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`, |
| 2269 | `CurrentRevision:` + fmt.Sprintf("%v", this.CurrentRevision) + `,`, |
| 2270 | `UpdateRevision:` + fmt.Sprintf("%v", this.UpdateRevision) + `,`, |
| 2271 | `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`, |
| 2272 | `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "StatefulSetCondition", "StatefulSetCondition", 1), `&`, ``, 1) + `,`, |
| 2273 | `}`, |
| 2274 | }, "") |
| 2275 | return s |
| 2276 | } |
| 2277 | func (this *StatefulSetUpdateStrategy) String() string { |
| 2278 | if this == nil { |
| 2279 | return "nil" |
| 2280 | } |
| 2281 | s := strings.Join([]string{`&StatefulSetUpdateStrategy{`, |
| 2282 | `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 2283 | `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateStatefulSetStrategy", "RollingUpdateStatefulSetStrategy", 1) + `,`, |
| 2284 | `}`, |
| 2285 | }, "") |
| 2286 | return s |
| 2287 | } |
| 2288 | func valueToStringGenerated(v interface{}) string { |
| 2289 | rv := reflect.ValueOf(v) |
| 2290 | if rv.IsNil() { |
| 2291 | return "nil" |
| 2292 | } |
| 2293 | pv := reflect.Indirect(rv).Interface() |
| 2294 | return fmt.Sprintf("*%v", pv) |
| 2295 | } |
| 2296 | func (m *ControllerRevision) Unmarshal(dAtA []byte) error { |
| 2297 | l := len(dAtA) |
| 2298 | iNdEx := 0 |
| 2299 | for iNdEx < l { |
| 2300 | preIndex := iNdEx |
| 2301 | var wire uint64 |
| 2302 | for shift := uint(0); ; shift += 7 { |
| 2303 | if shift >= 64 { |
| 2304 | return ErrIntOverflowGenerated |
| 2305 | } |
| 2306 | if iNdEx >= l { |
| 2307 | return io.ErrUnexpectedEOF |
| 2308 | } |
| 2309 | b := dAtA[iNdEx] |
| 2310 | iNdEx++ |
| 2311 | wire |= (uint64(b) & 0x7F) << shift |
| 2312 | if b < 0x80 { |
| 2313 | break |
| 2314 | } |
| 2315 | } |
| 2316 | fieldNum := int32(wire >> 3) |
| 2317 | wireType := int(wire & 0x7) |
| 2318 | if wireType == 4 { |
| 2319 | return fmt.Errorf("proto: ControllerRevision: wiretype end group for non-group") |
| 2320 | } |
| 2321 | if fieldNum <= 0 { |
| 2322 | return fmt.Errorf("proto: ControllerRevision: illegal tag %d (wire type %d)", fieldNum, wire) |
| 2323 | } |
| 2324 | switch fieldNum { |
| 2325 | case 1: |
| 2326 | if wireType != 2 { |
| 2327 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 2328 | } |
| 2329 | var msglen int |
| 2330 | for shift := uint(0); ; shift += 7 { |
| 2331 | if shift >= 64 { |
| 2332 | return ErrIntOverflowGenerated |
| 2333 | } |
| 2334 | if iNdEx >= l { |
| 2335 | return io.ErrUnexpectedEOF |
| 2336 | } |
| 2337 | b := dAtA[iNdEx] |
| 2338 | iNdEx++ |
| 2339 | msglen |= (int(b) & 0x7F) << shift |
| 2340 | if b < 0x80 { |
| 2341 | break |
| 2342 | } |
| 2343 | } |
| 2344 | if msglen < 0 { |
| 2345 | return ErrInvalidLengthGenerated |
| 2346 | } |
| 2347 | postIndex := iNdEx + msglen |
| 2348 | if postIndex > l { |
| 2349 | return io.ErrUnexpectedEOF |
| 2350 | } |
| 2351 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2352 | return err |
| 2353 | } |
| 2354 | iNdEx = postIndex |
| 2355 | case 2: |
| 2356 | if wireType != 2 { |
| 2357 | return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) |
| 2358 | } |
| 2359 | var msglen int |
| 2360 | for shift := uint(0); ; shift += 7 { |
| 2361 | if shift >= 64 { |
| 2362 | return ErrIntOverflowGenerated |
| 2363 | } |
| 2364 | if iNdEx >= l { |
| 2365 | return io.ErrUnexpectedEOF |
| 2366 | } |
| 2367 | b := dAtA[iNdEx] |
| 2368 | iNdEx++ |
| 2369 | msglen |= (int(b) & 0x7F) << shift |
| 2370 | if b < 0x80 { |
| 2371 | break |
| 2372 | } |
| 2373 | } |
| 2374 | if msglen < 0 { |
| 2375 | return ErrInvalidLengthGenerated |
| 2376 | } |
| 2377 | postIndex := iNdEx + msglen |
| 2378 | if postIndex > l { |
| 2379 | return io.ErrUnexpectedEOF |
| 2380 | } |
| 2381 | if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2382 | return err |
| 2383 | } |
| 2384 | iNdEx = postIndex |
| 2385 | case 3: |
| 2386 | if wireType != 0 { |
| 2387 | return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) |
| 2388 | } |
| 2389 | m.Revision = 0 |
| 2390 | for shift := uint(0); ; shift += 7 { |
| 2391 | if shift >= 64 { |
| 2392 | return ErrIntOverflowGenerated |
| 2393 | } |
| 2394 | if iNdEx >= l { |
| 2395 | return io.ErrUnexpectedEOF |
| 2396 | } |
| 2397 | b := dAtA[iNdEx] |
| 2398 | iNdEx++ |
| 2399 | m.Revision |= (int64(b) & 0x7F) << shift |
| 2400 | if b < 0x80 { |
| 2401 | break |
| 2402 | } |
| 2403 | } |
| 2404 | default: |
| 2405 | iNdEx = preIndex |
| 2406 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 2407 | if err != nil { |
| 2408 | return err |
| 2409 | } |
| 2410 | if skippy < 0 { |
| 2411 | return ErrInvalidLengthGenerated |
| 2412 | } |
| 2413 | if (iNdEx + skippy) > l { |
| 2414 | return io.ErrUnexpectedEOF |
| 2415 | } |
| 2416 | iNdEx += skippy |
| 2417 | } |
| 2418 | } |
| 2419 | |
| 2420 | if iNdEx > l { |
| 2421 | return io.ErrUnexpectedEOF |
| 2422 | } |
| 2423 | return nil |
| 2424 | } |
| 2425 | func (m *ControllerRevisionList) Unmarshal(dAtA []byte) error { |
| 2426 | l := len(dAtA) |
| 2427 | iNdEx := 0 |
| 2428 | for iNdEx < l { |
| 2429 | preIndex := iNdEx |
| 2430 | var wire uint64 |
| 2431 | for shift := uint(0); ; shift += 7 { |
| 2432 | if shift >= 64 { |
| 2433 | return ErrIntOverflowGenerated |
| 2434 | } |
| 2435 | if iNdEx >= l { |
| 2436 | return io.ErrUnexpectedEOF |
| 2437 | } |
| 2438 | b := dAtA[iNdEx] |
| 2439 | iNdEx++ |
| 2440 | wire |= (uint64(b) & 0x7F) << shift |
| 2441 | if b < 0x80 { |
| 2442 | break |
| 2443 | } |
| 2444 | } |
| 2445 | fieldNum := int32(wire >> 3) |
| 2446 | wireType := int(wire & 0x7) |
| 2447 | if wireType == 4 { |
| 2448 | return fmt.Errorf("proto: ControllerRevisionList: wiretype end group for non-group") |
| 2449 | } |
| 2450 | if fieldNum <= 0 { |
| 2451 | return fmt.Errorf("proto: ControllerRevisionList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 2452 | } |
| 2453 | switch fieldNum { |
| 2454 | case 1: |
| 2455 | if wireType != 2 { |
| 2456 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 2457 | } |
| 2458 | var msglen int |
| 2459 | for shift := uint(0); ; shift += 7 { |
| 2460 | if shift >= 64 { |
| 2461 | return ErrIntOverflowGenerated |
| 2462 | } |
| 2463 | if iNdEx >= l { |
| 2464 | return io.ErrUnexpectedEOF |
| 2465 | } |
| 2466 | b := dAtA[iNdEx] |
| 2467 | iNdEx++ |
| 2468 | msglen |= (int(b) & 0x7F) << shift |
| 2469 | if b < 0x80 { |
| 2470 | break |
| 2471 | } |
| 2472 | } |
| 2473 | if msglen < 0 { |
| 2474 | return ErrInvalidLengthGenerated |
| 2475 | } |
| 2476 | postIndex := iNdEx + msglen |
| 2477 | if postIndex > l { |
| 2478 | return io.ErrUnexpectedEOF |
| 2479 | } |
| 2480 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2481 | return err |
| 2482 | } |
| 2483 | iNdEx = postIndex |
| 2484 | case 2: |
| 2485 | if wireType != 2 { |
| 2486 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 2487 | } |
| 2488 | var msglen int |
| 2489 | for shift := uint(0); ; shift += 7 { |
| 2490 | if shift >= 64 { |
| 2491 | return ErrIntOverflowGenerated |
| 2492 | } |
| 2493 | if iNdEx >= l { |
| 2494 | return io.ErrUnexpectedEOF |
| 2495 | } |
| 2496 | b := dAtA[iNdEx] |
| 2497 | iNdEx++ |
| 2498 | msglen |= (int(b) & 0x7F) << shift |
| 2499 | if b < 0x80 { |
| 2500 | break |
| 2501 | } |
| 2502 | } |
| 2503 | if msglen < 0 { |
| 2504 | return ErrInvalidLengthGenerated |
| 2505 | } |
| 2506 | postIndex := iNdEx + msglen |
| 2507 | if postIndex > l { |
| 2508 | return io.ErrUnexpectedEOF |
| 2509 | } |
| 2510 | m.Items = append(m.Items, ControllerRevision{}) |
| 2511 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2512 | return err |
| 2513 | } |
| 2514 | iNdEx = postIndex |
| 2515 | default: |
| 2516 | iNdEx = preIndex |
| 2517 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 2518 | if err != nil { |
| 2519 | return err |
| 2520 | } |
| 2521 | if skippy < 0 { |
| 2522 | return ErrInvalidLengthGenerated |
| 2523 | } |
| 2524 | if (iNdEx + skippy) > l { |
| 2525 | return io.ErrUnexpectedEOF |
| 2526 | } |
| 2527 | iNdEx += skippy |
| 2528 | } |
| 2529 | } |
| 2530 | |
| 2531 | if iNdEx > l { |
| 2532 | return io.ErrUnexpectedEOF |
| 2533 | } |
| 2534 | return nil |
| 2535 | } |
| 2536 | func (m *DaemonSet) Unmarshal(dAtA []byte) error { |
| 2537 | l := len(dAtA) |
| 2538 | iNdEx := 0 |
| 2539 | for iNdEx < l { |
| 2540 | preIndex := iNdEx |
| 2541 | var wire uint64 |
| 2542 | for shift := uint(0); ; shift += 7 { |
| 2543 | if shift >= 64 { |
| 2544 | return ErrIntOverflowGenerated |
| 2545 | } |
| 2546 | if iNdEx >= l { |
| 2547 | return io.ErrUnexpectedEOF |
| 2548 | } |
| 2549 | b := dAtA[iNdEx] |
| 2550 | iNdEx++ |
| 2551 | wire |= (uint64(b) & 0x7F) << shift |
| 2552 | if b < 0x80 { |
| 2553 | break |
| 2554 | } |
| 2555 | } |
| 2556 | fieldNum := int32(wire >> 3) |
| 2557 | wireType := int(wire & 0x7) |
| 2558 | if wireType == 4 { |
| 2559 | return fmt.Errorf("proto: DaemonSet: wiretype end group for non-group") |
| 2560 | } |
| 2561 | if fieldNum <= 0 { |
| 2562 | return fmt.Errorf("proto: DaemonSet: illegal tag %d (wire type %d)", fieldNum, wire) |
| 2563 | } |
| 2564 | switch fieldNum { |
| 2565 | case 1: |
| 2566 | if wireType != 2 { |
| 2567 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 2568 | } |
| 2569 | var msglen int |
| 2570 | for shift := uint(0); ; shift += 7 { |
| 2571 | if shift >= 64 { |
| 2572 | return ErrIntOverflowGenerated |
| 2573 | } |
| 2574 | if iNdEx >= l { |
| 2575 | return io.ErrUnexpectedEOF |
| 2576 | } |
| 2577 | b := dAtA[iNdEx] |
| 2578 | iNdEx++ |
| 2579 | msglen |= (int(b) & 0x7F) << shift |
| 2580 | if b < 0x80 { |
| 2581 | break |
| 2582 | } |
| 2583 | } |
| 2584 | if msglen < 0 { |
| 2585 | return ErrInvalidLengthGenerated |
| 2586 | } |
| 2587 | postIndex := iNdEx + msglen |
| 2588 | if postIndex > l { |
| 2589 | return io.ErrUnexpectedEOF |
| 2590 | } |
| 2591 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2592 | return err |
| 2593 | } |
| 2594 | iNdEx = postIndex |
| 2595 | case 2: |
| 2596 | if wireType != 2 { |
| 2597 | return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) |
| 2598 | } |
| 2599 | var msglen int |
| 2600 | for shift := uint(0); ; shift += 7 { |
| 2601 | if shift >= 64 { |
| 2602 | return ErrIntOverflowGenerated |
| 2603 | } |
| 2604 | if iNdEx >= l { |
| 2605 | return io.ErrUnexpectedEOF |
| 2606 | } |
| 2607 | b := dAtA[iNdEx] |
| 2608 | iNdEx++ |
| 2609 | msglen |= (int(b) & 0x7F) << shift |
| 2610 | if b < 0x80 { |
| 2611 | break |
| 2612 | } |
| 2613 | } |
| 2614 | if msglen < 0 { |
| 2615 | return ErrInvalidLengthGenerated |
| 2616 | } |
| 2617 | postIndex := iNdEx + msglen |
| 2618 | if postIndex > l { |
| 2619 | return io.ErrUnexpectedEOF |
| 2620 | } |
| 2621 | if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2622 | return err |
| 2623 | } |
| 2624 | iNdEx = postIndex |
| 2625 | case 3: |
| 2626 | if wireType != 2 { |
| 2627 | return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 2628 | } |
| 2629 | var msglen int |
| 2630 | for shift := uint(0); ; shift += 7 { |
| 2631 | if shift >= 64 { |
| 2632 | return ErrIntOverflowGenerated |
| 2633 | } |
| 2634 | if iNdEx >= l { |
| 2635 | return io.ErrUnexpectedEOF |
| 2636 | } |
| 2637 | b := dAtA[iNdEx] |
| 2638 | iNdEx++ |
| 2639 | msglen |= (int(b) & 0x7F) << shift |
| 2640 | if b < 0x80 { |
| 2641 | break |
| 2642 | } |
| 2643 | } |
| 2644 | if msglen < 0 { |
| 2645 | return ErrInvalidLengthGenerated |
| 2646 | } |
| 2647 | postIndex := iNdEx + msglen |
| 2648 | if postIndex > l { |
| 2649 | return io.ErrUnexpectedEOF |
| 2650 | } |
| 2651 | if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2652 | return err |
| 2653 | } |
| 2654 | iNdEx = postIndex |
| 2655 | default: |
| 2656 | iNdEx = preIndex |
| 2657 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 2658 | if err != nil { |
| 2659 | return err |
| 2660 | } |
| 2661 | if skippy < 0 { |
| 2662 | return ErrInvalidLengthGenerated |
| 2663 | } |
| 2664 | if (iNdEx + skippy) > l { |
| 2665 | return io.ErrUnexpectedEOF |
| 2666 | } |
| 2667 | iNdEx += skippy |
| 2668 | } |
| 2669 | } |
| 2670 | |
| 2671 | if iNdEx > l { |
| 2672 | return io.ErrUnexpectedEOF |
| 2673 | } |
| 2674 | return nil |
| 2675 | } |
| 2676 | func (m *DaemonSetCondition) Unmarshal(dAtA []byte) error { |
| 2677 | l := len(dAtA) |
| 2678 | iNdEx := 0 |
| 2679 | for iNdEx < l { |
| 2680 | preIndex := iNdEx |
| 2681 | var wire uint64 |
| 2682 | for shift := uint(0); ; shift += 7 { |
| 2683 | if shift >= 64 { |
| 2684 | return ErrIntOverflowGenerated |
| 2685 | } |
| 2686 | if iNdEx >= l { |
| 2687 | return io.ErrUnexpectedEOF |
| 2688 | } |
| 2689 | b := dAtA[iNdEx] |
| 2690 | iNdEx++ |
| 2691 | wire |= (uint64(b) & 0x7F) << shift |
| 2692 | if b < 0x80 { |
| 2693 | break |
| 2694 | } |
| 2695 | } |
| 2696 | fieldNum := int32(wire >> 3) |
| 2697 | wireType := int(wire & 0x7) |
| 2698 | if wireType == 4 { |
| 2699 | return fmt.Errorf("proto: DaemonSetCondition: wiretype end group for non-group") |
| 2700 | } |
| 2701 | if fieldNum <= 0 { |
| 2702 | return fmt.Errorf("proto: DaemonSetCondition: illegal tag %d (wire type %d)", fieldNum, wire) |
| 2703 | } |
| 2704 | switch fieldNum { |
| 2705 | case 1: |
| 2706 | if wireType != 2 { |
| 2707 | return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 2708 | } |
| 2709 | var stringLen uint64 |
| 2710 | for shift := uint(0); ; shift += 7 { |
| 2711 | if shift >= 64 { |
| 2712 | return ErrIntOverflowGenerated |
| 2713 | } |
| 2714 | if iNdEx >= l { |
| 2715 | return io.ErrUnexpectedEOF |
| 2716 | } |
| 2717 | b := dAtA[iNdEx] |
| 2718 | iNdEx++ |
| 2719 | stringLen |= (uint64(b) & 0x7F) << shift |
| 2720 | if b < 0x80 { |
| 2721 | break |
| 2722 | } |
| 2723 | } |
| 2724 | intStringLen := int(stringLen) |
| 2725 | if intStringLen < 0 { |
| 2726 | return ErrInvalidLengthGenerated |
| 2727 | } |
| 2728 | postIndex := iNdEx + intStringLen |
| 2729 | if postIndex > l { |
| 2730 | return io.ErrUnexpectedEOF |
| 2731 | } |
| 2732 | m.Type = DaemonSetConditionType(dAtA[iNdEx:postIndex]) |
| 2733 | iNdEx = postIndex |
| 2734 | case 2: |
| 2735 | if wireType != 2 { |
| 2736 | return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 2737 | } |
| 2738 | var stringLen uint64 |
| 2739 | for shift := uint(0); ; shift += 7 { |
| 2740 | if shift >= 64 { |
| 2741 | return ErrIntOverflowGenerated |
| 2742 | } |
| 2743 | if iNdEx >= l { |
| 2744 | return io.ErrUnexpectedEOF |
| 2745 | } |
| 2746 | b := dAtA[iNdEx] |
| 2747 | iNdEx++ |
| 2748 | stringLen |= (uint64(b) & 0x7F) << shift |
| 2749 | if b < 0x80 { |
| 2750 | break |
| 2751 | } |
| 2752 | } |
| 2753 | intStringLen := int(stringLen) |
| 2754 | if intStringLen < 0 { |
| 2755 | return ErrInvalidLengthGenerated |
| 2756 | } |
| 2757 | postIndex := iNdEx + intStringLen |
| 2758 | if postIndex > l { |
| 2759 | return io.ErrUnexpectedEOF |
| 2760 | } |
| 2761 | m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex]) |
| 2762 | iNdEx = postIndex |
| 2763 | case 3: |
| 2764 | if wireType != 2 { |
| 2765 | return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) |
| 2766 | } |
| 2767 | var msglen int |
| 2768 | for shift := uint(0); ; shift += 7 { |
| 2769 | if shift >= 64 { |
| 2770 | return ErrIntOverflowGenerated |
| 2771 | } |
| 2772 | if iNdEx >= l { |
| 2773 | return io.ErrUnexpectedEOF |
| 2774 | } |
| 2775 | b := dAtA[iNdEx] |
| 2776 | iNdEx++ |
| 2777 | msglen |= (int(b) & 0x7F) << shift |
| 2778 | if b < 0x80 { |
| 2779 | break |
| 2780 | } |
| 2781 | } |
| 2782 | if msglen < 0 { |
| 2783 | return ErrInvalidLengthGenerated |
| 2784 | } |
| 2785 | postIndex := iNdEx + msglen |
| 2786 | if postIndex > l { |
| 2787 | return io.ErrUnexpectedEOF |
| 2788 | } |
| 2789 | if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2790 | return err |
| 2791 | } |
| 2792 | iNdEx = postIndex |
| 2793 | case 4: |
| 2794 | if wireType != 2 { |
| 2795 | return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) |
| 2796 | } |
| 2797 | var stringLen uint64 |
| 2798 | for shift := uint(0); ; shift += 7 { |
| 2799 | if shift >= 64 { |
| 2800 | return ErrIntOverflowGenerated |
| 2801 | } |
| 2802 | if iNdEx >= l { |
| 2803 | return io.ErrUnexpectedEOF |
| 2804 | } |
| 2805 | b := dAtA[iNdEx] |
| 2806 | iNdEx++ |
| 2807 | stringLen |= (uint64(b) & 0x7F) << shift |
| 2808 | if b < 0x80 { |
| 2809 | break |
| 2810 | } |
| 2811 | } |
| 2812 | intStringLen := int(stringLen) |
| 2813 | if intStringLen < 0 { |
| 2814 | return ErrInvalidLengthGenerated |
| 2815 | } |
| 2816 | postIndex := iNdEx + intStringLen |
| 2817 | if postIndex > l { |
| 2818 | return io.ErrUnexpectedEOF |
| 2819 | } |
| 2820 | m.Reason = string(dAtA[iNdEx:postIndex]) |
| 2821 | iNdEx = postIndex |
| 2822 | case 5: |
| 2823 | if wireType != 2 { |
| 2824 | return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) |
| 2825 | } |
| 2826 | var stringLen uint64 |
| 2827 | for shift := uint(0); ; shift += 7 { |
| 2828 | if shift >= 64 { |
| 2829 | return ErrIntOverflowGenerated |
| 2830 | } |
| 2831 | if iNdEx >= l { |
| 2832 | return io.ErrUnexpectedEOF |
| 2833 | } |
| 2834 | b := dAtA[iNdEx] |
| 2835 | iNdEx++ |
| 2836 | stringLen |= (uint64(b) & 0x7F) << shift |
| 2837 | if b < 0x80 { |
| 2838 | break |
| 2839 | } |
| 2840 | } |
| 2841 | intStringLen := int(stringLen) |
| 2842 | if intStringLen < 0 { |
| 2843 | return ErrInvalidLengthGenerated |
| 2844 | } |
| 2845 | postIndex := iNdEx + intStringLen |
| 2846 | if postIndex > l { |
| 2847 | return io.ErrUnexpectedEOF |
| 2848 | } |
| 2849 | m.Message = string(dAtA[iNdEx:postIndex]) |
| 2850 | iNdEx = postIndex |
| 2851 | default: |
| 2852 | iNdEx = preIndex |
| 2853 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 2854 | if err != nil { |
| 2855 | return err |
| 2856 | } |
| 2857 | if skippy < 0 { |
| 2858 | return ErrInvalidLengthGenerated |
| 2859 | } |
| 2860 | if (iNdEx + skippy) > l { |
| 2861 | return io.ErrUnexpectedEOF |
| 2862 | } |
| 2863 | iNdEx += skippy |
| 2864 | } |
| 2865 | } |
| 2866 | |
| 2867 | if iNdEx > l { |
| 2868 | return io.ErrUnexpectedEOF |
| 2869 | } |
| 2870 | return nil |
| 2871 | } |
| 2872 | func (m *DaemonSetList) Unmarshal(dAtA []byte) error { |
| 2873 | l := len(dAtA) |
| 2874 | iNdEx := 0 |
| 2875 | for iNdEx < l { |
| 2876 | preIndex := iNdEx |
| 2877 | var wire uint64 |
| 2878 | for shift := uint(0); ; shift += 7 { |
| 2879 | if shift >= 64 { |
| 2880 | return ErrIntOverflowGenerated |
| 2881 | } |
| 2882 | if iNdEx >= l { |
| 2883 | return io.ErrUnexpectedEOF |
| 2884 | } |
| 2885 | b := dAtA[iNdEx] |
| 2886 | iNdEx++ |
| 2887 | wire |= (uint64(b) & 0x7F) << shift |
| 2888 | if b < 0x80 { |
| 2889 | break |
| 2890 | } |
| 2891 | } |
| 2892 | fieldNum := int32(wire >> 3) |
| 2893 | wireType := int(wire & 0x7) |
| 2894 | if wireType == 4 { |
| 2895 | return fmt.Errorf("proto: DaemonSetList: wiretype end group for non-group") |
| 2896 | } |
| 2897 | if fieldNum <= 0 { |
| 2898 | return fmt.Errorf("proto: DaemonSetList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 2899 | } |
| 2900 | switch fieldNum { |
| 2901 | case 1: |
| 2902 | if wireType != 2 { |
| 2903 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 2904 | } |
| 2905 | var msglen int |
| 2906 | for shift := uint(0); ; shift += 7 { |
| 2907 | if shift >= 64 { |
| 2908 | return ErrIntOverflowGenerated |
| 2909 | } |
| 2910 | if iNdEx >= l { |
| 2911 | return io.ErrUnexpectedEOF |
| 2912 | } |
| 2913 | b := dAtA[iNdEx] |
| 2914 | iNdEx++ |
| 2915 | msglen |= (int(b) & 0x7F) << shift |
| 2916 | if b < 0x80 { |
| 2917 | break |
| 2918 | } |
| 2919 | } |
| 2920 | if msglen < 0 { |
| 2921 | return ErrInvalidLengthGenerated |
| 2922 | } |
| 2923 | postIndex := iNdEx + msglen |
| 2924 | if postIndex > l { |
| 2925 | return io.ErrUnexpectedEOF |
| 2926 | } |
| 2927 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2928 | return err |
| 2929 | } |
| 2930 | iNdEx = postIndex |
| 2931 | case 2: |
| 2932 | if wireType != 2 { |
| 2933 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 2934 | } |
| 2935 | var msglen int |
| 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 | msglen |= (int(b) & 0x7F) << shift |
| 2946 | if b < 0x80 { |
| 2947 | break |
| 2948 | } |
| 2949 | } |
| 2950 | if msglen < 0 { |
| 2951 | return ErrInvalidLengthGenerated |
| 2952 | } |
| 2953 | postIndex := iNdEx + msglen |
| 2954 | if postIndex > l { |
| 2955 | return io.ErrUnexpectedEOF |
| 2956 | } |
| 2957 | m.Items = append(m.Items, DaemonSet{}) |
| 2958 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2959 | return err |
| 2960 | } |
| 2961 | iNdEx = postIndex |
| 2962 | default: |
| 2963 | iNdEx = preIndex |
| 2964 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 2965 | if err != nil { |
| 2966 | return err |
| 2967 | } |
| 2968 | if skippy < 0 { |
| 2969 | return ErrInvalidLengthGenerated |
| 2970 | } |
| 2971 | if (iNdEx + skippy) > l { |
| 2972 | return io.ErrUnexpectedEOF |
| 2973 | } |
| 2974 | iNdEx += skippy |
| 2975 | } |
| 2976 | } |
| 2977 | |
| 2978 | if iNdEx > l { |
| 2979 | return io.ErrUnexpectedEOF |
| 2980 | } |
| 2981 | return nil |
| 2982 | } |
| 2983 | func (m *DaemonSetSpec) Unmarshal(dAtA []byte) error { |
| 2984 | l := len(dAtA) |
| 2985 | iNdEx := 0 |
| 2986 | for iNdEx < l { |
| 2987 | preIndex := iNdEx |
| 2988 | var wire uint64 |
| 2989 | for shift := uint(0); ; shift += 7 { |
| 2990 | if shift >= 64 { |
| 2991 | return ErrIntOverflowGenerated |
| 2992 | } |
| 2993 | if iNdEx >= l { |
| 2994 | return io.ErrUnexpectedEOF |
| 2995 | } |
| 2996 | b := dAtA[iNdEx] |
| 2997 | iNdEx++ |
| 2998 | wire |= (uint64(b) & 0x7F) << shift |
| 2999 | if b < 0x80 { |
| 3000 | break |
| 3001 | } |
| 3002 | } |
| 3003 | fieldNum := int32(wire >> 3) |
| 3004 | wireType := int(wire & 0x7) |
| 3005 | if wireType == 4 { |
| 3006 | return fmt.Errorf("proto: DaemonSetSpec: wiretype end group for non-group") |
| 3007 | } |
| 3008 | if fieldNum <= 0 { |
| 3009 | return fmt.Errorf("proto: DaemonSetSpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3010 | } |
| 3011 | switch fieldNum { |
| 3012 | case 1: |
| 3013 | if wireType != 2 { |
| 3014 | return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType) |
| 3015 | } |
| 3016 | var msglen int |
| 3017 | for shift := uint(0); ; shift += 7 { |
| 3018 | if shift >= 64 { |
| 3019 | return ErrIntOverflowGenerated |
| 3020 | } |
| 3021 | if iNdEx >= l { |
| 3022 | return io.ErrUnexpectedEOF |
| 3023 | } |
| 3024 | b := dAtA[iNdEx] |
| 3025 | iNdEx++ |
| 3026 | msglen |= (int(b) & 0x7F) << shift |
| 3027 | if b < 0x80 { |
| 3028 | break |
| 3029 | } |
| 3030 | } |
| 3031 | if msglen < 0 { |
| 3032 | return ErrInvalidLengthGenerated |
| 3033 | } |
| 3034 | postIndex := iNdEx + msglen |
| 3035 | if postIndex > l { |
| 3036 | return io.ErrUnexpectedEOF |
| 3037 | } |
| 3038 | if m.Selector == nil { |
| 3039 | m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} |
| 3040 | } |
| 3041 | if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3042 | return err |
| 3043 | } |
| 3044 | iNdEx = postIndex |
| 3045 | case 2: |
| 3046 | if wireType != 2 { |
| 3047 | return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType) |
| 3048 | } |
| 3049 | var msglen int |
| 3050 | for shift := uint(0); ; shift += 7 { |
| 3051 | if shift >= 64 { |
| 3052 | return ErrIntOverflowGenerated |
| 3053 | } |
| 3054 | if iNdEx >= l { |
| 3055 | return io.ErrUnexpectedEOF |
| 3056 | } |
| 3057 | b := dAtA[iNdEx] |
| 3058 | iNdEx++ |
| 3059 | msglen |= (int(b) & 0x7F) << shift |
| 3060 | if b < 0x80 { |
| 3061 | break |
| 3062 | } |
| 3063 | } |
| 3064 | if msglen < 0 { |
| 3065 | return ErrInvalidLengthGenerated |
| 3066 | } |
| 3067 | postIndex := iNdEx + msglen |
| 3068 | if postIndex > l { |
| 3069 | return io.ErrUnexpectedEOF |
| 3070 | } |
| 3071 | if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3072 | return err |
| 3073 | } |
| 3074 | iNdEx = postIndex |
| 3075 | case 3: |
| 3076 | if wireType != 2 { |
| 3077 | return fmt.Errorf("proto: wrong wireType = %d for field UpdateStrategy", wireType) |
| 3078 | } |
| 3079 | var msglen int |
| 3080 | for shift := uint(0); ; shift += 7 { |
| 3081 | if shift >= 64 { |
| 3082 | return ErrIntOverflowGenerated |
| 3083 | } |
| 3084 | if iNdEx >= l { |
| 3085 | return io.ErrUnexpectedEOF |
| 3086 | } |
| 3087 | b := dAtA[iNdEx] |
| 3088 | iNdEx++ |
| 3089 | msglen |= (int(b) & 0x7F) << shift |
| 3090 | if b < 0x80 { |
| 3091 | break |
| 3092 | } |
| 3093 | } |
| 3094 | if msglen < 0 { |
| 3095 | return ErrInvalidLengthGenerated |
| 3096 | } |
| 3097 | postIndex := iNdEx + msglen |
| 3098 | if postIndex > l { |
| 3099 | return io.ErrUnexpectedEOF |
| 3100 | } |
| 3101 | if err := m.UpdateStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3102 | return err |
| 3103 | } |
| 3104 | iNdEx = postIndex |
| 3105 | case 4: |
| 3106 | if wireType != 0 { |
| 3107 | return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType) |
| 3108 | } |
| 3109 | m.MinReadySeconds = 0 |
| 3110 | for shift := uint(0); ; shift += 7 { |
| 3111 | if shift >= 64 { |
| 3112 | return ErrIntOverflowGenerated |
| 3113 | } |
| 3114 | if iNdEx >= l { |
| 3115 | return io.ErrUnexpectedEOF |
| 3116 | } |
| 3117 | b := dAtA[iNdEx] |
| 3118 | iNdEx++ |
| 3119 | m.MinReadySeconds |= (int32(b) & 0x7F) << shift |
| 3120 | if b < 0x80 { |
| 3121 | break |
| 3122 | } |
| 3123 | } |
| 3124 | case 6: |
| 3125 | if wireType != 0 { |
| 3126 | return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType) |
| 3127 | } |
| 3128 | var v int32 |
| 3129 | for shift := uint(0); ; shift += 7 { |
| 3130 | if shift >= 64 { |
| 3131 | return ErrIntOverflowGenerated |
| 3132 | } |
| 3133 | if iNdEx >= l { |
| 3134 | return io.ErrUnexpectedEOF |
| 3135 | } |
| 3136 | b := dAtA[iNdEx] |
| 3137 | iNdEx++ |
| 3138 | v |= (int32(b) & 0x7F) << shift |
| 3139 | if b < 0x80 { |
| 3140 | break |
| 3141 | } |
| 3142 | } |
| 3143 | m.RevisionHistoryLimit = &v |
| 3144 | default: |
| 3145 | iNdEx = preIndex |
| 3146 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3147 | if err != nil { |
| 3148 | return err |
| 3149 | } |
| 3150 | if skippy < 0 { |
| 3151 | return ErrInvalidLengthGenerated |
| 3152 | } |
| 3153 | if (iNdEx + skippy) > l { |
| 3154 | return io.ErrUnexpectedEOF |
| 3155 | } |
| 3156 | iNdEx += skippy |
| 3157 | } |
| 3158 | } |
| 3159 | |
| 3160 | if iNdEx > l { |
| 3161 | return io.ErrUnexpectedEOF |
| 3162 | } |
| 3163 | return nil |
| 3164 | } |
| 3165 | func (m *DaemonSetStatus) Unmarshal(dAtA []byte) error { |
| 3166 | l := len(dAtA) |
| 3167 | iNdEx := 0 |
| 3168 | for iNdEx < l { |
| 3169 | preIndex := iNdEx |
| 3170 | var wire uint64 |
| 3171 | for shift := uint(0); ; shift += 7 { |
| 3172 | if shift >= 64 { |
| 3173 | return ErrIntOverflowGenerated |
| 3174 | } |
| 3175 | if iNdEx >= l { |
| 3176 | return io.ErrUnexpectedEOF |
| 3177 | } |
| 3178 | b := dAtA[iNdEx] |
| 3179 | iNdEx++ |
| 3180 | wire |= (uint64(b) & 0x7F) << shift |
| 3181 | if b < 0x80 { |
| 3182 | break |
| 3183 | } |
| 3184 | } |
| 3185 | fieldNum := int32(wire >> 3) |
| 3186 | wireType := int(wire & 0x7) |
| 3187 | if wireType == 4 { |
| 3188 | return fmt.Errorf("proto: DaemonSetStatus: wiretype end group for non-group") |
| 3189 | } |
| 3190 | if fieldNum <= 0 { |
| 3191 | return fmt.Errorf("proto: DaemonSetStatus: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3192 | } |
| 3193 | switch fieldNum { |
| 3194 | case 1: |
| 3195 | if wireType != 0 { |
| 3196 | return fmt.Errorf("proto: wrong wireType = %d for field CurrentNumberScheduled", wireType) |
| 3197 | } |
| 3198 | m.CurrentNumberScheduled = 0 |
| 3199 | for shift := uint(0); ; shift += 7 { |
| 3200 | if shift >= 64 { |
| 3201 | return ErrIntOverflowGenerated |
| 3202 | } |
| 3203 | if iNdEx >= l { |
| 3204 | return io.ErrUnexpectedEOF |
| 3205 | } |
| 3206 | b := dAtA[iNdEx] |
| 3207 | iNdEx++ |
| 3208 | m.CurrentNumberScheduled |= (int32(b) & 0x7F) << shift |
| 3209 | if b < 0x80 { |
| 3210 | break |
| 3211 | } |
| 3212 | } |
| 3213 | case 2: |
| 3214 | if wireType != 0 { |
| 3215 | return fmt.Errorf("proto: wrong wireType = %d for field NumberMisscheduled", wireType) |
| 3216 | } |
| 3217 | m.NumberMisscheduled = 0 |
| 3218 | for shift := uint(0); ; shift += 7 { |
| 3219 | if shift >= 64 { |
| 3220 | return ErrIntOverflowGenerated |
| 3221 | } |
| 3222 | if iNdEx >= l { |
| 3223 | return io.ErrUnexpectedEOF |
| 3224 | } |
| 3225 | b := dAtA[iNdEx] |
| 3226 | iNdEx++ |
| 3227 | m.NumberMisscheduled |= (int32(b) & 0x7F) << shift |
| 3228 | if b < 0x80 { |
| 3229 | break |
| 3230 | } |
| 3231 | } |
| 3232 | case 3: |
| 3233 | if wireType != 0 { |
| 3234 | return fmt.Errorf("proto: wrong wireType = %d for field DesiredNumberScheduled", wireType) |
| 3235 | } |
| 3236 | m.DesiredNumberScheduled = 0 |
| 3237 | for shift := uint(0); ; shift += 7 { |
| 3238 | if shift >= 64 { |
| 3239 | return ErrIntOverflowGenerated |
| 3240 | } |
| 3241 | if iNdEx >= l { |
| 3242 | return io.ErrUnexpectedEOF |
| 3243 | } |
| 3244 | b := dAtA[iNdEx] |
| 3245 | iNdEx++ |
| 3246 | m.DesiredNumberScheduled |= (int32(b) & 0x7F) << shift |
| 3247 | if b < 0x80 { |
| 3248 | break |
| 3249 | } |
| 3250 | } |
| 3251 | case 4: |
| 3252 | if wireType != 0 { |
| 3253 | return fmt.Errorf("proto: wrong wireType = %d for field NumberReady", wireType) |
| 3254 | } |
| 3255 | m.NumberReady = 0 |
| 3256 | for shift := uint(0); ; shift += 7 { |
| 3257 | if shift >= 64 { |
| 3258 | return ErrIntOverflowGenerated |
| 3259 | } |
| 3260 | if iNdEx >= l { |
| 3261 | return io.ErrUnexpectedEOF |
| 3262 | } |
| 3263 | b := dAtA[iNdEx] |
| 3264 | iNdEx++ |
| 3265 | m.NumberReady |= (int32(b) & 0x7F) << shift |
| 3266 | if b < 0x80 { |
| 3267 | break |
| 3268 | } |
| 3269 | } |
| 3270 | case 5: |
| 3271 | if wireType != 0 { |
| 3272 | return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType) |
| 3273 | } |
| 3274 | m.ObservedGeneration = 0 |
| 3275 | for shift := uint(0); ; shift += 7 { |
| 3276 | if shift >= 64 { |
| 3277 | return ErrIntOverflowGenerated |
| 3278 | } |
| 3279 | if iNdEx >= l { |
| 3280 | return io.ErrUnexpectedEOF |
| 3281 | } |
| 3282 | b := dAtA[iNdEx] |
| 3283 | iNdEx++ |
| 3284 | m.ObservedGeneration |= (int64(b) & 0x7F) << shift |
| 3285 | if b < 0x80 { |
| 3286 | break |
| 3287 | } |
| 3288 | } |
| 3289 | case 6: |
| 3290 | if wireType != 0 { |
| 3291 | return fmt.Errorf("proto: wrong wireType = %d for field UpdatedNumberScheduled", wireType) |
| 3292 | } |
| 3293 | m.UpdatedNumberScheduled = 0 |
| 3294 | for shift := uint(0); ; shift += 7 { |
| 3295 | if shift >= 64 { |
| 3296 | return ErrIntOverflowGenerated |
| 3297 | } |
| 3298 | if iNdEx >= l { |
| 3299 | return io.ErrUnexpectedEOF |
| 3300 | } |
| 3301 | b := dAtA[iNdEx] |
| 3302 | iNdEx++ |
| 3303 | m.UpdatedNumberScheduled |= (int32(b) & 0x7F) << shift |
| 3304 | if b < 0x80 { |
| 3305 | break |
| 3306 | } |
| 3307 | } |
| 3308 | case 7: |
| 3309 | if wireType != 0 { |
| 3310 | return fmt.Errorf("proto: wrong wireType = %d for field NumberAvailable", wireType) |
| 3311 | } |
| 3312 | m.NumberAvailable = 0 |
| 3313 | for shift := uint(0); ; shift += 7 { |
| 3314 | if shift >= 64 { |
| 3315 | return ErrIntOverflowGenerated |
| 3316 | } |
| 3317 | if iNdEx >= l { |
| 3318 | return io.ErrUnexpectedEOF |
| 3319 | } |
| 3320 | b := dAtA[iNdEx] |
| 3321 | iNdEx++ |
| 3322 | m.NumberAvailable |= (int32(b) & 0x7F) << shift |
| 3323 | if b < 0x80 { |
| 3324 | break |
| 3325 | } |
| 3326 | } |
| 3327 | case 8: |
| 3328 | if wireType != 0 { |
| 3329 | return fmt.Errorf("proto: wrong wireType = %d for field NumberUnavailable", wireType) |
| 3330 | } |
| 3331 | m.NumberUnavailable = 0 |
| 3332 | for shift := uint(0); ; shift += 7 { |
| 3333 | if shift >= 64 { |
| 3334 | return ErrIntOverflowGenerated |
| 3335 | } |
| 3336 | if iNdEx >= l { |
| 3337 | return io.ErrUnexpectedEOF |
| 3338 | } |
| 3339 | b := dAtA[iNdEx] |
| 3340 | iNdEx++ |
| 3341 | m.NumberUnavailable |= (int32(b) & 0x7F) << shift |
| 3342 | if b < 0x80 { |
| 3343 | break |
| 3344 | } |
| 3345 | } |
| 3346 | case 9: |
| 3347 | if wireType != 0 { |
| 3348 | return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType) |
| 3349 | } |
| 3350 | var v int32 |
| 3351 | for shift := uint(0); ; shift += 7 { |
| 3352 | if shift >= 64 { |
| 3353 | return ErrIntOverflowGenerated |
| 3354 | } |
| 3355 | if iNdEx >= l { |
| 3356 | return io.ErrUnexpectedEOF |
| 3357 | } |
| 3358 | b := dAtA[iNdEx] |
| 3359 | iNdEx++ |
| 3360 | v |= (int32(b) & 0x7F) << shift |
| 3361 | if b < 0x80 { |
| 3362 | break |
| 3363 | } |
| 3364 | } |
| 3365 | m.CollisionCount = &v |
| 3366 | case 10: |
| 3367 | if wireType != 2 { |
| 3368 | return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) |
| 3369 | } |
| 3370 | var msglen int |
| 3371 | for shift := uint(0); ; shift += 7 { |
| 3372 | if shift >= 64 { |
| 3373 | return ErrIntOverflowGenerated |
| 3374 | } |
| 3375 | if iNdEx >= l { |
| 3376 | return io.ErrUnexpectedEOF |
| 3377 | } |
| 3378 | b := dAtA[iNdEx] |
| 3379 | iNdEx++ |
| 3380 | msglen |= (int(b) & 0x7F) << shift |
| 3381 | if b < 0x80 { |
| 3382 | break |
| 3383 | } |
| 3384 | } |
| 3385 | if msglen < 0 { |
| 3386 | return ErrInvalidLengthGenerated |
| 3387 | } |
| 3388 | postIndex := iNdEx + msglen |
| 3389 | if postIndex > l { |
| 3390 | return io.ErrUnexpectedEOF |
| 3391 | } |
| 3392 | m.Conditions = append(m.Conditions, DaemonSetCondition{}) |
| 3393 | if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3394 | return err |
| 3395 | } |
| 3396 | iNdEx = postIndex |
| 3397 | default: |
| 3398 | iNdEx = preIndex |
| 3399 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3400 | if err != nil { |
| 3401 | return err |
| 3402 | } |
| 3403 | if skippy < 0 { |
| 3404 | return ErrInvalidLengthGenerated |
| 3405 | } |
| 3406 | if (iNdEx + skippy) > l { |
| 3407 | return io.ErrUnexpectedEOF |
| 3408 | } |
| 3409 | iNdEx += skippy |
| 3410 | } |
| 3411 | } |
| 3412 | |
| 3413 | if iNdEx > l { |
| 3414 | return io.ErrUnexpectedEOF |
| 3415 | } |
| 3416 | return nil |
| 3417 | } |
| 3418 | func (m *DaemonSetUpdateStrategy) Unmarshal(dAtA []byte) error { |
| 3419 | l := len(dAtA) |
| 3420 | iNdEx := 0 |
| 3421 | for iNdEx < l { |
| 3422 | preIndex := iNdEx |
| 3423 | var wire uint64 |
| 3424 | for shift := uint(0); ; shift += 7 { |
| 3425 | if shift >= 64 { |
| 3426 | return ErrIntOverflowGenerated |
| 3427 | } |
| 3428 | if iNdEx >= l { |
| 3429 | return io.ErrUnexpectedEOF |
| 3430 | } |
| 3431 | b := dAtA[iNdEx] |
| 3432 | iNdEx++ |
| 3433 | wire |= (uint64(b) & 0x7F) << shift |
| 3434 | if b < 0x80 { |
| 3435 | break |
| 3436 | } |
| 3437 | } |
| 3438 | fieldNum := int32(wire >> 3) |
| 3439 | wireType := int(wire & 0x7) |
| 3440 | if wireType == 4 { |
| 3441 | return fmt.Errorf("proto: DaemonSetUpdateStrategy: wiretype end group for non-group") |
| 3442 | } |
| 3443 | if fieldNum <= 0 { |
| 3444 | return fmt.Errorf("proto: DaemonSetUpdateStrategy: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3445 | } |
| 3446 | switch fieldNum { |
| 3447 | case 1: |
| 3448 | if wireType != 2 { |
| 3449 | return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 3450 | } |
| 3451 | var stringLen uint64 |
| 3452 | for shift := uint(0); ; shift += 7 { |
| 3453 | if shift >= 64 { |
| 3454 | return ErrIntOverflowGenerated |
| 3455 | } |
| 3456 | if iNdEx >= l { |
| 3457 | return io.ErrUnexpectedEOF |
| 3458 | } |
| 3459 | b := dAtA[iNdEx] |
| 3460 | iNdEx++ |
| 3461 | stringLen |= (uint64(b) & 0x7F) << shift |
| 3462 | if b < 0x80 { |
| 3463 | break |
| 3464 | } |
| 3465 | } |
| 3466 | intStringLen := int(stringLen) |
| 3467 | if intStringLen < 0 { |
| 3468 | return ErrInvalidLengthGenerated |
| 3469 | } |
| 3470 | postIndex := iNdEx + intStringLen |
| 3471 | if postIndex > l { |
| 3472 | return io.ErrUnexpectedEOF |
| 3473 | } |
| 3474 | m.Type = DaemonSetUpdateStrategyType(dAtA[iNdEx:postIndex]) |
| 3475 | iNdEx = postIndex |
| 3476 | case 2: |
| 3477 | if wireType != 2 { |
| 3478 | return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType) |
| 3479 | } |
| 3480 | var msglen int |
| 3481 | for shift := uint(0); ; shift += 7 { |
| 3482 | if shift >= 64 { |
| 3483 | return ErrIntOverflowGenerated |
| 3484 | } |
| 3485 | if iNdEx >= l { |
| 3486 | return io.ErrUnexpectedEOF |
| 3487 | } |
| 3488 | b := dAtA[iNdEx] |
| 3489 | iNdEx++ |
| 3490 | msglen |= (int(b) & 0x7F) << shift |
| 3491 | if b < 0x80 { |
| 3492 | break |
| 3493 | } |
| 3494 | } |
| 3495 | if msglen < 0 { |
| 3496 | return ErrInvalidLengthGenerated |
| 3497 | } |
| 3498 | postIndex := iNdEx + msglen |
| 3499 | if postIndex > l { |
| 3500 | return io.ErrUnexpectedEOF |
| 3501 | } |
| 3502 | if m.RollingUpdate == nil { |
| 3503 | m.RollingUpdate = &RollingUpdateDaemonSet{} |
| 3504 | } |
| 3505 | if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3506 | return err |
| 3507 | } |
| 3508 | iNdEx = postIndex |
| 3509 | default: |
| 3510 | iNdEx = preIndex |
| 3511 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3512 | if err != nil { |
| 3513 | return err |
| 3514 | } |
| 3515 | if skippy < 0 { |
| 3516 | return ErrInvalidLengthGenerated |
| 3517 | } |
| 3518 | if (iNdEx + skippy) > l { |
| 3519 | return io.ErrUnexpectedEOF |
| 3520 | } |
| 3521 | iNdEx += skippy |
| 3522 | } |
| 3523 | } |
| 3524 | |
| 3525 | if iNdEx > l { |
| 3526 | return io.ErrUnexpectedEOF |
| 3527 | } |
| 3528 | return nil |
| 3529 | } |
| 3530 | func (m *Deployment) Unmarshal(dAtA []byte) error { |
| 3531 | l := len(dAtA) |
| 3532 | iNdEx := 0 |
| 3533 | for iNdEx < l { |
| 3534 | preIndex := iNdEx |
| 3535 | var wire uint64 |
| 3536 | for shift := uint(0); ; shift += 7 { |
| 3537 | if shift >= 64 { |
| 3538 | return ErrIntOverflowGenerated |
| 3539 | } |
| 3540 | if iNdEx >= l { |
| 3541 | return io.ErrUnexpectedEOF |
| 3542 | } |
| 3543 | b := dAtA[iNdEx] |
| 3544 | iNdEx++ |
| 3545 | wire |= (uint64(b) & 0x7F) << shift |
| 3546 | if b < 0x80 { |
| 3547 | break |
| 3548 | } |
| 3549 | } |
| 3550 | fieldNum := int32(wire >> 3) |
| 3551 | wireType := int(wire & 0x7) |
| 3552 | if wireType == 4 { |
| 3553 | return fmt.Errorf("proto: Deployment: wiretype end group for non-group") |
| 3554 | } |
| 3555 | if fieldNum <= 0 { |
| 3556 | return fmt.Errorf("proto: Deployment: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3557 | } |
| 3558 | switch fieldNum { |
| 3559 | case 1: |
| 3560 | if wireType != 2 { |
| 3561 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 3562 | } |
| 3563 | var msglen int |
| 3564 | for shift := uint(0); ; shift += 7 { |
| 3565 | if shift >= 64 { |
| 3566 | return ErrIntOverflowGenerated |
| 3567 | } |
| 3568 | if iNdEx >= l { |
| 3569 | return io.ErrUnexpectedEOF |
| 3570 | } |
| 3571 | b := dAtA[iNdEx] |
| 3572 | iNdEx++ |
| 3573 | msglen |= (int(b) & 0x7F) << shift |
| 3574 | if b < 0x80 { |
| 3575 | break |
| 3576 | } |
| 3577 | } |
| 3578 | if msglen < 0 { |
| 3579 | return ErrInvalidLengthGenerated |
| 3580 | } |
| 3581 | postIndex := iNdEx + msglen |
| 3582 | if postIndex > l { |
| 3583 | return io.ErrUnexpectedEOF |
| 3584 | } |
| 3585 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3586 | return err |
| 3587 | } |
| 3588 | iNdEx = postIndex |
| 3589 | case 2: |
| 3590 | if wireType != 2 { |
| 3591 | return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) |
| 3592 | } |
| 3593 | var msglen int |
| 3594 | for shift := uint(0); ; shift += 7 { |
| 3595 | if shift >= 64 { |
| 3596 | return ErrIntOverflowGenerated |
| 3597 | } |
| 3598 | if iNdEx >= l { |
| 3599 | return io.ErrUnexpectedEOF |
| 3600 | } |
| 3601 | b := dAtA[iNdEx] |
| 3602 | iNdEx++ |
| 3603 | msglen |= (int(b) & 0x7F) << shift |
| 3604 | if b < 0x80 { |
| 3605 | break |
| 3606 | } |
| 3607 | } |
| 3608 | if msglen < 0 { |
| 3609 | return ErrInvalidLengthGenerated |
| 3610 | } |
| 3611 | postIndex := iNdEx + msglen |
| 3612 | if postIndex > l { |
| 3613 | return io.ErrUnexpectedEOF |
| 3614 | } |
| 3615 | if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3616 | return err |
| 3617 | } |
| 3618 | iNdEx = postIndex |
| 3619 | case 3: |
| 3620 | if wireType != 2 { |
| 3621 | return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 3622 | } |
| 3623 | var msglen int |
| 3624 | for shift := uint(0); ; shift += 7 { |
| 3625 | if shift >= 64 { |
| 3626 | return ErrIntOverflowGenerated |
| 3627 | } |
| 3628 | if iNdEx >= l { |
| 3629 | return io.ErrUnexpectedEOF |
| 3630 | } |
| 3631 | b := dAtA[iNdEx] |
| 3632 | iNdEx++ |
| 3633 | msglen |= (int(b) & 0x7F) << shift |
| 3634 | if b < 0x80 { |
| 3635 | break |
| 3636 | } |
| 3637 | } |
| 3638 | if msglen < 0 { |
| 3639 | return ErrInvalidLengthGenerated |
| 3640 | } |
| 3641 | postIndex := iNdEx + msglen |
| 3642 | if postIndex > l { |
| 3643 | return io.ErrUnexpectedEOF |
| 3644 | } |
| 3645 | if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3646 | return err |
| 3647 | } |
| 3648 | iNdEx = postIndex |
| 3649 | default: |
| 3650 | iNdEx = preIndex |
| 3651 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3652 | if err != nil { |
| 3653 | return err |
| 3654 | } |
| 3655 | if skippy < 0 { |
| 3656 | return ErrInvalidLengthGenerated |
| 3657 | } |
| 3658 | if (iNdEx + skippy) > l { |
| 3659 | return io.ErrUnexpectedEOF |
| 3660 | } |
| 3661 | iNdEx += skippy |
| 3662 | } |
| 3663 | } |
| 3664 | |
| 3665 | if iNdEx > l { |
| 3666 | return io.ErrUnexpectedEOF |
| 3667 | } |
| 3668 | return nil |
| 3669 | } |
| 3670 | func (m *DeploymentCondition) Unmarshal(dAtA []byte) error { |
| 3671 | l := len(dAtA) |
| 3672 | iNdEx := 0 |
| 3673 | for iNdEx < l { |
| 3674 | preIndex := iNdEx |
| 3675 | var wire uint64 |
| 3676 | for shift := uint(0); ; shift += 7 { |
| 3677 | if shift >= 64 { |
| 3678 | return ErrIntOverflowGenerated |
| 3679 | } |
| 3680 | if iNdEx >= l { |
| 3681 | return io.ErrUnexpectedEOF |
| 3682 | } |
| 3683 | b := dAtA[iNdEx] |
| 3684 | iNdEx++ |
| 3685 | wire |= (uint64(b) & 0x7F) << shift |
| 3686 | if b < 0x80 { |
| 3687 | break |
| 3688 | } |
| 3689 | } |
| 3690 | fieldNum := int32(wire >> 3) |
| 3691 | wireType := int(wire & 0x7) |
| 3692 | if wireType == 4 { |
| 3693 | return fmt.Errorf("proto: DeploymentCondition: wiretype end group for non-group") |
| 3694 | } |
| 3695 | if fieldNum <= 0 { |
| 3696 | return fmt.Errorf("proto: DeploymentCondition: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3697 | } |
| 3698 | switch fieldNum { |
| 3699 | case 1: |
| 3700 | if wireType != 2 { |
| 3701 | return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 3702 | } |
| 3703 | var stringLen uint64 |
| 3704 | for shift := uint(0); ; shift += 7 { |
| 3705 | if shift >= 64 { |
| 3706 | return ErrIntOverflowGenerated |
| 3707 | } |
| 3708 | if iNdEx >= l { |
| 3709 | return io.ErrUnexpectedEOF |
| 3710 | } |
| 3711 | b := dAtA[iNdEx] |
| 3712 | iNdEx++ |
| 3713 | stringLen |= (uint64(b) & 0x7F) << shift |
| 3714 | if b < 0x80 { |
| 3715 | break |
| 3716 | } |
| 3717 | } |
| 3718 | intStringLen := int(stringLen) |
| 3719 | if intStringLen < 0 { |
| 3720 | return ErrInvalidLengthGenerated |
| 3721 | } |
| 3722 | postIndex := iNdEx + intStringLen |
| 3723 | if postIndex > l { |
| 3724 | return io.ErrUnexpectedEOF |
| 3725 | } |
| 3726 | m.Type = DeploymentConditionType(dAtA[iNdEx:postIndex]) |
| 3727 | iNdEx = postIndex |
| 3728 | case 2: |
| 3729 | if wireType != 2 { |
| 3730 | return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 3731 | } |
| 3732 | var stringLen uint64 |
| 3733 | for shift := uint(0); ; shift += 7 { |
| 3734 | if shift >= 64 { |
| 3735 | return ErrIntOverflowGenerated |
| 3736 | } |
| 3737 | if iNdEx >= l { |
| 3738 | return io.ErrUnexpectedEOF |
| 3739 | } |
| 3740 | b := dAtA[iNdEx] |
| 3741 | iNdEx++ |
| 3742 | stringLen |= (uint64(b) & 0x7F) << shift |
| 3743 | if b < 0x80 { |
| 3744 | break |
| 3745 | } |
| 3746 | } |
| 3747 | intStringLen := int(stringLen) |
| 3748 | if intStringLen < 0 { |
| 3749 | return ErrInvalidLengthGenerated |
| 3750 | } |
| 3751 | postIndex := iNdEx + intStringLen |
| 3752 | if postIndex > l { |
| 3753 | return io.ErrUnexpectedEOF |
| 3754 | } |
| 3755 | m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex]) |
| 3756 | iNdEx = postIndex |
| 3757 | case 4: |
| 3758 | if wireType != 2 { |
| 3759 | return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) |
| 3760 | } |
| 3761 | var stringLen uint64 |
| 3762 | for shift := uint(0); ; shift += 7 { |
| 3763 | if shift >= 64 { |
| 3764 | return ErrIntOverflowGenerated |
| 3765 | } |
| 3766 | if iNdEx >= l { |
| 3767 | return io.ErrUnexpectedEOF |
| 3768 | } |
| 3769 | b := dAtA[iNdEx] |
| 3770 | iNdEx++ |
| 3771 | stringLen |= (uint64(b) & 0x7F) << shift |
| 3772 | if b < 0x80 { |
| 3773 | break |
| 3774 | } |
| 3775 | } |
| 3776 | intStringLen := int(stringLen) |
| 3777 | if intStringLen < 0 { |
| 3778 | return ErrInvalidLengthGenerated |
| 3779 | } |
| 3780 | postIndex := iNdEx + intStringLen |
| 3781 | if postIndex > l { |
| 3782 | return io.ErrUnexpectedEOF |
| 3783 | } |
| 3784 | m.Reason = string(dAtA[iNdEx:postIndex]) |
| 3785 | iNdEx = postIndex |
| 3786 | case 5: |
| 3787 | if wireType != 2 { |
| 3788 | return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) |
| 3789 | } |
| 3790 | var stringLen uint64 |
| 3791 | for shift := uint(0); ; shift += 7 { |
| 3792 | if shift >= 64 { |
| 3793 | return ErrIntOverflowGenerated |
| 3794 | } |
| 3795 | if iNdEx >= l { |
| 3796 | return io.ErrUnexpectedEOF |
| 3797 | } |
| 3798 | b := dAtA[iNdEx] |
| 3799 | iNdEx++ |
| 3800 | stringLen |= (uint64(b) & 0x7F) << shift |
| 3801 | if b < 0x80 { |
| 3802 | break |
| 3803 | } |
| 3804 | } |
| 3805 | intStringLen := int(stringLen) |
| 3806 | if intStringLen < 0 { |
| 3807 | return ErrInvalidLengthGenerated |
| 3808 | } |
| 3809 | postIndex := iNdEx + intStringLen |
| 3810 | if postIndex > l { |
| 3811 | return io.ErrUnexpectedEOF |
| 3812 | } |
| 3813 | m.Message = string(dAtA[iNdEx:postIndex]) |
| 3814 | iNdEx = postIndex |
| 3815 | case 6: |
| 3816 | if wireType != 2 { |
| 3817 | return fmt.Errorf("proto: wrong wireType = %d for field LastUpdateTime", wireType) |
| 3818 | } |
| 3819 | var msglen int |
| 3820 | for shift := uint(0); ; shift += 7 { |
| 3821 | if shift >= 64 { |
| 3822 | return ErrIntOverflowGenerated |
| 3823 | } |
| 3824 | if iNdEx >= l { |
| 3825 | return io.ErrUnexpectedEOF |
| 3826 | } |
| 3827 | b := dAtA[iNdEx] |
| 3828 | iNdEx++ |
| 3829 | msglen |= (int(b) & 0x7F) << shift |
| 3830 | if b < 0x80 { |
| 3831 | break |
| 3832 | } |
| 3833 | } |
| 3834 | if msglen < 0 { |
| 3835 | return ErrInvalidLengthGenerated |
| 3836 | } |
| 3837 | postIndex := iNdEx + msglen |
| 3838 | if postIndex > l { |
| 3839 | return io.ErrUnexpectedEOF |
| 3840 | } |
| 3841 | if err := m.LastUpdateTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3842 | return err |
| 3843 | } |
| 3844 | iNdEx = postIndex |
| 3845 | case 7: |
| 3846 | if wireType != 2 { |
| 3847 | return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) |
| 3848 | } |
| 3849 | var msglen int |
| 3850 | for shift := uint(0); ; shift += 7 { |
| 3851 | if shift >= 64 { |
| 3852 | return ErrIntOverflowGenerated |
| 3853 | } |
| 3854 | if iNdEx >= l { |
| 3855 | return io.ErrUnexpectedEOF |
| 3856 | } |
| 3857 | b := dAtA[iNdEx] |
| 3858 | iNdEx++ |
| 3859 | msglen |= (int(b) & 0x7F) << shift |
| 3860 | if b < 0x80 { |
| 3861 | break |
| 3862 | } |
| 3863 | } |
| 3864 | if msglen < 0 { |
| 3865 | return ErrInvalidLengthGenerated |
| 3866 | } |
| 3867 | postIndex := iNdEx + msglen |
| 3868 | if postIndex > l { |
| 3869 | return io.ErrUnexpectedEOF |
| 3870 | } |
| 3871 | if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3872 | return err |
| 3873 | } |
| 3874 | iNdEx = postIndex |
| 3875 | default: |
| 3876 | iNdEx = preIndex |
| 3877 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3878 | if err != nil { |
| 3879 | return err |
| 3880 | } |
| 3881 | if skippy < 0 { |
| 3882 | return ErrInvalidLengthGenerated |
| 3883 | } |
| 3884 | if (iNdEx + skippy) > l { |
| 3885 | return io.ErrUnexpectedEOF |
| 3886 | } |
| 3887 | iNdEx += skippy |
| 3888 | } |
| 3889 | } |
| 3890 | |
| 3891 | if iNdEx > l { |
| 3892 | return io.ErrUnexpectedEOF |
| 3893 | } |
| 3894 | return nil |
| 3895 | } |
| 3896 | func (m *DeploymentList) Unmarshal(dAtA []byte) error { |
| 3897 | l := len(dAtA) |
| 3898 | iNdEx := 0 |
| 3899 | for iNdEx < l { |
| 3900 | preIndex := iNdEx |
| 3901 | var wire uint64 |
| 3902 | for shift := uint(0); ; shift += 7 { |
| 3903 | if shift >= 64 { |
| 3904 | return ErrIntOverflowGenerated |
| 3905 | } |
| 3906 | if iNdEx >= l { |
| 3907 | return io.ErrUnexpectedEOF |
| 3908 | } |
| 3909 | b := dAtA[iNdEx] |
| 3910 | iNdEx++ |
| 3911 | wire |= (uint64(b) & 0x7F) << shift |
| 3912 | if b < 0x80 { |
| 3913 | break |
| 3914 | } |
| 3915 | } |
| 3916 | fieldNum := int32(wire >> 3) |
| 3917 | wireType := int(wire & 0x7) |
| 3918 | if wireType == 4 { |
| 3919 | return fmt.Errorf("proto: DeploymentList: wiretype end group for non-group") |
| 3920 | } |
| 3921 | if fieldNum <= 0 { |
| 3922 | return fmt.Errorf("proto: DeploymentList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 3923 | } |
| 3924 | switch fieldNum { |
| 3925 | case 1: |
| 3926 | if wireType != 2 { |
| 3927 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 3928 | } |
| 3929 | var msglen int |
| 3930 | for shift := uint(0); ; shift += 7 { |
| 3931 | if shift >= 64 { |
| 3932 | return ErrIntOverflowGenerated |
| 3933 | } |
| 3934 | if iNdEx >= l { |
| 3935 | return io.ErrUnexpectedEOF |
| 3936 | } |
| 3937 | b := dAtA[iNdEx] |
| 3938 | iNdEx++ |
| 3939 | msglen |= (int(b) & 0x7F) << shift |
| 3940 | if b < 0x80 { |
| 3941 | break |
| 3942 | } |
| 3943 | } |
| 3944 | if msglen < 0 { |
| 3945 | return ErrInvalidLengthGenerated |
| 3946 | } |
| 3947 | postIndex := iNdEx + msglen |
| 3948 | if postIndex > l { |
| 3949 | return io.ErrUnexpectedEOF |
| 3950 | } |
| 3951 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3952 | return err |
| 3953 | } |
| 3954 | iNdEx = postIndex |
| 3955 | case 2: |
| 3956 | if wireType != 2 { |
| 3957 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 3958 | } |
| 3959 | var msglen int |
| 3960 | for shift := uint(0); ; shift += 7 { |
| 3961 | if shift >= 64 { |
| 3962 | return ErrIntOverflowGenerated |
| 3963 | } |
| 3964 | if iNdEx >= l { |
| 3965 | return io.ErrUnexpectedEOF |
| 3966 | } |
| 3967 | b := dAtA[iNdEx] |
| 3968 | iNdEx++ |
| 3969 | msglen |= (int(b) & 0x7F) << shift |
| 3970 | if b < 0x80 { |
| 3971 | break |
| 3972 | } |
| 3973 | } |
| 3974 | if msglen < 0 { |
| 3975 | return ErrInvalidLengthGenerated |
| 3976 | } |
| 3977 | postIndex := iNdEx + msglen |
| 3978 | if postIndex > l { |
| 3979 | return io.ErrUnexpectedEOF |
| 3980 | } |
| 3981 | m.Items = append(m.Items, Deployment{}) |
| 3982 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 3983 | return err |
| 3984 | } |
| 3985 | iNdEx = postIndex |
| 3986 | default: |
| 3987 | iNdEx = preIndex |
| 3988 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 3989 | if err != nil { |
| 3990 | return err |
| 3991 | } |
| 3992 | if skippy < 0 { |
| 3993 | return ErrInvalidLengthGenerated |
| 3994 | } |
| 3995 | if (iNdEx + skippy) > l { |
| 3996 | return io.ErrUnexpectedEOF |
| 3997 | } |
| 3998 | iNdEx += skippy |
| 3999 | } |
| 4000 | } |
| 4001 | |
| 4002 | if iNdEx > l { |
| 4003 | return io.ErrUnexpectedEOF |
| 4004 | } |
| 4005 | return nil |
| 4006 | } |
| 4007 | func (m *DeploymentSpec) Unmarshal(dAtA []byte) error { |
| 4008 | l := len(dAtA) |
| 4009 | iNdEx := 0 |
| 4010 | for iNdEx < l { |
| 4011 | preIndex := iNdEx |
| 4012 | var wire uint64 |
| 4013 | for shift := uint(0); ; shift += 7 { |
| 4014 | if shift >= 64 { |
| 4015 | return ErrIntOverflowGenerated |
| 4016 | } |
| 4017 | if iNdEx >= l { |
| 4018 | return io.ErrUnexpectedEOF |
| 4019 | } |
| 4020 | b := dAtA[iNdEx] |
| 4021 | iNdEx++ |
| 4022 | wire |= (uint64(b) & 0x7F) << shift |
| 4023 | if b < 0x80 { |
| 4024 | break |
| 4025 | } |
| 4026 | } |
| 4027 | fieldNum := int32(wire >> 3) |
| 4028 | wireType := int(wire & 0x7) |
| 4029 | if wireType == 4 { |
| 4030 | return fmt.Errorf("proto: DeploymentSpec: wiretype end group for non-group") |
| 4031 | } |
| 4032 | if fieldNum <= 0 { |
| 4033 | return fmt.Errorf("proto: DeploymentSpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4034 | } |
| 4035 | switch fieldNum { |
| 4036 | case 1: |
| 4037 | if wireType != 0 { |
| 4038 | return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType) |
| 4039 | } |
| 4040 | var v int32 |
| 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 | v |= (int32(b) & 0x7F) << shift |
| 4051 | if b < 0x80 { |
| 4052 | break |
| 4053 | } |
| 4054 | } |
| 4055 | m.Replicas = &v |
| 4056 | case 2: |
| 4057 | if wireType != 2 { |
| 4058 | return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType) |
| 4059 | } |
| 4060 | var msglen int |
| 4061 | for shift := uint(0); ; shift += 7 { |
| 4062 | if shift >= 64 { |
| 4063 | return ErrIntOverflowGenerated |
| 4064 | } |
| 4065 | if iNdEx >= l { |
| 4066 | return io.ErrUnexpectedEOF |
| 4067 | } |
| 4068 | b := dAtA[iNdEx] |
| 4069 | iNdEx++ |
| 4070 | msglen |= (int(b) & 0x7F) << shift |
| 4071 | if b < 0x80 { |
| 4072 | break |
| 4073 | } |
| 4074 | } |
| 4075 | if msglen < 0 { |
| 4076 | return ErrInvalidLengthGenerated |
| 4077 | } |
| 4078 | postIndex := iNdEx + msglen |
| 4079 | if postIndex > l { |
| 4080 | return io.ErrUnexpectedEOF |
| 4081 | } |
| 4082 | if m.Selector == nil { |
| 4083 | m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} |
| 4084 | } |
| 4085 | if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4086 | return err |
| 4087 | } |
| 4088 | iNdEx = postIndex |
| 4089 | case 3: |
| 4090 | if wireType != 2 { |
| 4091 | return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType) |
| 4092 | } |
| 4093 | var msglen int |
| 4094 | for shift := uint(0); ; shift += 7 { |
| 4095 | if shift >= 64 { |
| 4096 | return ErrIntOverflowGenerated |
| 4097 | } |
| 4098 | if iNdEx >= l { |
| 4099 | return io.ErrUnexpectedEOF |
| 4100 | } |
| 4101 | b := dAtA[iNdEx] |
| 4102 | iNdEx++ |
| 4103 | msglen |= (int(b) & 0x7F) << shift |
| 4104 | if b < 0x80 { |
| 4105 | break |
| 4106 | } |
| 4107 | } |
| 4108 | if msglen < 0 { |
| 4109 | return ErrInvalidLengthGenerated |
| 4110 | } |
| 4111 | postIndex := iNdEx + msglen |
| 4112 | if postIndex > l { |
| 4113 | return io.ErrUnexpectedEOF |
| 4114 | } |
| 4115 | if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4116 | return err |
| 4117 | } |
| 4118 | iNdEx = postIndex |
| 4119 | case 4: |
| 4120 | if wireType != 2 { |
| 4121 | return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType) |
| 4122 | } |
| 4123 | var msglen int |
| 4124 | for shift := uint(0); ; shift += 7 { |
| 4125 | if shift >= 64 { |
| 4126 | return ErrIntOverflowGenerated |
| 4127 | } |
| 4128 | if iNdEx >= l { |
| 4129 | return io.ErrUnexpectedEOF |
| 4130 | } |
| 4131 | b := dAtA[iNdEx] |
| 4132 | iNdEx++ |
| 4133 | msglen |= (int(b) & 0x7F) << shift |
| 4134 | if b < 0x80 { |
| 4135 | break |
| 4136 | } |
| 4137 | } |
| 4138 | if msglen < 0 { |
| 4139 | return ErrInvalidLengthGenerated |
| 4140 | } |
| 4141 | postIndex := iNdEx + msglen |
| 4142 | if postIndex > l { |
| 4143 | return io.ErrUnexpectedEOF |
| 4144 | } |
| 4145 | if err := m.Strategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4146 | return err |
| 4147 | } |
| 4148 | iNdEx = postIndex |
| 4149 | case 5: |
| 4150 | if wireType != 0 { |
| 4151 | return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType) |
| 4152 | } |
| 4153 | m.MinReadySeconds = 0 |
| 4154 | for shift := uint(0); ; shift += 7 { |
| 4155 | if shift >= 64 { |
| 4156 | return ErrIntOverflowGenerated |
| 4157 | } |
| 4158 | if iNdEx >= l { |
| 4159 | return io.ErrUnexpectedEOF |
| 4160 | } |
| 4161 | b := dAtA[iNdEx] |
| 4162 | iNdEx++ |
| 4163 | m.MinReadySeconds |= (int32(b) & 0x7F) << shift |
| 4164 | if b < 0x80 { |
| 4165 | break |
| 4166 | } |
| 4167 | } |
| 4168 | case 6: |
| 4169 | if wireType != 0 { |
| 4170 | return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType) |
| 4171 | } |
| 4172 | var v int32 |
| 4173 | for shift := uint(0); ; shift += 7 { |
| 4174 | if shift >= 64 { |
| 4175 | return ErrIntOverflowGenerated |
| 4176 | } |
| 4177 | if iNdEx >= l { |
| 4178 | return io.ErrUnexpectedEOF |
| 4179 | } |
| 4180 | b := dAtA[iNdEx] |
| 4181 | iNdEx++ |
| 4182 | v |= (int32(b) & 0x7F) << shift |
| 4183 | if b < 0x80 { |
| 4184 | break |
| 4185 | } |
| 4186 | } |
| 4187 | m.RevisionHistoryLimit = &v |
| 4188 | case 7: |
| 4189 | if wireType != 0 { |
| 4190 | return fmt.Errorf("proto: wrong wireType = %d for field Paused", wireType) |
| 4191 | } |
| 4192 | var v int |
| 4193 | for shift := uint(0); ; shift += 7 { |
| 4194 | if shift >= 64 { |
| 4195 | return ErrIntOverflowGenerated |
| 4196 | } |
| 4197 | if iNdEx >= l { |
| 4198 | return io.ErrUnexpectedEOF |
| 4199 | } |
| 4200 | b := dAtA[iNdEx] |
| 4201 | iNdEx++ |
| 4202 | v |= (int(b) & 0x7F) << shift |
| 4203 | if b < 0x80 { |
| 4204 | break |
| 4205 | } |
| 4206 | } |
| 4207 | m.Paused = bool(v != 0) |
| 4208 | case 9: |
| 4209 | if wireType != 0 { |
| 4210 | return fmt.Errorf("proto: wrong wireType = %d for field ProgressDeadlineSeconds", wireType) |
| 4211 | } |
| 4212 | var v int32 |
| 4213 | for shift := uint(0); ; shift += 7 { |
| 4214 | if shift >= 64 { |
| 4215 | return ErrIntOverflowGenerated |
| 4216 | } |
| 4217 | if iNdEx >= l { |
| 4218 | return io.ErrUnexpectedEOF |
| 4219 | } |
| 4220 | b := dAtA[iNdEx] |
| 4221 | iNdEx++ |
| 4222 | v |= (int32(b) & 0x7F) << shift |
| 4223 | if b < 0x80 { |
| 4224 | break |
| 4225 | } |
| 4226 | } |
| 4227 | m.ProgressDeadlineSeconds = &v |
| 4228 | default: |
| 4229 | iNdEx = preIndex |
| 4230 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4231 | if err != nil { |
| 4232 | return err |
| 4233 | } |
| 4234 | if skippy < 0 { |
| 4235 | return ErrInvalidLengthGenerated |
| 4236 | } |
| 4237 | if (iNdEx + skippy) > l { |
| 4238 | return io.ErrUnexpectedEOF |
| 4239 | } |
| 4240 | iNdEx += skippy |
| 4241 | } |
| 4242 | } |
| 4243 | |
| 4244 | if iNdEx > l { |
| 4245 | return io.ErrUnexpectedEOF |
| 4246 | } |
| 4247 | return nil |
| 4248 | } |
| 4249 | func (m *DeploymentStatus) Unmarshal(dAtA []byte) error { |
| 4250 | l := len(dAtA) |
| 4251 | iNdEx := 0 |
| 4252 | for iNdEx < l { |
| 4253 | preIndex := iNdEx |
| 4254 | var wire uint64 |
| 4255 | for shift := uint(0); ; shift += 7 { |
| 4256 | if shift >= 64 { |
| 4257 | return ErrIntOverflowGenerated |
| 4258 | } |
| 4259 | if iNdEx >= l { |
| 4260 | return io.ErrUnexpectedEOF |
| 4261 | } |
| 4262 | b := dAtA[iNdEx] |
| 4263 | iNdEx++ |
| 4264 | wire |= (uint64(b) & 0x7F) << shift |
| 4265 | if b < 0x80 { |
| 4266 | break |
| 4267 | } |
| 4268 | } |
| 4269 | fieldNum := int32(wire >> 3) |
| 4270 | wireType := int(wire & 0x7) |
| 4271 | if wireType == 4 { |
| 4272 | return fmt.Errorf("proto: DeploymentStatus: wiretype end group for non-group") |
| 4273 | } |
| 4274 | if fieldNum <= 0 { |
| 4275 | return fmt.Errorf("proto: DeploymentStatus: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4276 | } |
| 4277 | switch fieldNum { |
| 4278 | case 1: |
| 4279 | if wireType != 0 { |
| 4280 | return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType) |
| 4281 | } |
| 4282 | m.ObservedGeneration = 0 |
| 4283 | for shift := uint(0); ; shift += 7 { |
| 4284 | if shift >= 64 { |
| 4285 | return ErrIntOverflowGenerated |
| 4286 | } |
| 4287 | if iNdEx >= l { |
| 4288 | return io.ErrUnexpectedEOF |
| 4289 | } |
| 4290 | b := dAtA[iNdEx] |
| 4291 | iNdEx++ |
| 4292 | m.ObservedGeneration |= (int64(b) & 0x7F) << shift |
| 4293 | if b < 0x80 { |
| 4294 | break |
| 4295 | } |
| 4296 | } |
| 4297 | case 2: |
| 4298 | if wireType != 0 { |
| 4299 | return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType) |
| 4300 | } |
| 4301 | m.Replicas = 0 |
| 4302 | for shift := uint(0); ; shift += 7 { |
| 4303 | if shift >= 64 { |
| 4304 | return ErrIntOverflowGenerated |
| 4305 | } |
| 4306 | if iNdEx >= l { |
| 4307 | return io.ErrUnexpectedEOF |
| 4308 | } |
| 4309 | b := dAtA[iNdEx] |
| 4310 | iNdEx++ |
| 4311 | m.Replicas |= (int32(b) & 0x7F) << shift |
| 4312 | if b < 0x80 { |
| 4313 | break |
| 4314 | } |
| 4315 | } |
| 4316 | case 3: |
| 4317 | if wireType != 0 { |
| 4318 | return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType) |
| 4319 | } |
| 4320 | m.UpdatedReplicas = 0 |
| 4321 | for shift := uint(0); ; shift += 7 { |
| 4322 | if shift >= 64 { |
| 4323 | return ErrIntOverflowGenerated |
| 4324 | } |
| 4325 | if iNdEx >= l { |
| 4326 | return io.ErrUnexpectedEOF |
| 4327 | } |
| 4328 | b := dAtA[iNdEx] |
| 4329 | iNdEx++ |
| 4330 | m.UpdatedReplicas |= (int32(b) & 0x7F) << shift |
| 4331 | if b < 0x80 { |
| 4332 | break |
| 4333 | } |
| 4334 | } |
| 4335 | case 4: |
| 4336 | if wireType != 0 { |
| 4337 | return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType) |
| 4338 | } |
| 4339 | m.AvailableReplicas = 0 |
| 4340 | for shift := uint(0); ; shift += 7 { |
| 4341 | if shift >= 64 { |
| 4342 | return ErrIntOverflowGenerated |
| 4343 | } |
| 4344 | if iNdEx >= l { |
| 4345 | return io.ErrUnexpectedEOF |
| 4346 | } |
| 4347 | b := dAtA[iNdEx] |
| 4348 | iNdEx++ |
| 4349 | m.AvailableReplicas |= (int32(b) & 0x7F) << shift |
| 4350 | if b < 0x80 { |
| 4351 | break |
| 4352 | } |
| 4353 | } |
| 4354 | case 5: |
| 4355 | if wireType != 0 { |
| 4356 | return fmt.Errorf("proto: wrong wireType = %d for field UnavailableReplicas", wireType) |
| 4357 | } |
| 4358 | m.UnavailableReplicas = 0 |
| 4359 | for shift := uint(0); ; shift += 7 { |
| 4360 | if shift >= 64 { |
| 4361 | return ErrIntOverflowGenerated |
| 4362 | } |
| 4363 | if iNdEx >= l { |
| 4364 | return io.ErrUnexpectedEOF |
| 4365 | } |
| 4366 | b := dAtA[iNdEx] |
| 4367 | iNdEx++ |
| 4368 | m.UnavailableReplicas |= (int32(b) & 0x7F) << shift |
| 4369 | if b < 0x80 { |
| 4370 | break |
| 4371 | } |
| 4372 | } |
| 4373 | case 6: |
| 4374 | if wireType != 2 { |
| 4375 | return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) |
| 4376 | } |
| 4377 | var msglen int |
| 4378 | for shift := uint(0); ; shift += 7 { |
| 4379 | if shift >= 64 { |
| 4380 | return ErrIntOverflowGenerated |
| 4381 | } |
| 4382 | if iNdEx >= l { |
| 4383 | return io.ErrUnexpectedEOF |
| 4384 | } |
| 4385 | b := dAtA[iNdEx] |
| 4386 | iNdEx++ |
| 4387 | msglen |= (int(b) & 0x7F) << shift |
| 4388 | if b < 0x80 { |
| 4389 | break |
| 4390 | } |
| 4391 | } |
| 4392 | if msglen < 0 { |
| 4393 | return ErrInvalidLengthGenerated |
| 4394 | } |
| 4395 | postIndex := iNdEx + msglen |
| 4396 | if postIndex > l { |
| 4397 | return io.ErrUnexpectedEOF |
| 4398 | } |
| 4399 | m.Conditions = append(m.Conditions, DeploymentCondition{}) |
| 4400 | if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4401 | return err |
| 4402 | } |
| 4403 | iNdEx = postIndex |
| 4404 | case 7: |
| 4405 | if wireType != 0 { |
| 4406 | return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType) |
| 4407 | } |
| 4408 | m.ReadyReplicas = 0 |
| 4409 | for shift := uint(0); ; shift += 7 { |
| 4410 | if shift >= 64 { |
| 4411 | return ErrIntOverflowGenerated |
| 4412 | } |
| 4413 | if iNdEx >= l { |
| 4414 | return io.ErrUnexpectedEOF |
| 4415 | } |
| 4416 | b := dAtA[iNdEx] |
| 4417 | iNdEx++ |
| 4418 | m.ReadyReplicas |= (int32(b) & 0x7F) << shift |
| 4419 | if b < 0x80 { |
| 4420 | break |
| 4421 | } |
| 4422 | } |
| 4423 | case 8: |
| 4424 | if wireType != 0 { |
| 4425 | return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType) |
| 4426 | } |
| 4427 | var v int32 |
| 4428 | for shift := uint(0); ; shift += 7 { |
| 4429 | if shift >= 64 { |
| 4430 | return ErrIntOverflowGenerated |
| 4431 | } |
| 4432 | if iNdEx >= l { |
| 4433 | return io.ErrUnexpectedEOF |
| 4434 | } |
| 4435 | b := dAtA[iNdEx] |
| 4436 | iNdEx++ |
| 4437 | v |= (int32(b) & 0x7F) << shift |
| 4438 | if b < 0x80 { |
| 4439 | break |
| 4440 | } |
| 4441 | } |
| 4442 | m.CollisionCount = &v |
| 4443 | default: |
| 4444 | iNdEx = preIndex |
| 4445 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4446 | if err != nil { |
| 4447 | return err |
| 4448 | } |
| 4449 | if skippy < 0 { |
| 4450 | return ErrInvalidLengthGenerated |
| 4451 | } |
| 4452 | if (iNdEx + skippy) > l { |
| 4453 | return io.ErrUnexpectedEOF |
| 4454 | } |
| 4455 | iNdEx += skippy |
| 4456 | } |
| 4457 | } |
| 4458 | |
| 4459 | if iNdEx > l { |
| 4460 | return io.ErrUnexpectedEOF |
| 4461 | } |
| 4462 | return nil |
| 4463 | } |
| 4464 | func (m *DeploymentStrategy) Unmarshal(dAtA []byte) error { |
| 4465 | l := len(dAtA) |
| 4466 | iNdEx := 0 |
| 4467 | for iNdEx < l { |
| 4468 | preIndex := iNdEx |
| 4469 | var wire uint64 |
| 4470 | for shift := uint(0); ; shift += 7 { |
| 4471 | if shift >= 64 { |
| 4472 | return ErrIntOverflowGenerated |
| 4473 | } |
| 4474 | if iNdEx >= l { |
| 4475 | return io.ErrUnexpectedEOF |
| 4476 | } |
| 4477 | b := dAtA[iNdEx] |
| 4478 | iNdEx++ |
| 4479 | wire |= (uint64(b) & 0x7F) << shift |
| 4480 | if b < 0x80 { |
| 4481 | break |
| 4482 | } |
| 4483 | } |
| 4484 | fieldNum := int32(wire >> 3) |
| 4485 | wireType := int(wire & 0x7) |
| 4486 | if wireType == 4 { |
| 4487 | return fmt.Errorf("proto: DeploymentStrategy: wiretype end group for non-group") |
| 4488 | } |
| 4489 | if fieldNum <= 0 { |
| 4490 | return fmt.Errorf("proto: DeploymentStrategy: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4491 | } |
| 4492 | switch fieldNum { |
| 4493 | case 1: |
| 4494 | if wireType != 2 { |
| 4495 | return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 4496 | } |
| 4497 | var stringLen uint64 |
| 4498 | for shift := uint(0); ; shift += 7 { |
| 4499 | if shift >= 64 { |
| 4500 | return ErrIntOverflowGenerated |
| 4501 | } |
| 4502 | if iNdEx >= l { |
| 4503 | return io.ErrUnexpectedEOF |
| 4504 | } |
| 4505 | b := dAtA[iNdEx] |
| 4506 | iNdEx++ |
| 4507 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4508 | if b < 0x80 { |
| 4509 | break |
| 4510 | } |
| 4511 | } |
| 4512 | intStringLen := int(stringLen) |
| 4513 | if intStringLen < 0 { |
| 4514 | return ErrInvalidLengthGenerated |
| 4515 | } |
| 4516 | postIndex := iNdEx + intStringLen |
| 4517 | if postIndex > l { |
| 4518 | return io.ErrUnexpectedEOF |
| 4519 | } |
| 4520 | m.Type = DeploymentStrategyType(dAtA[iNdEx:postIndex]) |
| 4521 | iNdEx = postIndex |
| 4522 | case 2: |
| 4523 | if wireType != 2 { |
| 4524 | return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType) |
| 4525 | } |
| 4526 | var msglen int |
| 4527 | for shift := uint(0); ; shift += 7 { |
| 4528 | if shift >= 64 { |
| 4529 | return ErrIntOverflowGenerated |
| 4530 | } |
| 4531 | if iNdEx >= l { |
| 4532 | return io.ErrUnexpectedEOF |
| 4533 | } |
| 4534 | b := dAtA[iNdEx] |
| 4535 | iNdEx++ |
| 4536 | msglen |= (int(b) & 0x7F) << shift |
| 4537 | if b < 0x80 { |
| 4538 | break |
| 4539 | } |
| 4540 | } |
| 4541 | if msglen < 0 { |
| 4542 | return ErrInvalidLengthGenerated |
| 4543 | } |
| 4544 | postIndex := iNdEx + msglen |
| 4545 | if postIndex > l { |
| 4546 | return io.ErrUnexpectedEOF |
| 4547 | } |
| 4548 | if m.RollingUpdate == nil { |
| 4549 | m.RollingUpdate = &RollingUpdateDeployment{} |
| 4550 | } |
| 4551 | if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4552 | return err |
| 4553 | } |
| 4554 | iNdEx = postIndex |
| 4555 | default: |
| 4556 | iNdEx = preIndex |
| 4557 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4558 | if err != nil { |
| 4559 | return err |
| 4560 | } |
| 4561 | if skippy < 0 { |
| 4562 | return ErrInvalidLengthGenerated |
| 4563 | } |
| 4564 | if (iNdEx + skippy) > l { |
| 4565 | return io.ErrUnexpectedEOF |
| 4566 | } |
| 4567 | iNdEx += skippy |
| 4568 | } |
| 4569 | } |
| 4570 | |
| 4571 | if iNdEx > l { |
| 4572 | return io.ErrUnexpectedEOF |
| 4573 | } |
| 4574 | return nil |
| 4575 | } |
| 4576 | func (m *ReplicaSet) Unmarshal(dAtA []byte) error { |
| 4577 | l := len(dAtA) |
| 4578 | iNdEx := 0 |
| 4579 | for iNdEx < l { |
| 4580 | preIndex := iNdEx |
| 4581 | var wire uint64 |
| 4582 | for shift := uint(0); ; shift += 7 { |
| 4583 | if shift >= 64 { |
| 4584 | return ErrIntOverflowGenerated |
| 4585 | } |
| 4586 | if iNdEx >= l { |
| 4587 | return io.ErrUnexpectedEOF |
| 4588 | } |
| 4589 | b := dAtA[iNdEx] |
| 4590 | iNdEx++ |
| 4591 | wire |= (uint64(b) & 0x7F) << shift |
| 4592 | if b < 0x80 { |
| 4593 | break |
| 4594 | } |
| 4595 | } |
| 4596 | fieldNum := int32(wire >> 3) |
| 4597 | wireType := int(wire & 0x7) |
| 4598 | if wireType == 4 { |
| 4599 | return fmt.Errorf("proto: ReplicaSet: wiretype end group for non-group") |
| 4600 | } |
| 4601 | if fieldNum <= 0 { |
| 4602 | return fmt.Errorf("proto: ReplicaSet: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4603 | } |
| 4604 | switch fieldNum { |
| 4605 | case 1: |
| 4606 | if wireType != 2 { |
| 4607 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 4608 | } |
| 4609 | var msglen int |
| 4610 | for shift := uint(0); ; shift += 7 { |
| 4611 | if shift >= 64 { |
| 4612 | return ErrIntOverflowGenerated |
| 4613 | } |
| 4614 | if iNdEx >= l { |
| 4615 | return io.ErrUnexpectedEOF |
| 4616 | } |
| 4617 | b := dAtA[iNdEx] |
| 4618 | iNdEx++ |
| 4619 | msglen |= (int(b) & 0x7F) << shift |
| 4620 | if b < 0x80 { |
| 4621 | break |
| 4622 | } |
| 4623 | } |
| 4624 | if msglen < 0 { |
| 4625 | return ErrInvalidLengthGenerated |
| 4626 | } |
| 4627 | postIndex := iNdEx + msglen |
| 4628 | if postIndex > l { |
| 4629 | return io.ErrUnexpectedEOF |
| 4630 | } |
| 4631 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4632 | return err |
| 4633 | } |
| 4634 | iNdEx = postIndex |
| 4635 | case 2: |
| 4636 | if wireType != 2 { |
| 4637 | return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) |
| 4638 | } |
| 4639 | var msglen int |
| 4640 | for shift := uint(0); ; shift += 7 { |
| 4641 | if shift >= 64 { |
| 4642 | return ErrIntOverflowGenerated |
| 4643 | } |
| 4644 | if iNdEx >= l { |
| 4645 | return io.ErrUnexpectedEOF |
| 4646 | } |
| 4647 | b := dAtA[iNdEx] |
| 4648 | iNdEx++ |
| 4649 | msglen |= (int(b) & 0x7F) << shift |
| 4650 | if b < 0x80 { |
| 4651 | break |
| 4652 | } |
| 4653 | } |
| 4654 | if msglen < 0 { |
| 4655 | return ErrInvalidLengthGenerated |
| 4656 | } |
| 4657 | postIndex := iNdEx + msglen |
| 4658 | if postIndex > l { |
| 4659 | return io.ErrUnexpectedEOF |
| 4660 | } |
| 4661 | if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4662 | return err |
| 4663 | } |
| 4664 | iNdEx = postIndex |
| 4665 | case 3: |
| 4666 | if wireType != 2 { |
| 4667 | return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 4668 | } |
| 4669 | var msglen int |
| 4670 | for shift := uint(0); ; shift += 7 { |
| 4671 | if shift >= 64 { |
| 4672 | return ErrIntOverflowGenerated |
| 4673 | } |
| 4674 | if iNdEx >= l { |
| 4675 | return io.ErrUnexpectedEOF |
| 4676 | } |
| 4677 | b := dAtA[iNdEx] |
| 4678 | iNdEx++ |
| 4679 | msglen |= (int(b) & 0x7F) << shift |
| 4680 | if b < 0x80 { |
| 4681 | break |
| 4682 | } |
| 4683 | } |
| 4684 | if msglen < 0 { |
| 4685 | return ErrInvalidLengthGenerated |
| 4686 | } |
| 4687 | postIndex := iNdEx + msglen |
| 4688 | if postIndex > l { |
| 4689 | return io.ErrUnexpectedEOF |
| 4690 | } |
| 4691 | if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4692 | return err |
| 4693 | } |
| 4694 | iNdEx = postIndex |
| 4695 | default: |
| 4696 | iNdEx = preIndex |
| 4697 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4698 | if err != nil { |
| 4699 | return err |
| 4700 | } |
| 4701 | if skippy < 0 { |
| 4702 | return ErrInvalidLengthGenerated |
| 4703 | } |
| 4704 | if (iNdEx + skippy) > l { |
| 4705 | return io.ErrUnexpectedEOF |
| 4706 | } |
| 4707 | iNdEx += skippy |
| 4708 | } |
| 4709 | } |
| 4710 | |
| 4711 | if iNdEx > l { |
| 4712 | return io.ErrUnexpectedEOF |
| 4713 | } |
| 4714 | return nil |
| 4715 | } |
| 4716 | func (m *ReplicaSetCondition) Unmarshal(dAtA []byte) error { |
| 4717 | l := len(dAtA) |
| 4718 | iNdEx := 0 |
| 4719 | for iNdEx < l { |
| 4720 | preIndex := iNdEx |
| 4721 | var wire uint64 |
| 4722 | for shift := uint(0); ; shift += 7 { |
| 4723 | if shift >= 64 { |
| 4724 | return ErrIntOverflowGenerated |
| 4725 | } |
| 4726 | if iNdEx >= l { |
| 4727 | return io.ErrUnexpectedEOF |
| 4728 | } |
| 4729 | b := dAtA[iNdEx] |
| 4730 | iNdEx++ |
| 4731 | wire |= (uint64(b) & 0x7F) << shift |
| 4732 | if b < 0x80 { |
| 4733 | break |
| 4734 | } |
| 4735 | } |
| 4736 | fieldNum := int32(wire >> 3) |
| 4737 | wireType := int(wire & 0x7) |
| 4738 | if wireType == 4 { |
| 4739 | return fmt.Errorf("proto: ReplicaSetCondition: wiretype end group for non-group") |
| 4740 | } |
| 4741 | if fieldNum <= 0 { |
| 4742 | return fmt.Errorf("proto: ReplicaSetCondition: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4743 | } |
| 4744 | switch fieldNum { |
| 4745 | case 1: |
| 4746 | if wireType != 2 { |
| 4747 | return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 4748 | } |
| 4749 | var stringLen uint64 |
| 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 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4760 | if b < 0x80 { |
| 4761 | break |
| 4762 | } |
| 4763 | } |
| 4764 | intStringLen := int(stringLen) |
| 4765 | if intStringLen < 0 { |
| 4766 | return ErrInvalidLengthGenerated |
| 4767 | } |
| 4768 | postIndex := iNdEx + intStringLen |
| 4769 | if postIndex > l { |
| 4770 | return io.ErrUnexpectedEOF |
| 4771 | } |
| 4772 | m.Type = ReplicaSetConditionType(dAtA[iNdEx:postIndex]) |
| 4773 | iNdEx = postIndex |
| 4774 | case 2: |
| 4775 | if wireType != 2 { |
| 4776 | return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 4777 | } |
| 4778 | var stringLen uint64 |
| 4779 | for shift := uint(0); ; shift += 7 { |
| 4780 | if shift >= 64 { |
| 4781 | return ErrIntOverflowGenerated |
| 4782 | } |
| 4783 | if iNdEx >= l { |
| 4784 | return io.ErrUnexpectedEOF |
| 4785 | } |
| 4786 | b := dAtA[iNdEx] |
| 4787 | iNdEx++ |
| 4788 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4789 | if b < 0x80 { |
| 4790 | break |
| 4791 | } |
| 4792 | } |
| 4793 | intStringLen := int(stringLen) |
| 4794 | if intStringLen < 0 { |
| 4795 | return ErrInvalidLengthGenerated |
| 4796 | } |
| 4797 | postIndex := iNdEx + intStringLen |
| 4798 | if postIndex > l { |
| 4799 | return io.ErrUnexpectedEOF |
| 4800 | } |
| 4801 | m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex]) |
| 4802 | iNdEx = postIndex |
| 4803 | case 3: |
| 4804 | if wireType != 2 { |
| 4805 | return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) |
| 4806 | } |
| 4807 | var msglen int |
| 4808 | for shift := uint(0); ; shift += 7 { |
| 4809 | if shift >= 64 { |
| 4810 | return ErrIntOverflowGenerated |
| 4811 | } |
| 4812 | if iNdEx >= l { |
| 4813 | return io.ErrUnexpectedEOF |
| 4814 | } |
| 4815 | b := dAtA[iNdEx] |
| 4816 | iNdEx++ |
| 4817 | msglen |= (int(b) & 0x7F) << shift |
| 4818 | if b < 0x80 { |
| 4819 | break |
| 4820 | } |
| 4821 | } |
| 4822 | if msglen < 0 { |
| 4823 | return ErrInvalidLengthGenerated |
| 4824 | } |
| 4825 | postIndex := iNdEx + msglen |
| 4826 | if postIndex > l { |
| 4827 | return io.ErrUnexpectedEOF |
| 4828 | } |
| 4829 | if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4830 | return err |
| 4831 | } |
| 4832 | iNdEx = postIndex |
| 4833 | case 4: |
| 4834 | if wireType != 2 { |
| 4835 | return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) |
| 4836 | } |
| 4837 | var stringLen uint64 |
| 4838 | for shift := uint(0); ; shift += 7 { |
| 4839 | if shift >= 64 { |
| 4840 | return ErrIntOverflowGenerated |
| 4841 | } |
| 4842 | if iNdEx >= l { |
| 4843 | return io.ErrUnexpectedEOF |
| 4844 | } |
| 4845 | b := dAtA[iNdEx] |
| 4846 | iNdEx++ |
| 4847 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4848 | if b < 0x80 { |
| 4849 | break |
| 4850 | } |
| 4851 | } |
| 4852 | intStringLen := int(stringLen) |
| 4853 | if intStringLen < 0 { |
| 4854 | return ErrInvalidLengthGenerated |
| 4855 | } |
| 4856 | postIndex := iNdEx + intStringLen |
| 4857 | if postIndex > l { |
| 4858 | return io.ErrUnexpectedEOF |
| 4859 | } |
| 4860 | m.Reason = string(dAtA[iNdEx:postIndex]) |
| 4861 | iNdEx = postIndex |
| 4862 | case 5: |
| 4863 | if wireType != 2 { |
| 4864 | return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) |
| 4865 | } |
| 4866 | var stringLen uint64 |
| 4867 | for shift := uint(0); ; shift += 7 { |
| 4868 | if shift >= 64 { |
| 4869 | return ErrIntOverflowGenerated |
| 4870 | } |
| 4871 | if iNdEx >= l { |
| 4872 | return io.ErrUnexpectedEOF |
| 4873 | } |
| 4874 | b := dAtA[iNdEx] |
| 4875 | iNdEx++ |
| 4876 | stringLen |= (uint64(b) & 0x7F) << shift |
| 4877 | if b < 0x80 { |
| 4878 | break |
| 4879 | } |
| 4880 | } |
| 4881 | intStringLen := int(stringLen) |
| 4882 | if intStringLen < 0 { |
| 4883 | return ErrInvalidLengthGenerated |
| 4884 | } |
| 4885 | postIndex := iNdEx + intStringLen |
| 4886 | if postIndex > l { |
| 4887 | return io.ErrUnexpectedEOF |
| 4888 | } |
| 4889 | m.Message = string(dAtA[iNdEx:postIndex]) |
| 4890 | iNdEx = postIndex |
| 4891 | default: |
| 4892 | iNdEx = preIndex |
| 4893 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 4894 | if err != nil { |
| 4895 | return err |
| 4896 | } |
| 4897 | if skippy < 0 { |
| 4898 | return ErrInvalidLengthGenerated |
| 4899 | } |
| 4900 | if (iNdEx + skippy) > l { |
| 4901 | return io.ErrUnexpectedEOF |
| 4902 | } |
| 4903 | iNdEx += skippy |
| 4904 | } |
| 4905 | } |
| 4906 | |
| 4907 | if iNdEx > l { |
| 4908 | return io.ErrUnexpectedEOF |
| 4909 | } |
| 4910 | return nil |
| 4911 | } |
| 4912 | func (m *ReplicaSetList) Unmarshal(dAtA []byte) error { |
| 4913 | l := len(dAtA) |
| 4914 | iNdEx := 0 |
| 4915 | for iNdEx < l { |
| 4916 | preIndex := iNdEx |
| 4917 | var wire uint64 |
| 4918 | for shift := uint(0); ; shift += 7 { |
| 4919 | if shift >= 64 { |
| 4920 | return ErrIntOverflowGenerated |
| 4921 | } |
| 4922 | if iNdEx >= l { |
| 4923 | return io.ErrUnexpectedEOF |
| 4924 | } |
| 4925 | b := dAtA[iNdEx] |
| 4926 | iNdEx++ |
| 4927 | wire |= (uint64(b) & 0x7F) << shift |
| 4928 | if b < 0x80 { |
| 4929 | break |
| 4930 | } |
| 4931 | } |
| 4932 | fieldNum := int32(wire >> 3) |
| 4933 | wireType := int(wire & 0x7) |
| 4934 | if wireType == 4 { |
| 4935 | return fmt.Errorf("proto: ReplicaSetList: wiretype end group for non-group") |
| 4936 | } |
| 4937 | if fieldNum <= 0 { |
| 4938 | return fmt.Errorf("proto: ReplicaSetList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4939 | } |
| 4940 | switch fieldNum { |
| 4941 | case 1: |
| 4942 | if wireType != 2 { |
| 4943 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 4944 | } |
| 4945 | var msglen int |
| 4946 | for shift := uint(0); ; shift += 7 { |
| 4947 | if shift >= 64 { |
| 4948 | return ErrIntOverflowGenerated |
| 4949 | } |
| 4950 | if iNdEx >= l { |
| 4951 | return io.ErrUnexpectedEOF |
| 4952 | } |
| 4953 | b := dAtA[iNdEx] |
| 4954 | iNdEx++ |
| 4955 | msglen |= (int(b) & 0x7F) << shift |
| 4956 | if b < 0x80 { |
| 4957 | break |
| 4958 | } |
| 4959 | } |
| 4960 | if msglen < 0 { |
| 4961 | return ErrInvalidLengthGenerated |
| 4962 | } |
| 4963 | postIndex := iNdEx + msglen |
| 4964 | if postIndex > l { |
| 4965 | return io.ErrUnexpectedEOF |
| 4966 | } |
| 4967 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4968 | return err |
| 4969 | } |
| 4970 | iNdEx = postIndex |
| 4971 | case 2: |
| 4972 | if wireType != 2 { |
| 4973 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 4974 | } |
| 4975 | var msglen int |
| 4976 | for shift := uint(0); ; shift += 7 { |
| 4977 | if shift >= 64 { |
| 4978 | return ErrIntOverflowGenerated |
| 4979 | } |
| 4980 | if iNdEx >= l { |
| 4981 | return io.ErrUnexpectedEOF |
| 4982 | } |
| 4983 | b := dAtA[iNdEx] |
| 4984 | iNdEx++ |
| 4985 | msglen |= (int(b) & 0x7F) << shift |
| 4986 | if b < 0x80 { |
| 4987 | break |
| 4988 | } |
| 4989 | } |
| 4990 | if msglen < 0 { |
| 4991 | return ErrInvalidLengthGenerated |
| 4992 | } |
| 4993 | postIndex := iNdEx + msglen |
| 4994 | if postIndex > l { |
| 4995 | return io.ErrUnexpectedEOF |
| 4996 | } |
| 4997 | m.Items = append(m.Items, ReplicaSet{}) |
| 4998 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 4999 | return err |
| 5000 | } |
| 5001 | iNdEx = postIndex |
| 5002 | default: |
| 5003 | iNdEx = preIndex |
| 5004 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5005 | if err != nil { |
| 5006 | return err |
| 5007 | } |
| 5008 | if skippy < 0 { |
| 5009 | return ErrInvalidLengthGenerated |
| 5010 | } |
| 5011 | if (iNdEx + skippy) > l { |
| 5012 | return io.ErrUnexpectedEOF |
| 5013 | } |
| 5014 | iNdEx += skippy |
| 5015 | } |
| 5016 | } |
| 5017 | |
| 5018 | if iNdEx > l { |
| 5019 | return io.ErrUnexpectedEOF |
| 5020 | } |
| 5021 | return nil |
| 5022 | } |
| 5023 | func (m *ReplicaSetSpec) Unmarshal(dAtA []byte) error { |
| 5024 | l := len(dAtA) |
| 5025 | iNdEx := 0 |
| 5026 | for iNdEx < l { |
| 5027 | preIndex := iNdEx |
| 5028 | var wire uint64 |
| 5029 | for shift := uint(0); ; shift += 7 { |
| 5030 | if shift >= 64 { |
| 5031 | return ErrIntOverflowGenerated |
| 5032 | } |
| 5033 | if iNdEx >= l { |
| 5034 | return io.ErrUnexpectedEOF |
| 5035 | } |
| 5036 | b := dAtA[iNdEx] |
| 5037 | iNdEx++ |
| 5038 | wire |= (uint64(b) & 0x7F) << shift |
| 5039 | if b < 0x80 { |
| 5040 | break |
| 5041 | } |
| 5042 | } |
| 5043 | fieldNum := int32(wire >> 3) |
| 5044 | wireType := int(wire & 0x7) |
| 5045 | if wireType == 4 { |
| 5046 | return fmt.Errorf("proto: ReplicaSetSpec: wiretype end group for non-group") |
| 5047 | } |
| 5048 | if fieldNum <= 0 { |
| 5049 | return fmt.Errorf("proto: ReplicaSetSpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5050 | } |
| 5051 | switch fieldNum { |
| 5052 | case 1: |
| 5053 | if wireType != 0 { |
| 5054 | return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType) |
| 5055 | } |
| 5056 | var v int32 |
| 5057 | for shift := uint(0); ; shift += 7 { |
| 5058 | if shift >= 64 { |
| 5059 | return ErrIntOverflowGenerated |
| 5060 | } |
| 5061 | if iNdEx >= l { |
| 5062 | return io.ErrUnexpectedEOF |
| 5063 | } |
| 5064 | b := dAtA[iNdEx] |
| 5065 | iNdEx++ |
| 5066 | v |= (int32(b) & 0x7F) << shift |
| 5067 | if b < 0x80 { |
| 5068 | break |
| 5069 | } |
| 5070 | } |
| 5071 | m.Replicas = &v |
| 5072 | case 2: |
| 5073 | if wireType != 2 { |
| 5074 | return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType) |
| 5075 | } |
| 5076 | var msglen int |
| 5077 | for shift := uint(0); ; shift += 7 { |
| 5078 | if shift >= 64 { |
| 5079 | return ErrIntOverflowGenerated |
| 5080 | } |
| 5081 | if iNdEx >= l { |
| 5082 | return io.ErrUnexpectedEOF |
| 5083 | } |
| 5084 | b := dAtA[iNdEx] |
| 5085 | iNdEx++ |
| 5086 | msglen |= (int(b) & 0x7F) << shift |
| 5087 | if b < 0x80 { |
| 5088 | break |
| 5089 | } |
| 5090 | } |
| 5091 | if msglen < 0 { |
| 5092 | return ErrInvalidLengthGenerated |
| 5093 | } |
| 5094 | postIndex := iNdEx + msglen |
| 5095 | if postIndex > l { |
| 5096 | return io.ErrUnexpectedEOF |
| 5097 | } |
| 5098 | if m.Selector == nil { |
| 5099 | m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} |
| 5100 | } |
| 5101 | if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5102 | return err |
| 5103 | } |
| 5104 | iNdEx = postIndex |
| 5105 | case 3: |
| 5106 | if wireType != 2 { |
| 5107 | return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType) |
| 5108 | } |
| 5109 | var msglen int |
| 5110 | for shift := uint(0); ; shift += 7 { |
| 5111 | if shift >= 64 { |
| 5112 | return ErrIntOverflowGenerated |
| 5113 | } |
| 5114 | if iNdEx >= l { |
| 5115 | return io.ErrUnexpectedEOF |
| 5116 | } |
| 5117 | b := dAtA[iNdEx] |
| 5118 | iNdEx++ |
| 5119 | msglen |= (int(b) & 0x7F) << shift |
| 5120 | if b < 0x80 { |
| 5121 | break |
| 5122 | } |
| 5123 | } |
| 5124 | if msglen < 0 { |
| 5125 | return ErrInvalidLengthGenerated |
| 5126 | } |
| 5127 | postIndex := iNdEx + msglen |
| 5128 | if postIndex > l { |
| 5129 | return io.ErrUnexpectedEOF |
| 5130 | } |
| 5131 | if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5132 | return err |
| 5133 | } |
| 5134 | iNdEx = postIndex |
| 5135 | case 4: |
| 5136 | if wireType != 0 { |
| 5137 | return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType) |
| 5138 | } |
| 5139 | m.MinReadySeconds = 0 |
| 5140 | for shift := uint(0); ; shift += 7 { |
| 5141 | if shift >= 64 { |
| 5142 | return ErrIntOverflowGenerated |
| 5143 | } |
| 5144 | if iNdEx >= l { |
| 5145 | return io.ErrUnexpectedEOF |
| 5146 | } |
| 5147 | b := dAtA[iNdEx] |
| 5148 | iNdEx++ |
| 5149 | m.MinReadySeconds |= (int32(b) & 0x7F) << shift |
| 5150 | if b < 0x80 { |
| 5151 | break |
| 5152 | } |
| 5153 | } |
| 5154 | default: |
| 5155 | iNdEx = preIndex |
| 5156 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5157 | if err != nil { |
| 5158 | return err |
| 5159 | } |
| 5160 | if skippy < 0 { |
| 5161 | return ErrInvalidLengthGenerated |
| 5162 | } |
| 5163 | if (iNdEx + skippy) > l { |
| 5164 | return io.ErrUnexpectedEOF |
| 5165 | } |
| 5166 | iNdEx += skippy |
| 5167 | } |
| 5168 | } |
| 5169 | |
| 5170 | if iNdEx > l { |
| 5171 | return io.ErrUnexpectedEOF |
| 5172 | } |
| 5173 | return nil |
| 5174 | } |
| 5175 | func (m *ReplicaSetStatus) Unmarshal(dAtA []byte) error { |
| 5176 | l := len(dAtA) |
| 5177 | iNdEx := 0 |
| 5178 | for iNdEx < l { |
| 5179 | preIndex := iNdEx |
| 5180 | var wire uint64 |
| 5181 | for shift := uint(0); ; shift += 7 { |
| 5182 | if shift >= 64 { |
| 5183 | return ErrIntOverflowGenerated |
| 5184 | } |
| 5185 | if iNdEx >= l { |
| 5186 | return io.ErrUnexpectedEOF |
| 5187 | } |
| 5188 | b := dAtA[iNdEx] |
| 5189 | iNdEx++ |
| 5190 | wire |= (uint64(b) & 0x7F) << shift |
| 5191 | if b < 0x80 { |
| 5192 | break |
| 5193 | } |
| 5194 | } |
| 5195 | fieldNum := int32(wire >> 3) |
| 5196 | wireType := int(wire & 0x7) |
| 5197 | if wireType == 4 { |
| 5198 | return fmt.Errorf("proto: ReplicaSetStatus: wiretype end group for non-group") |
| 5199 | } |
| 5200 | if fieldNum <= 0 { |
| 5201 | return fmt.Errorf("proto: ReplicaSetStatus: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5202 | } |
| 5203 | switch fieldNum { |
| 5204 | case 1: |
| 5205 | if wireType != 0 { |
| 5206 | return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType) |
| 5207 | } |
| 5208 | m.Replicas = 0 |
| 5209 | for shift := uint(0); ; shift += 7 { |
| 5210 | if shift >= 64 { |
| 5211 | return ErrIntOverflowGenerated |
| 5212 | } |
| 5213 | if iNdEx >= l { |
| 5214 | return io.ErrUnexpectedEOF |
| 5215 | } |
| 5216 | b := dAtA[iNdEx] |
| 5217 | iNdEx++ |
| 5218 | m.Replicas |= (int32(b) & 0x7F) << shift |
| 5219 | if b < 0x80 { |
| 5220 | break |
| 5221 | } |
| 5222 | } |
| 5223 | case 2: |
| 5224 | if wireType != 0 { |
| 5225 | return fmt.Errorf("proto: wrong wireType = %d for field FullyLabeledReplicas", wireType) |
| 5226 | } |
| 5227 | m.FullyLabeledReplicas = 0 |
| 5228 | for shift := uint(0); ; shift += 7 { |
| 5229 | if shift >= 64 { |
| 5230 | return ErrIntOverflowGenerated |
| 5231 | } |
| 5232 | if iNdEx >= l { |
| 5233 | return io.ErrUnexpectedEOF |
| 5234 | } |
| 5235 | b := dAtA[iNdEx] |
| 5236 | iNdEx++ |
| 5237 | m.FullyLabeledReplicas |= (int32(b) & 0x7F) << shift |
| 5238 | if b < 0x80 { |
| 5239 | break |
| 5240 | } |
| 5241 | } |
| 5242 | case 3: |
| 5243 | if wireType != 0 { |
| 5244 | return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType) |
| 5245 | } |
| 5246 | m.ObservedGeneration = 0 |
| 5247 | for shift := uint(0); ; shift += 7 { |
| 5248 | if shift >= 64 { |
| 5249 | return ErrIntOverflowGenerated |
| 5250 | } |
| 5251 | if iNdEx >= l { |
| 5252 | return io.ErrUnexpectedEOF |
| 5253 | } |
| 5254 | b := dAtA[iNdEx] |
| 5255 | iNdEx++ |
| 5256 | m.ObservedGeneration |= (int64(b) & 0x7F) << shift |
| 5257 | if b < 0x80 { |
| 5258 | break |
| 5259 | } |
| 5260 | } |
| 5261 | case 4: |
| 5262 | if wireType != 0 { |
| 5263 | return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType) |
| 5264 | } |
| 5265 | m.ReadyReplicas = 0 |
| 5266 | for shift := uint(0); ; shift += 7 { |
| 5267 | if shift >= 64 { |
| 5268 | return ErrIntOverflowGenerated |
| 5269 | } |
| 5270 | if iNdEx >= l { |
| 5271 | return io.ErrUnexpectedEOF |
| 5272 | } |
| 5273 | b := dAtA[iNdEx] |
| 5274 | iNdEx++ |
| 5275 | m.ReadyReplicas |= (int32(b) & 0x7F) << shift |
| 5276 | if b < 0x80 { |
| 5277 | break |
| 5278 | } |
| 5279 | } |
| 5280 | case 5: |
| 5281 | if wireType != 0 { |
| 5282 | return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType) |
| 5283 | } |
| 5284 | m.AvailableReplicas = 0 |
| 5285 | for shift := uint(0); ; shift += 7 { |
| 5286 | if shift >= 64 { |
| 5287 | return ErrIntOverflowGenerated |
| 5288 | } |
| 5289 | if iNdEx >= l { |
| 5290 | return io.ErrUnexpectedEOF |
| 5291 | } |
| 5292 | b := dAtA[iNdEx] |
| 5293 | iNdEx++ |
| 5294 | m.AvailableReplicas |= (int32(b) & 0x7F) << shift |
| 5295 | if b < 0x80 { |
| 5296 | break |
| 5297 | } |
| 5298 | } |
| 5299 | case 6: |
| 5300 | if wireType != 2 { |
| 5301 | return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) |
| 5302 | } |
| 5303 | var msglen int |
| 5304 | for shift := uint(0); ; shift += 7 { |
| 5305 | if shift >= 64 { |
| 5306 | return ErrIntOverflowGenerated |
| 5307 | } |
| 5308 | if iNdEx >= l { |
| 5309 | return io.ErrUnexpectedEOF |
| 5310 | } |
| 5311 | b := dAtA[iNdEx] |
| 5312 | iNdEx++ |
| 5313 | msglen |= (int(b) & 0x7F) << shift |
| 5314 | if b < 0x80 { |
| 5315 | break |
| 5316 | } |
| 5317 | } |
| 5318 | if msglen < 0 { |
| 5319 | return ErrInvalidLengthGenerated |
| 5320 | } |
| 5321 | postIndex := iNdEx + msglen |
| 5322 | if postIndex > l { |
| 5323 | return io.ErrUnexpectedEOF |
| 5324 | } |
| 5325 | m.Conditions = append(m.Conditions, ReplicaSetCondition{}) |
| 5326 | if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5327 | return err |
| 5328 | } |
| 5329 | iNdEx = postIndex |
| 5330 | default: |
| 5331 | iNdEx = preIndex |
| 5332 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5333 | if err != nil { |
| 5334 | return err |
| 5335 | } |
| 5336 | if skippy < 0 { |
| 5337 | return ErrInvalidLengthGenerated |
| 5338 | } |
| 5339 | if (iNdEx + skippy) > l { |
| 5340 | return io.ErrUnexpectedEOF |
| 5341 | } |
| 5342 | iNdEx += skippy |
| 5343 | } |
| 5344 | } |
| 5345 | |
| 5346 | if iNdEx > l { |
| 5347 | return io.ErrUnexpectedEOF |
| 5348 | } |
| 5349 | return nil |
| 5350 | } |
| 5351 | func (m *RollingUpdateDaemonSet) Unmarshal(dAtA []byte) error { |
| 5352 | l := len(dAtA) |
| 5353 | iNdEx := 0 |
| 5354 | for iNdEx < l { |
| 5355 | preIndex := iNdEx |
| 5356 | var wire uint64 |
| 5357 | for shift := uint(0); ; shift += 7 { |
| 5358 | if shift >= 64 { |
| 5359 | return ErrIntOverflowGenerated |
| 5360 | } |
| 5361 | if iNdEx >= l { |
| 5362 | return io.ErrUnexpectedEOF |
| 5363 | } |
| 5364 | b := dAtA[iNdEx] |
| 5365 | iNdEx++ |
| 5366 | wire |= (uint64(b) & 0x7F) << shift |
| 5367 | if b < 0x80 { |
| 5368 | break |
| 5369 | } |
| 5370 | } |
| 5371 | fieldNum := int32(wire >> 3) |
| 5372 | wireType := int(wire & 0x7) |
| 5373 | if wireType == 4 { |
| 5374 | return fmt.Errorf("proto: RollingUpdateDaemonSet: wiretype end group for non-group") |
| 5375 | } |
| 5376 | if fieldNum <= 0 { |
| 5377 | return fmt.Errorf("proto: RollingUpdateDaemonSet: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5378 | } |
| 5379 | switch fieldNum { |
| 5380 | case 1: |
| 5381 | if wireType != 2 { |
| 5382 | return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType) |
| 5383 | } |
| 5384 | var msglen int |
| 5385 | for shift := uint(0); ; shift += 7 { |
| 5386 | if shift >= 64 { |
| 5387 | return ErrIntOverflowGenerated |
| 5388 | } |
| 5389 | if iNdEx >= l { |
| 5390 | return io.ErrUnexpectedEOF |
| 5391 | } |
| 5392 | b := dAtA[iNdEx] |
| 5393 | iNdEx++ |
| 5394 | msglen |= (int(b) & 0x7F) << shift |
| 5395 | if b < 0x80 { |
| 5396 | break |
| 5397 | } |
| 5398 | } |
| 5399 | if msglen < 0 { |
| 5400 | return ErrInvalidLengthGenerated |
| 5401 | } |
| 5402 | postIndex := iNdEx + msglen |
| 5403 | if postIndex > l { |
| 5404 | return io.ErrUnexpectedEOF |
| 5405 | } |
| 5406 | if m.MaxUnavailable == nil { |
| 5407 | m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{} |
| 5408 | } |
| 5409 | if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5410 | return err |
| 5411 | } |
| 5412 | iNdEx = postIndex |
| 5413 | default: |
| 5414 | iNdEx = preIndex |
| 5415 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5416 | if err != nil { |
| 5417 | return err |
| 5418 | } |
| 5419 | if skippy < 0 { |
| 5420 | return ErrInvalidLengthGenerated |
| 5421 | } |
| 5422 | if (iNdEx + skippy) > l { |
| 5423 | return io.ErrUnexpectedEOF |
| 5424 | } |
| 5425 | iNdEx += skippy |
| 5426 | } |
| 5427 | } |
| 5428 | |
| 5429 | if iNdEx > l { |
| 5430 | return io.ErrUnexpectedEOF |
| 5431 | } |
| 5432 | return nil |
| 5433 | } |
| 5434 | func (m *RollingUpdateDeployment) Unmarshal(dAtA []byte) error { |
| 5435 | l := len(dAtA) |
| 5436 | iNdEx := 0 |
| 5437 | for iNdEx < l { |
| 5438 | preIndex := iNdEx |
| 5439 | var wire uint64 |
| 5440 | for shift := uint(0); ; shift += 7 { |
| 5441 | if shift >= 64 { |
| 5442 | return ErrIntOverflowGenerated |
| 5443 | } |
| 5444 | if iNdEx >= l { |
| 5445 | return io.ErrUnexpectedEOF |
| 5446 | } |
| 5447 | b := dAtA[iNdEx] |
| 5448 | iNdEx++ |
| 5449 | wire |= (uint64(b) & 0x7F) << shift |
| 5450 | if b < 0x80 { |
| 5451 | break |
| 5452 | } |
| 5453 | } |
| 5454 | fieldNum := int32(wire >> 3) |
| 5455 | wireType := int(wire & 0x7) |
| 5456 | if wireType == 4 { |
| 5457 | return fmt.Errorf("proto: RollingUpdateDeployment: wiretype end group for non-group") |
| 5458 | } |
| 5459 | if fieldNum <= 0 { |
| 5460 | return fmt.Errorf("proto: RollingUpdateDeployment: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5461 | } |
| 5462 | switch fieldNum { |
| 5463 | case 1: |
| 5464 | if wireType != 2 { |
| 5465 | return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType) |
| 5466 | } |
| 5467 | var msglen int |
| 5468 | for shift := uint(0); ; shift += 7 { |
| 5469 | if shift >= 64 { |
| 5470 | return ErrIntOverflowGenerated |
| 5471 | } |
| 5472 | if iNdEx >= l { |
| 5473 | return io.ErrUnexpectedEOF |
| 5474 | } |
| 5475 | b := dAtA[iNdEx] |
| 5476 | iNdEx++ |
| 5477 | msglen |= (int(b) & 0x7F) << shift |
| 5478 | if b < 0x80 { |
| 5479 | break |
| 5480 | } |
| 5481 | } |
| 5482 | if msglen < 0 { |
| 5483 | return ErrInvalidLengthGenerated |
| 5484 | } |
| 5485 | postIndex := iNdEx + msglen |
| 5486 | if postIndex > l { |
| 5487 | return io.ErrUnexpectedEOF |
| 5488 | } |
| 5489 | if m.MaxUnavailable == nil { |
| 5490 | m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{} |
| 5491 | } |
| 5492 | if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5493 | return err |
| 5494 | } |
| 5495 | iNdEx = postIndex |
| 5496 | case 2: |
| 5497 | if wireType != 2 { |
| 5498 | return fmt.Errorf("proto: wrong wireType = %d for field MaxSurge", wireType) |
| 5499 | } |
| 5500 | var msglen int |
| 5501 | for shift := uint(0); ; shift += 7 { |
| 5502 | if shift >= 64 { |
| 5503 | return ErrIntOverflowGenerated |
| 5504 | } |
| 5505 | if iNdEx >= l { |
| 5506 | return io.ErrUnexpectedEOF |
| 5507 | } |
| 5508 | b := dAtA[iNdEx] |
| 5509 | iNdEx++ |
| 5510 | msglen |= (int(b) & 0x7F) << shift |
| 5511 | if b < 0x80 { |
| 5512 | break |
| 5513 | } |
| 5514 | } |
| 5515 | if msglen < 0 { |
| 5516 | return ErrInvalidLengthGenerated |
| 5517 | } |
| 5518 | postIndex := iNdEx + msglen |
| 5519 | if postIndex > l { |
| 5520 | return io.ErrUnexpectedEOF |
| 5521 | } |
| 5522 | if m.MaxSurge == nil { |
| 5523 | m.MaxSurge = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{} |
| 5524 | } |
| 5525 | if err := m.MaxSurge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5526 | return err |
| 5527 | } |
| 5528 | iNdEx = postIndex |
| 5529 | default: |
| 5530 | iNdEx = preIndex |
| 5531 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5532 | if err != nil { |
| 5533 | return err |
| 5534 | } |
| 5535 | if skippy < 0 { |
| 5536 | return ErrInvalidLengthGenerated |
| 5537 | } |
| 5538 | if (iNdEx + skippy) > l { |
| 5539 | return io.ErrUnexpectedEOF |
| 5540 | } |
| 5541 | iNdEx += skippy |
| 5542 | } |
| 5543 | } |
| 5544 | |
| 5545 | if iNdEx > l { |
| 5546 | return io.ErrUnexpectedEOF |
| 5547 | } |
| 5548 | return nil |
| 5549 | } |
| 5550 | func (m *RollingUpdateStatefulSetStrategy) Unmarshal(dAtA []byte) error { |
| 5551 | l := len(dAtA) |
| 5552 | iNdEx := 0 |
| 5553 | for iNdEx < l { |
| 5554 | preIndex := iNdEx |
| 5555 | var wire uint64 |
| 5556 | for shift := uint(0); ; shift += 7 { |
| 5557 | if shift >= 64 { |
| 5558 | return ErrIntOverflowGenerated |
| 5559 | } |
| 5560 | if iNdEx >= l { |
| 5561 | return io.ErrUnexpectedEOF |
| 5562 | } |
| 5563 | b := dAtA[iNdEx] |
| 5564 | iNdEx++ |
| 5565 | wire |= (uint64(b) & 0x7F) << shift |
| 5566 | if b < 0x80 { |
| 5567 | break |
| 5568 | } |
| 5569 | } |
| 5570 | fieldNum := int32(wire >> 3) |
| 5571 | wireType := int(wire & 0x7) |
| 5572 | if wireType == 4 { |
| 5573 | return fmt.Errorf("proto: RollingUpdateStatefulSetStrategy: wiretype end group for non-group") |
| 5574 | } |
| 5575 | if fieldNum <= 0 { |
| 5576 | return fmt.Errorf("proto: RollingUpdateStatefulSetStrategy: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5577 | } |
| 5578 | switch fieldNum { |
| 5579 | case 1: |
| 5580 | if wireType != 0 { |
| 5581 | return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType) |
| 5582 | } |
| 5583 | var v int32 |
| 5584 | for shift := uint(0); ; shift += 7 { |
| 5585 | if shift >= 64 { |
| 5586 | return ErrIntOverflowGenerated |
| 5587 | } |
| 5588 | if iNdEx >= l { |
| 5589 | return io.ErrUnexpectedEOF |
| 5590 | } |
| 5591 | b := dAtA[iNdEx] |
| 5592 | iNdEx++ |
| 5593 | v |= (int32(b) & 0x7F) << shift |
| 5594 | if b < 0x80 { |
| 5595 | break |
| 5596 | } |
| 5597 | } |
| 5598 | m.Partition = &v |
| 5599 | default: |
| 5600 | iNdEx = preIndex |
| 5601 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5602 | if err != nil { |
| 5603 | return err |
| 5604 | } |
| 5605 | if skippy < 0 { |
| 5606 | return ErrInvalidLengthGenerated |
| 5607 | } |
| 5608 | if (iNdEx + skippy) > l { |
| 5609 | return io.ErrUnexpectedEOF |
| 5610 | } |
| 5611 | iNdEx += skippy |
| 5612 | } |
| 5613 | } |
| 5614 | |
| 5615 | if iNdEx > l { |
| 5616 | return io.ErrUnexpectedEOF |
| 5617 | } |
| 5618 | return nil |
| 5619 | } |
| 5620 | func (m *StatefulSet) Unmarshal(dAtA []byte) error { |
| 5621 | l := len(dAtA) |
| 5622 | iNdEx := 0 |
| 5623 | for iNdEx < l { |
| 5624 | preIndex := iNdEx |
| 5625 | var wire uint64 |
| 5626 | for shift := uint(0); ; shift += 7 { |
| 5627 | if shift >= 64 { |
| 5628 | return ErrIntOverflowGenerated |
| 5629 | } |
| 5630 | if iNdEx >= l { |
| 5631 | return io.ErrUnexpectedEOF |
| 5632 | } |
| 5633 | b := dAtA[iNdEx] |
| 5634 | iNdEx++ |
| 5635 | wire |= (uint64(b) & 0x7F) << shift |
| 5636 | if b < 0x80 { |
| 5637 | break |
| 5638 | } |
| 5639 | } |
| 5640 | fieldNum := int32(wire >> 3) |
| 5641 | wireType := int(wire & 0x7) |
| 5642 | if wireType == 4 { |
| 5643 | return fmt.Errorf("proto: StatefulSet: wiretype end group for non-group") |
| 5644 | } |
| 5645 | if fieldNum <= 0 { |
| 5646 | return fmt.Errorf("proto: StatefulSet: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5647 | } |
| 5648 | switch fieldNum { |
| 5649 | case 1: |
| 5650 | if wireType != 2 { |
| 5651 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 5652 | } |
| 5653 | var msglen int |
| 5654 | for shift := uint(0); ; shift += 7 { |
| 5655 | if shift >= 64 { |
| 5656 | return ErrIntOverflowGenerated |
| 5657 | } |
| 5658 | if iNdEx >= l { |
| 5659 | return io.ErrUnexpectedEOF |
| 5660 | } |
| 5661 | b := dAtA[iNdEx] |
| 5662 | iNdEx++ |
| 5663 | msglen |= (int(b) & 0x7F) << shift |
| 5664 | if b < 0x80 { |
| 5665 | break |
| 5666 | } |
| 5667 | } |
| 5668 | if msglen < 0 { |
| 5669 | return ErrInvalidLengthGenerated |
| 5670 | } |
| 5671 | postIndex := iNdEx + msglen |
| 5672 | if postIndex > l { |
| 5673 | return io.ErrUnexpectedEOF |
| 5674 | } |
| 5675 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5676 | return err |
| 5677 | } |
| 5678 | iNdEx = postIndex |
| 5679 | case 2: |
| 5680 | if wireType != 2 { |
| 5681 | return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) |
| 5682 | } |
| 5683 | var msglen int |
| 5684 | for shift := uint(0); ; shift += 7 { |
| 5685 | if shift >= 64 { |
| 5686 | return ErrIntOverflowGenerated |
| 5687 | } |
| 5688 | if iNdEx >= l { |
| 5689 | return io.ErrUnexpectedEOF |
| 5690 | } |
| 5691 | b := dAtA[iNdEx] |
| 5692 | iNdEx++ |
| 5693 | msglen |= (int(b) & 0x7F) << shift |
| 5694 | if b < 0x80 { |
| 5695 | break |
| 5696 | } |
| 5697 | } |
| 5698 | if msglen < 0 { |
| 5699 | return ErrInvalidLengthGenerated |
| 5700 | } |
| 5701 | postIndex := iNdEx + msglen |
| 5702 | if postIndex > l { |
| 5703 | return io.ErrUnexpectedEOF |
| 5704 | } |
| 5705 | if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5706 | return err |
| 5707 | } |
| 5708 | iNdEx = postIndex |
| 5709 | case 3: |
| 5710 | if wireType != 2 { |
| 5711 | return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 5712 | } |
| 5713 | var msglen int |
| 5714 | for shift := uint(0); ; shift += 7 { |
| 5715 | if shift >= 64 { |
| 5716 | return ErrIntOverflowGenerated |
| 5717 | } |
| 5718 | if iNdEx >= l { |
| 5719 | return io.ErrUnexpectedEOF |
| 5720 | } |
| 5721 | b := dAtA[iNdEx] |
| 5722 | iNdEx++ |
| 5723 | msglen |= (int(b) & 0x7F) << shift |
| 5724 | if b < 0x80 { |
| 5725 | break |
| 5726 | } |
| 5727 | } |
| 5728 | if msglen < 0 { |
| 5729 | return ErrInvalidLengthGenerated |
| 5730 | } |
| 5731 | postIndex := iNdEx + msglen |
| 5732 | if postIndex > l { |
| 5733 | return io.ErrUnexpectedEOF |
| 5734 | } |
| 5735 | if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5736 | return err |
| 5737 | } |
| 5738 | iNdEx = postIndex |
| 5739 | default: |
| 5740 | iNdEx = preIndex |
| 5741 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5742 | if err != nil { |
| 5743 | return err |
| 5744 | } |
| 5745 | if skippy < 0 { |
| 5746 | return ErrInvalidLengthGenerated |
| 5747 | } |
| 5748 | if (iNdEx + skippy) > l { |
| 5749 | return io.ErrUnexpectedEOF |
| 5750 | } |
| 5751 | iNdEx += skippy |
| 5752 | } |
| 5753 | } |
| 5754 | |
| 5755 | if iNdEx > l { |
| 5756 | return io.ErrUnexpectedEOF |
| 5757 | } |
| 5758 | return nil |
| 5759 | } |
| 5760 | func (m *StatefulSetCondition) Unmarshal(dAtA []byte) error { |
| 5761 | l := len(dAtA) |
| 5762 | iNdEx := 0 |
| 5763 | for iNdEx < l { |
| 5764 | preIndex := iNdEx |
| 5765 | var wire uint64 |
| 5766 | for shift := uint(0); ; shift += 7 { |
| 5767 | if shift >= 64 { |
| 5768 | return ErrIntOverflowGenerated |
| 5769 | } |
| 5770 | if iNdEx >= l { |
| 5771 | return io.ErrUnexpectedEOF |
| 5772 | } |
| 5773 | b := dAtA[iNdEx] |
| 5774 | iNdEx++ |
| 5775 | wire |= (uint64(b) & 0x7F) << shift |
| 5776 | if b < 0x80 { |
| 5777 | break |
| 5778 | } |
| 5779 | } |
| 5780 | fieldNum := int32(wire >> 3) |
| 5781 | wireType := int(wire & 0x7) |
| 5782 | if wireType == 4 { |
| 5783 | return fmt.Errorf("proto: StatefulSetCondition: wiretype end group for non-group") |
| 5784 | } |
| 5785 | if fieldNum <= 0 { |
| 5786 | return fmt.Errorf("proto: StatefulSetCondition: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5787 | } |
| 5788 | switch fieldNum { |
| 5789 | case 1: |
| 5790 | if wireType != 2 { |
| 5791 | return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 5792 | } |
| 5793 | var stringLen uint64 |
| 5794 | for shift := uint(0); ; shift += 7 { |
| 5795 | if shift >= 64 { |
| 5796 | return ErrIntOverflowGenerated |
| 5797 | } |
| 5798 | if iNdEx >= l { |
| 5799 | return io.ErrUnexpectedEOF |
| 5800 | } |
| 5801 | b := dAtA[iNdEx] |
| 5802 | iNdEx++ |
| 5803 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5804 | if b < 0x80 { |
| 5805 | break |
| 5806 | } |
| 5807 | } |
| 5808 | intStringLen := int(stringLen) |
| 5809 | if intStringLen < 0 { |
| 5810 | return ErrInvalidLengthGenerated |
| 5811 | } |
| 5812 | postIndex := iNdEx + intStringLen |
| 5813 | if postIndex > l { |
| 5814 | return io.ErrUnexpectedEOF |
| 5815 | } |
| 5816 | m.Type = StatefulSetConditionType(dAtA[iNdEx:postIndex]) |
| 5817 | iNdEx = postIndex |
| 5818 | case 2: |
| 5819 | if wireType != 2 { |
| 5820 | return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 5821 | } |
| 5822 | var stringLen uint64 |
| 5823 | for shift := uint(0); ; shift += 7 { |
| 5824 | if shift >= 64 { |
| 5825 | return ErrIntOverflowGenerated |
| 5826 | } |
| 5827 | if iNdEx >= l { |
| 5828 | return io.ErrUnexpectedEOF |
| 5829 | } |
| 5830 | b := dAtA[iNdEx] |
| 5831 | iNdEx++ |
| 5832 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5833 | if b < 0x80 { |
| 5834 | break |
| 5835 | } |
| 5836 | } |
| 5837 | intStringLen := int(stringLen) |
| 5838 | if intStringLen < 0 { |
| 5839 | return ErrInvalidLengthGenerated |
| 5840 | } |
| 5841 | postIndex := iNdEx + intStringLen |
| 5842 | if postIndex > l { |
| 5843 | return io.ErrUnexpectedEOF |
| 5844 | } |
| 5845 | m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex]) |
| 5846 | iNdEx = postIndex |
| 5847 | case 3: |
| 5848 | if wireType != 2 { |
| 5849 | return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) |
| 5850 | } |
| 5851 | var msglen int |
| 5852 | for shift := uint(0); ; shift += 7 { |
| 5853 | if shift >= 64 { |
| 5854 | return ErrIntOverflowGenerated |
| 5855 | } |
| 5856 | if iNdEx >= l { |
| 5857 | return io.ErrUnexpectedEOF |
| 5858 | } |
| 5859 | b := dAtA[iNdEx] |
| 5860 | iNdEx++ |
| 5861 | msglen |= (int(b) & 0x7F) << shift |
| 5862 | if b < 0x80 { |
| 5863 | break |
| 5864 | } |
| 5865 | } |
| 5866 | if msglen < 0 { |
| 5867 | return ErrInvalidLengthGenerated |
| 5868 | } |
| 5869 | postIndex := iNdEx + msglen |
| 5870 | if postIndex > l { |
| 5871 | return io.ErrUnexpectedEOF |
| 5872 | } |
| 5873 | if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5874 | return err |
| 5875 | } |
| 5876 | iNdEx = postIndex |
| 5877 | case 4: |
| 5878 | if wireType != 2 { |
| 5879 | return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) |
| 5880 | } |
| 5881 | var stringLen uint64 |
| 5882 | for shift := uint(0); ; shift += 7 { |
| 5883 | if shift >= 64 { |
| 5884 | return ErrIntOverflowGenerated |
| 5885 | } |
| 5886 | if iNdEx >= l { |
| 5887 | return io.ErrUnexpectedEOF |
| 5888 | } |
| 5889 | b := dAtA[iNdEx] |
| 5890 | iNdEx++ |
| 5891 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5892 | if b < 0x80 { |
| 5893 | break |
| 5894 | } |
| 5895 | } |
| 5896 | intStringLen := int(stringLen) |
| 5897 | if intStringLen < 0 { |
| 5898 | return ErrInvalidLengthGenerated |
| 5899 | } |
| 5900 | postIndex := iNdEx + intStringLen |
| 5901 | if postIndex > l { |
| 5902 | return io.ErrUnexpectedEOF |
| 5903 | } |
| 5904 | m.Reason = string(dAtA[iNdEx:postIndex]) |
| 5905 | iNdEx = postIndex |
| 5906 | case 5: |
| 5907 | if wireType != 2 { |
| 5908 | return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) |
| 5909 | } |
| 5910 | var stringLen uint64 |
| 5911 | for shift := uint(0); ; shift += 7 { |
| 5912 | if shift >= 64 { |
| 5913 | return ErrIntOverflowGenerated |
| 5914 | } |
| 5915 | if iNdEx >= l { |
| 5916 | return io.ErrUnexpectedEOF |
| 5917 | } |
| 5918 | b := dAtA[iNdEx] |
| 5919 | iNdEx++ |
| 5920 | stringLen |= (uint64(b) & 0x7F) << shift |
| 5921 | if b < 0x80 { |
| 5922 | break |
| 5923 | } |
| 5924 | } |
| 5925 | intStringLen := int(stringLen) |
| 5926 | if intStringLen < 0 { |
| 5927 | return ErrInvalidLengthGenerated |
| 5928 | } |
| 5929 | postIndex := iNdEx + intStringLen |
| 5930 | if postIndex > l { |
| 5931 | return io.ErrUnexpectedEOF |
| 5932 | } |
| 5933 | m.Message = string(dAtA[iNdEx:postIndex]) |
| 5934 | iNdEx = postIndex |
| 5935 | default: |
| 5936 | iNdEx = preIndex |
| 5937 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5938 | if err != nil { |
| 5939 | return err |
| 5940 | } |
| 5941 | if skippy < 0 { |
| 5942 | return ErrInvalidLengthGenerated |
| 5943 | } |
| 5944 | if (iNdEx + skippy) > l { |
| 5945 | return io.ErrUnexpectedEOF |
| 5946 | } |
| 5947 | iNdEx += skippy |
| 5948 | } |
| 5949 | } |
| 5950 | |
| 5951 | if iNdEx > l { |
| 5952 | return io.ErrUnexpectedEOF |
| 5953 | } |
| 5954 | return nil |
| 5955 | } |
| 5956 | func (m *StatefulSetList) Unmarshal(dAtA []byte) error { |
| 5957 | l := len(dAtA) |
| 5958 | iNdEx := 0 |
| 5959 | for iNdEx < l { |
| 5960 | preIndex := iNdEx |
| 5961 | var wire uint64 |
| 5962 | for shift := uint(0); ; shift += 7 { |
| 5963 | if shift >= 64 { |
| 5964 | return ErrIntOverflowGenerated |
| 5965 | } |
| 5966 | if iNdEx >= l { |
| 5967 | return io.ErrUnexpectedEOF |
| 5968 | } |
| 5969 | b := dAtA[iNdEx] |
| 5970 | iNdEx++ |
| 5971 | wire |= (uint64(b) & 0x7F) << shift |
| 5972 | if b < 0x80 { |
| 5973 | break |
| 5974 | } |
| 5975 | } |
| 5976 | fieldNum := int32(wire >> 3) |
| 5977 | wireType := int(wire & 0x7) |
| 5978 | if wireType == 4 { |
| 5979 | return fmt.Errorf("proto: StatefulSetList: wiretype end group for non-group") |
| 5980 | } |
| 5981 | if fieldNum <= 0 { |
| 5982 | return fmt.Errorf("proto: StatefulSetList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5983 | } |
| 5984 | switch fieldNum { |
| 5985 | case 1: |
| 5986 | if wireType != 2 { |
| 5987 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 5988 | } |
| 5989 | var msglen int |
| 5990 | for shift := uint(0); ; shift += 7 { |
| 5991 | if shift >= 64 { |
| 5992 | return ErrIntOverflowGenerated |
| 5993 | } |
| 5994 | if iNdEx >= l { |
| 5995 | return io.ErrUnexpectedEOF |
| 5996 | } |
| 5997 | b := dAtA[iNdEx] |
| 5998 | iNdEx++ |
| 5999 | msglen |= (int(b) & 0x7F) << shift |
| 6000 | if b < 0x80 { |
| 6001 | break |
| 6002 | } |
| 6003 | } |
| 6004 | if msglen < 0 { |
| 6005 | return ErrInvalidLengthGenerated |
| 6006 | } |
| 6007 | postIndex := iNdEx + msglen |
| 6008 | if postIndex > l { |
| 6009 | return io.ErrUnexpectedEOF |
| 6010 | } |
| 6011 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6012 | return err |
| 6013 | } |
| 6014 | iNdEx = postIndex |
| 6015 | case 2: |
| 6016 | if wireType != 2 { |
| 6017 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 6018 | } |
| 6019 | var msglen int |
| 6020 | for shift := uint(0); ; shift += 7 { |
| 6021 | if shift >= 64 { |
| 6022 | return ErrIntOverflowGenerated |
| 6023 | } |
| 6024 | if iNdEx >= l { |
| 6025 | return io.ErrUnexpectedEOF |
| 6026 | } |
| 6027 | b := dAtA[iNdEx] |
| 6028 | iNdEx++ |
| 6029 | msglen |= (int(b) & 0x7F) << shift |
| 6030 | if b < 0x80 { |
| 6031 | break |
| 6032 | } |
| 6033 | } |
| 6034 | if msglen < 0 { |
| 6035 | return ErrInvalidLengthGenerated |
| 6036 | } |
| 6037 | postIndex := iNdEx + msglen |
| 6038 | if postIndex > l { |
| 6039 | return io.ErrUnexpectedEOF |
| 6040 | } |
| 6041 | m.Items = append(m.Items, StatefulSet{}) |
| 6042 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6043 | return err |
| 6044 | } |
| 6045 | iNdEx = postIndex |
| 6046 | default: |
| 6047 | iNdEx = preIndex |
| 6048 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6049 | if err != nil { |
| 6050 | return err |
| 6051 | } |
| 6052 | if skippy < 0 { |
| 6053 | return ErrInvalidLengthGenerated |
| 6054 | } |
| 6055 | if (iNdEx + skippy) > l { |
| 6056 | return io.ErrUnexpectedEOF |
| 6057 | } |
| 6058 | iNdEx += skippy |
| 6059 | } |
| 6060 | } |
| 6061 | |
| 6062 | if iNdEx > l { |
| 6063 | return io.ErrUnexpectedEOF |
| 6064 | } |
| 6065 | return nil |
| 6066 | } |
| 6067 | func (m *StatefulSetSpec) Unmarshal(dAtA []byte) error { |
| 6068 | l := len(dAtA) |
| 6069 | iNdEx := 0 |
| 6070 | for iNdEx < l { |
| 6071 | preIndex := iNdEx |
| 6072 | var wire uint64 |
| 6073 | for shift := uint(0); ; shift += 7 { |
| 6074 | if shift >= 64 { |
| 6075 | return ErrIntOverflowGenerated |
| 6076 | } |
| 6077 | if iNdEx >= l { |
| 6078 | return io.ErrUnexpectedEOF |
| 6079 | } |
| 6080 | b := dAtA[iNdEx] |
| 6081 | iNdEx++ |
| 6082 | wire |= (uint64(b) & 0x7F) << shift |
| 6083 | if b < 0x80 { |
| 6084 | break |
| 6085 | } |
| 6086 | } |
| 6087 | fieldNum := int32(wire >> 3) |
| 6088 | wireType := int(wire & 0x7) |
| 6089 | if wireType == 4 { |
| 6090 | return fmt.Errorf("proto: StatefulSetSpec: wiretype end group for non-group") |
| 6091 | } |
| 6092 | if fieldNum <= 0 { |
| 6093 | return fmt.Errorf("proto: StatefulSetSpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6094 | } |
| 6095 | switch fieldNum { |
| 6096 | case 1: |
| 6097 | if wireType != 0 { |
| 6098 | return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType) |
| 6099 | } |
| 6100 | var v int32 |
| 6101 | for shift := uint(0); ; shift += 7 { |
| 6102 | if shift >= 64 { |
| 6103 | return ErrIntOverflowGenerated |
| 6104 | } |
| 6105 | if iNdEx >= l { |
| 6106 | return io.ErrUnexpectedEOF |
| 6107 | } |
| 6108 | b := dAtA[iNdEx] |
| 6109 | iNdEx++ |
| 6110 | v |= (int32(b) & 0x7F) << shift |
| 6111 | if b < 0x80 { |
| 6112 | break |
| 6113 | } |
| 6114 | } |
| 6115 | m.Replicas = &v |
| 6116 | case 2: |
| 6117 | if wireType != 2 { |
| 6118 | return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType) |
| 6119 | } |
| 6120 | var msglen int |
| 6121 | for shift := uint(0); ; shift += 7 { |
| 6122 | if shift >= 64 { |
| 6123 | return ErrIntOverflowGenerated |
| 6124 | } |
| 6125 | if iNdEx >= l { |
| 6126 | return io.ErrUnexpectedEOF |
| 6127 | } |
| 6128 | b := dAtA[iNdEx] |
| 6129 | iNdEx++ |
| 6130 | msglen |= (int(b) & 0x7F) << shift |
| 6131 | if b < 0x80 { |
| 6132 | break |
| 6133 | } |
| 6134 | } |
| 6135 | if msglen < 0 { |
| 6136 | return ErrInvalidLengthGenerated |
| 6137 | } |
| 6138 | postIndex := iNdEx + msglen |
| 6139 | if postIndex > l { |
| 6140 | return io.ErrUnexpectedEOF |
| 6141 | } |
| 6142 | if m.Selector == nil { |
| 6143 | m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{} |
| 6144 | } |
| 6145 | if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6146 | return err |
| 6147 | } |
| 6148 | iNdEx = postIndex |
| 6149 | case 3: |
| 6150 | if wireType != 2 { |
| 6151 | return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType) |
| 6152 | } |
| 6153 | var msglen int |
| 6154 | for shift := uint(0); ; shift += 7 { |
| 6155 | if shift >= 64 { |
| 6156 | return ErrIntOverflowGenerated |
| 6157 | } |
| 6158 | if iNdEx >= l { |
| 6159 | return io.ErrUnexpectedEOF |
| 6160 | } |
| 6161 | b := dAtA[iNdEx] |
| 6162 | iNdEx++ |
| 6163 | msglen |= (int(b) & 0x7F) << shift |
| 6164 | if b < 0x80 { |
| 6165 | break |
| 6166 | } |
| 6167 | } |
| 6168 | if msglen < 0 { |
| 6169 | return ErrInvalidLengthGenerated |
| 6170 | } |
| 6171 | postIndex := iNdEx + msglen |
| 6172 | if postIndex > l { |
| 6173 | return io.ErrUnexpectedEOF |
| 6174 | } |
| 6175 | if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6176 | return err |
| 6177 | } |
| 6178 | iNdEx = postIndex |
| 6179 | case 4: |
| 6180 | if wireType != 2 { |
| 6181 | return fmt.Errorf("proto: wrong wireType = %d for field VolumeClaimTemplates", wireType) |
| 6182 | } |
| 6183 | var msglen int |
| 6184 | for shift := uint(0); ; shift += 7 { |
| 6185 | if shift >= 64 { |
| 6186 | return ErrIntOverflowGenerated |
| 6187 | } |
| 6188 | if iNdEx >= l { |
| 6189 | return io.ErrUnexpectedEOF |
| 6190 | } |
| 6191 | b := dAtA[iNdEx] |
| 6192 | iNdEx++ |
| 6193 | msglen |= (int(b) & 0x7F) << shift |
| 6194 | if b < 0x80 { |
| 6195 | break |
| 6196 | } |
| 6197 | } |
| 6198 | if msglen < 0 { |
| 6199 | return ErrInvalidLengthGenerated |
| 6200 | } |
| 6201 | postIndex := iNdEx + msglen |
| 6202 | if postIndex > l { |
| 6203 | return io.ErrUnexpectedEOF |
| 6204 | } |
| 6205 | m.VolumeClaimTemplates = append(m.VolumeClaimTemplates, k8s_io_api_core_v1.PersistentVolumeClaim{}) |
| 6206 | if err := m.VolumeClaimTemplates[len(m.VolumeClaimTemplates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6207 | return err |
| 6208 | } |
| 6209 | iNdEx = postIndex |
| 6210 | case 5: |
| 6211 | if wireType != 2 { |
| 6212 | return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType) |
| 6213 | } |
| 6214 | var stringLen uint64 |
| 6215 | for shift := uint(0); ; shift += 7 { |
| 6216 | if shift >= 64 { |
| 6217 | return ErrIntOverflowGenerated |
| 6218 | } |
| 6219 | if iNdEx >= l { |
| 6220 | return io.ErrUnexpectedEOF |
| 6221 | } |
| 6222 | b := dAtA[iNdEx] |
| 6223 | iNdEx++ |
| 6224 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6225 | if b < 0x80 { |
| 6226 | break |
| 6227 | } |
| 6228 | } |
| 6229 | intStringLen := int(stringLen) |
| 6230 | if intStringLen < 0 { |
| 6231 | return ErrInvalidLengthGenerated |
| 6232 | } |
| 6233 | postIndex := iNdEx + intStringLen |
| 6234 | if postIndex > l { |
| 6235 | return io.ErrUnexpectedEOF |
| 6236 | } |
| 6237 | m.ServiceName = string(dAtA[iNdEx:postIndex]) |
| 6238 | iNdEx = postIndex |
| 6239 | case 6: |
| 6240 | if wireType != 2 { |
| 6241 | return fmt.Errorf("proto: wrong wireType = %d for field PodManagementPolicy", wireType) |
| 6242 | } |
| 6243 | var stringLen uint64 |
| 6244 | for shift := uint(0); ; shift += 7 { |
| 6245 | if shift >= 64 { |
| 6246 | return ErrIntOverflowGenerated |
| 6247 | } |
| 6248 | if iNdEx >= l { |
| 6249 | return io.ErrUnexpectedEOF |
| 6250 | } |
| 6251 | b := dAtA[iNdEx] |
| 6252 | iNdEx++ |
| 6253 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6254 | if b < 0x80 { |
| 6255 | break |
| 6256 | } |
| 6257 | } |
| 6258 | intStringLen := int(stringLen) |
| 6259 | if intStringLen < 0 { |
| 6260 | return ErrInvalidLengthGenerated |
| 6261 | } |
| 6262 | postIndex := iNdEx + intStringLen |
| 6263 | if postIndex > l { |
| 6264 | return io.ErrUnexpectedEOF |
| 6265 | } |
| 6266 | m.PodManagementPolicy = PodManagementPolicyType(dAtA[iNdEx:postIndex]) |
| 6267 | iNdEx = postIndex |
| 6268 | case 7: |
| 6269 | if wireType != 2 { |
| 6270 | return fmt.Errorf("proto: wrong wireType = %d for field UpdateStrategy", wireType) |
| 6271 | } |
| 6272 | var msglen int |
| 6273 | for shift := uint(0); ; shift += 7 { |
| 6274 | if shift >= 64 { |
| 6275 | return ErrIntOverflowGenerated |
| 6276 | } |
| 6277 | if iNdEx >= l { |
| 6278 | return io.ErrUnexpectedEOF |
| 6279 | } |
| 6280 | b := dAtA[iNdEx] |
| 6281 | iNdEx++ |
| 6282 | msglen |= (int(b) & 0x7F) << shift |
| 6283 | if b < 0x80 { |
| 6284 | break |
| 6285 | } |
| 6286 | } |
| 6287 | if msglen < 0 { |
| 6288 | return ErrInvalidLengthGenerated |
| 6289 | } |
| 6290 | postIndex := iNdEx + msglen |
| 6291 | if postIndex > l { |
| 6292 | return io.ErrUnexpectedEOF |
| 6293 | } |
| 6294 | if err := m.UpdateStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6295 | return err |
| 6296 | } |
| 6297 | iNdEx = postIndex |
| 6298 | case 8: |
| 6299 | if wireType != 0 { |
| 6300 | return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType) |
| 6301 | } |
| 6302 | var v int32 |
| 6303 | for shift := uint(0); ; shift += 7 { |
| 6304 | if shift >= 64 { |
| 6305 | return ErrIntOverflowGenerated |
| 6306 | } |
| 6307 | if iNdEx >= l { |
| 6308 | return io.ErrUnexpectedEOF |
| 6309 | } |
| 6310 | b := dAtA[iNdEx] |
| 6311 | iNdEx++ |
| 6312 | v |= (int32(b) & 0x7F) << shift |
| 6313 | if b < 0x80 { |
| 6314 | break |
| 6315 | } |
| 6316 | } |
| 6317 | m.RevisionHistoryLimit = &v |
| 6318 | default: |
| 6319 | iNdEx = preIndex |
| 6320 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6321 | if err != nil { |
| 6322 | return err |
| 6323 | } |
| 6324 | if skippy < 0 { |
| 6325 | return ErrInvalidLengthGenerated |
| 6326 | } |
| 6327 | if (iNdEx + skippy) > l { |
| 6328 | return io.ErrUnexpectedEOF |
| 6329 | } |
| 6330 | iNdEx += skippy |
| 6331 | } |
| 6332 | } |
| 6333 | |
| 6334 | if iNdEx > l { |
| 6335 | return io.ErrUnexpectedEOF |
| 6336 | } |
| 6337 | return nil |
| 6338 | } |
| 6339 | func (m *StatefulSetStatus) Unmarshal(dAtA []byte) error { |
| 6340 | l := len(dAtA) |
| 6341 | iNdEx := 0 |
| 6342 | for iNdEx < l { |
| 6343 | preIndex := iNdEx |
| 6344 | var wire uint64 |
| 6345 | for shift := uint(0); ; shift += 7 { |
| 6346 | if shift >= 64 { |
| 6347 | return ErrIntOverflowGenerated |
| 6348 | } |
| 6349 | if iNdEx >= l { |
| 6350 | return io.ErrUnexpectedEOF |
| 6351 | } |
| 6352 | b := dAtA[iNdEx] |
| 6353 | iNdEx++ |
| 6354 | wire |= (uint64(b) & 0x7F) << shift |
| 6355 | if b < 0x80 { |
| 6356 | break |
| 6357 | } |
| 6358 | } |
| 6359 | fieldNum := int32(wire >> 3) |
| 6360 | wireType := int(wire & 0x7) |
| 6361 | if wireType == 4 { |
| 6362 | return fmt.Errorf("proto: StatefulSetStatus: wiretype end group for non-group") |
| 6363 | } |
| 6364 | if fieldNum <= 0 { |
| 6365 | return fmt.Errorf("proto: StatefulSetStatus: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6366 | } |
| 6367 | switch fieldNum { |
| 6368 | case 1: |
| 6369 | if wireType != 0 { |
| 6370 | return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType) |
| 6371 | } |
| 6372 | m.ObservedGeneration = 0 |
| 6373 | for shift := uint(0); ; shift += 7 { |
| 6374 | if shift >= 64 { |
| 6375 | return ErrIntOverflowGenerated |
| 6376 | } |
| 6377 | if iNdEx >= l { |
| 6378 | return io.ErrUnexpectedEOF |
| 6379 | } |
| 6380 | b := dAtA[iNdEx] |
| 6381 | iNdEx++ |
| 6382 | m.ObservedGeneration |= (int64(b) & 0x7F) << shift |
| 6383 | if b < 0x80 { |
| 6384 | break |
| 6385 | } |
| 6386 | } |
| 6387 | case 2: |
| 6388 | if wireType != 0 { |
| 6389 | return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType) |
| 6390 | } |
| 6391 | m.Replicas = 0 |
| 6392 | for shift := uint(0); ; shift += 7 { |
| 6393 | if shift >= 64 { |
| 6394 | return ErrIntOverflowGenerated |
| 6395 | } |
| 6396 | if iNdEx >= l { |
| 6397 | return io.ErrUnexpectedEOF |
| 6398 | } |
| 6399 | b := dAtA[iNdEx] |
| 6400 | iNdEx++ |
| 6401 | m.Replicas |= (int32(b) & 0x7F) << shift |
| 6402 | if b < 0x80 { |
| 6403 | break |
| 6404 | } |
| 6405 | } |
| 6406 | case 3: |
| 6407 | if wireType != 0 { |
| 6408 | return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType) |
| 6409 | } |
| 6410 | m.ReadyReplicas = 0 |
| 6411 | for shift := uint(0); ; shift += 7 { |
| 6412 | if shift >= 64 { |
| 6413 | return ErrIntOverflowGenerated |
| 6414 | } |
| 6415 | if iNdEx >= l { |
| 6416 | return io.ErrUnexpectedEOF |
| 6417 | } |
| 6418 | b := dAtA[iNdEx] |
| 6419 | iNdEx++ |
| 6420 | m.ReadyReplicas |= (int32(b) & 0x7F) << shift |
| 6421 | if b < 0x80 { |
| 6422 | break |
| 6423 | } |
| 6424 | } |
| 6425 | case 4: |
| 6426 | if wireType != 0 { |
| 6427 | return fmt.Errorf("proto: wrong wireType = %d for field CurrentReplicas", wireType) |
| 6428 | } |
| 6429 | m.CurrentReplicas = 0 |
| 6430 | for shift := uint(0); ; shift += 7 { |
| 6431 | if shift >= 64 { |
| 6432 | return ErrIntOverflowGenerated |
| 6433 | } |
| 6434 | if iNdEx >= l { |
| 6435 | return io.ErrUnexpectedEOF |
| 6436 | } |
| 6437 | b := dAtA[iNdEx] |
| 6438 | iNdEx++ |
| 6439 | m.CurrentReplicas |= (int32(b) & 0x7F) << shift |
| 6440 | if b < 0x80 { |
| 6441 | break |
| 6442 | } |
| 6443 | } |
| 6444 | case 5: |
| 6445 | if wireType != 0 { |
| 6446 | return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType) |
| 6447 | } |
| 6448 | m.UpdatedReplicas = 0 |
| 6449 | for shift := uint(0); ; shift += 7 { |
| 6450 | if shift >= 64 { |
| 6451 | return ErrIntOverflowGenerated |
| 6452 | } |
| 6453 | if iNdEx >= l { |
| 6454 | return io.ErrUnexpectedEOF |
| 6455 | } |
| 6456 | b := dAtA[iNdEx] |
| 6457 | iNdEx++ |
| 6458 | m.UpdatedReplicas |= (int32(b) & 0x7F) << shift |
| 6459 | if b < 0x80 { |
| 6460 | break |
| 6461 | } |
| 6462 | } |
| 6463 | case 6: |
| 6464 | if wireType != 2 { |
| 6465 | return fmt.Errorf("proto: wrong wireType = %d for field CurrentRevision", wireType) |
| 6466 | } |
| 6467 | var stringLen uint64 |
| 6468 | for shift := uint(0); ; shift += 7 { |
| 6469 | if shift >= 64 { |
| 6470 | return ErrIntOverflowGenerated |
| 6471 | } |
| 6472 | if iNdEx >= l { |
| 6473 | return io.ErrUnexpectedEOF |
| 6474 | } |
| 6475 | b := dAtA[iNdEx] |
| 6476 | iNdEx++ |
| 6477 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6478 | if b < 0x80 { |
| 6479 | break |
| 6480 | } |
| 6481 | } |
| 6482 | intStringLen := int(stringLen) |
| 6483 | if intStringLen < 0 { |
| 6484 | return ErrInvalidLengthGenerated |
| 6485 | } |
| 6486 | postIndex := iNdEx + intStringLen |
| 6487 | if postIndex > l { |
| 6488 | return io.ErrUnexpectedEOF |
| 6489 | } |
| 6490 | m.CurrentRevision = string(dAtA[iNdEx:postIndex]) |
| 6491 | iNdEx = postIndex |
| 6492 | case 7: |
| 6493 | if wireType != 2 { |
| 6494 | return fmt.Errorf("proto: wrong wireType = %d for field UpdateRevision", wireType) |
| 6495 | } |
| 6496 | var stringLen uint64 |
| 6497 | for shift := uint(0); ; shift += 7 { |
| 6498 | if shift >= 64 { |
| 6499 | return ErrIntOverflowGenerated |
| 6500 | } |
| 6501 | if iNdEx >= l { |
| 6502 | return io.ErrUnexpectedEOF |
| 6503 | } |
| 6504 | b := dAtA[iNdEx] |
| 6505 | iNdEx++ |
| 6506 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6507 | if b < 0x80 { |
| 6508 | break |
| 6509 | } |
| 6510 | } |
| 6511 | intStringLen := int(stringLen) |
| 6512 | if intStringLen < 0 { |
| 6513 | return ErrInvalidLengthGenerated |
| 6514 | } |
| 6515 | postIndex := iNdEx + intStringLen |
| 6516 | if postIndex > l { |
| 6517 | return io.ErrUnexpectedEOF |
| 6518 | } |
| 6519 | m.UpdateRevision = string(dAtA[iNdEx:postIndex]) |
| 6520 | iNdEx = postIndex |
| 6521 | case 9: |
| 6522 | if wireType != 0 { |
| 6523 | return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType) |
| 6524 | } |
| 6525 | var v int32 |
| 6526 | for shift := uint(0); ; shift += 7 { |
| 6527 | if shift >= 64 { |
| 6528 | return ErrIntOverflowGenerated |
| 6529 | } |
| 6530 | if iNdEx >= l { |
| 6531 | return io.ErrUnexpectedEOF |
| 6532 | } |
| 6533 | b := dAtA[iNdEx] |
| 6534 | iNdEx++ |
| 6535 | v |= (int32(b) & 0x7F) << shift |
| 6536 | if b < 0x80 { |
| 6537 | break |
| 6538 | } |
| 6539 | } |
| 6540 | m.CollisionCount = &v |
| 6541 | case 10: |
| 6542 | if wireType != 2 { |
| 6543 | return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) |
| 6544 | } |
| 6545 | var msglen int |
| 6546 | for shift := uint(0); ; shift += 7 { |
| 6547 | if shift >= 64 { |
| 6548 | return ErrIntOverflowGenerated |
| 6549 | } |
| 6550 | if iNdEx >= l { |
| 6551 | return io.ErrUnexpectedEOF |
| 6552 | } |
| 6553 | b := dAtA[iNdEx] |
| 6554 | iNdEx++ |
| 6555 | msglen |= (int(b) & 0x7F) << shift |
| 6556 | if b < 0x80 { |
| 6557 | break |
| 6558 | } |
| 6559 | } |
| 6560 | if msglen < 0 { |
| 6561 | return ErrInvalidLengthGenerated |
| 6562 | } |
| 6563 | postIndex := iNdEx + msglen |
| 6564 | if postIndex > l { |
| 6565 | return io.ErrUnexpectedEOF |
| 6566 | } |
| 6567 | m.Conditions = append(m.Conditions, StatefulSetCondition{}) |
| 6568 | if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6569 | return err |
| 6570 | } |
| 6571 | iNdEx = postIndex |
| 6572 | default: |
| 6573 | iNdEx = preIndex |
| 6574 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6575 | if err != nil { |
| 6576 | return err |
| 6577 | } |
| 6578 | if skippy < 0 { |
| 6579 | return ErrInvalidLengthGenerated |
| 6580 | } |
| 6581 | if (iNdEx + skippy) > l { |
| 6582 | return io.ErrUnexpectedEOF |
| 6583 | } |
| 6584 | iNdEx += skippy |
| 6585 | } |
| 6586 | } |
| 6587 | |
| 6588 | if iNdEx > l { |
| 6589 | return io.ErrUnexpectedEOF |
| 6590 | } |
| 6591 | return nil |
| 6592 | } |
| 6593 | func (m *StatefulSetUpdateStrategy) Unmarshal(dAtA []byte) error { |
| 6594 | l := len(dAtA) |
| 6595 | iNdEx := 0 |
| 6596 | for iNdEx < l { |
| 6597 | preIndex := iNdEx |
| 6598 | var wire uint64 |
| 6599 | for shift := uint(0); ; shift += 7 { |
| 6600 | if shift >= 64 { |
| 6601 | return ErrIntOverflowGenerated |
| 6602 | } |
| 6603 | if iNdEx >= l { |
| 6604 | return io.ErrUnexpectedEOF |
| 6605 | } |
| 6606 | b := dAtA[iNdEx] |
| 6607 | iNdEx++ |
| 6608 | wire |= (uint64(b) & 0x7F) << shift |
| 6609 | if b < 0x80 { |
| 6610 | break |
| 6611 | } |
| 6612 | } |
| 6613 | fieldNum := int32(wire >> 3) |
| 6614 | wireType := int(wire & 0x7) |
| 6615 | if wireType == 4 { |
| 6616 | return fmt.Errorf("proto: StatefulSetUpdateStrategy: wiretype end group for non-group") |
| 6617 | } |
| 6618 | if fieldNum <= 0 { |
| 6619 | return fmt.Errorf("proto: StatefulSetUpdateStrategy: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6620 | } |
| 6621 | switch fieldNum { |
| 6622 | case 1: |
| 6623 | if wireType != 2 { |
| 6624 | return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 6625 | } |
| 6626 | var stringLen uint64 |
| 6627 | for shift := uint(0); ; shift += 7 { |
| 6628 | if shift >= 64 { |
| 6629 | return ErrIntOverflowGenerated |
| 6630 | } |
| 6631 | if iNdEx >= l { |
| 6632 | return io.ErrUnexpectedEOF |
| 6633 | } |
| 6634 | b := dAtA[iNdEx] |
| 6635 | iNdEx++ |
| 6636 | stringLen |= (uint64(b) & 0x7F) << shift |
| 6637 | if b < 0x80 { |
| 6638 | break |
| 6639 | } |
| 6640 | } |
| 6641 | intStringLen := int(stringLen) |
| 6642 | if intStringLen < 0 { |
| 6643 | return ErrInvalidLengthGenerated |
| 6644 | } |
| 6645 | postIndex := iNdEx + intStringLen |
| 6646 | if postIndex > l { |
| 6647 | return io.ErrUnexpectedEOF |
| 6648 | } |
| 6649 | m.Type = StatefulSetUpdateStrategyType(dAtA[iNdEx:postIndex]) |
| 6650 | iNdEx = postIndex |
| 6651 | case 2: |
| 6652 | if wireType != 2 { |
| 6653 | return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType) |
| 6654 | } |
| 6655 | var msglen int |
| 6656 | for shift := uint(0); ; shift += 7 { |
| 6657 | if shift >= 64 { |
| 6658 | return ErrIntOverflowGenerated |
| 6659 | } |
| 6660 | if iNdEx >= l { |
| 6661 | return io.ErrUnexpectedEOF |
| 6662 | } |
| 6663 | b := dAtA[iNdEx] |
| 6664 | iNdEx++ |
| 6665 | msglen |= (int(b) & 0x7F) << shift |
| 6666 | if b < 0x80 { |
| 6667 | break |
| 6668 | } |
| 6669 | } |
| 6670 | if msglen < 0 { |
| 6671 | return ErrInvalidLengthGenerated |
| 6672 | } |
| 6673 | postIndex := iNdEx + msglen |
| 6674 | if postIndex > l { |
| 6675 | return io.ErrUnexpectedEOF |
| 6676 | } |
| 6677 | if m.RollingUpdate == nil { |
| 6678 | m.RollingUpdate = &RollingUpdateStatefulSetStrategy{} |
| 6679 | } |
| 6680 | if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6681 | return err |
| 6682 | } |
| 6683 | iNdEx = postIndex |
| 6684 | default: |
| 6685 | iNdEx = preIndex |
| 6686 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6687 | if err != nil { |
| 6688 | return err |
| 6689 | } |
| 6690 | if skippy < 0 { |
| 6691 | return ErrInvalidLengthGenerated |
| 6692 | } |
| 6693 | if (iNdEx + skippy) > l { |
| 6694 | return io.ErrUnexpectedEOF |
| 6695 | } |
| 6696 | iNdEx += skippy |
| 6697 | } |
| 6698 | } |
| 6699 | |
| 6700 | if iNdEx > l { |
| 6701 | return io.ErrUnexpectedEOF |
| 6702 | } |
| 6703 | return nil |
| 6704 | } |
| 6705 | func skipGenerated(dAtA []byte) (n int, err error) { |
| 6706 | l := len(dAtA) |
| 6707 | iNdEx := 0 |
| 6708 | for iNdEx < l { |
| 6709 | var wire uint64 |
| 6710 | for shift := uint(0); ; shift += 7 { |
| 6711 | if shift >= 64 { |
| 6712 | return 0, ErrIntOverflowGenerated |
| 6713 | } |
| 6714 | if iNdEx >= l { |
| 6715 | return 0, io.ErrUnexpectedEOF |
| 6716 | } |
| 6717 | b := dAtA[iNdEx] |
| 6718 | iNdEx++ |
| 6719 | wire |= (uint64(b) & 0x7F) << shift |
| 6720 | if b < 0x80 { |
| 6721 | break |
| 6722 | } |
| 6723 | } |
| 6724 | wireType := int(wire & 0x7) |
| 6725 | switch wireType { |
| 6726 | case 0: |
| 6727 | for shift := uint(0); ; shift += 7 { |
| 6728 | if shift >= 64 { |
| 6729 | return 0, ErrIntOverflowGenerated |
| 6730 | } |
| 6731 | if iNdEx >= l { |
| 6732 | return 0, io.ErrUnexpectedEOF |
| 6733 | } |
| 6734 | iNdEx++ |
| 6735 | if dAtA[iNdEx-1] < 0x80 { |
| 6736 | break |
| 6737 | } |
| 6738 | } |
| 6739 | return iNdEx, nil |
| 6740 | case 1: |
| 6741 | iNdEx += 8 |
| 6742 | return iNdEx, nil |
| 6743 | case 2: |
| 6744 | var length int |
| 6745 | for shift := uint(0); ; shift += 7 { |
| 6746 | if shift >= 64 { |
| 6747 | return 0, ErrIntOverflowGenerated |
| 6748 | } |
| 6749 | if iNdEx >= l { |
| 6750 | return 0, io.ErrUnexpectedEOF |
| 6751 | } |
| 6752 | b := dAtA[iNdEx] |
| 6753 | iNdEx++ |
| 6754 | length |= (int(b) & 0x7F) << shift |
| 6755 | if b < 0x80 { |
| 6756 | break |
| 6757 | } |
| 6758 | } |
| 6759 | iNdEx += length |
| 6760 | if length < 0 { |
| 6761 | return 0, ErrInvalidLengthGenerated |
| 6762 | } |
| 6763 | return iNdEx, nil |
| 6764 | case 3: |
| 6765 | for { |
| 6766 | var innerWire uint64 |
| 6767 | var start int = iNdEx |
| 6768 | for shift := uint(0); ; shift += 7 { |
| 6769 | if shift >= 64 { |
| 6770 | return 0, ErrIntOverflowGenerated |
| 6771 | } |
| 6772 | if iNdEx >= l { |
| 6773 | return 0, io.ErrUnexpectedEOF |
| 6774 | } |
| 6775 | b := dAtA[iNdEx] |
| 6776 | iNdEx++ |
| 6777 | innerWire |= (uint64(b) & 0x7F) << shift |
| 6778 | if b < 0x80 { |
| 6779 | break |
| 6780 | } |
| 6781 | } |
| 6782 | innerWireType := int(innerWire & 0x7) |
| 6783 | if innerWireType == 4 { |
| 6784 | break |
| 6785 | } |
| 6786 | next, err := skipGenerated(dAtA[start:]) |
| 6787 | if err != nil { |
| 6788 | return 0, err |
| 6789 | } |
| 6790 | iNdEx = start + next |
| 6791 | } |
| 6792 | return iNdEx, nil |
| 6793 | case 4: |
| 6794 | return iNdEx, nil |
| 6795 | case 5: |
| 6796 | iNdEx += 4 |
| 6797 | return iNdEx, nil |
| 6798 | default: |
| 6799 | return 0, fmt.Errorf("proto: illegal wireType %d", wireType) |
| 6800 | } |
| 6801 | } |
| 6802 | panic("unreachable") |
| 6803 | } |
| 6804 | |
| 6805 | var ( |
| 6806 | ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") |
| 6807 | ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") |
| 6808 | ) |
| 6809 | |
| 6810 | func init() { |
| 6811 | proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/apps/v1/generated.proto", fileDescriptorGenerated) |
| 6812 | } |
| 6813 | |
| 6814 | var fileDescriptorGenerated = []byte{ |
| 6815 | // 2051 bytes of a gzipped FileDescriptorProto |
| 6816 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcd, 0x6f, 0x24, 0x47, |
| 6817 | 0x1d, 0x75, 0xcf, 0x87, 0x3d, 0x2e, 0xaf, 0xed, 0xdd, 0xb2, 0xb1, 0x27, 0xbb, 0x64, 0x66, 0x19, |
| 6818 | 0x60, 0xe3, 0xcd, 0x66, 0x7b, 0xf0, 0x66, 0x13, 0xa1, 0x2c, 0x02, 0x79, 0xc6, 0x21, 0x84, 0x78, |
| 6819 | 0x6c, 0x53, 0x5e, 0xef, 0x61, 0x09, 0x12, 0x35, 0x33, 0xb5, 0xe3, 0x8e, 0xfb, 0x4b, 0xdd, 0xd5, |
| 6820 | 0xc3, 0x8e, 0xb8, 0x20, 0x24, 0x38, 0x71, 0xe0, 0x3f, 0x41, 0x08, 0xc1, 0x0d, 0x45, 0x88, 0xcb, |
| 6821 | 0x5e, 0x90, 0x22, 0x2e, 0xe4, 0x64, 0xb1, 0x93, 0x13, 0x42, 0x39, 0x72, 0xc9, 0x05, 0x54, 0xd5, |
| 6822 | 0xd5, 0xdf, 0xd5, 0x9e, 0xb1, 0x37, 0xeb, 0xa0, 0x68, 0x6f, 0x9e, 0xaa, 0xf7, 0x7b, 0xfd, 0xab, |
| 6823 | 0xaa, 0x5f, 0xd5, 0x7b, 0x5d, 0x6d, 0x70, 0xef, 0xf8, 0xdb, 0xae, 0xaa, 0x59, 0xcd, 0x63, 0xaf, |
| 6824 | 0x4b, 0x1c, 0x93, 0x50, 0xe2, 0x36, 0x87, 0xc4, 0xec, 0x5b, 0x4e, 0x53, 0x74, 0x60, 0x5b, 0x6b, |
| 6825 | 0x62, 0xdb, 0x76, 0x9b, 0xc3, 0xcd, 0xe6, 0x80, 0x98, 0xc4, 0xc1, 0x94, 0xf4, 0x55, 0xdb, 0xb1, |
| 6826 | 0xa8, 0x05, 0xa1, 0x8f, 0x51, 0xb1, 0xad, 0xa9, 0x0c, 0xa3, 0x0e, 0x37, 0xaf, 0xde, 0x1e, 0x68, |
| 6827 | 0xf4, 0xc8, 0xeb, 0xaa, 0x3d, 0xcb, 0x68, 0x0e, 0xac, 0x81, 0xd5, 0xe4, 0xd0, 0xae, 0xf7, 0x88, |
| 6828 | 0xff, 0xe2, 0x3f, 0xf8, 0x5f, 0x3e, 0xc5, 0xd5, 0x46, 0xec, 0x31, 0x3d, 0xcb, 0x21, 0x92, 0xc7, |
| 6829 | 0x5c, 0xbd, 0x19, 0xc3, 0xd8, 0x96, 0xae, 0xf5, 0x46, 0xcd, 0xe1, 0x66, 0x97, 0x50, 0x9c, 0x85, |
| 6830 | 0xde, 0x8d, 0xa0, 0x06, 0xee, 0x1d, 0x69, 0x26, 0x71, 0x46, 0x4d, 0xfb, 0x78, 0xc0, 0x1a, 0xdc, |
| 6831 | 0xa6, 0x41, 0x28, 0x96, 0x3d, 0xa0, 0x99, 0x17, 0xe5, 0x78, 0x26, 0xd5, 0x0c, 0x92, 0x09, 0x78, |
| 6832 | 0x73, 0x52, 0x80, 0xdb, 0x3b, 0x22, 0x06, 0xce, 0xc4, 0xbd, 0x9e, 0x17, 0xe7, 0x51, 0x4d, 0x6f, |
| 6833 | 0x6a, 0x26, 0x75, 0xa9, 0x93, 0x0e, 0x6a, 0xfc, 0x47, 0x01, 0xb0, 0x6d, 0x99, 0xd4, 0xb1, 0x74, |
| 6834 | 0x9d, 0x38, 0x88, 0x0c, 0x35, 0x57, 0xb3, 0x4c, 0xf8, 0x53, 0x50, 0x61, 0xe3, 0xe9, 0x63, 0x8a, |
| 6835 | 0xab, 0xca, 0x75, 0x65, 0x63, 0xe1, 0xce, 0xb7, 0xd4, 0x68, 0x3d, 0x42, 0x7a, 0xd5, 0x3e, 0x1e, |
| 6836 | 0xb0, 0x06, 0x57, 0x65, 0x68, 0x75, 0xb8, 0xa9, 0xee, 0x75, 0x3f, 0x20, 0x3d, 0xda, 0x21, 0x14, |
| 6837 | 0xb7, 0xe0, 0x93, 0x93, 0xfa, 0xcc, 0xf8, 0xa4, 0x0e, 0xa2, 0x36, 0x14, 0xb2, 0xc2, 0x3d, 0x50, |
| 6838 | 0xe2, 0xec, 0x05, 0xce, 0x7e, 0x3b, 0x97, 0x5d, 0x0c, 0x5a, 0x45, 0xf8, 0x67, 0x6f, 0x3f, 0xa6, |
| 6839 | 0xc4, 0x64, 0xe9, 0xb5, 0x2e, 0x09, 0xea, 0xd2, 0x36, 0xa6, 0x18, 0x71, 0x22, 0xf8, 0x1a, 0xa8, |
| 6840 | 0x38, 0x22, 0xfd, 0x6a, 0xf1, 0xba, 0xb2, 0x51, 0x6c, 0x5d, 0x16, 0xa8, 0x4a, 0x30, 0x2c, 0x14, |
| 6841 | 0x22, 0x1a, 0x7f, 0x55, 0xc0, 0x5a, 0x76, 0xdc, 0x3b, 0x9a, 0x4b, 0xe1, 0xfb, 0x99, 0xb1, 0xab, |
| 6842 | 0xd3, 0x8d, 0x9d, 0x45, 0xf3, 0x91, 0x87, 0x0f, 0x0e, 0x5a, 0x62, 0xe3, 0x7e, 0x0f, 0x94, 0x35, |
| 6843 | 0x4a, 0x0c, 0xb7, 0x5a, 0xb8, 0x5e, 0xdc, 0x58, 0xb8, 0x73, 0x43, 0xcd, 0x96, 0xb9, 0x9a, 0x4d, |
| 6844 | 0xac, 0xb5, 0x28, 0x28, 0xcb, 0xef, 0xb2, 0x60, 0xe4, 0x73, 0x34, 0xfe, 0xab, 0x80, 0xf9, 0x6d, |
| 6845 | 0x4c, 0x0c, 0xcb, 0x3c, 0x20, 0xf4, 0x02, 0x16, 0xad, 0x0d, 0x4a, 0xae, 0x4d, 0x7a, 0x62, 0xd1, |
| 6846 | 0xbe, 0x26, 0xcb, 0x3d, 0x4c, 0xe7, 0xc0, 0x26, 0xbd, 0x68, 0xa1, 0xd8, 0x2f, 0xc4, 0x83, 0xe1, |
| 6847 | 0x7b, 0x60, 0xd6, 0xa5, 0x98, 0x7a, 0x2e, 0x5f, 0xa6, 0x85, 0x3b, 0x5f, 0x3f, 0x9d, 0x86, 0x43, |
| 6848 | 0x5b, 0x4b, 0x82, 0x68, 0xd6, 0xff, 0x8d, 0x04, 0x45, 0xe3, 0x5f, 0x05, 0x00, 0x43, 0x6c, 0xdb, |
| 6849 | 0x32, 0xfb, 0x1a, 0x65, 0xf5, 0xfb, 0x16, 0x28, 0xd1, 0x91, 0x4d, 0xf8, 0x34, 0xcc, 0xb7, 0x6e, |
| 6850 | 0x04, 0x59, 0xdc, 0x1f, 0xd9, 0xe4, 0xb3, 0x93, 0xfa, 0x5a, 0x36, 0x82, 0xf5, 0x20, 0x1e, 0x03, |
| 6851 | 0x77, 0xc2, 0xfc, 0x0a, 0x3c, 0xfa, 0x6e, 0xf2, 0xd1, 0x9f, 0x9d, 0xd4, 0x25, 0xe7, 0x8a, 0x1a, |
| 6852 | 0x32, 0x25, 0x13, 0x84, 0x43, 0x00, 0x75, 0xec, 0xd2, 0xfb, 0x0e, 0x36, 0x5d, 0xff, 0x49, 0x9a, |
| 6853 | 0x41, 0xc4, 0xc8, 0x5f, 0x9d, 0x6e, 0x79, 0x58, 0x44, 0xeb, 0xaa, 0xc8, 0x02, 0xee, 0x64, 0xd8, |
| 6854 | 0x90, 0xe4, 0x09, 0xf0, 0x06, 0x98, 0x75, 0x08, 0x76, 0x2d, 0xb3, 0x5a, 0xe2, 0xa3, 0x08, 0x27, |
| 6855 | 0x10, 0xf1, 0x56, 0x24, 0x7a, 0xe1, 0x4d, 0x30, 0x67, 0x10, 0xd7, 0xc5, 0x03, 0x52, 0x2d, 0x73, |
| 6856 | 0xe0, 0xb2, 0x00, 0xce, 0x75, 0xfc, 0x66, 0x14, 0xf4, 0x37, 0x7e, 0xaf, 0x80, 0xc5, 0x70, 0xe6, |
| 6857 | 0x2e, 0x60, 0xab, 0xb4, 0x92, 0x5b, 0xe5, 0xe5, 0x53, 0xeb, 0x24, 0x67, 0x87, 0x7c, 0x58, 0x8c, |
| 6858 | 0xe5, 0xcc, 0x8a, 0x10, 0xfe, 0x04, 0x54, 0x5c, 0xa2, 0x93, 0x1e, 0xb5, 0x1c, 0x91, 0xf3, 0xeb, |
| 6859 | 0x53, 0xe6, 0x8c, 0xbb, 0x44, 0x3f, 0x10, 0xa1, 0xad, 0x4b, 0x2c, 0xe9, 0xe0, 0x17, 0x0a, 0x29, |
| 6860 | 0xe1, 0x8f, 0x40, 0x85, 0x12, 0xc3, 0xd6, 0x31, 0x25, 0x62, 0x9b, 0x24, 0xea, 0x9b, 0x95, 0x0b, |
| 6861 | 0x23, 0xdb, 0xb7, 0xfa, 0xf7, 0x05, 0x8c, 0x6f, 0x94, 0x70, 0x1e, 0x82, 0x56, 0x14, 0xd2, 0xc0, |
| 6862 | 0x63, 0xb0, 0xe4, 0xd9, 0x7d, 0x86, 0xa4, 0xec, 0xe8, 0x1e, 0x8c, 0x44, 0xf9, 0xdc, 0x3a, 0x75, |
| 6863 | 0x42, 0x0e, 0x13, 0x21, 0xad, 0x35, 0xf1, 0x80, 0xa5, 0x64, 0x3b, 0x4a, 0x51, 0xc3, 0x2d, 0xb0, |
| 6864 | 0x6c, 0x68, 0x26, 0x22, 0xb8, 0x3f, 0x3a, 0x20, 0x3d, 0xcb, 0xec, 0xbb, 0xbc, 0x80, 0xca, 0xad, |
| 6865 | 0x75, 0x41, 0xb0, 0xdc, 0x49, 0x76, 0xa3, 0x34, 0x1e, 0xee, 0x80, 0xd5, 0xe0, 0x9c, 0xfd, 0x81, |
| 6866 | 0xe6, 0x52, 0xcb, 0x19, 0xed, 0x68, 0x86, 0x46, 0xab, 0xb3, 0x9c, 0xa7, 0x3a, 0x3e, 0xa9, 0xaf, |
| 6867 | 0x22, 0x49, 0x3f, 0x92, 0x46, 0x35, 0x7e, 0x33, 0x0b, 0x96, 0x53, 0xa7, 0x01, 0x7c, 0x00, 0xd6, |
| 6868 | 0x7a, 0x9e, 0xe3, 0x10, 0x93, 0xee, 0x7a, 0x46, 0x97, 0x38, 0x07, 0xbd, 0x23, 0xd2, 0xf7, 0x74, |
| 6869 | 0xd2, 0xe7, 0x2b, 0x5a, 0x6e, 0xd5, 0x44, 0xae, 0x6b, 0x6d, 0x29, 0x0a, 0xe5, 0x44, 0xc3, 0x1f, |
| 6870 | 0x02, 0x68, 0xf2, 0xa6, 0x8e, 0xe6, 0xba, 0x21, 0x67, 0x81, 0x73, 0x86, 0x1b, 0x70, 0x37, 0x83, |
| 6871 | 0x40, 0x92, 0x28, 0x96, 0x63, 0x9f, 0xb8, 0x9a, 0x43, 0xfa, 0xe9, 0x1c, 0x8b, 0xc9, 0x1c, 0xb7, |
| 6872 | 0xa5, 0x28, 0x94, 0x13, 0x0d, 0xdf, 0x00, 0x0b, 0xfe, 0xd3, 0xf8, 0x9c, 0x8b, 0xc5, 0x59, 0x11, |
| 6873 | 0x64, 0x0b, 0xbb, 0x51, 0x17, 0x8a, 0xe3, 0xd8, 0xd0, 0xac, 0xae, 0x4b, 0x9c, 0x21, 0xe9, 0xbf, |
| 6874 | 0xe3, 0x7b, 0x00, 0x26, 0x94, 0x65, 0x2e, 0x94, 0xe1, 0xd0, 0xf6, 0x32, 0x08, 0x24, 0x89, 0x62, |
| 6875 | 0x43, 0xf3, 0xab, 0x26, 0x33, 0xb4, 0xd9, 0xe4, 0xd0, 0x0e, 0xa5, 0x28, 0x94, 0x13, 0xcd, 0x6a, |
| 6876 | 0xcf, 0x4f, 0x79, 0x6b, 0x88, 0x35, 0x1d, 0x77, 0x75, 0x52, 0x9d, 0x4b, 0xd6, 0xde, 0x6e, 0xb2, |
| 6877 | 0x1b, 0xa5, 0xf1, 0xf0, 0x1d, 0x70, 0xc5, 0x6f, 0x3a, 0x34, 0x71, 0x48, 0x52, 0xe1, 0x24, 0x2f, |
| 6878 | 0x09, 0x92, 0x2b, 0xbb, 0x69, 0x00, 0xca, 0xc6, 0xc0, 0xb7, 0xc0, 0x52, 0xcf, 0xd2, 0x75, 0x5e, |
| 6879 | 0x8f, 0x6d, 0xcb, 0x33, 0x69, 0x75, 0x9e, 0xb3, 0x40, 0xb6, 0x87, 0xda, 0x89, 0x1e, 0x94, 0x42, |
| 6880 | 0xc2, 0x87, 0x00, 0xf4, 0x02, 0x39, 0x70, 0xab, 0x20, 0x5f, 0xe8, 0xb3, 0x3a, 0x14, 0x09, 0x70, |
| 6881 | 0xd8, 0xe4, 0xa2, 0x18, 0x5b, 0xe3, 0x43, 0x05, 0xac, 0xe7, 0xec, 0x71, 0xf8, 0xbd, 0x84, 0xea, |
| 6882 | 0xdd, 0x4a, 0xa9, 0xde, 0xb5, 0x9c, 0xb0, 0x98, 0xf4, 0xf5, 0xc0, 0x22, 0xf3, 0x1d, 0x9a, 0x39, |
| 6883 | 0xf0, 0x21, 0xe2, 0x04, 0x7b, 0x55, 0x96, 0x3b, 0x8a, 0x03, 0xa3, 0x63, 0xf8, 0xca, 0xf8, 0xa4, |
| 6884 | 0xbe, 0x98, 0xe8, 0x43, 0x49, 0xce, 0xc6, 0x2f, 0x0b, 0x00, 0x6c, 0x13, 0x5b, 0xb7, 0x46, 0x06, |
| 6885 | 0x31, 0x2f, 0xc2, 0xb5, 0x6c, 0x27, 0x5c, 0x4b, 0x43, 0xba, 0x10, 0x61, 0x3e, 0xb9, 0xb6, 0x65, |
| 6886 | 0x27, 0x65, 0x5b, 0xbe, 0x31, 0x81, 0xe7, 0x74, 0xdf, 0xf2, 0x8f, 0x22, 0x58, 0x89, 0xc0, 0x91, |
| 6887 | 0x71, 0xb9, 0x97, 0x58, 0xc2, 0x57, 0x52, 0x4b, 0xb8, 0x2e, 0x09, 0x79, 0x6e, 0xce, 0xe5, 0xf3, |
| 6888 | 0x77, 0x10, 0xf0, 0x03, 0xb0, 0xc4, 0xac, 0x8a, 0x5f, 0x08, 0xdc, 0x08, 0xcd, 0x9e, 0xd9, 0x08, |
| 6889 | 0x85, 0x42, 0xb6, 0x93, 0x60, 0x42, 0x29, 0xe6, 0x1c, 0xe3, 0x35, 0xf7, 0xbc, 0x8d, 0x57, 0xe3, |
| 6890 | 0x0f, 0x0a, 0x58, 0x8a, 0x96, 0xe9, 0x02, 0x6c, 0x52, 0x3b, 0x69, 0x93, 0x6a, 0xa7, 0xd7, 0x65, |
| 6891 | 0x8e, 0x4f, 0xfa, 0x7b, 0x29, 0x9e, 0x35, 0x37, 0x4a, 0x1b, 0xec, 0x85, 0xca, 0xd6, 0xb5, 0x1e, |
| 6892 | 0x76, 0x85, 0xac, 0x5e, 0xf2, 0x5f, 0xa6, 0xfc, 0x36, 0x14, 0xf6, 0x26, 0x2c, 0x55, 0xe1, 0xf9, |
| 6893 | 0x5a, 0xaa, 0xe2, 0xe7, 0x63, 0xa9, 0xee, 0x83, 0x8a, 0x1b, 0x98, 0xa9, 0x12, 0xa7, 0xbc, 0x31, |
| 6894 | 0x69, 0x3b, 0x0b, 0x1f, 0x15, 0xb2, 0x86, 0x0e, 0x2a, 0x64, 0x92, 0x79, 0xa7, 0xf2, 0x17, 0xe9, |
| 6895 | 0x9d, 0xd8, 0x16, 0xb6, 0xb1, 0xe7, 0x92, 0x3e, 0xaf, 0xfb, 0x4a, 0xb4, 0x85, 0xf7, 0x79, 0x2b, |
| 6896 | 0x12, 0xbd, 0xf0, 0x10, 0xac, 0xdb, 0x8e, 0x35, 0x70, 0x88, 0xeb, 0x6e, 0x13, 0xdc, 0xd7, 0x35, |
| 6897 | 0x93, 0x04, 0x03, 0xf0, 0x55, 0xef, 0xda, 0xf8, 0xa4, 0xbe, 0xbe, 0x2f, 0x87, 0xa0, 0xbc, 0xd8, |
| 6898 | 0xc6, 0x9f, 0x4b, 0xe0, 0x72, 0xfa, 0x44, 0xcc, 0x31, 0x22, 0xca, 0xb9, 0x8c, 0xc8, 0x6b, 0xb1, |
| 6899 | 0x12, 0xf5, 0x5d, 0x5a, 0xec, 0x9d, 0x3f, 0x53, 0xa6, 0x5b, 0x60, 0x59, 0x18, 0x8f, 0xa0, 0x53, |
| 6900 | 0x58, 0xb1, 0x70, 0x79, 0x0e, 0x93, 0xdd, 0x28, 0x8d, 0x67, 0xf6, 0x22, 0x72, 0x0d, 0x01, 0x49, |
| 6901 | 0x29, 0x69, 0x2f, 0xb6, 0xd2, 0x00, 0x94, 0x8d, 0x81, 0x1d, 0xb0, 0xe2, 0x99, 0x59, 0x2a, 0xbf, |
| 6902 | 0x5c, 0xae, 0x09, 0xaa, 0x95, 0xc3, 0x2c, 0x04, 0xc9, 0xe2, 0xe0, 0x8f, 0x13, 0x8e, 0x63, 0x96, |
| 6903 | 0x1f, 0x04, 0xaf, 0x9c, 0x5e, 0xd1, 0x53, 0x5b, 0x0e, 0x78, 0x0f, 0x2c, 0x3a, 0xdc, 0x50, 0x06, |
| 6904 | 0x59, 0xfa, 0xa6, 0xec, 0x2b, 0x22, 0x6c, 0x11, 0xc5, 0x3b, 0x51, 0x12, 0x2b, 0xf1, 0x51, 0x95, |
| 6905 | 0x69, 0x7d, 0x54, 0xe3, 0x4f, 0x0a, 0x80, 0xd9, 0x2d, 0x38, 0xf1, 0xe5, 0x3e, 0x13, 0x11, 0x93, |
| 6906 | 0xc8, 0xbe, 0xdc, 0xe1, 0xdc, 0x9a, 0xec, 0x70, 0xa2, 0x13, 0x74, 0x3a, 0x8b, 0x23, 0x66, 0xe0, |
| 6907 | 0x62, 0x2e, 0x66, 0xa6, 0xb0, 0x38, 0x51, 0x3e, 0xcf, 0x66, 0x71, 0x62, 0x3c, 0xa7, 0x5b, 0x9c, |
| 6908 | 0x7f, 0x17, 0xc0, 0x4a, 0x04, 0x9e, 0xda, 0xe2, 0x48, 0x42, 0x5e, 0x5c, 0xce, 0x4c, 0xbe, 0x9c, |
| 6909 | 0x61, 0xb6, 0x23, 0x9a, 0xba, 0xff, 0x13, 0xdb, 0x11, 0x25, 0x94, 0x63, 0x3b, 0x7e, 0x57, 0x88, |
| 6910 | 0x67, 0xfd, 0xa5, 0xb7, 0x1d, 0xcf, 0x7e, 0xb9, 0xd2, 0xf8, 0x4b, 0x11, 0x5c, 0x4e, 0x6f, 0xc1, |
| 6911 | 0x84, 0x0e, 0x2a, 0x13, 0x75, 0x70, 0x1f, 0xac, 0x3e, 0xf2, 0x74, 0x7d, 0xc4, 0xa7, 0x21, 0x26, |
| 6912 | 0x86, 0xbe, 0x82, 0x7e, 0x55, 0x44, 0xae, 0x7e, 0x5f, 0x82, 0x41, 0xd2, 0xc8, 0x1c, 0x4d, 0x2f, |
| 6913 | 0x9e, 0x4b, 0xd3, 0x33, 0x6a, 0x53, 0x3a, 0x83, 0xda, 0x48, 0xf5, 0xb9, 0x7c, 0x0e, 0x7d, 0x9e, |
| 6914 | 0x5a, 0x50, 0x25, 0xc7, 0xd5, 0xc4, 0x77, 0xf8, 0x5f, 0x2b, 0x60, 0x4d, 0xfe, 0xfa, 0x0c, 0x75, |
| 6915 | 0xb0, 0x64, 0xe0, 0xc7, 0xf1, 0xcb, 0x8b, 0x49, 0x82, 0xe1, 0x51, 0x4d, 0x57, 0xfd, 0xaf, 0x3b, |
| 6916 | 0xea, 0xbb, 0x26, 0xdd, 0x73, 0x0e, 0xa8, 0xa3, 0x99, 0x03, 0x5f, 0x60, 0x3b, 0x09, 0x2e, 0x94, |
| 6917 | 0xe2, 0x6e, 0x7c, 0xa2, 0x80, 0xf5, 0x1c, 0x95, 0xbb, 0xd8, 0x4c, 0xe0, 0x43, 0x50, 0x31, 0xf0, |
| 6918 | 0xe3, 0x03, 0xcf, 0x19, 0x04, 0x92, 0x7c, 0xf6, 0xe7, 0xf0, 0x8d, 0xdc, 0x11, 0x2c, 0x28, 0xe4, |
| 6919 | 0x6b, 0xec, 0x81, 0xeb, 0x89, 0x41, 0xb2, 0x4d, 0x43, 0x1e, 0x79, 0x3a, 0xdf, 0x3f, 0xc2, 0x53, |
| 6920 | 0xdc, 0x02, 0xf3, 0x36, 0x76, 0xa8, 0x16, 0x9a, 0xd1, 0x72, 0x6b, 0x71, 0x7c, 0x52, 0x9f, 0xdf, |
| 6921 | 0x0f, 0x1a, 0x51, 0xd4, 0xdf, 0xf8, 0x55, 0x01, 0x2c, 0xc4, 0x48, 0x2e, 0x40, 0xdf, 0xdf, 0x4e, |
| 6922 | 0xe8, 0xbb, 0xf4, 0x8b, 0x49, 0x7c, 0x54, 0x79, 0x02, 0xdf, 0x49, 0x09, 0xfc, 0x37, 0x27, 0x11, |
| 6923 | 0x9d, 0xae, 0xf0, 0x9f, 0x16, 0xc0, 0x6a, 0x0c, 0x1d, 0x49, 0xfc, 0x77, 0x12, 0x12, 0xbf, 0x91, |
| 6924 | 0x92, 0xf8, 0xaa, 0x2c, 0xe6, 0x85, 0xc6, 0x4f, 0xd6, 0xf8, 0x3f, 0x2a, 0x60, 0x39, 0x36, 0x77, |
| 6925 | 0x17, 0x20, 0xf2, 0xdb, 0x49, 0x91, 0xaf, 0x4f, 0xa8, 0x97, 0x1c, 0x95, 0x7f, 0x52, 0x4e, 0xe4, |
| 6926 | 0xfd, 0xa5, 0x97, 0xf9, 0x9f, 0x83, 0xd5, 0xa1, 0xa5, 0x7b, 0x06, 0x69, 0xeb, 0x58, 0x33, 0x02, |
| 6927 | 0x00, 0x53, 0x32, 0x36, 0x89, 0x37, 0xa5, 0xf4, 0xc4, 0x71, 0x35, 0x97, 0x12, 0x93, 0x3e, 0x88, |
| 6928 | 0x22, 0x23, 0x2d, 0x7e, 0x20, 0xa1, 0x43, 0xd2, 0x87, 0xc0, 0x37, 0xc0, 0x02, 0xd3, 0x54, 0xad, |
| 6929 | 0x47, 0x76, 0xb1, 0x11, 0xd4, 0x54, 0xf8, 0x7d, 0xe0, 0x20, 0xea, 0x42, 0x71, 0x1c, 0x3c, 0x02, |
| 6930 | 0x2b, 0xb6, 0xd5, 0xef, 0x60, 0x13, 0x0f, 0x08, 0x3b, 0xff, 0xf7, 0xf9, 0xff, 0x42, 0xf0, 0x7b, |
| 6931 | 0x87, 0xf9, 0xd6, 0x9b, 0xc1, 0x0b, 0xe9, 0x7e, 0x16, 0xc2, 0x3c, 0xbb, 0xa4, 0x99, 0xef, 0x67, |
| 6932 | 0x19, 0x25, 0x34, 0x32, 0x9f, 0xb3, 0xe6, 0x32, 0xff, 0x03, 0x20, 0x2b, 0xae, 0x73, 0x7e, 0xd0, |
| 6933 | 0xca, 0xbb, 0x51, 0xa9, 0x9c, 0xeb, 0x6b, 0xd4, 0xa7, 0x25, 0x70, 0x25, 0x73, 0x40, 0x7e, 0x81, |
| 6934 | 0x77, 0x1a, 0x19, 0xb7, 0x54, 0x3c, 0x83, 0x5b, 0xda, 0x02, 0xcb, 0xe2, 0x43, 0x58, 0xca, 0x6c, |
| 6935 | 0x85, 0x76, 0xb4, 0x9d, 0xec, 0x46, 0x69, 0xbc, 0xec, 0x4e, 0xa5, 0x7c, 0xc6, 0x3b, 0x95, 0x78, |
| 6936 | 0x16, 0xe2, 0xff, 0x37, 0xfc, 0xaa, 0xcb, 0x66, 0x21, 0xfe, 0x8d, 0x23, 0x8d, 0x87, 0xdf, 0x0d, |
| 6937 | 0x4a, 0x2a, 0x64, 0x98, 0xe3, 0x0c, 0xa9, 0x1a, 0x09, 0x09, 0x52, 0xe8, 0x67, 0xfa, 0xd8, 0xf3, |
| 6938 | 0xbe, 0xe4, 0x63, 0xcf, 0xc6, 0x84, 0x52, 0x9e, 0xde, 0x2a, 0xfe, 0x4d, 0x01, 0x2f, 0xe5, 0xee, |
| 6939 | 0x01, 0xb8, 0x95, 0xd0, 0xd9, 0xdb, 0x29, 0x9d, 0x7d, 0x39, 0x37, 0x30, 0x26, 0xb6, 0x86, 0xfc, |
| 6940 | 0x42, 0xe4, 0xee, 0xc4, 0x0b, 0x11, 0x89, 0x8b, 0x9a, 0x7c, 0x33, 0xd2, 0xda, 0x78, 0xf2, 0xb4, |
| 6941 | 0x36, 0xf3, 0xd1, 0xd3, 0xda, 0xcc, 0xc7, 0x4f, 0x6b, 0x33, 0xbf, 0x18, 0xd7, 0x94, 0x27, 0xe3, |
| 6942 | 0x9a, 0xf2, 0xd1, 0xb8, 0xa6, 0x7c, 0x3c, 0xae, 0x29, 0xff, 0x1c, 0xd7, 0x94, 0xdf, 0x7e, 0x52, |
| 6943 | 0x9b, 0x79, 0x58, 0x18, 0x6e, 0xfe, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x70, 0x5f, 0xbf, 0x58, 0x3d, |
| 6944 | 0x26, 0x00, 0x00, |
| 6945 | } |