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