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