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