| 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/apimachinery/pkg/apis/meta/v1/generated.proto |
| 19 |
|
| 20 |
package v1 |
| 21 |
|
| 22 |
import ( |
| 23 |
fmt "fmt" |
| 24 |
|
| 25 |
io "io" |
| 26 |
|
| 27 |
proto "github.com/gogo/protobuf/proto" |
| 28 |
github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" |
| 29 |
runtime "k8s.io/apimachinery/pkg/runtime" |
| 30 |
|
| 31 |
math "math" |
| 32 |
math_bits "math/bits" |
| 33 |
reflect "reflect" |
| 34 |
strings "strings" |
| 35 |
time "time" |
| 36 |
|
| 37 |
k8s_io_apimachinery_pkg_types "k8s.io/apimachinery/pkg/types" |
| 38 |
) |
| 39 |
|
| 40 |
// Reference imports to suppress errors if they are not otherwise used. |
| 41 |
var _ = proto.Marshal |
| 42 |
var _ = fmt.Errorf |
| 43 |
var _ = math.Inf |
| 44 |
var _ = time.Kitchen |
| 45 |
|
| 46 |
// This is a compile-time assertion to ensure that this generated file |
| 47 |
// is compatible with the proto package it is being compiled against. |
| 48 |
// A compilation error at this line likely means your copy of the |
| 49 |
// proto package needs to be updated. |
| 50 |
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package |
| 51 |
|
| 52 |
func (m *APIGroup) Reset() { *m = APIGroup{} } |
| 53 |
func (*APIGroup) ProtoMessage() {} |
| 54 |
func (*APIGroup) Descriptor() ([]byte, []int) { |
| 55 |
return fileDescriptor_a8431b6e0aeeb761, []int{0} |
| 56 |
} |
| 57 |
func (m *APIGroup) XXX_Unmarshal(b []byte) error { |
| 58 |
return m.Unmarshal(b) |
| 59 |
} |
| 60 |
func (m *APIGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 61 |
b = b[:cap(b)] |
| 62 |
n, err := m.MarshalToSizedBuffer(b) |
| 63 |
if err != nil { |
| 64 |
return nil, err |
| 65 |
} |
| 66 |
return b[:n], nil |
| 67 |
} |
| 68 |
func (m *APIGroup) XXX_Merge(src proto.Message) { |
| 69 |
xxx_messageInfo_APIGroup.Merge(m, src) |
| 70 |
} |
| 71 |
func (m *APIGroup) XXX_Size() int { |
| 72 |
return m.Size() |
| 73 |
} |
| 74 |
func (m *APIGroup) XXX_DiscardUnknown() { |
| 75 |
xxx_messageInfo_APIGroup.DiscardUnknown(m) |
| 76 |
} |
| 77 |
|
| 78 |
var xxx_messageInfo_APIGroup proto.InternalMessageInfo |
| 79 |
|
| 80 |
func (m *APIGroupList) Reset() { *m = APIGroupList{} } |
| 81 |
func (*APIGroupList) ProtoMessage() {} |
| 82 |
func (*APIGroupList) Descriptor() ([]byte, []int) { |
| 83 |
return fileDescriptor_a8431b6e0aeeb761, []int{1} |
| 84 |
} |
| 85 |
func (m *APIGroupList) XXX_Unmarshal(b []byte) error { |
| 86 |
return m.Unmarshal(b) |
| 87 |
} |
| 88 |
func (m *APIGroupList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 89 |
b = b[:cap(b)] |
| 90 |
n, err := m.MarshalToSizedBuffer(b) |
| 91 |
if err != nil { |
| 92 |
return nil, err |
| 93 |
} |
| 94 |
return b[:n], nil |
| 95 |
} |
| 96 |
func (m *APIGroupList) XXX_Merge(src proto.Message) { |
| 97 |
xxx_messageInfo_APIGroupList.Merge(m, src) |
| 98 |
} |
| 99 |
func (m *APIGroupList) XXX_Size() int { |
| 100 |
return m.Size() |
| 101 |
} |
| 102 |
func (m *APIGroupList) XXX_DiscardUnknown() { |
| 103 |
xxx_messageInfo_APIGroupList.DiscardUnknown(m) |
| 104 |
} |
| 105 |
|
| 106 |
var xxx_messageInfo_APIGroupList proto.InternalMessageInfo |
| 107 |
|
| 108 |
func (m *APIResource) Reset() { *m = APIResource{} } |
| 109 |
func (*APIResource) ProtoMessage() {} |
| 110 |
func (*APIResource) Descriptor() ([]byte, []int) { |
| 111 |
return fileDescriptor_a8431b6e0aeeb761, []int{2} |
| 112 |
} |
| 113 |
func (m *APIResource) XXX_Unmarshal(b []byte) error { |
| 114 |
return m.Unmarshal(b) |
| 115 |
} |
| 116 |
func (m *APIResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 117 |
b = b[:cap(b)] |
| 118 |
n, err := m.MarshalToSizedBuffer(b) |
| 119 |
if err != nil { |
| 120 |
return nil, err |
| 121 |
} |
| 122 |
return b[:n], nil |
| 123 |
} |
| 124 |
func (m *APIResource) XXX_Merge(src proto.Message) { |
| 125 |
xxx_messageInfo_APIResource.Merge(m, src) |
| 126 |
} |
| 127 |
func (m *APIResource) XXX_Size() int { |
| 128 |
return m.Size() |
| 129 |
} |
| 130 |
func (m *APIResource) XXX_DiscardUnknown() { |
| 131 |
xxx_messageInfo_APIResource.DiscardUnknown(m) |
| 132 |
} |
| 133 |
|
| 134 |
var xxx_messageInfo_APIResource proto.InternalMessageInfo |
| 135 |
|
| 136 |
func (m *APIResourceList) Reset() { *m = APIResourceList{} } |
| 137 |
func (*APIResourceList) ProtoMessage() {} |
| 138 |
func (*APIResourceList) Descriptor() ([]byte, []int) { |
| 139 |
return fileDescriptor_a8431b6e0aeeb761, []int{3} |
| 140 |
} |
| 141 |
func (m *APIResourceList) XXX_Unmarshal(b []byte) error { |
| 142 |
return m.Unmarshal(b) |
| 143 |
} |
| 144 |
func (m *APIResourceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 145 |
b = b[:cap(b)] |
| 146 |
n, err := m.MarshalToSizedBuffer(b) |
| 147 |
if err != nil { |
| 148 |
return nil, err |
| 149 |
} |
| 150 |
return b[:n], nil |
| 151 |
} |
| 152 |
func (m *APIResourceList) XXX_Merge(src proto.Message) { |
| 153 |
xxx_messageInfo_APIResourceList.Merge(m, src) |
| 154 |
} |
| 155 |
func (m *APIResourceList) XXX_Size() int { |
| 156 |
return m.Size() |
| 157 |
} |
| 158 |
func (m *APIResourceList) XXX_DiscardUnknown() { |
| 159 |
xxx_messageInfo_APIResourceList.DiscardUnknown(m) |
| 160 |
} |
| 161 |
|
| 162 |
var xxx_messageInfo_APIResourceList proto.InternalMessageInfo |
| 163 |
|
| 164 |
func (m *APIVersions) Reset() { *m = APIVersions{} } |
| 165 |
func (*APIVersions) ProtoMessage() {} |
| 166 |
func (*APIVersions) Descriptor() ([]byte, []int) { |
| 167 |
return fileDescriptor_a8431b6e0aeeb761, []int{4} |
| 168 |
} |
| 169 |
func (m *APIVersions) XXX_Unmarshal(b []byte) error { |
| 170 |
return m.Unmarshal(b) |
| 171 |
} |
| 172 |
func (m *APIVersions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 173 |
b = b[:cap(b)] |
| 174 |
n, err := m.MarshalToSizedBuffer(b) |
| 175 |
if err != nil { |
| 176 |
return nil, err |
| 177 |
} |
| 178 |
return b[:n], nil |
| 179 |
} |
| 180 |
func (m *APIVersions) XXX_Merge(src proto.Message) { |
| 181 |
xxx_messageInfo_APIVersions.Merge(m, src) |
| 182 |
} |
| 183 |
func (m *APIVersions) XXX_Size() int { |
| 184 |
return m.Size() |
| 185 |
} |
| 186 |
func (m *APIVersions) XXX_DiscardUnknown() { |
| 187 |
xxx_messageInfo_APIVersions.DiscardUnknown(m) |
| 188 |
} |
| 189 |
|
| 190 |
var xxx_messageInfo_APIVersions proto.InternalMessageInfo |
| 191 |
|
| 192 |
func (m *ApplyOptions) Reset() { *m = ApplyOptions{} } |
| 193 |
func (*ApplyOptions) ProtoMessage() {} |
| 194 |
func (*ApplyOptions) Descriptor() ([]byte, []int) { |
| 195 |
return fileDescriptor_a8431b6e0aeeb761, []int{5} |
| 196 |
} |
| 197 |
func (m *ApplyOptions) XXX_Unmarshal(b []byte) error { |
| 198 |
return m.Unmarshal(b) |
| 199 |
} |
| 200 |
func (m *ApplyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 201 |
b = b[:cap(b)] |
| 202 |
n, err := m.MarshalToSizedBuffer(b) |
| 203 |
if err != nil { |
| 204 |
return nil, err |
| 205 |
} |
| 206 |
return b[:n], nil |
| 207 |
} |
| 208 |
func (m *ApplyOptions) XXX_Merge(src proto.Message) { |
| 209 |
xxx_messageInfo_ApplyOptions.Merge(m, src) |
| 210 |
} |
| 211 |
func (m *ApplyOptions) XXX_Size() int { |
| 212 |
return m.Size() |
| 213 |
} |
| 214 |
func (m *ApplyOptions) XXX_DiscardUnknown() { |
| 215 |
xxx_messageInfo_ApplyOptions.DiscardUnknown(m) |
| 216 |
} |
| 217 |
|
| 218 |
var xxx_messageInfo_ApplyOptions proto.InternalMessageInfo |
| 219 |
|
| 220 |
func (m *Condition) Reset() { *m = Condition{} } |
| 221 |
func (*Condition) ProtoMessage() {} |
| 222 |
func (*Condition) Descriptor() ([]byte, []int) { |
| 223 |
return fileDescriptor_a8431b6e0aeeb761, []int{6} |
| 224 |
} |
| 225 |
func (m *Condition) XXX_Unmarshal(b []byte) error { |
| 226 |
return m.Unmarshal(b) |
| 227 |
} |
| 228 |
func (m *Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 229 |
b = b[:cap(b)] |
| 230 |
n, err := m.MarshalToSizedBuffer(b) |
| 231 |
if err != nil { |
| 232 |
return nil, err |
| 233 |
} |
| 234 |
return b[:n], nil |
| 235 |
} |
| 236 |
func (m *Condition) XXX_Merge(src proto.Message) { |
| 237 |
xxx_messageInfo_Condition.Merge(m, src) |
| 238 |
} |
| 239 |
func (m *Condition) XXX_Size() int { |
| 240 |
return m.Size() |
| 241 |
} |
| 242 |
func (m *Condition) XXX_DiscardUnknown() { |
| 243 |
xxx_messageInfo_Condition.DiscardUnknown(m) |
| 244 |
} |
| 245 |
|
| 246 |
var xxx_messageInfo_Condition proto.InternalMessageInfo |
| 247 |
|
| 248 |
func (m *CreateOptions) Reset() { *m = CreateOptions{} } |
| 249 |
func (*CreateOptions) ProtoMessage() {} |
| 250 |
func (*CreateOptions) Descriptor() ([]byte, []int) { |
| 251 |
return fileDescriptor_a8431b6e0aeeb761, []int{7} |
| 252 |
} |
| 253 |
func (m *CreateOptions) XXX_Unmarshal(b []byte) error { |
| 254 |
return m.Unmarshal(b) |
| 255 |
} |
| 256 |
func (m *CreateOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 257 |
b = b[:cap(b)] |
| 258 |
n, err := m.MarshalToSizedBuffer(b) |
| 259 |
if err != nil { |
| 260 |
return nil, err |
| 261 |
} |
| 262 |
return b[:n], nil |
| 263 |
} |
| 264 |
func (m *CreateOptions) XXX_Merge(src proto.Message) { |
| 265 |
xxx_messageInfo_CreateOptions.Merge(m, src) |
| 266 |
} |
| 267 |
func (m *CreateOptions) XXX_Size() int { |
| 268 |
return m.Size() |
| 269 |
} |
| 270 |
func (m *CreateOptions) XXX_DiscardUnknown() { |
| 271 |
xxx_messageInfo_CreateOptions.DiscardUnknown(m) |
| 272 |
} |
| 273 |
|
| 274 |
var xxx_messageInfo_CreateOptions proto.InternalMessageInfo |
| 275 |
|
| 276 |
func (m *DeleteOptions) Reset() { *m = DeleteOptions{} } |
| 277 |
func (*DeleteOptions) ProtoMessage() {} |
| 278 |
func (*DeleteOptions) Descriptor() ([]byte, []int) { |
| 279 |
return fileDescriptor_a8431b6e0aeeb761, []int{8} |
| 280 |
} |
| 281 |
func (m *DeleteOptions) XXX_Unmarshal(b []byte) error { |
| 282 |
return m.Unmarshal(b) |
| 283 |
} |
| 284 |
func (m *DeleteOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 285 |
b = b[:cap(b)] |
| 286 |
n, err := m.MarshalToSizedBuffer(b) |
| 287 |
if err != nil { |
| 288 |
return nil, err |
| 289 |
} |
| 290 |
return b[:n], nil |
| 291 |
} |
| 292 |
func (m *DeleteOptions) XXX_Merge(src proto.Message) { |
| 293 |
xxx_messageInfo_DeleteOptions.Merge(m, src) |
| 294 |
} |
| 295 |
func (m *DeleteOptions) XXX_Size() int { |
| 296 |
return m.Size() |
| 297 |
} |
| 298 |
func (m *DeleteOptions) XXX_DiscardUnknown() { |
| 299 |
xxx_messageInfo_DeleteOptions.DiscardUnknown(m) |
| 300 |
} |
| 301 |
|
| 302 |
var xxx_messageInfo_DeleteOptions proto.InternalMessageInfo |
| 303 |
|
| 304 |
func (m *Duration) Reset() { *m = Duration{} } |
| 305 |
func (*Duration) ProtoMessage() {} |
| 306 |
func (*Duration) Descriptor() ([]byte, []int) { |
| 307 |
return fileDescriptor_a8431b6e0aeeb761, []int{9} |
| 308 |
} |
| 309 |
func (m *Duration) XXX_Unmarshal(b []byte) error { |
| 310 |
return m.Unmarshal(b) |
| 311 |
} |
| 312 |
func (m *Duration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 313 |
b = b[:cap(b)] |
| 314 |
n, err := m.MarshalToSizedBuffer(b) |
| 315 |
if err != nil { |
| 316 |
return nil, err |
| 317 |
} |
| 318 |
return b[:n], nil |
| 319 |
} |
| 320 |
func (m *Duration) XXX_Merge(src proto.Message) { |
| 321 |
xxx_messageInfo_Duration.Merge(m, src) |
| 322 |
} |
| 323 |
func (m *Duration) XXX_Size() int { |
| 324 |
return m.Size() |
| 325 |
} |
| 326 |
func (m *Duration) XXX_DiscardUnknown() { |
| 327 |
xxx_messageInfo_Duration.DiscardUnknown(m) |
| 328 |
} |
| 329 |
|
| 330 |
var xxx_messageInfo_Duration proto.InternalMessageInfo |
| 331 |
|
| 332 |
func (m *FieldSelectorRequirement) Reset() { *m = FieldSelectorRequirement{} } |
| 333 |
func (*FieldSelectorRequirement) ProtoMessage() {} |
| 334 |
func (*FieldSelectorRequirement) Descriptor() ([]byte, []int) { |
| 335 |
return fileDescriptor_a8431b6e0aeeb761, []int{10} |
| 336 |
} |
| 337 |
func (m *FieldSelectorRequirement) XXX_Unmarshal(b []byte) error { |
| 338 |
return m.Unmarshal(b) |
| 339 |
} |
| 340 |
func (m *FieldSelectorRequirement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 341 |
b = b[:cap(b)] |
| 342 |
n, err := m.MarshalToSizedBuffer(b) |
| 343 |
if err != nil { |
| 344 |
return nil, err |
| 345 |
} |
| 346 |
return b[:n], nil |
| 347 |
} |
| 348 |
func (m *FieldSelectorRequirement) XXX_Merge(src proto.Message) { |
| 349 |
xxx_messageInfo_FieldSelectorRequirement.Merge(m, src) |
| 350 |
} |
| 351 |
func (m *FieldSelectorRequirement) XXX_Size() int { |
| 352 |
return m.Size() |
| 353 |
} |
| 354 |
func (m *FieldSelectorRequirement) XXX_DiscardUnknown() { |
| 355 |
xxx_messageInfo_FieldSelectorRequirement.DiscardUnknown(m) |
| 356 |
} |
| 357 |
|
| 358 |
var xxx_messageInfo_FieldSelectorRequirement proto.InternalMessageInfo |
| 359 |
|
| 360 |
func (m *FieldsV1) Reset() { *m = FieldsV1{} } |
| 361 |
func (*FieldsV1) ProtoMessage() {} |
| 362 |
func (*FieldsV1) Descriptor() ([]byte, []int) { |
| 363 |
return fileDescriptor_a8431b6e0aeeb761, []int{11} |
| 364 |
} |
| 365 |
func (m *FieldsV1) XXX_Unmarshal(b []byte) error { |
| 366 |
return m.Unmarshal(b) |
| 367 |
} |
| 368 |
func (m *FieldsV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 369 |
b = b[:cap(b)] |
| 370 |
n, err := m.MarshalToSizedBuffer(b) |
| 371 |
if err != nil { |
| 372 |
return nil, err |
| 373 |
} |
| 374 |
return b[:n], nil |
| 375 |
} |
| 376 |
func (m *FieldsV1) XXX_Merge(src proto.Message) { |
| 377 |
xxx_messageInfo_FieldsV1.Merge(m, src) |
| 378 |
} |
| 379 |
func (m *FieldsV1) XXX_Size() int { |
| 380 |
return m.Size() |
| 381 |
} |
| 382 |
func (m *FieldsV1) XXX_DiscardUnknown() { |
| 383 |
xxx_messageInfo_FieldsV1.DiscardUnknown(m) |
| 384 |
} |
| 385 |
|
| 386 |
var xxx_messageInfo_FieldsV1 proto.InternalMessageInfo |
| 387 |
|
| 388 |
func (m *GetOptions) Reset() { *m = GetOptions{} } |
| 389 |
func (*GetOptions) ProtoMessage() {} |
| 390 |
func (*GetOptions) Descriptor() ([]byte, []int) { |
| 391 |
return fileDescriptor_a8431b6e0aeeb761, []int{12} |
| 392 |
} |
| 393 |
func (m *GetOptions) XXX_Unmarshal(b []byte) error { |
| 394 |
return m.Unmarshal(b) |
| 395 |
} |
| 396 |
func (m *GetOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 397 |
b = b[:cap(b)] |
| 398 |
n, err := m.MarshalToSizedBuffer(b) |
| 399 |
if err != nil { |
| 400 |
return nil, err |
| 401 |
} |
| 402 |
return b[:n], nil |
| 403 |
} |
| 404 |
func (m *GetOptions) XXX_Merge(src proto.Message) { |
| 405 |
xxx_messageInfo_GetOptions.Merge(m, src) |
| 406 |
} |
| 407 |
func (m *GetOptions) XXX_Size() int { |
| 408 |
return m.Size() |
| 409 |
} |
| 410 |
func (m *GetOptions) XXX_DiscardUnknown() { |
| 411 |
xxx_messageInfo_GetOptions.DiscardUnknown(m) |
| 412 |
} |
| 413 |
|
| 414 |
var xxx_messageInfo_GetOptions proto.InternalMessageInfo |
| 415 |
|
| 416 |
func (m *GroupKind) Reset() { *m = GroupKind{} } |
| 417 |
func (*GroupKind) ProtoMessage() {} |
| 418 |
func (*GroupKind) Descriptor() ([]byte, []int) { |
| 419 |
return fileDescriptor_a8431b6e0aeeb761, []int{13} |
| 420 |
} |
| 421 |
func (m *GroupKind) XXX_Unmarshal(b []byte) error { |
| 422 |
return m.Unmarshal(b) |
| 423 |
} |
| 424 |
func (m *GroupKind) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 425 |
b = b[:cap(b)] |
| 426 |
n, err := m.MarshalToSizedBuffer(b) |
| 427 |
if err != nil { |
| 428 |
return nil, err |
| 429 |
} |
| 430 |
return b[:n], nil |
| 431 |
} |
| 432 |
func (m *GroupKind) XXX_Merge(src proto.Message) { |
| 433 |
xxx_messageInfo_GroupKind.Merge(m, src) |
| 434 |
} |
| 435 |
func (m *GroupKind) XXX_Size() int { |
| 436 |
return m.Size() |
| 437 |
} |
| 438 |
func (m *GroupKind) XXX_DiscardUnknown() { |
| 439 |
xxx_messageInfo_GroupKind.DiscardUnknown(m) |
| 440 |
} |
| 441 |
|
| 442 |
var xxx_messageInfo_GroupKind proto.InternalMessageInfo |
| 443 |
|
| 444 |
func (m *GroupResource) Reset() { *m = GroupResource{} } |
| 445 |
func (*GroupResource) ProtoMessage() {} |
| 446 |
func (*GroupResource) Descriptor() ([]byte, []int) { |
| 447 |
return fileDescriptor_a8431b6e0aeeb761, []int{14} |
| 448 |
} |
| 449 |
func (m *GroupResource) XXX_Unmarshal(b []byte) error { |
| 450 |
return m.Unmarshal(b) |
| 451 |
} |
| 452 |
func (m *GroupResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 453 |
b = b[:cap(b)] |
| 454 |
n, err := m.MarshalToSizedBuffer(b) |
| 455 |
if err != nil { |
| 456 |
return nil, err |
| 457 |
} |
| 458 |
return b[:n], nil |
| 459 |
} |
| 460 |
func (m *GroupResource) XXX_Merge(src proto.Message) { |
| 461 |
xxx_messageInfo_GroupResource.Merge(m, src) |
| 462 |
} |
| 463 |
func (m *GroupResource) XXX_Size() int { |
| 464 |
return m.Size() |
| 465 |
} |
| 466 |
func (m *GroupResource) XXX_DiscardUnknown() { |
| 467 |
xxx_messageInfo_GroupResource.DiscardUnknown(m) |
| 468 |
} |
| 469 |
|
| 470 |
var xxx_messageInfo_GroupResource proto.InternalMessageInfo |
| 471 |
|
| 472 |
func (m *GroupVersion) Reset() { *m = GroupVersion{} } |
| 473 |
func (*GroupVersion) ProtoMessage() {} |
| 474 |
func (*GroupVersion) Descriptor() ([]byte, []int) { |
| 475 |
return fileDescriptor_a8431b6e0aeeb761, []int{15} |
| 476 |
} |
| 477 |
func (m *GroupVersion) XXX_Unmarshal(b []byte) error { |
| 478 |
return m.Unmarshal(b) |
| 479 |
} |
| 480 |
func (m *GroupVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 481 |
b = b[:cap(b)] |
| 482 |
n, err := m.MarshalToSizedBuffer(b) |
| 483 |
if err != nil { |
| 484 |
return nil, err |
| 485 |
} |
| 486 |
return b[:n], nil |
| 487 |
} |
| 488 |
func (m *GroupVersion) XXX_Merge(src proto.Message) { |
| 489 |
xxx_messageInfo_GroupVersion.Merge(m, src) |
| 490 |
} |
| 491 |
func (m *GroupVersion) XXX_Size() int { |
| 492 |
return m.Size() |
| 493 |
} |
| 494 |
func (m *GroupVersion) XXX_DiscardUnknown() { |
| 495 |
xxx_messageInfo_GroupVersion.DiscardUnknown(m) |
| 496 |
} |
| 497 |
|
| 498 |
var xxx_messageInfo_GroupVersion proto.InternalMessageInfo |
| 499 |
|
| 500 |
func (m *GroupVersionForDiscovery) Reset() { *m = GroupVersionForDiscovery{} } |
| 501 |
func (*GroupVersionForDiscovery) ProtoMessage() {} |
| 502 |
func (*GroupVersionForDiscovery) Descriptor() ([]byte, []int) { |
| 503 |
return fileDescriptor_a8431b6e0aeeb761, []int{16} |
| 504 |
} |
| 505 |
func (m *GroupVersionForDiscovery) XXX_Unmarshal(b []byte) error { |
| 506 |
return m.Unmarshal(b) |
| 507 |
} |
| 508 |
func (m *GroupVersionForDiscovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 509 |
b = b[:cap(b)] |
| 510 |
n, err := m.MarshalToSizedBuffer(b) |
| 511 |
if err != nil { |
| 512 |
return nil, err |
| 513 |
} |
| 514 |
return b[:n], nil |
| 515 |
} |
| 516 |
func (m *GroupVersionForDiscovery) XXX_Merge(src proto.Message) { |
| 517 |
xxx_messageInfo_GroupVersionForDiscovery.Merge(m, src) |
| 518 |
} |
| 519 |
func (m *GroupVersionForDiscovery) XXX_Size() int { |
| 520 |
return m.Size() |
| 521 |
} |
| 522 |
func (m *GroupVersionForDiscovery) XXX_DiscardUnknown() { |
| 523 |
xxx_messageInfo_GroupVersionForDiscovery.DiscardUnknown(m) |
| 524 |
} |
| 525 |
|
| 526 |
var xxx_messageInfo_GroupVersionForDiscovery proto.InternalMessageInfo |
| 527 |
|
| 528 |
func (m *GroupVersionKind) Reset() { *m = GroupVersionKind{} } |
| 529 |
func (*GroupVersionKind) ProtoMessage() {} |
| 530 |
func (*GroupVersionKind) Descriptor() ([]byte, []int) { |
| 531 |
return fileDescriptor_a8431b6e0aeeb761, []int{17} |
| 532 |
} |
| 533 |
func (m *GroupVersionKind) XXX_Unmarshal(b []byte) error { |
| 534 |
return m.Unmarshal(b) |
| 535 |
} |
| 536 |
func (m *GroupVersionKind) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 537 |
b = b[:cap(b)] |
| 538 |
n, err := m.MarshalToSizedBuffer(b) |
| 539 |
if err != nil { |
| 540 |
return nil, err |
| 541 |
} |
| 542 |
return b[:n], nil |
| 543 |
} |
| 544 |
func (m *GroupVersionKind) XXX_Merge(src proto.Message) { |
| 545 |
xxx_messageInfo_GroupVersionKind.Merge(m, src) |
| 546 |
} |
| 547 |
func (m *GroupVersionKind) XXX_Size() int { |
| 548 |
return m.Size() |
| 549 |
} |
| 550 |
func (m *GroupVersionKind) XXX_DiscardUnknown() { |
| 551 |
xxx_messageInfo_GroupVersionKind.DiscardUnknown(m) |
| 552 |
} |
| 553 |
|
| 554 |
var xxx_messageInfo_GroupVersionKind proto.InternalMessageInfo |
| 555 |
|
| 556 |
func (m *GroupVersionResource) Reset() { *m = GroupVersionResource{} } |
| 557 |
func (*GroupVersionResource) ProtoMessage() {} |
| 558 |
func (*GroupVersionResource) Descriptor() ([]byte, []int) { |
| 559 |
return fileDescriptor_a8431b6e0aeeb761, []int{18} |
| 560 |
} |
| 561 |
func (m *GroupVersionResource) XXX_Unmarshal(b []byte) error { |
| 562 |
return m.Unmarshal(b) |
| 563 |
} |
| 564 |
func (m *GroupVersionResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 565 |
b = b[:cap(b)] |
| 566 |
n, err := m.MarshalToSizedBuffer(b) |
| 567 |
if err != nil { |
| 568 |
return nil, err |
| 569 |
} |
| 570 |
return b[:n], nil |
| 571 |
} |
| 572 |
func (m *GroupVersionResource) XXX_Merge(src proto.Message) { |
| 573 |
xxx_messageInfo_GroupVersionResource.Merge(m, src) |
| 574 |
} |
| 575 |
func (m *GroupVersionResource) XXX_Size() int { |
| 576 |
return m.Size() |
| 577 |
} |
| 578 |
func (m *GroupVersionResource) XXX_DiscardUnknown() { |
| 579 |
xxx_messageInfo_GroupVersionResource.DiscardUnknown(m) |
| 580 |
} |
| 581 |
|
| 582 |
var xxx_messageInfo_GroupVersionResource proto.InternalMessageInfo |
| 583 |
|
| 584 |
func (m *LabelSelector) Reset() { *m = LabelSelector{} } |
| 585 |
func (*LabelSelector) ProtoMessage() {} |
| 586 |
func (*LabelSelector) Descriptor() ([]byte, []int) { |
| 587 |
return fileDescriptor_a8431b6e0aeeb761, []int{19} |
| 588 |
} |
| 589 |
func (m *LabelSelector) XXX_Unmarshal(b []byte) error { |
| 590 |
return m.Unmarshal(b) |
| 591 |
} |
| 592 |
func (m *LabelSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 593 |
b = b[:cap(b)] |
| 594 |
n, err := m.MarshalToSizedBuffer(b) |
| 595 |
if err != nil { |
| 596 |
return nil, err |
| 597 |
} |
| 598 |
return b[:n], nil |
| 599 |
} |
| 600 |
func (m *LabelSelector) XXX_Merge(src proto.Message) { |
| 601 |
xxx_messageInfo_LabelSelector.Merge(m, src) |
| 602 |
} |
| 603 |
func (m *LabelSelector) XXX_Size() int { |
| 604 |
return m.Size() |
| 605 |
} |
| 606 |
func (m *LabelSelector) XXX_DiscardUnknown() { |
| 607 |
xxx_messageInfo_LabelSelector.DiscardUnknown(m) |
| 608 |
} |
| 609 |
|
| 610 |
var xxx_messageInfo_LabelSelector proto.InternalMessageInfo |
| 611 |
|
| 612 |
func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} } |
| 613 |
func (*LabelSelectorRequirement) ProtoMessage() {} |
| 614 |
func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { |
| 615 |
return fileDescriptor_a8431b6e0aeeb761, []int{20} |
| 616 |
} |
| 617 |
func (m *LabelSelectorRequirement) XXX_Unmarshal(b []byte) error { |
| 618 |
return m.Unmarshal(b) |
| 619 |
} |
| 620 |
func (m *LabelSelectorRequirement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 621 |
b = b[:cap(b)] |
| 622 |
n, err := m.MarshalToSizedBuffer(b) |
| 623 |
if err != nil { |
| 624 |
return nil, err |
| 625 |
} |
| 626 |
return b[:n], nil |
| 627 |
} |
| 628 |
func (m *LabelSelectorRequirement) XXX_Merge(src proto.Message) { |
| 629 |
xxx_messageInfo_LabelSelectorRequirement.Merge(m, src) |
| 630 |
} |
| 631 |
func (m *LabelSelectorRequirement) XXX_Size() int { |
| 632 |
return m.Size() |
| 633 |
} |
| 634 |
func (m *LabelSelectorRequirement) XXX_DiscardUnknown() { |
| 635 |
xxx_messageInfo_LabelSelectorRequirement.DiscardUnknown(m) |
| 636 |
} |
| 637 |
|
| 638 |
var xxx_messageInfo_LabelSelectorRequirement proto.InternalMessageInfo |
| 639 |
|
| 640 |
func (m *List) Reset() { *m = List{} } |
| 641 |
func (*List) ProtoMessage() {} |
| 642 |
func (*List) Descriptor() ([]byte, []int) { |
| 643 |
return fileDescriptor_a8431b6e0aeeb761, []int{21} |
| 644 |
} |
| 645 |
func (m *List) XXX_Unmarshal(b []byte) error { |
| 646 |
return m.Unmarshal(b) |
| 647 |
} |
| 648 |
func (m *List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 649 |
b = b[:cap(b)] |
| 650 |
n, err := m.MarshalToSizedBuffer(b) |
| 651 |
if err != nil { |
| 652 |
return nil, err |
| 653 |
} |
| 654 |
return b[:n], nil |
| 655 |
} |
| 656 |
func (m *List) XXX_Merge(src proto.Message) { |
| 657 |
xxx_messageInfo_List.Merge(m, src) |
| 658 |
} |
| 659 |
func (m *List) XXX_Size() int { |
| 660 |
return m.Size() |
| 661 |
} |
| 662 |
func (m *List) XXX_DiscardUnknown() { |
| 663 |
xxx_messageInfo_List.DiscardUnknown(m) |
| 664 |
} |
| 665 |
|
| 666 |
var xxx_messageInfo_List proto.InternalMessageInfo |
| 667 |
|
| 668 |
func (m *ListMeta) Reset() { *m = ListMeta{} } |
| 669 |
func (*ListMeta) ProtoMessage() {} |
| 670 |
func (*ListMeta) Descriptor() ([]byte, []int) { |
| 671 |
return fileDescriptor_a8431b6e0aeeb761, []int{22} |
| 672 |
} |
| 673 |
func (m *ListMeta) XXX_Unmarshal(b []byte) error { |
| 674 |
return m.Unmarshal(b) |
| 675 |
} |
| 676 |
func (m *ListMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 677 |
b = b[:cap(b)] |
| 678 |
n, err := m.MarshalToSizedBuffer(b) |
| 679 |
if err != nil { |
| 680 |
return nil, err |
| 681 |
} |
| 682 |
return b[:n], nil |
| 683 |
} |
| 684 |
func (m *ListMeta) XXX_Merge(src proto.Message) { |
| 685 |
xxx_messageInfo_ListMeta.Merge(m, src) |
| 686 |
} |
| 687 |
func (m *ListMeta) XXX_Size() int { |
| 688 |
return m.Size() |
| 689 |
} |
| 690 |
func (m *ListMeta) XXX_DiscardUnknown() { |
| 691 |
xxx_messageInfo_ListMeta.DiscardUnknown(m) |
| 692 |
} |
| 693 |
|
| 694 |
var xxx_messageInfo_ListMeta proto.InternalMessageInfo |
| 695 |
|
| 696 |
func (m *ListOptions) Reset() { *m = ListOptions{} } |
| 697 |
func (*ListOptions) ProtoMessage() {} |
| 698 |
func (*ListOptions) Descriptor() ([]byte, []int) { |
| 699 |
return fileDescriptor_a8431b6e0aeeb761, []int{23} |
| 700 |
} |
| 701 |
func (m *ListOptions) XXX_Unmarshal(b []byte) error { |
| 702 |
return m.Unmarshal(b) |
| 703 |
} |
| 704 |
func (m *ListOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 705 |
b = b[:cap(b)] |
| 706 |
n, err := m.MarshalToSizedBuffer(b) |
| 707 |
if err != nil { |
| 708 |
return nil, err |
| 709 |
} |
| 710 |
return b[:n], nil |
| 711 |
} |
| 712 |
func (m *ListOptions) XXX_Merge(src proto.Message) { |
| 713 |
xxx_messageInfo_ListOptions.Merge(m, src) |
| 714 |
} |
| 715 |
func (m *ListOptions) XXX_Size() int { |
| 716 |
return m.Size() |
| 717 |
} |
| 718 |
func (m *ListOptions) XXX_DiscardUnknown() { |
| 719 |
xxx_messageInfo_ListOptions.DiscardUnknown(m) |
| 720 |
} |
| 721 |
|
| 722 |
var xxx_messageInfo_ListOptions proto.InternalMessageInfo |
| 723 |
|
| 724 |
func (m *ManagedFieldsEntry) Reset() { *m = ManagedFieldsEntry{} } |
| 725 |
func (*ManagedFieldsEntry) ProtoMessage() {} |
| 726 |
func (*ManagedFieldsEntry) Descriptor() ([]byte, []int) { |
| 727 |
return fileDescriptor_a8431b6e0aeeb761, []int{24} |
| 728 |
} |
| 729 |
func (m *ManagedFieldsEntry) XXX_Unmarshal(b []byte) error { |
| 730 |
return m.Unmarshal(b) |
| 731 |
} |
| 732 |
func (m *ManagedFieldsEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 733 |
b = b[:cap(b)] |
| 734 |
n, err := m.MarshalToSizedBuffer(b) |
| 735 |
if err != nil { |
| 736 |
return nil, err |
| 737 |
} |
| 738 |
return b[:n], nil |
| 739 |
} |
| 740 |
func (m *ManagedFieldsEntry) XXX_Merge(src proto.Message) { |
| 741 |
xxx_messageInfo_ManagedFieldsEntry.Merge(m, src) |
| 742 |
} |
| 743 |
func (m *ManagedFieldsEntry) XXX_Size() int { |
| 744 |
return m.Size() |
| 745 |
} |
| 746 |
func (m *ManagedFieldsEntry) XXX_DiscardUnknown() { |
| 747 |
xxx_messageInfo_ManagedFieldsEntry.DiscardUnknown(m) |
| 748 |
} |
| 749 |
|
| 750 |
var xxx_messageInfo_ManagedFieldsEntry proto.InternalMessageInfo |
| 751 |
|
| 752 |
func (m *MicroTime) Reset() { *m = MicroTime{} } |
| 753 |
func (*MicroTime) ProtoMessage() {} |
| 754 |
func (*MicroTime) Descriptor() ([]byte, []int) { |
| 755 |
return fileDescriptor_a8431b6e0aeeb761, []int{25} |
| 756 |
} |
| 757 |
func (m *MicroTime) XXX_Unmarshal(b []byte) error { |
| 758 |
return xxx_messageInfo_MicroTime.Unmarshal(m, b) |
| 759 |
} |
| 760 |
func (m *MicroTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 761 |
return xxx_messageInfo_MicroTime.Marshal(b, m, deterministic) |
| 762 |
} |
| 763 |
func (m *MicroTime) XXX_Merge(src proto.Message) { |
| 764 |
xxx_messageInfo_MicroTime.Merge(m, src) |
| 765 |
} |
| 766 |
func (m *MicroTime) XXX_Size() int { |
| 767 |
return xxx_messageInfo_MicroTime.Size(m) |
| 768 |
} |
| 769 |
func (m *MicroTime) XXX_DiscardUnknown() { |
| 770 |
xxx_messageInfo_MicroTime.DiscardUnknown(m) |
| 771 |
} |
| 772 |
|
| 773 |
var xxx_messageInfo_MicroTime proto.InternalMessageInfo |
| 774 |
|
| 775 |
func (m *ObjectMeta) Reset() { *m = ObjectMeta{} } |
| 776 |
func (*ObjectMeta) ProtoMessage() {} |
| 777 |
func (*ObjectMeta) Descriptor() ([]byte, []int) { |
| 778 |
return fileDescriptor_a8431b6e0aeeb761, []int{26} |
| 779 |
} |
| 780 |
func (m *ObjectMeta) XXX_Unmarshal(b []byte) error { |
| 781 |
return m.Unmarshal(b) |
| 782 |
} |
| 783 |
func (m *ObjectMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 784 |
b = b[:cap(b)] |
| 785 |
n, err := m.MarshalToSizedBuffer(b) |
| 786 |
if err != nil { |
| 787 |
return nil, err |
| 788 |
} |
| 789 |
return b[:n], nil |
| 790 |
} |
| 791 |
func (m *ObjectMeta) XXX_Merge(src proto.Message) { |
| 792 |
xxx_messageInfo_ObjectMeta.Merge(m, src) |
| 793 |
} |
| 794 |
func (m *ObjectMeta) XXX_Size() int { |
| 795 |
return m.Size() |
| 796 |
} |
| 797 |
func (m *ObjectMeta) XXX_DiscardUnknown() { |
| 798 |
xxx_messageInfo_ObjectMeta.DiscardUnknown(m) |
| 799 |
} |
| 800 |
|
| 801 |
var xxx_messageInfo_ObjectMeta proto.InternalMessageInfo |
| 802 |
|
| 803 |
func (m *OwnerReference) Reset() { *m = OwnerReference{} } |
| 804 |
func (*OwnerReference) ProtoMessage() {} |
| 805 |
func (*OwnerReference) Descriptor() ([]byte, []int) { |
| 806 |
return fileDescriptor_a8431b6e0aeeb761, []int{27} |
| 807 |
} |
| 808 |
func (m *OwnerReference) XXX_Unmarshal(b []byte) error { |
| 809 |
return m.Unmarshal(b) |
| 810 |
} |
| 811 |
func (m *OwnerReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 812 |
b = b[:cap(b)] |
| 813 |
n, err := m.MarshalToSizedBuffer(b) |
| 814 |
if err != nil { |
| 815 |
return nil, err |
| 816 |
} |
| 817 |
return b[:n], nil |
| 818 |
} |
| 819 |
func (m *OwnerReference) XXX_Merge(src proto.Message) { |
| 820 |
xxx_messageInfo_OwnerReference.Merge(m, src) |
| 821 |
} |
| 822 |
func (m *OwnerReference) XXX_Size() int { |
| 823 |
return m.Size() |
| 824 |
} |
| 825 |
func (m *OwnerReference) XXX_DiscardUnknown() { |
| 826 |
xxx_messageInfo_OwnerReference.DiscardUnknown(m) |
| 827 |
} |
| 828 |
|
| 829 |
var xxx_messageInfo_OwnerReference proto.InternalMessageInfo |
| 830 |
|
| 831 |
func (m *PartialObjectMetadata) Reset() { *m = PartialObjectMetadata{} } |
| 832 |
func (*PartialObjectMetadata) ProtoMessage() {} |
| 833 |
func (*PartialObjectMetadata) Descriptor() ([]byte, []int) { |
| 834 |
return fileDescriptor_a8431b6e0aeeb761, []int{28} |
| 835 |
} |
| 836 |
func (m *PartialObjectMetadata) XXX_Unmarshal(b []byte) error { |
| 837 |
return m.Unmarshal(b) |
| 838 |
} |
| 839 |
func (m *PartialObjectMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 840 |
b = b[:cap(b)] |
| 841 |
n, err := m.MarshalToSizedBuffer(b) |
| 842 |
if err != nil { |
| 843 |
return nil, err |
| 844 |
} |
| 845 |
return b[:n], nil |
| 846 |
} |
| 847 |
func (m *PartialObjectMetadata) XXX_Merge(src proto.Message) { |
| 848 |
xxx_messageInfo_PartialObjectMetadata.Merge(m, src) |
| 849 |
} |
| 850 |
func (m *PartialObjectMetadata) XXX_Size() int { |
| 851 |
return m.Size() |
| 852 |
} |
| 853 |
func (m *PartialObjectMetadata) XXX_DiscardUnknown() { |
| 854 |
xxx_messageInfo_PartialObjectMetadata.DiscardUnknown(m) |
| 855 |
} |
| 856 |
|
| 857 |
var xxx_messageInfo_PartialObjectMetadata proto.InternalMessageInfo |
| 858 |
|
| 859 |
func (m *PartialObjectMetadataList) Reset() { *m = PartialObjectMetadataList{} } |
| 860 |
func (*PartialObjectMetadataList) ProtoMessage() {} |
| 861 |
func (*PartialObjectMetadataList) Descriptor() ([]byte, []int) { |
| 862 |
return fileDescriptor_a8431b6e0aeeb761, []int{29} |
| 863 |
} |
| 864 |
func (m *PartialObjectMetadataList) XXX_Unmarshal(b []byte) error { |
| 865 |
return m.Unmarshal(b) |
| 866 |
} |
| 867 |
func (m *PartialObjectMetadataList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 868 |
b = b[:cap(b)] |
| 869 |
n, err := m.MarshalToSizedBuffer(b) |
| 870 |
if err != nil { |
| 871 |
return nil, err |
| 872 |
} |
| 873 |
return b[:n], nil |
| 874 |
} |
| 875 |
func (m *PartialObjectMetadataList) XXX_Merge(src proto.Message) { |
| 876 |
xxx_messageInfo_PartialObjectMetadataList.Merge(m, src) |
| 877 |
} |
| 878 |
func (m *PartialObjectMetadataList) XXX_Size() int { |
| 879 |
return m.Size() |
| 880 |
} |
| 881 |
func (m *PartialObjectMetadataList) XXX_DiscardUnknown() { |
| 882 |
xxx_messageInfo_PartialObjectMetadataList.DiscardUnknown(m) |
| 883 |
} |
| 884 |
|
| 885 |
var xxx_messageInfo_PartialObjectMetadataList proto.InternalMessageInfo |
| 886 |
|
| 887 |
func (m *Patch) Reset() { *m = Patch{} } |
| 888 |
func (*Patch) ProtoMessage() {} |
| 889 |
func (*Patch) Descriptor() ([]byte, []int) { |
| 890 |
return fileDescriptor_a8431b6e0aeeb761, []int{30} |
| 891 |
} |
| 892 |
func (m *Patch) XXX_Unmarshal(b []byte) error { |
| 893 |
return m.Unmarshal(b) |
| 894 |
} |
| 895 |
func (m *Patch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 896 |
b = b[:cap(b)] |
| 897 |
n, err := m.MarshalToSizedBuffer(b) |
| 898 |
if err != nil { |
| 899 |
return nil, err |
| 900 |
} |
| 901 |
return b[:n], nil |
| 902 |
} |
| 903 |
func (m *Patch) XXX_Merge(src proto.Message) { |
| 904 |
xxx_messageInfo_Patch.Merge(m, src) |
| 905 |
} |
| 906 |
func (m *Patch) XXX_Size() int { |
| 907 |
return m.Size() |
| 908 |
} |
| 909 |
func (m *Patch) XXX_DiscardUnknown() { |
| 910 |
xxx_messageInfo_Patch.DiscardUnknown(m) |
| 911 |
} |
| 912 |
|
| 913 |
var xxx_messageInfo_Patch proto.InternalMessageInfo |
| 914 |
|
| 915 |
func (m *PatchOptions) Reset() { *m = PatchOptions{} } |
| 916 |
func (*PatchOptions) ProtoMessage() {} |
| 917 |
func (*PatchOptions) Descriptor() ([]byte, []int) { |
| 918 |
return fileDescriptor_a8431b6e0aeeb761, []int{31} |
| 919 |
} |
| 920 |
func (m *PatchOptions) XXX_Unmarshal(b []byte) error { |
| 921 |
return m.Unmarshal(b) |
| 922 |
} |
| 923 |
func (m *PatchOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 924 |
b = b[:cap(b)] |
| 925 |
n, err := m.MarshalToSizedBuffer(b) |
| 926 |
if err != nil { |
| 927 |
return nil, err |
| 928 |
} |
| 929 |
return b[:n], nil |
| 930 |
} |
| 931 |
func (m *PatchOptions) XXX_Merge(src proto.Message) { |
| 932 |
xxx_messageInfo_PatchOptions.Merge(m, src) |
| 933 |
} |
| 934 |
func (m *PatchOptions) XXX_Size() int { |
| 935 |
return m.Size() |
| 936 |
} |
| 937 |
func (m *PatchOptions) XXX_DiscardUnknown() { |
| 938 |
xxx_messageInfo_PatchOptions.DiscardUnknown(m) |
| 939 |
} |
| 940 |
|
| 941 |
var xxx_messageInfo_PatchOptions proto.InternalMessageInfo |
| 942 |
|
| 943 |
func (m *Preconditions) Reset() { *m = Preconditions{} } |
| 944 |
func (*Preconditions) ProtoMessage() {} |
| 945 |
func (*Preconditions) Descriptor() ([]byte, []int) { |
| 946 |
return fileDescriptor_a8431b6e0aeeb761, []int{32} |
| 947 |
} |
| 948 |
func (m *Preconditions) XXX_Unmarshal(b []byte) error { |
| 949 |
return m.Unmarshal(b) |
| 950 |
} |
| 951 |
func (m *Preconditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 952 |
b = b[:cap(b)] |
| 953 |
n, err := m.MarshalToSizedBuffer(b) |
| 954 |
if err != nil { |
| 955 |
return nil, err |
| 956 |
} |
| 957 |
return b[:n], nil |
| 958 |
} |
| 959 |
func (m *Preconditions) XXX_Merge(src proto.Message) { |
| 960 |
xxx_messageInfo_Preconditions.Merge(m, src) |
| 961 |
} |
| 962 |
func (m *Preconditions) XXX_Size() int { |
| 963 |
return m.Size() |
| 964 |
} |
| 965 |
func (m *Preconditions) XXX_DiscardUnknown() { |
| 966 |
xxx_messageInfo_Preconditions.DiscardUnknown(m) |
| 967 |
} |
| 968 |
|
| 969 |
var xxx_messageInfo_Preconditions proto.InternalMessageInfo |
| 970 |
|
| 971 |
func (m *RootPaths) Reset() { *m = RootPaths{} } |
| 972 |
func (*RootPaths) ProtoMessage() {} |
| 973 |
func (*RootPaths) Descriptor() ([]byte, []int) { |
| 974 |
return fileDescriptor_a8431b6e0aeeb761, []int{33} |
| 975 |
} |
| 976 |
func (m *RootPaths) XXX_Unmarshal(b []byte) error { |
| 977 |
return m.Unmarshal(b) |
| 978 |
} |
| 979 |
func (m *RootPaths) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 980 |
b = b[:cap(b)] |
| 981 |
n, err := m.MarshalToSizedBuffer(b) |
| 982 |
if err != nil { |
| 983 |
return nil, err |
| 984 |
} |
| 985 |
return b[:n], nil |
| 986 |
} |
| 987 |
func (m *RootPaths) XXX_Merge(src proto.Message) { |
| 988 |
xxx_messageInfo_RootPaths.Merge(m, src) |
| 989 |
} |
| 990 |
func (m *RootPaths) XXX_Size() int { |
| 991 |
return m.Size() |
| 992 |
} |
| 993 |
func (m *RootPaths) XXX_DiscardUnknown() { |
| 994 |
xxx_messageInfo_RootPaths.DiscardUnknown(m) |
| 995 |
} |
| 996 |
|
| 997 |
var xxx_messageInfo_RootPaths proto.InternalMessageInfo |
| 998 |
|
| 999 |
func (m *ServerAddressByClientCIDR) Reset() { *m = ServerAddressByClientCIDR{} } |
| 1000 |
func (*ServerAddressByClientCIDR) ProtoMessage() {} |
| 1001 |
func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int) { |
| 1002 |
return fileDescriptor_a8431b6e0aeeb761, []int{34} |
| 1003 |
} |
| 1004 |
func (m *ServerAddressByClientCIDR) XXX_Unmarshal(b []byte) error { |
| 1005 |
return m.Unmarshal(b) |
| 1006 |
} |
| 1007 |
func (m *ServerAddressByClientCIDR) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1008 |
b = b[:cap(b)] |
| 1009 |
n, err := m.MarshalToSizedBuffer(b) |
| 1010 |
if err != nil { |
| 1011 |
return nil, err |
| 1012 |
} |
| 1013 |
return b[:n], nil |
| 1014 |
} |
| 1015 |
func (m *ServerAddressByClientCIDR) XXX_Merge(src proto.Message) { |
| 1016 |
xxx_messageInfo_ServerAddressByClientCIDR.Merge(m, src) |
| 1017 |
} |
| 1018 |
func (m *ServerAddressByClientCIDR) XXX_Size() int { |
| 1019 |
return m.Size() |
| 1020 |
} |
| 1021 |
func (m *ServerAddressByClientCIDR) XXX_DiscardUnknown() { |
| 1022 |
xxx_messageInfo_ServerAddressByClientCIDR.DiscardUnknown(m) |
| 1023 |
} |
| 1024 |
|
| 1025 |
var xxx_messageInfo_ServerAddressByClientCIDR proto.InternalMessageInfo |
| 1026 |
|
| 1027 |
func (m *Status) Reset() { *m = Status{} } |
| 1028 |
func (*Status) ProtoMessage() {} |
| 1029 |
func (*Status) Descriptor() ([]byte, []int) { |
| 1030 |
return fileDescriptor_a8431b6e0aeeb761, []int{35} |
| 1031 |
} |
| 1032 |
func (m *Status) XXX_Unmarshal(b []byte) error { |
| 1033 |
return m.Unmarshal(b) |
| 1034 |
} |
| 1035 |
func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1036 |
b = b[:cap(b)] |
| 1037 |
n, err := m.MarshalToSizedBuffer(b) |
| 1038 |
if err != nil { |
| 1039 |
return nil, err |
| 1040 |
} |
| 1041 |
return b[:n], nil |
| 1042 |
} |
| 1043 |
func (m *Status) XXX_Merge(src proto.Message) { |
| 1044 |
xxx_messageInfo_Status.Merge(m, src) |
| 1045 |
} |
| 1046 |
func (m *Status) XXX_Size() int { |
| 1047 |
return m.Size() |
| 1048 |
} |
| 1049 |
func (m *Status) XXX_DiscardUnknown() { |
| 1050 |
xxx_messageInfo_Status.DiscardUnknown(m) |
| 1051 |
} |
| 1052 |
|
| 1053 |
var xxx_messageInfo_Status proto.InternalMessageInfo |
| 1054 |
|
| 1055 |
func (m *StatusCause) Reset() { *m = StatusCause{} } |
| 1056 |
func (*StatusCause) ProtoMessage() {} |
| 1057 |
func (*StatusCause) Descriptor() ([]byte, []int) { |
| 1058 |
return fileDescriptor_a8431b6e0aeeb761, []int{36} |
| 1059 |
} |
| 1060 |
func (m *StatusCause) XXX_Unmarshal(b []byte) error { |
| 1061 |
return m.Unmarshal(b) |
| 1062 |
} |
| 1063 |
func (m *StatusCause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1064 |
b = b[:cap(b)] |
| 1065 |
n, err := m.MarshalToSizedBuffer(b) |
| 1066 |
if err != nil { |
| 1067 |
return nil, err |
| 1068 |
} |
| 1069 |
return b[:n], nil |
| 1070 |
} |
| 1071 |
func (m *StatusCause) XXX_Merge(src proto.Message) { |
| 1072 |
xxx_messageInfo_StatusCause.Merge(m, src) |
| 1073 |
} |
| 1074 |
func (m *StatusCause) XXX_Size() int { |
| 1075 |
return m.Size() |
| 1076 |
} |
| 1077 |
func (m *StatusCause) XXX_DiscardUnknown() { |
| 1078 |
xxx_messageInfo_StatusCause.DiscardUnknown(m) |
| 1079 |
} |
| 1080 |
|
| 1081 |
var xxx_messageInfo_StatusCause proto.InternalMessageInfo |
| 1082 |
|
| 1083 |
func (m *StatusDetails) Reset() { *m = StatusDetails{} } |
| 1084 |
func (*StatusDetails) ProtoMessage() {} |
| 1085 |
func (*StatusDetails) Descriptor() ([]byte, []int) { |
| 1086 |
return fileDescriptor_a8431b6e0aeeb761, []int{37} |
| 1087 |
} |
| 1088 |
func (m *StatusDetails) XXX_Unmarshal(b []byte) error { |
| 1089 |
return m.Unmarshal(b) |
| 1090 |
} |
| 1091 |
func (m *StatusDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1092 |
b = b[:cap(b)] |
| 1093 |
n, err := m.MarshalToSizedBuffer(b) |
| 1094 |
if err != nil { |
| 1095 |
return nil, err |
| 1096 |
} |
| 1097 |
return b[:n], nil |
| 1098 |
} |
| 1099 |
func (m *StatusDetails) XXX_Merge(src proto.Message) { |
| 1100 |
xxx_messageInfo_StatusDetails.Merge(m, src) |
| 1101 |
} |
| 1102 |
func (m *StatusDetails) XXX_Size() int { |
| 1103 |
return m.Size() |
| 1104 |
} |
| 1105 |
func (m *StatusDetails) XXX_DiscardUnknown() { |
| 1106 |
xxx_messageInfo_StatusDetails.DiscardUnknown(m) |
| 1107 |
} |
| 1108 |
|
| 1109 |
var xxx_messageInfo_StatusDetails proto.InternalMessageInfo |
| 1110 |
|
| 1111 |
func (m *TableOptions) Reset() { *m = TableOptions{} } |
| 1112 |
func (*TableOptions) ProtoMessage() {} |
| 1113 |
func (*TableOptions) Descriptor() ([]byte, []int) { |
| 1114 |
return fileDescriptor_a8431b6e0aeeb761, []int{38} |
| 1115 |
} |
| 1116 |
func (m *TableOptions) XXX_Unmarshal(b []byte) error { |
| 1117 |
return m.Unmarshal(b) |
| 1118 |
} |
| 1119 |
func (m *TableOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1120 |
b = b[:cap(b)] |
| 1121 |
n, err := m.MarshalToSizedBuffer(b) |
| 1122 |
if err != nil { |
| 1123 |
return nil, err |
| 1124 |
} |
| 1125 |
return b[:n], nil |
| 1126 |
} |
| 1127 |
func (m *TableOptions) XXX_Merge(src proto.Message) { |
| 1128 |
xxx_messageInfo_TableOptions.Merge(m, src) |
| 1129 |
} |
| 1130 |
func (m *TableOptions) XXX_Size() int { |
| 1131 |
return m.Size() |
| 1132 |
} |
| 1133 |
func (m *TableOptions) XXX_DiscardUnknown() { |
| 1134 |
xxx_messageInfo_TableOptions.DiscardUnknown(m) |
| 1135 |
} |
| 1136 |
|
| 1137 |
var xxx_messageInfo_TableOptions proto.InternalMessageInfo |
| 1138 |
|
| 1139 |
func (m *Time) Reset() { *m = Time{} } |
| 1140 |
func (*Time) ProtoMessage() {} |
| 1141 |
func (*Time) Descriptor() ([]byte, []int) { |
| 1142 |
return fileDescriptor_a8431b6e0aeeb761, []int{39} |
| 1143 |
} |
| 1144 |
func (m *Time) XXX_Unmarshal(b []byte) error { |
| 1145 |
return xxx_messageInfo_Time.Unmarshal(m, b) |
| 1146 |
} |
| 1147 |
func (m *Time) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1148 |
return xxx_messageInfo_Time.Marshal(b, m, deterministic) |
| 1149 |
} |
| 1150 |
func (m *Time) XXX_Merge(src proto.Message) { |
| 1151 |
xxx_messageInfo_Time.Merge(m, src) |
| 1152 |
} |
| 1153 |
func (m *Time) XXX_Size() int { |
| 1154 |
return xxx_messageInfo_Time.Size(m) |
| 1155 |
} |
| 1156 |
func (m *Time) XXX_DiscardUnknown() { |
| 1157 |
xxx_messageInfo_Time.DiscardUnknown(m) |
| 1158 |
} |
| 1159 |
|
| 1160 |
var xxx_messageInfo_Time proto.InternalMessageInfo |
| 1161 |
|
| 1162 |
func (m *Timestamp) Reset() { *m = Timestamp{} } |
| 1163 |
func (*Timestamp) ProtoMessage() {} |
| 1164 |
func (*Timestamp) Descriptor() ([]byte, []int) { |
| 1165 |
return fileDescriptor_a8431b6e0aeeb761, []int{40} |
| 1166 |
} |
| 1167 |
func (m *Timestamp) XXX_Unmarshal(b []byte) error { |
| 1168 |
return m.Unmarshal(b) |
| 1169 |
} |
| 1170 |
func (m *Timestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1171 |
b = b[:cap(b)] |
| 1172 |
n, err := m.MarshalToSizedBuffer(b) |
| 1173 |
if err != nil { |
| 1174 |
return nil, err |
| 1175 |
} |
| 1176 |
return b[:n], nil |
| 1177 |
} |
| 1178 |
func (m *Timestamp) XXX_Merge(src proto.Message) { |
| 1179 |
xxx_messageInfo_Timestamp.Merge(m, src) |
| 1180 |
} |
| 1181 |
func (m *Timestamp) XXX_Size() int { |
| 1182 |
return m.Size() |
| 1183 |
} |
| 1184 |
func (m *Timestamp) XXX_DiscardUnknown() { |
| 1185 |
xxx_messageInfo_Timestamp.DiscardUnknown(m) |
| 1186 |
} |
| 1187 |
|
| 1188 |
var xxx_messageInfo_Timestamp proto.InternalMessageInfo |
| 1189 |
|
| 1190 |
func (m *TypeMeta) Reset() { *m = TypeMeta{} } |
| 1191 |
func (*TypeMeta) ProtoMessage() {} |
| 1192 |
func (*TypeMeta) Descriptor() ([]byte, []int) { |
| 1193 |
return fileDescriptor_a8431b6e0aeeb761, []int{41} |
| 1194 |
} |
| 1195 |
func (m *TypeMeta) XXX_Unmarshal(b []byte) error { |
| 1196 |
return m.Unmarshal(b) |
| 1197 |
} |
| 1198 |
func (m *TypeMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1199 |
b = b[:cap(b)] |
| 1200 |
n, err := m.MarshalToSizedBuffer(b) |
| 1201 |
if err != nil { |
| 1202 |
return nil, err |
| 1203 |
} |
| 1204 |
return b[:n], nil |
| 1205 |
} |
| 1206 |
func (m *TypeMeta) XXX_Merge(src proto.Message) { |
| 1207 |
xxx_messageInfo_TypeMeta.Merge(m, src) |
| 1208 |
} |
| 1209 |
func (m *TypeMeta) XXX_Size() int { |
| 1210 |
return m.Size() |
| 1211 |
} |
| 1212 |
func (m *TypeMeta) XXX_DiscardUnknown() { |
| 1213 |
xxx_messageInfo_TypeMeta.DiscardUnknown(m) |
| 1214 |
} |
| 1215 |
|
| 1216 |
var xxx_messageInfo_TypeMeta proto.InternalMessageInfo |
| 1217 |
|
| 1218 |
func (m *UpdateOptions) Reset() { *m = UpdateOptions{} } |
| 1219 |
func (*UpdateOptions) ProtoMessage() {} |
| 1220 |
func (*UpdateOptions) Descriptor() ([]byte, []int) { |
| 1221 |
return fileDescriptor_a8431b6e0aeeb761, []int{42} |
| 1222 |
} |
| 1223 |
func (m *UpdateOptions) XXX_Unmarshal(b []byte) error { |
| 1224 |
return m.Unmarshal(b) |
| 1225 |
} |
| 1226 |
func (m *UpdateOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1227 |
b = b[:cap(b)] |
| 1228 |
n, err := m.MarshalToSizedBuffer(b) |
| 1229 |
if err != nil { |
| 1230 |
return nil, err |
| 1231 |
} |
| 1232 |
return b[:n], nil |
| 1233 |
} |
| 1234 |
func (m *UpdateOptions) XXX_Merge(src proto.Message) { |
| 1235 |
xxx_messageInfo_UpdateOptions.Merge(m, src) |
| 1236 |
} |
| 1237 |
func (m *UpdateOptions) XXX_Size() int { |
| 1238 |
return m.Size() |
| 1239 |
} |
| 1240 |
func (m *UpdateOptions) XXX_DiscardUnknown() { |
| 1241 |
xxx_messageInfo_UpdateOptions.DiscardUnknown(m) |
| 1242 |
} |
| 1243 |
|
| 1244 |
var xxx_messageInfo_UpdateOptions proto.InternalMessageInfo |
| 1245 |
|
| 1246 |
func (m *Verbs) Reset() { *m = Verbs{} } |
| 1247 |
func (*Verbs) ProtoMessage() {} |
| 1248 |
func (*Verbs) Descriptor() ([]byte, []int) { |
| 1249 |
return fileDescriptor_a8431b6e0aeeb761, []int{43} |
| 1250 |
} |
| 1251 |
func (m *Verbs) XXX_Unmarshal(b []byte) error { |
| 1252 |
return m.Unmarshal(b) |
| 1253 |
} |
| 1254 |
func (m *Verbs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1255 |
b = b[:cap(b)] |
| 1256 |
n, err := m.MarshalToSizedBuffer(b) |
| 1257 |
if err != nil { |
| 1258 |
return nil, err |
| 1259 |
} |
| 1260 |
return b[:n], nil |
| 1261 |
} |
| 1262 |
func (m *Verbs) XXX_Merge(src proto.Message) { |
| 1263 |
xxx_messageInfo_Verbs.Merge(m, src) |
| 1264 |
} |
| 1265 |
func (m *Verbs) XXX_Size() int { |
| 1266 |
return m.Size() |
| 1267 |
} |
| 1268 |
func (m *Verbs) XXX_DiscardUnknown() { |
| 1269 |
xxx_messageInfo_Verbs.DiscardUnknown(m) |
| 1270 |
} |
| 1271 |
|
| 1272 |
var xxx_messageInfo_Verbs proto.InternalMessageInfo |
| 1273 |
|
| 1274 |
func (m *WatchEvent) Reset() { *m = WatchEvent{} } |
| 1275 |
func (*WatchEvent) ProtoMessage() {} |
| 1276 |
func (*WatchEvent) Descriptor() ([]byte, []int) { |
| 1277 |
return fileDescriptor_a8431b6e0aeeb761, []int{44} |
| 1278 |
} |
| 1279 |
func (m *WatchEvent) XXX_Unmarshal(b []byte) error { |
| 1280 |
return m.Unmarshal(b) |
| 1281 |
} |
| 1282 |
func (m *WatchEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1283 |
b = b[:cap(b)] |
| 1284 |
n, err := m.MarshalToSizedBuffer(b) |
| 1285 |
if err != nil { |
| 1286 |
return nil, err |
| 1287 |
} |
| 1288 |
return b[:n], nil |
| 1289 |
} |
| 1290 |
func (m *WatchEvent) XXX_Merge(src proto.Message) { |
| 1291 |
xxx_messageInfo_WatchEvent.Merge(m, src) |
| 1292 |
} |
| 1293 |
func (m *WatchEvent) XXX_Size() int { |
| 1294 |
return m.Size() |
| 1295 |
} |
| 1296 |
func (m *WatchEvent) XXX_DiscardUnknown() { |
| 1297 |
xxx_messageInfo_WatchEvent.DiscardUnknown(m) |
| 1298 |
} |
| 1299 |
|
| 1300 |
var xxx_messageInfo_WatchEvent proto.InternalMessageInfo |
| 1301 |
|
| 1302 |
func init() { |
| 1303 |
proto.RegisterType((*APIGroup)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup") |
| 1304 |
proto.RegisterType((*APIGroupList)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIGroupList") |
| 1305 |
proto.RegisterType((*APIResource)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIResource") |
| 1306 |
proto.RegisterType((*APIResourceList)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList") |
| 1307 |
proto.RegisterType((*APIVersions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIVersions") |
| 1308 |
proto.RegisterType((*ApplyOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ApplyOptions") |
| 1309 |
proto.RegisterType((*Condition)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Condition") |
| 1310 |
proto.RegisterType((*CreateOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions") |
| 1311 |
proto.RegisterType((*DeleteOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions") |
| 1312 |
proto.RegisterType((*Duration)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Duration") |
| 1313 |
proto.RegisterType((*FieldSelectorRequirement)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.FieldSelectorRequirement") |
| 1314 |
proto.RegisterType((*FieldsV1)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.FieldsV1") |
| 1315 |
proto.RegisterType((*GetOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions") |
| 1316 |
proto.RegisterType((*GroupKind)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind") |
| 1317 |
proto.RegisterType((*GroupResource)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource") |
| 1318 |
proto.RegisterType((*GroupVersion)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion") |
| 1319 |
proto.RegisterType((*GroupVersionForDiscovery)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery") |
| 1320 |
proto.RegisterType((*GroupVersionKind)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind") |
| 1321 |
proto.RegisterType((*GroupVersionResource)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource") |
| 1322 |
proto.RegisterType((*LabelSelector)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector") |
| 1323 |
proto.RegisterMapType((map[string]string)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector.MatchLabelsEntry") |
| 1324 |
proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement") |
| 1325 |
proto.RegisterType((*List)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.List") |
| 1326 |
proto.RegisterType((*ListMeta)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta") |
| 1327 |
proto.RegisterType((*ListOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions") |
| 1328 |
proto.RegisterType((*ManagedFieldsEntry)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry") |
| 1329 |
proto.RegisterType((*MicroTime)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime") |
| 1330 |
proto.RegisterType((*ObjectMeta)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta") |
| 1331 |
proto.RegisterMapType((map[string]string)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta.AnnotationsEntry") |
| 1332 |
proto.RegisterMapType((map[string]string)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta.LabelsEntry") |
| 1333 |
proto.RegisterType((*OwnerReference)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference") |
| 1334 |
proto.RegisterType((*PartialObjectMetadata)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata") |
| 1335 |
proto.RegisterType((*PartialObjectMetadataList)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadataList") |
| 1336 |
proto.RegisterType((*Patch)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Patch") |
| 1337 |
proto.RegisterType((*PatchOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.PatchOptions") |
| 1338 |
proto.RegisterType((*Preconditions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions") |
| 1339 |
proto.RegisterType((*RootPaths)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.RootPaths") |
| 1340 |
proto.RegisterType((*ServerAddressByClientCIDR)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR") |
| 1341 |
proto.RegisterType((*Status)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Status") |
| 1342 |
proto.RegisterType((*StatusCause)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause") |
| 1343 |
proto.RegisterType((*StatusDetails)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails") |
| 1344 |
proto.RegisterType((*TableOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.TableOptions") |
| 1345 |
proto.RegisterType((*Time)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Time") |
| 1346 |
proto.RegisterType((*Timestamp)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Timestamp") |
| 1347 |
proto.RegisterType((*TypeMeta)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta") |
| 1348 |
proto.RegisterType((*UpdateOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.UpdateOptions") |
| 1349 |
proto.RegisterType((*Verbs)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Verbs") |
| 1350 |
proto.RegisterType((*WatchEvent)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.WatchEvent") |
| 1351 |
} |
| 1352 |
|
| 1353 |
func init() { |
| 1354 |
proto.RegisterFile("k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto", fileDescriptor_a8431b6e0aeeb761) |
| 1355 |
} |
| 1356 |
|
| 1357 |
var fileDescriptor_a8431b6e0aeeb761 = []byte{ |
| 1358 |
// 2928 bytes of a gzipped FileDescriptorProto |
| 1359 |
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x3a, 0x4d, 0x6c, 0x24, 0x47, |
| 1360 |
0xd5, 0xee, 0xf9, 0xb1, 0x67, 0xde, 0x78, 0xfc, 0x53, 0xeb, 0xfd, 0xbe, 0x59, 0x23, 0x3c, 0x4e, |
| 1361 |
0x27, 0x8a, 0x36, 0x90, 0x8c, 0x77, 0x97, 0x25, 0xda, 0x6c, 0x48, 0xc0, 0xe3, 0x59, 0x6f, 0x9c, |
| 1362 |
0xac, 0x63, 0xab, 0xbc, 0xbb, 0x81, 0x10, 0xa1, 0x94, 0xa7, 0xcb, 0xe3, 0xc6, 0x3d, 0xdd, 0x93, |
| 1363 |
0xaa, 0x1e, 0x6f, 0x06, 0x0e, 0xe4, 0x00, 0x12, 0x48, 0x28, 0x0a, 0x37, 0x4e, 0x28, 0x11, 0x9c, |
| 1364 |
0x38, 0x21, 0x4e, 0xdc, 0x41, 0x22, 0xc7, 0x20, 0x2e, 0x91, 0x40, 0xa3, 0xac, 0x39, 0x70, 0x44, |
| 1365 |
0x5c, 0x2d, 0x24, 0x50, 0xfd, 0xf4, 0xdf, 0xfc, 0xac, 0x7b, 0x76, 0x97, 0x88, 0xdb, 0xf4, 0xfb, |
| 1366 |
0xaf, 0xaa, 0xf7, 0x5e, 0xbd, 0xf7, 0x6a, 0xe0, 0xea, 0xd1, 0x35, 0x5e, 0xb3, 0xbd, 0x35, 0xd2, |
| 1367 |
0xb1, 0xdb, 0xa4, 0x79, 0x68, 0xbb, 0x94, 0xf5, 0xd6, 0x3a, 0x47, 0x2d, 0x01, 0xe0, 0x6b, 0x6d, |
| 1368 |
0xea, 0x93, 0xb5, 0xe3, 0xcb, 0x6b, 0x2d, 0xea, 0x52, 0x46, 0x7c, 0x6a, 0xd5, 0x3a, 0xcc, 0xf3, |
| 1369 |
0x3d, 0xf4, 0x94, 0xe2, 0xaa, 0xc5, 0xb9, 0x6a, 0x9d, 0xa3, 0x96, 0x00, 0xf0, 0x9a, 0xe0, 0xaa, |
| 1370 |
0x1d, 0x5f, 0x5e, 0x7e, 0xae, 0x65, 0xfb, 0x87, 0xdd, 0xfd, 0x5a, 0xd3, 0x6b, 0xaf, 0xb5, 0xbc, |
| 1371 |
0x96, 0xb7, 0x26, 0x99, 0xf7, 0xbb, 0x07, 0xf2, 0x4b, 0x7e, 0xc8, 0x5f, 0x4a, 0xe8, 0xf2, 0xda, |
| 1372 |
0x38, 0x53, 0x58, 0xd7, 0xf5, 0xed, 0x36, 0x1d, 0xb4, 0x62, 0xf9, 0xf9, 0xb3, 0x18, 0x78, 0xf3, |
| 1373 |
0x90, 0xb6, 0xc9, 0x20, 0x9f, 0xf9, 0xc7, 0x2c, 0x14, 0xd6, 0x77, 0xb7, 0x6e, 0x32, 0xaf, 0xdb, |
| 1374 |
0x41, 0xab, 0x90, 0x73, 0x49, 0x9b, 0x56, 0x8c, 0x55, 0xe3, 0x62, 0xb1, 0x3e, 0xfb, 0x71, 0xbf, |
| 1375 |
0x3a, 0x75, 0xd2, 0xaf, 0xe6, 0x5e, 0x27, 0x6d, 0x8a, 0x25, 0x06, 0x39, 0x50, 0x38, 0xa6, 0x8c, |
| 1376 |
0xdb, 0x9e, 0xcb, 0x2b, 0x99, 0xd5, 0xec, 0xc5, 0xd2, 0x95, 0x97, 0x6b, 0x69, 0xd6, 0x5f, 0x93, |
| 1377 |
0x0a, 0xee, 0x2a, 0xd6, 0x4d, 0x8f, 0x35, 0x6c, 0xde, 0xf4, 0x8e, 0x29, 0xeb, 0xd5, 0x17, 0xb4, |
| 1378 |
0x96, 0x82, 0x46, 0x72, 0x1c, 0x6a, 0x40, 0x3f, 0x34, 0x60, 0xa1, 0xc3, 0xe8, 0x01, 0x65, 0x8c, |
| 1379 |
0x5a, 0x1a, 0x5f, 0xc9, 0xae, 0x1a, 0x8f, 0x41, 0x6d, 0x45, 0xab, 0x5d, 0xd8, 0x1d, 0x90, 0x8f, |
| 1380 |
0x87, 0x34, 0xa2, 0x5f, 0x1a, 0xb0, 0xcc, 0x29, 0x3b, 0xa6, 0x6c, 0xdd, 0xb2, 0x18, 0xe5, 0xbc, |
| 1381 |
0xde, 0xdb, 0x70, 0x6c, 0xea, 0xfa, 0x1b, 0x5b, 0x0d, 0xcc, 0x2b, 0x39, 0xb9, 0x0f, 0x5f, 0x4f, |
| 1382 |
0x67, 0xd0, 0xde, 0x38, 0x39, 0x75, 0x53, 0x5b, 0xb4, 0x3c, 0x96, 0x84, 0xe3, 0x07, 0x98, 0x61, |
| 1383 |
0x1e, 0xc0, 0x6c, 0x70, 0x90, 0xb7, 0x6c, 0xee, 0xa3, 0xbb, 0x30, 0xdd, 0x12, 0x1f, 0xbc, 0x62, |
| 1384 |
0x48, 0x03, 0x6b, 0xe9, 0x0c, 0x0c, 0x64, 0xd4, 0xe7, 0xb4, 0x3d, 0xd3, 0xf2, 0x93, 0x63, 0x2d, |
| 1385 |
0xcd, 0xfc, 0x49, 0x0e, 0x4a, 0xeb, 0xbb, 0x5b, 0x98, 0x72, 0xaf, 0xcb, 0x9a, 0x34, 0x85, 0xd3, |
| 1386 |
0x5c, 0x83, 0x59, 0x6e, 0xbb, 0xad, 0xae, 0x43, 0x98, 0x80, 0x56, 0xa6, 0x25, 0xe5, 0x92, 0xa6, |
| 1387 |
0x9c, 0xdd, 0x8b, 0xe1, 0x70, 0x82, 0x12, 0x5d, 0x01, 0x10, 0x12, 0x78, 0x87, 0x34, 0xa9, 0x55, |
| 1388 |
0xc9, 0xac, 0x1a, 0x17, 0x0b, 0x75, 0xa4, 0xf9, 0xe0, 0xf5, 0x10, 0x83, 0x63, 0x54, 0xe8, 0x49, |
| 1389 |
0xc8, 0x4b, 0x4b, 0x2b, 0x05, 0xa9, 0xa6, 0xac, 0xc9, 0xf3, 0x72, 0x19, 0x58, 0xe1, 0xd0, 0x33, |
| 1390 |
0x30, 0xa3, 0xbd, 0xac, 0x52, 0x94, 0x64, 0xf3, 0x9a, 0x6c, 0x26, 0x70, 0x83, 0x00, 0x2f, 0xd6, |
| 1391 |
0x77, 0x64, 0xbb, 0x96, 0xf4, 0xbb, 0xd8, 0xfa, 0x5e, 0xb3, 0x5d, 0x0b, 0x4b, 0x0c, 0xba, 0x05, |
| 1392 |
0xf9, 0x63, 0xca, 0xf6, 0x85, 0x27, 0x08, 0xd7, 0xfc, 0x72, 0xba, 0x8d, 0xbe, 0x2b, 0x58, 0xea, |
| 1393 |
0x45, 0x61, 0x9a, 0xfc, 0x89, 0x95, 0x10, 0x54, 0x03, 0xe0, 0x87, 0x1e, 0xf3, 0xe5, 0xf2, 0x2a, |
| 1394 |
0xf9, 0xd5, 0xec, 0xc5, 0x62, 0x7d, 0x4e, 0xac, 0x77, 0x2f, 0x84, 0xe2, 0x18, 0x85, 0xa0, 0x6f, |
| 1395 |
0x12, 0x9f, 0xb6, 0x3c, 0x66, 0x53, 0x5e, 0x99, 0x89, 0xe8, 0x37, 0x42, 0x28, 0x8e, 0x51, 0xa0, |
| 1396 |
0x57, 0x01, 0x71, 0xdf, 0x63, 0xa4, 0x45, 0xf5, 0x52, 0x5f, 0x21, 0xfc, 0xb0, 0x02, 0x72, 0x75, |
| 1397 |
0xcb, 0x7a, 0x75, 0x68, 0x6f, 0x88, 0x02, 0x8f, 0xe0, 0x32, 0x7f, 0x6b, 0xc0, 0x7c, 0xcc, 0x17, |
| 1398 |
0xa4, 0xdf, 0x5d, 0x83, 0xd9, 0x56, 0x2c, 0xea, 0xb4, 0x5f, 0x84, 0xa7, 0x1d, 0x8f, 0x48, 0x9c, |
| 1399 |
0xa0, 0x44, 0x14, 0x8a, 0x4c, 0x4b, 0x0a, 0xb2, 0xcb, 0xe5, 0xd4, 0x4e, 0x1b, 0xd8, 0x10, 0x69, |
| 1400 |
0x8a, 0x01, 0x39, 0x8e, 0x24, 0x9b, 0x7f, 0x37, 0xa4, 0x03, 0x07, 0xf9, 0x06, 0x5d, 0x8c, 0xe5, |
| 1401 |
0x34, 0x43, 0x6e, 0xdf, 0xec, 0x98, 0x7c, 0x74, 0x46, 0x22, 0xc8, 0xfc, 0x4f, 0x24, 0x82, 0xeb, |
| 1402 |
0x85, 0x9f, 0x7f, 0x58, 0x9d, 0x7a, 0xef, 0xaf, 0xab, 0x53, 0xe6, 0xcf, 0x0c, 0x98, 0x5d, 0xef, |
| 1403 |
0x74, 0x9c, 0xde, 0x4e, 0xc7, 0x97, 0x0b, 0x30, 0x61, 0xda, 0x62, 0x3d, 0xdc, 0x75, 0xf5, 0x42, |
| 1404 |
0x41, 0xc4, 0x77, 0x43, 0x42, 0xb0, 0xc6, 0x88, 0xf8, 0x39, 0xf0, 0x58, 0x93, 0xea, 0x70, 0x0b, |
| 1405 |
0xe3, 0x67, 0x53, 0x00, 0xb1, 0xc2, 0x89, 0x43, 0x3e, 0xb0, 0xa9, 0x63, 0x6d, 0x13, 0x97, 0xb4, |
| 1406 |
0x28, 0xd3, 0xc1, 0x11, 0x6e, 0xfd, 0x66, 0x0c, 0x87, 0x13, 0x94, 0xe6, 0xbf, 0x33, 0x50, 0xdc, |
| 1407 |
0xf0, 0x5c, 0xcb, 0xf6, 0x75, 0x70, 0xf9, 0xbd, 0xce, 0x50, 0xf2, 0xb8, 0xdd, 0xeb, 0x50, 0x2c, |
| 1408 |
0x31, 0xe8, 0x05, 0x98, 0xe6, 0x3e, 0xf1, 0xbb, 0x5c, 0xda, 0x53, 0xac, 0x3f, 0x11, 0xa4, 0xa5, |
| 1409 |
0x3d, 0x09, 0x3d, 0xed, 0x57, 0xe7, 0x43, 0x71, 0x0a, 0x84, 0x35, 0x83, 0xf0, 0x74, 0x6f, 0x5f, |
| 1410 |
0x6e, 0x94, 0x75, 0x53, 0x5d, 0x7b, 0xc1, 0xfd, 0x91, 0x8d, 0x3c, 0x7d, 0x67, 0x88, 0x02, 0x8f, |
| 1411 |
0xe0, 0x42, 0xc7, 0x80, 0x1c, 0xc2, 0xfd, 0xdb, 0x8c, 0xb8, 0x5c, 0xea, 0xba, 0x6d, 0xb7, 0xa9, |
| 1412 |
0x0e, 0xf8, 0x2f, 0xa5, 0x3b, 0x71, 0xc1, 0x11, 0xe9, 0xbd, 0x35, 0x24, 0x0d, 0x8f, 0xd0, 0x80, |
| 1413 |
0x9e, 0x86, 0x69, 0x46, 0x09, 0xf7, 0xdc, 0x4a, 0x5e, 0x2e, 0x3f, 0xcc, 0xca, 0x58, 0x42, 0xb1, |
| 1414 |
0xc6, 0x8a, 0x84, 0xd6, 0xa6, 0x9c, 0x93, 0x56, 0x90, 0x5e, 0xc3, 0x84, 0xb6, 0xad, 0xc0, 0x38, |
| 1415 |
0xc0, 0x9b, 0xbf, 0x31, 0xa0, 0xbc, 0xc1, 0x28, 0xf1, 0xe9, 0x24, 0x6e, 0xf1, 0xd0, 0x27, 0x8e, |
| 1416 |
0xd6, 0x61, 0x5e, 0x7e, 0xdf, 0x25, 0x8e, 0x6d, 0xa9, 0x33, 0xc8, 0x49, 0xe6, 0xff, 0xd7, 0xcc, |
| 1417 |
0xf3, 0x9b, 0x49, 0x34, 0x1e, 0xa4, 0x37, 0x7f, 0x9d, 0x83, 0x72, 0x83, 0x3a, 0x34, 0x32, 0x79, |
| 1418 |
0x13, 0x50, 0x8b, 0x91, 0x26, 0xdd, 0xa5, 0xcc, 0xf6, 0xac, 0x3d, 0xda, 0xf4, 0x5c, 0x8b, 0x4b, |
| 1419 |
0x37, 0xca, 0xd6, 0xff, 0x4f, 0xec, 0xef, 0xcd, 0x21, 0x2c, 0x1e, 0xc1, 0x81, 0x1c, 0x28, 0x77, |
| 1420 |
0x98, 0xfc, 0x2d, 0xf7, 0x5c, 0x79, 0x59, 0xe9, 0xca, 0x57, 0xd2, 0x1d, 0xe9, 0x6e, 0x9c, 0xb5, |
| 1421 |
0xbe, 0x78, 0xd2, 0xaf, 0x96, 0x13, 0x20, 0x9c, 0x14, 0x8e, 0xbe, 0x01, 0x0b, 0x1e, 0xeb, 0x1c, |
| 1422 |
0x12, 0xb7, 0x41, 0x3b, 0xd4, 0xb5, 0xa8, 0xeb, 0x73, 0xb9, 0x91, 0x85, 0xfa, 0x92, 0xa8, 0x45, |
| 1423 |
0x76, 0x06, 0x70, 0x78, 0x88, 0x1a, 0xbd, 0x09, 0x8b, 0x1d, 0xe6, 0x75, 0x48, 0x4b, 0x6e, 0xcc, |
| 1424 |
0xae, 0xe7, 0xd8, 0xcd, 0x9e, 0xde, 0xce, 0x67, 0x4f, 0xfa, 0xd5, 0xc5, 0xdd, 0x41, 0xe4, 0x69, |
| 1425 |
0xbf, 0x7a, 0x4e, 0x6e, 0x9d, 0x80, 0x44, 0x48, 0x3c, 0x2c, 0x26, 0xe6, 0x06, 0xf9, 0xb1, 0x6e, |
| 1426 |
0xf0, 0xa1, 0x01, 0x97, 0xec, 0x96, 0xeb, 0x31, 0x2a, 0xae, 0x08, 0x8a, 0x29, 0xb1, 0x6e, 0x30, |
| 1427 |
0xe6, 0xb1, 0x37, 0x6c, 0xff, 0x70, 0xc3, 0xe9, 0x72, 0x9f, 0xb2, 0x3a, 0xa3, 0xe4, 0xc8, 0x76, |
| 1428 |
0x5b, 0xbb, 0x9e, 0x4f, 0x5d, 0xdf, 0x26, 0x8e, 0xf4, 0xc8, 0x42, 0xfd, 0xea, 0x49, 0xbf, 0x7a, |
| 1429 |
0x69, 0x6b, 0x42, 0x5e, 0x3c, 0xb1, 0x36, 0x73, 0x0b, 0x0a, 0x8d, 0xae, 0x0e, 0xdb, 0x97, 0xa0, |
| 1430 |
0x60, 0xe9, 0xdf, 0xda, 0x39, 0x82, 0xfc, 0x11, 0xd2, 0x9c, 0xf6, 0xab, 0x65, 0x51, 0x21, 0xd7, |
| 1431 |
0x02, 0x00, 0x0e, 0x59, 0xcc, 0x5f, 0x19, 0x50, 0x91, 0xce, 0xb9, 0x47, 0x1d, 0xda, 0xf4, 0x3d, |
| 1432 |
0x86, 0xe9, 0x3b, 0x5d, 0x9b, 0xd1, 0x36, 0x75, 0x7d, 0xf4, 0x45, 0xc8, 0x1e, 0xd1, 0x9e, 0x4e, |
| 1433 |
0x5d, 0x25, 0x2d, 0x36, 0xfb, 0x1a, 0xed, 0x61, 0x01, 0x47, 0x37, 0xa0, 0xe0, 0x75, 0x44, 0xfa, |
| 1434 |
0xf0, 0x98, 0x4e, 0x5d, 0xcf, 0x04, 0xaa, 0x77, 0x34, 0xfc, 0xb4, 0x5f, 0x3d, 0x9f, 0x10, 0x1f, |
| 1435 |
0x20, 0x70, 0xc8, 0x2a, 0x0e, 0xe5, 0x98, 0x38, 0x5d, 0x2a, 0x1c, 0x25, 0x3c, 0x94, 0xbb, 0x12, |
| 1436 |
0x82, 0x35, 0xc6, 0x7c, 0x1a, 0x0a, 0x52, 0x0c, 0xbf, 0x7b, 0x19, 0x2d, 0x40, 0x16, 0x93, 0x7b, |
| 1437 |
0xd2, 0xaa, 0x59, 0x2c, 0x7e, 0xc6, 0xee, 0x83, 0x1d, 0x80, 0x9b, 0xd4, 0x0f, 0x42, 0x68, 0x1d, |
| 1438 |
0xe6, 0x83, 0x4b, 0x31, 0x79, 0x57, 0x87, 0x71, 0x89, 0x93, 0x68, 0x3c, 0x48, 0x6f, 0xbe, 0x05, |
| 1439 |
0x45, 0x79, 0x9f, 0x8b, 0x62, 0x28, 0x2a, 0xbc, 0x8c, 0x07, 0x14, 0x5e, 0x41, 0x35, 0x95, 0x19, |
| 1440 |
0x57, 0x4d, 0xc5, 0xcc, 0x75, 0xa0, 0xac, 0x78, 0x83, 0x52, 0x33, 0x95, 0x86, 0x67, 0xa1, 0x10, |
| 1441 |
0x98, 0xa9, 0xb5, 0x84, 0x2d, 0x46, 0x20, 0x08, 0x87, 0x14, 0x31, 0x6d, 0x87, 0x90, 0xa8, 0x4d, |
| 1442 |
0xd2, 0x29, 0x8b, 0xd5, 0x91, 0x99, 0x07, 0xd7, 0x91, 0x31, 0x4d, 0x3f, 0x80, 0xca, 0xb8, 0xbe, |
| 1443 |
0xe4, 0x11, 0xaa, 0xa7, 0xf4, 0xa6, 0x98, 0xef, 0x1b, 0xb0, 0x10, 0x97, 0x94, 0xfe, 0xf8, 0xd2, |
| 1444 |
0x2b, 0x39, 0xbb, 0x6e, 0x8e, 0xed, 0xc8, 0x2f, 0x0c, 0x58, 0x4a, 0x2c, 0x6d, 0xa2, 0x13, 0x9f, |
| 1445 |
0xc0, 0xa8, 0xb8, 0x73, 0x64, 0x27, 0x70, 0x8e, 0x3f, 0x67, 0xa0, 0x7c, 0x8b, 0xec, 0x53, 0x27, |
| 1446 |
0x88, 0x54, 0xf4, 0x7d, 0x28, 0xb5, 0x89, 0xdf, 0x3c, 0x94, 0xd0, 0xa0, 0xc7, 0x6a, 0xa4, 0xbb, |
| 1447 |
0x36, 0x12, 0x92, 0x6a, 0xdb, 0x91, 0x98, 0x1b, 0xae, 0xcf, 0x7a, 0xf5, 0x73, 0xda, 0xa4, 0x52, |
| 1448 |
0x0c, 0x83, 0xe3, 0xda, 0x64, 0x63, 0x2c, 0xbf, 0x6f, 0xbc, 0xdb, 0x11, 0x05, 0xe0, 0xe4, 0xfd, |
| 1449 |
0x78, 0xc2, 0x84, 0x58, 0x56, 0x8b, 0x1a, 0xe3, 0xed, 0x01, 0xf9, 0x78, 0x48, 0xe3, 0xf2, 0xcb, |
| 1450 |
0xb0, 0x30, 0x68, 0xbc, 0xc8, 0x3f, 0x61, 0x56, 0x54, 0x89, 0x70, 0x09, 0xf2, 0x32, 0x4f, 0xa9, |
| 1451 |
0xc3, 0xc1, 0xea, 0xe3, 0x7a, 0xe6, 0x9a, 0x21, 0xd3, 0xeb, 0x38, 0x43, 0x1e, 0x53, 0x7a, 0x4d, |
| 1452 |
0x88, 0x7f, 0xc8, 0xf4, 0xfa, 0x3b, 0x03, 0x72, 0xb2, 0xb5, 0x79, 0x0b, 0x0a, 0x62, 0xff, 0x2c, |
| 1453 |
0xe2, 0x13, 0x69, 0x57, 0xea, 0xa6, 0x5a, 0x70, 0x6f, 0x53, 0x9f, 0x44, 0xde, 0x16, 0x40, 0x70, |
| 1454 |
0x28, 0x11, 0x61, 0xc8, 0xdb, 0x3e, 0x6d, 0x07, 0x07, 0xf9, 0xdc, 0x58, 0xd1, 0x7a, 0xa4, 0x53, |
| 1455 |
0xc3, 0xe4, 0xde, 0x8d, 0x77, 0x7d, 0xea, 0x8a, 0xc3, 0x88, 0x42, 0x63, 0x4b, 0xc8, 0xc0, 0x4a, |
| 1456 |
0x94, 0xf9, 0x4f, 0x03, 0x42, 0x55, 0xc2, 0xf9, 0x39, 0x75, 0x0e, 0x6e, 0xd9, 0xee, 0x91, 0xde, |
| 1457 |
0xd6, 0xd0, 0x9c, 0x3d, 0x0d, 0xc7, 0x21, 0xc5, 0xa8, 0xeb, 0x21, 0x33, 0xd9, 0xf5, 0x20, 0x14, |
| 1458 |
0x36, 0x3d, 0xd7, 0xb7, 0xdd, 0xee, 0x50, 0xb4, 0x6d, 0x68, 0x38, 0x0e, 0x29, 0x44, 0x49, 0xc7, |
| 1459 |
0x68, 0x9b, 0xd8, 0xae, 0xed, 0xb6, 0xc4, 0x22, 0x36, 0xbc, 0xae, 0xeb, 0xcb, 0xda, 0x46, 0x97, |
| 1460 |
0x74, 0x78, 0x08, 0x8b, 0x47, 0x70, 0x98, 0xff, 0xca, 0x41, 0x49, 0xac, 0x39, 0xb8, 0xe7, 0x5e, |
| 1461 |
0x84, 0xb2, 0x13, 0xf7, 0x02, 0xbd, 0xf6, 0xf3, 0xda, 0x94, 0x64, 0x5c, 0xe3, 0x24, 0xad, 0x60, |
| 1462 |
0x3e, 0x88, 0xdf, 0xd0, 0x7a, 0x0f, 0x42, 0xe6, 0x64, 0x75, 0x90, 0xa4, 0x15, 0xd9, 0xeb, 0x9e, |
| 1463 |
0x88, 0x0f, 0x5d, 0xe3, 0x85, 0x47, 0xf4, 0x86, 0x00, 0x62, 0x85, 0x43, 0xdb, 0x70, 0x8e, 0x38, |
| 1464 |
0x8e, 0x77, 0x4f, 0x02, 0xeb, 0x9e, 0x77, 0xd4, 0x26, 0xec, 0x88, 0xcb, 0xb1, 0x44, 0xa1, 0xfe, |
| 1465 |
0x05, 0xcd, 0x72, 0x6e, 0x7d, 0x98, 0x04, 0x8f, 0xe2, 0x1b, 0x75, 0x6c, 0xb9, 0x09, 0x8f, 0xed, |
| 1466 |
0x10, 0x96, 0x06, 0x40, 0x32, 0xca, 0xf5, 0x8c, 0xe0, 0xaa, 0x96, 0xb3, 0x84, 0x47, 0xd0, 0x9c, |
| 1467 |
0x8e, 0x81, 0xe3, 0x91, 0x12, 0xd1, 0x75, 0x98, 0x13, 0x9e, 0xec, 0x75, 0xfd, 0xa0, 0x82, 0xcf, |
| 1468 |
0xcb, 0xe3, 0x46, 0x27, 0xfd, 0xea, 0xdc, 0xed, 0x04, 0x06, 0x0f, 0x50, 0x8a, 0xcd, 0x75, 0xec, |
| 1469 |
0xb6, 0xed, 0x57, 0x66, 0x24, 0x4b, 0xb8, 0xb9, 0xb7, 0x04, 0x10, 0x2b, 0x5c, 0xc2, 0x03, 0x0b, |
| 1470 |
0x67, 0x7a, 0xe0, 0x06, 0x2c, 0x72, 0xea, 0x5a, 0x5b, 0xae, 0x2d, 0x0a, 0xc9, 0x1b, 0xc7, 0xb2, |
| 1471 |
0x3e, 0x2f, 0xc9, 0x83, 0x38, 0x2f, 0x8a, 0xeb, 0xbd, 0x41, 0x24, 0x1e, 0xa6, 0x37, 0xff, 0x94, |
| 1472 |
0x05, 0xa4, 0x5a, 0x1f, 0x4b, 0x15, 0x65, 0x2a, 0x2f, 0x8a, 0x06, 0x4d, 0xb7, 0x4e, 0xc6, 0x40, |
| 1473 |
0x83, 0xa6, 0xbb, 0xa6, 0x00, 0x8f, 0xb6, 0xa1, 0xa8, 0xf2, 0x53, 0x14, 0x73, 0x6b, 0x9a, 0xb8, |
| 1474 |
0xb8, 0x13, 0x20, 0x4e, 0xfb, 0xd5, 0xe5, 0x84, 0x9a, 0x10, 0x23, 0x9b, 0xe7, 0x48, 0x02, 0xba, |
| 1475 |
0x02, 0x40, 0x3a, 0x76, 0x7c, 0x7c, 0x5a, 0x8c, 0x86, 0x68, 0xd1, 0x20, 0x04, 0xc7, 0xa8, 0xd0, |
| 1476 |
0x2b, 0x90, 0xf3, 0x1f, 0xae, 0xc1, 0x2d, 0xc8, 0xfe, 0x5d, 0xb4, 0xb3, 0x52, 0x82, 0xd0, 0x2e, |
| 1477 |
0x83, 0x82, 0x0b, 0xb3, 0x74, 0x6f, 0x1a, 0x6a, 0xdf, 0x0c, 0x31, 0x38, 0x46, 0x85, 0xbe, 0x09, |
| 1478 |
0x85, 0x03, 0x5d, 0xcf, 0xca, 0xd3, 0x4d, 0x9d, 0x67, 0x83, 0x2a, 0x58, 0x4d, 0x70, 0x82, 0x2f, |
| 1479 |
0x1c, 0x4a, 0x43, 0x5f, 0x85, 0x12, 0xef, 0xee, 0x87, 0x25, 0x80, 0x72, 0x89, 0xf0, 0xbe, 0xdd, |
| 1480 |
0x8b, 0x50, 0x38, 0x4e, 0x67, 0xbe, 0x03, 0xc5, 0x6d, 0xbb, 0xc9, 0x3c, 0xd9, 0x92, 0x3f, 0x03, |
| 1481 |
0x33, 0x3c, 0xd1, 0x6f, 0x86, 0x27, 0x19, 0xb8, 0x6a, 0x80, 0x17, 0x3e, 0xea, 0x12, 0xd7, 0x53, |
| 1482 |
0x5d, 0x65, 0x3e, 0xf2, 0xd1, 0xd7, 0x05, 0x10, 0x2b, 0xdc, 0xf5, 0x25, 0x51, 0x65, 0xfc, 0xf8, |
| 1483 |
0xa3, 0xea, 0xd4, 0x07, 0x1f, 0x55, 0xa7, 0x3e, 0xfc, 0x48, 0x57, 0x1c, 0xbf, 0x07, 0x80, 0x9d, |
| 1484 |
0xfd, 0xef, 0xd2, 0xa6, 0xca, 0xdd, 0xa9, 0xa6, 0xac, 0xc1, 0x70, 0x5f, 0x4e, 0x59, 0x33, 0x03, |
| 1485 |
0x95, 0x63, 0x0c, 0x87, 0x13, 0x94, 0x68, 0x0d, 0x8a, 0xe1, 0xfc, 0x54, 0xfb, 0xc7, 0x62, 0xe0, |
| 1486 |
0x6f, 0xe1, 0x90, 0x15, 0x47, 0x34, 0x89, 0x8b, 0x24, 0x77, 0xe6, 0x45, 0x52, 0x87, 0x6c, 0xd7, |
| 1487 |
0xb6, 0xf4, 0xfc, 0xe2, 0x52, 0x70, 0x91, 0xdf, 0xd9, 0x6a, 0x9c, 0xf6, 0xab, 0x4f, 0x8c, 0x7b, |
| 1488 |
0xb6, 0xf0, 0x7b, 0x1d, 0xca, 0x6b, 0x77, 0xb6, 0x1a, 0x58, 0x30, 0x8f, 0xca, 0x6a, 0xd3, 0x13, |
| 1489 |
0x66, 0xb5, 0x2b, 0x00, 0xad, 0x68, 0x0a, 0xa4, 0x92, 0x46, 0xe8, 0x88, 0xb1, 0xe9, 0x4f, 0x8c, |
| 1490 |
0x0a, 0x71, 0x58, 0x6c, 0x32, 0x4a, 0x82, 0x69, 0x0c, 0xf7, 0x49, 0x5b, 0xcd, 0x95, 0x27, 0x8b, |
| 1491 |
0x89, 0x0b, 0x5a, 0xcd, 0xe2, 0xc6, 0xa0, 0x30, 0x3c, 0x2c, 0x1f, 0x79, 0xb0, 0x68, 0xe9, 0x86, |
| 1492 |
0x3d, 0x52, 0x5a, 0x9c, 0x58, 0xa9, 0xcc, 0x58, 0x8d, 0x41, 0x41, 0x78, 0x58, 0x36, 0xfa, 0x0e, |
| 1493 |
0x2c, 0x07, 0xc0, 0xe1, 0xa9, 0x89, 0xcc, 0xfa, 0xd9, 0xfa, 0xca, 0x49, 0xbf, 0xba, 0xdc, 0x18, |
| 1494 |
0x4b, 0x85, 0x1f, 0x20, 0x01, 0x59, 0x30, 0xed, 0xa8, 0x2a, 0xb9, 0x24, 0x2b, 0x9b, 0xaf, 0xa5, |
| 1495 |
0x5b, 0x45, 0xe4, 0xfd, 0xb5, 0x78, 0x75, 0x1c, 0x4e, 0xc0, 0x74, 0x61, 0xac, 0x65, 0xa3, 0x77, |
| 1496 |
0xa1, 0x44, 0x5c, 0xd7, 0xf3, 0x89, 0x9a, 0xe3, 0xcc, 0x4a, 0x55, 0xeb, 0x13, 0xab, 0x5a, 0x8f, |
| 1497 |
0x64, 0x0c, 0x54, 0xe3, 0x31, 0x0c, 0x8e, 0xab, 0x42, 0xf7, 0x60, 0xde, 0xbb, 0xe7, 0x52, 0x86, |
| 1498 |
0xe9, 0x01, 0x65, 0xd4, 0x6d, 0x52, 0x5e, 0x29, 0x4b, 0xed, 0x57, 0x53, 0x6a, 0x4f, 0x30, 0x47, |
| 1499 |
0x2e, 0x9d, 0x84, 0x73, 0x3c, 0xa8, 0x05, 0xd5, 0x44, 0x6e, 0x75, 0x89, 0x63, 0x7f, 0x8f, 0x32, |
| 1500 |
0x5e, 0x99, 0x8b, 0x46, 0xff, 0x9b, 0x21, 0x14, 0xc7, 0x28, 0x50, 0x17, 0xca, 0xed, 0xf8, 0x95, |
| 1501 |
0x51, 0x59, 0x94, 0x66, 0x5e, 0x4b, 0x67, 0xe6, 0xf0, 0xa5, 0x16, 0x95, 0x41, 0x09, 0x1c, 0x4e, |
| 1502 |
0x6a, 0x59, 0x7e, 0x01, 0x4a, 0x0f, 0xd9, 0x21, 0x88, 0x0e, 0x63, 0xf0, 0x40, 0x26, 0xea, 0x30, |
| 1503 |
0xfe, 0x90, 0x81, 0xb9, 0xe4, 0x36, 0x0e, 0x5c, 0x87, 0xf9, 0x54, 0xd7, 0x61, 0xd0, 0xcb, 0x1a, |
| 1504 |
0x63, 0xdf, 0x80, 0x82, 0xfc, 0x9c, 0x1d, 0x9b, 0x9f, 0x75, 0x1a, 0xcc, 0x3d, 0x4a, 0x1a, 0xac, |
| 1505 |
0x01, 0x88, 0x62, 0x85, 0x79, 0x8e, 0x43, 0x99, 0x1e, 0xab, 0xa9, 0xb7, 0x9e, 0x10, 0x8a, 0x63, |
| 1506 |
0x14, 0xa2, 0xa4, 0xde, 0x77, 0xbc, 0xe6, 0x91, 0xdc, 0x82, 0x20, 0x7a, 0x65, 0xee, 0x2b, 0xa8, |
| 1507 |
0x92, 0xba, 0x3e, 0x84, 0xc5, 0x23, 0x38, 0xcc, 0x1e, 0x9c, 0xdf, 0x25, 0x4c, 0x14, 0x39, 0x51, |
| 1508 |
0xa4, 0xc8, 0x9e, 0xe5, 0xed, 0xa1, 0x8e, 0xe8, 0xd2, 0xa4, 0x11, 0x17, 0x6d, 0x7e, 0x04, 0x8b, |
| 1509 |
0xba, 0x22, 0xf3, 0x2f, 0x06, 0x5c, 0x18, 0xa9, 0xfb, 0x73, 0xe8, 0xc8, 0xde, 0x4e, 0x76, 0x64, |
| 1510 |
0x2f, 0xa6, 0x1c, 0x0a, 0x8f, 0xb2, 0x76, 0x4c, 0x7f, 0x36, 0x03, 0xf9, 0x5d, 0x51, 0x09, 0x9b, |
| 1511 |
0x9f, 0x18, 0x30, 0x2b, 0x7f, 0x4d, 0x32, 0x93, 0xaf, 0x26, 0x9f, 0x6a, 0x8a, 0x8f, 0xef, 0x99, |
| 1512 |
0xe6, 0x71, 0x0c, 0xed, 0xdf, 0x37, 0x20, 0x39, 0x0d, 0x47, 0x2f, 0xab, 0x10, 0x30, 0xc2, 0x71, |
| 1513 |
0xf5, 0x84, 0xee, 0xff, 0xd2, 0xb8, 0x96, 0xf4, 0x5c, 0xaa, 0x69, 0xe5, 0xb3, 0x50, 0xc4, 0x9e, |
| 1514 |
0xe7, 0xef, 0x12, 0xff, 0x90, 0x8b, 0xbd, 0xeb, 0x88, 0x1f, 0x7a, 0x7b, 0xe5, 0xde, 0x49, 0x0c, |
| 1515 |
0x56, 0x70, 0xf3, 0xa7, 0x06, 0x5c, 0x18, 0xfb, 0x02, 0x27, 0xb2, 0x48, 0x33, 0xfc, 0xd2, 0x2b, |
| 1516 |
0x0a, 0x1d, 0x39, 0xa2, 0xc3, 0x31, 0x2a, 0xd1, 0x4b, 0x26, 0x9e, 0xed, 0x06, 0x7b, 0xc9, 0x84, |
| 1517 |
0x36, 0x9c, 0xa4, 0x35, 0xff, 0x91, 0x01, 0xfd, 0xe4, 0xf5, 0x5f, 0x76, 0xfa, 0xa7, 0x07, 0x1e, |
| 1518 |
0xdc, 0xe6, 0x92, 0x0f, 0x6e, 0xe1, 0xeb, 0x5a, 0xec, 0xc5, 0x29, 0xfb, 0xe0, 0x17, 0x27, 0xf4, |
| 1519 |
0x7c, 0xf8, 0x88, 0xa5, 0x7c, 0x68, 0x25, 0xf9, 0x88, 0x75, 0xda, 0xaf, 0xce, 0x6a, 0xe1, 0xc9, |
| 1520 |
0x47, 0xad, 0x37, 0x61, 0xc6, 0xa2, 0x3e, 0xb1, 0x1d, 0xd5, 0x17, 0xa6, 0x7e, 0x96, 0x51, 0xc2, |
| 1521 |
0x1a, 0x8a, 0xb5, 0x5e, 0x12, 0x36, 0xe9, 0x0f, 0x1c, 0x08, 0x14, 0x09, 0xbb, 0xe9, 0x59, 0xaa, |
| 1522 |
0x23, 0xc9, 0x47, 0x09, 0x7b, 0xc3, 0xb3, 0x28, 0x96, 0x18, 0xf3, 0x03, 0x03, 0x4a, 0x4a, 0xd2, |
| 1523 |
0x06, 0xe9, 0x72, 0x8a, 0x2e, 0x87, 0xab, 0x50, 0xc7, 0x7d, 0x21, 0xfe, 0x5a, 0x79, 0xda, 0xaf, |
| 1524 |
0x16, 0x25, 0x99, 0x6c, 0x66, 0x46, 0xbc, 0xca, 0x65, 0xce, 0xd8, 0xa3, 0x27, 0x21, 0x2f, 0x03, |
| 1525 |
0x48, 0x6f, 0x66, 0xf4, 0xec, 0x2a, 0x80, 0x58, 0xe1, 0xcc, 0xcf, 0x32, 0x50, 0x4e, 0x2c, 0x2e, |
| 1526 |
0x45, 0x5f, 0x10, 0x8e, 0x50, 0x33, 0x29, 0xc6, 0xf2, 0xe3, 0xff, 0xe4, 0xa0, 0xaf, 0xaf, 0xe9, |
| 1527 |
0x47, 0xb9, 0xbe, 0xbe, 0x05, 0xd3, 0x4d, 0xb1, 0x47, 0xc1, 0x7f, 0x66, 0x2e, 0x4f, 0x72, 0x9c, |
| 1528 |
0x72, 0x77, 0x23, 0x6f, 0x94, 0x9f, 0x1c, 0x6b, 0x81, 0xe8, 0x26, 0x2c, 0x32, 0xea, 0xb3, 0xde, |
| 1529 |
0xfa, 0x81, 0x4f, 0x59, 0x7c, 0x98, 0x90, 0x8f, 0xaa, 0x6f, 0x3c, 0x48, 0x80, 0x87, 0x79, 0xcc, |
| 1530 |
0x7d, 0x98, 0xbd, 0x4d, 0xf6, 0x9d, 0xf0, 0xa1, 0x11, 0x43, 0xd9, 0x76, 0x9b, 0x4e, 0xd7, 0xa2, |
| 1531 |
0x2a, 0xa1, 0x07, 0xd9, 0x2b, 0x08, 0xda, 0xad, 0x38, 0xf2, 0xb4, 0x5f, 0x3d, 0x97, 0x00, 0xa8, |
| 1532 |
0x97, 0x35, 0x9c, 0x14, 0x61, 0x3a, 0x90, 0xfb, 0x1c, 0x3b, 0xc9, 0x6f, 0x43, 0x31, 0xaa, 0xf5, |
| 1533 |
0x1f, 0xb3, 0x4a, 0xf3, 0x6d, 0x28, 0x08, 0x8f, 0x0f, 0x7a, 0xd4, 0x33, 0xaa, 0xa4, 0x64, 0xed, |
| 1534 |
0x95, 0x49, 0x53, 0x7b, 0xc9, 0xe7, 0xea, 0x3b, 0x1d, 0xeb, 0x11, 0x9f, 0xab, 0x33, 0x8f, 0x72, |
| 1535 |
0xf3, 0x65, 0x27, 0xbc, 0xf9, 0xae, 0x80, 0xfa, 0x4b, 0x8f, 0xb8, 0x64, 0x54, 0x01, 0x11, 0xbb, |
| 1536 |
0x64, 0xe2, 0xf7, 0x7f, 0xec, 0x85, 0xe1, 0x47, 0x06, 0x80, 0x1c, 0xe5, 0xc9, 0x31, 0x52, 0x8a, |
| 1537 |
0x3f, 0x46, 0xdc, 0x81, 0x69, 0x4f, 0x79, 0xa4, 0x7a, 0xb2, 0x9e, 0x70, 0x5e, 0x1c, 0x06, 0x92, |
| 1538 |
0xf2, 0x49, 0xac, 0x85, 0xd5, 0x5f, 0xfd, 0xf8, 0xfe, 0xca, 0xd4, 0x27, 0xf7, 0x57, 0xa6, 0x3e, |
| 1539 |
0xbd, 0xbf, 0x32, 0xf5, 0xde, 0xc9, 0x8a, 0xf1, 0xf1, 0xc9, 0x8a, 0xf1, 0xc9, 0xc9, 0x8a, 0xf1, |
| 1540 |
0xe9, 0xc9, 0x8a, 0xf1, 0xd9, 0xc9, 0x8a, 0xf1, 0xc1, 0xdf, 0x56, 0xa6, 0xde, 0x7c, 0x2a, 0xcd, |
| 1541 |
0x5f, 0x25, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0xf8, 0xda, 0x63, 0x4c, 0x51, 0x29, 0x00, 0x00, |
| 1542 |
} |
| 1543 |
|
| 1544 |
func (m *APIGroup) Marshal() (dAtA []byte, err error) { |
| 1545 |
size := m.Size() |
| 1546 |
dAtA = make([]byte, size) |
| 1547 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 1548 |
if err != nil { |
| 1549 |
return nil, err |
| 1550 |
} |
| 1551 |
return dAtA[:n], nil |
| 1552 |
} |
| 1553 |
|
| 1554 |
func (m *APIGroup) MarshalTo(dAtA []byte) (int, error) { |
| 1555 |
size := m.Size() |
| 1556 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 1557 |
} |
| 1558 |
|
| 1559 |
func (m *APIGroup) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 1560 |
i := len(dAtA) |
| 1561 |
_ = i |
| 1562 |
var l int |
| 1563 |
_ = l |
| 1564 |
if len(m.ServerAddressByClientCIDRs) > 0 { |
| 1565 |
for iNdEx := len(m.ServerAddressByClientCIDRs) - 1; iNdEx >= 0; iNdEx-- { |
| 1566 |
{ |
| 1567 |
size, err := m.ServerAddressByClientCIDRs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 1568 |
if err != nil { |
| 1569 |
return 0, err |
| 1570 |
} |
| 1571 |
i -= size |
| 1572 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 1573 |
} |
| 1574 |
i-- |
| 1575 |
dAtA[i] = 0x22 |
| 1576 |
} |
| 1577 |
} |
| 1578 |
{ |
| 1579 |
size, err := m.PreferredVersion.MarshalToSizedBuffer(dAtA[:i]) |
| 1580 |
if err != nil { |
| 1581 |
return 0, err |
| 1582 |
} |
| 1583 |
i -= size |
| 1584 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 1585 |
} |
| 1586 |
i-- |
| 1587 |
dAtA[i] = 0x1a |
| 1588 |
if len(m.Versions) > 0 { |
| 1589 |
for iNdEx := len(m.Versions) - 1; iNdEx >= 0; iNdEx-- { |
| 1590 |
{ |
| 1591 |
size, err := m.Versions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 1592 |
if err != nil { |
| 1593 |
return 0, err |
| 1594 |
} |
| 1595 |
i -= size |
| 1596 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 1597 |
} |
| 1598 |
i-- |
| 1599 |
dAtA[i] = 0x12 |
| 1600 |
} |
| 1601 |
} |
| 1602 |
i -= len(m.Name) |
| 1603 |
copy(dAtA[i:], m.Name) |
| 1604 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 1605 |
i-- |
| 1606 |
dAtA[i] = 0xa |
| 1607 |
return len(dAtA) - i, nil |
| 1608 |
} |
| 1609 |
|
| 1610 |
func (m *APIGroupList) Marshal() (dAtA []byte, err error) { |
| 1611 |
size := m.Size() |
| 1612 |
dAtA = make([]byte, size) |
| 1613 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 1614 |
if err != nil { |
| 1615 |
return nil, err |
| 1616 |
} |
| 1617 |
return dAtA[:n], nil |
| 1618 |
} |
| 1619 |
|
| 1620 |
func (m *APIGroupList) MarshalTo(dAtA []byte) (int, error) { |
| 1621 |
size := m.Size() |
| 1622 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 1623 |
} |
| 1624 |
|
| 1625 |
func (m *APIGroupList) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 1626 |
i := len(dAtA) |
| 1627 |
_ = i |
| 1628 |
var l int |
| 1629 |
_ = l |
| 1630 |
if len(m.Groups) > 0 { |
| 1631 |
for iNdEx := len(m.Groups) - 1; iNdEx >= 0; iNdEx-- { |
| 1632 |
{ |
| 1633 |
size, err := m.Groups[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 1634 |
if err != nil { |
| 1635 |
return 0, err |
| 1636 |
} |
| 1637 |
i -= size |
| 1638 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 1639 |
} |
| 1640 |
i-- |
| 1641 |
dAtA[i] = 0xa |
| 1642 |
} |
| 1643 |
} |
| 1644 |
return len(dAtA) - i, nil |
| 1645 |
} |
| 1646 |
|
| 1647 |
func (m *APIResource) Marshal() (dAtA []byte, err error) { |
| 1648 |
size := m.Size() |
| 1649 |
dAtA = make([]byte, size) |
| 1650 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 1651 |
if err != nil { |
| 1652 |
return nil, err |
| 1653 |
} |
| 1654 |
return dAtA[:n], nil |
| 1655 |
} |
| 1656 |
|
| 1657 |
func (m *APIResource) MarshalTo(dAtA []byte) (int, error) { |
| 1658 |
size := m.Size() |
| 1659 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 1660 |
} |
| 1661 |
|
| 1662 |
func (m *APIResource) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 1663 |
i := len(dAtA) |
| 1664 |
_ = i |
| 1665 |
var l int |
| 1666 |
_ = l |
| 1667 |
i -= len(m.StorageVersionHash) |
| 1668 |
copy(dAtA[i:], m.StorageVersionHash) |
| 1669 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.StorageVersionHash))) |
| 1670 |
i-- |
| 1671 |
dAtA[i] = 0x52 |
| 1672 |
i -= len(m.Version) |
| 1673 |
copy(dAtA[i:], m.Version) |
| 1674 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version))) |
| 1675 |
i-- |
| 1676 |
dAtA[i] = 0x4a |
| 1677 |
i -= len(m.Group) |
| 1678 |
copy(dAtA[i:], m.Group) |
| 1679 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) |
| 1680 |
i-- |
| 1681 |
dAtA[i] = 0x42 |
| 1682 |
if len(m.Categories) > 0 { |
| 1683 |
for iNdEx := len(m.Categories) - 1; iNdEx >= 0; iNdEx-- { |
| 1684 |
i -= len(m.Categories[iNdEx]) |
| 1685 |
copy(dAtA[i:], m.Categories[iNdEx]) |
| 1686 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Categories[iNdEx]))) |
| 1687 |
i-- |
| 1688 |
dAtA[i] = 0x3a |
| 1689 |
} |
| 1690 |
} |
| 1691 |
i -= len(m.SingularName) |
| 1692 |
copy(dAtA[i:], m.SingularName) |
| 1693 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SingularName))) |
| 1694 |
i-- |
| 1695 |
dAtA[i] = 0x32 |
| 1696 |
if len(m.ShortNames) > 0 { |
| 1697 |
for iNdEx := len(m.ShortNames) - 1; iNdEx >= 0; iNdEx-- { |
| 1698 |
i -= len(m.ShortNames[iNdEx]) |
| 1699 |
copy(dAtA[i:], m.ShortNames[iNdEx]) |
| 1700 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ShortNames[iNdEx]))) |
| 1701 |
i-- |
| 1702 |
dAtA[i] = 0x2a |
| 1703 |
} |
| 1704 |
} |
| 1705 |
if m.Verbs != nil { |
| 1706 |
{ |
| 1707 |
size, err := m.Verbs.MarshalToSizedBuffer(dAtA[:i]) |
| 1708 |
if err != nil { |
| 1709 |
return 0, err |
| 1710 |
} |
| 1711 |
i -= size |
| 1712 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 1713 |
} |
| 1714 |
i-- |
| 1715 |
dAtA[i] = 0x22 |
| 1716 |
} |
| 1717 |
i -= len(m.Kind) |
| 1718 |
copy(dAtA[i:], m.Kind) |
| 1719 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) |
| 1720 |
i-- |
| 1721 |
dAtA[i] = 0x1a |
| 1722 |
i-- |
| 1723 |
if m.Namespaced { |
| 1724 |
dAtA[i] = 1 |
| 1725 |
} else { |
| 1726 |
dAtA[i] = 0 |
| 1727 |
} |
| 1728 |
i-- |
| 1729 |
dAtA[i] = 0x10 |
| 1730 |
i -= len(m.Name) |
| 1731 |
copy(dAtA[i:], m.Name) |
| 1732 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 1733 |
i-- |
| 1734 |
dAtA[i] = 0xa |
| 1735 |
return len(dAtA) - i, nil |
| 1736 |
} |
| 1737 |
|
| 1738 |
func (m *APIResourceList) Marshal() (dAtA []byte, err error) { |
| 1739 |
size := m.Size() |
| 1740 |
dAtA = make([]byte, size) |
| 1741 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 1742 |
if err != nil { |
| 1743 |
return nil, err |
| 1744 |
} |
| 1745 |
return dAtA[:n], nil |
| 1746 |
} |
| 1747 |
|
| 1748 |
func (m *APIResourceList) MarshalTo(dAtA []byte) (int, error) { |
| 1749 |
size := m.Size() |
| 1750 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 1751 |
} |
| 1752 |
|
| 1753 |
func (m *APIResourceList) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 1754 |
i := len(dAtA) |
| 1755 |
_ = i |
| 1756 |
var l int |
| 1757 |
_ = l |
| 1758 |
if len(m.APIResources) > 0 { |
| 1759 |
for iNdEx := len(m.APIResources) - 1; iNdEx >= 0; iNdEx-- { |
| 1760 |
{ |
| 1761 |
size, err := m.APIResources[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 1762 |
if err != nil { |
| 1763 |
return 0, err |
| 1764 |
} |
| 1765 |
i -= size |
| 1766 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 1767 |
} |
| 1768 |
i-- |
| 1769 |
dAtA[i] = 0x12 |
| 1770 |
} |
| 1771 |
} |
| 1772 |
i -= len(m.GroupVersion) |
| 1773 |
copy(dAtA[i:], m.GroupVersion) |
| 1774 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.GroupVersion))) |
| 1775 |
i-- |
| 1776 |
dAtA[i] = 0xa |
| 1777 |
return len(dAtA) - i, nil |
| 1778 |
} |
| 1779 |
|
| 1780 |
func (m *APIVersions) Marshal() (dAtA []byte, err error) { |
| 1781 |
size := m.Size() |
| 1782 |
dAtA = make([]byte, size) |
| 1783 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 1784 |
if err != nil { |
| 1785 |
return nil, err |
| 1786 |
} |
| 1787 |
return dAtA[:n], nil |
| 1788 |
} |
| 1789 |
|
| 1790 |
func (m *APIVersions) MarshalTo(dAtA []byte) (int, error) { |
| 1791 |
size := m.Size() |
| 1792 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 1793 |
} |
| 1794 |
|
| 1795 |
func (m *APIVersions) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 1796 |
i := len(dAtA) |
| 1797 |
_ = i |
| 1798 |
var l int |
| 1799 |
_ = l |
| 1800 |
if len(m.ServerAddressByClientCIDRs) > 0 { |
| 1801 |
for iNdEx := len(m.ServerAddressByClientCIDRs) - 1; iNdEx >= 0; iNdEx-- { |
| 1802 |
{ |
| 1803 |
size, err := m.ServerAddressByClientCIDRs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 1804 |
if err != nil { |
| 1805 |
return 0, err |
| 1806 |
} |
| 1807 |
i -= size |
| 1808 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 1809 |
} |
| 1810 |
i-- |
| 1811 |
dAtA[i] = 0x12 |
| 1812 |
} |
| 1813 |
} |
| 1814 |
if len(m.Versions) > 0 { |
| 1815 |
for iNdEx := len(m.Versions) - 1; iNdEx >= 0; iNdEx-- { |
| 1816 |
i -= len(m.Versions[iNdEx]) |
| 1817 |
copy(dAtA[i:], m.Versions[iNdEx]) |
| 1818 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Versions[iNdEx]))) |
| 1819 |
i-- |
| 1820 |
dAtA[i] = 0xa |
| 1821 |
} |
| 1822 |
} |
| 1823 |
return len(dAtA) - i, nil |
| 1824 |
} |
| 1825 |
|
| 1826 |
func (m *ApplyOptions) Marshal() (dAtA []byte, err error) { |
| 1827 |
size := m.Size() |
| 1828 |
dAtA = make([]byte, size) |
| 1829 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 1830 |
if err != nil { |
| 1831 |
return nil, err |
| 1832 |
} |
| 1833 |
return dAtA[:n], nil |
| 1834 |
} |
| 1835 |
|
| 1836 |
func (m *ApplyOptions) MarshalTo(dAtA []byte) (int, error) { |
| 1837 |
size := m.Size() |
| 1838 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 1839 |
} |
| 1840 |
|
| 1841 |
func (m *ApplyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 1842 |
i := len(dAtA) |
| 1843 |
_ = i |
| 1844 |
var l int |
| 1845 |
_ = l |
| 1846 |
i -= len(m.FieldManager) |
| 1847 |
copy(dAtA[i:], m.FieldManager) |
| 1848 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldManager))) |
| 1849 |
i-- |
| 1850 |
dAtA[i] = 0x1a |
| 1851 |
i-- |
| 1852 |
if m.Force { |
| 1853 |
dAtA[i] = 1 |
| 1854 |
} else { |
| 1855 |
dAtA[i] = 0 |
| 1856 |
} |
| 1857 |
i-- |
| 1858 |
dAtA[i] = 0x10 |
| 1859 |
if len(m.DryRun) > 0 { |
| 1860 |
for iNdEx := len(m.DryRun) - 1; iNdEx >= 0; iNdEx-- { |
| 1861 |
i -= len(m.DryRun[iNdEx]) |
| 1862 |
copy(dAtA[i:], m.DryRun[iNdEx]) |
| 1863 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DryRun[iNdEx]))) |
| 1864 |
i-- |
| 1865 |
dAtA[i] = 0xa |
| 1866 |
} |
| 1867 |
} |
| 1868 |
return len(dAtA) - i, nil |
| 1869 |
} |
| 1870 |
|
| 1871 |
func (m *Condition) Marshal() (dAtA []byte, err error) { |
| 1872 |
size := m.Size() |
| 1873 |
dAtA = make([]byte, size) |
| 1874 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 1875 |
if err != nil { |
| 1876 |
return nil, err |
| 1877 |
} |
| 1878 |
return dAtA[:n], nil |
| 1879 |
} |
| 1880 |
|
| 1881 |
func (m *Condition) MarshalTo(dAtA []byte) (int, error) { |
| 1882 |
size := m.Size() |
| 1883 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 1884 |
} |
| 1885 |
|
| 1886 |
func (m *Condition) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 1887 |
i := len(dAtA) |
| 1888 |
_ = i |
| 1889 |
var l int |
| 1890 |
_ = l |
| 1891 |
i -= len(m.Message) |
| 1892 |
copy(dAtA[i:], m.Message) |
| 1893 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) |
| 1894 |
i-- |
| 1895 |
dAtA[i] = 0x32 |
| 1896 |
i -= len(m.Reason) |
| 1897 |
copy(dAtA[i:], m.Reason) |
| 1898 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason))) |
| 1899 |
i-- |
| 1900 |
dAtA[i] = 0x2a |
| 1901 |
{ |
| 1902 |
size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i]) |
| 1903 |
if err != nil { |
| 1904 |
return 0, err |
| 1905 |
} |
| 1906 |
i -= size |
| 1907 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 1908 |
} |
| 1909 |
i-- |
| 1910 |
dAtA[i] = 0x22 |
| 1911 |
i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration)) |
| 1912 |
i-- |
| 1913 |
dAtA[i] = 0x18 |
| 1914 |
i -= len(m.Status) |
| 1915 |
copy(dAtA[i:], m.Status) |
| 1916 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status))) |
| 1917 |
i-- |
| 1918 |
dAtA[i] = 0x12 |
| 1919 |
i -= len(m.Type) |
| 1920 |
copy(dAtA[i:], m.Type) |
| 1921 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 1922 |
i-- |
| 1923 |
dAtA[i] = 0xa |
| 1924 |
return len(dAtA) - i, nil |
| 1925 |
} |
| 1926 |
|
| 1927 |
func (m *CreateOptions) Marshal() (dAtA []byte, err error) { |
| 1928 |
size := m.Size() |
| 1929 |
dAtA = make([]byte, size) |
| 1930 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 1931 |
if err != nil { |
| 1932 |
return nil, err |
| 1933 |
} |
| 1934 |
return dAtA[:n], nil |
| 1935 |
} |
| 1936 |
|
| 1937 |
func (m *CreateOptions) MarshalTo(dAtA []byte) (int, error) { |
| 1938 |
size := m.Size() |
| 1939 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 1940 |
} |
| 1941 |
|
| 1942 |
func (m *CreateOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 1943 |
i := len(dAtA) |
| 1944 |
_ = i |
| 1945 |
var l int |
| 1946 |
_ = l |
| 1947 |
i -= len(m.FieldValidation) |
| 1948 |
copy(dAtA[i:], m.FieldValidation) |
| 1949 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldValidation))) |
| 1950 |
i-- |
| 1951 |
dAtA[i] = 0x22 |
| 1952 |
i -= len(m.FieldManager) |
| 1953 |
copy(dAtA[i:], m.FieldManager) |
| 1954 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldManager))) |
| 1955 |
i-- |
| 1956 |
dAtA[i] = 0x1a |
| 1957 |
if len(m.DryRun) > 0 { |
| 1958 |
for iNdEx := len(m.DryRun) - 1; iNdEx >= 0; iNdEx-- { |
| 1959 |
i -= len(m.DryRun[iNdEx]) |
| 1960 |
copy(dAtA[i:], m.DryRun[iNdEx]) |
| 1961 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DryRun[iNdEx]))) |
| 1962 |
i-- |
| 1963 |
dAtA[i] = 0xa |
| 1964 |
} |
| 1965 |
} |
| 1966 |
return len(dAtA) - i, nil |
| 1967 |
} |
| 1968 |
|
| 1969 |
func (m *DeleteOptions) Marshal() (dAtA []byte, err error) { |
| 1970 |
size := m.Size() |
| 1971 |
dAtA = make([]byte, size) |
| 1972 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 1973 |
if err != nil { |
| 1974 |
return nil, err |
| 1975 |
} |
| 1976 |
return dAtA[:n], nil |
| 1977 |
} |
| 1978 |
|
| 1979 |
func (m *DeleteOptions) MarshalTo(dAtA []byte) (int, error) { |
| 1980 |
size := m.Size() |
| 1981 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 1982 |
} |
| 1983 |
|
| 1984 |
func (m *DeleteOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 1985 |
i := len(dAtA) |
| 1986 |
_ = i |
| 1987 |
var l int |
| 1988 |
_ = l |
| 1989 |
if m.IgnoreStoreReadErrorWithClusterBreakingPotential != nil { |
| 1990 |
i-- |
| 1991 |
if *m.IgnoreStoreReadErrorWithClusterBreakingPotential { |
| 1992 |
dAtA[i] = 1 |
| 1993 |
} else { |
| 1994 |
dAtA[i] = 0 |
| 1995 |
} |
| 1996 |
i-- |
| 1997 |
dAtA[i] = 0x30 |
| 1998 |
} |
| 1999 |
if len(m.DryRun) > 0 { |
| 2000 |
for iNdEx := len(m.DryRun) - 1; iNdEx >= 0; iNdEx-- { |
| 2001 |
i -= len(m.DryRun[iNdEx]) |
| 2002 |
copy(dAtA[i:], m.DryRun[iNdEx]) |
| 2003 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DryRun[iNdEx]))) |
| 2004 |
i-- |
| 2005 |
dAtA[i] = 0x2a |
| 2006 |
} |
| 2007 |
} |
| 2008 |
if m.PropagationPolicy != nil { |
| 2009 |
i -= len(*m.PropagationPolicy) |
| 2010 |
copy(dAtA[i:], *m.PropagationPolicy) |
| 2011 |
i = encodeVarintGenerated(dAtA, i, uint64(len(*m.PropagationPolicy))) |
| 2012 |
i-- |
| 2013 |
dAtA[i] = 0x22 |
| 2014 |
} |
| 2015 |
if m.OrphanDependents != nil { |
| 2016 |
i-- |
| 2017 |
if *m.OrphanDependents { |
| 2018 |
dAtA[i] = 1 |
| 2019 |
} else { |
| 2020 |
dAtA[i] = 0 |
| 2021 |
} |
| 2022 |
i-- |
| 2023 |
dAtA[i] = 0x18 |
| 2024 |
} |
| 2025 |
if m.Preconditions != nil { |
| 2026 |
{ |
| 2027 |
size, err := m.Preconditions.MarshalToSizedBuffer(dAtA[:i]) |
| 2028 |
if err != nil { |
| 2029 |
return 0, err |
| 2030 |
} |
| 2031 |
i -= size |
| 2032 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 2033 |
} |
| 2034 |
i-- |
| 2035 |
dAtA[i] = 0x12 |
| 2036 |
} |
| 2037 |
if m.GracePeriodSeconds != nil { |
| 2038 |
i = encodeVarintGenerated(dAtA, i, uint64(*m.GracePeriodSeconds)) |
| 2039 |
i-- |
| 2040 |
dAtA[i] = 0x8 |
| 2041 |
} |
| 2042 |
return len(dAtA) - i, nil |
| 2043 |
} |
| 2044 |
|
| 2045 |
func (m *Duration) Marshal() (dAtA []byte, err error) { |
| 2046 |
size := m.Size() |
| 2047 |
dAtA = make([]byte, size) |
| 2048 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2049 |
if err != nil { |
| 2050 |
return nil, err |
| 2051 |
} |
| 2052 |
return dAtA[:n], nil |
| 2053 |
} |
| 2054 |
|
| 2055 |
func (m *Duration) MarshalTo(dAtA []byte) (int, error) { |
| 2056 |
size := m.Size() |
| 2057 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2058 |
} |
| 2059 |
|
| 2060 |
func (m *Duration) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2061 |
i := len(dAtA) |
| 2062 |
_ = i |
| 2063 |
var l int |
| 2064 |
_ = l |
| 2065 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Duration)) |
| 2066 |
i-- |
| 2067 |
dAtA[i] = 0x8 |
| 2068 |
return len(dAtA) - i, nil |
| 2069 |
} |
| 2070 |
|
| 2071 |
func (m *FieldSelectorRequirement) Marshal() (dAtA []byte, err error) { |
| 2072 |
size := m.Size() |
| 2073 |
dAtA = make([]byte, size) |
| 2074 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2075 |
if err != nil { |
| 2076 |
return nil, err |
| 2077 |
} |
| 2078 |
return dAtA[:n], nil |
| 2079 |
} |
| 2080 |
|
| 2081 |
func (m *FieldSelectorRequirement) MarshalTo(dAtA []byte) (int, error) { |
| 2082 |
size := m.Size() |
| 2083 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2084 |
} |
| 2085 |
|
| 2086 |
func (m *FieldSelectorRequirement) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2087 |
i := len(dAtA) |
| 2088 |
_ = i |
| 2089 |
var l int |
| 2090 |
_ = l |
| 2091 |
if len(m.Values) > 0 { |
| 2092 |
for iNdEx := len(m.Values) - 1; iNdEx >= 0; iNdEx-- { |
| 2093 |
i -= len(m.Values[iNdEx]) |
| 2094 |
copy(dAtA[i:], m.Values[iNdEx]) |
| 2095 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Values[iNdEx]))) |
| 2096 |
i-- |
| 2097 |
dAtA[i] = 0x1a |
| 2098 |
} |
| 2099 |
} |
| 2100 |
i -= len(m.Operator) |
| 2101 |
copy(dAtA[i:], m.Operator) |
| 2102 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Operator))) |
| 2103 |
i-- |
| 2104 |
dAtA[i] = 0x12 |
| 2105 |
i -= len(m.Key) |
| 2106 |
copy(dAtA[i:], m.Key) |
| 2107 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key))) |
| 2108 |
i-- |
| 2109 |
dAtA[i] = 0xa |
| 2110 |
return len(dAtA) - i, nil |
| 2111 |
} |
| 2112 |
|
| 2113 |
func (m *FieldsV1) Marshal() (dAtA []byte, err error) { |
| 2114 |
size := m.Size() |
| 2115 |
dAtA = make([]byte, size) |
| 2116 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2117 |
if err != nil { |
| 2118 |
return nil, err |
| 2119 |
} |
| 2120 |
return dAtA[:n], nil |
| 2121 |
} |
| 2122 |
|
| 2123 |
func (m *FieldsV1) MarshalTo(dAtA []byte) (int, error) { |
| 2124 |
size := m.Size() |
| 2125 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2126 |
} |
| 2127 |
|
| 2128 |
func (m *FieldsV1) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2129 |
i := len(dAtA) |
| 2130 |
_ = i |
| 2131 |
var l int |
| 2132 |
_ = l |
| 2133 |
if m.Raw != nil { |
| 2134 |
i -= len(m.Raw) |
| 2135 |
copy(dAtA[i:], m.Raw) |
| 2136 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Raw))) |
| 2137 |
i-- |
| 2138 |
dAtA[i] = 0xa |
| 2139 |
} |
| 2140 |
return len(dAtA) - i, nil |
| 2141 |
} |
| 2142 |
|
| 2143 |
func (m *GetOptions) Marshal() (dAtA []byte, err error) { |
| 2144 |
size := m.Size() |
| 2145 |
dAtA = make([]byte, size) |
| 2146 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2147 |
if err != nil { |
| 2148 |
return nil, err |
| 2149 |
} |
| 2150 |
return dAtA[:n], nil |
| 2151 |
} |
| 2152 |
|
| 2153 |
func (m *GetOptions) MarshalTo(dAtA []byte) (int, error) { |
| 2154 |
size := m.Size() |
| 2155 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2156 |
} |
| 2157 |
|
| 2158 |
func (m *GetOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2159 |
i := len(dAtA) |
| 2160 |
_ = i |
| 2161 |
var l int |
| 2162 |
_ = l |
| 2163 |
i -= len(m.ResourceVersion) |
| 2164 |
copy(dAtA[i:], m.ResourceVersion) |
| 2165 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion))) |
| 2166 |
i-- |
| 2167 |
dAtA[i] = 0xa |
| 2168 |
return len(dAtA) - i, nil |
| 2169 |
} |
| 2170 |
|
| 2171 |
func (m *GroupKind) Marshal() (dAtA []byte, err error) { |
| 2172 |
size := m.Size() |
| 2173 |
dAtA = make([]byte, size) |
| 2174 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2175 |
if err != nil { |
| 2176 |
return nil, err |
| 2177 |
} |
| 2178 |
return dAtA[:n], nil |
| 2179 |
} |
| 2180 |
|
| 2181 |
func (m *GroupKind) MarshalTo(dAtA []byte) (int, error) { |
| 2182 |
size := m.Size() |
| 2183 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2184 |
} |
| 2185 |
|
| 2186 |
func (m *GroupKind) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2187 |
i := len(dAtA) |
| 2188 |
_ = i |
| 2189 |
var l int |
| 2190 |
_ = l |
| 2191 |
i -= len(m.Kind) |
| 2192 |
copy(dAtA[i:], m.Kind) |
| 2193 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) |
| 2194 |
i-- |
| 2195 |
dAtA[i] = 0x12 |
| 2196 |
i -= len(m.Group) |
| 2197 |
copy(dAtA[i:], m.Group) |
| 2198 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) |
| 2199 |
i-- |
| 2200 |
dAtA[i] = 0xa |
| 2201 |
return len(dAtA) - i, nil |
| 2202 |
} |
| 2203 |
|
| 2204 |
func (m *GroupResource) Marshal() (dAtA []byte, err error) { |
| 2205 |
size := m.Size() |
| 2206 |
dAtA = make([]byte, size) |
| 2207 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2208 |
if err != nil { |
| 2209 |
return nil, err |
| 2210 |
} |
| 2211 |
return dAtA[:n], nil |
| 2212 |
} |
| 2213 |
|
| 2214 |
func (m *GroupResource) MarshalTo(dAtA []byte) (int, error) { |
| 2215 |
size := m.Size() |
| 2216 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2217 |
} |
| 2218 |
|
| 2219 |
func (m *GroupResource) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2220 |
i := len(dAtA) |
| 2221 |
_ = i |
| 2222 |
var l int |
| 2223 |
_ = l |
| 2224 |
i -= len(m.Resource) |
| 2225 |
copy(dAtA[i:], m.Resource) |
| 2226 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Resource))) |
| 2227 |
i-- |
| 2228 |
dAtA[i] = 0x12 |
| 2229 |
i -= len(m.Group) |
| 2230 |
copy(dAtA[i:], m.Group) |
| 2231 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) |
| 2232 |
i-- |
| 2233 |
dAtA[i] = 0xa |
| 2234 |
return len(dAtA) - i, nil |
| 2235 |
} |
| 2236 |
|
| 2237 |
func (m *GroupVersion) Marshal() (dAtA []byte, err error) { |
| 2238 |
size := m.Size() |
| 2239 |
dAtA = make([]byte, size) |
| 2240 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2241 |
if err != nil { |
| 2242 |
return nil, err |
| 2243 |
} |
| 2244 |
return dAtA[:n], nil |
| 2245 |
} |
| 2246 |
|
| 2247 |
func (m *GroupVersion) MarshalTo(dAtA []byte) (int, error) { |
| 2248 |
size := m.Size() |
| 2249 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2250 |
} |
| 2251 |
|
| 2252 |
func (m *GroupVersion) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2253 |
i := len(dAtA) |
| 2254 |
_ = i |
| 2255 |
var l int |
| 2256 |
_ = l |
| 2257 |
i -= len(m.Version) |
| 2258 |
copy(dAtA[i:], m.Version) |
| 2259 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version))) |
| 2260 |
i-- |
| 2261 |
dAtA[i] = 0x12 |
| 2262 |
i -= len(m.Group) |
| 2263 |
copy(dAtA[i:], m.Group) |
| 2264 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) |
| 2265 |
i-- |
| 2266 |
dAtA[i] = 0xa |
| 2267 |
return len(dAtA) - i, nil |
| 2268 |
} |
| 2269 |
|
| 2270 |
func (m *GroupVersionForDiscovery) Marshal() (dAtA []byte, err error) { |
| 2271 |
size := m.Size() |
| 2272 |
dAtA = make([]byte, size) |
| 2273 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2274 |
if err != nil { |
| 2275 |
return nil, err |
| 2276 |
} |
| 2277 |
return dAtA[:n], nil |
| 2278 |
} |
| 2279 |
|
| 2280 |
func (m *GroupVersionForDiscovery) MarshalTo(dAtA []byte) (int, error) { |
| 2281 |
size := m.Size() |
| 2282 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2283 |
} |
| 2284 |
|
| 2285 |
func (m *GroupVersionForDiscovery) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2286 |
i := len(dAtA) |
| 2287 |
_ = i |
| 2288 |
var l int |
| 2289 |
_ = l |
| 2290 |
i -= len(m.Version) |
| 2291 |
copy(dAtA[i:], m.Version) |
| 2292 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version))) |
| 2293 |
i-- |
| 2294 |
dAtA[i] = 0x12 |
| 2295 |
i -= len(m.GroupVersion) |
| 2296 |
copy(dAtA[i:], m.GroupVersion) |
| 2297 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.GroupVersion))) |
| 2298 |
i-- |
| 2299 |
dAtA[i] = 0xa |
| 2300 |
return len(dAtA) - i, nil |
| 2301 |
} |
| 2302 |
|
| 2303 |
func (m *GroupVersionKind) Marshal() (dAtA []byte, err error) { |
| 2304 |
size := m.Size() |
| 2305 |
dAtA = make([]byte, size) |
| 2306 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2307 |
if err != nil { |
| 2308 |
return nil, err |
| 2309 |
} |
| 2310 |
return dAtA[:n], nil |
| 2311 |
} |
| 2312 |
|
| 2313 |
func (m *GroupVersionKind) MarshalTo(dAtA []byte) (int, error) { |
| 2314 |
size := m.Size() |
| 2315 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2316 |
} |
| 2317 |
|
| 2318 |
func (m *GroupVersionKind) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2319 |
i := len(dAtA) |
| 2320 |
_ = i |
| 2321 |
var l int |
| 2322 |
_ = l |
| 2323 |
i -= len(m.Kind) |
| 2324 |
copy(dAtA[i:], m.Kind) |
| 2325 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) |
| 2326 |
i-- |
| 2327 |
dAtA[i] = 0x1a |
| 2328 |
i -= len(m.Version) |
| 2329 |
copy(dAtA[i:], m.Version) |
| 2330 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version))) |
| 2331 |
i-- |
| 2332 |
dAtA[i] = 0x12 |
| 2333 |
i -= len(m.Group) |
| 2334 |
copy(dAtA[i:], m.Group) |
| 2335 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) |
| 2336 |
i-- |
| 2337 |
dAtA[i] = 0xa |
| 2338 |
return len(dAtA) - i, nil |
| 2339 |
} |
| 2340 |
|
| 2341 |
func (m *GroupVersionResource) Marshal() (dAtA []byte, err error) { |
| 2342 |
size := m.Size() |
| 2343 |
dAtA = make([]byte, size) |
| 2344 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2345 |
if err != nil { |
| 2346 |
return nil, err |
| 2347 |
} |
| 2348 |
return dAtA[:n], nil |
| 2349 |
} |
| 2350 |
|
| 2351 |
func (m *GroupVersionResource) MarshalTo(dAtA []byte) (int, error) { |
| 2352 |
size := m.Size() |
| 2353 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2354 |
} |
| 2355 |
|
| 2356 |
func (m *GroupVersionResource) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2357 |
i := len(dAtA) |
| 2358 |
_ = i |
| 2359 |
var l int |
| 2360 |
_ = l |
| 2361 |
i -= len(m.Resource) |
| 2362 |
copy(dAtA[i:], m.Resource) |
| 2363 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Resource))) |
| 2364 |
i-- |
| 2365 |
dAtA[i] = 0x1a |
| 2366 |
i -= len(m.Version) |
| 2367 |
copy(dAtA[i:], m.Version) |
| 2368 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version))) |
| 2369 |
i-- |
| 2370 |
dAtA[i] = 0x12 |
| 2371 |
i -= len(m.Group) |
| 2372 |
copy(dAtA[i:], m.Group) |
| 2373 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) |
| 2374 |
i-- |
| 2375 |
dAtA[i] = 0xa |
| 2376 |
return len(dAtA) - i, nil |
| 2377 |
} |
| 2378 |
|
| 2379 |
func (m *LabelSelector) Marshal() (dAtA []byte, err error) { |
| 2380 |
size := m.Size() |
| 2381 |
dAtA = make([]byte, size) |
| 2382 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2383 |
if err != nil { |
| 2384 |
return nil, err |
| 2385 |
} |
| 2386 |
return dAtA[:n], nil |
| 2387 |
} |
| 2388 |
|
| 2389 |
func (m *LabelSelector) MarshalTo(dAtA []byte) (int, error) { |
| 2390 |
size := m.Size() |
| 2391 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2392 |
} |
| 2393 |
|
| 2394 |
func (m *LabelSelector) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2395 |
i := len(dAtA) |
| 2396 |
_ = i |
| 2397 |
var l int |
| 2398 |
_ = l |
| 2399 |
if len(m.MatchExpressions) > 0 { |
| 2400 |
for iNdEx := len(m.MatchExpressions) - 1; iNdEx >= 0; iNdEx-- { |
| 2401 |
{ |
| 2402 |
size, err := m.MatchExpressions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 2403 |
if err != nil { |
| 2404 |
return 0, err |
| 2405 |
} |
| 2406 |
i -= size |
| 2407 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 2408 |
} |
| 2409 |
i-- |
| 2410 |
dAtA[i] = 0x12 |
| 2411 |
} |
| 2412 |
} |
| 2413 |
if len(m.MatchLabels) > 0 { |
| 2414 |
keysForMatchLabels := make([]string, 0, len(m.MatchLabels)) |
| 2415 |
for k := range m.MatchLabels { |
| 2416 |
keysForMatchLabels = append(keysForMatchLabels, string(k)) |
| 2417 |
} |
| 2418 |
github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels) |
| 2419 |
for iNdEx := len(keysForMatchLabels) - 1; iNdEx >= 0; iNdEx-- { |
| 2420 |
v := m.MatchLabels[string(keysForMatchLabels[iNdEx])] |
| 2421 |
baseI := i |
| 2422 |
i -= len(v) |
| 2423 |
copy(dAtA[i:], v) |
| 2424 |
i = encodeVarintGenerated(dAtA, i, uint64(len(v))) |
| 2425 |
i-- |
| 2426 |
dAtA[i] = 0x12 |
| 2427 |
i -= len(keysForMatchLabels[iNdEx]) |
| 2428 |
copy(dAtA[i:], keysForMatchLabels[iNdEx]) |
| 2429 |
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForMatchLabels[iNdEx]))) |
| 2430 |
i-- |
| 2431 |
dAtA[i] = 0xa |
| 2432 |
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i)) |
| 2433 |
i-- |
| 2434 |
dAtA[i] = 0xa |
| 2435 |
} |
| 2436 |
} |
| 2437 |
return len(dAtA) - i, nil |
| 2438 |
} |
| 2439 |
|
| 2440 |
func (m *LabelSelectorRequirement) Marshal() (dAtA []byte, err error) { |
| 2441 |
size := m.Size() |
| 2442 |
dAtA = make([]byte, size) |
| 2443 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2444 |
if err != nil { |
| 2445 |
return nil, err |
| 2446 |
} |
| 2447 |
return dAtA[:n], nil |
| 2448 |
} |
| 2449 |
|
| 2450 |
func (m *LabelSelectorRequirement) MarshalTo(dAtA []byte) (int, error) { |
| 2451 |
size := m.Size() |
| 2452 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2453 |
} |
| 2454 |
|
| 2455 |
func (m *LabelSelectorRequirement) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2456 |
i := len(dAtA) |
| 2457 |
_ = i |
| 2458 |
var l int |
| 2459 |
_ = l |
| 2460 |
if len(m.Values) > 0 { |
| 2461 |
for iNdEx := len(m.Values) - 1; iNdEx >= 0; iNdEx-- { |
| 2462 |
i -= len(m.Values[iNdEx]) |
| 2463 |
copy(dAtA[i:], m.Values[iNdEx]) |
| 2464 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Values[iNdEx]))) |
| 2465 |
i-- |
| 2466 |
dAtA[i] = 0x1a |
| 2467 |
} |
| 2468 |
} |
| 2469 |
i -= len(m.Operator) |
| 2470 |
copy(dAtA[i:], m.Operator) |
| 2471 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Operator))) |
| 2472 |
i-- |
| 2473 |
dAtA[i] = 0x12 |
| 2474 |
i -= len(m.Key) |
| 2475 |
copy(dAtA[i:], m.Key) |
| 2476 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key))) |
| 2477 |
i-- |
| 2478 |
dAtA[i] = 0xa |
| 2479 |
return len(dAtA) - i, nil |
| 2480 |
} |
| 2481 |
|
| 2482 |
func (m *List) Marshal() (dAtA []byte, err error) { |
| 2483 |
size := m.Size() |
| 2484 |
dAtA = make([]byte, size) |
| 2485 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2486 |
if err != nil { |
| 2487 |
return nil, err |
| 2488 |
} |
| 2489 |
return dAtA[:n], nil |
| 2490 |
} |
| 2491 |
|
| 2492 |
func (m *List) MarshalTo(dAtA []byte) (int, error) { |
| 2493 |
size := m.Size() |
| 2494 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2495 |
} |
| 2496 |
|
| 2497 |
func (m *List) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2498 |
i := len(dAtA) |
| 2499 |
_ = i |
| 2500 |
var l int |
| 2501 |
_ = l |
| 2502 |
if len(m.Items) > 0 { |
| 2503 |
for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { |
| 2504 |
{ |
| 2505 |
size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 2506 |
if err != nil { |
| 2507 |
return 0, err |
| 2508 |
} |
| 2509 |
i -= size |
| 2510 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 2511 |
} |
| 2512 |
i-- |
| 2513 |
dAtA[i] = 0x12 |
| 2514 |
} |
| 2515 |
} |
| 2516 |
{ |
| 2517 |
size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i]) |
| 2518 |
if err != nil { |
| 2519 |
return 0, err |
| 2520 |
} |
| 2521 |
i -= size |
| 2522 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 2523 |
} |
| 2524 |
i-- |
| 2525 |
dAtA[i] = 0xa |
| 2526 |
return len(dAtA) - i, nil |
| 2527 |
} |
| 2528 |
|
| 2529 |
func (m *ListMeta) Marshal() (dAtA []byte, err error) { |
| 2530 |
size := m.Size() |
| 2531 |
dAtA = make([]byte, size) |
| 2532 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2533 |
if err != nil { |
| 2534 |
return nil, err |
| 2535 |
} |
| 2536 |
return dAtA[:n], nil |
| 2537 |
} |
| 2538 |
|
| 2539 |
func (m *ListMeta) MarshalTo(dAtA []byte) (int, error) { |
| 2540 |
size := m.Size() |
| 2541 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2542 |
} |
| 2543 |
|
| 2544 |
func (m *ListMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2545 |
i := len(dAtA) |
| 2546 |
_ = i |
| 2547 |
var l int |
| 2548 |
_ = l |
| 2549 |
if m.RemainingItemCount != nil { |
| 2550 |
i = encodeVarintGenerated(dAtA, i, uint64(*m.RemainingItemCount)) |
| 2551 |
i-- |
| 2552 |
dAtA[i] = 0x20 |
| 2553 |
} |
| 2554 |
i -= len(m.Continue) |
| 2555 |
copy(dAtA[i:], m.Continue) |
| 2556 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Continue))) |
| 2557 |
i-- |
| 2558 |
dAtA[i] = 0x1a |
| 2559 |
i -= len(m.ResourceVersion) |
| 2560 |
copy(dAtA[i:], m.ResourceVersion) |
| 2561 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion))) |
| 2562 |
i-- |
| 2563 |
dAtA[i] = 0x12 |
| 2564 |
i -= len(m.SelfLink) |
| 2565 |
copy(dAtA[i:], m.SelfLink) |
| 2566 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SelfLink))) |
| 2567 |
i-- |
| 2568 |
dAtA[i] = 0xa |
| 2569 |
return len(dAtA) - i, nil |
| 2570 |
} |
| 2571 |
|
| 2572 |
func (m *ListOptions) Marshal() (dAtA []byte, err error) { |
| 2573 |
size := m.Size() |
| 2574 |
dAtA = make([]byte, size) |
| 2575 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2576 |
if err != nil { |
| 2577 |
return nil, err |
| 2578 |
} |
| 2579 |
return dAtA[:n], nil |
| 2580 |
} |
| 2581 |
|
| 2582 |
func (m *ListOptions) MarshalTo(dAtA []byte) (int, error) { |
| 2583 |
size := m.Size() |
| 2584 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2585 |
} |
| 2586 |
|
| 2587 |
func (m *ListOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2588 |
i := len(dAtA) |
| 2589 |
_ = i |
| 2590 |
var l int |
| 2591 |
_ = l |
| 2592 |
if m.SendInitialEvents != nil { |
| 2593 |
i-- |
| 2594 |
if *m.SendInitialEvents { |
| 2595 |
dAtA[i] = 1 |
| 2596 |
} else { |
| 2597 |
dAtA[i] = 0 |
| 2598 |
} |
| 2599 |
i-- |
| 2600 |
dAtA[i] = 0x58 |
| 2601 |
} |
| 2602 |
i -= len(m.ResourceVersionMatch) |
| 2603 |
copy(dAtA[i:], m.ResourceVersionMatch) |
| 2604 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersionMatch))) |
| 2605 |
i-- |
| 2606 |
dAtA[i] = 0x52 |
| 2607 |
i-- |
| 2608 |
if m.AllowWatchBookmarks { |
| 2609 |
dAtA[i] = 1 |
| 2610 |
} else { |
| 2611 |
dAtA[i] = 0 |
| 2612 |
} |
| 2613 |
i-- |
| 2614 |
dAtA[i] = 0x48 |
| 2615 |
i -= len(m.Continue) |
| 2616 |
copy(dAtA[i:], m.Continue) |
| 2617 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Continue))) |
| 2618 |
i-- |
| 2619 |
dAtA[i] = 0x42 |
| 2620 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Limit)) |
| 2621 |
i-- |
| 2622 |
dAtA[i] = 0x38 |
| 2623 |
if m.TimeoutSeconds != nil { |
| 2624 |
i = encodeVarintGenerated(dAtA, i, uint64(*m.TimeoutSeconds)) |
| 2625 |
i-- |
| 2626 |
dAtA[i] = 0x28 |
| 2627 |
} |
| 2628 |
i -= len(m.ResourceVersion) |
| 2629 |
copy(dAtA[i:], m.ResourceVersion) |
| 2630 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion))) |
| 2631 |
i-- |
| 2632 |
dAtA[i] = 0x22 |
| 2633 |
i-- |
| 2634 |
if m.Watch { |
| 2635 |
dAtA[i] = 1 |
| 2636 |
} else { |
| 2637 |
dAtA[i] = 0 |
| 2638 |
} |
| 2639 |
i-- |
| 2640 |
dAtA[i] = 0x18 |
| 2641 |
i -= len(m.FieldSelector) |
| 2642 |
copy(dAtA[i:], m.FieldSelector) |
| 2643 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldSelector))) |
| 2644 |
i-- |
| 2645 |
dAtA[i] = 0x12 |
| 2646 |
i -= len(m.LabelSelector) |
| 2647 |
copy(dAtA[i:], m.LabelSelector) |
| 2648 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.LabelSelector))) |
| 2649 |
i-- |
| 2650 |
dAtA[i] = 0xa |
| 2651 |
return len(dAtA) - i, nil |
| 2652 |
} |
| 2653 |
|
| 2654 |
func (m *ManagedFieldsEntry) Marshal() (dAtA []byte, err error) { |
| 2655 |
size := m.Size() |
| 2656 |
dAtA = make([]byte, size) |
| 2657 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2658 |
if err != nil { |
| 2659 |
return nil, err |
| 2660 |
} |
| 2661 |
return dAtA[:n], nil |
| 2662 |
} |
| 2663 |
|
| 2664 |
func (m *ManagedFieldsEntry) MarshalTo(dAtA []byte) (int, error) { |
| 2665 |
size := m.Size() |
| 2666 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2667 |
} |
| 2668 |
|
| 2669 |
func (m *ManagedFieldsEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2670 |
i := len(dAtA) |
| 2671 |
_ = i |
| 2672 |
var l int |
| 2673 |
_ = l |
| 2674 |
i -= len(m.Subresource) |
| 2675 |
copy(dAtA[i:], m.Subresource) |
| 2676 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Subresource))) |
| 2677 |
i-- |
| 2678 |
dAtA[i] = 0x42 |
| 2679 |
if m.FieldsV1 != nil { |
| 2680 |
{ |
| 2681 |
size, err := m.FieldsV1.MarshalToSizedBuffer(dAtA[:i]) |
| 2682 |
if err != nil { |
| 2683 |
return 0, err |
| 2684 |
} |
| 2685 |
i -= size |
| 2686 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 2687 |
} |
| 2688 |
i-- |
| 2689 |
dAtA[i] = 0x3a |
| 2690 |
} |
| 2691 |
i -= len(m.FieldsType) |
| 2692 |
copy(dAtA[i:], m.FieldsType) |
| 2693 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldsType))) |
| 2694 |
i-- |
| 2695 |
dAtA[i] = 0x32 |
| 2696 |
if m.Time != nil { |
| 2697 |
{ |
| 2698 |
size, err := m.Time.MarshalToSizedBuffer(dAtA[:i]) |
| 2699 |
if err != nil { |
| 2700 |
return 0, err |
| 2701 |
} |
| 2702 |
i -= size |
| 2703 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 2704 |
} |
| 2705 |
i-- |
| 2706 |
dAtA[i] = 0x22 |
| 2707 |
} |
| 2708 |
i -= len(m.APIVersion) |
| 2709 |
copy(dAtA[i:], m.APIVersion) |
| 2710 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion))) |
| 2711 |
i-- |
| 2712 |
dAtA[i] = 0x1a |
| 2713 |
i -= len(m.Operation) |
| 2714 |
copy(dAtA[i:], m.Operation) |
| 2715 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Operation))) |
| 2716 |
i-- |
| 2717 |
dAtA[i] = 0x12 |
| 2718 |
i -= len(m.Manager) |
| 2719 |
copy(dAtA[i:], m.Manager) |
| 2720 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Manager))) |
| 2721 |
i-- |
| 2722 |
dAtA[i] = 0xa |
| 2723 |
return len(dAtA) - i, nil |
| 2724 |
} |
| 2725 |
|
| 2726 |
func (m *ObjectMeta) Marshal() (dAtA []byte, err error) { |
| 2727 |
size := m.Size() |
| 2728 |
dAtA = make([]byte, size) |
| 2729 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2730 |
if err != nil { |
| 2731 |
return nil, err |
| 2732 |
} |
| 2733 |
return dAtA[:n], nil |
| 2734 |
} |
| 2735 |
|
| 2736 |
func (m *ObjectMeta) MarshalTo(dAtA []byte) (int, error) { |
| 2737 |
size := m.Size() |
| 2738 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2739 |
} |
| 2740 |
|
| 2741 |
func (m *ObjectMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2742 |
i := len(dAtA) |
| 2743 |
_ = i |
| 2744 |
var l int |
| 2745 |
_ = l |
| 2746 |
if len(m.ManagedFields) > 0 { |
| 2747 |
for iNdEx := len(m.ManagedFields) - 1; iNdEx >= 0; iNdEx-- { |
| 2748 |
{ |
| 2749 |
size, err := m.ManagedFields[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 2750 |
if err != nil { |
| 2751 |
return 0, err |
| 2752 |
} |
| 2753 |
i -= size |
| 2754 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 2755 |
} |
| 2756 |
i-- |
| 2757 |
dAtA[i] = 0x1 |
| 2758 |
i-- |
| 2759 |
dAtA[i] = 0x8a |
| 2760 |
} |
| 2761 |
} |
| 2762 |
if len(m.Finalizers) > 0 { |
| 2763 |
for iNdEx := len(m.Finalizers) - 1; iNdEx >= 0; iNdEx-- { |
| 2764 |
i -= len(m.Finalizers[iNdEx]) |
| 2765 |
copy(dAtA[i:], m.Finalizers[iNdEx]) |
| 2766 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Finalizers[iNdEx]))) |
| 2767 |
i-- |
| 2768 |
dAtA[i] = 0x72 |
| 2769 |
} |
| 2770 |
} |
| 2771 |
if len(m.OwnerReferences) > 0 { |
| 2772 |
for iNdEx := len(m.OwnerReferences) - 1; iNdEx >= 0; iNdEx-- { |
| 2773 |
{ |
| 2774 |
size, err := m.OwnerReferences[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 2775 |
if err != nil { |
| 2776 |
return 0, err |
| 2777 |
} |
| 2778 |
i -= size |
| 2779 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 2780 |
} |
| 2781 |
i-- |
| 2782 |
dAtA[i] = 0x6a |
| 2783 |
} |
| 2784 |
} |
| 2785 |
if len(m.Annotations) > 0 { |
| 2786 |
keysForAnnotations := make([]string, 0, len(m.Annotations)) |
| 2787 |
for k := range m.Annotations { |
| 2788 |
keysForAnnotations = append(keysForAnnotations, string(k)) |
| 2789 |
} |
| 2790 |
github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations) |
| 2791 |
for iNdEx := len(keysForAnnotations) - 1; iNdEx >= 0; iNdEx-- { |
| 2792 |
v := m.Annotations[string(keysForAnnotations[iNdEx])] |
| 2793 |
baseI := i |
| 2794 |
i -= len(v) |
| 2795 |
copy(dAtA[i:], v) |
| 2796 |
i = encodeVarintGenerated(dAtA, i, uint64(len(v))) |
| 2797 |
i-- |
| 2798 |
dAtA[i] = 0x12 |
| 2799 |
i -= len(keysForAnnotations[iNdEx]) |
| 2800 |
copy(dAtA[i:], keysForAnnotations[iNdEx]) |
| 2801 |
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForAnnotations[iNdEx]))) |
| 2802 |
i-- |
| 2803 |
dAtA[i] = 0xa |
| 2804 |
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i)) |
| 2805 |
i-- |
| 2806 |
dAtA[i] = 0x62 |
| 2807 |
} |
| 2808 |
} |
| 2809 |
if len(m.Labels) > 0 { |
| 2810 |
keysForLabels := make([]string, 0, len(m.Labels)) |
| 2811 |
for k := range m.Labels { |
| 2812 |
keysForLabels = append(keysForLabels, string(k)) |
| 2813 |
} |
| 2814 |
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) |
| 2815 |
for iNdEx := len(keysForLabels) - 1; iNdEx >= 0; iNdEx-- { |
| 2816 |
v := m.Labels[string(keysForLabels[iNdEx])] |
| 2817 |
baseI := i |
| 2818 |
i -= len(v) |
| 2819 |
copy(dAtA[i:], v) |
| 2820 |
i = encodeVarintGenerated(dAtA, i, uint64(len(v))) |
| 2821 |
i-- |
| 2822 |
dAtA[i] = 0x12 |
| 2823 |
i -= len(keysForLabels[iNdEx]) |
| 2824 |
copy(dAtA[i:], keysForLabels[iNdEx]) |
| 2825 |
i = encodeVarintGenerated(dAtA, i, uint64(len(keysForLabels[iNdEx]))) |
| 2826 |
i-- |
| 2827 |
dAtA[i] = 0xa |
| 2828 |
i = encodeVarintGenerated(dAtA, i, uint64(baseI-i)) |
| 2829 |
i-- |
| 2830 |
dAtA[i] = 0x5a |
| 2831 |
} |
| 2832 |
} |
| 2833 |
if m.DeletionGracePeriodSeconds != nil { |
| 2834 |
i = encodeVarintGenerated(dAtA, i, uint64(*m.DeletionGracePeriodSeconds)) |
| 2835 |
i-- |
| 2836 |
dAtA[i] = 0x50 |
| 2837 |
} |
| 2838 |
if m.DeletionTimestamp != nil { |
| 2839 |
{ |
| 2840 |
size, err := m.DeletionTimestamp.MarshalToSizedBuffer(dAtA[:i]) |
| 2841 |
if err != nil { |
| 2842 |
return 0, err |
| 2843 |
} |
| 2844 |
i -= size |
| 2845 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 2846 |
} |
| 2847 |
i-- |
| 2848 |
dAtA[i] = 0x4a |
| 2849 |
} |
| 2850 |
{ |
| 2851 |
size, err := m.CreationTimestamp.MarshalToSizedBuffer(dAtA[:i]) |
| 2852 |
if err != nil { |
| 2853 |
return 0, err |
| 2854 |
} |
| 2855 |
i -= size |
| 2856 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 2857 |
} |
| 2858 |
i-- |
| 2859 |
dAtA[i] = 0x42 |
| 2860 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Generation)) |
| 2861 |
i-- |
| 2862 |
dAtA[i] = 0x38 |
| 2863 |
i -= len(m.ResourceVersion) |
| 2864 |
copy(dAtA[i:], m.ResourceVersion) |
| 2865 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion))) |
| 2866 |
i-- |
| 2867 |
dAtA[i] = 0x32 |
| 2868 |
i -= len(m.UID) |
| 2869 |
copy(dAtA[i:], m.UID) |
| 2870 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID))) |
| 2871 |
i-- |
| 2872 |
dAtA[i] = 0x2a |
| 2873 |
i -= len(m.SelfLink) |
| 2874 |
copy(dAtA[i:], m.SelfLink) |
| 2875 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SelfLink))) |
| 2876 |
i-- |
| 2877 |
dAtA[i] = 0x22 |
| 2878 |
i -= len(m.Namespace) |
| 2879 |
copy(dAtA[i:], m.Namespace) |
| 2880 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace))) |
| 2881 |
i-- |
| 2882 |
dAtA[i] = 0x1a |
| 2883 |
i -= len(m.GenerateName) |
| 2884 |
copy(dAtA[i:], m.GenerateName) |
| 2885 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.GenerateName))) |
| 2886 |
i-- |
| 2887 |
dAtA[i] = 0x12 |
| 2888 |
i -= len(m.Name) |
| 2889 |
copy(dAtA[i:], m.Name) |
| 2890 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 2891 |
i-- |
| 2892 |
dAtA[i] = 0xa |
| 2893 |
return len(dAtA) - i, nil |
| 2894 |
} |
| 2895 |
|
| 2896 |
func (m *OwnerReference) Marshal() (dAtA []byte, err error) { |
| 2897 |
size := m.Size() |
| 2898 |
dAtA = make([]byte, size) |
| 2899 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2900 |
if err != nil { |
| 2901 |
return nil, err |
| 2902 |
} |
| 2903 |
return dAtA[:n], nil |
| 2904 |
} |
| 2905 |
|
| 2906 |
func (m *OwnerReference) MarshalTo(dAtA []byte) (int, error) { |
| 2907 |
size := m.Size() |
| 2908 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2909 |
} |
| 2910 |
|
| 2911 |
func (m *OwnerReference) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2912 |
i := len(dAtA) |
| 2913 |
_ = i |
| 2914 |
var l int |
| 2915 |
_ = l |
| 2916 |
if m.BlockOwnerDeletion != nil { |
| 2917 |
i-- |
| 2918 |
if *m.BlockOwnerDeletion { |
| 2919 |
dAtA[i] = 1 |
| 2920 |
} else { |
| 2921 |
dAtA[i] = 0 |
| 2922 |
} |
| 2923 |
i-- |
| 2924 |
dAtA[i] = 0x38 |
| 2925 |
} |
| 2926 |
if m.Controller != nil { |
| 2927 |
i-- |
| 2928 |
if *m.Controller { |
| 2929 |
dAtA[i] = 1 |
| 2930 |
} else { |
| 2931 |
dAtA[i] = 0 |
| 2932 |
} |
| 2933 |
i-- |
| 2934 |
dAtA[i] = 0x30 |
| 2935 |
} |
| 2936 |
i -= len(m.APIVersion) |
| 2937 |
copy(dAtA[i:], m.APIVersion) |
| 2938 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion))) |
| 2939 |
i-- |
| 2940 |
dAtA[i] = 0x2a |
| 2941 |
i -= len(m.UID) |
| 2942 |
copy(dAtA[i:], m.UID) |
| 2943 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID))) |
| 2944 |
i-- |
| 2945 |
dAtA[i] = 0x22 |
| 2946 |
i -= len(m.Name) |
| 2947 |
copy(dAtA[i:], m.Name) |
| 2948 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 2949 |
i-- |
| 2950 |
dAtA[i] = 0x1a |
| 2951 |
i -= len(m.Kind) |
| 2952 |
copy(dAtA[i:], m.Kind) |
| 2953 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) |
| 2954 |
i-- |
| 2955 |
dAtA[i] = 0xa |
| 2956 |
return len(dAtA) - i, nil |
| 2957 |
} |
| 2958 |
|
| 2959 |
func (m *PartialObjectMetadata) Marshal() (dAtA []byte, err error) { |
| 2960 |
size := m.Size() |
| 2961 |
dAtA = make([]byte, size) |
| 2962 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2963 |
if err != nil { |
| 2964 |
return nil, err |
| 2965 |
} |
| 2966 |
return dAtA[:n], nil |
| 2967 |
} |
| 2968 |
|
| 2969 |
func (m *PartialObjectMetadata) MarshalTo(dAtA []byte) (int, error) { |
| 2970 |
size := m.Size() |
| 2971 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 2972 |
} |
| 2973 |
|
| 2974 |
func (m *PartialObjectMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 2975 |
i := len(dAtA) |
| 2976 |
_ = i |
| 2977 |
var l int |
| 2978 |
_ = l |
| 2979 |
{ |
| 2980 |
size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i]) |
| 2981 |
if err != nil { |
| 2982 |
return 0, err |
| 2983 |
} |
| 2984 |
i -= size |
| 2985 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 2986 |
} |
| 2987 |
i-- |
| 2988 |
dAtA[i] = 0xa |
| 2989 |
return len(dAtA) - i, nil |
| 2990 |
} |
| 2991 |
|
| 2992 |
func (m *PartialObjectMetadataList) Marshal() (dAtA []byte, err error) { |
| 2993 |
size := m.Size() |
| 2994 |
dAtA = make([]byte, size) |
| 2995 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 2996 |
if err != nil { |
| 2997 |
return nil, err |
| 2998 |
} |
| 2999 |
return dAtA[:n], nil |
| 3000 |
} |
| 3001 |
|
| 3002 |
func (m *PartialObjectMetadataList) MarshalTo(dAtA []byte) (int, error) { |
| 3003 |
size := m.Size() |
| 3004 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 3005 |
} |
| 3006 |
|
| 3007 |
func (m *PartialObjectMetadataList) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 3008 |
i := len(dAtA) |
| 3009 |
_ = i |
| 3010 |
var l int |
| 3011 |
_ = l |
| 3012 |
if len(m.Items) > 0 { |
| 3013 |
for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { |
| 3014 |
{ |
| 3015 |
size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 3016 |
if err != nil { |
| 3017 |
return 0, err |
| 3018 |
} |
| 3019 |
i -= size |
| 3020 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 3021 |
} |
| 3022 |
i-- |
| 3023 |
dAtA[i] = 0x12 |
| 3024 |
} |
| 3025 |
} |
| 3026 |
{ |
| 3027 |
size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i]) |
| 3028 |
if err != nil { |
| 3029 |
return 0, err |
| 3030 |
} |
| 3031 |
i -= size |
| 3032 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 3033 |
} |
| 3034 |
i-- |
| 3035 |
dAtA[i] = 0xa |
| 3036 |
return len(dAtA) - i, nil |
| 3037 |
} |
| 3038 |
|
| 3039 |
func (m *Patch) Marshal() (dAtA []byte, err error) { |
| 3040 |
size := m.Size() |
| 3041 |
dAtA = make([]byte, size) |
| 3042 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 3043 |
if err != nil { |
| 3044 |
return nil, err |
| 3045 |
} |
| 3046 |
return dAtA[:n], nil |
| 3047 |
} |
| 3048 |
|
| 3049 |
func (m *Patch) MarshalTo(dAtA []byte) (int, error) { |
| 3050 |
size := m.Size() |
| 3051 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 3052 |
} |
| 3053 |
|
| 3054 |
func (m *Patch) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 3055 |
i := len(dAtA) |
| 3056 |
_ = i |
| 3057 |
var l int |
| 3058 |
_ = l |
| 3059 |
return len(dAtA) - i, nil |
| 3060 |
} |
| 3061 |
|
| 3062 |
func (m *PatchOptions) Marshal() (dAtA []byte, err error) { |
| 3063 |
size := m.Size() |
| 3064 |
dAtA = make([]byte, size) |
| 3065 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 3066 |
if err != nil { |
| 3067 |
return nil, err |
| 3068 |
} |
| 3069 |
return dAtA[:n], nil |
| 3070 |
} |
| 3071 |
|
| 3072 |
func (m *PatchOptions) MarshalTo(dAtA []byte) (int, error) { |
| 3073 |
size := m.Size() |
| 3074 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 3075 |
} |
| 3076 |
|
| 3077 |
func (m *PatchOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 3078 |
i := len(dAtA) |
| 3079 |
_ = i |
| 3080 |
var l int |
| 3081 |
_ = l |
| 3082 |
i -= len(m.FieldValidation) |
| 3083 |
copy(dAtA[i:], m.FieldValidation) |
| 3084 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldValidation))) |
| 3085 |
i-- |
| 3086 |
dAtA[i] = 0x22 |
| 3087 |
i -= len(m.FieldManager) |
| 3088 |
copy(dAtA[i:], m.FieldManager) |
| 3089 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldManager))) |
| 3090 |
i-- |
| 3091 |
dAtA[i] = 0x1a |
| 3092 |
if m.Force != nil { |
| 3093 |
i-- |
| 3094 |
if *m.Force { |
| 3095 |
dAtA[i] = 1 |
| 3096 |
} else { |
| 3097 |
dAtA[i] = 0 |
| 3098 |
} |
| 3099 |
i-- |
| 3100 |
dAtA[i] = 0x10 |
| 3101 |
} |
| 3102 |
if len(m.DryRun) > 0 { |
| 3103 |
for iNdEx := len(m.DryRun) - 1; iNdEx >= 0; iNdEx-- { |
| 3104 |
i -= len(m.DryRun[iNdEx]) |
| 3105 |
copy(dAtA[i:], m.DryRun[iNdEx]) |
| 3106 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DryRun[iNdEx]))) |
| 3107 |
i-- |
| 3108 |
dAtA[i] = 0xa |
| 3109 |
} |
| 3110 |
} |
| 3111 |
return len(dAtA) - i, nil |
| 3112 |
} |
| 3113 |
|
| 3114 |
func (m *Preconditions) Marshal() (dAtA []byte, err error) { |
| 3115 |
size := m.Size() |
| 3116 |
dAtA = make([]byte, size) |
| 3117 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 3118 |
if err != nil { |
| 3119 |
return nil, err |
| 3120 |
} |
| 3121 |
return dAtA[:n], nil |
| 3122 |
} |
| 3123 |
|
| 3124 |
func (m *Preconditions) MarshalTo(dAtA []byte) (int, error) { |
| 3125 |
size := m.Size() |
| 3126 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 3127 |
} |
| 3128 |
|
| 3129 |
func (m *Preconditions) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 3130 |
i := len(dAtA) |
| 3131 |
_ = i |
| 3132 |
var l int |
| 3133 |
_ = l |
| 3134 |
if m.ResourceVersion != nil { |
| 3135 |
i -= len(*m.ResourceVersion) |
| 3136 |
copy(dAtA[i:], *m.ResourceVersion) |
| 3137 |
i = encodeVarintGenerated(dAtA, i, uint64(len(*m.ResourceVersion))) |
| 3138 |
i-- |
| 3139 |
dAtA[i] = 0x12 |
| 3140 |
} |
| 3141 |
if m.UID != nil { |
| 3142 |
i -= len(*m.UID) |
| 3143 |
copy(dAtA[i:], *m.UID) |
| 3144 |
i = encodeVarintGenerated(dAtA, i, uint64(len(*m.UID))) |
| 3145 |
i-- |
| 3146 |
dAtA[i] = 0xa |
| 3147 |
} |
| 3148 |
return len(dAtA) - i, nil |
| 3149 |
} |
| 3150 |
|
| 3151 |
func (m *RootPaths) Marshal() (dAtA []byte, err error) { |
| 3152 |
size := m.Size() |
| 3153 |
dAtA = make([]byte, size) |
| 3154 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 3155 |
if err != nil { |
| 3156 |
return nil, err |
| 3157 |
} |
| 3158 |
return dAtA[:n], nil |
| 3159 |
} |
| 3160 |
|
| 3161 |
func (m *RootPaths) MarshalTo(dAtA []byte) (int, error) { |
| 3162 |
size := m.Size() |
| 3163 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 3164 |
} |
| 3165 |
|
| 3166 |
func (m *RootPaths) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 3167 |
i := len(dAtA) |
| 3168 |
_ = i |
| 3169 |
var l int |
| 3170 |
_ = l |
| 3171 |
if len(m.Paths) > 0 { |
| 3172 |
for iNdEx := len(m.Paths) - 1; iNdEx >= 0; iNdEx-- { |
| 3173 |
i -= len(m.Paths[iNdEx]) |
| 3174 |
copy(dAtA[i:], m.Paths[iNdEx]) |
| 3175 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Paths[iNdEx]))) |
| 3176 |
i-- |
| 3177 |
dAtA[i] = 0xa |
| 3178 |
} |
| 3179 |
} |
| 3180 |
return len(dAtA) - i, nil |
| 3181 |
} |
| 3182 |
|
| 3183 |
func (m *ServerAddressByClientCIDR) Marshal() (dAtA []byte, err error) { |
| 3184 |
size := m.Size() |
| 3185 |
dAtA = make([]byte, size) |
| 3186 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 3187 |
if err != nil { |
| 3188 |
return nil, err |
| 3189 |
} |
| 3190 |
return dAtA[:n], nil |
| 3191 |
} |
| 3192 |
|
| 3193 |
func (m *ServerAddressByClientCIDR) MarshalTo(dAtA []byte) (int, error) { |
| 3194 |
size := m.Size() |
| 3195 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 3196 |
} |
| 3197 |
|
| 3198 |
func (m *ServerAddressByClientCIDR) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 3199 |
i := len(dAtA) |
| 3200 |
_ = i |
| 3201 |
var l int |
| 3202 |
_ = l |
| 3203 |
i -= len(m.ServerAddress) |
| 3204 |
copy(dAtA[i:], m.ServerAddress) |
| 3205 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServerAddress))) |
| 3206 |
i-- |
| 3207 |
dAtA[i] = 0x12 |
| 3208 |
i -= len(m.ClientCIDR) |
| 3209 |
copy(dAtA[i:], m.ClientCIDR) |
| 3210 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.ClientCIDR))) |
| 3211 |
i-- |
| 3212 |
dAtA[i] = 0xa |
| 3213 |
return len(dAtA) - i, nil |
| 3214 |
} |
| 3215 |
|
| 3216 |
func (m *Status) Marshal() (dAtA []byte, err error) { |
| 3217 |
size := m.Size() |
| 3218 |
dAtA = make([]byte, size) |
| 3219 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 3220 |
if err != nil { |
| 3221 |
return nil, err |
| 3222 |
} |
| 3223 |
return dAtA[:n], nil |
| 3224 |
} |
| 3225 |
|
| 3226 |
func (m *Status) MarshalTo(dAtA []byte) (int, error) { |
| 3227 |
size := m.Size() |
| 3228 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 3229 |
} |
| 3230 |
|
| 3231 |
func (m *Status) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 3232 |
i := len(dAtA) |
| 3233 |
_ = i |
| 3234 |
var l int |
| 3235 |
_ = l |
| 3236 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Code)) |
| 3237 |
i-- |
| 3238 |
dAtA[i] = 0x30 |
| 3239 |
if m.Details != nil { |
| 3240 |
{ |
| 3241 |
size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) |
| 3242 |
if err != nil { |
| 3243 |
return 0, err |
| 3244 |
} |
| 3245 |
i -= size |
| 3246 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 3247 |
} |
| 3248 |
i-- |
| 3249 |
dAtA[i] = 0x2a |
| 3250 |
} |
| 3251 |
i -= len(m.Reason) |
| 3252 |
copy(dAtA[i:], m.Reason) |
| 3253 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason))) |
| 3254 |
i-- |
| 3255 |
dAtA[i] = 0x22 |
| 3256 |
i -= len(m.Message) |
| 3257 |
copy(dAtA[i:], m.Message) |
| 3258 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) |
| 3259 |
i-- |
| 3260 |
dAtA[i] = 0x1a |
| 3261 |
i -= len(m.Status) |
| 3262 |
copy(dAtA[i:], m.Status) |
| 3263 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status))) |
| 3264 |
i-- |
| 3265 |
dAtA[i] = 0x12 |
| 3266 |
{ |
| 3267 |
size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i]) |
| 3268 |
if err != nil { |
| 3269 |
return 0, err |
| 3270 |
} |
| 3271 |
i -= size |
| 3272 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 3273 |
} |
| 3274 |
i-- |
| 3275 |
dAtA[i] = 0xa |
| 3276 |
return len(dAtA) - i, nil |
| 3277 |
} |
| 3278 |
|
| 3279 |
func (m *StatusCause) Marshal() (dAtA []byte, err error) { |
| 3280 |
size := m.Size() |
| 3281 |
dAtA = make([]byte, size) |
| 3282 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 3283 |
if err != nil { |
| 3284 |
return nil, err |
| 3285 |
} |
| 3286 |
return dAtA[:n], nil |
| 3287 |
} |
| 3288 |
|
| 3289 |
func (m *StatusCause) MarshalTo(dAtA []byte) (int, error) { |
| 3290 |
size := m.Size() |
| 3291 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 3292 |
} |
| 3293 |
|
| 3294 |
func (m *StatusCause) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 3295 |
i := len(dAtA) |
| 3296 |
_ = i |
| 3297 |
var l int |
| 3298 |
_ = l |
| 3299 |
i -= len(m.Field) |
| 3300 |
copy(dAtA[i:], m.Field) |
| 3301 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Field))) |
| 3302 |
i-- |
| 3303 |
dAtA[i] = 0x1a |
| 3304 |
i -= len(m.Message) |
| 3305 |
copy(dAtA[i:], m.Message) |
| 3306 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) |
| 3307 |
i-- |
| 3308 |
dAtA[i] = 0x12 |
| 3309 |
i -= len(m.Type) |
| 3310 |
copy(dAtA[i:], m.Type) |
| 3311 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 3312 |
i-- |
| 3313 |
dAtA[i] = 0xa |
| 3314 |
return len(dAtA) - i, nil |
| 3315 |
} |
| 3316 |
|
| 3317 |
func (m *StatusDetails) Marshal() (dAtA []byte, err error) { |
| 3318 |
size := m.Size() |
| 3319 |
dAtA = make([]byte, size) |
| 3320 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 3321 |
if err != nil { |
| 3322 |
return nil, err |
| 3323 |
} |
| 3324 |
return dAtA[:n], nil |
| 3325 |
} |
| 3326 |
|
| 3327 |
func (m *StatusDetails) MarshalTo(dAtA []byte) (int, error) { |
| 3328 |
size := m.Size() |
| 3329 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 3330 |
} |
| 3331 |
|
| 3332 |
func (m *StatusDetails) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 3333 |
i := len(dAtA) |
| 3334 |
_ = i |
| 3335 |
var l int |
| 3336 |
_ = l |
| 3337 |
i -= len(m.UID) |
| 3338 |
copy(dAtA[i:], m.UID) |
| 3339 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID))) |
| 3340 |
i-- |
| 3341 |
dAtA[i] = 0x32 |
| 3342 |
i = encodeVarintGenerated(dAtA, i, uint64(m.RetryAfterSeconds)) |
| 3343 |
i-- |
| 3344 |
dAtA[i] = 0x28 |
| 3345 |
if len(m.Causes) > 0 { |
| 3346 |
for iNdEx := len(m.Causes) - 1; iNdEx >= 0; iNdEx-- { |
| 3347 |
{ |
| 3348 |
size, err := m.Causes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 3349 |
if err != nil { |
| 3350 |
return 0, err |
| 3351 |
} |
| 3352 |
i -= size |
| 3353 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 3354 |
} |
| 3355 |
i-- |
| 3356 |
dAtA[i] = 0x22 |
| 3357 |
} |
| 3358 |
} |
| 3359 |
i -= len(m.Kind) |
| 3360 |
copy(dAtA[i:], m.Kind) |
| 3361 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) |
| 3362 |
i-- |
| 3363 |
dAtA[i] = 0x1a |
| 3364 |
i -= len(m.Group) |
| 3365 |
copy(dAtA[i:], m.Group) |
| 3366 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group))) |
| 3367 |
i-- |
| 3368 |
dAtA[i] = 0x12 |
| 3369 |
i -= len(m.Name) |
| 3370 |
copy(dAtA[i:], m.Name) |
| 3371 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 3372 |
i-- |
| 3373 |
dAtA[i] = 0xa |
| 3374 |
return len(dAtA) - i, nil |
| 3375 |
} |
| 3376 |
|
| 3377 |
func (m *TableOptions) Marshal() (dAtA []byte, err error) { |
| 3378 |
size := m.Size() |
| 3379 |
dAtA = make([]byte, size) |
| 3380 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 3381 |
if err != nil { |
| 3382 |
return nil, err |
| 3383 |
} |
| 3384 |
return dAtA[:n], nil |
| 3385 |
} |
| 3386 |
|
| 3387 |
func (m *TableOptions) MarshalTo(dAtA []byte) (int, error) { |
| 3388 |
size := m.Size() |
| 3389 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 3390 |
} |
| 3391 |
|
| 3392 |
func (m *TableOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 3393 |
i := len(dAtA) |
| 3394 |
_ = i |
| 3395 |
var l int |
| 3396 |
_ = l |
| 3397 |
i -= len(m.IncludeObject) |
| 3398 |
copy(dAtA[i:], m.IncludeObject) |
| 3399 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.IncludeObject))) |
| 3400 |
i-- |
| 3401 |
dAtA[i] = 0xa |
| 3402 |
return len(dAtA) - i, nil |
| 3403 |
} |
| 3404 |
|
| 3405 |
func (m *Timestamp) Marshal() (dAtA []byte, err error) { |
| 3406 |
size := m.Size() |
| 3407 |
dAtA = make([]byte, size) |
| 3408 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 3409 |
if err != nil { |
| 3410 |
return nil, err |
| 3411 |
} |
| 3412 |
return dAtA[:n], nil |
| 3413 |
} |
| 3414 |
|
| 3415 |
func (m *Timestamp) MarshalTo(dAtA []byte) (int, error) { |
| 3416 |
size := m.Size() |
| 3417 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 3418 |
} |
| 3419 |
|
| 3420 |
func (m *Timestamp) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 3421 |
i := len(dAtA) |
| 3422 |
_ = i |
| 3423 |
var l int |
| 3424 |
_ = l |
| 3425 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Nanos)) |
| 3426 |
i-- |
| 3427 |
dAtA[i] = 0x10 |
| 3428 |
i = encodeVarintGenerated(dAtA, i, uint64(m.Seconds)) |
| 3429 |
i-- |
| 3430 |
dAtA[i] = 0x8 |
| 3431 |
return len(dAtA) - i, nil |
| 3432 |
} |
| 3433 |
|
| 3434 |
func (m *TypeMeta) Marshal() (dAtA []byte, err error) { |
| 3435 |
size := m.Size() |
| 3436 |
dAtA = make([]byte, size) |
| 3437 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 3438 |
if err != nil { |
| 3439 |
return nil, err |
| 3440 |
} |
| 3441 |
return dAtA[:n], nil |
| 3442 |
} |
| 3443 |
|
| 3444 |
func (m *TypeMeta) MarshalTo(dAtA []byte) (int, error) { |
| 3445 |
size := m.Size() |
| 3446 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 3447 |
} |
| 3448 |
|
| 3449 |
func (m *TypeMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 3450 |
i := len(dAtA) |
| 3451 |
_ = i |
| 3452 |
var l int |
| 3453 |
_ = l |
| 3454 |
i -= len(m.APIVersion) |
| 3455 |
copy(dAtA[i:], m.APIVersion) |
| 3456 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion))) |
| 3457 |
i-- |
| 3458 |
dAtA[i] = 0x12 |
| 3459 |
i -= len(m.Kind) |
| 3460 |
copy(dAtA[i:], m.Kind) |
| 3461 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) |
| 3462 |
i-- |
| 3463 |
dAtA[i] = 0xa |
| 3464 |
return len(dAtA) - i, nil |
| 3465 |
} |
| 3466 |
|
| 3467 |
func (m *UpdateOptions) Marshal() (dAtA []byte, err error) { |
| 3468 |
size := m.Size() |
| 3469 |
dAtA = make([]byte, size) |
| 3470 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 3471 |
if err != nil { |
| 3472 |
return nil, err |
| 3473 |
} |
| 3474 |
return dAtA[:n], nil |
| 3475 |
} |
| 3476 |
|
| 3477 |
func (m *UpdateOptions) MarshalTo(dAtA []byte) (int, error) { |
| 3478 |
size := m.Size() |
| 3479 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 3480 |
} |
| 3481 |
|
| 3482 |
func (m *UpdateOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 3483 |
i := len(dAtA) |
| 3484 |
_ = i |
| 3485 |
var l int |
| 3486 |
_ = l |
| 3487 |
i -= len(m.FieldValidation) |
| 3488 |
copy(dAtA[i:], m.FieldValidation) |
| 3489 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldValidation))) |
| 3490 |
i-- |
| 3491 |
dAtA[i] = 0x1a |
| 3492 |
i -= len(m.FieldManager) |
| 3493 |
copy(dAtA[i:], m.FieldManager) |
| 3494 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldManager))) |
| 3495 |
i-- |
| 3496 |
dAtA[i] = 0x12 |
| 3497 |
if len(m.DryRun) > 0 { |
| 3498 |
for iNdEx := len(m.DryRun) - 1; iNdEx >= 0; iNdEx-- { |
| 3499 |
i -= len(m.DryRun[iNdEx]) |
| 3500 |
copy(dAtA[i:], m.DryRun[iNdEx]) |
| 3501 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.DryRun[iNdEx]))) |
| 3502 |
i-- |
| 3503 |
dAtA[i] = 0xa |
| 3504 |
} |
| 3505 |
} |
| 3506 |
return len(dAtA) - i, nil |
| 3507 |
} |
| 3508 |
|
| 3509 |
func (m Verbs) Marshal() (dAtA []byte, err error) { |
| 3510 |
size := m.Size() |
| 3511 |
dAtA = make([]byte, size) |
| 3512 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 3513 |
if err != nil { |
| 3514 |
return nil, err |
| 3515 |
} |
| 3516 |
return dAtA[:n], nil |
| 3517 |
} |
| 3518 |
|
| 3519 |
func (m Verbs) MarshalTo(dAtA []byte) (int, error) { |
| 3520 |
size := m.Size() |
| 3521 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 3522 |
} |
| 3523 |
|
| 3524 |
func (m Verbs) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 3525 |
i := len(dAtA) |
| 3526 |
_ = i |
| 3527 |
var l int |
| 3528 |
_ = l |
| 3529 |
if len(m) > 0 { |
| 3530 |
for iNdEx := len(m) - 1; iNdEx >= 0; iNdEx-- { |
| 3531 |
i -= len(m[iNdEx]) |
| 3532 |
copy(dAtA[i:], m[iNdEx]) |
| 3533 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m[iNdEx]))) |
| 3534 |
i-- |
| 3535 |
dAtA[i] = 0xa |
| 3536 |
} |
| 3537 |
} |
| 3538 |
return len(dAtA) - i, nil |
| 3539 |
} |
| 3540 |
|
| 3541 |
func (m *WatchEvent) Marshal() (dAtA []byte, err error) { |
| 3542 |
size := m.Size() |
| 3543 |
dAtA = make([]byte, size) |
| 3544 |
n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 3545 |
if err != nil { |
| 3546 |
return nil, err |
| 3547 |
} |
| 3548 |
return dAtA[:n], nil |
| 3549 |
} |
| 3550 |
|
| 3551 |
func (m *WatchEvent) MarshalTo(dAtA []byte) (int, error) { |
| 3552 |
size := m.Size() |
| 3553 |
return m.MarshalToSizedBuffer(dAtA[:size]) |
| 3554 |
} |
| 3555 |
|
| 3556 |
func (m *WatchEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 3557 |
i := len(dAtA) |
| 3558 |
_ = i |
| 3559 |
var l int |
| 3560 |
_ = l |
| 3561 |
{ |
| 3562 |
size, err := m.Object.MarshalToSizedBuffer(dAtA[:i]) |
| 3563 |
if err != nil { |
| 3564 |
return 0, err |
| 3565 |
} |
| 3566 |
i -= size |
| 3567 |
i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| 3568 |
} |
| 3569 |
i-- |
| 3570 |
dAtA[i] = 0x12 |
| 3571 |
i -= len(m.Type) |
| 3572 |
copy(dAtA[i:], m.Type) |
| 3573 |
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| 3574 |
i-- |
| 3575 |
dAtA[i] = 0xa |
| 3576 |
return len(dAtA) - i, nil |
| 3577 |
} |
| 3578 |
|
| 3579 |
func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int { |
| 3580 |
offset -= sovGenerated(v) |
| 3581 |
base := offset |
| 3582 |
for v >= 1<<7 { |
| 3583 |
dAtA[offset] = uint8(v&0x7f | 0x80) |
| 3584 |
v >>= 7 |
| 3585 |
offset++ |
| 3586 |
} |
| 3587 |
dAtA[offset] = uint8(v) |
| 3588 |
return base |
| 3589 |
} |
| 3590 |
func (m *APIGroup) Size() (n int) { |
| 3591 |
if m == nil { |
| 3592 |
return 0 |
| 3593 |
} |
| 3594 |
var l int |
| 3595 |
_ = l |
| 3596 |
l = len(m.Name) |
| 3597 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3598 |
if len(m.Versions) > 0 { |
| 3599 |
for _, e := range m.Versions { |
| 3600 |
l = e.Size() |
| 3601 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3602 |
} |
| 3603 |
} |
| 3604 |
l = m.PreferredVersion.Size() |
| 3605 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3606 |
if len(m.ServerAddressByClientCIDRs) > 0 { |
| 3607 |
for _, e := range m.ServerAddressByClientCIDRs { |
| 3608 |
l = e.Size() |
| 3609 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3610 |
} |
| 3611 |
} |
| 3612 |
return n |
| 3613 |
} |
| 3614 |
|
| 3615 |
func (m *APIGroupList) Size() (n int) { |
| 3616 |
if m == nil { |
| 3617 |
return 0 |
| 3618 |
} |
| 3619 |
var l int |
| 3620 |
_ = l |
| 3621 |
if len(m.Groups) > 0 { |
| 3622 |
for _, e := range m.Groups { |
| 3623 |
l = e.Size() |
| 3624 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3625 |
} |
| 3626 |
} |
| 3627 |
return n |
| 3628 |
} |
| 3629 |
|
| 3630 |
func (m *APIResource) Size() (n int) { |
| 3631 |
if m == nil { |
| 3632 |
return 0 |
| 3633 |
} |
| 3634 |
var l int |
| 3635 |
_ = l |
| 3636 |
l = len(m.Name) |
| 3637 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3638 |
n += 2 |
| 3639 |
l = len(m.Kind) |
| 3640 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3641 |
if m.Verbs != nil { |
| 3642 |
l = m.Verbs.Size() |
| 3643 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3644 |
} |
| 3645 |
if len(m.ShortNames) > 0 { |
| 3646 |
for _, s := range m.ShortNames { |
| 3647 |
l = len(s) |
| 3648 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3649 |
} |
| 3650 |
} |
| 3651 |
l = len(m.SingularName) |
| 3652 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3653 |
if len(m.Categories) > 0 { |
| 3654 |
for _, s := range m.Categories { |
| 3655 |
l = len(s) |
| 3656 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3657 |
} |
| 3658 |
} |
| 3659 |
l = len(m.Group) |
| 3660 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3661 |
l = len(m.Version) |
| 3662 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3663 |
l = len(m.StorageVersionHash) |
| 3664 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3665 |
return n |
| 3666 |
} |
| 3667 |
|
| 3668 |
func (m *APIResourceList) Size() (n int) { |
| 3669 |
if m == nil { |
| 3670 |
return 0 |
| 3671 |
} |
| 3672 |
var l int |
| 3673 |
_ = l |
| 3674 |
l = len(m.GroupVersion) |
| 3675 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3676 |
if len(m.APIResources) > 0 { |
| 3677 |
for _, e := range m.APIResources { |
| 3678 |
l = e.Size() |
| 3679 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3680 |
} |
| 3681 |
} |
| 3682 |
return n |
| 3683 |
} |
| 3684 |
|
| 3685 |
func (m *APIVersions) Size() (n int) { |
| 3686 |
if m == nil { |
| 3687 |
return 0 |
| 3688 |
} |
| 3689 |
var l int |
| 3690 |
_ = l |
| 3691 |
if len(m.Versions) > 0 { |
| 3692 |
for _, s := range m.Versions { |
| 3693 |
l = len(s) |
| 3694 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3695 |
} |
| 3696 |
} |
| 3697 |
if len(m.ServerAddressByClientCIDRs) > 0 { |
| 3698 |
for _, e := range m.ServerAddressByClientCIDRs { |
| 3699 |
l = e.Size() |
| 3700 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3701 |
} |
| 3702 |
} |
| 3703 |
return n |
| 3704 |
} |
| 3705 |
|
| 3706 |
func (m *ApplyOptions) Size() (n int) { |
| 3707 |
if m == nil { |
| 3708 |
return 0 |
| 3709 |
} |
| 3710 |
var l int |
| 3711 |
_ = l |
| 3712 |
if len(m.DryRun) > 0 { |
| 3713 |
for _, s := range m.DryRun { |
| 3714 |
l = len(s) |
| 3715 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3716 |
} |
| 3717 |
} |
| 3718 |
n += 2 |
| 3719 |
l = len(m.FieldManager) |
| 3720 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3721 |
return n |
| 3722 |
} |
| 3723 |
|
| 3724 |
func (m *Condition) Size() (n int) { |
| 3725 |
if m == nil { |
| 3726 |
return 0 |
| 3727 |
} |
| 3728 |
var l int |
| 3729 |
_ = l |
| 3730 |
l = len(m.Type) |
| 3731 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3732 |
l = len(m.Status) |
| 3733 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3734 |
n += 1 + sovGenerated(uint64(m.ObservedGeneration)) |
| 3735 |
l = m.LastTransitionTime.Size() |
| 3736 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3737 |
l = len(m.Reason) |
| 3738 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3739 |
l = len(m.Message) |
| 3740 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3741 |
return n |
| 3742 |
} |
| 3743 |
|
| 3744 |
func (m *CreateOptions) Size() (n int) { |
| 3745 |
if m == nil { |
| 3746 |
return 0 |
| 3747 |
} |
| 3748 |
var l int |
| 3749 |
_ = l |
| 3750 |
if len(m.DryRun) > 0 { |
| 3751 |
for _, s := range m.DryRun { |
| 3752 |
l = len(s) |
| 3753 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3754 |
} |
| 3755 |
} |
| 3756 |
l = len(m.FieldManager) |
| 3757 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3758 |
l = len(m.FieldValidation) |
| 3759 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3760 |
return n |
| 3761 |
} |
| 3762 |
|
| 3763 |
func (m *DeleteOptions) Size() (n int) { |
| 3764 |
if m == nil { |
| 3765 |
return 0 |
| 3766 |
} |
| 3767 |
var l int |
| 3768 |
_ = l |
| 3769 |
if m.GracePeriodSeconds != nil { |
| 3770 |
n += 1 + sovGenerated(uint64(*m.GracePeriodSeconds)) |
| 3771 |
} |
| 3772 |
if m.Preconditions != nil { |
| 3773 |
l = m.Preconditions.Size() |
| 3774 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3775 |
} |
| 3776 |
if m.OrphanDependents != nil { |
| 3777 |
n += 2 |
| 3778 |
} |
| 3779 |
if m.PropagationPolicy != nil { |
| 3780 |
l = len(*m.PropagationPolicy) |
| 3781 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3782 |
} |
| 3783 |
if len(m.DryRun) > 0 { |
| 3784 |
for _, s := range m.DryRun { |
| 3785 |
l = len(s) |
| 3786 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3787 |
} |
| 3788 |
} |
| 3789 |
if m.IgnoreStoreReadErrorWithClusterBreakingPotential != nil { |
| 3790 |
n += 2 |
| 3791 |
} |
| 3792 |
return n |
| 3793 |
} |
| 3794 |
|
| 3795 |
func (m *Duration) Size() (n int) { |
| 3796 |
if m == nil { |
| 3797 |
return 0 |
| 3798 |
} |
| 3799 |
var l int |
| 3800 |
_ = l |
| 3801 |
n += 1 + sovGenerated(uint64(m.Duration)) |
| 3802 |
return n |
| 3803 |
} |
| 3804 |
|
| 3805 |
func (m *FieldSelectorRequirement) Size() (n int) { |
| 3806 |
if m == nil { |
| 3807 |
return 0 |
| 3808 |
} |
| 3809 |
var l int |
| 3810 |
_ = l |
| 3811 |
l = len(m.Key) |
| 3812 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3813 |
l = len(m.Operator) |
| 3814 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3815 |
if len(m.Values) > 0 { |
| 3816 |
for _, s := range m.Values { |
| 3817 |
l = len(s) |
| 3818 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3819 |
} |
| 3820 |
} |
| 3821 |
return n |
| 3822 |
} |
| 3823 |
|
| 3824 |
func (m *FieldsV1) Size() (n int) { |
| 3825 |
if m == nil { |
| 3826 |
return 0 |
| 3827 |
} |
| 3828 |
var l int |
| 3829 |
_ = l |
| 3830 |
if m.Raw != nil { |
| 3831 |
l = len(m.Raw) |
| 3832 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3833 |
} |
| 3834 |
return n |
| 3835 |
} |
| 3836 |
|
| 3837 |
func (m *GetOptions) Size() (n int) { |
| 3838 |
if m == nil { |
| 3839 |
return 0 |
| 3840 |
} |
| 3841 |
var l int |
| 3842 |
_ = l |
| 3843 |
l = len(m.ResourceVersion) |
| 3844 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3845 |
return n |
| 3846 |
} |
| 3847 |
|
| 3848 |
func (m *GroupKind) Size() (n int) { |
| 3849 |
if m == nil { |
| 3850 |
return 0 |
| 3851 |
} |
| 3852 |
var l int |
| 3853 |
_ = l |
| 3854 |
l = len(m.Group) |
| 3855 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3856 |
l = len(m.Kind) |
| 3857 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3858 |
return n |
| 3859 |
} |
| 3860 |
|
| 3861 |
func (m *GroupResource) Size() (n int) { |
| 3862 |
if m == nil { |
| 3863 |
return 0 |
| 3864 |
} |
| 3865 |
var l int |
| 3866 |
_ = l |
| 3867 |
l = len(m.Group) |
| 3868 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3869 |
l = len(m.Resource) |
| 3870 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3871 |
return n |
| 3872 |
} |
| 3873 |
|
| 3874 |
func (m *GroupVersion) Size() (n int) { |
| 3875 |
if m == nil { |
| 3876 |
return 0 |
| 3877 |
} |
| 3878 |
var l int |
| 3879 |
_ = l |
| 3880 |
l = len(m.Group) |
| 3881 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3882 |
l = len(m.Version) |
| 3883 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3884 |
return n |
| 3885 |
} |
| 3886 |
|
| 3887 |
func (m *GroupVersionForDiscovery) Size() (n int) { |
| 3888 |
if m == nil { |
| 3889 |
return 0 |
| 3890 |
} |
| 3891 |
var l int |
| 3892 |
_ = l |
| 3893 |
l = len(m.GroupVersion) |
| 3894 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3895 |
l = len(m.Version) |
| 3896 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3897 |
return n |
| 3898 |
} |
| 3899 |
|
| 3900 |
func (m *GroupVersionKind) Size() (n int) { |
| 3901 |
if m == nil { |
| 3902 |
return 0 |
| 3903 |
} |
| 3904 |
var l int |
| 3905 |
_ = l |
| 3906 |
l = len(m.Group) |
| 3907 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3908 |
l = len(m.Version) |
| 3909 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3910 |
l = len(m.Kind) |
| 3911 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3912 |
return n |
| 3913 |
} |
| 3914 |
|
| 3915 |
func (m *GroupVersionResource) Size() (n int) { |
| 3916 |
if m == nil { |
| 3917 |
return 0 |
| 3918 |
} |
| 3919 |
var l int |
| 3920 |
_ = l |
| 3921 |
l = len(m.Group) |
| 3922 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3923 |
l = len(m.Version) |
| 3924 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3925 |
l = len(m.Resource) |
| 3926 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3927 |
return n |
| 3928 |
} |
| 3929 |
|
| 3930 |
func (m *LabelSelector) Size() (n int) { |
| 3931 |
if m == nil { |
| 3932 |
return 0 |
| 3933 |
} |
| 3934 |
var l int |
| 3935 |
_ = l |
| 3936 |
if len(m.MatchLabels) > 0 { |
| 3937 |
for k, v := range m.MatchLabels { |
| 3938 |
_ = k |
| 3939 |
_ = v |
| 3940 |
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 3941 |
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) |
| 3942 |
} |
| 3943 |
} |
| 3944 |
if len(m.MatchExpressions) > 0 { |
| 3945 |
for _, e := range m.MatchExpressions { |
| 3946 |
l = e.Size() |
| 3947 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3948 |
} |
| 3949 |
} |
| 3950 |
return n |
| 3951 |
} |
| 3952 |
|
| 3953 |
func (m *LabelSelectorRequirement) Size() (n int) { |
| 3954 |
if m == nil { |
| 3955 |
return 0 |
| 3956 |
} |
| 3957 |
var l int |
| 3958 |
_ = l |
| 3959 |
l = len(m.Key) |
| 3960 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3961 |
l = len(m.Operator) |
| 3962 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3963 |
if len(m.Values) > 0 { |
| 3964 |
for _, s := range m.Values { |
| 3965 |
l = len(s) |
| 3966 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3967 |
} |
| 3968 |
} |
| 3969 |
return n |
| 3970 |
} |
| 3971 |
|
| 3972 |
func (m *List) Size() (n int) { |
| 3973 |
if m == nil { |
| 3974 |
return 0 |
| 3975 |
} |
| 3976 |
var l int |
| 3977 |
_ = l |
| 3978 |
l = m.ListMeta.Size() |
| 3979 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3980 |
if len(m.Items) > 0 { |
| 3981 |
for _, e := range m.Items { |
| 3982 |
l = e.Size() |
| 3983 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3984 |
} |
| 3985 |
} |
| 3986 |
return n |
| 3987 |
} |
| 3988 |
|
| 3989 |
func (m *ListMeta) Size() (n int) { |
| 3990 |
if m == nil { |
| 3991 |
return 0 |
| 3992 |
} |
| 3993 |
var l int |
| 3994 |
_ = l |
| 3995 |
l = len(m.SelfLink) |
| 3996 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3997 |
l = len(m.ResourceVersion) |
| 3998 |
n += 1 + l + sovGenerated(uint64(l)) |
| 3999 |
l = len(m.Continue) |
| 4000 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4001 |
if m.RemainingItemCount != nil { |
| 4002 |
n += 1 + sovGenerated(uint64(*m.RemainingItemCount)) |
| 4003 |
} |
| 4004 |
return n |
| 4005 |
} |
| 4006 |
|
| 4007 |
func (m *ListOptions) Size() (n int) { |
| 4008 |
if m == nil { |
| 4009 |
return 0 |
| 4010 |
} |
| 4011 |
var l int |
| 4012 |
_ = l |
| 4013 |
l = len(m.LabelSelector) |
| 4014 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4015 |
l = len(m.FieldSelector) |
| 4016 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4017 |
n += 2 |
| 4018 |
l = len(m.ResourceVersion) |
| 4019 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4020 |
if m.TimeoutSeconds != nil { |
| 4021 |
n += 1 + sovGenerated(uint64(*m.TimeoutSeconds)) |
| 4022 |
} |
| 4023 |
n += 1 + sovGenerated(uint64(m.Limit)) |
| 4024 |
l = len(m.Continue) |
| 4025 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4026 |
n += 2 |
| 4027 |
l = len(m.ResourceVersionMatch) |
| 4028 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4029 |
if m.SendInitialEvents != nil { |
| 4030 |
n += 2 |
| 4031 |
} |
| 4032 |
return n |
| 4033 |
} |
| 4034 |
|
| 4035 |
func (m *ManagedFieldsEntry) Size() (n int) { |
| 4036 |
if m == nil { |
| 4037 |
return 0 |
| 4038 |
} |
| 4039 |
var l int |
| 4040 |
_ = l |
| 4041 |
l = len(m.Manager) |
| 4042 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4043 |
l = len(m.Operation) |
| 4044 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4045 |
l = len(m.APIVersion) |
| 4046 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4047 |
if m.Time != nil { |
| 4048 |
l = m.Time.Size() |
| 4049 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4050 |
} |
| 4051 |
l = len(m.FieldsType) |
| 4052 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4053 |
if m.FieldsV1 != nil { |
| 4054 |
l = m.FieldsV1.Size() |
| 4055 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4056 |
} |
| 4057 |
l = len(m.Subresource) |
| 4058 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4059 |
return n |
| 4060 |
} |
| 4061 |
|
| 4062 |
func (m *ObjectMeta) Size() (n int) { |
| 4063 |
if m == nil { |
| 4064 |
return 0 |
| 4065 |
} |
| 4066 |
var l int |
| 4067 |
_ = l |
| 4068 |
l = len(m.Name) |
| 4069 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4070 |
l = len(m.GenerateName) |
| 4071 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4072 |
l = len(m.Namespace) |
| 4073 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4074 |
l = len(m.SelfLink) |
| 4075 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4076 |
l = len(m.UID) |
| 4077 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4078 |
l = len(m.ResourceVersion) |
| 4079 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4080 |
n += 1 + sovGenerated(uint64(m.Generation)) |
| 4081 |
l = m.CreationTimestamp.Size() |
| 4082 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4083 |
if m.DeletionTimestamp != nil { |
| 4084 |
l = m.DeletionTimestamp.Size() |
| 4085 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4086 |
} |
| 4087 |
if m.DeletionGracePeriodSeconds != nil { |
| 4088 |
n += 1 + sovGenerated(uint64(*m.DeletionGracePeriodSeconds)) |
| 4089 |
} |
| 4090 |
if len(m.Labels) > 0 { |
| 4091 |
for k, v := range m.Labels { |
| 4092 |
_ = k |
| 4093 |
_ = v |
| 4094 |
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 4095 |
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) |
| 4096 |
} |
| 4097 |
} |
| 4098 |
if len(m.Annotations) > 0 { |
| 4099 |
for k, v := range m.Annotations { |
| 4100 |
_ = k |
| 4101 |
_ = v |
| 4102 |
mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v))) |
| 4103 |
n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize)) |
| 4104 |
} |
| 4105 |
} |
| 4106 |
if len(m.OwnerReferences) > 0 { |
| 4107 |
for _, e := range m.OwnerReferences { |
| 4108 |
l = e.Size() |
| 4109 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4110 |
} |
| 4111 |
} |
| 4112 |
if len(m.Finalizers) > 0 { |
| 4113 |
for _, s := range m.Finalizers { |
| 4114 |
l = len(s) |
| 4115 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4116 |
} |
| 4117 |
} |
| 4118 |
if len(m.ManagedFields) > 0 { |
| 4119 |
for _, e := range m.ManagedFields { |
| 4120 |
l = e.Size() |
| 4121 |
n += 2 + l + sovGenerated(uint64(l)) |
| 4122 |
} |
| 4123 |
} |
| 4124 |
return n |
| 4125 |
} |
| 4126 |
|
| 4127 |
func (m *OwnerReference) Size() (n int) { |
| 4128 |
if m == nil { |
| 4129 |
return 0 |
| 4130 |
} |
| 4131 |
var l int |
| 4132 |
_ = l |
| 4133 |
l = len(m.Kind) |
| 4134 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4135 |
l = len(m.Name) |
| 4136 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4137 |
l = len(m.UID) |
| 4138 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4139 |
l = len(m.APIVersion) |
| 4140 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4141 |
if m.Controller != nil { |
| 4142 |
n += 2 |
| 4143 |
} |
| 4144 |
if m.BlockOwnerDeletion != nil { |
| 4145 |
n += 2 |
| 4146 |
} |
| 4147 |
return n |
| 4148 |
} |
| 4149 |
|
| 4150 |
func (m *PartialObjectMetadata) Size() (n int) { |
| 4151 |
if m == nil { |
| 4152 |
return 0 |
| 4153 |
} |
| 4154 |
var l int |
| 4155 |
_ = l |
| 4156 |
l = m.ObjectMeta.Size() |
| 4157 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4158 |
return n |
| 4159 |
} |
| 4160 |
|
| 4161 |
func (m *PartialObjectMetadataList) Size() (n int) { |
| 4162 |
if m == nil { |
| 4163 |
return 0 |
| 4164 |
} |
| 4165 |
var l int |
| 4166 |
_ = l |
| 4167 |
l = m.ListMeta.Size() |
| 4168 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4169 |
if len(m.Items) > 0 { |
| 4170 |
for _, e := range m.Items { |
| 4171 |
l = e.Size() |
| 4172 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4173 |
} |
| 4174 |
} |
| 4175 |
return n |
| 4176 |
} |
| 4177 |
|
| 4178 |
func (m *Patch) Size() (n int) { |
| 4179 |
if m == nil { |
| 4180 |
return 0 |
| 4181 |
} |
| 4182 |
var l int |
| 4183 |
_ = l |
| 4184 |
return n |
| 4185 |
} |
| 4186 |
|
| 4187 |
func (m *PatchOptions) Size() (n int) { |
| 4188 |
if m == nil { |
| 4189 |
return 0 |
| 4190 |
} |
| 4191 |
var l int |
| 4192 |
_ = l |
| 4193 |
if len(m.DryRun) > 0 { |
| 4194 |
for _, s := range m.DryRun { |
| 4195 |
l = len(s) |
| 4196 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4197 |
} |
| 4198 |
} |
| 4199 |
if m.Force != nil { |
| 4200 |
n += 2 |
| 4201 |
} |
| 4202 |
l = len(m.FieldManager) |
| 4203 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4204 |
l = len(m.FieldValidation) |
| 4205 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4206 |
return n |
| 4207 |
} |
| 4208 |
|
| 4209 |
func (m *Preconditions) Size() (n int) { |
| 4210 |
if m == nil { |
| 4211 |
return 0 |
| 4212 |
} |
| 4213 |
var l int |
| 4214 |
_ = l |
| 4215 |
if m.UID != nil { |
| 4216 |
l = len(*m.UID) |
| 4217 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4218 |
} |
| 4219 |
if m.ResourceVersion != nil { |
| 4220 |
l = len(*m.ResourceVersion) |
| 4221 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4222 |
} |
| 4223 |
return n |
| 4224 |
} |
| 4225 |
|
| 4226 |
func (m *RootPaths) Size() (n int) { |
| 4227 |
if m == nil { |
| 4228 |
return 0 |
| 4229 |
} |
| 4230 |
var l int |
| 4231 |
_ = l |
| 4232 |
if len(m.Paths) > 0 { |
| 4233 |
for _, s := range m.Paths { |
| 4234 |
l = len(s) |
| 4235 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4236 |
} |
| 4237 |
} |
| 4238 |
return n |
| 4239 |
} |
| 4240 |
|
| 4241 |
func (m *ServerAddressByClientCIDR) Size() (n int) { |
| 4242 |
if m == nil { |
| 4243 |
return 0 |
| 4244 |
} |
| 4245 |
var l int |
| 4246 |
_ = l |
| 4247 |
l = len(m.ClientCIDR) |
| 4248 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4249 |
l = len(m.ServerAddress) |
| 4250 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4251 |
return n |
| 4252 |
} |
| 4253 |
|
| 4254 |
func (m *Status) Size() (n int) { |
| 4255 |
if m == nil { |
| 4256 |
return 0 |
| 4257 |
} |
| 4258 |
var l int |
| 4259 |
_ = l |
| 4260 |
l = m.ListMeta.Size() |
| 4261 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4262 |
l = len(m.Status) |
| 4263 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4264 |
l = len(m.Message) |
| 4265 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4266 |
l = len(m.Reason) |
| 4267 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4268 |
if m.Details != nil { |
| 4269 |
l = m.Details.Size() |
| 4270 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4271 |
} |
| 4272 |
n += 1 + sovGenerated(uint64(m.Code)) |
| 4273 |
return n |
| 4274 |
} |
| 4275 |
|
| 4276 |
func (m *StatusCause) Size() (n int) { |
| 4277 |
if m == nil { |
| 4278 |
return 0 |
| 4279 |
} |
| 4280 |
var l int |
| 4281 |
_ = l |
| 4282 |
l = len(m.Type) |
| 4283 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4284 |
l = len(m.Message) |
| 4285 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4286 |
l = len(m.Field) |
| 4287 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4288 |
return n |
| 4289 |
} |
| 4290 |
|
| 4291 |
func (m *StatusDetails) Size() (n int) { |
| 4292 |
if m == nil { |
| 4293 |
return 0 |
| 4294 |
} |
| 4295 |
var l int |
| 4296 |
_ = l |
| 4297 |
l = len(m.Name) |
| 4298 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4299 |
l = len(m.Group) |
| 4300 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4301 |
l = len(m.Kind) |
| 4302 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4303 |
if len(m.Causes) > 0 { |
| 4304 |
for _, e := range m.Causes { |
| 4305 |
l = e.Size() |
| 4306 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4307 |
} |
| 4308 |
} |
| 4309 |
n += 1 + sovGenerated(uint64(m.RetryAfterSeconds)) |
| 4310 |
l = len(m.UID) |
| 4311 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4312 |
return n |
| 4313 |
} |
| 4314 |
|
| 4315 |
func (m *TableOptions) Size() (n int) { |
| 4316 |
if m == nil { |
| 4317 |
return 0 |
| 4318 |
} |
| 4319 |
var l int |
| 4320 |
_ = l |
| 4321 |
l = len(m.IncludeObject) |
| 4322 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4323 |
return n |
| 4324 |
} |
| 4325 |
|
| 4326 |
func (m *Timestamp) Size() (n int) { |
| 4327 |
if m == nil { |
| 4328 |
return 0 |
| 4329 |
} |
| 4330 |
var l int |
| 4331 |
_ = l |
| 4332 |
n += 1 + sovGenerated(uint64(m.Seconds)) |
| 4333 |
n += 1 + sovGenerated(uint64(m.Nanos)) |
| 4334 |
return n |
| 4335 |
} |
| 4336 |
|
| 4337 |
func (m *TypeMeta) Size() (n int) { |
| 4338 |
if m == nil { |
| 4339 |
return 0 |
| 4340 |
} |
| 4341 |
var l int |
| 4342 |
_ = l |
| 4343 |
l = len(m.Kind) |
| 4344 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4345 |
l = len(m.APIVersion) |
| 4346 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4347 |
return n |
| 4348 |
} |
| 4349 |
|
| 4350 |
func (m *UpdateOptions) Size() (n int) { |
| 4351 |
if m == nil { |
| 4352 |
return 0 |
| 4353 |
} |
| 4354 |
var l int |
| 4355 |
_ = l |
| 4356 |
if len(m.DryRun) > 0 { |
| 4357 |
for _, s := range m.DryRun { |
| 4358 |
l = len(s) |
| 4359 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4360 |
} |
| 4361 |
} |
| 4362 |
l = len(m.FieldManager) |
| 4363 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4364 |
l = len(m.FieldValidation) |
| 4365 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4366 |
return n |
| 4367 |
} |
| 4368 |
|
| 4369 |
func (m Verbs) Size() (n int) { |
| 4370 |
if m == nil { |
| 4371 |
return 0 |
| 4372 |
} |
| 4373 |
var l int |
| 4374 |
_ = l |
| 4375 |
if len(m) > 0 { |
| 4376 |
for _, s := range m { |
| 4377 |
l = len(s) |
| 4378 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4379 |
} |
| 4380 |
} |
| 4381 |
return n |
| 4382 |
} |
| 4383 |
|
| 4384 |
func (m *WatchEvent) Size() (n int) { |
| 4385 |
if m == nil { |
| 4386 |
return 0 |
| 4387 |
} |
| 4388 |
var l int |
| 4389 |
_ = l |
| 4390 |
l = len(m.Type) |
| 4391 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4392 |
l = m.Object.Size() |
| 4393 |
n += 1 + l + sovGenerated(uint64(l)) |
| 4394 |
return n |
| 4395 |
} |
| 4396 |
|
| 4397 |
func sovGenerated(x uint64) (n int) { |
| 4398 |
return (math_bits.Len64(x|1) + 6) / 7 |
| 4399 |
} |
| 4400 |
func sozGenerated(x uint64) (n int) { |
| 4401 |
return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
| 4402 |
} |
| 4403 |
func (this *APIGroup) String() string { |
| 4404 |
if this == nil { |
| 4405 |
return "nil" |
| 4406 |
} |
| 4407 |
repeatedStringForVersions := "[]GroupVersionForDiscovery{" |
| 4408 |
for _, f := range this.Versions { |
| 4409 |
repeatedStringForVersions += strings.Replace(strings.Replace(f.String(), "GroupVersionForDiscovery", "GroupVersionForDiscovery", 1), `&`, ``, 1) + "," |
| 4410 |
} |
| 4411 |
repeatedStringForVersions += "}" |
| 4412 |
repeatedStringForServerAddressByClientCIDRs := "[]ServerAddressByClientCIDR{" |
| 4413 |
for _, f := range this.ServerAddressByClientCIDRs { |
| 4414 |
repeatedStringForServerAddressByClientCIDRs += strings.Replace(strings.Replace(f.String(), "ServerAddressByClientCIDR", "ServerAddressByClientCIDR", 1), `&`, ``, 1) + "," |
| 4415 |
} |
| 4416 |
repeatedStringForServerAddressByClientCIDRs += "}" |
| 4417 |
s := strings.Join([]string{`&APIGroup{`, |
| 4418 |
`Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 4419 |
`Versions:` + repeatedStringForVersions + `,`, |
| 4420 |
`PreferredVersion:` + strings.Replace(strings.Replace(this.PreferredVersion.String(), "GroupVersionForDiscovery", "GroupVersionForDiscovery", 1), `&`, ``, 1) + `,`, |
| 4421 |
`ServerAddressByClientCIDRs:` + repeatedStringForServerAddressByClientCIDRs + `,`, |
| 4422 |
`}`, |
| 4423 |
}, "") |
| 4424 |
return s |
| 4425 |
} |
| 4426 |
func (this *APIGroupList) String() string { |
| 4427 |
if this == nil { |
| 4428 |
return "nil" |
| 4429 |
} |
| 4430 |
repeatedStringForGroups := "[]APIGroup{" |
| 4431 |
for _, f := range this.Groups { |
| 4432 |
repeatedStringForGroups += strings.Replace(strings.Replace(f.String(), "APIGroup", "APIGroup", 1), `&`, ``, 1) + "," |
| 4433 |
} |
| 4434 |
repeatedStringForGroups += "}" |
| 4435 |
s := strings.Join([]string{`&APIGroupList{`, |
| 4436 |
`Groups:` + repeatedStringForGroups + `,`, |
| 4437 |
`}`, |
| 4438 |
}, "") |
| 4439 |
return s |
| 4440 |
} |
| 4441 |
func (this *APIResource) String() string { |
| 4442 |
if this == nil { |
| 4443 |
return "nil" |
| 4444 |
} |
| 4445 |
s := strings.Join([]string{`&APIResource{`, |
| 4446 |
`Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 4447 |
`Namespaced:` + fmt.Sprintf("%v", this.Namespaced) + `,`, |
| 4448 |
`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, |
| 4449 |
`Verbs:` + strings.Replace(fmt.Sprintf("%v", this.Verbs), "Verbs", "Verbs", 1) + `,`, |
| 4450 |
`ShortNames:` + fmt.Sprintf("%v", this.ShortNames) + `,`, |
| 4451 |
`SingularName:` + fmt.Sprintf("%v", this.SingularName) + `,`, |
| 4452 |
`Categories:` + fmt.Sprintf("%v", this.Categories) + `,`, |
| 4453 |
`Group:` + fmt.Sprintf("%v", this.Group) + `,`, |
| 4454 |
`Version:` + fmt.Sprintf("%v", this.Version) + `,`, |
| 4455 |
`StorageVersionHash:` + fmt.Sprintf("%v", this.StorageVersionHash) + `,`, |
| 4456 |
`}`, |
| 4457 |
}, "") |
| 4458 |
return s |
| 4459 |
} |
| 4460 |
func (this *APIResourceList) String() string { |
| 4461 |
if this == nil { |
| 4462 |
return "nil" |
| 4463 |
} |
| 4464 |
repeatedStringForAPIResources := "[]APIResource{" |
| 4465 |
for _, f := range this.APIResources { |
| 4466 |
repeatedStringForAPIResources += strings.Replace(strings.Replace(f.String(), "APIResource", "APIResource", 1), `&`, ``, 1) + "," |
| 4467 |
} |
| 4468 |
repeatedStringForAPIResources += "}" |
| 4469 |
s := strings.Join([]string{`&APIResourceList{`, |
| 4470 |
`GroupVersion:` + fmt.Sprintf("%v", this.GroupVersion) + `,`, |
| 4471 |
`APIResources:` + repeatedStringForAPIResources + `,`, |
| 4472 |
`}`, |
| 4473 |
}, "") |
| 4474 |
return s |
| 4475 |
} |
| 4476 |
func (this *ApplyOptions) String() string { |
| 4477 |
if this == nil { |
| 4478 |
return "nil" |
| 4479 |
} |
| 4480 |
s := strings.Join([]string{`&ApplyOptions{`, |
| 4481 |
`DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`, |
| 4482 |
`Force:` + fmt.Sprintf("%v", this.Force) + `,`, |
| 4483 |
`FieldManager:` + fmt.Sprintf("%v", this.FieldManager) + `,`, |
| 4484 |
`}`, |
| 4485 |
}, "") |
| 4486 |
return s |
| 4487 |
} |
| 4488 |
func (this *Condition) String() string { |
| 4489 |
if this == nil { |
| 4490 |
return "nil" |
| 4491 |
} |
| 4492 |
s := strings.Join([]string{`&Condition{`, |
| 4493 |
`Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 4494 |
`Status:` + fmt.Sprintf("%v", this.Status) + `,`, |
| 4495 |
`ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`, |
| 4496 |
`LastTransitionTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "Time", 1), `&`, ``, 1) + `,`, |
| 4497 |
`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, |
| 4498 |
`Message:` + fmt.Sprintf("%v", this.Message) + `,`, |
| 4499 |
`}`, |
| 4500 |
}, "") |
| 4501 |
return s |
| 4502 |
} |
| 4503 |
func (this *CreateOptions) String() string { |
| 4504 |
if this == nil { |
| 4505 |
return "nil" |
| 4506 |
} |
| 4507 |
s := strings.Join([]string{`&CreateOptions{`, |
| 4508 |
`DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`, |
| 4509 |
`FieldManager:` + fmt.Sprintf("%v", this.FieldManager) + `,`, |
| 4510 |
`FieldValidation:` + fmt.Sprintf("%v", this.FieldValidation) + `,`, |
| 4511 |
`}`, |
| 4512 |
}, "") |
| 4513 |
return s |
| 4514 |
} |
| 4515 |
func (this *DeleteOptions) String() string { |
| 4516 |
if this == nil { |
| 4517 |
return "nil" |
| 4518 |
} |
| 4519 |
s := strings.Join([]string{`&DeleteOptions{`, |
| 4520 |
`GracePeriodSeconds:` + valueToStringGenerated(this.GracePeriodSeconds) + `,`, |
| 4521 |
`Preconditions:` + strings.Replace(this.Preconditions.String(), "Preconditions", "Preconditions", 1) + `,`, |
| 4522 |
`OrphanDependents:` + valueToStringGenerated(this.OrphanDependents) + `,`, |
| 4523 |
`PropagationPolicy:` + valueToStringGenerated(this.PropagationPolicy) + `,`, |
| 4524 |
`DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`, |
| 4525 |
`IgnoreStoreReadErrorWithClusterBreakingPotential:` + valueToStringGenerated(this.IgnoreStoreReadErrorWithClusterBreakingPotential) + `,`, |
| 4526 |
`}`, |
| 4527 |
}, "") |
| 4528 |
return s |
| 4529 |
} |
| 4530 |
func (this *Duration) String() string { |
| 4531 |
if this == nil { |
| 4532 |
return "nil" |
| 4533 |
} |
| 4534 |
s := strings.Join([]string{`&Duration{`, |
| 4535 |
`Duration:` + fmt.Sprintf("%v", this.Duration) + `,`, |
| 4536 |
`}`, |
| 4537 |
}, "") |
| 4538 |
return s |
| 4539 |
} |
| 4540 |
func (this *FieldSelectorRequirement) String() string { |
| 4541 |
if this == nil { |
| 4542 |
return "nil" |
| 4543 |
} |
| 4544 |
s := strings.Join([]string{`&FieldSelectorRequirement{`, |
| 4545 |
`Key:` + fmt.Sprintf("%v", this.Key) + `,`, |
| 4546 |
`Operator:` + fmt.Sprintf("%v", this.Operator) + `,`, |
| 4547 |
`Values:` + fmt.Sprintf("%v", this.Values) + `,`, |
| 4548 |
`}`, |
| 4549 |
}, "") |
| 4550 |
return s |
| 4551 |
} |
| 4552 |
func (this *GetOptions) String() string { |
| 4553 |
if this == nil { |
| 4554 |
return "nil" |
| 4555 |
} |
| 4556 |
s := strings.Join([]string{`&GetOptions{`, |
| 4557 |
`ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, |
| 4558 |
`}`, |
| 4559 |
}, "") |
| 4560 |
return s |
| 4561 |
} |
| 4562 |
func (this *GroupVersionForDiscovery) String() string { |
| 4563 |
if this == nil { |
| 4564 |
return "nil" |
| 4565 |
} |
| 4566 |
s := strings.Join([]string{`&GroupVersionForDiscovery{`, |
| 4567 |
`GroupVersion:` + fmt.Sprintf("%v", this.GroupVersion) + `,`, |
| 4568 |
`Version:` + fmt.Sprintf("%v", this.Version) + `,`, |
| 4569 |
`}`, |
| 4570 |
}, "") |
| 4571 |
return s |
| 4572 |
} |
| 4573 |
func (this *LabelSelector) String() string { |
| 4574 |
if this == nil { |
| 4575 |
return "nil" |
| 4576 |
} |
| 4577 |
repeatedStringForMatchExpressions := "[]LabelSelectorRequirement{" |
| 4578 |
for _, f := range this.MatchExpressions { |
| 4579 |
repeatedStringForMatchExpressions += strings.Replace(strings.Replace(f.String(), "LabelSelectorRequirement", "LabelSelectorRequirement", 1), `&`, ``, 1) + "," |
| 4580 |
} |
| 4581 |
repeatedStringForMatchExpressions += "}" |
| 4582 |
keysForMatchLabels := make([]string, 0, len(this.MatchLabels)) |
| 4583 |
for k := range this.MatchLabels { |
| 4584 |
keysForMatchLabels = append(keysForMatchLabels, k) |
| 4585 |
} |
| 4586 |
github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels) |
| 4587 |
mapStringForMatchLabels := "map[string]string{" |
| 4588 |
for _, k := range keysForMatchLabels { |
| 4589 |
mapStringForMatchLabels += fmt.Sprintf("%v: %v,", k, this.MatchLabels[k]) |
| 4590 |
} |
| 4591 |
mapStringForMatchLabels += "}" |
| 4592 |
s := strings.Join([]string{`&LabelSelector{`, |
| 4593 |
`MatchLabels:` + mapStringForMatchLabels + `,`, |
| 4594 |
`MatchExpressions:` + repeatedStringForMatchExpressions + `,`, |
| 4595 |
`}`, |
| 4596 |
}, "") |
| 4597 |
return s |
| 4598 |
} |
| 4599 |
func (this *LabelSelectorRequirement) String() string { |
| 4600 |
if this == nil { |
| 4601 |
return "nil" |
| 4602 |
} |
| 4603 |
s := strings.Join([]string{`&LabelSelectorRequirement{`, |
| 4604 |
`Key:` + fmt.Sprintf("%v", this.Key) + `,`, |
| 4605 |
`Operator:` + fmt.Sprintf("%v", this.Operator) + `,`, |
| 4606 |
`Values:` + fmt.Sprintf("%v", this.Values) + `,`, |
| 4607 |
`}`, |
| 4608 |
}, "") |
| 4609 |
return s |
| 4610 |
} |
| 4611 |
func (this *List) String() string { |
| 4612 |
if this == nil { |
| 4613 |
return "nil" |
| 4614 |
} |
| 4615 |
repeatedStringForItems := "[]RawExtension{" |
| 4616 |
for _, f := range this.Items { |
| 4617 |
repeatedStringForItems += fmt.Sprintf("%v", f) + "," |
| 4618 |
} |
| 4619 |
repeatedStringForItems += "}" |
| 4620 |
s := strings.Join([]string{`&List{`, |
| 4621 |
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "ListMeta", 1), `&`, ``, 1) + `,`, |
| 4622 |
`Items:` + repeatedStringForItems + `,`, |
| 4623 |
`}`, |
| 4624 |
}, "") |
| 4625 |
return s |
| 4626 |
} |
| 4627 |
func (this *ListMeta) String() string { |
| 4628 |
if this == nil { |
| 4629 |
return "nil" |
| 4630 |
} |
| 4631 |
s := strings.Join([]string{`&ListMeta{`, |
| 4632 |
`SelfLink:` + fmt.Sprintf("%v", this.SelfLink) + `,`, |
| 4633 |
`ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, |
| 4634 |
`Continue:` + fmt.Sprintf("%v", this.Continue) + `,`, |
| 4635 |
`RemainingItemCount:` + valueToStringGenerated(this.RemainingItemCount) + `,`, |
| 4636 |
`}`, |
| 4637 |
}, "") |
| 4638 |
return s |
| 4639 |
} |
| 4640 |
func (this *ListOptions) String() string { |
| 4641 |
if this == nil { |
| 4642 |
return "nil" |
| 4643 |
} |
| 4644 |
s := strings.Join([]string{`&ListOptions{`, |
| 4645 |
`LabelSelector:` + fmt.Sprintf("%v", this.LabelSelector) + `,`, |
| 4646 |
`FieldSelector:` + fmt.Sprintf("%v", this.FieldSelector) + `,`, |
| 4647 |
`Watch:` + fmt.Sprintf("%v", this.Watch) + `,`, |
| 4648 |
`ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, |
| 4649 |
`TimeoutSeconds:` + valueToStringGenerated(this.TimeoutSeconds) + `,`, |
| 4650 |
`Limit:` + fmt.Sprintf("%v", this.Limit) + `,`, |
| 4651 |
`Continue:` + fmt.Sprintf("%v", this.Continue) + `,`, |
| 4652 |
`AllowWatchBookmarks:` + fmt.Sprintf("%v", this.AllowWatchBookmarks) + `,`, |
| 4653 |
`ResourceVersionMatch:` + fmt.Sprintf("%v", this.ResourceVersionMatch) + `,`, |
| 4654 |
`SendInitialEvents:` + valueToStringGenerated(this.SendInitialEvents) + `,`, |
| 4655 |
`}`, |
| 4656 |
}, "") |
| 4657 |
return s |
| 4658 |
} |
| 4659 |
func (this *ManagedFieldsEntry) String() string { |
| 4660 |
if this == nil { |
| 4661 |
return "nil" |
| 4662 |
} |
| 4663 |
s := strings.Join([]string{`&ManagedFieldsEntry{`, |
| 4664 |
`Manager:` + fmt.Sprintf("%v", this.Manager) + `,`, |
| 4665 |
`Operation:` + fmt.Sprintf("%v", this.Operation) + `,`, |
| 4666 |
`APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`, |
| 4667 |
`Time:` + strings.Replace(fmt.Sprintf("%v", this.Time), "Time", "Time", 1) + `,`, |
| 4668 |
`FieldsType:` + fmt.Sprintf("%v", this.FieldsType) + `,`, |
| 4669 |
`FieldsV1:` + strings.Replace(fmt.Sprintf("%v", this.FieldsV1), "FieldsV1", "FieldsV1", 1) + `,`, |
| 4670 |
`Subresource:` + fmt.Sprintf("%v", this.Subresource) + `,`, |
| 4671 |
`}`, |
| 4672 |
}, "") |
| 4673 |
return s |
| 4674 |
} |
| 4675 |
func (this *ObjectMeta) String() string { |
| 4676 |
if this == nil { |
| 4677 |
return "nil" |
| 4678 |
} |
| 4679 |
repeatedStringForOwnerReferences := "[]OwnerReference{" |
| 4680 |
for _, f := range this.OwnerReferences { |
| 4681 |
repeatedStringForOwnerReferences += strings.Replace(strings.Replace(f.String(), "OwnerReference", "OwnerReference", 1), `&`, ``, 1) + "," |
| 4682 |
} |
| 4683 |
repeatedStringForOwnerReferences += "}" |
| 4684 |
repeatedStringForManagedFields := "[]ManagedFieldsEntry{" |
| 4685 |
for _, f := range this.ManagedFields { |
| 4686 |
repeatedStringForManagedFields += strings.Replace(strings.Replace(f.String(), "ManagedFieldsEntry", "ManagedFieldsEntry", 1), `&`, ``, 1) + "," |
| 4687 |
} |
| 4688 |
repeatedStringForManagedFields += "}" |
| 4689 |
keysForLabels := make([]string, 0, len(this.Labels)) |
| 4690 |
for k := range this.Labels { |
| 4691 |
keysForLabels = append(keysForLabels, k) |
| 4692 |
} |
| 4693 |
github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) |
| 4694 |
mapStringForLabels := "map[string]string{" |
| 4695 |
for _, k := range keysForLabels { |
| 4696 |
mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) |
| 4697 |
} |
| 4698 |
mapStringForLabels += "}" |
| 4699 |
keysForAnnotations := make([]string, 0, len(this.Annotations)) |
| 4700 |
for k := range this.Annotations { |
| 4701 |
keysForAnnotations = append(keysForAnnotations, k) |
| 4702 |
} |
| 4703 |
github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations) |
| 4704 |
mapStringForAnnotations := "map[string]string{" |
| 4705 |
for _, k := range keysForAnnotations { |
| 4706 |
mapStringForAnnotations += fmt.Sprintf("%v: %v,", k, this.Annotations[k]) |
| 4707 |
} |
| 4708 |
mapStringForAnnotations += "}" |
| 4709 |
s := strings.Join([]string{`&ObjectMeta{`, |
| 4710 |
`Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 4711 |
`GenerateName:` + fmt.Sprintf("%v", this.GenerateName) + `,`, |
| 4712 |
`Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, |
| 4713 |
`SelfLink:` + fmt.Sprintf("%v", this.SelfLink) + `,`, |
| 4714 |
`UID:` + fmt.Sprintf("%v", this.UID) + `,`, |
| 4715 |
`ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, |
| 4716 |
`Generation:` + fmt.Sprintf("%v", this.Generation) + `,`, |
| 4717 |
`CreationTimestamp:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.CreationTimestamp), "Time", "Time", 1), `&`, ``, 1) + `,`, |
| 4718 |
`DeletionTimestamp:` + strings.Replace(fmt.Sprintf("%v", this.DeletionTimestamp), "Time", "Time", 1) + `,`, |
| 4719 |
`DeletionGracePeriodSeconds:` + valueToStringGenerated(this.DeletionGracePeriodSeconds) + `,`, |
| 4720 |
`Labels:` + mapStringForLabels + `,`, |
| 4721 |
`Annotations:` + mapStringForAnnotations + `,`, |
| 4722 |
`OwnerReferences:` + repeatedStringForOwnerReferences + `,`, |
| 4723 |
`Finalizers:` + fmt.Sprintf("%v", this.Finalizers) + `,`, |
| 4724 |
`ManagedFields:` + repeatedStringForManagedFields + `,`, |
| 4725 |
`}`, |
| 4726 |
}, "") |
| 4727 |
return s |
| 4728 |
} |
| 4729 |
func (this *OwnerReference) String() string { |
| 4730 |
if this == nil { |
| 4731 |
return "nil" |
| 4732 |
} |
| 4733 |
s := strings.Join([]string{`&OwnerReference{`, |
| 4734 |
`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, |
| 4735 |
`Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 4736 |
`UID:` + fmt.Sprintf("%v", this.UID) + `,`, |
| 4737 |
`APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`, |
| 4738 |
`Controller:` + valueToStringGenerated(this.Controller) + `,`, |
| 4739 |
`BlockOwnerDeletion:` + valueToStringGenerated(this.BlockOwnerDeletion) + `,`, |
| 4740 |
`}`, |
| 4741 |
}, "") |
| 4742 |
return s |
| 4743 |
} |
| 4744 |
func (this *PartialObjectMetadata) String() string { |
| 4745 |
if this == nil { |
| 4746 |
return "nil" |
| 4747 |
} |
| 4748 |
s := strings.Join([]string{`&PartialObjectMetadata{`, |
| 4749 |
`ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 4750 |
`}`, |
| 4751 |
}, "") |
| 4752 |
return s |
| 4753 |
} |
| 4754 |
func (this *PartialObjectMetadataList) String() string { |
| 4755 |
if this == nil { |
| 4756 |
return "nil" |
| 4757 |
} |
| 4758 |
repeatedStringForItems := "[]PartialObjectMetadata{" |
| 4759 |
for _, f := range this.Items { |
| 4760 |
repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "PartialObjectMetadata", "PartialObjectMetadata", 1), `&`, ``, 1) + "," |
| 4761 |
} |
| 4762 |
repeatedStringForItems += "}" |
| 4763 |
s := strings.Join([]string{`&PartialObjectMetadataList{`, |
| 4764 |
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "ListMeta", 1), `&`, ``, 1) + `,`, |
| 4765 |
`Items:` + repeatedStringForItems + `,`, |
| 4766 |
`}`, |
| 4767 |
}, "") |
| 4768 |
return s |
| 4769 |
} |
| 4770 |
func (this *Patch) String() string { |
| 4771 |
if this == nil { |
| 4772 |
return "nil" |
| 4773 |
} |
| 4774 |
s := strings.Join([]string{`&Patch{`, |
| 4775 |
`}`, |
| 4776 |
}, "") |
| 4777 |
return s |
| 4778 |
} |
| 4779 |
func (this *PatchOptions) String() string { |
| 4780 |
if this == nil { |
| 4781 |
return "nil" |
| 4782 |
} |
| 4783 |
s := strings.Join([]string{`&PatchOptions{`, |
| 4784 |
`DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`, |
| 4785 |
`Force:` + valueToStringGenerated(this.Force) + `,`, |
| 4786 |
`FieldManager:` + fmt.Sprintf("%v", this.FieldManager) + `,`, |
| 4787 |
`FieldValidation:` + fmt.Sprintf("%v", this.FieldValidation) + `,`, |
| 4788 |
`}`, |
| 4789 |
}, "") |
| 4790 |
return s |
| 4791 |
} |
| 4792 |
func (this *Preconditions) String() string { |
| 4793 |
if this == nil { |
| 4794 |
return "nil" |
| 4795 |
} |
| 4796 |
s := strings.Join([]string{`&Preconditions{`, |
| 4797 |
`UID:` + valueToStringGenerated(this.UID) + `,`, |
| 4798 |
`ResourceVersion:` + valueToStringGenerated(this.ResourceVersion) + `,`, |
| 4799 |
`}`, |
| 4800 |
}, "") |
| 4801 |
return s |
| 4802 |
} |
| 4803 |
func (this *RootPaths) String() string { |
| 4804 |
if this == nil { |
| 4805 |
return "nil" |
| 4806 |
} |
| 4807 |
s := strings.Join([]string{`&RootPaths{`, |
| 4808 |
`Paths:` + fmt.Sprintf("%v", this.Paths) + `,`, |
| 4809 |
`}`, |
| 4810 |
}, "") |
| 4811 |
return s |
| 4812 |
} |
| 4813 |
func (this *ServerAddressByClientCIDR) String() string { |
| 4814 |
if this == nil { |
| 4815 |
return "nil" |
| 4816 |
} |
| 4817 |
s := strings.Join([]string{`&ServerAddressByClientCIDR{`, |
| 4818 |
`ClientCIDR:` + fmt.Sprintf("%v", this.ClientCIDR) + `,`, |
| 4819 |
`ServerAddress:` + fmt.Sprintf("%v", this.ServerAddress) + `,`, |
| 4820 |
`}`, |
| 4821 |
}, "") |
| 4822 |
return s |
| 4823 |
} |
| 4824 |
func (this *Status) String() string { |
| 4825 |
if this == nil { |
| 4826 |
return "nil" |
| 4827 |
} |
| 4828 |
s := strings.Join([]string{`&Status{`, |
| 4829 |
`ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "ListMeta", 1), `&`, ``, 1) + `,`, |
| 4830 |
`Status:` + fmt.Sprintf("%v", this.Status) + `,`, |
| 4831 |
`Message:` + fmt.Sprintf("%v", this.Message) + `,`, |
| 4832 |
`Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, |
| 4833 |
`Details:` + strings.Replace(this.Details.String(), "StatusDetails", "StatusDetails", 1) + `,`, |
| 4834 |
`Code:` + fmt.Sprintf("%v", this.Code) + `,`, |
| 4835 |
`}`, |
| 4836 |
}, "") |
| 4837 |
return s |
| 4838 |
} |
| 4839 |
func (this *StatusCause) String() string { |
| 4840 |
if this == nil { |
| 4841 |
return "nil" |
| 4842 |
} |
| 4843 |
s := strings.Join([]string{`&StatusCause{`, |
| 4844 |
`Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 4845 |
`Message:` + fmt.Sprintf("%v", this.Message) + `,`, |
| 4846 |
`Field:` + fmt.Sprintf("%v", this.Field) + `,`, |
| 4847 |
`}`, |
| 4848 |
}, "") |
| 4849 |
return s |
| 4850 |
} |
| 4851 |
func (this *StatusDetails) String() string { |
| 4852 |
if this == nil { |
| 4853 |
return "nil" |
| 4854 |
} |
| 4855 |
repeatedStringForCauses := "[]StatusCause{" |
| 4856 |
for _, f := range this.Causes { |
| 4857 |
repeatedStringForCauses += strings.Replace(strings.Replace(f.String(), "StatusCause", "StatusCause", 1), `&`, ``, 1) + "," |
| 4858 |
} |
| 4859 |
repeatedStringForCauses += "}" |
| 4860 |
s := strings.Join([]string{`&StatusDetails{`, |
| 4861 |
`Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 4862 |
`Group:` + fmt.Sprintf("%v", this.Group) + `,`, |
| 4863 |
`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, |
| 4864 |
`Causes:` + repeatedStringForCauses + `,`, |
| 4865 |
`RetryAfterSeconds:` + fmt.Sprintf("%v", this.RetryAfterSeconds) + `,`, |
| 4866 |
`UID:` + fmt.Sprintf("%v", this.UID) + `,`, |
| 4867 |
`}`, |
| 4868 |
}, "") |
| 4869 |
return s |
| 4870 |
} |
| 4871 |
func (this *TableOptions) String() string { |
| 4872 |
if this == nil { |
| 4873 |
return "nil" |
| 4874 |
} |
| 4875 |
s := strings.Join([]string{`&TableOptions{`, |
| 4876 |
`IncludeObject:` + fmt.Sprintf("%v", this.IncludeObject) + `,`, |
| 4877 |
`}`, |
| 4878 |
}, "") |
| 4879 |
return s |
| 4880 |
} |
| 4881 |
func (this *Timestamp) String() string { |
| 4882 |
if this == nil { |
| 4883 |
return "nil" |
| 4884 |
} |
| 4885 |
s := strings.Join([]string{`&Timestamp{`, |
| 4886 |
`Seconds:` + fmt.Sprintf("%v", this.Seconds) + `,`, |
| 4887 |
`Nanos:` + fmt.Sprintf("%v", this.Nanos) + `,`, |
| 4888 |
`}`, |
| 4889 |
}, "") |
| 4890 |
return s |
| 4891 |
} |
| 4892 |
func (this *TypeMeta) String() string { |
| 4893 |
if this == nil { |
| 4894 |
return "nil" |
| 4895 |
} |
| 4896 |
s := strings.Join([]string{`&TypeMeta{`, |
| 4897 |
`Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, |
| 4898 |
`APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`, |
| 4899 |
`}`, |
| 4900 |
}, "") |
| 4901 |
return s |
| 4902 |
} |
| 4903 |
func (this *UpdateOptions) String() string { |
| 4904 |
if this == nil { |
| 4905 |
return "nil" |
| 4906 |
} |
| 4907 |
s := strings.Join([]string{`&UpdateOptions{`, |
| 4908 |
`DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`, |
| 4909 |
`FieldManager:` + fmt.Sprintf("%v", this.FieldManager) + `,`, |
| 4910 |
`FieldValidation:` + fmt.Sprintf("%v", this.FieldValidation) + `,`, |
| 4911 |
`}`, |
| 4912 |
}, "") |
| 4913 |
return s |
| 4914 |
} |
| 4915 |
func (this *WatchEvent) String() string { |
| 4916 |
if this == nil { |
| 4917 |
return "nil" |
| 4918 |
} |
| 4919 |
s := strings.Join([]string{`&WatchEvent{`, |
| 4920 |
`Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| 4921 |
`Object:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Object), "RawExtension", "runtime.RawExtension", 1), `&`, ``, 1) + `,`, |
| 4922 |
`}`, |
| 4923 |
}, "") |
| 4924 |
return s |
| 4925 |
} |
| 4926 |
func valueToStringGenerated(v interface{}) string { |
| 4927 |
rv := reflect.ValueOf(v) |
| 4928 |
if rv.IsNil() { |
| 4929 |
return "nil" |
| 4930 |
} |
| 4931 |
pv := reflect.Indirect(rv).Interface() |
| 4932 |
return fmt.Sprintf("*%v", pv) |
| 4933 |
} |
| 4934 |
func (m *APIGroup) Unmarshal(dAtA []byte) error { |
| 4935 |
l := len(dAtA) |
| 4936 |
iNdEx := 0 |
| 4937 |
for iNdEx < l { |
| 4938 |
preIndex := iNdEx |
| 4939 |
var wire uint64 |
| 4940 |
for shift := uint(0); ; shift += 7 { |
| 4941 |
if shift >= 64 { |
| 4942 |
return ErrIntOverflowGenerated |
| 4943 |
} |
| 4944 |
if iNdEx >= l { |
| 4945 |
return io.ErrUnexpectedEOF |
| 4946 |
} |
| 4947 |
b := dAtA[iNdEx] |
| 4948 |
iNdEx++ |
| 4949 |
wire |= uint64(b&0x7F) << shift |
| 4950 |
if b < 0x80 { |
| 4951 |
break |
| 4952 |
} |
| 4953 |
} |
| 4954 |
fieldNum := int32(wire >> 3) |
| 4955 |
wireType := int(wire & 0x7) |
| 4956 |
if wireType == 4 { |
| 4957 |
return fmt.Errorf("proto: APIGroup: wiretype end group for non-group") |
| 4958 |
} |
| 4959 |
if fieldNum <= 0 { |
| 4960 |
return fmt.Errorf("proto: APIGroup: illegal tag %d (wire type %d)", fieldNum, wire) |
| 4961 |
} |
| 4962 |
switch fieldNum { |
| 4963 |
case 1: |
| 4964 |
if wireType != 2 { |
| 4965 |
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 4966 |
} |
| 4967 |
var stringLen uint64 |
| 4968 |
for shift := uint(0); ; shift += 7 { |
| 4969 |
if shift >= 64 { |
| 4970 |
return ErrIntOverflowGenerated |
| 4971 |
} |
| 4972 |
if iNdEx >= l { |
| 4973 |
return io.ErrUnexpectedEOF |
| 4974 |
} |
| 4975 |
b := dAtA[iNdEx] |
| 4976 |
iNdEx++ |
| 4977 |
stringLen |= uint64(b&0x7F) << shift |
| 4978 |
if b < 0x80 { |
| 4979 |
break |
| 4980 |
} |
| 4981 |
} |
| 4982 |
intStringLen := int(stringLen) |
| 4983 |
if intStringLen < 0 { |
| 4984 |
return ErrInvalidLengthGenerated |
| 4985 |
} |
| 4986 |
postIndex := iNdEx + intStringLen |
| 4987 |
if postIndex < 0 { |
| 4988 |
return ErrInvalidLengthGenerated |
| 4989 |
} |
| 4990 |
if postIndex > l { |
| 4991 |
return io.ErrUnexpectedEOF |
| 4992 |
} |
| 4993 |
m.Name = string(dAtA[iNdEx:postIndex]) |
| 4994 |
iNdEx = postIndex |
| 4995 |
case 2: |
| 4996 |
if wireType != 2 { |
| 4997 |
return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType) |
| 4998 |
} |
| 4999 |
var msglen int |
| 5000 |
for shift := uint(0); ; shift += 7 { |
| 5001 |
if shift >= 64 { |
| 5002 |
return ErrIntOverflowGenerated |
| 5003 |
} |
| 5004 |
if iNdEx >= l { |
| 5005 |
return io.ErrUnexpectedEOF |
| 5006 |
} |
| 5007 |
b := dAtA[iNdEx] |
| 5008 |
iNdEx++ |
| 5009 |
msglen |= int(b&0x7F) << shift |
| 5010 |
if b < 0x80 { |
| 5011 |
break |
| 5012 |
} |
| 5013 |
} |
| 5014 |
if msglen < 0 { |
| 5015 |
return ErrInvalidLengthGenerated |
| 5016 |
} |
| 5017 |
postIndex := iNdEx + msglen |
| 5018 |
if postIndex < 0 { |
| 5019 |
return ErrInvalidLengthGenerated |
| 5020 |
} |
| 5021 |
if postIndex > l { |
| 5022 |
return io.ErrUnexpectedEOF |
| 5023 |
} |
| 5024 |
m.Versions = append(m.Versions, GroupVersionForDiscovery{}) |
| 5025 |
if err := m.Versions[len(m.Versions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5026 |
return err |
| 5027 |
} |
| 5028 |
iNdEx = postIndex |
| 5029 |
case 3: |
| 5030 |
if wireType != 2 { |
| 5031 |
return fmt.Errorf("proto: wrong wireType = %d for field PreferredVersion", wireType) |
| 5032 |
} |
| 5033 |
var msglen int |
| 5034 |
for shift := uint(0); ; shift += 7 { |
| 5035 |
if shift >= 64 { |
| 5036 |
return ErrIntOverflowGenerated |
| 5037 |
} |
| 5038 |
if iNdEx >= l { |
| 5039 |
return io.ErrUnexpectedEOF |
| 5040 |
} |
| 5041 |
b := dAtA[iNdEx] |
| 5042 |
iNdEx++ |
| 5043 |
msglen |= int(b&0x7F) << shift |
| 5044 |
if b < 0x80 { |
| 5045 |
break |
| 5046 |
} |
| 5047 |
} |
| 5048 |
if msglen < 0 { |
| 5049 |
return ErrInvalidLengthGenerated |
| 5050 |
} |
| 5051 |
postIndex := iNdEx + msglen |
| 5052 |
if postIndex < 0 { |
| 5053 |
return ErrInvalidLengthGenerated |
| 5054 |
} |
| 5055 |
if postIndex > l { |
| 5056 |
return io.ErrUnexpectedEOF |
| 5057 |
} |
| 5058 |
if err := m.PreferredVersion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5059 |
return err |
| 5060 |
} |
| 5061 |
iNdEx = postIndex |
| 5062 |
case 4: |
| 5063 |
if wireType != 2 { |
| 5064 |
return fmt.Errorf("proto: wrong wireType = %d for field ServerAddressByClientCIDRs", wireType) |
| 5065 |
} |
| 5066 |
var msglen int |
| 5067 |
for shift := uint(0); ; shift += 7 { |
| 5068 |
if shift >= 64 { |
| 5069 |
return ErrIntOverflowGenerated |
| 5070 |
} |
| 5071 |
if iNdEx >= l { |
| 5072 |
return io.ErrUnexpectedEOF |
| 5073 |
} |
| 5074 |
b := dAtA[iNdEx] |
| 5075 |
iNdEx++ |
| 5076 |
msglen |= int(b&0x7F) << shift |
| 5077 |
if b < 0x80 { |
| 5078 |
break |
| 5079 |
} |
| 5080 |
} |
| 5081 |
if msglen < 0 { |
| 5082 |
return ErrInvalidLengthGenerated |
| 5083 |
} |
| 5084 |
postIndex := iNdEx + msglen |
| 5085 |
if postIndex < 0 { |
| 5086 |
return ErrInvalidLengthGenerated |
| 5087 |
} |
| 5088 |
if postIndex > l { |
| 5089 |
return io.ErrUnexpectedEOF |
| 5090 |
} |
| 5091 |
m.ServerAddressByClientCIDRs = append(m.ServerAddressByClientCIDRs, ServerAddressByClientCIDR{}) |
| 5092 |
if err := m.ServerAddressByClientCIDRs[len(m.ServerAddressByClientCIDRs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5093 |
return err |
| 5094 |
} |
| 5095 |
iNdEx = postIndex |
| 5096 |
default: |
| 5097 |
iNdEx = preIndex |
| 5098 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5099 |
if err != nil { |
| 5100 |
return err |
| 5101 |
} |
| 5102 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 5103 |
return ErrInvalidLengthGenerated |
| 5104 |
} |
| 5105 |
if (iNdEx + skippy) > l { |
| 5106 |
return io.ErrUnexpectedEOF |
| 5107 |
} |
| 5108 |
iNdEx += skippy |
| 5109 |
} |
| 5110 |
} |
| 5111 |
|
| 5112 |
if iNdEx > l { |
| 5113 |
return io.ErrUnexpectedEOF |
| 5114 |
} |
| 5115 |
return nil |
| 5116 |
} |
| 5117 |
func (m *APIGroupList) Unmarshal(dAtA []byte) error { |
| 5118 |
l := len(dAtA) |
| 5119 |
iNdEx := 0 |
| 5120 |
for iNdEx < l { |
| 5121 |
preIndex := iNdEx |
| 5122 |
var wire uint64 |
| 5123 |
for shift := uint(0); ; shift += 7 { |
| 5124 |
if shift >= 64 { |
| 5125 |
return ErrIntOverflowGenerated |
| 5126 |
} |
| 5127 |
if iNdEx >= l { |
| 5128 |
return io.ErrUnexpectedEOF |
| 5129 |
} |
| 5130 |
b := dAtA[iNdEx] |
| 5131 |
iNdEx++ |
| 5132 |
wire |= uint64(b&0x7F) << shift |
| 5133 |
if b < 0x80 { |
| 5134 |
break |
| 5135 |
} |
| 5136 |
} |
| 5137 |
fieldNum := int32(wire >> 3) |
| 5138 |
wireType := int(wire & 0x7) |
| 5139 |
if wireType == 4 { |
| 5140 |
return fmt.Errorf("proto: APIGroupList: wiretype end group for non-group") |
| 5141 |
} |
| 5142 |
if fieldNum <= 0 { |
| 5143 |
return fmt.Errorf("proto: APIGroupList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5144 |
} |
| 5145 |
switch fieldNum { |
| 5146 |
case 1: |
| 5147 |
if wireType != 2 { |
| 5148 |
return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType) |
| 5149 |
} |
| 5150 |
var msglen int |
| 5151 |
for shift := uint(0); ; shift += 7 { |
| 5152 |
if shift >= 64 { |
| 5153 |
return ErrIntOverflowGenerated |
| 5154 |
} |
| 5155 |
if iNdEx >= l { |
| 5156 |
return io.ErrUnexpectedEOF |
| 5157 |
} |
| 5158 |
b := dAtA[iNdEx] |
| 5159 |
iNdEx++ |
| 5160 |
msglen |= int(b&0x7F) << shift |
| 5161 |
if b < 0x80 { |
| 5162 |
break |
| 5163 |
} |
| 5164 |
} |
| 5165 |
if msglen < 0 { |
| 5166 |
return ErrInvalidLengthGenerated |
| 5167 |
} |
| 5168 |
postIndex := iNdEx + msglen |
| 5169 |
if postIndex < 0 { |
| 5170 |
return ErrInvalidLengthGenerated |
| 5171 |
} |
| 5172 |
if postIndex > l { |
| 5173 |
return io.ErrUnexpectedEOF |
| 5174 |
} |
| 5175 |
m.Groups = append(m.Groups, APIGroup{}) |
| 5176 |
if err := m.Groups[len(m.Groups)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5177 |
return err |
| 5178 |
} |
| 5179 |
iNdEx = postIndex |
| 5180 |
default: |
| 5181 |
iNdEx = preIndex |
| 5182 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5183 |
if err != nil { |
| 5184 |
return err |
| 5185 |
} |
| 5186 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 5187 |
return ErrInvalidLengthGenerated |
| 5188 |
} |
| 5189 |
if (iNdEx + skippy) > l { |
| 5190 |
return io.ErrUnexpectedEOF |
| 5191 |
} |
| 5192 |
iNdEx += skippy |
| 5193 |
} |
| 5194 |
} |
| 5195 |
|
| 5196 |
if iNdEx > l { |
| 5197 |
return io.ErrUnexpectedEOF |
| 5198 |
} |
| 5199 |
return nil |
| 5200 |
} |
| 5201 |
func (m *APIResource) Unmarshal(dAtA []byte) error { |
| 5202 |
l := len(dAtA) |
| 5203 |
iNdEx := 0 |
| 5204 |
for iNdEx < l { |
| 5205 |
preIndex := iNdEx |
| 5206 |
var wire uint64 |
| 5207 |
for shift := uint(0); ; shift += 7 { |
| 5208 |
if shift >= 64 { |
| 5209 |
return ErrIntOverflowGenerated |
| 5210 |
} |
| 5211 |
if iNdEx >= l { |
| 5212 |
return io.ErrUnexpectedEOF |
| 5213 |
} |
| 5214 |
b := dAtA[iNdEx] |
| 5215 |
iNdEx++ |
| 5216 |
wire |= uint64(b&0x7F) << shift |
| 5217 |
if b < 0x80 { |
| 5218 |
break |
| 5219 |
} |
| 5220 |
} |
| 5221 |
fieldNum := int32(wire >> 3) |
| 5222 |
wireType := int(wire & 0x7) |
| 5223 |
if wireType == 4 { |
| 5224 |
return fmt.Errorf("proto: APIResource: wiretype end group for non-group") |
| 5225 |
} |
| 5226 |
if fieldNum <= 0 { |
| 5227 |
return fmt.Errorf("proto: APIResource: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5228 |
} |
| 5229 |
switch fieldNum { |
| 5230 |
case 1: |
| 5231 |
if wireType != 2 { |
| 5232 |
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 5233 |
} |
| 5234 |
var stringLen uint64 |
| 5235 |
for shift := uint(0); ; shift += 7 { |
| 5236 |
if shift >= 64 { |
| 5237 |
return ErrIntOverflowGenerated |
| 5238 |
} |
| 5239 |
if iNdEx >= l { |
| 5240 |
return io.ErrUnexpectedEOF |
| 5241 |
} |
| 5242 |
b := dAtA[iNdEx] |
| 5243 |
iNdEx++ |
| 5244 |
stringLen |= uint64(b&0x7F) << shift |
| 5245 |
if b < 0x80 { |
| 5246 |
break |
| 5247 |
} |
| 5248 |
} |
| 5249 |
intStringLen := int(stringLen) |
| 5250 |
if intStringLen < 0 { |
| 5251 |
return ErrInvalidLengthGenerated |
| 5252 |
} |
| 5253 |
postIndex := iNdEx + intStringLen |
| 5254 |
if postIndex < 0 { |
| 5255 |
return ErrInvalidLengthGenerated |
| 5256 |
} |
| 5257 |
if postIndex > l { |
| 5258 |
return io.ErrUnexpectedEOF |
| 5259 |
} |
| 5260 |
m.Name = string(dAtA[iNdEx:postIndex]) |
| 5261 |
iNdEx = postIndex |
| 5262 |
case 2: |
| 5263 |
if wireType != 0 { |
| 5264 |
return fmt.Errorf("proto: wrong wireType = %d for field Namespaced", wireType) |
| 5265 |
} |
| 5266 |
var v int |
| 5267 |
for shift := uint(0); ; shift += 7 { |
| 5268 |
if shift >= 64 { |
| 5269 |
return ErrIntOverflowGenerated |
| 5270 |
} |
| 5271 |
if iNdEx >= l { |
| 5272 |
return io.ErrUnexpectedEOF |
| 5273 |
} |
| 5274 |
b := dAtA[iNdEx] |
| 5275 |
iNdEx++ |
| 5276 |
v |= int(b&0x7F) << shift |
| 5277 |
if b < 0x80 { |
| 5278 |
break |
| 5279 |
} |
| 5280 |
} |
| 5281 |
m.Namespaced = bool(v != 0) |
| 5282 |
case 3: |
| 5283 |
if wireType != 2 { |
| 5284 |
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) |
| 5285 |
} |
| 5286 |
var stringLen uint64 |
| 5287 |
for shift := uint(0); ; shift += 7 { |
| 5288 |
if shift >= 64 { |
| 5289 |
return ErrIntOverflowGenerated |
| 5290 |
} |
| 5291 |
if iNdEx >= l { |
| 5292 |
return io.ErrUnexpectedEOF |
| 5293 |
} |
| 5294 |
b := dAtA[iNdEx] |
| 5295 |
iNdEx++ |
| 5296 |
stringLen |= uint64(b&0x7F) << shift |
| 5297 |
if b < 0x80 { |
| 5298 |
break |
| 5299 |
} |
| 5300 |
} |
| 5301 |
intStringLen := int(stringLen) |
| 5302 |
if intStringLen < 0 { |
| 5303 |
return ErrInvalidLengthGenerated |
| 5304 |
} |
| 5305 |
postIndex := iNdEx + intStringLen |
| 5306 |
if postIndex < 0 { |
| 5307 |
return ErrInvalidLengthGenerated |
| 5308 |
} |
| 5309 |
if postIndex > l { |
| 5310 |
return io.ErrUnexpectedEOF |
| 5311 |
} |
| 5312 |
m.Kind = string(dAtA[iNdEx:postIndex]) |
| 5313 |
iNdEx = postIndex |
| 5314 |
case 4: |
| 5315 |
if wireType != 2 { |
| 5316 |
return fmt.Errorf("proto: wrong wireType = %d for field Verbs", wireType) |
| 5317 |
} |
| 5318 |
var msglen int |
| 5319 |
for shift := uint(0); ; shift += 7 { |
| 5320 |
if shift >= 64 { |
| 5321 |
return ErrIntOverflowGenerated |
| 5322 |
} |
| 5323 |
if iNdEx >= l { |
| 5324 |
return io.ErrUnexpectedEOF |
| 5325 |
} |
| 5326 |
b := dAtA[iNdEx] |
| 5327 |
iNdEx++ |
| 5328 |
msglen |= int(b&0x7F) << shift |
| 5329 |
if b < 0x80 { |
| 5330 |
break |
| 5331 |
} |
| 5332 |
} |
| 5333 |
if msglen < 0 { |
| 5334 |
return ErrInvalidLengthGenerated |
| 5335 |
} |
| 5336 |
postIndex := iNdEx + msglen |
| 5337 |
if postIndex < 0 { |
| 5338 |
return ErrInvalidLengthGenerated |
| 5339 |
} |
| 5340 |
if postIndex > l { |
| 5341 |
return io.ErrUnexpectedEOF |
| 5342 |
} |
| 5343 |
if m.Verbs == nil { |
| 5344 |
m.Verbs = Verbs{} |
| 5345 |
} |
| 5346 |
if err := m.Verbs.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5347 |
return err |
| 5348 |
} |
| 5349 |
iNdEx = postIndex |
| 5350 |
case 5: |
| 5351 |
if wireType != 2 { |
| 5352 |
return fmt.Errorf("proto: wrong wireType = %d for field ShortNames", wireType) |
| 5353 |
} |
| 5354 |
var stringLen uint64 |
| 5355 |
for shift := uint(0); ; shift += 7 { |
| 5356 |
if shift >= 64 { |
| 5357 |
return ErrIntOverflowGenerated |
| 5358 |
} |
| 5359 |
if iNdEx >= l { |
| 5360 |
return io.ErrUnexpectedEOF |
| 5361 |
} |
| 5362 |
b := dAtA[iNdEx] |
| 5363 |
iNdEx++ |
| 5364 |
stringLen |= uint64(b&0x7F) << shift |
| 5365 |
if b < 0x80 { |
| 5366 |
break |
| 5367 |
} |
| 5368 |
} |
| 5369 |
intStringLen := int(stringLen) |
| 5370 |
if intStringLen < 0 { |
| 5371 |
return ErrInvalidLengthGenerated |
| 5372 |
} |
| 5373 |
postIndex := iNdEx + intStringLen |
| 5374 |
if postIndex < 0 { |
| 5375 |
return ErrInvalidLengthGenerated |
| 5376 |
} |
| 5377 |
if postIndex > l { |
| 5378 |
return io.ErrUnexpectedEOF |
| 5379 |
} |
| 5380 |
m.ShortNames = append(m.ShortNames, string(dAtA[iNdEx:postIndex])) |
| 5381 |
iNdEx = postIndex |
| 5382 |
case 6: |
| 5383 |
if wireType != 2 { |
| 5384 |
return fmt.Errorf("proto: wrong wireType = %d for field SingularName", wireType) |
| 5385 |
} |
| 5386 |
var stringLen uint64 |
| 5387 |
for shift := uint(0); ; shift += 7 { |
| 5388 |
if shift >= 64 { |
| 5389 |
return ErrIntOverflowGenerated |
| 5390 |
} |
| 5391 |
if iNdEx >= l { |
| 5392 |
return io.ErrUnexpectedEOF |
| 5393 |
} |
| 5394 |
b := dAtA[iNdEx] |
| 5395 |
iNdEx++ |
| 5396 |
stringLen |= uint64(b&0x7F) << shift |
| 5397 |
if b < 0x80 { |
| 5398 |
break |
| 5399 |
} |
| 5400 |
} |
| 5401 |
intStringLen := int(stringLen) |
| 5402 |
if intStringLen < 0 { |
| 5403 |
return ErrInvalidLengthGenerated |
| 5404 |
} |
| 5405 |
postIndex := iNdEx + intStringLen |
| 5406 |
if postIndex < 0 { |
| 5407 |
return ErrInvalidLengthGenerated |
| 5408 |
} |
| 5409 |
if postIndex > l { |
| 5410 |
return io.ErrUnexpectedEOF |
| 5411 |
} |
| 5412 |
m.SingularName = string(dAtA[iNdEx:postIndex]) |
| 5413 |
iNdEx = postIndex |
| 5414 |
case 7: |
| 5415 |
if wireType != 2 { |
| 5416 |
return fmt.Errorf("proto: wrong wireType = %d for field Categories", wireType) |
| 5417 |
} |
| 5418 |
var stringLen uint64 |
| 5419 |
for shift := uint(0); ; shift += 7 { |
| 5420 |
if shift >= 64 { |
| 5421 |
return ErrIntOverflowGenerated |
| 5422 |
} |
| 5423 |
if iNdEx >= l { |
| 5424 |
return io.ErrUnexpectedEOF |
| 5425 |
} |
| 5426 |
b := dAtA[iNdEx] |
| 5427 |
iNdEx++ |
| 5428 |
stringLen |= uint64(b&0x7F) << shift |
| 5429 |
if b < 0x80 { |
| 5430 |
break |
| 5431 |
} |
| 5432 |
} |
| 5433 |
intStringLen := int(stringLen) |
| 5434 |
if intStringLen < 0 { |
| 5435 |
return ErrInvalidLengthGenerated |
| 5436 |
} |
| 5437 |
postIndex := iNdEx + intStringLen |
| 5438 |
if postIndex < 0 { |
| 5439 |
return ErrInvalidLengthGenerated |
| 5440 |
} |
| 5441 |
if postIndex > l { |
| 5442 |
return io.ErrUnexpectedEOF |
| 5443 |
} |
| 5444 |
m.Categories = append(m.Categories, string(dAtA[iNdEx:postIndex])) |
| 5445 |
iNdEx = postIndex |
| 5446 |
case 8: |
| 5447 |
if wireType != 2 { |
| 5448 |
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) |
| 5449 |
} |
| 5450 |
var stringLen uint64 |
| 5451 |
for shift := uint(0); ; shift += 7 { |
| 5452 |
if shift >= 64 { |
| 5453 |
return ErrIntOverflowGenerated |
| 5454 |
} |
| 5455 |
if iNdEx >= l { |
| 5456 |
return io.ErrUnexpectedEOF |
| 5457 |
} |
| 5458 |
b := dAtA[iNdEx] |
| 5459 |
iNdEx++ |
| 5460 |
stringLen |= uint64(b&0x7F) << shift |
| 5461 |
if b < 0x80 { |
| 5462 |
break |
| 5463 |
} |
| 5464 |
} |
| 5465 |
intStringLen := int(stringLen) |
| 5466 |
if intStringLen < 0 { |
| 5467 |
return ErrInvalidLengthGenerated |
| 5468 |
} |
| 5469 |
postIndex := iNdEx + intStringLen |
| 5470 |
if postIndex < 0 { |
| 5471 |
return ErrInvalidLengthGenerated |
| 5472 |
} |
| 5473 |
if postIndex > l { |
| 5474 |
return io.ErrUnexpectedEOF |
| 5475 |
} |
| 5476 |
m.Group = string(dAtA[iNdEx:postIndex]) |
| 5477 |
iNdEx = postIndex |
| 5478 |
case 9: |
| 5479 |
if wireType != 2 { |
| 5480 |
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) |
| 5481 |
} |
| 5482 |
var stringLen uint64 |
| 5483 |
for shift := uint(0); ; shift += 7 { |
| 5484 |
if shift >= 64 { |
| 5485 |
return ErrIntOverflowGenerated |
| 5486 |
} |
| 5487 |
if iNdEx >= l { |
| 5488 |
return io.ErrUnexpectedEOF |
| 5489 |
} |
| 5490 |
b := dAtA[iNdEx] |
| 5491 |
iNdEx++ |
| 5492 |
stringLen |= uint64(b&0x7F) << shift |
| 5493 |
if b < 0x80 { |
| 5494 |
break |
| 5495 |
} |
| 5496 |
} |
| 5497 |
intStringLen := int(stringLen) |
| 5498 |
if intStringLen < 0 { |
| 5499 |
return ErrInvalidLengthGenerated |
| 5500 |
} |
| 5501 |
postIndex := iNdEx + intStringLen |
| 5502 |
if postIndex < 0 { |
| 5503 |
return ErrInvalidLengthGenerated |
| 5504 |
} |
| 5505 |
if postIndex > l { |
| 5506 |
return io.ErrUnexpectedEOF |
| 5507 |
} |
| 5508 |
m.Version = string(dAtA[iNdEx:postIndex]) |
| 5509 |
iNdEx = postIndex |
| 5510 |
case 10: |
| 5511 |
if wireType != 2 { |
| 5512 |
return fmt.Errorf("proto: wrong wireType = %d for field StorageVersionHash", wireType) |
| 5513 |
} |
| 5514 |
var stringLen uint64 |
| 5515 |
for shift := uint(0); ; shift += 7 { |
| 5516 |
if shift >= 64 { |
| 5517 |
return ErrIntOverflowGenerated |
| 5518 |
} |
| 5519 |
if iNdEx >= l { |
| 5520 |
return io.ErrUnexpectedEOF |
| 5521 |
} |
| 5522 |
b := dAtA[iNdEx] |
| 5523 |
iNdEx++ |
| 5524 |
stringLen |= uint64(b&0x7F) << shift |
| 5525 |
if b < 0x80 { |
| 5526 |
break |
| 5527 |
} |
| 5528 |
} |
| 5529 |
intStringLen := int(stringLen) |
| 5530 |
if intStringLen < 0 { |
| 5531 |
return ErrInvalidLengthGenerated |
| 5532 |
} |
| 5533 |
postIndex := iNdEx + intStringLen |
| 5534 |
if postIndex < 0 { |
| 5535 |
return ErrInvalidLengthGenerated |
| 5536 |
} |
| 5537 |
if postIndex > l { |
| 5538 |
return io.ErrUnexpectedEOF |
| 5539 |
} |
| 5540 |
m.StorageVersionHash = string(dAtA[iNdEx:postIndex]) |
| 5541 |
iNdEx = postIndex |
| 5542 |
default: |
| 5543 |
iNdEx = preIndex |
| 5544 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5545 |
if err != nil { |
| 5546 |
return err |
| 5547 |
} |
| 5548 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 5549 |
return ErrInvalidLengthGenerated |
| 5550 |
} |
| 5551 |
if (iNdEx + skippy) > l { |
| 5552 |
return io.ErrUnexpectedEOF |
| 5553 |
} |
| 5554 |
iNdEx += skippy |
| 5555 |
} |
| 5556 |
} |
| 5557 |
|
| 5558 |
if iNdEx > l { |
| 5559 |
return io.ErrUnexpectedEOF |
| 5560 |
} |
| 5561 |
return nil |
| 5562 |
} |
| 5563 |
func (m *APIResourceList) Unmarshal(dAtA []byte) error { |
| 5564 |
l := len(dAtA) |
| 5565 |
iNdEx := 0 |
| 5566 |
for iNdEx < l { |
| 5567 |
preIndex := iNdEx |
| 5568 |
var wire uint64 |
| 5569 |
for shift := uint(0); ; shift += 7 { |
| 5570 |
if shift >= 64 { |
| 5571 |
return ErrIntOverflowGenerated |
| 5572 |
} |
| 5573 |
if iNdEx >= l { |
| 5574 |
return io.ErrUnexpectedEOF |
| 5575 |
} |
| 5576 |
b := dAtA[iNdEx] |
| 5577 |
iNdEx++ |
| 5578 |
wire |= uint64(b&0x7F) << shift |
| 5579 |
if b < 0x80 { |
| 5580 |
break |
| 5581 |
} |
| 5582 |
} |
| 5583 |
fieldNum := int32(wire >> 3) |
| 5584 |
wireType := int(wire & 0x7) |
| 5585 |
if wireType == 4 { |
| 5586 |
return fmt.Errorf("proto: APIResourceList: wiretype end group for non-group") |
| 5587 |
} |
| 5588 |
if fieldNum <= 0 { |
| 5589 |
return fmt.Errorf("proto: APIResourceList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5590 |
} |
| 5591 |
switch fieldNum { |
| 5592 |
case 1: |
| 5593 |
if wireType != 2 { |
| 5594 |
return fmt.Errorf("proto: wrong wireType = %d for field GroupVersion", wireType) |
| 5595 |
} |
| 5596 |
var stringLen uint64 |
| 5597 |
for shift := uint(0); ; shift += 7 { |
| 5598 |
if shift >= 64 { |
| 5599 |
return ErrIntOverflowGenerated |
| 5600 |
} |
| 5601 |
if iNdEx >= l { |
| 5602 |
return io.ErrUnexpectedEOF |
| 5603 |
} |
| 5604 |
b := dAtA[iNdEx] |
| 5605 |
iNdEx++ |
| 5606 |
stringLen |= uint64(b&0x7F) << shift |
| 5607 |
if b < 0x80 { |
| 5608 |
break |
| 5609 |
} |
| 5610 |
} |
| 5611 |
intStringLen := int(stringLen) |
| 5612 |
if intStringLen < 0 { |
| 5613 |
return ErrInvalidLengthGenerated |
| 5614 |
} |
| 5615 |
postIndex := iNdEx + intStringLen |
| 5616 |
if postIndex < 0 { |
| 5617 |
return ErrInvalidLengthGenerated |
| 5618 |
} |
| 5619 |
if postIndex > l { |
| 5620 |
return io.ErrUnexpectedEOF |
| 5621 |
} |
| 5622 |
m.GroupVersion = string(dAtA[iNdEx:postIndex]) |
| 5623 |
iNdEx = postIndex |
| 5624 |
case 2: |
| 5625 |
if wireType != 2 { |
| 5626 |
return fmt.Errorf("proto: wrong wireType = %d for field APIResources", wireType) |
| 5627 |
} |
| 5628 |
var msglen int |
| 5629 |
for shift := uint(0); ; shift += 7 { |
| 5630 |
if shift >= 64 { |
| 5631 |
return ErrIntOverflowGenerated |
| 5632 |
} |
| 5633 |
if iNdEx >= l { |
| 5634 |
return io.ErrUnexpectedEOF |
| 5635 |
} |
| 5636 |
b := dAtA[iNdEx] |
| 5637 |
iNdEx++ |
| 5638 |
msglen |= int(b&0x7F) << shift |
| 5639 |
if b < 0x80 { |
| 5640 |
break |
| 5641 |
} |
| 5642 |
} |
| 5643 |
if msglen < 0 { |
| 5644 |
return ErrInvalidLengthGenerated |
| 5645 |
} |
| 5646 |
postIndex := iNdEx + msglen |
| 5647 |
if postIndex < 0 { |
| 5648 |
return ErrInvalidLengthGenerated |
| 5649 |
} |
| 5650 |
if postIndex > l { |
| 5651 |
return io.ErrUnexpectedEOF |
| 5652 |
} |
| 5653 |
m.APIResources = append(m.APIResources, APIResource{}) |
| 5654 |
if err := m.APIResources[len(m.APIResources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5655 |
return err |
| 5656 |
} |
| 5657 |
iNdEx = postIndex |
| 5658 |
default: |
| 5659 |
iNdEx = preIndex |
| 5660 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5661 |
if err != nil { |
| 5662 |
return err |
| 5663 |
} |
| 5664 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 5665 |
return ErrInvalidLengthGenerated |
| 5666 |
} |
| 5667 |
if (iNdEx + skippy) > l { |
| 5668 |
return io.ErrUnexpectedEOF |
| 5669 |
} |
| 5670 |
iNdEx += skippy |
| 5671 |
} |
| 5672 |
} |
| 5673 |
|
| 5674 |
if iNdEx > l { |
| 5675 |
return io.ErrUnexpectedEOF |
| 5676 |
} |
| 5677 |
return nil |
| 5678 |
} |
| 5679 |
func (m *APIVersions) Unmarshal(dAtA []byte) error { |
| 5680 |
l := len(dAtA) |
| 5681 |
iNdEx := 0 |
| 5682 |
for iNdEx < l { |
| 5683 |
preIndex := iNdEx |
| 5684 |
var wire uint64 |
| 5685 |
for shift := uint(0); ; shift += 7 { |
| 5686 |
if shift >= 64 { |
| 5687 |
return ErrIntOverflowGenerated |
| 5688 |
} |
| 5689 |
if iNdEx >= l { |
| 5690 |
return io.ErrUnexpectedEOF |
| 5691 |
} |
| 5692 |
b := dAtA[iNdEx] |
| 5693 |
iNdEx++ |
| 5694 |
wire |= uint64(b&0x7F) << shift |
| 5695 |
if b < 0x80 { |
| 5696 |
break |
| 5697 |
} |
| 5698 |
} |
| 5699 |
fieldNum := int32(wire >> 3) |
| 5700 |
wireType := int(wire & 0x7) |
| 5701 |
if wireType == 4 { |
| 5702 |
return fmt.Errorf("proto: APIVersions: wiretype end group for non-group") |
| 5703 |
} |
| 5704 |
if fieldNum <= 0 { |
| 5705 |
return fmt.Errorf("proto: APIVersions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5706 |
} |
| 5707 |
switch fieldNum { |
| 5708 |
case 1: |
| 5709 |
if wireType != 2 { |
| 5710 |
return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType) |
| 5711 |
} |
| 5712 |
var stringLen uint64 |
| 5713 |
for shift := uint(0); ; shift += 7 { |
| 5714 |
if shift >= 64 { |
| 5715 |
return ErrIntOverflowGenerated |
| 5716 |
} |
| 5717 |
if iNdEx >= l { |
| 5718 |
return io.ErrUnexpectedEOF |
| 5719 |
} |
| 5720 |
b := dAtA[iNdEx] |
| 5721 |
iNdEx++ |
| 5722 |
stringLen |= uint64(b&0x7F) << shift |
| 5723 |
if b < 0x80 { |
| 5724 |
break |
| 5725 |
} |
| 5726 |
} |
| 5727 |
intStringLen := int(stringLen) |
| 5728 |
if intStringLen < 0 { |
| 5729 |
return ErrInvalidLengthGenerated |
| 5730 |
} |
| 5731 |
postIndex := iNdEx + intStringLen |
| 5732 |
if postIndex < 0 { |
| 5733 |
return ErrInvalidLengthGenerated |
| 5734 |
} |
| 5735 |
if postIndex > l { |
| 5736 |
return io.ErrUnexpectedEOF |
| 5737 |
} |
| 5738 |
m.Versions = append(m.Versions, string(dAtA[iNdEx:postIndex])) |
| 5739 |
iNdEx = postIndex |
| 5740 |
case 2: |
| 5741 |
if wireType != 2 { |
| 5742 |
return fmt.Errorf("proto: wrong wireType = %d for field ServerAddressByClientCIDRs", wireType) |
| 5743 |
} |
| 5744 |
var msglen int |
| 5745 |
for shift := uint(0); ; shift += 7 { |
| 5746 |
if shift >= 64 { |
| 5747 |
return ErrIntOverflowGenerated |
| 5748 |
} |
| 5749 |
if iNdEx >= l { |
| 5750 |
return io.ErrUnexpectedEOF |
| 5751 |
} |
| 5752 |
b := dAtA[iNdEx] |
| 5753 |
iNdEx++ |
| 5754 |
msglen |= int(b&0x7F) << shift |
| 5755 |
if b < 0x80 { |
| 5756 |
break |
| 5757 |
} |
| 5758 |
} |
| 5759 |
if msglen < 0 { |
| 5760 |
return ErrInvalidLengthGenerated |
| 5761 |
} |
| 5762 |
postIndex := iNdEx + msglen |
| 5763 |
if postIndex < 0 { |
| 5764 |
return ErrInvalidLengthGenerated |
| 5765 |
} |
| 5766 |
if postIndex > l { |
| 5767 |
return io.ErrUnexpectedEOF |
| 5768 |
} |
| 5769 |
m.ServerAddressByClientCIDRs = append(m.ServerAddressByClientCIDRs, ServerAddressByClientCIDR{}) |
| 5770 |
if err := m.ServerAddressByClientCIDRs[len(m.ServerAddressByClientCIDRs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 5771 |
return err |
| 5772 |
} |
| 5773 |
iNdEx = postIndex |
| 5774 |
default: |
| 5775 |
iNdEx = preIndex |
| 5776 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5777 |
if err != nil { |
| 5778 |
return err |
| 5779 |
} |
| 5780 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 5781 |
return ErrInvalidLengthGenerated |
| 5782 |
} |
| 5783 |
if (iNdEx + skippy) > l { |
| 5784 |
return io.ErrUnexpectedEOF |
| 5785 |
} |
| 5786 |
iNdEx += skippy |
| 5787 |
} |
| 5788 |
} |
| 5789 |
|
| 5790 |
if iNdEx > l { |
| 5791 |
return io.ErrUnexpectedEOF |
| 5792 |
} |
| 5793 |
return nil |
| 5794 |
} |
| 5795 |
func (m *ApplyOptions) Unmarshal(dAtA []byte) error { |
| 5796 |
l := len(dAtA) |
| 5797 |
iNdEx := 0 |
| 5798 |
for iNdEx < l { |
| 5799 |
preIndex := iNdEx |
| 5800 |
var wire uint64 |
| 5801 |
for shift := uint(0); ; shift += 7 { |
| 5802 |
if shift >= 64 { |
| 5803 |
return ErrIntOverflowGenerated |
| 5804 |
} |
| 5805 |
if iNdEx >= l { |
| 5806 |
return io.ErrUnexpectedEOF |
| 5807 |
} |
| 5808 |
b := dAtA[iNdEx] |
| 5809 |
iNdEx++ |
| 5810 |
wire |= uint64(b&0x7F) << shift |
| 5811 |
if b < 0x80 { |
| 5812 |
break |
| 5813 |
} |
| 5814 |
} |
| 5815 |
fieldNum := int32(wire >> 3) |
| 5816 |
wireType := int(wire & 0x7) |
| 5817 |
if wireType == 4 { |
| 5818 |
return fmt.Errorf("proto: ApplyOptions: wiretype end group for non-group") |
| 5819 |
} |
| 5820 |
if fieldNum <= 0 { |
| 5821 |
return fmt.Errorf("proto: ApplyOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5822 |
} |
| 5823 |
switch fieldNum { |
| 5824 |
case 1: |
| 5825 |
if wireType != 2 { |
| 5826 |
return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) |
| 5827 |
} |
| 5828 |
var stringLen uint64 |
| 5829 |
for shift := uint(0); ; shift += 7 { |
| 5830 |
if shift >= 64 { |
| 5831 |
return ErrIntOverflowGenerated |
| 5832 |
} |
| 5833 |
if iNdEx >= l { |
| 5834 |
return io.ErrUnexpectedEOF |
| 5835 |
} |
| 5836 |
b := dAtA[iNdEx] |
| 5837 |
iNdEx++ |
| 5838 |
stringLen |= uint64(b&0x7F) << shift |
| 5839 |
if b < 0x80 { |
| 5840 |
break |
| 5841 |
} |
| 5842 |
} |
| 5843 |
intStringLen := int(stringLen) |
| 5844 |
if intStringLen < 0 { |
| 5845 |
return ErrInvalidLengthGenerated |
| 5846 |
} |
| 5847 |
postIndex := iNdEx + intStringLen |
| 5848 |
if postIndex < 0 { |
| 5849 |
return ErrInvalidLengthGenerated |
| 5850 |
} |
| 5851 |
if postIndex > l { |
| 5852 |
return io.ErrUnexpectedEOF |
| 5853 |
} |
| 5854 |
m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex])) |
| 5855 |
iNdEx = postIndex |
| 5856 |
case 2: |
| 5857 |
if wireType != 0 { |
| 5858 |
return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) |
| 5859 |
} |
| 5860 |
var v int |
| 5861 |
for shift := uint(0); ; shift += 7 { |
| 5862 |
if shift >= 64 { |
| 5863 |
return ErrIntOverflowGenerated |
| 5864 |
} |
| 5865 |
if iNdEx >= l { |
| 5866 |
return io.ErrUnexpectedEOF |
| 5867 |
} |
| 5868 |
b := dAtA[iNdEx] |
| 5869 |
iNdEx++ |
| 5870 |
v |= int(b&0x7F) << shift |
| 5871 |
if b < 0x80 { |
| 5872 |
break |
| 5873 |
} |
| 5874 |
} |
| 5875 |
m.Force = bool(v != 0) |
| 5876 |
case 3: |
| 5877 |
if wireType != 2 { |
| 5878 |
return fmt.Errorf("proto: wrong wireType = %d for field FieldManager", wireType) |
| 5879 |
} |
| 5880 |
var stringLen uint64 |
| 5881 |
for shift := uint(0); ; shift += 7 { |
| 5882 |
if shift >= 64 { |
| 5883 |
return ErrIntOverflowGenerated |
| 5884 |
} |
| 5885 |
if iNdEx >= l { |
| 5886 |
return io.ErrUnexpectedEOF |
| 5887 |
} |
| 5888 |
b := dAtA[iNdEx] |
| 5889 |
iNdEx++ |
| 5890 |
stringLen |= uint64(b&0x7F) << shift |
| 5891 |
if b < 0x80 { |
| 5892 |
break |
| 5893 |
} |
| 5894 |
} |
| 5895 |
intStringLen := int(stringLen) |
| 5896 |
if intStringLen < 0 { |
| 5897 |
return ErrInvalidLengthGenerated |
| 5898 |
} |
| 5899 |
postIndex := iNdEx + intStringLen |
| 5900 |
if postIndex < 0 { |
| 5901 |
return ErrInvalidLengthGenerated |
| 5902 |
} |
| 5903 |
if postIndex > l { |
| 5904 |
return io.ErrUnexpectedEOF |
| 5905 |
} |
| 5906 |
m.FieldManager = string(dAtA[iNdEx:postIndex]) |
| 5907 |
iNdEx = postIndex |
| 5908 |
default: |
| 5909 |
iNdEx = preIndex |
| 5910 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 5911 |
if err != nil { |
| 5912 |
return err |
| 5913 |
} |
| 5914 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 5915 |
return ErrInvalidLengthGenerated |
| 5916 |
} |
| 5917 |
if (iNdEx + skippy) > l { |
| 5918 |
return io.ErrUnexpectedEOF |
| 5919 |
} |
| 5920 |
iNdEx += skippy |
| 5921 |
} |
| 5922 |
} |
| 5923 |
|
| 5924 |
if iNdEx > l { |
| 5925 |
return io.ErrUnexpectedEOF |
| 5926 |
} |
| 5927 |
return nil |
| 5928 |
} |
| 5929 |
func (m *Condition) Unmarshal(dAtA []byte) error { |
| 5930 |
l := len(dAtA) |
| 5931 |
iNdEx := 0 |
| 5932 |
for iNdEx < l { |
| 5933 |
preIndex := iNdEx |
| 5934 |
var wire uint64 |
| 5935 |
for shift := uint(0); ; shift += 7 { |
| 5936 |
if shift >= 64 { |
| 5937 |
return ErrIntOverflowGenerated |
| 5938 |
} |
| 5939 |
if iNdEx >= l { |
| 5940 |
return io.ErrUnexpectedEOF |
| 5941 |
} |
| 5942 |
b := dAtA[iNdEx] |
| 5943 |
iNdEx++ |
| 5944 |
wire |= uint64(b&0x7F) << shift |
| 5945 |
if b < 0x80 { |
| 5946 |
break |
| 5947 |
} |
| 5948 |
} |
| 5949 |
fieldNum := int32(wire >> 3) |
| 5950 |
wireType := int(wire & 0x7) |
| 5951 |
if wireType == 4 { |
| 5952 |
return fmt.Errorf("proto: Condition: wiretype end group for non-group") |
| 5953 |
} |
| 5954 |
if fieldNum <= 0 { |
| 5955 |
return fmt.Errorf("proto: Condition: illegal tag %d (wire type %d)", fieldNum, wire) |
| 5956 |
} |
| 5957 |
switch fieldNum { |
| 5958 |
case 1: |
| 5959 |
if wireType != 2 { |
| 5960 |
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 5961 |
} |
| 5962 |
var stringLen uint64 |
| 5963 |
for shift := uint(0); ; shift += 7 { |
| 5964 |
if shift >= 64 { |
| 5965 |
return ErrIntOverflowGenerated |
| 5966 |
} |
| 5967 |
if iNdEx >= l { |
| 5968 |
return io.ErrUnexpectedEOF |
| 5969 |
} |
| 5970 |
b := dAtA[iNdEx] |
| 5971 |
iNdEx++ |
| 5972 |
stringLen |= uint64(b&0x7F) << shift |
| 5973 |
if b < 0x80 { |
| 5974 |
break |
| 5975 |
} |
| 5976 |
} |
| 5977 |
intStringLen := int(stringLen) |
| 5978 |
if intStringLen < 0 { |
| 5979 |
return ErrInvalidLengthGenerated |
| 5980 |
} |
| 5981 |
postIndex := iNdEx + intStringLen |
| 5982 |
if postIndex < 0 { |
| 5983 |
return ErrInvalidLengthGenerated |
| 5984 |
} |
| 5985 |
if postIndex > l { |
| 5986 |
return io.ErrUnexpectedEOF |
| 5987 |
} |
| 5988 |
m.Type = string(dAtA[iNdEx:postIndex]) |
| 5989 |
iNdEx = postIndex |
| 5990 |
case 2: |
| 5991 |
if wireType != 2 { |
| 5992 |
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 5993 |
} |
| 5994 |
var stringLen uint64 |
| 5995 |
for shift := uint(0); ; shift += 7 { |
| 5996 |
if shift >= 64 { |
| 5997 |
return ErrIntOverflowGenerated |
| 5998 |
} |
| 5999 |
if iNdEx >= l { |
| 6000 |
return io.ErrUnexpectedEOF |
| 6001 |
} |
| 6002 |
b := dAtA[iNdEx] |
| 6003 |
iNdEx++ |
| 6004 |
stringLen |= uint64(b&0x7F) << shift |
| 6005 |
if b < 0x80 { |
| 6006 |
break |
| 6007 |
} |
| 6008 |
} |
| 6009 |
intStringLen := int(stringLen) |
| 6010 |
if intStringLen < 0 { |
| 6011 |
return ErrInvalidLengthGenerated |
| 6012 |
} |
| 6013 |
postIndex := iNdEx + intStringLen |
| 6014 |
if postIndex < 0 { |
| 6015 |
return ErrInvalidLengthGenerated |
| 6016 |
} |
| 6017 |
if postIndex > l { |
| 6018 |
return io.ErrUnexpectedEOF |
| 6019 |
} |
| 6020 |
m.Status = ConditionStatus(dAtA[iNdEx:postIndex]) |
| 6021 |
iNdEx = postIndex |
| 6022 |
case 3: |
| 6023 |
if wireType != 0 { |
| 6024 |
return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType) |
| 6025 |
} |
| 6026 |
m.ObservedGeneration = 0 |
| 6027 |
for shift := uint(0); ; shift += 7 { |
| 6028 |
if shift >= 64 { |
| 6029 |
return ErrIntOverflowGenerated |
| 6030 |
} |
| 6031 |
if iNdEx >= l { |
| 6032 |
return io.ErrUnexpectedEOF |
| 6033 |
} |
| 6034 |
b := dAtA[iNdEx] |
| 6035 |
iNdEx++ |
| 6036 |
m.ObservedGeneration |= int64(b&0x7F) << shift |
| 6037 |
if b < 0x80 { |
| 6038 |
break |
| 6039 |
} |
| 6040 |
} |
| 6041 |
case 4: |
| 6042 |
if wireType != 2 { |
| 6043 |
return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) |
| 6044 |
} |
| 6045 |
var msglen int |
| 6046 |
for shift := uint(0); ; shift += 7 { |
| 6047 |
if shift >= 64 { |
| 6048 |
return ErrIntOverflowGenerated |
| 6049 |
} |
| 6050 |
if iNdEx >= l { |
| 6051 |
return io.ErrUnexpectedEOF |
| 6052 |
} |
| 6053 |
b := dAtA[iNdEx] |
| 6054 |
iNdEx++ |
| 6055 |
msglen |= int(b&0x7F) << shift |
| 6056 |
if b < 0x80 { |
| 6057 |
break |
| 6058 |
} |
| 6059 |
} |
| 6060 |
if msglen < 0 { |
| 6061 |
return ErrInvalidLengthGenerated |
| 6062 |
} |
| 6063 |
postIndex := iNdEx + msglen |
| 6064 |
if postIndex < 0 { |
| 6065 |
return ErrInvalidLengthGenerated |
| 6066 |
} |
| 6067 |
if postIndex > l { |
| 6068 |
return io.ErrUnexpectedEOF |
| 6069 |
} |
| 6070 |
if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6071 |
return err |
| 6072 |
} |
| 6073 |
iNdEx = postIndex |
| 6074 |
case 5: |
| 6075 |
if wireType != 2 { |
| 6076 |
return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) |
| 6077 |
} |
| 6078 |
var stringLen uint64 |
| 6079 |
for shift := uint(0); ; shift += 7 { |
| 6080 |
if shift >= 64 { |
| 6081 |
return ErrIntOverflowGenerated |
| 6082 |
} |
| 6083 |
if iNdEx >= l { |
| 6084 |
return io.ErrUnexpectedEOF |
| 6085 |
} |
| 6086 |
b := dAtA[iNdEx] |
| 6087 |
iNdEx++ |
| 6088 |
stringLen |= uint64(b&0x7F) << shift |
| 6089 |
if b < 0x80 { |
| 6090 |
break |
| 6091 |
} |
| 6092 |
} |
| 6093 |
intStringLen := int(stringLen) |
| 6094 |
if intStringLen < 0 { |
| 6095 |
return ErrInvalidLengthGenerated |
| 6096 |
} |
| 6097 |
postIndex := iNdEx + intStringLen |
| 6098 |
if postIndex < 0 { |
| 6099 |
return ErrInvalidLengthGenerated |
| 6100 |
} |
| 6101 |
if postIndex > l { |
| 6102 |
return io.ErrUnexpectedEOF |
| 6103 |
} |
| 6104 |
m.Reason = string(dAtA[iNdEx:postIndex]) |
| 6105 |
iNdEx = postIndex |
| 6106 |
case 6: |
| 6107 |
if wireType != 2 { |
| 6108 |
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) |
| 6109 |
} |
| 6110 |
var stringLen uint64 |
| 6111 |
for shift := uint(0); ; shift += 7 { |
| 6112 |
if shift >= 64 { |
| 6113 |
return ErrIntOverflowGenerated |
| 6114 |
} |
| 6115 |
if iNdEx >= l { |
| 6116 |
return io.ErrUnexpectedEOF |
| 6117 |
} |
| 6118 |
b := dAtA[iNdEx] |
| 6119 |
iNdEx++ |
| 6120 |
stringLen |= uint64(b&0x7F) << shift |
| 6121 |
if b < 0x80 { |
| 6122 |
break |
| 6123 |
} |
| 6124 |
} |
| 6125 |
intStringLen := int(stringLen) |
| 6126 |
if intStringLen < 0 { |
| 6127 |
return ErrInvalidLengthGenerated |
| 6128 |
} |
| 6129 |
postIndex := iNdEx + intStringLen |
| 6130 |
if postIndex < 0 { |
| 6131 |
return ErrInvalidLengthGenerated |
| 6132 |
} |
| 6133 |
if postIndex > l { |
| 6134 |
return io.ErrUnexpectedEOF |
| 6135 |
} |
| 6136 |
m.Message = string(dAtA[iNdEx:postIndex]) |
| 6137 |
iNdEx = postIndex |
| 6138 |
default: |
| 6139 |
iNdEx = preIndex |
| 6140 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6141 |
if err != nil { |
| 6142 |
return err |
| 6143 |
} |
| 6144 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 6145 |
return ErrInvalidLengthGenerated |
| 6146 |
} |
| 6147 |
if (iNdEx + skippy) > l { |
| 6148 |
return io.ErrUnexpectedEOF |
| 6149 |
} |
| 6150 |
iNdEx += skippy |
| 6151 |
} |
| 6152 |
} |
| 6153 |
|
| 6154 |
if iNdEx > l { |
| 6155 |
return io.ErrUnexpectedEOF |
| 6156 |
} |
| 6157 |
return nil |
| 6158 |
} |
| 6159 |
func (m *CreateOptions) Unmarshal(dAtA []byte) error { |
| 6160 |
l := len(dAtA) |
| 6161 |
iNdEx := 0 |
| 6162 |
for iNdEx < l { |
| 6163 |
preIndex := iNdEx |
| 6164 |
var wire uint64 |
| 6165 |
for shift := uint(0); ; shift += 7 { |
| 6166 |
if shift >= 64 { |
| 6167 |
return ErrIntOverflowGenerated |
| 6168 |
} |
| 6169 |
if iNdEx >= l { |
| 6170 |
return io.ErrUnexpectedEOF |
| 6171 |
} |
| 6172 |
b := dAtA[iNdEx] |
| 6173 |
iNdEx++ |
| 6174 |
wire |= uint64(b&0x7F) << shift |
| 6175 |
if b < 0x80 { |
| 6176 |
break |
| 6177 |
} |
| 6178 |
} |
| 6179 |
fieldNum := int32(wire >> 3) |
| 6180 |
wireType := int(wire & 0x7) |
| 6181 |
if wireType == 4 { |
| 6182 |
return fmt.Errorf("proto: CreateOptions: wiretype end group for non-group") |
| 6183 |
} |
| 6184 |
if fieldNum <= 0 { |
| 6185 |
return fmt.Errorf("proto: CreateOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6186 |
} |
| 6187 |
switch fieldNum { |
| 6188 |
case 1: |
| 6189 |
if wireType != 2 { |
| 6190 |
return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) |
| 6191 |
} |
| 6192 |
var stringLen uint64 |
| 6193 |
for shift := uint(0); ; shift += 7 { |
| 6194 |
if shift >= 64 { |
| 6195 |
return ErrIntOverflowGenerated |
| 6196 |
} |
| 6197 |
if iNdEx >= l { |
| 6198 |
return io.ErrUnexpectedEOF |
| 6199 |
} |
| 6200 |
b := dAtA[iNdEx] |
| 6201 |
iNdEx++ |
| 6202 |
stringLen |= uint64(b&0x7F) << shift |
| 6203 |
if b < 0x80 { |
| 6204 |
break |
| 6205 |
} |
| 6206 |
} |
| 6207 |
intStringLen := int(stringLen) |
| 6208 |
if intStringLen < 0 { |
| 6209 |
return ErrInvalidLengthGenerated |
| 6210 |
} |
| 6211 |
postIndex := iNdEx + intStringLen |
| 6212 |
if postIndex < 0 { |
| 6213 |
return ErrInvalidLengthGenerated |
| 6214 |
} |
| 6215 |
if postIndex > l { |
| 6216 |
return io.ErrUnexpectedEOF |
| 6217 |
} |
| 6218 |
m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex])) |
| 6219 |
iNdEx = postIndex |
| 6220 |
case 3: |
| 6221 |
if wireType != 2 { |
| 6222 |
return fmt.Errorf("proto: wrong wireType = %d for field FieldManager", wireType) |
| 6223 |
} |
| 6224 |
var stringLen uint64 |
| 6225 |
for shift := uint(0); ; shift += 7 { |
| 6226 |
if shift >= 64 { |
| 6227 |
return ErrIntOverflowGenerated |
| 6228 |
} |
| 6229 |
if iNdEx >= l { |
| 6230 |
return io.ErrUnexpectedEOF |
| 6231 |
} |
| 6232 |
b := dAtA[iNdEx] |
| 6233 |
iNdEx++ |
| 6234 |
stringLen |= uint64(b&0x7F) << shift |
| 6235 |
if b < 0x80 { |
| 6236 |
break |
| 6237 |
} |
| 6238 |
} |
| 6239 |
intStringLen := int(stringLen) |
| 6240 |
if intStringLen < 0 { |
| 6241 |
return ErrInvalidLengthGenerated |
| 6242 |
} |
| 6243 |
postIndex := iNdEx + intStringLen |
| 6244 |
if postIndex < 0 { |
| 6245 |
return ErrInvalidLengthGenerated |
| 6246 |
} |
| 6247 |
if postIndex > l { |
| 6248 |
return io.ErrUnexpectedEOF |
| 6249 |
} |
| 6250 |
m.FieldManager = string(dAtA[iNdEx:postIndex]) |
| 6251 |
iNdEx = postIndex |
| 6252 |
case 4: |
| 6253 |
if wireType != 2 { |
| 6254 |
return fmt.Errorf("proto: wrong wireType = %d for field FieldValidation", wireType) |
| 6255 |
} |
| 6256 |
var stringLen uint64 |
| 6257 |
for shift := uint(0); ; shift += 7 { |
| 6258 |
if shift >= 64 { |
| 6259 |
return ErrIntOverflowGenerated |
| 6260 |
} |
| 6261 |
if iNdEx >= l { |
| 6262 |
return io.ErrUnexpectedEOF |
| 6263 |
} |
| 6264 |
b := dAtA[iNdEx] |
| 6265 |
iNdEx++ |
| 6266 |
stringLen |= uint64(b&0x7F) << shift |
| 6267 |
if b < 0x80 { |
| 6268 |
break |
| 6269 |
} |
| 6270 |
} |
| 6271 |
intStringLen := int(stringLen) |
| 6272 |
if intStringLen < 0 { |
| 6273 |
return ErrInvalidLengthGenerated |
| 6274 |
} |
| 6275 |
postIndex := iNdEx + intStringLen |
| 6276 |
if postIndex < 0 { |
| 6277 |
return ErrInvalidLengthGenerated |
| 6278 |
} |
| 6279 |
if postIndex > l { |
| 6280 |
return io.ErrUnexpectedEOF |
| 6281 |
} |
| 6282 |
m.FieldValidation = string(dAtA[iNdEx:postIndex]) |
| 6283 |
iNdEx = postIndex |
| 6284 |
default: |
| 6285 |
iNdEx = preIndex |
| 6286 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6287 |
if err != nil { |
| 6288 |
return err |
| 6289 |
} |
| 6290 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 6291 |
return ErrInvalidLengthGenerated |
| 6292 |
} |
| 6293 |
if (iNdEx + skippy) > l { |
| 6294 |
return io.ErrUnexpectedEOF |
| 6295 |
} |
| 6296 |
iNdEx += skippy |
| 6297 |
} |
| 6298 |
} |
| 6299 |
|
| 6300 |
if iNdEx > l { |
| 6301 |
return io.ErrUnexpectedEOF |
| 6302 |
} |
| 6303 |
return nil |
| 6304 |
} |
| 6305 |
func (m *DeleteOptions) Unmarshal(dAtA []byte) error { |
| 6306 |
l := len(dAtA) |
| 6307 |
iNdEx := 0 |
| 6308 |
for iNdEx < l { |
| 6309 |
preIndex := iNdEx |
| 6310 |
var wire uint64 |
| 6311 |
for shift := uint(0); ; shift += 7 { |
| 6312 |
if shift >= 64 { |
| 6313 |
return ErrIntOverflowGenerated |
| 6314 |
} |
| 6315 |
if iNdEx >= l { |
| 6316 |
return io.ErrUnexpectedEOF |
| 6317 |
} |
| 6318 |
b := dAtA[iNdEx] |
| 6319 |
iNdEx++ |
| 6320 |
wire |= uint64(b&0x7F) << shift |
| 6321 |
if b < 0x80 { |
| 6322 |
break |
| 6323 |
} |
| 6324 |
} |
| 6325 |
fieldNum := int32(wire >> 3) |
| 6326 |
wireType := int(wire & 0x7) |
| 6327 |
if wireType == 4 { |
| 6328 |
return fmt.Errorf("proto: DeleteOptions: wiretype end group for non-group") |
| 6329 |
} |
| 6330 |
if fieldNum <= 0 { |
| 6331 |
return fmt.Errorf("proto: DeleteOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6332 |
} |
| 6333 |
switch fieldNum { |
| 6334 |
case 1: |
| 6335 |
if wireType != 0 { |
| 6336 |
return fmt.Errorf("proto: wrong wireType = %d for field GracePeriodSeconds", wireType) |
| 6337 |
} |
| 6338 |
var v int64 |
| 6339 |
for shift := uint(0); ; shift += 7 { |
| 6340 |
if shift >= 64 { |
| 6341 |
return ErrIntOverflowGenerated |
| 6342 |
} |
| 6343 |
if iNdEx >= l { |
| 6344 |
return io.ErrUnexpectedEOF |
| 6345 |
} |
| 6346 |
b := dAtA[iNdEx] |
| 6347 |
iNdEx++ |
| 6348 |
v |= int64(b&0x7F) << shift |
| 6349 |
if b < 0x80 { |
| 6350 |
break |
| 6351 |
} |
| 6352 |
} |
| 6353 |
m.GracePeriodSeconds = &v |
| 6354 |
case 2: |
| 6355 |
if wireType != 2 { |
| 6356 |
return fmt.Errorf("proto: wrong wireType = %d for field Preconditions", wireType) |
| 6357 |
} |
| 6358 |
var msglen int |
| 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 |
msglen |= int(b&0x7F) << shift |
| 6369 |
if b < 0x80 { |
| 6370 |
break |
| 6371 |
} |
| 6372 |
} |
| 6373 |
if msglen < 0 { |
| 6374 |
return ErrInvalidLengthGenerated |
| 6375 |
} |
| 6376 |
postIndex := iNdEx + msglen |
| 6377 |
if postIndex < 0 { |
| 6378 |
return ErrInvalidLengthGenerated |
| 6379 |
} |
| 6380 |
if postIndex > l { |
| 6381 |
return io.ErrUnexpectedEOF |
| 6382 |
} |
| 6383 |
if m.Preconditions == nil { |
| 6384 |
m.Preconditions = &Preconditions{} |
| 6385 |
} |
| 6386 |
if err := m.Preconditions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 6387 |
return err |
| 6388 |
} |
| 6389 |
iNdEx = postIndex |
| 6390 |
case 3: |
| 6391 |
if wireType != 0 { |
| 6392 |
return fmt.Errorf("proto: wrong wireType = %d for field OrphanDependents", wireType) |
| 6393 |
} |
| 6394 |
var v int |
| 6395 |
for shift := uint(0); ; shift += 7 { |
| 6396 |
if shift >= 64 { |
| 6397 |
return ErrIntOverflowGenerated |
| 6398 |
} |
| 6399 |
if iNdEx >= l { |
| 6400 |
return io.ErrUnexpectedEOF |
| 6401 |
} |
| 6402 |
b := dAtA[iNdEx] |
| 6403 |
iNdEx++ |
| 6404 |
v |= int(b&0x7F) << shift |
| 6405 |
if b < 0x80 { |
| 6406 |
break |
| 6407 |
} |
| 6408 |
} |
| 6409 |
b := bool(v != 0) |
| 6410 |
m.OrphanDependents = &b |
| 6411 |
case 4: |
| 6412 |
if wireType != 2 { |
| 6413 |
return fmt.Errorf("proto: wrong wireType = %d for field PropagationPolicy", wireType) |
| 6414 |
} |
| 6415 |
var stringLen uint64 |
| 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 |
stringLen |= uint64(b&0x7F) << shift |
| 6426 |
if b < 0x80 { |
| 6427 |
break |
| 6428 |
} |
| 6429 |
} |
| 6430 |
intStringLen := int(stringLen) |
| 6431 |
if intStringLen < 0 { |
| 6432 |
return ErrInvalidLengthGenerated |
| 6433 |
} |
| 6434 |
postIndex := iNdEx + intStringLen |
| 6435 |
if postIndex < 0 { |
| 6436 |
return ErrInvalidLengthGenerated |
| 6437 |
} |
| 6438 |
if postIndex > l { |
| 6439 |
return io.ErrUnexpectedEOF |
| 6440 |
} |
| 6441 |
s := DeletionPropagation(dAtA[iNdEx:postIndex]) |
| 6442 |
m.PropagationPolicy = &s |
| 6443 |
iNdEx = postIndex |
| 6444 |
case 5: |
| 6445 |
if wireType != 2 { |
| 6446 |
return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) |
| 6447 |
} |
| 6448 |
var stringLen uint64 |
| 6449 |
for shift := uint(0); ; shift += 7 { |
| 6450 |
if shift >= 64 { |
| 6451 |
return ErrIntOverflowGenerated |
| 6452 |
} |
| 6453 |
if iNdEx >= l { |
| 6454 |
return io.ErrUnexpectedEOF |
| 6455 |
} |
| 6456 |
b := dAtA[iNdEx] |
| 6457 |
iNdEx++ |
| 6458 |
stringLen |= uint64(b&0x7F) << shift |
| 6459 |
if b < 0x80 { |
| 6460 |
break |
| 6461 |
} |
| 6462 |
} |
| 6463 |
intStringLen := int(stringLen) |
| 6464 |
if intStringLen < 0 { |
| 6465 |
return ErrInvalidLengthGenerated |
| 6466 |
} |
| 6467 |
postIndex := iNdEx + intStringLen |
| 6468 |
if postIndex < 0 { |
| 6469 |
return ErrInvalidLengthGenerated |
| 6470 |
} |
| 6471 |
if postIndex > l { |
| 6472 |
return io.ErrUnexpectedEOF |
| 6473 |
} |
| 6474 |
m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex])) |
| 6475 |
iNdEx = postIndex |
| 6476 |
case 6: |
| 6477 |
if wireType != 0 { |
| 6478 |
return fmt.Errorf("proto: wrong wireType = %d for field IgnoreStoreReadErrorWithClusterBreakingPotential", wireType) |
| 6479 |
} |
| 6480 |
var v int |
| 6481 |
for shift := uint(0); ; shift += 7 { |
| 6482 |
if shift >= 64 { |
| 6483 |
return ErrIntOverflowGenerated |
| 6484 |
} |
| 6485 |
if iNdEx >= l { |
| 6486 |
return io.ErrUnexpectedEOF |
| 6487 |
} |
| 6488 |
b := dAtA[iNdEx] |
| 6489 |
iNdEx++ |
| 6490 |
v |= int(b&0x7F) << shift |
| 6491 |
if b < 0x80 { |
| 6492 |
break |
| 6493 |
} |
| 6494 |
} |
| 6495 |
b := bool(v != 0) |
| 6496 |
m.IgnoreStoreReadErrorWithClusterBreakingPotential = &b |
| 6497 |
default: |
| 6498 |
iNdEx = preIndex |
| 6499 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6500 |
if err != nil { |
| 6501 |
return err |
| 6502 |
} |
| 6503 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 6504 |
return ErrInvalidLengthGenerated |
| 6505 |
} |
| 6506 |
if (iNdEx + skippy) > l { |
| 6507 |
return io.ErrUnexpectedEOF |
| 6508 |
} |
| 6509 |
iNdEx += skippy |
| 6510 |
} |
| 6511 |
} |
| 6512 |
|
| 6513 |
if iNdEx > l { |
| 6514 |
return io.ErrUnexpectedEOF |
| 6515 |
} |
| 6516 |
return nil |
| 6517 |
} |
| 6518 |
func (m *Duration) Unmarshal(dAtA []byte) error { |
| 6519 |
l := len(dAtA) |
| 6520 |
iNdEx := 0 |
| 6521 |
for iNdEx < l { |
| 6522 |
preIndex := iNdEx |
| 6523 |
var wire uint64 |
| 6524 |
for shift := uint(0); ; shift += 7 { |
| 6525 |
if shift >= 64 { |
| 6526 |
return ErrIntOverflowGenerated |
| 6527 |
} |
| 6528 |
if iNdEx >= l { |
| 6529 |
return io.ErrUnexpectedEOF |
| 6530 |
} |
| 6531 |
b := dAtA[iNdEx] |
| 6532 |
iNdEx++ |
| 6533 |
wire |= uint64(b&0x7F) << shift |
| 6534 |
if b < 0x80 { |
| 6535 |
break |
| 6536 |
} |
| 6537 |
} |
| 6538 |
fieldNum := int32(wire >> 3) |
| 6539 |
wireType := int(wire & 0x7) |
| 6540 |
if wireType == 4 { |
| 6541 |
return fmt.Errorf("proto: Duration: wiretype end group for non-group") |
| 6542 |
} |
| 6543 |
if fieldNum <= 0 { |
| 6544 |
return fmt.Errorf("proto: Duration: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6545 |
} |
| 6546 |
switch fieldNum { |
| 6547 |
case 1: |
| 6548 |
if wireType != 0 { |
| 6549 |
return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) |
| 6550 |
} |
| 6551 |
m.Duration = 0 |
| 6552 |
for shift := uint(0); ; shift += 7 { |
| 6553 |
if shift >= 64 { |
| 6554 |
return ErrIntOverflowGenerated |
| 6555 |
} |
| 6556 |
if iNdEx >= l { |
| 6557 |
return io.ErrUnexpectedEOF |
| 6558 |
} |
| 6559 |
b := dAtA[iNdEx] |
| 6560 |
iNdEx++ |
| 6561 |
m.Duration |= time.Duration(b&0x7F) << shift |
| 6562 |
if b < 0x80 { |
| 6563 |
break |
| 6564 |
} |
| 6565 |
} |
| 6566 |
default: |
| 6567 |
iNdEx = preIndex |
| 6568 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6569 |
if err != nil { |
| 6570 |
return err |
| 6571 |
} |
| 6572 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 6573 |
return ErrInvalidLengthGenerated |
| 6574 |
} |
| 6575 |
if (iNdEx + skippy) > l { |
| 6576 |
return io.ErrUnexpectedEOF |
| 6577 |
} |
| 6578 |
iNdEx += skippy |
| 6579 |
} |
| 6580 |
} |
| 6581 |
|
| 6582 |
if iNdEx > l { |
| 6583 |
return io.ErrUnexpectedEOF |
| 6584 |
} |
| 6585 |
return nil |
| 6586 |
} |
| 6587 |
func (m *FieldSelectorRequirement) Unmarshal(dAtA []byte) error { |
| 6588 |
l := len(dAtA) |
| 6589 |
iNdEx := 0 |
| 6590 |
for iNdEx < l { |
| 6591 |
preIndex := iNdEx |
| 6592 |
var wire uint64 |
| 6593 |
for shift := uint(0); ; shift += 7 { |
| 6594 |
if shift >= 64 { |
| 6595 |
return ErrIntOverflowGenerated |
| 6596 |
} |
| 6597 |
if iNdEx >= l { |
| 6598 |
return io.ErrUnexpectedEOF |
| 6599 |
} |
| 6600 |
b := dAtA[iNdEx] |
| 6601 |
iNdEx++ |
| 6602 |
wire |= uint64(b&0x7F) << shift |
| 6603 |
if b < 0x80 { |
| 6604 |
break |
| 6605 |
} |
| 6606 |
} |
| 6607 |
fieldNum := int32(wire >> 3) |
| 6608 |
wireType := int(wire & 0x7) |
| 6609 |
if wireType == 4 { |
| 6610 |
return fmt.Errorf("proto: FieldSelectorRequirement: wiretype end group for non-group") |
| 6611 |
} |
| 6612 |
if fieldNum <= 0 { |
| 6613 |
return fmt.Errorf("proto: FieldSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6614 |
} |
| 6615 |
switch fieldNum { |
| 6616 |
case 1: |
| 6617 |
if wireType != 2 { |
| 6618 |
return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) |
| 6619 |
} |
| 6620 |
var stringLen uint64 |
| 6621 |
for shift := uint(0); ; shift += 7 { |
| 6622 |
if shift >= 64 { |
| 6623 |
return ErrIntOverflowGenerated |
| 6624 |
} |
| 6625 |
if iNdEx >= l { |
| 6626 |
return io.ErrUnexpectedEOF |
| 6627 |
} |
| 6628 |
b := dAtA[iNdEx] |
| 6629 |
iNdEx++ |
| 6630 |
stringLen |= uint64(b&0x7F) << shift |
| 6631 |
if b < 0x80 { |
| 6632 |
break |
| 6633 |
} |
| 6634 |
} |
| 6635 |
intStringLen := int(stringLen) |
| 6636 |
if intStringLen < 0 { |
| 6637 |
return ErrInvalidLengthGenerated |
| 6638 |
} |
| 6639 |
postIndex := iNdEx + intStringLen |
| 6640 |
if postIndex < 0 { |
| 6641 |
return ErrInvalidLengthGenerated |
| 6642 |
} |
| 6643 |
if postIndex > l { |
| 6644 |
return io.ErrUnexpectedEOF |
| 6645 |
} |
| 6646 |
m.Key = string(dAtA[iNdEx:postIndex]) |
| 6647 |
iNdEx = postIndex |
| 6648 |
case 2: |
| 6649 |
if wireType != 2 { |
| 6650 |
return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) |
| 6651 |
} |
| 6652 |
var stringLen uint64 |
| 6653 |
for shift := uint(0); ; shift += 7 { |
| 6654 |
if shift >= 64 { |
| 6655 |
return ErrIntOverflowGenerated |
| 6656 |
} |
| 6657 |
if iNdEx >= l { |
| 6658 |
return io.ErrUnexpectedEOF |
| 6659 |
} |
| 6660 |
b := dAtA[iNdEx] |
| 6661 |
iNdEx++ |
| 6662 |
stringLen |= uint64(b&0x7F) << shift |
| 6663 |
if b < 0x80 { |
| 6664 |
break |
| 6665 |
} |
| 6666 |
} |
| 6667 |
intStringLen := int(stringLen) |
| 6668 |
if intStringLen < 0 { |
| 6669 |
return ErrInvalidLengthGenerated |
| 6670 |
} |
| 6671 |
postIndex := iNdEx + intStringLen |
| 6672 |
if postIndex < 0 { |
| 6673 |
return ErrInvalidLengthGenerated |
| 6674 |
} |
| 6675 |
if postIndex > l { |
| 6676 |
return io.ErrUnexpectedEOF |
| 6677 |
} |
| 6678 |
m.Operator = FieldSelectorOperator(dAtA[iNdEx:postIndex]) |
| 6679 |
iNdEx = postIndex |
| 6680 |
case 3: |
| 6681 |
if wireType != 2 { |
| 6682 |
return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType) |
| 6683 |
} |
| 6684 |
var stringLen uint64 |
| 6685 |
for shift := uint(0); ; shift += 7 { |
| 6686 |
if shift >= 64 { |
| 6687 |
return ErrIntOverflowGenerated |
| 6688 |
} |
| 6689 |
if iNdEx >= l { |
| 6690 |
return io.ErrUnexpectedEOF |
| 6691 |
} |
| 6692 |
b := dAtA[iNdEx] |
| 6693 |
iNdEx++ |
| 6694 |
stringLen |= uint64(b&0x7F) << shift |
| 6695 |
if b < 0x80 { |
| 6696 |
break |
| 6697 |
} |
| 6698 |
} |
| 6699 |
intStringLen := int(stringLen) |
| 6700 |
if intStringLen < 0 { |
| 6701 |
return ErrInvalidLengthGenerated |
| 6702 |
} |
| 6703 |
postIndex := iNdEx + intStringLen |
| 6704 |
if postIndex < 0 { |
| 6705 |
return ErrInvalidLengthGenerated |
| 6706 |
} |
| 6707 |
if postIndex > l { |
| 6708 |
return io.ErrUnexpectedEOF |
| 6709 |
} |
| 6710 |
m.Values = append(m.Values, string(dAtA[iNdEx:postIndex])) |
| 6711 |
iNdEx = postIndex |
| 6712 |
default: |
| 6713 |
iNdEx = preIndex |
| 6714 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6715 |
if err != nil { |
| 6716 |
return err |
| 6717 |
} |
| 6718 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 6719 |
return ErrInvalidLengthGenerated |
| 6720 |
} |
| 6721 |
if (iNdEx + skippy) > l { |
| 6722 |
return io.ErrUnexpectedEOF |
| 6723 |
} |
| 6724 |
iNdEx += skippy |
| 6725 |
} |
| 6726 |
} |
| 6727 |
|
| 6728 |
if iNdEx > l { |
| 6729 |
return io.ErrUnexpectedEOF |
| 6730 |
} |
| 6731 |
return nil |
| 6732 |
} |
| 6733 |
func (m *FieldsV1) Unmarshal(dAtA []byte) error { |
| 6734 |
l := len(dAtA) |
| 6735 |
iNdEx := 0 |
| 6736 |
for iNdEx < l { |
| 6737 |
preIndex := iNdEx |
| 6738 |
var wire uint64 |
| 6739 |
for shift := uint(0); ; shift += 7 { |
| 6740 |
if shift >= 64 { |
| 6741 |
return ErrIntOverflowGenerated |
| 6742 |
} |
| 6743 |
if iNdEx >= l { |
| 6744 |
return io.ErrUnexpectedEOF |
| 6745 |
} |
| 6746 |
b := dAtA[iNdEx] |
| 6747 |
iNdEx++ |
| 6748 |
wire |= uint64(b&0x7F) << shift |
| 6749 |
if b < 0x80 { |
| 6750 |
break |
| 6751 |
} |
| 6752 |
} |
| 6753 |
fieldNum := int32(wire >> 3) |
| 6754 |
wireType := int(wire & 0x7) |
| 6755 |
if wireType == 4 { |
| 6756 |
return fmt.Errorf("proto: FieldsV1: wiretype end group for non-group") |
| 6757 |
} |
| 6758 |
if fieldNum <= 0 { |
| 6759 |
return fmt.Errorf("proto: FieldsV1: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6760 |
} |
| 6761 |
switch fieldNum { |
| 6762 |
case 1: |
| 6763 |
if wireType != 2 { |
| 6764 |
return fmt.Errorf("proto: wrong wireType = %d for field Raw", wireType) |
| 6765 |
} |
| 6766 |
var byteLen int |
| 6767 |
for shift := uint(0); ; shift += 7 { |
| 6768 |
if shift >= 64 { |
| 6769 |
return ErrIntOverflowGenerated |
| 6770 |
} |
| 6771 |
if iNdEx >= l { |
| 6772 |
return io.ErrUnexpectedEOF |
| 6773 |
} |
| 6774 |
b := dAtA[iNdEx] |
| 6775 |
iNdEx++ |
| 6776 |
byteLen |= int(b&0x7F) << shift |
| 6777 |
if b < 0x80 { |
| 6778 |
break |
| 6779 |
} |
| 6780 |
} |
| 6781 |
if byteLen < 0 { |
| 6782 |
return ErrInvalidLengthGenerated |
| 6783 |
} |
| 6784 |
postIndex := iNdEx + byteLen |
| 6785 |
if postIndex < 0 { |
| 6786 |
return ErrInvalidLengthGenerated |
| 6787 |
} |
| 6788 |
if postIndex > l { |
| 6789 |
return io.ErrUnexpectedEOF |
| 6790 |
} |
| 6791 |
m.Raw = append(m.Raw[:0], dAtA[iNdEx:postIndex]...) |
| 6792 |
if m.Raw == nil { |
| 6793 |
m.Raw = []byte{} |
| 6794 |
} |
| 6795 |
iNdEx = postIndex |
| 6796 |
default: |
| 6797 |
iNdEx = preIndex |
| 6798 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6799 |
if err != nil { |
| 6800 |
return err |
| 6801 |
} |
| 6802 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 6803 |
return ErrInvalidLengthGenerated |
| 6804 |
} |
| 6805 |
if (iNdEx + skippy) > l { |
| 6806 |
return io.ErrUnexpectedEOF |
| 6807 |
} |
| 6808 |
iNdEx += skippy |
| 6809 |
} |
| 6810 |
} |
| 6811 |
|
| 6812 |
if iNdEx > l { |
| 6813 |
return io.ErrUnexpectedEOF |
| 6814 |
} |
| 6815 |
return nil |
| 6816 |
} |
| 6817 |
func (m *GetOptions) Unmarshal(dAtA []byte) error { |
| 6818 |
l := len(dAtA) |
| 6819 |
iNdEx := 0 |
| 6820 |
for iNdEx < l { |
| 6821 |
preIndex := iNdEx |
| 6822 |
var wire uint64 |
| 6823 |
for shift := uint(0); ; shift += 7 { |
| 6824 |
if shift >= 64 { |
| 6825 |
return ErrIntOverflowGenerated |
| 6826 |
} |
| 6827 |
if iNdEx >= l { |
| 6828 |
return io.ErrUnexpectedEOF |
| 6829 |
} |
| 6830 |
b := dAtA[iNdEx] |
| 6831 |
iNdEx++ |
| 6832 |
wire |= uint64(b&0x7F) << shift |
| 6833 |
if b < 0x80 { |
| 6834 |
break |
| 6835 |
} |
| 6836 |
} |
| 6837 |
fieldNum := int32(wire >> 3) |
| 6838 |
wireType := int(wire & 0x7) |
| 6839 |
if wireType == 4 { |
| 6840 |
return fmt.Errorf("proto: GetOptions: wiretype end group for non-group") |
| 6841 |
} |
| 6842 |
if fieldNum <= 0 { |
| 6843 |
return fmt.Errorf("proto: GetOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6844 |
} |
| 6845 |
switch fieldNum { |
| 6846 |
case 1: |
| 6847 |
if wireType != 2 { |
| 6848 |
return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) |
| 6849 |
} |
| 6850 |
var stringLen uint64 |
| 6851 |
for shift := uint(0); ; shift += 7 { |
| 6852 |
if shift >= 64 { |
| 6853 |
return ErrIntOverflowGenerated |
| 6854 |
} |
| 6855 |
if iNdEx >= l { |
| 6856 |
return io.ErrUnexpectedEOF |
| 6857 |
} |
| 6858 |
b := dAtA[iNdEx] |
| 6859 |
iNdEx++ |
| 6860 |
stringLen |= uint64(b&0x7F) << shift |
| 6861 |
if b < 0x80 { |
| 6862 |
break |
| 6863 |
} |
| 6864 |
} |
| 6865 |
intStringLen := int(stringLen) |
| 6866 |
if intStringLen < 0 { |
| 6867 |
return ErrInvalidLengthGenerated |
| 6868 |
} |
| 6869 |
postIndex := iNdEx + intStringLen |
| 6870 |
if postIndex < 0 { |
| 6871 |
return ErrInvalidLengthGenerated |
| 6872 |
} |
| 6873 |
if postIndex > l { |
| 6874 |
return io.ErrUnexpectedEOF |
| 6875 |
} |
| 6876 |
m.ResourceVersion = string(dAtA[iNdEx:postIndex]) |
| 6877 |
iNdEx = postIndex |
| 6878 |
default: |
| 6879 |
iNdEx = preIndex |
| 6880 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6881 |
if err != nil { |
| 6882 |
return err |
| 6883 |
} |
| 6884 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 6885 |
return ErrInvalidLengthGenerated |
| 6886 |
} |
| 6887 |
if (iNdEx + skippy) > l { |
| 6888 |
return io.ErrUnexpectedEOF |
| 6889 |
} |
| 6890 |
iNdEx += skippy |
| 6891 |
} |
| 6892 |
} |
| 6893 |
|
| 6894 |
if iNdEx > l { |
| 6895 |
return io.ErrUnexpectedEOF |
| 6896 |
} |
| 6897 |
return nil |
| 6898 |
} |
| 6899 |
func (m *GroupKind) Unmarshal(dAtA []byte) error { |
| 6900 |
l := len(dAtA) |
| 6901 |
iNdEx := 0 |
| 6902 |
for iNdEx < l { |
| 6903 |
preIndex := iNdEx |
| 6904 |
var wire uint64 |
| 6905 |
for shift := uint(0); ; shift += 7 { |
| 6906 |
if shift >= 64 { |
| 6907 |
return ErrIntOverflowGenerated |
| 6908 |
} |
| 6909 |
if iNdEx >= l { |
| 6910 |
return io.ErrUnexpectedEOF |
| 6911 |
} |
| 6912 |
b := dAtA[iNdEx] |
| 6913 |
iNdEx++ |
| 6914 |
wire |= uint64(b&0x7F) << shift |
| 6915 |
if b < 0x80 { |
| 6916 |
break |
| 6917 |
} |
| 6918 |
} |
| 6919 |
fieldNum := int32(wire >> 3) |
| 6920 |
wireType := int(wire & 0x7) |
| 6921 |
if wireType == 4 { |
| 6922 |
return fmt.Errorf("proto: GroupKind: wiretype end group for non-group") |
| 6923 |
} |
| 6924 |
if fieldNum <= 0 { |
| 6925 |
return fmt.Errorf("proto: GroupKind: illegal tag %d (wire type %d)", fieldNum, wire) |
| 6926 |
} |
| 6927 |
switch fieldNum { |
| 6928 |
case 1: |
| 6929 |
if wireType != 2 { |
| 6930 |
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) |
| 6931 |
} |
| 6932 |
var stringLen uint64 |
| 6933 |
for shift := uint(0); ; shift += 7 { |
| 6934 |
if shift >= 64 { |
| 6935 |
return ErrIntOverflowGenerated |
| 6936 |
} |
| 6937 |
if iNdEx >= l { |
| 6938 |
return io.ErrUnexpectedEOF |
| 6939 |
} |
| 6940 |
b := dAtA[iNdEx] |
| 6941 |
iNdEx++ |
| 6942 |
stringLen |= uint64(b&0x7F) << shift |
| 6943 |
if b < 0x80 { |
| 6944 |
break |
| 6945 |
} |
| 6946 |
} |
| 6947 |
intStringLen := int(stringLen) |
| 6948 |
if intStringLen < 0 { |
| 6949 |
return ErrInvalidLengthGenerated |
| 6950 |
} |
| 6951 |
postIndex := iNdEx + intStringLen |
| 6952 |
if postIndex < 0 { |
| 6953 |
return ErrInvalidLengthGenerated |
| 6954 |
} |
| 6955 |
if postIndex > l { |
| 6956 |
return io.ErrUnexpectedEOF |
| 6957 |
} |
| 6958 |
m.Group = string(dAtA[iNdEx:postIndex]) |
| 6959 |
iNdEx = postIndex |
| 6960 |
case 2: |
| 6961 |
if wireType != 2 { |
| 6962 |
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) |
| 6963 |
} |
| 6964 |
var stringLen uint64 |
| 6965 |
for shift := uint(0); ; shift += 7 { |
| 6966 |
if shift >= 64 { |
| 6967 |
return ErrIntOverflowGenerated |
| 6968 |
} |
| 6969 |
if iNdEx >= l { |
| 6970 |
return io.ErrUnexpectedEOF |
| 6971 |
} |
| 6972 |
b := dAtA[iNdEx] |
| 6973 |
iNdEx++ |
| 6974 |
stringLen |= uint64(b&0x7F) << shift |
| 6975 |
if b < 0x80 { |
| 6976 |
break |
| 6977 |
} |
| 6978 |
} |
| 6979 |
intStringLen := int(stringLen) |
| 6980 |
if intStringLen < 0 { |
| 6981 |
return ErrInvalidLengthGenerated |
| 6982 |
} |
| 6983 |
postIndex := iNdEx + intStringLen |
| 6984 |
if postIndex < 0 { |
| 6985 |
return ErrInvalidLengthGenerated |
| 6986 |
} |
| 6987 |
if postIndex > l { |
| 6988 |
return io.ErrUnexpectedEOF |
| 6989 |
} |
| 6990 |
m.Kind = string(dAtA[iNdEx:postIndex]) |
| 6991 |
iNdEx = postIndex |
| 6992 |
default: |
| 6993 |
iNdEx = preIndex |
| 6994 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 6995 |
if err != nil { |
| 6996 |
return err |
| 6997 |
} |
| 6998 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 6999 |
return ErrInvalidLengthGenerated |
| 7000 |
} |
| 7001 |
if (iNdEx + skippy) > l { |
| 7002 |
return io.ErrUnexpectedEOF |
| 7003 |
} |
| 7004 |
iNdEx += skippy |
| 7005 |
} |
| 7006 |
} |
| 7007 |
|
| 7008 |
if iNdEx > l { |
| 7009 |
return io.ErrUnexpectedEOF |
| 7010 |
} |
| 7011 |
return nil |
| 7012 |
} |
| 7013 |
func (m *GroupResource) Unmarshal(dAtA []byte) error { |
| 7014 |
l := len(dAtA) |
| 7015 |
iNdEx := 0 |
| 7016 |
for iNdEx < l { |
| 7017 |
preIndex := iNdEx |
| 7018 |
var wire uint64 |
| 7019 |
for shift := uint(0); ; shift += 7 { |
| 7020 |
if shift >= 64 { |
| 7021 |
return ErrIntOverflowGenerated |
| 7022 |
} |
| 7023 |
if iNdEx >= l { |
| 7024 |
return io.ErrUnexpectedEOF |
| 7025 |
} |
| 7026 |
b := dAtA[iNdEx] |
| 7027 |
iNdEx++ |
| 7028 |
wire |= uint64(b&0x7F) << shift |
| 7029 |
if b < 0x80 { |
| 7030 |
break |
| 7031 |
} |
| 7032 |
} |
| 7033 |
fieldNum := int32(wire >> 3) |
| 7034 |
wireType := int(wire & 0x7) |
| 7035 |
if wireType == 4 { |
| 7036 |
return fmt.Errorf("proto: GroupResource: wiretype end group for non-group") |
| 7037 |
} |
| 7038 |
if fieldNum <= 0 { |
| 7039 |
return fmt.Errorf("proto: GroupResource: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7040 |
} |
| 7041 |
switch fieldNum { |
| 7042 |
case 1: |
| 7043 |
if wireType != 2 { |
| 7044 |
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) |
| 7045 |
} |
| 7046 |
var stringLen uint64 |
| 7047 |
for shift := uint(0); ; shift += 7 { |
| 7048 |
if shift >= 64 { |
| 7049 |
return ErrIntOverflowGenerated |
| 7050 |
} |
| 7051 |
if iNdEx >= l { |
| 7052 |
return io.ErrUnexpectedEOF |
| 7053 |
} |
| 7054 |
b := dAtA[iNdEx] |
| 7055 |
iNdEx++ |
| 7056 |
stringLen |= uint64(b&0x7F) << shift |
| 7057 |
if b < 0x80 { |
| 7058 |
break |
| 7059 |
} |
| 7060 |
} |
| 7061 |
intStringLen := int(stringLen) |
| 7062 |
if intStringLen < 0 { |
| 7063 |
return ErrInvalidLengthGenerated |
| 7064 |
} |
| 7065 |
postIndex := iNdEx + intStringLen |
| 7066 |
if postIndex < 0 { |
| 7067 |
return ErrInvalidLengthGenerated |
| 7068 |
} |
| 7069 |
if postIndex > l { |
| 7070 |
return io.ErrUnexpectedEOF |
| 7071 |
} |
| 7072 |
m.Group = string(dAtA[iNdEx:postIndex]) |
| 7073 |
iNdEx = postIndex |
| 7074 |
case 2: |
| 7075 |
if wireType != 2 { |
| 7076 |
return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType) |
| 7077 |
} |
| 7078 |
var stringLen uint64 |
| 7079 |
for shift := uint(0); ; shift += 7 { |
| 7080 |
if shift >= 64 { |
| 7081 |
return ErrIntOverflowGenerated |
| 7082 |
} |
| 7083 |
if iNdEx >= l { |
| 7084 |
return io.ErrUnexpectedEOF |
| 7085 |
} |
| 7086 |
b := dAtA[iNdEx] |
| 7087 |
iNdEx++ |
| 7088 |
stringLen |= uint64(b&0x7F) << shift |
| 7089 |
if b < 0x80 { |
| 7090 |
break |
| 7091 |
} |
| 7092 |
} |
| 7093 |
intStringLen := int(stringLen) |
| 7094 |
if intStringLen < 0 { |
| 7095 |
return ErrInvalidLengthGenerated |
| 7096 |
} |
| 7097 |
postIndex := iNdEx + intStringLen |
| 7098 |
if postIndex < 0 { |
| 7099 |
return ErrInvalidLengthGenerated |
| 7100 |
} |
| 7101 |
if postIndex > l { |
| 7102 |
return io.ErrUnexpectedEOF |
| 7103 |
} |
| 7104 |
m.Resource = string(dAtA[iNdEx:postIndex]) |
| 7105 |
iNdEx = postIndex |
| 7106 |
default: |
| 7107 |
iNdEx = preIndex |
| 7108 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7109 |
if err != nil { |
| 7110 |
return err |
| 7111 |
} |
| 7112 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 7113 |
return ErrInvalidLengthGenerated |
| 7114 |
} |
| 7115 |
if (iNdEx + skippy) > l { |
| 7116 |
return io.ErrUnexpectedEOF |
| 7117 |
} |
| 7118 |
iNdEx += skippy |
| 7119 |
} |
| 7120 |
} |
| 7121 |
|
| 7122 |
if iNdEx > l { |
| 7123 |
return io.ErrUnexpectedEOF |
| 7124 |
} |
| 7125 |
return nil |
| 7126 |
} |
| 7127 |
func (m *GroupVersion) Unmarshal(dAtA []byte) error { |
| 7128 |
l := len(dAtA) |
| 7129 |
iNdEx := 0 |
| 7130 |
for iNdEx < l { |
| 7131 |
preIndex := iNdEx |
| 7132 |
var wire uint64 |
| 7133 |
for shift := uint(0); ; shift += 7 { |
| 7134 |
if shift >= 64 { |
| 7135 |
return ErrIntOverflowGenerated |
| 7136 |
} |
| 7137 |
if iNdEx >= l { |
| 7138 |
return io.ErrUnexpectedEOF |
| 7139 |
} |
| 7140 |
b := dAtA[iNdEx] |
| 7141 |
iNdEx++ |
| 7142 |
wire |= uint64(b&0x7F) << shift |
| 7143 |
if b < 0x80 { |
| 7144 |
break |
| 7145 |
} |
| 7146 |
} |
| 7147 |
fieldNum := int32(wire >> 3) |
| 7148 |
wireType := int(wire & 0x7) |
| 7149 |
if wireType == 4 { |
| 7150 |
return fmt.Errorf("proto: GroupVersion: wiretype end group for non-group") |
| 7151 |
} |
| 7152 |
if fieldNum <= 0 { |
| 7153 |
return fmt.Errorf("proto: GroupVersion: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7154 |
} |
| 7155 |
switch fieldNum { |
| 7156 |
case 1: |
| 7157 |
if wireType != 2 { |
| 7158 |
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) |
| 7159 |
} |
| 7160 |
var stringLen uint64 |
| 7161 |
for shift := uint(0); ; shift += 7 { |
| 7162 |
if shift >= 64 { |
| 7163 |
return ErrIntOverflowGenerated |
| 7164 |
} |
| 7165 |
if iNdEx >= l { |
| 7166 |
return io.ErrUnexpectedEOF |
| 7167 |
} |
| 7168 |
b := dAtA[iNdEx] |
| 7169 |
iNdEx++ |
| 7170 |
stringLen |= uint64(b&0x7F) << shift |
| 7171 |
if b < 0x80 { |
| 7172 |
break |
| 7173 |
} |
| 7174 |
} |
| 7175 |
intStringLen := int(stringLen) |
| 7176 |
if intStringLen < 0 { |
| 7177 |
return ErrInvalidLengthGenerated |
| 7178 |
} |
| 7179 |
postIndex := iNdEx + intStringLen |
| 7180 |
if postIndex < 0 { |
| 7181 |
return ErrInvalidLengthGenerated |
| 7182 |
} |
| 7183 |
if postIndex > l { |
| 7184 |
return io.ErrUnexpectedEOF |
| 7185 |
} |
| 7186 |
m.Group = string(dAtA[iNdEx:postIndex]) |
| 7187 |
iNdEx = postIndex |
| 7188 |
case 2: |
| 7189 |
if wireType != 2 { |
| 7190 |
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) |
| 7191 |
} |
| 7192 |
var stringLen uint64 |
| 7193 |
for shift := uint(0); ; shift += 7 { |
| 7194 |
if shift >= 64 { |
| 7195 |
return ErrIntOverflowGenerated |
| 7196 |
} |
| 7197 |
if iNdEx >= l { |
| 7198 |
return io.ErrUnexpectedEOF |
| 7199 |
} |
| 7200 |
b := dAtA[iNdEx] |
| 7201 |
iNdEx++ |
| 7202 |
stringLen |= uint64(b&0x7F) << shift |
| 7203 |
if b < 0x80 { |
| 7204 |
break |
| 7205 |
} |
| 7206 |
} |
| 7207 |
intStringLen := int(stringLen) |
| 7208 |
if intStringLen < 0 { |
| 7209 |
return ErrInvalidLengthGenerated |
| 7210 |
} |
| 7211 |
postIndex := iNdEx + intStringLen |
| 7212 |
if postIndex < 0 { |
| 7213 |
return ErrInvalidLengthGenerated |
| 7214 |
} |
| 7215 |
if postIndex > l { |
| 7216 |
return io.ErrUnexpectedEOF |
| 7217 |
} |
| 7218 |
m.Version = string(dAtA[iNdEx:postIndex]) |
| 7219 |
iNdEx = postIndex |
| 7220 |
default: |
| 7221 |
iNdEx = preIndex |
| 7222 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7223 |
if err != nil { |
| 7224 |
return err |
| 7225 |
} |
| 7226 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 7227 |
return ErrInvalidLengthGenerated |
| 7228 |
} |
| 7229 |
if (iNdEx + skippy) > l { |
| 7230 |
return io.ErrUnexpectedEOF |
| 7231 |
} |
| 7232 |
iNdEx += skippy |
| 7233 |
} |
| 7234 |
} |
| 7235 |
|
| 7236 |
if iNdEx > l { |
| 7237 |
return io.ErrUnexpectedEOF |
| 7238 |
} |
| 7239 |
return nil |
| 7240 |
} |
| 7241 |
func (m *GroupVersionForDiscovery) Unmarshal(dAtA []byte) error { |
| 7242 |
l := len(dAtA) |
| 7243 |
iNdEx := 0 |
| 7244 |
for iNdEx < l { |
| 7245 |
preIndex := iNdEx |
| 7246 |
var wire uint64 |
| 7247 |
for shift := uint(0); ; shift += 7 { |
| 7248 |
if shift >= 64 { |
| 7249 |
return ErrIntOverflowGenerated |
| 7250 |
} |
| 7251 |
if iNdEx >= l { |
| 7252 |
return io.ErrUnexpectedEOF |
| 7253 |
} |
| 7254 |
b := dAtA[iNdEx] |
| 7255 |
iNdEx++ |
| 7256 |
wire |= uint64(b&0x7F) << shift |
| 7257 |
if b < 0x80 { |
| 7258 |
break |
| 7259 |
} |
| 7260 |
} |
| 7261 |
fieldNum := int32(wire >> 3) |
| 7262 |
wireType := int(wire & 0x7) |
| 7263 |
if wireType == 4 { |
| 7264 |
return fmt.Errorf("proto: GroupVersionForDiscovery: wiretype end group for non-group") |
| 7265 |
} |
| 7266 |
if fieldNum <= 0 { |
| 7267 |
return fmt.Errorf("proto: GroupVersionForDiscovery: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7268 |
} |
| 7269 |
switch fieldNum { |
| 7270 |
case 1: |
| 7271 |
if wireType != 2 { |
| 7272 |
return fmt.Errorf("proto: wrong wireType = %d for field GroupVersion", wireType) |
| 7273 |
} |
| 7274 |
var stringLen uint64 |
| 7275 |
for shift := uint(0); ; shift += 7 { |
| 7276 |
if shift >= 64 { |
| 7277 |
return ErrIntOverflowGenerated |
| 7278 |
} |
| 7279 |
if iNdEx >= l { |
| 7280 |
return io.ErrUnexpectedEOF |
| 7281 |
} |
| 7282 |
b := dAtA[iNdEx] |
| 7283 |
iNdEx++ |
| 7284 |
stringLen |= uint64(b&0x7F) << shift |
| 7285 |
if b < 0x80 { |
| 7286 |
break |
| 7287 |
} |
| 7288 |
} |
| 7289 |
intStringLen := int(stringLen) |
| 7290 |
if intStringLen < 0 { |
| 7291 |
return ErrInvalidLengthGenerated |
| 7292 |
} |
| 7293 |
postIndex := iNdEx + intStringLen |
| 7294 |
if postIndex < 0 { |
| 7295 |
return ErrInvalidLengthGenerated |
| 7296 |
} |
| 7297 |
if postIndex > l { |
| 7298 |
return io.ErrUnexpectedEOF |
| 7299 |
} |
| 7300 |
m.GroupVersion = string(dAtA[iNdEx:postIndex]) |
| 7301 |
iNdEx = postIndex |
| 7302 |
case 2: |
| 7303 |
if wireType != 2 { |
| 7304 |
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) |
| 7305 |
} |
| 7306 |
var stringLen uint64 |
| 7307 |
for shift := uint(0); ; shift += 7 { |
| 7308 |
if shift >= 64 { |
| 7309 |
return ErrIntOverflowGenerated |
| 7310 |
} |
| 7311 |
if iNdEx >= l { |
| 7312 |
return io.ErrUnexpectedEOF |
| 7313 |
} |
| 7314 |
b := dAtA[iNdEx] |
| 7315 |
iNdEx++ |
| 7316 |
stringLen |= uint64(b&0x7F) << shift |
| 7317 |
if b < 0x80 { |
| 7318 |
break |
| 7319 |
} |
| 7320 |
} |
| 7321 |
intStringLen := int(stringLen) |
| 7322 |
if intStringLen < 0 { |
| 7323 |
return ErrInvalidLengthGenerated |
| 7324 |
} |
| 7325 |
postIndex := iNdEx + intStringLen |
| 7326 |
if postIndex < 0 { |
| 7327 |
return ErrInvalidLengthGenerated |
| 7328 |
} |
| 7329 |
if postIndex > l { |
| 7330 |
return io.ErrUnexpectedEOF |
| 7331 |
} |
| 7332 |
m.Version = string(dAtA[iNdEx:postIndex]) |
| 7333 |
iNdEx = postIndex |
| 7334 |
default: |
| 7335 |
iNdEx = preIndex |
| 7336 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7337 |
if err != nil { |
| 7338 |
return err |
| 7339 |
} |
| 7340 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 7341 |
return ErrInvalidLengthGenerated |
| 7342 |
} |
| 7343 |
if (iNdEx + skippy) > l { |
| 7344 |
return io.ErrUnexpectedEOF |
| 7345 |
} |
| 7346 |
iNdEx += skippy |
| 7347 |
} |
| 7348 |
} |
| 7349 |
|
| 7350 |
if iNdEx > l { |
| 7351 |
return io.ErrUnexpectedEOF |
| 7352 |
} |
| 7353 |
return nil |
| 7354 |
} |
| 7355 |
func (m *GroupVersionKind) Unmarshal(dAtA []byte) error { |
| 7356 |
l := len(dAtA) |
| 7357 |
iNdEx := 0 |
| 7358 |
for iNdEx < l { |
| 7359 |
preIndex := iNdEx |
| 7360 |
var wire uint64 |
| 7361 |
for shift := uint(0); ; shift += 7 { |
| 7362 |
if shift >= 64 { |
| 7363 |
return ErrIntOverflowGenerated |
| 7364 |
} |
| 7365 |
if iNdEx >= l { |
| 7366 |
return io.ErrUnexpectedEOF |
| 7367 |
} |
| 7368 |
b := dAtA[iNdEx] |
| 7369 |
iNdEx++ |
| 7370 |
wire |= uint64(b&0x7F) << shift |
| 7371 |
if b < 0x80 { |
| 7372 |
break |
| 7373 |
} |
| 7374 |
} |
| 7375 |
fieldNum := int32(wire >> 3) |
| 7376 |
wireType := int(wire & 0x7) |
| 7377 |
if wireType == 4 { |
| 7378 |
return fmt.Errorf("proto: GroupVersionKind: wiretype end group for non-group") |
| 7379 |
} |
| 7380 |
if fieldNum <= 0 { |
| 7381 |
return fmt.Errorf("proto: GroupVersionKind: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7382 |
} |
| 7383 |
switch fieldNum { |
| 7384 |
case 1: |
| 7385 |
if wireType != 2 { |
| 7386 |
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) |
| 7387 |
} |
| 7388 |
var stringLen uint64 |
| 7389 |
for shift := uint(0); ; shift += 7 { |
| 7390 |
if shift >= 64 { |
| 7391 |
return ErrIntOverflowGenerated |
| 7392 |
} |
| 7393 |
if iNdEx >= l { |
| 7394 |
return io.ErrUnexpectedEOF |
| 7395 |
} |
| 7396 |
b := dAtA[iNdEx] |
| 7397 |
iNdEx++ |
| 7398 |
stringLen |= uint64(b&0x7F) << shift |
| 7399 |
if b < 0x80 { |
| 7400 |
break |
| 7401 |
} |
| 7402 |
} |
| 7403 |
intStringLen := int(stringLen) |
| 7404 |
if intStringLen < 0 { |
| 7405 |
return ErrInvalidLengthGenerated |
| 7406 |
} |
| 7407 |
postIndex := iNdEx + intStringLen |
| 7408 |
if postIndex < 0 { |
| 7409 |
return ErrInvalidLengthGenerated |
| 7410 |
} |
| 7411 |
if postIndex > l { |
| 7412 |
return io.ErrUnexpectedEOF |
| 7413 |
} |
| 7414 |
m.Group = string(dAtA[iNdEx:postIndex]) |
| 7415 |
iNdEx = postIndex |
| 7416 |
case 2: |
| 7417 |
if wireType != 2 { |
| 7418 |
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) |
| 7419 |
} |
| 7420 |
var stringLen uint64 |
| 7421 |
for shift := uint(0); ; shift += 7 { |
| 7422 |
if shift >= 64 { |
| 7423 |
return ErrIntOverflowGenerated |
| 7424 |
} |
| 7425 |
if iNdEx >= l { |
| 7426 |
return io.ErrUnexpectedEOF |
| 7427 |
} |
| 7428 |
b := dAtA[iNdEx] |
| 7429 |
iNdEx++ |
| 7430 |
stringLen |= uint64(b&0x7F) << shift |
| 7431 |
if b < 0x80 { |
| 7432 |
break |
| 7433 |
} |
| 7434 |
} |
| 7435 |
intStringLen := int(stringLen) |
| 7436 |
if intStringLen < 0 { |
| 7437 |
return ErrInvalidLengthGenerated |
| 7438 |
} |
| 7439 |
postIndex := iNdEx + intStringLen |
| 7440 |
if postIndex < 0 { |
| 7441 |
return ErrInvalidLengthGenerated |
| 7442 |
} |
| 7443 |
if postIndex > l { |
| 7444 |
return io.ErrUnexpectedEOF |
| 7445 |
} |
| 7446 |
m.Version = string(dAtA[iNdEx:postIndex]) |
| 7447 |
iNdEx = postIndex |
| 7448 |
case 3: |
| 7449 |
if wireType != 2 { |
| 7450 |
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) |
| 7451 |
} |
| 7452 |
var stringLen uint64 |
| 7453 |
for shift := uint(0); ; shift += 7 { |
| 7454 |
if shift >= 64 { |
| 7455 |
return ErrIntOverflowGenerated |
| 7456 |
} |
| 7457 |
if iNdEx >= l { |
| 7458 |
return io.ErrUnexpectedEOF |
| 7459 |
} |
| 7460 |
b := dAtA[iNdEx] |
| 7461 |
iNdEx++ |
| 7462 |
stringLen |= uint64(b&0x7F) << shift |
| 7463 |
if b < 0x80 { |
| 7464 |
break |
| 7465 |
} |
| 7466 |
} |
| 7467 |
intStringLen := int(stringLen) |
| 7468 |
if intStringLen < 0 { |
| 7469 |
return ErrInvalidLengthGenerated |
| 7470 |
} |
| 7471 |
postIndex := iNdEx + intStringLen |
| 7472 |
if postIndex < 0 { |
| 7473 |
return ErrInvalidLengthGenerated |
| 7474 |
} |
| 7475 |
if postIndex > l { |
| 7476 |
return io.ErrUnexpectedEOF |
| 7477 |
} |
| 7478 |
m.Kind = string(dAtA[iNdEx:postIndex]) |
| 7479 |
iNdEx = postIndex |
| 7480 |
default: |
| 7481 |
iNdEx = preIndex |
| 7482 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7483 |
if err != nil { |
| 7484 |
return err |
| 7485 |
} |
| 7486 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 7487 |
return ErrInvalidLengthGenerated |
| 7488 |
} |
| 7489 |
if (iNdEx + skippy) > l { |
| 7490 |
return io.ErrUnexpectedEOF |
| 7491 |
} |
| 7492 |
iNdEx += skippy |
| 7493 |
} |
| 7494 |
} |
| 7495 |
|
| 7496 |
if iNdEx > l { |
| 7497 |
return io.ErrUnexpectedEOF |
| 7498 |
} |
| 7499 |
return nil |
| 7500 |
} |
| 7501 |
func (m *GroupVersionResource) Unmarshal(dAtA []byte) error { |
| 7502 |
l := len(dAtA) |
| 7503 |
iNdEx := 0 |
| 7504 |
for iNdEx < l { |
| 7505 |
preIndex := iNdEx |
| 7506 |
var wire uint64 |
| 7507 |
for shift := uint(0); ; shift += 7 { |
| 7508 |
if shift >= 64 { |
| 7509 |
return ErrIntOverflowGenerated |
| 7510 |
} |
| 7511 |
if iNdEx >= l { |
| 7512 |
return io.ErrUnexpectedEOF |
| 7513 |
} |
| 7514 |
b := dAtA[iNdEx] |
| 7515 |
iNdEx++ |
| 7516 |
wire |= uint64(b&0x7F) << shift |
| 7517 |
if b < 0x80 { |
| 7518 |
break |
| 7519 |
} |
| 7520 |
} |
| 7521 |
fieldNum := int32(wire >> 3) |
| 7522 |
wireType := int(wire & 0x7) |
| 7523 |
if wireType == 4 { |
| 7524 |
return fmt.Errorf("proto: GroupVersionResource: wiretype end group for non-group") |
| 7525 |
} |
| 7526 |
if fieldNum <= 0 { |
| 7527 |
return fmt.Errorf("proto: GroupVersionResource: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7528 |
} |
| 7529 |
switch fieldNum { |
| 7530 |
case 1: |
| 7531 |
if wireType != 2 { |
| 7532 |
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) |
| 7533 |
} |
| 7534 |
var stringLen uint64 |
| 7535 |
for shift := uint(0); ; shift += 7 { |
| 7536 |
if shift >= 64 { |
| 7537 |
return ErrIntOverflowGenerated |
| 7538 |
} |
| 7539 |
if iNdEx >= l { |
| 7540 |
return io.ErrUnexpectedEOF |
| 7541 |
} |
| 7542 |
b := dAtA[iNdEx] |
| 7543 |
iNdEx++ |
| 7544 |
stringLen |= uint64(b&0x7F) << shift |
| 7545 |
if b < 0x80 { |
| 7546 |
break |
| 7547 |
} |
| 7548 |
} |
| 7549 |
intStringLen := int(stringLen) |
| 7550 |
if intStringLen < 0 { |
| 7551 |
return ErrInvalidLengthGenerated |
| 7552 |
} |
| 7553 |
postIndex := iNdEx + intStringLen |
| 7554 |
if postIndex < 0 { |
| 7555 |
return ErrInvalidLengthGenerated |
| 7556 |
} |
| 7557 |
if postIndex > l { |
| 7558 |
return io.ErrUnexpectedEOF |
| 7559 |
} |
| 7560 |
m.Group = string(dAtA[iNdEx:postIndex]) |
| 7561 |
iNdEx = postIndex |
| 7562 |
case 2: |
| 7563 |
if wireType != 2 { |
| 7564 |
return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) |
| 7565 |
} |
| 7566 |
var stringLen uint64 |
| 7567 |
for shift := uint(0); ; shift += 7 { |
| 7568 |
if shift >= 64 { |
| 7569 |
return ErrIntOverflowGenerated |
| 7570 |
} |
| 7571 |
if iNdEx >= l { |
| 7572 |
return io.ErrUnexpectedEOF |
| 7573 |
} |
| 7574 |
b := dAtA[iNdEx] |
| 7575 |
iNdEx++ |
| 7576 |
stringLen |= uint64(b&0x7F) << shift |
| 7577 |
if b < 0x80 { |
| 7578 |
break |
| 7579 |
} |
| 7580 |
} |
| 7581 |
intStringLen := int(stringLen) |
| 7582 |
if intStringLen < 0 { |
| 7583 |
return ErrInvalidLengthGenerated |
| 7584 |
} |
| 7585 |
postIndex := iNdEx + intStringLen |
| 7586 |
if postIndex < 0 { |
| 7587 |
return ErrInvalidLengthGenerated |
| 7588 |
} |
| 7589 |
if postIndex > l { |
| 7590 |
return io.ErrUnexpectedEOF |
| 7591 |
} |
| 7592 |
m.Version = string(dAtA[iNdEx:postIndex]) |
| 7593 |
iNdEx = postIndex |
| 7594 |
case 3: |
| 7595 |
if wireType != 2 { |
| 7596 |
return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType) |
| 7597 |
} |
| 7598 |
var stringLen uint64 |
| 7599 |
for shift := uint(0); ; shift += 7 { |
| 7600 |
if shift >= 64 { |
| 7601 |
return ErrIntOverflowGenerated |
| 7602 |
} |
| 7603 |
if iNdEx >= l { |
| 7604 |
return io.ErrUnexpectedEOF |
| 7605 |
} |
| 7606 |
b := dAtA[iNdEx] |
| 7607 |
iNdEx++ |
| 7608 |
stringLen |= uint64(b&0x7F) << shift |
| 7609 |
if b < 0x80 { |
| 7610 |
break |
| 7611 |
} |
| 7612 |
} |
| 7613 |
intStringLen := int(stringLen) |
| 7614 |
if intStringLen < 0 { |
| 7615 |
return ErrInvalidLengthGenerated |
| 7616 |
} |
| 7617 |
postIndex := iNdEx + intStringLen |
| 7618 |
if postIndex < 0 { |
| 7619 |
return ErrInvalidLengthGenerated |
| 7620 |
} |
| 7621 |
if postIndex > l { |
| 7622 |
return io.ErrUnexpectedEOF |
| 7623 |
} |
| 7624 |
m.Resource = string(dAtA[iNdEx:postIndex]) |
| 7625 |
iNdEx = postIndex |
| 7626 |
default: |
| 7627 |
iNdEx = preIndex |
| 7628 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7629 |
if err != nil { |
| 7630 |
return err |
| 7631 |
} |
| 7632 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 7633 |
return ErrInvalidLengthGenerated |
| 7634 |
} |
| 7635 |
if (iNdEx + skippy) > l { |
| 7636 |
return io.ErrUnexpectedEOF |
| 7637 |
} |
| 7638 |
iNdEx += skippy |
| 7639 |
} |
| 7640 |
} |
| 7641 |
|
| 7642 |
if iNdEx > l { |
| 7643 |
return io.ErrUnexpectedEOF |
| 7644 |
} |
| 7645 |
return nil |
| 7646 |
} |
| 7647 |
func (m *LabelSelector) Unmarshal(dAtA []byte) error { |
| 7648 |
l := len(dAtA) |
| 7649 |
iNdEx := 0 |
| 7650 |
for iNdEx < l { |
| 7651 |
preIndex := iNdEx |
| 7652 |
var wire uint64 |
| 7653 |
for shift := uint(0); ; shift += 7 { |
| 7654 |
if shift >= 64 { |
| 7655 |
return ErrIntOverflowGenerated |
| 7656 |
} |
| 7657 |
if iNdEx >= l { |
| 7658 |
return io.ErrUnexpectedEOF |
| 7659 |
} |
| 7660 |
b := dAtA[iNdEx] |
| 7661 |
iNdEx++ |
| 7662 |
wire |= uint64(b&0x7F) << shift |
| 7663 |
if b < 0x80 { |
| 7664 |
break |
| 7665 |
} |
| 7666 |
} |
| 7667 |
fieldNum := int32(wire >> 3) |
| 7668 |
wireType := int(wire & 0x7) |
| 7669 |
if wireType == 4 { |
| 7670 |
return fmt.Errorf("proto: LabelSelector: wiretype end group for non-group") |
| 7671 |
} |
| 7672 |
if fieldNum <= 0 { |
| 7673 |
return fmt.Errorf("proto: LabelSelector: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7674 |
} |
| 7675 |
switch fieldNum { |
| 7676 |
case 1: |
| 7677 |
if wireType != 2 { |
| 7678 |
return fmt.Errorf("proto: wrong wireType = %d for field MatchLabels", wireType) |
| 7679 |
} |
| 7680 |
var msglen int |
| 7681 |
for shift := uint(0); ; shift += 7 { |
| 7682 |
if shift >= 64 { |
| 7683 |
return ErrIntOverflowGenerated |
| 7684 |
} |
| 7685 |
if iNdEx >= l { |
| 7686 |
return io.ErrUnexpectedEOF |
| 7687 |
} |
| 7688 |
b := dAtA[iNdEx] |
| 7689 |
iNdEx++ |
| 7690 |
msglen |= int(b&0x7F) << shift |
| 7691 |
if b < 0x80 { |
| 7692 |
break |
| 7693 |
} |
| 7694 |
} |
| 7695 |
if msglen < 0 { |
| 7696 |
return ErrInvalidLengthGenerated |
| 7697 |
} |
| 7698 |
postIndex := iNdEx + msglen |
| 7699 |
if postIndex < 0 { |
| 7700 |
return ErrInvalidLengthGenerated |
| 7701 |
} |
| 7702 |
if postIndex > l { |
| 7703 |
return io.ErrUnexpectedEOF |
| 7704 |
} |
| 7705 |
if m.MatchLabels == nil { |
| 7706 |
m.MatchLabels = make(map[string]string) |
| 7707 |
} |
| 7708 |
var mapkey string |
| 7709 |
var mapvalue string |
| 7710 |
for iNdEx < postIndex { |
| 7711 |
entryPreIndex := iNdEx |
| 7712 |
var wire uint64 |
| 7713 |
for shift := uint(0); ; shift += 7 { |
| 7714 |
if shift >= 64 { |
| 7715 |
return ErrIntOverflowGenerated |
| 7716 |
} |
| 7717 |
if iNdEx >= l { |
| 7718 |
return io.ErrUnexpectedEOF |
| 7719 |
} |
| 7720 |
b := dAtA[iNdEx] |
| 7721 |
iNdEx++ |
| 7722 |
wire |= uint64(b&0x7F) << shift |
| 7723 |
if b < 0x80 { |
| 7724 |
break |
| 7725 |
} |
| 7726 |
} |
| 7727 |
fieldNum := int32(wire >> 3) |
| 7728 |
if fieldNum == 1 { |
| 7729 |
var stringLenmapkey uint64 |
| 7730 |
for shift := uint(0); ; shift += 7 { |
| 7731 |
if shift >= 64 { |
| 7732 |
return ErrIntOverflowGenerated |
| 7733 |
} |
| 7734 |
if iNdEx >= l { |
| 7735 |
return io.ErrUnexpectedEOF |
| 7736 |
} |
| 7737 |
b := dAtA[iNdEx] |
| 7738 |
iNdEx++ |
| 7739 |
stringLenmapkey |= uint64(b&0x7F) << shift |
| 7740 |
if b < 0x80 { |
| 7741 |
break |
| 7742 |
} |
| 7743 |
} |
| 7744 |
intStringLenmapkey := int(stringLenmapkey) |
| 7745 |
if intStringLenmapkey < 0 { |
| 7746 |
return ErrInvalidLengthGenerated |
| 7747 |
} |
| 7748 |
postStringIndexmapkey := iNdEx + intStringLenmapkey |
| 7749 |
if postStringIndexmapkey < 0 { |
| 7750 |
return ErrInvalidLengthGenerated |
| 7751 |
} |
| 7752 |
if postStringIndexmapkey > l { |
| 7753 |
return io.ErrUnexpectedEOF |
| 7754 |
} |
| 7755 |
mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) |
| 7756 |
iNdEx = postStringIndexmapkey |
| 7757 |
} else if fieldNum == 2 { |
| 7758 |
var stringLenmapvalue uint64 |
| 7759 |
for shift := uint(0); ; shift += 7 { |
| 7760 |
if shift >= 64 { |
| 7761 |
return ErrIntOverflowGenerated |
| 7762 |
} |
| 7763 |
if iNdEx >= l { |
| 7764 |
return io.ErrUnexpectedEOF |
| 7765 |
} |
| 7766 |
b := dAtA[iNdEx] |
| 7767 |
iNdEx++ |
| 7768 |
stringLenmapvalue |= uint64(b&0x7F) << shift |
| 7769 |
if b < 0x80 { |
| 7770 |
break |
| 7771 |
} |
| 7772 |
} |
| 7773 |
intStringLenmapvalue := int(stringLenmapvalue) |
| 7774 |
if intStringLenmapvalue < 0 { |
| 7775 |
return ErrInvalidLengthGenerated |
| 7776 |
} |
| 7777 |
postStringIndexmapvalue := iNdEx + intStringLenmapvalue |
| 7778 |
if postStringIndexmapvalue < 0 { |
| 7779 |
return ErrInvalidLengthGenerated |
| 7780 |
} |
| 7781 |
if postStringIndexmapvalue > l { |
| 7782 |
return io.ErrUnexpectedEOF |
| 7783 |
} |
| 7784 |
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) |
| 7785 |
iNdEx = postStringIndexmapvalue |
| 7786 |
} else { |
| 7787 |
iNdEx = entryPreIndex |
| 7788 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7789 |
if err != nil { |
| 7790 |
return err |
| 7791 |
} |
| 7792 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 7793 |
return ErrInvalidLengthGenerated |
| 7794 |
} |
| 7795 |
if (iNdEx + skippy) > postIndex { |
| 7796 |
return io.ErrUnexpectedEOF |
| 7797 |
} |
| 7798 |
iNdEx += skippy |
| 7799 |
} |
| 7800 |
} |
| 7801 |
m.MatchLabels[mapkey] = mapvalue |
| 7802 |
iNdEx = postIndex |
| 7803 |
case 2: |
| 7804 |
if wireType != 2 { |
| 7805 |
return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", wireType) |
| 7806 |
} |
| 7807 |
var msglen int |
| 7808 |
for shift := uint(0); ; shift += 7 { |
| 7809 |
if shift >= 64 { |
| 7810 |
return ErrIntOverflowGenerated |
| 7811 |
} |
| 7812 |
if iNdEx >= l { |
| 7813 |
return io.ErrUnexpectedEOF |
| 7814 |
} |
| 7815 |
b := dAtA[iNdEx] |
| 7816 |
iNdEx++ |
| 7817 |
msglen |= int(b&0x7F) << shift |
| 7818 |
if b < 0x80 { |
| 7819 |
break |
| 7820 |
} |
| 7821 |
} |
| 7822 |
if msglen < 0 { |
| 7823 |
return ErrInvalidLengthGenerated |
| 7824 |
} |
| 7825 |
postIndex := iNdEx + msglen |
| 7826 |
if postIndex < 0 { |
| 7827 |
return ErrInvalidLengthGenerated |
| 7828 |
} |
| 7829 |
if postIndex > l { |
| 7830 |
return io.ErrUnexpectedEOF |
| 7831 |
} |
| 7832 |
m.MatchExpressions = append(m.MatchExpressions, LabelSelectorRequirement{}) |
| 7833 |
if err := m.MatchExpressions[len(m.MatchExpressions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 7834 |
return err |
| 7835 |
} |
| 7836 |
iNdEx = postIndex |
| 7837 |
default: |
| 7838 |
iNdEx = preIndex |
| 7839 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7840 |
if err != nil { |
| 7841 |
return err |
| 7842 |
} |
| 7843 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 7844 |
return ErrInvalidLengthGenerated |
| 7845 |
} |
| 7846 |
if (iNdEx + skippy) > l { |
| 7847 |
return io.ErrUnexpectedEOF |
| 7848 |
} |
| 7849 |
iNdEx += skippy |
| 7850 |
} |
| 7851 |
} |
| 7852 |
|
| 7853 |
if iNdEx > l { |
| 7854 |
return io.ErrUnexpectedEOF |
| 7855 |
} |
| 7856 |
return nil |
| 7857 |
} |
| 7858 |
func (m *LabelSelectorRequirement) Unmarshal(dAtA []byte) error { |
| 7859 |
l := len(dAtA) |
| 7860 |
iNdEx := 0 |
| 7861 |
for iNdEx < l { |
| 7862 |
preIndex := iNdEx |
| 7863 |
var wire uint64 |
| 7864 |
for shift := uint(0); ; shift += 7 { |
| 7865 |
if shift >= 64 { |
| 7866 |
return ErrIntOverflowGenerated |
| 7867 |
} |
| 7868 |
if iNdEx >= l { |
| 7869 |
return io.ErrUnexpectedEOF |
| 7870 |
} |
| 7871 |
b := dAtA[iNdEx] |
| 7872 |
iNdEx++ |
| 7873 |
wire |= uint64(b&0x7F) << shift |
| 7874 |
if b < 0x80 { |
| 7875 |
break |
| 7876 |
} |
| 7877 |
} |
| 7878 |
fieldNum := int32(wire >> 3) |
| 7879 |
wireType := int(wire & 0x7) |
| 7880 |
if wireType == 4 { |
| 7881 |
return fmt.Errorf("proto: LabelSelectorRequirement: wiretype end group for non-group") |
| 7882 |
} |
| 7883 |
if fieldNum <= 0 { |
| 7884 |
return fmt.Errorf("proto: LabelSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire) |
| 7885 |
} |
| 7886 |
switch fieldNum { |
| 7887 |
case 1: |
| 7888 |
if wireType != 2 { |
| 7889 |
return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) |
| 7890 |
} |
| 7891 |
var stringLen uint64 |
| 7892 |
for shift := uint(0); ; shift += 7 { |
| 7893 |
if shift >= 64 { |
| 7894 |
return ErrIntOverflowGenerated |
| 7895 |
} |
| 7896 |
if iNdEx >= l { |
| 7897 |
return io.ErrUnexpectedEOF |
| 7898 |
} |
| 7899 |
b := dAtA[iNdEx] |
| 7900 |
iNdEx++ |
| 7901 |
stringLen |= uint64(b&0x7F) << shift |
| 7902 |
if b < 0x80 { |
| 7903 |
break |
| 7904 |
} |
| 7905 |
} |
| 7906 |
intStringLen := int(stringLen) |
| 7907 |
if intStringLen < 0 { |
| 7908 |
return ErrInvalidLengthGenerated |
| 7909 |
} |
| 7910 |
postIndex := iNdEx + intStringLen |
| 7911 |
if postIndex < 0 { |
| 7912 |
return ErrInvalidLengthGenerated |
| 7913 |
} |
| 7914 |
if postIndex > l { |
| 7915 |
return io.ErrUnexpectedEOF |
| 7916 |
} |
| 7917 |
m.Key = string(dAtA[iNdEx:postIndex]) |
| 7918 |
iNdEx = postIndex |
| 7919 |
case 2: |
| 7920 |
if wireType != 2 { |
| 7921 |
return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) |
| 7922 |
} |
| 7923 |
var stringLen uint64 |
| 7924 |
for shift := uint(0); ; shift += 7 { |
| 7925 |
if shift >= 64 { |
| 7926 |
return ErrIntOverflowGenerated |
| 7927 |
} |
| 7928 |
if iNdEx >= l { |
| 7929 |
return io.ErrUnexpectedEOF |
| 7930 |
} |
| 7931 |
b := dAtA[iNdEx] |
| 7932 |
iNdEx++ |
| 7933 |
stringLen |= uint64(b&0x7F) << shift |
| 7934 |
if b < 0x80 { |
| 7935 |
break |
| 7936 |
} |
| 7937 |
} |
| 7938 |
intStringLen := int(stringLen) |
| 7939 |
if intStringLen < 0 { |
| 7940 |
return ErrInvalidLengthGenerated |
| 7941 |
} |
| 7942 |
postIndex := iNdEx + intStringLen |
| 7943 |
if postIndex < 0 { |
| 7944 |
return ErrInvalidLengthGenerated |
| 7945 |
} |
| 7946 |
if postIndex > l { |
| 7947 |
return io.ErrUnexpectedEOF |
| 7948 |
} |
| 7949 |
m.Operator = LabelSelectorOperator(dAtA[iNdEx:postIndex]) |
| 7950 |
iNdEx = postIndex |
| 7951 |
case 3: |
| 7952 |
if wireType != 2 { |
| 7953 |
return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType) |
| 7954 |
} |
| 7955 |
var stringLen uint64 |
| 7956 |
for shift := uint(0); ; shift += 7 { |
| 7957 |
if shift >= 64 { |
| 7958 |
return ErrIntOverflowGenerated |
| 7959 |
} |
| 7960 |
if iNdEx >= l { |
| 7961 |
return io.ErrUnexpectedEOF |
| 7962 |
} |
| 7963 |
b := dAtA[iNdEx] |
| 7964 |
iNdEx++ |
| 7965 |
stringLen |= uint64(b&0x7F) << shift |
| 7966 |
if b < 0x80 { |
| 7967 |
break |
| 7968 |
} |
| 7969 |
} |
| 7970 |
intStringLen := int(stringLen) |
| 7971 |
if intStringLen < 0 { |
| 7972 |
return ErrInvalidLengthGenerated |
| 7973 |
} |
| 7974 |
postIndex := iNdEx + intStringLen |
| 7975 |
if postIndex < 0 { |
| 7976 |
return ErrInvalidLengthGenerated |
| 7977 |
} |
| 7978 |
if postIndex > l { |
| 7979 |
return io.ErrUnexpectedEOF |
| 7980 |
} |
| 7981 |
m.Values = append(m.Values, string(dAtA[iNdEx:postIndex])) |
| 7982 |
iNdEx = postIndex |
| 7983 |
default: |
| 7984 |
iNdEx = preIndex |
| 7985 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 7986 |
if err != nil { |
| 7987 |
return err |
| 7988 |
} |
| 7989 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 7990 |
return ErrInvalidLengthGenerated |
| 7991 |
} |
| 7992 |
if (iNdEx + skippy) > l { |
| 7993 |
return io.ErrUnexpectedEOF |
| 7994 |
} |
| 7995 |
iNdEx += skippy |
| 7996 |
} |
| 7997 |
} |
| 7998 |
|
| 7999 |
if iNdEx > l { |
| 8000 |
return io.ErrUnexpectedEOF |
| 8001 |
} |
| 8002 |
return nil |
| 8003 |
} |
| 8004 |
func (m *List) Unmarshal(dAtA []byte) error { |
| 8005 |
l := len(dAtA) |
| 8006 |
iNdEx := 0 |
| 8007 |
for iNdEx < l { |
| 8008 |
preIndex := iNdEx |
| 8009 |
var wire uint64 |
| 8010 |
for shift := uint(0); ; shift += 7 { |
| 8011 |
if shift >= 64 { |
| 8012 |
return ErrIntOverflowGenerated |
| 8013 |
} |
| 8014 |
if iNdEx >= l { |
| 8015 |
return io.ErrUnexpectedEOF |
| 8016 |
} |
| 8017 |
b := dAtA[iNdEx] |
| 8018 |
iNdEx++ |
| 8019 |
wire |= uint64(b&0x7F) << shift |
| 8020 |
if b < 0x80 { |
| 8021 |
break |
| 8022 |
} |
| 8023 |
} |
| 8024 |
fieldNum := int32(wire >> 3) |
| 8025 |
wireType := int(wire & 0x7) |
| 8026 |
if wireType == 4 { |
| 8027 |
return fmt.Errorf("proto: List: wiretype end group for non-group") |
| 8028 |
} |
| 8029 |
if fieldNum <= 0 { |
| 8030 |
return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8031 |
} |
| 8032 |
switch fieldNum { |
| 8033 |
case 1: |
| 8034 |
if wireType != 2 { |
| 8035 |
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 8036 |
} |
| 8037 |
var msglen int |
| 8038 |
for shift := uint(0); ; shift += 7 { |
| 8039 |
if shift >= 64 { |
| 8040 |
return ErrIntOverflowGenerated |
| 8041 |
} |
| 8042 |
if iNdEx >= l { |
| 8043 |
return io.ErrUnexpectedEOF |
| 8044 |
} |
| 8045 |
b := dAtA[iNdEx] |
| 8046 |
iNdEx++ |
| 8047 |
msglen |= int(b&0x7F) << shift |
| 8048 |
if b < 0x80 { |
| 8049 |
break |
| 8050 |
} |
| 8051 |
} |
| 8052 |
if msglen < 0 { |
| 8053 |
return ErrInvalidLengthGenerated |
| 8054 |
} |
| 8055 |
postIndex := iNdEx + msglen |
| 8056 |
if postIndex < 0 { |
| 8057 |
return ErrInvalidLengthGenerated |
| 8058 |
} |
| 8059 |
if postIndex > l { |
| 8060 |
return io.ErrUnexpectedEOF |
| 8061 |
} |
| 8062 |
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8063 |
return err |
| 8064 |
} |
| 8065 |
iNdEx = postIndex |
| 8066 |
case 2: |
| 8067 |
if wireType != 2 { |
| 8068 |
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 8069 |
} |
| 8070 |
var msglen int |
| 8071 |
for shift := uint(0); ; shift += 7 { |
| 8072 |
if shift >= 64 { |
| 8073 |
return ErrIntOverflowGenerated |
| 8074 |
} |
| 8075 |
if iNdEx >= l { |
| 8076 |
return io.ErrUnexpectedEOF |
| 8077 |
} |
| 8078 |
b := dAtA[iNdEx] |
| 8079 |
iNdEx++ |
| 8080 |
msglen |= int(b&0x7F) << shift |
| 8081 |
if b < 0x80 { |
| 8082 |
break |
| 8083 |
} |
| 8084 |
} |
| 8085 |
if msglen < 0 { |
| 8086 |
return ErrInvalidLengthGenerated |
| 8087 |
} |
| 8088 |
postIndex := iNdEx + msglen |
| 8089 |
if postIndex < 0 { |
| 8090 |
return ErrInvalidLengthGenerated |
| 8091 |
} |
| 8092 |
if postIndex > l { |
| 8093 |
return io.ErrUnexpectedEOF |
| 8094 |
} |
| 8095 |
m.Items = append(m.Items, runtime.RawExtension{}) |
| 8096 |
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8097 |
return err |
| 8098 |
} |
| 8099 |
iNdEx = postIndex |
| 8100 |
default: |
| 8101 |
iNdEx = preIndex |
| 8102 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8103 |
if err != nil { |
| 8104 |
return err |
| 8105 |
} |
| 8106 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 8107 |
return ErrInvalidLengthGenerated |
| 8108 |
} |
| 8109 |
if (iNdEx + skippy) > l { |
| 8110 |
return io.ErrUnexpectedEOF |
| 8111 |
} |
| 8112 |
iNdEx += skippy |
| 8113 |
} |
| 8114 |
} |
| 8115 |
|
| 8116 |
if iNdEx > l { |
| 8117 |
return io.ErrUnexpectedEOF |
| 8118 |
} |
| 8119 |
return nil |
| 8120 |
} |
| 8121 |
func (m *ListMeta) Unmarshal(dAtA []byte) error { |
| 8122 |
l := len(dAtA) |
| 8123 |
iNdEx := 0 |
| 8124 |
for iNdEx < l { |
| 8125 |
preIndex := iNdEx |
| 8126 |
var wire uint64 |
| 8127 |
for shift := uint(0); ; shift += 7 { |
| 8128 |
if shift >= 64 { |
| 8129 |
return ErrIntOverflowGenerated |
| 8130 |
} |
| 8131 |
if iNdEx >= l { |
| 8132 |
return io.ErrUnexpectedEOF |
| 8133 |
} |
| 8134 |
b := dAtA[iNdEx] |
| 8135 |
iNdEx++ |
| 8136 |
wire |= uint64(b&0x7F) << shift |
| 8137 |
if b < 0x80 { |
| 8138 |
break |
| 8139 |
} |
| 8140 |
} |
| 8141 |
fieldNum := int32(wire >> 3) |
| 8142 |
wireType := int(wire & 0x7) |
| 8143 |
if wireType == 4 { |
| 8144 |
return fmt.Errorf("proto: ListMeta: wiretype end group for non-group") |
| 8145 |
} |
| 8146 |
if fieldNum <= 0 { |
| 8147 |
return fmt.Errorf("proto: ListMeta: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8148 |
} |
| 8149 |
switch fieldNum { |
| 8150 |
case 1: |
| 8151 |
if wireType != 2 { |
| 8152 |
return fmt.Errorf("proto: wrong wireType = %d for field SelfLink", wireType) |
| 8153 |
} |
| 8154 |
var stringLen uint64 |
| 8155 |
for shift := uint(0); ; shift += 7 { |
| 8156 |
if shift >= 64 { |
| 8157 |
return ErrIntOverflowGenerated |
| 8158 |
} |
| 8159 |
if iNdEx >= l { |
| 8160 |
return io.ErrUnexpectedEOF |
| 8161 |
} |
| 8162 |
b := dAtA[iNdEx] |
| 8163 |
iNdEx++ |
| 8164 |
stringLen |= uint64(b&0x7F) << shift |
| 8165 |
if b < 0x80 { |
| 8166 |
break |
| 8167 |
} |
| 8168 |
} |
| 8169 |
intStringLen := int(stringLen) |
| 8170 |
if intStringLen < 0 { |
| 8171 |
return ErrInvalidLengthGenerated |
| 8172 |
} |
| 8173 |
postIndex := iNdEx + intStringLen |
| 8174 |
if postIndex < 0 { |
| 8175 |
return ErrInvalidLengthGenerated |
| 8176 |
} |
| 8177 |
if postIndex > l { |
| 8178 |
return io.ErrUnexpectedEOF |
| 8179 |
} |
| 8180 |
m.SelfLink = string(dAtA[iNdEx:postIndex]) |
| 8181 |
iNdEx = postIndex |
| 8182 |
case 2: |
| 8183 |
if wireType != 2 { |
| 8184 |
return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) |
| 8185 |
} |
| 8186 |
var stringLen uint64 |
| 8187 |
for shift := uint(0); ; shift += 7 { |
| 8188 |
if shift >= 64 { |
| 8189 |
return ErrIntOverflowGenerated |
| 8190 |
} |
| 8191 |
if iNdEx >= l { |
| 8192 |
return io.ErrUnexpectedEOF |
| 8193 |
} |
| 8194 |
b := dAtA[iNdEx] |
| 8195 |
iNdEx++ |
| 8196 |
stringLen |= uint64(b&0x7F) << shift |
| 8197 |
if b < 0x80 { |
| 8198 |
break |
| 8199 |
} |
| 8200 |
} |
| 8201 |
intStringLen := int(stringLen) |
| 8202 |
if intStringLen < 0 { |
| 8203 |
return ErrInvalidLengthGenerated |
| 8204 |
} |
| 8205 |
postIndex := iNdEx + intStringLen |
| 8206 |
if postIndex < 0 { |
| 8207 |
return ErrInvalidLengthGenerated |
| 8208 |
} |
| 8209 |
if postIndex > l { |
| 8210 |
return io.ErrUnexpectedEOF |
| 8211 |
} |
| 8212 |
m.ResourceVersion = string(dAtA[iNdEx:postIndex]) |
| 8213 |
iNdEx = postIndex |
| 8214 |
case 3: |
| 8215 |
if wireType != 2 { |
| 8216 |
return fmt.Errorf("proto: wrong wireType = %d for field Continue", wireType) |
| 8217 |
} |
| 8218 |
var stringLen uint64 |
| 8219 |
for shift := uint(0); ; shift += 7 { |
| 8220 |
if shift >= 64 { |
| 8221 |
return ErrIntOverflowGenerated |
| 8222 |
} |
| 8223 |
if iNdEx >= l { |
| 8224 |
return io.ErrUnexpectedEOF |
| 8225 |
} |
| 8226 |
b := dAtA[iNdEx] |
| 8227 |
iNdEx++ |
| 8228 |
stringLen |= uint64(b&0x7F) << shift |
| 8229 |
if b < 0x80 { |
| 8230 |
break |
| 8231 |
} |
| 8232 |
} |
| 8233 |
intStringLen := int(stringLen) |
| 8234 |
if intStringLen < 0 { |
| 8235 |
return ErrInvalidLengthGenerated |
| 8236 |
} |
| 8237 |
postIndex := iNdEx + intStringLen |
| 8238 |
if postIndex < 0 { |
| 8239 |
return ErrInvalidLengthGenerated |
| 8240 |
} |
| 8241 |
if postIndex > l { |
| 8242 |
return io.ErrUnexpectedEOF |
| 8243 |
} |
| 8244 |
m.Continue = string(dAtA[iNdEx:postIndex]) |
| 8245 |
iNdEx = postIndex |
| 8246 |
case 4: |
| 8247 |
if wireType != 0 { |
| 8248 |
return fmt.Errorf("proto: wrong wireType = %d for field RemainingItemCount", wireType) |
| 8249 |
} |
| 8250 |
var v int64 |
| 8251 |
for shift := uint(0); ; shift += 7 { |
| 8252 |
if shift >= 64 { |
| 8253 |
return ErrIntOverflowGenerated |
| 8254 |
} |
| 8255 |
if iNdEx >= l { |
| 8256 |
return io.ErrUnexpectedEOF |
| 8257 |
} |
| 8258 |
b := dAtA[iNdEx] |
| 8259 |
iNdEx++ |
| 8260 |
v |= int64(b&0x7F) << shift |
| 8261 |
if b < 0x80 { |
| 8262 |
break |
| 8263 |
} |
| 8264 |
} |
| 8265 |
m.RemainingItemCount = &v |
| 8266 |
default: |
| 8267 |
iNdEx = preIndex |
| 8268 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8269 |
if err != nil { |
| 8270 |
return err |
| 8271 |
} |
| 8272 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 8273 |
return ErrInvalidLengthGenerated |
| 8274 |
} |
| 8275 |
if (iNdEx + skippy) > l { |
| 8276 |
return io.ErrUnexpectedEOF |
| 8277 |
} |
| 8278 |
iNdEx += skippy |
| 8279 |
} |
| 8280 |
} |
| 8281 |
|
| 8282 |
if iNdEx > l { |
| 8283 |
return io.ErrUnexpectedEOF |
| 8284 |
} |
| 8285 |
return nil |
| 8286 |
} |
| 8287 |
func (m *ListOptions) Unmarshal(dAtA []byte) error { |
| 8288 |
l := len(dAtA) |
| 8289 |
iNdEx := 0 |
| 8290 |
for iNdEx < l { |
| 8291 |
preIndex := iNdEx |
| 8292 |
var wire uint64 |
| 8293 |
for shift := uint(0); ; shift += 7 { |
| 8294 |
if shift >= 64 { |
| 8295 |
return ErrIntOverflowGenerated |
| 8296 |
} |
| 8297 |
if iNdEx >= l { |
| 8298 |
return io.ErrUnexpectedEOF |
| 8299 |
} |
| 8300 |
b := dAtA[iNdEx] |
| 8301 |
iNdEx++ |
| 8302 |
wire |= uint64(b&0x7F) << shift |
| 8303 |
if b < 0x80 { |
| 8304 |
break |
| 8305 |
} |
| 8306 |
} |
| 8307 |
fieldNum := int32(wire >> 3) |
| 8308 |
wireType := int(wire & 0x7) |
| 8309 |
if wireType == 4 { |
| 8310 |
return fmt.Errorf("proto: ListOptions: wiretype end group for non-group") |
| 8311 |
} |
| 8312 |
if fieldNum <= 0 { |
| 8313 |
return fmt.Errorf("proto: ListOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8314 |
} |
| 8315 |
switch fieldNum { |
| 8316 |
case 1: |
| 8317 |
if wireType != 2 { |
| 8318 |
return fmt.Errorf("proto: wrong wireType = %d for field LabelSelector", wireType) |
| 8319 |
} |
| 8320 |
var stringLen uint64 |
| 8321 |
for shift := uint(0); ; shift += 7 { |
| 8322 |
if shift >= 64 { |
| 8323 |
return ErrIntOverflowGenerated |
| 8324 |
} |
| 8325 |
if iNdEx >= l { |
| 8326 |
return io.ErrUnexpectedEOF |
| 8327 |
} |
| 8328 |
b := dAtA[iNdEx] |
| 8329 |
iNdEx++ |
| 8330 |
stringLen |= uint64(b&0x7F) << shift |
| 8331 |
if b < 0x80 { |
| 8332 |
break |
| 8333 |
} |
| 8334 |
} |
| 8335 |
intStringLen := int(stringLen) |
| 8336 |
if intStringLen < 0 { |
| 8337 |
return ErrInvalidLengthGenerated |
| 8338 |
} |
| 8339 |
postIndex := iNdEx + intStringLen |
| 8340 |
if postIndex < 0 { |
| 8341 |
return ErrInvalidLengthGenerated |
| 8342 |
} |
| 8343 |
if postIndex > l { |
| 8344 |
return io.ErrUnexpectedEOF |
| 8345 |
} |
| 8346 |
m.LabelSelector = string(dAtA[iNdEx:postIndex]) |
| 8347 |
iNdEx = postIndex |
| 8348 |
case 2: |
| 8349 |
if wireType != 2 { |
| 8350 |
return fmt.Errorf("proto: wrong wireType = %d for field FieldSelector", wireType) |
| 8351 |
} |
| 8352 |
var stringLen uint64 |
| 8353 |
for shift := uint(0); ; shift += 7 { |
| 8354 |
if shift >= 64 { |
| 8355 |
return ErrIntOverflowGenerated |
| 8356 |
} |
| 8357 |
if iNdEx >= l { |
| 8358 |
return io.ErrUnexpectedEOF |
| 8359 |
} |
| 8360 |
b := dAtA[iNdEx] |
| 8361 |
iNdEx++ |
| 8362 |
stringLen |= uint64(b&0x7F) << shift |
| 8363 |
if b < 0x80 { |
| 8364 |
break |
| 8365 |
} |
| 8366 |
} |
| 8367 |
intStringLen := int(stringLen) |
| 8368 |
if intStringLen < 0 { |
| 8369 |
return ErrInvalidLengthGenerated |
| 8370 |
} |
| 8371 |
postIndex := iNdEx + intStringLen |
| 8372 |
if postIndex < 0 { |
| 8373 |
return ErrInvalidLengthGenerated |
| 8374 |
} |
| 8375 |
if postIndex > l { |
| 8376 |
return io.ErrUnexpectedEOF |
| 8377 |
} |
| 8378 |
m.FieldSelector = string(dAtA[iNdEx:postIndex]) |
| 8379 |
iNdEx = postIndex |
| 8380 |
case 3: |
| 8381 |
if wireType != 0 { |
| 8382 |
return fmt.Errorf("proto: wrong wireType = %d for field Watch", wireType) |
| 8383 |
} |
| 8384 |
var v int |
| 8385 |
for shift := uint(0); ; shift += 7 { |
| 8386 |
if shift >= 64 { |
| 8387 |
return ErrIntOverflowGenerated |
| 8388 |
} |
| 8389 |
if iNdEx >= l { |
| 8390 |
return io.ErrUnexpectedEOF |
| 8391 |
} |
| 8392 |
b := dAtA[iNdEx] |
| 8393 |
iNdEx++ |
| 8394 |
v |= int(b&0x7F) << shift |
| 8395 |
if b < 0x80 { |
| 8396 |
break |
| 8397 |
} |
| 8398 |
} |
| 8399 |
m.Watch = bool(v != 0) |
| 8400 |
case 4: |
| 8401 |
if wireType != 2 { |
| 8402 |
return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) |
| 8403 |
} |
| 8404 |
var stringLen uint64 |
| 8405 |
for shift := uint(0); ; shift += 7 { |
| 8406 |
if shift >= 64 { |
| 8407 |
return ErrIntOverflowGenerated |
| 8408 |
} |
| 8409 |
if iNdEx >= l { |
| 8410 |
return io.ErrUnexpectedEOF |
| 8411 |
} |
| 8412 |
b := dAtA[iNdEx] |
| 8413 |
iNdEx++ |
| 8414 |
stringLen |= uint64(b&0x7F) << shift |
| 8415 |
if b < 0x80 { |
| 8416 |
break |
| 8417 |
} |
| 8418 |
} |
| 8419 |
intStringLen := int(stringLen) |
| 8420 |
if intStringLen < 0 { |
| 8421 |
return ErrInvalidLengthGenerated |
| 8422 |
} |
| 8423 |
postIndex := iNdEx + intStringLen |
| 8424 |
if postIndex < 0 { |
| 8425 |
return ErrInvalidLengthGenerated |
| 8426 |
} |
| 8427 |
if postIndex > l { |
| 8428 |
return io.ErrUnexpectedEOF |
| 8429 |
} |
| 8430 |
m.ResourceVersion = string(dAtA[iNdEx:postIndex]) |
| 8431 |
iNdEx = postIndex |
| 8432 |
case 5: |
| 8433 |
if wireType != 0 { |
| 8434 |
return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType) |
| 8435 |
} |
| 8436 |
var v int64 |
| 8437 |
for shift := uint(0); ; shift += 7 { |
| 8438 |
if shift >= 64 { |
| 8439 |
return ErrIntOverflowGenerated |
| 8440 |
} |
| 8441 |
if iNdEx >= l { |
| 8442 |
return io.ErrUnexpectedEOF |
| 8443 |
} |
| 8444 |
b := dAtA[iNdEx] |
| 8445 |
iNdEx++ |
| 8446 |
v |= int64(b&0x7F) << shift |
| 8447 |
if b < 0x80 { |
| 8448 |
break |
| 8449 |
} |
| 8450 |
} |
| 8451 |
m.TimeoutSeconds = &v |
| 8452 |
case 7: |
| 8453 |
if wireType != 0 { |
| 8454 |
return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) |
| 8455 |
} |
| 8456 |
m.Limit = 0 |
| 8457 |
for shift := uint(0); ; shift += 7 { |
| 8458 |
if shift >= 64 { |
| 8459 |
return ErrIntOverflowGenerated |
| 8460 |
} |
| 8461 |
if iNdEx >= l { |
| 8462 |
return io.ErrUnexpectedEOF |
| 8463 |
} |
| 8464 |
b := dAtA[iNdEx] |
| 8465 |
iNdEx++ |
| 8466 |
m.Limit |= int64(b&0x7F) << shift |
| 8467 |
if b < 0x80 { |
| 8468 |
break |
| 8469 |
} |
| 8470 |
} |
| 8471 |
case 8: |
| 8472 |
if wireType != 2 { |
| 8473 |
return fmt.Errorf("proto: wrong wireType = %d for field Continue", wireType) |
| 8474 |
} |
| 8475 |
var stringLen uint64 |
| 8476 |
for shift := uint(0); ; shift += 7 { |
| 8477 |
if shift >= 64 { |
| 8478 |
return ErrIntOverflowGenerated |
| 8479 |
} |
| 8480 |
if iNdEx >= l { |
| 8481 |
return io.ErrUnexpectedEOF |
| 8482 |
} |
| 8483 |
b := dAtA[iNdEx] |
| 8484 |
iNdEx++ |
| 8485 |
stringLen |= uint64(b&0x7F) << shift |
| 8486 |
if b < 0x80 { |
| 8487 |
break |
| 8488 |
} |
| 8489 |
} |
| 8490 |
intStringLen := int(stringLen) |
| 8491 |
if intStringLen < 0 { |
| 8492 |
return ErrInvalidLengthGenerated |
| 8493 |
} |
| 8494 |
postIndex := iNdEx + intStringLen |
| 8495 |
if postIndex < 0 { |
| 8496 |
return ErrInvalidLengthGenerated |
| 8497 |
} |
| 8498 |
if postIndex > l { |
| 8499 |
return io.ErrUnexpectedEOF |
| 8500 |
} |
| 8501 |
m.Continue = string(dAtA[iNdEx:postIndex]) |
| 8502 |
iNdEx = postIndex |
| 8503 |
case 9: |
| 8504 |
if wireType != 0 { |
| 8505 |
return fmt.Errorf("proto: wrong wireType = %d for field AllowWatchBookmarks", wireType) |
| 8506 |
} |
| 8507 |
var v int |
| 8508 |
for shift := uint(0); ; shift += 7 { |
| 8509 |
if shift >= 64 { |
| 8510 |
return ErrIntOverflowGenerated |
| 8511 |
} |
| 8512 |
if iNdEx >= l { |
| 8513 |
return io.ErrUnexpectedEOF |
| 8514 |
} |
| 8515 |
b := dAtA[iNdEx] |
| 8516 |
iNdEx++ |
| 8517 |
v |= int(b&0x7F) << shift |
| 8518 |
if b < 0x80 { |
| 8519 |
break |
| 8520 |
} |
| 8521 |
} |
| 8522 |
m.AllowWatchBookmarks = bool(v != 0) |
| 8523 |
case 10: |
| 8524 |
if wireType != 2 { |
| 8525 |
return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersionMatch", wireType) |
| 8526 |
} |
| 8527 |
var stringLen uint64 |
| 8528 |
for shift := uint(0); ; shift += 7 { |
| 8529 |
if shift >= 64 { |
| 8530 |
return ErrIntOverflowGenerated |
| 8531 |
} |
| 8532 |
if iNdEx >= l { |
| 8533 |
return io.ErrUnexpectedEOF |
| 8534 |
} |
| 8535 |
b := dAtA[iNdEx] |
| 8536 |
iNdEx++ |
| 8537 |
stringLen |= uint64(b&0x7F) << shift |
| 8538 |
if b < 0x80 { |
| 8539 |
break |
| 8540 |
} |
| 8541 |
} |
| 8542 |
intStringLen := int(stringLen) |
| 8543 |
if intStringLen < 0 { |
| 8544 |
return ErrInvalidLengthGenerated |
| 8545 |
} |
| 8546 |
postIndex := iNdEx + intStringLen |
| 8547 |
if postIndex < 0 { |
| 8548 |
return ErrInvalidLengthGenerated |
| 8549 |
} |
| 8550 |
if postIndex > l { |
| 8551 |
return io.ErrUnexpectedEOF |
| 8552 |
} |
| 8553 |
m.ResourceVersionMatch = ResourceVersionMatch(dAtA[iNdEx:postIndex]) |
| 8554 |
iNdEx = postIndex |
| 8555 |
case 11: |
| 8556 |
if wireType != 0 { |
| 8557 |
return fmt.Errorf("proto: wrong wireType = %d for field SendInitialEvents", wireType) |
| 8558 |
} |
| 8559 |
var v int |
| 8560 |
for shift := uint(0); ; shift += 7 { |
| 8561 |
if shift >= 64 { |
| 8562 |
return ErrIntOverflowGenerated |
| 8563 |
} |
| 8564 |
if iNdEx >= l { |
| 8565 |
return io.ErrUnexpectedEOF |
| 8566 |
} |
| 8567 |
b := dAtA[iNdEx] |
| 8568 |
iNdEx++ |
| 8569 |
v |= int(b&0x7F) << shift |
| 8570 |
if b < 0x80 { |
| 8571 |
break |
| 8572 |
} |
| 8573 |
} |
| 8574 |
b := bool(v != 0) |
| 8575 |
m.SendInitialEvents = &b |
| 8576 |
default: |
| 8577 |
iNdEx = preIndex |
| 8578 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8579 |
if err != nil { |
| 8580 |
return err |
| 8581 |
} |
| 8582 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 8583 |
return ErrInvalidLengthGenerated |
| 8584 |
} |
| 8585 |
if (iNdEx + skippy) > l { |
| 8586 |
return io.ErrUnexpectedEOF |
| 8587 |
} |
| 8588 |
iNdEx += skippy |
| 8589 |
} |
| 8590 |
} |
| 8591 |
|
| 8592 |
if iNdEx > l { |
| 8593 |
return io.ErrUnexpectedEOF |
| 8594 |
} |
| 8595 |
return nil |
| 8596 |
} |
| 8597 |
func (m *ManagedFieldsEntry) Unmarshal(dAtA []byte) error { |
| 8598 |
l := len(dAtA) |
| 8599 |
iNdEx := 0 |
| 8600 |
for iNdEx < l { |
| 8601 |
preIndex := iNdEx |
| 8602 |
var wire uint64 |
| 8603 |
for shift := uint(0); ; shift += 7 { |
| 8604 |
if shift >= 64 { |
| 8605 |
return ErrIntOverflowGenerated |
| 8606 |
} |
| 8607 |
if iNdEx >= l { |
| 8608 |
return io.ErrUnexpectedEOF |
| 8609 |
} |
| 8610 |
b := dAtA[iNdEx] |
| 8611 |
iNdEx++ |
| 8612 |
wire |= uint64(b&0x7F) << shift |
| 8613 |
if b < 0x80 { |
| 8614 |
break |
| 8615 |
} |
| 8616 |
} |
| 8617 |
fieldNum := int32(wire >> 3) |
| 8618 |
wireType := int(wire & 0x7) |
| 8619 |
if wireType == 4 { |
| 8620 |
return fmt.Errorf("proto: ManagedFieldsEntry: wiretype end group for non-group") |
| 8621 |
} |
| 8622 |
if fieldNum <= 0 { |
| 8623 |
return fmt.Errorf("proto: ManagedFieldsEntry: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8624 |
} |
| 8625 |
switch fieldNum { |
| 8626 |
case 1: |
| 8627 |
if wireType != 2 { |
| 8628 |
return fmt.Errorf("proto: wrong wireType = %d for field Manager", wireType) |
| 8629 |
} |
| 8630 |
var stringLen uint64 |
| 8631 |
for shift := uint(0); ; shift += 7 { |
| 8632 |
if shift >= 64 { |
| 8633 |
return ErrIntOverflowGenerated |
| 8634 |
} |
| 8635 |
if iNdEx >= l { |
| 8636 |
return io.ErrUnexpectedEOF |
| 8637 |
} |
| 8638 |
b := dAtA[iNdEx] |
| 8639 |
iNdEx++ |
| 8640 |
stringLen |= uint64(b&0x7F) << shift |
| 8641 |
if b < 0x80 { |
| 8642 |
break |
| 8643 |
} |
| 8644 |
} |
| 8645 |
intStringLen := int(stringLen) |
| 8646 |
if intStringLen < 0 { |
| 8647 |
return ErrInvalidLengthGenerated |
| 8648 |
} |
| 8649 |
postIndex := iNdEx + intStringLen |
| 8650 |
if postIndex < 0 { |
| 8651 |
return ErrInvalidLengthGenerated |
| 8652 |
} |
| 8653 |
if postIndex > l { |
| 8654 |
return io.ErrUnexpectedEOF |
| 8655 |
} |
| 8656 |
m.Manager = string(dAtA[iNdEx:postIndex]) |
| 8657 |
iNdEx = postIndex |
| 8658 |
case 2: |
| 8659 |
if wireType != 2 { |
| 8660 |
return fmt.Errorf("proto: wrong wireType = %d for field Operation", wireType) |
| 8661 |
} |
| 8662 |
var stringLen uint64 |
| 8663 |
for shift := uint(0); ; shift += 7 { |
| 8664 |
if shift >= 64 { |
| 8665 |
return ErrIntOverflowGenerated |
| 8666 |
} |
| 8667 |
if iNdEx >= l { |
| 8668 |
return io.ErrUnexpectedEOF |
| 8669 |
} |
| 8670 |
b := dAtA[iNdEx] |
| 8671 |
iNdEx++ |
| 8672 |
stringLen |= uint64(b&0x7F) << shift |
| 8673 |
if b < 0x80 { |
| 8674 |
break |
| 8675 |
} |
| 8676 |
} |
| 8677 |
intStringLen := int(stringLen) |
| 8678 |
if intStringLen < 0 { |
| 8679 |
return ErrInvalidLengthGenerated |
| 8680 |
} |
| 8681 |
postIndex := iNdEx + intStringLen |
| 8682 |
if postIndex < 0 { |
| 8683 |
return ErrInvalidLengthGenerated |
| 8684 |
} |
| 8685 |
if postIndex > l { |
| 8686 |
return io.ErrUnexpectedEOF |
| 8687 |
} |
| 8688 |
m.Operation = ManagedFieldsOperationType(dAtA[iNdEx:postIndex]) |
| 8689 |
iNdEx = postIndex |
| 8690 |
case 3: |
| 8691 |
if wireType != 2 { |
| 8692 |
return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType) |
| 8693 |
} |
| 8694 |
var stringLen uint64 |
| 8695 |
for shift := uint(0); ; shift += 7 { |
| 8696 |
if shift >= 64 { |
| 8697 |
return ErrIntOverflowGenerated |
| 8698 |
} |
| 8699 |
if iNdEx >= l { |
| 8700 |
return io.ErrUnexpectedEOF |
| 8701 |
} |
| 8702 |
b := dAtA[iNdEx] |
| 8703 |
iNdEx++ |
| 8704 |
stringLen |= uint64(b&0x7F) << shift |
| 8705 |
if b < 0x80 { |
| 8706 |
break |
| 8707 |
} |
| 8708 |
} |
| 8709 |
intStringLen := int(stringLen) |
| 8710 |
if intStringLen < 0 { |
| 8711 |
return ErrInvalidLengthGenerated |
| 8712 |
} |
| 8713 |
postIndex := iNdEx + intStringLen |
| 8714 |
if postIndex < 0 { |
| 8715 |
return ErrInvalidLengthGenerated |
| 8716 |
} |
| 8717 |
if postIndex > l { |
| 8718 |
return io.ErrUnexpectedEOF |
| 8719 |
} |
| 8720 |
m.APIVersion = string(dAtA[iNdEx:postIndex]) |
| 8721 |
iNdEx = postIndex |
| 8722 |
case 4: |
| 8723 |
if wireType != 2 { |
| 8724 |
return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType) |
| 8725 |
} |
| 8726 |
var msglen int |
| 8727 |
for shift := uint(0); ; shift += 7 { |
| 8728 |
if shift >= 64 { |
| 8729 |
return ErrIntOverflowGenerated |
| 8730 |
} |
| 8731 |
if iNdEx >= l { |
| 8732 |
return io.ErrUnexpectedEOF |
| 8733 |
} |
| 8734 |
b := dAtA[iNdEx] |
| 8735 |
iNdEx++ |
| 8736 |
msglen |= int(b&0x7F) << shift |
| 8737 |
if b < 0x80 { |
| 8738 |
break |
| 8739 |
} |
| 8740 |
} |
| 8741 |
if msglen < 0 { |
| 8742 |
return ErrInvalidLengthGenerated |
| 8743 |
} |
| 8744 |
postIndex := iNdEx + msglen |
| 8745 |
if postIndex < 0 { |
| 8746 |
return ErrInvalidLengthGenerated |
| 8747 |
} |
| 8748 |
if postIndex > l { |
| 8749 |
return io.ErrUnexpectedEOF |
| 8750 |
} |
| 8751 |
if m.Time == nil { |
| 8752 |
m.Time = &Time{} |
| 8753 |
} |
| 8754 |
if err := m.Time.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8755 |
return err |
| 8756 |
} |
| 8757 |
iNdEx = postIndex |
| 8758 |
case 6: |
| 8759 |
if wireType != 2 { |
| 8760 |
return fmt.Errorf("proto: wrong wireType = %d for field FieldsType", wireType) |
| 8761 |
} |
| 8762 |
var stringLen uint64 |
| 8763 |
for shift := uint(0); ; shift += 7 { |
| 8764 |
if shift >= 64 { |
| 8765 |
return ErrIntOverflowGenerated |
| 8766 |
} |
| 8767 |
if iNdEx >= l { |
| 8768 |
return io.ErrUnexpectedEOF |
| 8769 |
} |
| 8770 |
b := dAtA[iNdEx] |
| 8771 |
iNdEx++ |
| 8772 |
stringLen |= uint64(b&0x7F) << shift |
| 8773 |
if b < 0x80 { |
| 8774 |
break |
| 8775 |
} |
| 8776 |
} |
| 8777 |
intStringLen := int(stringLen) |
| 8778 |
if intStringLen < 0 { |
| 8779 |
return ErrInvalidLengthGenerated |
| 8780 |
} |
| 8781 |
postIndex := iNdEx + intStringLen |
| 8782 |
if postIndex < 0 { |
| 8783 |
return ErrInvalidLengthGenerated |
| 8784 |
} |
| 8785 |
if postIndex > l { |
| 8786 |
return io.ErrUnexpectedEOF |
| 8787 |
} |
| 8788 |
m.FieldsType = string(dAtA[iNdEx:postIndex]) |
| 8789 |
iNdEx = postIndex |
| 8790 |
case 7: |
| 8791 |
if wireType != 2 { |
| 8792 |
return fmt.Errorf("proto: wrong wireType = %d for field FieldsV1", wireType) |
| 8793 |
} |
| 8794 |
var msglen int |
| 8795 |
for shift := uint(0); ; shift += 7 { |
| 8796 |
if shift >= 64 { |
| 8797 |
return ErrIntOverflowGenerated |
| 8798 |
} |
| 8799 |
if iNdEx >= l { |
| 8800 |
return io.ErrUnexpectedEOF |
| 8801 |
} |
| 8802 |
b := dAtA[iNdEx] |
| 8803 |
iNdEx++ |
| 8804 |
msglen |= int(b&0x7F) << shift |
| 8805 |
if b < 0x80 { |
| 8806 |
break |
| 8807 |
} |
| 8808 |
} |
| 8809 |
if msglen < 0 { |
| 8810 |
return ErrInvalidLengthGenerated |
| 8811 |
} |
| 8812 |
postIndex := iNdEx + msglen |
| 8813 |
if postIndex < 0 { |
| 8814 |
return ErrInvalidLengthGenerated |
| 8815 |
} |
| 8816 |
if postIndex > l { |
| 8817 |
return io.ErrUnexpectedEOF |
| 8818 |
} |
| 8819 |
if m.FieldsV1 == nil { |
| 8820 |
m.FieldsV1 = &FieldsV1{} |
| 8821 |
} |
| 8822 |
if err := m.FieldsV1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 8823 |
return err |
| 8824 |
} |
| 8825 |
iNdEx = postIndex |
| 8826 |
case 8: |
| 8827 |
if wireType != 2 { |
| 8828 |
return fmt.Errorf("proto: wrong wireType = %d for field Subresource", wireType) |
| 8829 |
} |
| 8830 |
var stringLen uint64 |
| 8831 |
for shift := uint(0); ; shift += 7 { |
| 8832 |
if shift >= 64 { |
| 8833 |
return ErrIntOverflowGenerated |
| 8834 |
} |
| 8835 |
if iNdEx >= l { |
| 8836 |
return io.ErrUnexpectedEOF |
| 8837 |
} |
| 8838 |
b := dAtA[iNdEx] |
| 8839 |
iNdEx++ |
| 8840 |
stringLen |= uint64(b&0x7F) << shift |
| 8841 |
if b < 0x80 { |
| 8842 |
break |
| 8843 |
} |
| 8844 |
} |
| 8845 |
intStringLen := int(stringLen) |
| 8846 |
if intStringLen < 0 { |
| 8847 |
return ErrInvalidLengthGenerated |
| 8848 |
} |
| 8849 |
postIndex := iNdEx + intStringLen |
| 8850 |
if postIndex < 0 { |
| 8851 |
return ErrInvalidLengthGenerated |
| 8852 |
} |
| 8853 |
if postIndex > l { |
| 8854 |
return io.ErrUnexpectedEOF |
| 8855 |
} |
| 8856 |
m.Subresource = string(dAtA[iNdEx:postIndex]) |
| 8857 |
iNdEx = postIndex |
| 8858 |
default: |
| 8859 |
iNdEx = preIndex |
| 8860 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 8861 |
if err != nil { |
| 8862 |
return err |
| 8863 |
} |
| 8864 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 8865 |
return ErrInvalidLengthGenerated |
| 8866 |
} |
| 8867 |
if (iNdEx + skippy) > l { |
| 8868 |
return io.ErrUnexpectedEOF |
| 8869 |
} |
| 8870 |
iNdEx += skippy |
| 8871 |
} |
| 8872 |
} |
| 8873 |
|
| 8874 |
if iNdEx > l { |
| 8875 |
return io.ErrUnexpectedEOF |
| 8876 |
} |
| 8877 |
return nil |
| 8878 |
} |
| 8879 |
func (m *ObjectMeta) Unmarshal(dAtA []byte) error { |
| 8880 |
l := len(dAtA) |
| 8881 |
iNdEx := 0 |
| 8882 |
for iNdEx < l { |
| 8883 |
preIndex := iNdEx |
| 8884 |
var wire uint64 |
| 8885 |
for shift := uint(0); ; shift += 7 { |
| 8886 |
if shift >= 64 { |
| 8887 |
return ErrIntOverflowGenerated |
| 8888 |
} |
| 8889 |
if iNdEx >= l { |
| 8890 |
return io.ErrUnexpectedEOF |
| 8891 |
} |
| 8892 |
b := dAtA[iNdEx] |
| 8893 |
iNdEx++ |
| 8894 |
wire |= uint64(b&0x7F) << shift |
| 8895 |
if b < 0x80 { |
| 8896 |
break |
| 8897 |
} |
| 8898 |
} |
| 8899 |
fieldNum := int32(wire >> 3) |
| 8900 |
wireType := int(wire & 0x7) |
| 8901 |
if wireType == 4 { |
| 8902 |
return fmt.Errorf("proto: ObjectMeta: wiretype end group for non-group") |
| 8903 |
} |
| 8904 |
if fieldNum <= 0 { |
| 8905 |
return fmt.Errorf("proto: ObjectMeta: illegal tag %d (wire type %d)", fieldNum, wire) |
| 8906 |
} |
| 8907 |
switch fieldNum { |
| 8908 |
case 1: |
| 8909 |
if wireType != 2 { |
| 8910 |
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 8911 |
} |
| 8912 |
var stringLen uint64 |
| 8913 |
for shift := uint(0); ; shift += 7 { |
| 8914 |
if shift >= 64 { |
| 8915 |
return ErrIntOverflowGenerated |
| 8916 |
} |
| 8917 |
if iNdEx >= l { |
| 8918 |
return io.ErrUnexpectedEOF |
| 8919 |
} |
| 8920 |
b := dAtA[iNdEx] |
| 8921 |
iNdEx++ |
| 8922 |
stringLen |= uint64(b&0x7F) << shift |
| 8923 |
if b < 0x80 { |
| 8924 |
break |
| 8925 |
} |
| 8926 |
} |
| 8927 |
intStringLen := int(stringLen) |
| 8928 |
if intStringLen < 0 { |
| 8929 |
return ErrInvalidLengthGenerated |
| 8930 |
} |
| 8931 |
postIndex := iNdEx + intStringLen |
| 8932 |
if postIndex < 0 { |
| 8933 |
return ErrInvalidLengthGenerated |
| 8934 |
} |
| 8935 |
if postIndex > l { |
| 8936 |
return io.ErrUnexpectedEOF |
| 8937 |
} |
| 8938 |
m.Name = string(dAtA[iNdEx:postIndex]) |
| 8939 |
iNdEx = postIndex |
| 8940 |
case 2: |
| 8941 |
if wireType != 2 { |
| 8942 |
return fmt.Errorf("proto: wrong wireType = %d for field GenerateName", wireType) |
| 8943 |
} |
| 8944 |
var stringLen uint64 |
| 8945 |
for shift := uint(0); ; shift += 7 { |
| 8946 |
if shift >= 64 { |
| 8947 |
return ErrIntOverflowGenerated |
| 8948 |
} |
| 8949 |
if iNdEx >= l { |
| 8950 |
return io.ErrUnexpectedEOF |
| 8951 |
} |
| 8952 |
b := dAtA[iNdEx] |
| 8953 |
iNdEx++ |
| 8954 |
stringLen |= uint64(b&0x7F) << shift |
| 8955 |
if b < 0x80 { |
| 8956 |
break |
| 8957 |
} |
| 8958 |
} |
| 8959 |
intStringLen := int(stringLen) |
| 8960 |
if intStringLen < 0 { |
| 8961 |
return ErrInvalidLengthGenerated |
| 8962 |
} |
| 8963 |
postIndex := iNdEx + intStringLen |
| 8964 |
if postIndex < 0 { |
| 8965 |
return ErrInvalidLengthGenerated |
| 8966 |
} |
| 8967 |
if postIndex > l { |
| 8968 |
return io.ErrUnexpectedEOF |
| 8969 |
} |
| 8970 |
m.GenerateName = string(dAtA[iNdEx:postIndex]) |
| 8971 |
iNdEx = postIndex |
| 8972 |
case 3: |
| 8973 |
if wireType != 2 { |
| 8974 |
return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) |
| 8975 |
} |
| 8976 |
var stringLen uint64 |
| 8977 |
for shift := uint(0); ; shift += 7 { |
| 8978 |
if shift >= 64 { |
| 8979 |
return ErrIntOverflowGenerated |
| 8980 |
} |
| 8981 |
if iNdEx >= l { |
| 8982 |
return io.ErrUnexpectedEOF |
| 8983 |
} |
| 8984 |
b := dAtA[iNdEx] |
| 8985 |
iNdEx++ |
| 8986 |
stringLen |= uint64(b&0x7F) << shift |
| 8987 |
if b < 0x80 { |
| 8988 |
break |
| 8989 |
} |
| 8990 |
} |
| 8991 |
intStringLen := int(stringLen) |
| 8992 |
if intStringLen < 0 { |
| 8993 |
return ErrInvalidLengthGenerated |
| 8994 |
} |
| 8995 |
postIndex := iNdEx + intStringLen |
| 8996 |
if postIndex < 0 { |
| 8997 |
return ErrInvalidLengthGenerated |
| 8998 |
} |
| 8999 |
if postIndex > l { |
| 9000 |
return io.ErrUnexpectedEOF |
| 9001 |
} |
| 9002 |
m.Namespace = string(dAtA[iNdEx:postIndex]) |
| 9003 |
iNdEx = postIndex |
| 9004 |
case 4: |
| 9005 |
if wireType != 2 { |
| 9006 |
return fmt.Errorf("proto: wrong wireType = %d for field SelfLink", wireType) |
| 9007 |
} |
| 9008 |
var stringLen uint64 |
| 9009 |
for shift := uint(0); ; shift += 7 { |
| 9010 |
if shift >= 64 { |
| 9011 |
return ErrIntOverflowGenerated |
| 9012 |
} |
| 9013 |
if iNdEx >= l { |
| 9014 |
return io.ErrUnexpectedEOF |
| 9015 |
} |
| 9016 |
b := dAtA[iNdEx] |
| 9017 |
iNdEx++ |
| 9018 |
stringLen |= uint64(b&0x7F) << shift |
| 9019 |
if b < 0x80 { |
| 9020 |
break |
| 9021 |
} |
| 9022 |
} |
| 9023 |
intStringLen := int(stringLen) |
| 9024 |
if intStringLen < 0 { |
| 9025 |
return ErrInvalidLengthGenerated |
| 9026 |
} |
| 9027 |
postIndex := iNdEx + intStringLen |
| 9028 |
if postIndex < 0 { |
| 9029 |
return ErrInvalidLengthGenerated |
| 9030 |
} |
| 9031 |
if postIndex > l { |
| 9032 |
return io.ErrUnexpectedEOF |
| 9033 |
} |
| 9034 |
m.SelfLink = string(dAtA[iNdEx:postIndex]) |
| 9035 |
iNdEx = postIndex |
| 9036 |
case 5: |
| 9037 |
if wireType != 2 { |
| 9038 |
return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType) |
| 9039 |
} |
| 9040 |
var stringLen uint64 |
| 9041 |
for shift := uint(0); ; shift += 7 { |
| 9042 |
if shift >= 64 { |
| 9043 |
return ErrIntOverflowGenerated |
| 9044 |
} |
| 9045 |
if iNdEx >= l { |
| 9046 |
return io.ErrUnexpectedEOF |
| 9047 |
} |
| 9048 |
b := dAtA[iNdEx] |
| 9049 |
iNdEx++ |
| 9050 |
stringLen |= uint64(b&0x7F) << shift |
| 9051 |
if b < 0x80 { |
| 9052 |
break |
| 9053 |
} |
| 9054 |
} |
| 9055 |
intStringLen := int(stringLen) |
| 9056 |
if intStringLen < 0 { |
| 9057 |
return ErrInvalidLengthGenerated |
| 9058 |
} |
| 9059 |
postIndex := iNdEx + intStringLen |
| 9060 |
if postIndex < 0 { |
| 9061 |
return ErrInvalidLengthGenerated |
| 9062 |
} |
| 9063 |
if postIndex > l { |
| 9064 |
return io.ErrUnexpectedEOF |
| 9065 |
} |
| 9066 |
m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex]) |
| 9067 |
iNdEx = postIndex |
| 9068 |
case 6: |
| 9069 |
if wireType != 2 { |
| 9070 |
return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) |
| 9071 |
} |
| 9072 |
var stringLen uint64 |
| 9073 |
for shift := uint(0); ; shift += 7 { |
| 9074 |
if shift >= 64 { |
| 9075 |
return ErrIntOverflowGenerated |
| 9076 |
} |
| 9077 |
if iNdEx >= l { |
| 9078 |
return io.ErrUnexpectedEOF |
| 9079 |
} |
| 9080 |
b := dAtA[iNdEx] |
| 9081 |
iNdEx++ |
| 9082 |
stringLen |= uint64(b&0x7F) << shift |
| 9083 |
if b < 0x80 { |
| 9084 |
break |
| 9085 |
} |
| 9086 |
} |
| 9087 |
intStringLen := int(stringLen) |
| 9088 |
if intStringLen < 0 { |
| 9089 |
return ErrInvalidLengthGenerated |
| 9090 |
} |
| 9091 |
postIndex := iNdEx + intStringLen |
| 9092 |
if postIndex < 0 { |
| 9093 |
return ErrInvalidLengthGenerated |
| 9094 |
} |
| 9095 |
if postIndex > l { |
| 9096 |
return io.ErrUnexpectedEOF |
| 9097 |
} |
| 9098 |
m.ResourceVersion = string(dAtA[iNdEx:postIndex]) |
| 9099 |
iNdEx = postIndex |
| 9100 |
case 7: |
| 9101 |
if wireType != 0 { |
| 9102 |
return fmt.Errorf("proto: wrong wireType = %d for field Generation", wireType) |
| 9103 |
} |
| 9104 |
m.Generation = 0 |
| 9105 |
for shift := uint(0); ; shift += 7 { |
| 9106 |
if shift >= 64 { |
| 9107 |
return ErrIntOverflowGenerated |
| 9108 |
} |
| 9109 |
if iNdEx >= l { |
| 9110 |
return io.ErrUnexpectedEOF |
| 9111 |
} |
| 9112 |
b := dAtA[iNdEx] |
| 9113 |
iNdEx++ |
| 9114 |
m.Generation |= int64(b&0x7F) << shift |
| 9115 |
if b < 0x80 { |
| 9116 |
break |
| 9117 |
} |
| 9118 |
} |
| 9119 |
case 8: |
| 9120 |
if wireType != 2 { |
| 9121 |
return fmt.Errorf("proto: wrong wireType = %d for field CreationTimestamp", wireType) |
| 9122 |
} |
| 9123 |
var msglen int |
| 9124 |
for shift := uint(0); ; shift += 7 { |
| 9125 |
if shift >= 64 { |
| 9126 |
return ErrIntOverflowGenerated |
| 9127 |
} |
| 9128 |
if iNdEx >= l { |
| 9129 |
return io.ErrUnexpectedEOF |
| 9130 |
} |
| 9131 |
b := dAtA[iNdEx] |
| 9132 |
iNdEx++ |
| 9133 |
msglen |= int(b&0x7F) << shift |
| 9134 |
if b < 0x80 { |
| 9135 |
break |
| 9136 |
} |
| 9137 |
} |
| 9138 |
if msglen < 0 { |
| 9139 |
return ErrInvalidLengthGenerated |
| 9140 |
} |
| 9141 |
postIndex := iNdEx + msglen |
| 9142 |
if postIndex < 0 { |
| 9143 |
return ErrInvalidLengthGenerated |
| 9144 |
} |
| 9145 |
if postIndex > l { |
| 9146 |
return io.ErrUnexpectedEOF |
| 9147 |
} |
| 9148 |
if err := m.CreationTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9149 |
return err |
| 9150 |
} |
| 9151 |
iNdEx = postIndex |
| 9152 |
case 9: |
| 9153 |
if wireType != 2 { |
| 9154 |
return fmt.Errorf("proto: wrong wireType = %d for field DeletionTimestamp", wireType) |
| 9155 |
} |
| 9156 |
var msglen int |
| 9157 |
for shift := uint(0); ; shift += 7 { |
| 9158 |
if shift >= 64 { |
| 9159 |
return ErrIntOverflowGenerated |
| 9160 |
} |
| 9161 |
if iNdEx >= l { |
| 9162 |
return io.ErrUnexpectedEOF |
| 9163 |
} |
| 9164 |
b := dAtA[iNdEx] |
| 9165 |
iNdEx++ |
| 9166 |
msglen |= int(b&0x7F) << shift |
| 9167 |
if b < 0x80 { |
| 9168 |
break |
| 9169 |
} |
| 9170 |
} |
| 9171 |
if msglen < 0 { |
| 9172 |
return ErrInvalidLengthGenerated |
| 9173 |
} |
| 9174 |
postIndex := iNdEx + msglen |
| 9175 |
if postIndex < 0 { |
| 9176 |
return ErrInvalidLengthGenerated |
| 9177 |
} |
| 9178 |
if postIndex > l { |
| 9179 |
return io.ErrUnexpectedEOF |
| 9180 |
} |
| 9181 |
if m.DeletionTimestamp == nil { |
| 9182 |
m.DeletionTimestamp = &Time{} |
| 9183 |
} |
| 9184 |
if err := m.DeletionTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9185 |
return err |
| 9186 |
} |
| 9187 |
iNdEx = postIndex |
| 9188 |
case 10: |
| 9189 |
if wireType != 0 { |
| 9190 |
return fmt.Errorf("proto: wrong wireType = %d for field DeletionGracePeriodSeconds", wireType) |
| 9191 |
} |
| 9192 |
var v int64 |
| 9193 |
for shift := uint(0); ; shift += 7 { |
| 9194 |
if shift >= 64 { |
| 9195 |
return ErrIntOverflowGenerated |
| 9196 |
} |
| 9197 |
if iNdEx >= l { |
| 9198 |
return io.ErrUnexpectedEOF |
| 9199 |
} |
| 9200 |
b := dAtA[iNdEx] |
| 9201 |
iNdEx++ |
| 9202 |
v |= int64(b&0x7F) << shift |
| 9203 |
if b < 0x80 { |
| 9204 |
break |
| 9205 |
} |
| 9206 |
} |
| 9207 |
m.DeletionGracePeriodSeconds = &v |
| 9208 |
case 11: |
| 9209 |
if wireType != 2 { |
| 9210 |
return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) |
| 9211 |
} |
| 9212 |
var msglen int |
| 9213 |
for shift := uint(0); ; shift += 7 { |
| 9214 |
if shift >= 64 { |
| 9215 |
return ErrIntOverflowGenerated |
| 9216 |
} |
| 9217 |
if iNdEx >= l { |
| 9218 |
return io.ErrUnexpectedEOF |
| 9219 |
} |
| 9220 |
b := dAtA[iNdEx] |
| 9221 |
iNdEx++ |
| 9222 |
msglen |= int(b&0x7F) << shift |
| 9223 |
if b < 0x80 { |
| 9224 |
break |
| 9225 |
} |
| 9226 |
} |
| 9227 |
if msglen < 0 { |
| 9228 |
return ErrInvalidLengthGenerated |
| 9229 |
} |
| 9230 |
postIndex := iNdEx + msglen |
| 9231 |
if postIndex < 0 { |
| 9232 |
return ErrInvalidLengthGenerated |
| 9233 |
} |
| 9234 |
if postIndex > l { |
| 9235 |
return io.ErrUnexpectedEOF |
| 9236 |
} |
| 9237 |
if m.Labels == nil { |
| 9238 |
m.Labels = make(map[string]string) |
| 9239 |
} |
| 9240 |
var mapkey string |
| 9241 |
var mapvalue string |
| 9242 |
for iNdEx < postIndex { |
| 9243 |
entryPreIndex := iNdEx |
| 9244 |
var wire uint64 |
| 9245 |
for shift := uint(0); ; shift += 7 { |
| 9246 |
if shift >= 64 { |
| 9247 |
return ErrIntOverflowGenerated |
| 9248 |
} |
| 9249 |
if iNdEx >= l { |
| 9250 |
return io.ErrUnexpectedEOF |
| 9251 |
} |
| 9252 |
b := dAtA[iNdEx] |
| 9253 |
iNdEx++ |
| 9254 |
wire |= uint64(b&0x7F) << shift |
| 9255 |
if b < 0x80 { |
| 9256 |
break |
| 9257 |
} |
| 9258 |
} |
| 9259 |
fieldNum := int32(wire >> 3) |
| 9260 |
if fieldNum == 1 { |
| 9261 |
var stringLenmapkey uint64 |
| 9262 |
for shift := uint(0); ; shift += 7 { |
| 9263 |
if shift >= 64 { |
| 9264 |
return ErrIntOverflowGenerated |
| 9265 |
} |
| 9266 |
if iNdEx >= l { |
| 9267 |
return io.ErrUnexpectedEOF |
| 9268 |
} |
| 9269 |
b := dAtA[iNdEx] |
| 9270 |
iNdEx++ |
| 9271 |
stringLenmapkey |= uint64(b&0x7F) << shift |
| 9272 |
if b < 0x80 { |
| 9273 |
break |
| 9274 |
} |
| 9275 |
} |
| 9276 |
intStringLenmapkey := int(stringLenmapkey) |
| 9277 |
if intStringLenmapkey < 0 { |
| 9278 |
return ErrInvalidLengthGenerated |
| 9279 |
} |
| 9280 |
postStringIndexmapkey := iNdEx + intStringLenmapkey |
| 9281 |
if postStringIndexmapkey < 0 { |
| 9282 |
return ErrInvalidLengthGenerated |
| 9283 |
} |
| 9284 |
if postStringIndexmapkey > l { |
| 9285 |
return io.ErrUnexpectedEOF |
| 9286 |
} |
| 9287 |
mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) |
| 9288 |
iNdEx = postStringIndexmapkey |
| 9289 |
} else if fieldNum == 2 { |
| 9290 |
var stringLenmapvalue uint64 |
| 9291 |
for shift := uint(0); ; shift += 7 { |
| 9292 |
if shift >= 64 { |
| 9293 |
return ErrIntOverflowGenerated |
| 9294 |
} |
| 9295 |
if iNdEx >= l { |
| 9296 |
return io.ErrUnexpectedEOF |
| 9297 |
} |
| 9298 |
b := dAtA[iNdEx] |
| 9299 |
iNdEx++ |
| 9300 |
stringLenmapvalue |= uint64(b&0x7F) << shift |
| 9301 |
if b < 0x80 { |
| 9302 |
break |
| 9303 |
} |
| 9304 |
} |
| 9305 |
intStringLenmapvalue := int(stringLenmapvalue) |
| 9306 |
if intStringLenmapvalue < 0 { |
| 9307 |
return ErrInvalidLengthGenerated |
| 9308 |
} |
| 9309 |
postStringIndexmapvalue := iNdEx + intStringLenmapvalue |
| 9310 |
if postStringIndexmapvalue < 0 { |
| 9311 |
return ErrInvalidLengthGenerated |
| 9312 |
} |
| 9313 |
if postStringIndexmapvalue > l { |
| 9314 |
return io.ErrUnexpectedEOF |
| 9315 |
} |
| 9316 |
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) |
| 9317 |
iNdEx = postStringIndexmapvalue |
| 9318 |
} else { |
| 9319 |
iNdEx = entryPreIndex |
| 9320 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 9321 |
if err != nil { |
| 9322 |
return err |
| 9323 |
} |
| 9324 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 9325 |
return ErrInvalidLengthGenerated |
| 9326 |
} |
| 9327 |
if (iNdEx + skippy) > postIndex { |
| 9328 |
return io.ErrUnexpectedEOF |
| 9329 |
} |
| 9330 |
iNdEx += skippy |
| 9331 |
} |
| 9332 |
} |
| 9333 |
m.Labels[mapkey] = mapvalue |
| 9334 |
iNdEx = postIndex |
| 9335 |
case 12: |
| 9336 |
if wireType != 2 { |
| 9337 |
return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType) |
| 9338 |
} |
| 9339 |
var msglen int |
| 9340 |
for shift := uint(0); ; shift += 7 { |
| 9341 |
if shift >= 64 { |
| 9342 |
return ErrIntOverflowGenerated |
| 9343 |
} |
| 9344 |
if iNdEx >= l { |
| 9345 |
return io.ErrUnexpectedEOF |
| 9346 |
} |
| 9347 |
b := dAtA[iNdEx] |
| 9348 |
iNdEx++ |
| 9349 |
msglen |= int(b&0x7F) << shift |
| 9350 |
if b < 0x80 { |
| 9351 |
break |
| 9352 |
} |
| 9353 |
} |
| 9354 |
if msglen < 0 { |
| 9355 |
return ErrInvalidLengthGenerated |
| 9356 |
} |
| 9357 |
postIndex := iNdEx + msglen |
| 9358 |
if postIndex < 0 { |
| 9359 |
return ErrInvalidLengthGenerated |
| 9360 |
} |
| 9361 |
if postIndex > l { |
| 9362 |
return io.ErrUnexpectedEOF |
| 9363 |
} |
| 9364 |
if m.Annotations == nil { |
| 9365 |
m.Annotations = make(map[string]string) |
| 9366 |
} |
| 9367 |
var mapkey string |
| 9368 |
var mapvalue string |
| 9369 |
for iNdEx < postIndex { |
| 9370 |
entryPreIndex := iNdEx |
| 9371 |
var wire uint64 |
| 9372 |
for shift := uint(0); ; shift += 7 { |
| 9373 |
if shift >= 64 { |
| 9374 |
return ErrIntOverflowGenerated |
| 9375 |
} |
| 9376 |
if iNdEx >= l { |
| 9377 |
return io.ErrUnexpectedEOF |
| 9378 |
} |
| 9379 |
b := dAtA[iNdEx] |
| 9380 |
iNdEx++ |
| 9381 |
wire |= uint64(b&0x7F) << shift |
| 9382 |
if b < 0x80 { |
| 9383 |
break |
| 9384 |
} |
| 9385 |
} |
| 9386 |
fieldNum := int32(wire >> 3) |
| 9387 |
if fieldNum == 1 { |
| 9388 |
var stringLenmapkey uint64 |
| 9389 |
for shift := uint(0); ; shift += 7 { |
| 9390 |
if shift >= 64 { |
| 9391 |
return ErrIntOverflowGenerated |
| 9392 |
} |
| 9393 |
if iNdEx >= l { |
| 9394 |
return io.ErrUnexpectedEOF |
| 9395 |
} |
| 9396 |
b := dAtA[iNdEx] |
| 9397 |
iNdEx++ |
| 9398 |
stringLenmapkey |= uint64(b&0x7F) << shift |
| 9399 |
if b < 0x80 { |
| 9400 |
break |
| 9401 |
} |
| 9402 |
} |
| 9403 |
intStringLenmapkey := int(stringLenmapkey) |
| 9404 |
if intStringLenmapkey < 0 { |
| 9405 |
return ErrInvalidLengthGenerated |
| 9406 |
} |
| 9407 |
postStringIndexmapkey := iNdEx + intStringLenmapkey |
| 9408 |
if postStringIndexmapkey < 0 { |
| 9409 |
return ErrInvalidLengthGenerated |
| 9410 |
} |
| 9411 |
if postStringIndexmapkey > l { |
| 9412 |
return io.ErrUnexpectedEOF |
| 9413 |
} |
| 9414 |
mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) |
| 9415 |
iNdEx = postStringIndexmapkey |
| 9416 |
} else if fieldNum == 2 { |
| 9417 |
var stringLenmapvalue uint64 |
| 9418 |
for shift := uint(0); ; shift += 7 { |
| 9419 |
if shift >= 64 { |
| 9420 |
return ErrIntOverflowGenerated |
| 9421 |
} |
| 9422 |
if iNdEx >= l { |
| 9423 |
return io.ErrUnexpectedEOF |
| 9424 |
} |
| 9425 |
b := dAtA[iNdEx] |
| 9426 |
iNdEx++ |
| 9427 |
stringLenmapvalue |= uint64(b&0x7F) << shift |
| 9428 |
if b < 0x80 { |
| 9429 |
break |
| 9430 |
} |
| 9431 |
} |
| 9432 |
intStringLenmapvalue := int(stringLenmapvalue) |
| 9433 |
if intStringLenmapvalue < 0 { |
| 9434 |
return ErrInvalidLengthGenerated |
| 9435 |
} |
| 9436 |
postStringIndexmapvalue := iNdEx + intStringLenmapvalue |
| 9437 |
if postStringIndexmapvalue < 0 { |
| 9438 |
return ErrInvalidLengthGenerated |
| 9439 |
} |
| 9440 |
if postStringIndexmapvalue > l { |
| 9441 |
return io.ErrUnexpectedEOF |
| 9442 |
} |
| 9443 |
mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) |
| 9444 |
iNdEx = postStringIndexmapvalue |
| 9445 |
} else { |
| 9446 |
iNdEx = entryPreIndex |
| 9447 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 9448 |
if err != nil { |
| 9449 |
return err |
| 9450 |
} |
| 9451 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 9452 |
return ErrInvalidLengthGenerated |
| 9453 |
} |
| 9454 |
if (iNdEx + skippy) > postIndex { |
| 9455 |
return io.ErrUnexpectedEOF |
| 9456 |
} |
| 9457 |
iNdEx += skippy |
| 9458 |
} |
| 9459 |
} |
| 9460 |
m.Annotations[mapkey] = mapvalue |
| 9461 |
iNdEx = postIndex |
| 9462 |
case 13: |
| 9463 |
if wireType != 2 { |
| 9464 |
return fmt.Errorf("proto: wrong wireType = %d for field OwnerReferences", wireType) |
| 9465 |
} |
| 9466 |
var msglen int |
| 9467 |
for shift := uint(0); ; shift += 7 { |
| 9468 |
if shift >= 64 { |
| 9469 |
return ErrIntOverflowGenerated |
| 9470 |
} |
| 9471 |
if iNdEx >= l { |
| 9472 |
return io.ErrUnexpectedEOF |
| 9473 |
} |
| 9474 |
b := dAtA[iNdEx] |
| 9475 |
iNdEx++ |
| 9476 |
msglen |= int(b&0x7F) << shift |
| 9477 |
if b < 0x80 { |
| 9478 |
break |
| 9479 |
} |
| 9480 |
} |
| 9481 |
if msglen < 0 { |
| 9482 |
return ErrInvalidLengthGenerated |
| 9483 |
} |
| 9484 |
postIndex := iNdEx + msglen |
| 9485 |
if postIndex < 0 { |
| 9486 |
return ErrInvalidLengthGenerated |
| 9487 |
} |
| 9488 |
if postIndex > l { |
| 9489 |
return io.ErrUnexpectedEOF |
| 9490 |
} |
| 9491 |
m.OwnerReferences = append(m.OwnerReferences, OwnerReference{}) |
| 9492 |
if err := m.OwnerReferences[len(m.OwnerReferences)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9493 |
return err |
| 9494 |
} |
| 9495 |
iNdEx = postIndex |
| 9496 |
case 14: |
| 9497 |
if wireType != 2 { |
| 9498 |
return fmt.Errorf("proto: wrong wireType = %d for field Finalizers", wireType) |
| 9499 |
} |
| 9500 |
var stringLen uint64 |
| 9501 |
for shift := uint(0); ; shift += 7 { |
| 9502 |
if shift >= 64 { |
| 9503 |
return ErrIntOverflowGenerated |
| 9504 |
} |
| 9505 |
if iNdEx >= l { |
| 9506 |
return io.ErrUnexpectedEOF |
| 9507 |
} |
| 9508 |
b := dAtA[iNdEx] |
| 9509 |
iNdEx++ |
| 9510 |
stringLen |= uint64(b&0x7F) << shift |
| 9511 |
if b < 0x80 { |
| 9512 |
break |
| 9513 |
} |
| 9514 |
} |
| 9515 |
intStringLen := int(stringLen) |
| 9516 |
if intStringLen < 0 { |
| 9517 |
return ErrInvalidLengthGenerated |
| 9518 |
} |
| 9519 |
postIndex := iNdEx + intStringLen |
| 9520 |
if postIndex < 0 { |
| 9521 |
return ErrInvalidLengthGenerated |
| 9522 |
} |
| 9523 |
if postIndex > l { |
| 9524 |
return io.ErrUnexpectedEOF |
| 9525 |
} |
| 9526 |
m.Finalizers = append(m.Finalizers, string(dAtA[iNdEx:postIndex])) |
| 9527 |
iNdEx = postIndex |
| 9528 |
case 17: |
| 9529 |
if wireType != 2 { |
| 9530 |
return fmt.Errorf("proto: wrong wireType = %d for field ManagedFields", wireType) |
| 9531 |
} |
| 9532 |
var msglen int |
| 9533 |
for shift := uint(0); ; shift += 7 { |
| 9534 |
if shift >= 64 { |
| 9535 |
return ErrIntOverflowGenerated |
| 9536 |
} |
| 9537 |
if iNdEx >= l { |
| 9538 |
return io.ErrUnexpectedEOF |
| 9539 |
} |
| 9540 |
b := dAtA[iNdEx] |
| 9541 |
iNdEx++ |
| 9542 |
msglen |= int(b&0x7F) << shift |
| 9543 |
if b < 0x80 { |
| 9544 |
break |
| 9545 |
} |
| 9546 |
} |
| 9547 |
if msglen < 0 { |
| 9548 |
return ErrInvalidLengthGenerated |
| 9549 |
} |
| 9550 |
postIndex := iNdEx + msglen |
| 9551 |
if postIndex < 0 { |
| 9552 |
return ErrInvalidLengthGenerated |
| 9553 |
} |
| 9554 |
if postIndex > l { |
| 9555 |
return io.ErrUnexpectedEOF |
| 9556 |
} |
| 9557 |
m.ManagedFields = append(m.ManagedFields, ManagedFieldsEntry{}) |
| 9558 |
if err := m.ManagedFields[len(m.ManagedFields)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9559 |
return err |
| 9560 |
} |
| 9561 |
iNdEx = postIndex |
| 9562 |
default: |
| 9563 |
iNdEx = preIndex |
| 9564 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 9565 |
if err != nil { |
| 9566 |
return err |
| 9567 |
} |
| 9568 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 9569 |
return ErrInvalidLengthGenerated |
| 9570 |
} |
| 9571 |
if (iNdEx + skippy) > l { |
| 9572 |
return io.ErrUnexpectedEOF |
| 9573 |
} |
| 9574 |
iNdEx += skippy |
| 9575 |
} |
| 9576 |
} |
| 9577 |
|
| 9578 |
if iNdEx > l { |
| 9579 |
return io.ErrUnexpectedEOF |
| 9580 |
} |
| 9581 |
return nil |
| 9582 |
} |
| 9583 |
func (m *OwnerReference) Unmarshal(dAtA []byte) error { |
| 9584 |
l := len(dAtA) |
| 9585 |
iNdEx := 0 |
| 9586 |
for iNdEx < l { |
| 9587 |
preIndex := iNdEx |
| 9588 |
var wire uint64 |
| 9589 |
for shift := uint(0); ; shift += 7 { |
| 9590 |
if shift >= 64 { |
| 9591 |
return ErrIntOverflowGenerated |
| 9592 |
} |
| 9593 |
if iNdEx >= l { |
| 9594 |
return io.ErrUnexpectedEOF |
| 9595 |
} |
| 9596 |
b := dAtA[iNdEx] |
| 9597 |
iNdEx++ |
| 9598 |
wire |= uint64(b&0x7F) << shift |
| 9599 |
if b < 0x80 { |
| 9600 |
break |
| 9601 |
} |
| 9602 |
} |
| 9603 |
fieldNum := int32(wire >> 3) |
| 9604 |
wireType := int(wire & 0x7) |
| 9605 |
if wireType == 4 { |
| 9606 |
return fmt.Errorf("proto: OwnerReference: wiretype end group for non-group") |
| 9607 |
} |
| 9608 |
if fieldNum <= 0 { |
| 9609 |
return fmt.Errorf("proto: OwnerReference: illegal tag %d (wire type %d)", fieldNum, wire) |
| 9610 |
} |
| 9611 |
switch fieldNum { |
| 9612 |
case 1: |
| 9613 |
if wireType != 2 { |
| 9614 |
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) |
| 9615 |
} |
| 9616 |
var stringLen uint64 |
| 9617 |
for shift := uint(0); ; shift += 7 { |
| 9618 |
if shift >= 64 { |
| 9619 |
return ErrIntOverflowGenerated |
| 9620 |
} |
| 9621 |
if iNdEx >= l { |
| 9622 |
return io.ErrUnexpectedEOF |
| 9623 |
} |
| 9624 |
b := dAtA[iNdEx] |
| 9625 |
iNdEx++ |
| 9626 |
stringLen |= uint64(b&0x7F) << shift |
| 9627 |
if b < 0x80 { |
| 9628 |
break |
| 9629 |
} |
| 9630 |
} |
| 9631 |
intStringLen := int(stringLen) |
| 9632 |
if intStringLen < 0 { |
| 9633 |
return ErrInvalidLengthGenerated |
| 9634 |
} |
| 9635 |
postIndex := iNdEx + intStringLen |
| 9636 |
if postIndex < 0 { |
| 9637 |
return ErrInvalidLengthGenerated |
| 9638 |
} |
| 9639 |
if postIndex > l { |
| 9640 |
return io.ErrUnexpectedEOF |
| 9641 |
} |
| 9642 |
m.Kind = string(dAtA[iNdEx:postIndex]) |
| 9643 |
iNdEx = postIndex |
| 9644 |
case 3: |
| 9645 |
if wireType != 2 { |
| 9646 |
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 9647 |
} |
| 9648 |
var stringLen uint64 |
| 9649 |
for shift := uint(0); ; shift += 7 { |
| 9650 |
if shift >= 64 { |
| 9651 |
return ErrIntOverflowGenerated |
| 9652 |
} |
| 9653 |
if iNdEx >= l { |
| 9654 |
return io.ErrUnexpectedEOF |
| 9655 |
} |
| 9656 |
b := dAtA[iNdEx] |
| 9657 |
iNdEx++ |
| 9658 |
stringLen |= uint64(b&0x7F) << shift |
| 9659 |
if b < 0x80 { |
| 9660 |
break |
| 9661 |
} |
| 9662 |
} |
| 9663 |
intStringLen := int(stringLen) |
| 9664 |
if intStringLen < 0 { |
| 9665 |
return ErrInvalidLengthGenerated |
| 9666 |
} |
| 9667 |
postIndex := iNdEx + intStringLen |
| 9668 |
if postIndex < 0 { |
| 9669 |
return ErrInvalidLengthGenerated |
| 9670 |
} |
| 9671 |
if postIndex > l { |
| 9672 |
return io.ErrUnexpectedEOF |
| 9673 |
} |
| 9674 |
m.Name = string(dAtA[iNdEx:postIndex]) |
| 9675 |
iNdEx = postIndex |
| 9676 |
case 4: |
| 9677 |
if wireType != 2 { |
| 9678 |
return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType) |
| 9679 |
} |
| 9680 |
var stringLen uint64 |
| 9681 |
for shift := uint(0); ; shift += 7 { |
| 9682 |
if shift >= 64 { |
| 9683 |
return ErrIntOverflowGenerated |
| 9684 |
} |
| 9685 |
if iNdEx >= l { |
| 9686 |
return io.ErrUnexpectedEOF |
| 9687 |
} |
| 9688 |
b := dAtA[iNdEx] |
| 9689 |
iNdEx++ |
| 9690 |
stringLen |= uint64(b&0x7F) << shift |
| 9691 |
if b < 0x80 { |
| 9692 |
break |
| 9693 |
} |
| 9694 |
} |
| 9695 |
intStringLen := int(stringLen) |
| 9696 |
if intStringLen < 0 { |
| 9697 |
return ErrInvalidLengthGenerated |
| 9698 |
} |
| 9699 |
postIndex := iNdEx + intStringLen |
| 9700 |
if postIndex < 0 { |
| 9701 |
return ErrInvalidLengthGenerated |
| 9702 |
} |
| 9703 |
if postIndex > l { |
| 9704 |
return io.ErrUnexpectedEOF |
| 9705 |
} |
| 9706 |
m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex]) |
| 9707 |
iNdEx = postIndex |
| 9708 |
case 5: |
| 9709 |
if wireType != 2 { |
| 9710 |
return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType) |
| 9711 |
} |
| 9712 |
var stringLen uint64 |
| 9713 |
for shift := uint(0); ; shift += 7 { |
| 9714 |
if shift >= 64 { |
| 9715 |
return ErrIntOverflowGenerated |
| 9716 |
} |
| 9717 |
if iNdEx >= l { |
| 9718 |
return io.ErrUnexpectedEOF |
| 9719 |
} |
| 9720 |
b := dAtA[iNdEx] |
| 9721 |
iNdEx++ |
| 9722 |
stringLen |= uint64(b&0x7F) << shift |
| 9723 |
if b < 0x80 { |
| 9724 |
break |
| 9725 |
} |
| 9726 |
} |
| 9727 |
intStringLen := int(stringLen) |
| 9728 |
if intStringLen < 0 { |
| 9729 |
return ErrInvalidLengthGenerated |
| 9730 |
} |
| 9731 |
postIndex := iNdEx + intStringLen |
| 9732 |
if postIndex < 0 { |
| 9733 |
return ErrInvalidLengthGenerated |
| 9734 |
} |
| 9735 |
if postIndex > l { |
| 9736 |
return io.ErrUnexpectedEOF |
| 9737 |
} |
| 9738 |
m.APIVersion = string(dAtA[iNdEx:postIndex]) |
| 9739 |
iNdEx = postIndex |
| 9740 |
case 6: |
| 9741 |
if wireType != 0 { |
| 9742 |
return fmt.Errorf("proto: wrong wireType = %d for field Controller", wireType) |
| 9743 |
} |
| 9744 |
var v int |
| 9745 |
for shift := uint(0); ; shift += 7 { |
| 9746 |
if shift >= 64 { |
| 9747 |
return ErrIntOverflowGenerated |
| 9748 |
} |
| 9749 |
if iNdEx >= l { |
| 9750 |
return io.ErrUnexpectedEOF |
| 9751 |
} |
| 9752 |
b := dAtA[iNdEx] |
| 9753 |
iNdEx++ |
| 9754 |
v |= int(b&0x7F) << shift |
| 9755 |
if b < 0x80 { |
| 9756 |
break |
| 9757 |
} |
| 9758 |
} |
| 9759 |
b := bool(v != 0) |
| 9760 |
m.Controller = &b |
| 9761 |
case 7: |
| 9762 |
if wireType != 0 { |
| 9763 |
return fmt.Errorf("proto: wrong wireType = %d for field BlockOwnerDeletion", wireType) |
| 9764 |
} |
| 9765 |
var v int |
| 9766 |
for shift := uint(0); ; shift += 7 { |
| 9767 |
if shift >= 64 { |
| 9768 |
return ErrIntOverflowGenerated |
| 9769 |
} |
| 9770 |
if iNdEx >= l { |
| 9771 |
return io.ErrUnexpectedEOF |
| 9772 |
} |
| 9773 |
b := dAtA[iNdEx] |
| 9774 |
iNdEx++ |
| 9775 |
v |= int(b&0x7F) << shift |
| 9776 |
if b < 0x80 { |
| 9777 |
break |
| 9778 |
} |
| 9779 |
} |
| 9780 |
b := bool(v != 0) |
| 9781 |
m.BlockOwnerDeletion = &b |
| 9782 |
default: |
| 9783 |
iNdEx = preIndex |
| 9784 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 9785 |
if err != nil { |
| 9786 |
return err |
| 9787 |
} |
| 9788 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 9789 |
return ErrInvalidLengthGenerated |
| 9790 |
} |
| 9791 |
if (iNdEx + skippy) > l { |
| 9792 |
return io.ErrUnexpectedEOF |
| 9793 |
} |
| 9794 |
iNdEx += skippy |
| 9795 |
} |
| 9796 |
} |
| 9797 |
|
| 9798 |
if iNdEx > l { |
| 9799 |
return io.ErrUnexpectedEOF |
| 9800 |
} |
| 9801 |
return nil |
| 9802 |
} |
| 9803 |
func (m *PartialObjectMetadata) Unmarshal(dAtA []byte) error { |
| 9804 |
l := len(dAtA) |
| 9805 |
iNdEx := 0 |
| 9806 |
for iNdEx < l { |
| 9807 |
preIndex := iNdEx |
| 9808 |
var wire uint64 |
| 9809 |
for shift := uint(0); ; shift += 7 { |
| 9810 |
if shift >= 64 { |
| 9811 |
return ErrIntOverflowGenerated |
| 9812 |
} |
| 9813 |
if iNdEx >= l { |
| 9814 |
return io.ErrUnexpectedEOF |
| 9815 |
} |
| 9816 |
b := dAtA[iNdEx] |
| 9817 |
iNdEx++ |
| 9818 |
wire |= uint64(b&0x7F) << shift |
| 9819 |
if b < 0x80 { |
| 9820 |
break |
| 9821 |
} |
| 9822 |
} |
| 9823 |
fieldNum := int32(wire >> 3) |
| 9824 |
wireType := int(wire & 0x7) |
| 9825 |
if wireType == 4 { |
| 9826 |
return fmt.Errorf("proto: PartialObjectMetadata: wiretype end group for non-group") |
| 9827 |
} |
| 9828 |
if fieldNum <= 0 { |
| 9829 |
return fmt.Errorf("proto: PartialObjectMetadata: illegal tag %d (wire type %d)", fieldNum, wire) |
| 9830 |
} |
| 9831 |
switch fieldNum { |
| 9832 |
case 1: |
| 9833 |
if wireType != 2 { |
| 9834 |
return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 9835 |
} |
| 9836 |
var msglen int |
| 9837 |
for shift := uint(0); ; shift += 7 { |
| 9838 |
if shift >= 64 { |
| 9839 |
return ErrIntOverflowGenerated |
| 9840 |
} |
| 9841 |
if iNdEx >= l { |
| 9842 |
return io.ErrUnexpectedEOF |
| 9843 |
} |
| 9844 |
b := dAtA[iNdEx] |
| 9845 |
iNdEx++ |
| 9846 |
msglen |= int(b&0x7F) << shift |
| 9847 |
if b < 0x80 { |
| 9848 |
break |
| 9849 |
} |
| 9850 |
} |
| 9851 |
if msglen < 0 { |
| 9852 |
return ErrInvalidLengthGenerated |
| 9853 |
} |
| 9854 |
postIndex := iNdEx + msglen |
| 9855 |
if postIndex < 0 { |
| 9856 |
return ErrInvalidLengthGenerated |
| 9857 |
} |
| 9858 |
if postIndex > l { |
| 9859 |
return io.ErrUnexpectedEOF |
| 9860 |
} |
| 9861 |
if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9862 |
return err |
| 9863 |
} |
| 9864 |
iNdEx = postIndex |
| 9865 |
default: |
| 9866 |
iNdEx = preIndex |
| 9867 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 9868 |
if err != nil { |
| 9869 |
return err |
| 9870 |
} |
| 9871 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 9872 |
return ErrInvalidLengthGenerated |
| 9873 |
} |
| 9874 |
if (iNdEx + skippy) > l { |
| 9875 |
return io.ErrUnexpectedEOF |
| 9876 |
} |
| 9877 |
iNdEx += skippy |
| 9878 |
} |
| 9879 |
} |
| 9880 |
|
| 9881 |
if iNdEx > l { |
| 9882 |
return io.ErrUnexpectedEOF |
| 9883 |
} |
| 9884 |
return nil |
| 9885 |
} |
| 9886 |
func (m *PartialObjectMetadataList) Unmarshal(dAtA []byte) error { |
| 9887 |
l := len(dAtA) |
| 9888 |
iNdEx := 0 |
| 9889 |
for iNdEx < l { |
| 9890 |
preIndex := iNdEx |
| 9891 |
var wire uint64 |
| 9892 |
for shift := uint(0); ; shift += 7 { |
| 9893 |
if shift >= 64 { |
| 9894 |
return ErrIntOverflowGenerated |
| 9895 |
} |
| 9896 |
if iNdEx >= l { |
| 9897 |
return io.ErrUnexpectedEOF |
| 9898 |
} |
| 9899 |
b := dAtA[iNdEx] |
| 9900 |
iNdEx++ |
| 9901 |
wire |= uint64(b&0x7F) << shift |
| 9902 |
if b < 0x80 { |
| 9903 |
break |
| 9904 |
} |
| 9905 |
} |
| 9906 |
fieldNum := int32(wire >> 3) |
| 9907 |
wireType := int(wire & 0x7) |
| 9908 |
if wireType == 4 { |
| 9909 |
return fmt.Errorf("proto: PartialObjectMetadataList: wiretype end group for non-group") |
| 9910 |
} |
| 9911 |
if fieldNum <= 0 { |
| 9912 |
return fmt.Errorf("proto: PartialObjectMetadataList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 9913 |
} |
| 9914 |
switch fieldNum { |
| 9915 |
case 1: |
| 9916 |
if wireType != 2 { |
| 9917 |
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 9918 |
} |
| 9919 |
var msglen int |
| 9920 |
for shift := uint(0); ; shift += 7 { |
| 9921 |
if shift >= 64 { |
| 9922 |
return ErrIntOverflowGenerated |
| 9923 |
} |
| 9924 |
if iNdEx >= l { |
| 9925 |
return io.ErrUnexpectedEOF |
| 9926 |
} |
| 9927 |
b := dAtA[iNdEx] |
| 9928 |
iNdEx++ |
| 9929 |
msglen |= int(b&0x7F) << shift |
| 9930 |
if b < 0x80 { |
| 9931 |
break |
| 9932 |
} |
| 9933 |
} |
| 9934 |
if msglen < 0 { |
| 9935 |
return ErrInvalidLengthGenerated |
| 9936 |
} |
| 9937 |
postIndex := iNdEx + msglen |
| 9938 |
if postIndex < 0 { |
| 9939 |
return ErrInvalidLengthGenerated |
| 9940 |
} |
| 9941 |
if postIndex > l { |
| 9942 |
return io.ErrUnexpectedEOF |
| 9943 |
} |
| 9944 |
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9945 |
return err |
| 9946 |
} |
| 9947 |
iNdEx = postIndex |
| 9948 |
case 2: |
| 9949 |
if wireType != 2 { |
| 9950 |
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 9951 |
} |
| 9952 |
var msglen int |
| 9953 |
for shift := uint(0); ; shift += 7 { |
| 9954 |
if shift >= 64 { |
| 9955 |
return ErrIntOverflowGenerated |
| 9956 |
} |
| 9957 |
if iNdEx >= l { |
| 9958 |
return io.ErrUnexpectedEOF |
| 9959 |
} |
| 9960 |
b := dAtA[iNdEx] |
| 9961 |
iNdEx++ |
| 9962 |
msglen |= int(b&0x7F) << shift |
| 9963 |
if b < 0x80 { |
| 9964 |
break |
| 9965 |
} |
| 9966 |
} |
| 9967 |
if msglen < 0 { |
| 9968 |
return ErrInvalidLengthGenerated |
| 9969 |
} |
| 9970 |
postIndex := iNdEx + msglen |
| 9971 |
if postIndex < 0 { |
| 9972 |
return ErrInvalidLengthGenerated |
| 9973 |
} |
| 9974 |
if postIndex > l { |
| 9975 |
return io.ErrUnexpectedEOF |
| 9976 |
} |
| 9977 |
m.Items = append(m.Items, PartialObjectMetadata{}) |
| 9978 |
if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 9979 |
return err |
| 9980 |
} |
| 9981 |
iNdEx = postIndex |
| 9982 |
default: |
| 9983 |
iNdEx = preIndex |
| 9984 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 9985 |
if err != nil { |
| 9986 |
return err |
| 9987 |
} |
| 9988 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 9989 |
return ErrInvalidLengthGenerated |
| 9990 |
} |
| 9991 |
if (iNdEx + skippy) > l { |
| 9992 |
return io.ErrUnexpectedEOF |
| 9993 |
} |
| 9994 |
iNdEx += skippy |
| 9995 |
} |
| 9996 |
} |
| 9997 |
|
| 9998 |
if iNdEx > l { |
| 9999 |
return io.ErrUnexpectedEOF |
| 10000 |
} |
| 10001 |
return nil |
| 10002 |
} |
| 10003 |
func (m *Patch) Unmarshal(dAtA []byte) error { |
| 10004 |
l := len(dAtA) |
| 10005 |
iNdEx := 0 |
| 10006 |
for iNdEx < l { |
| 10007 |
preIndex := iNdEx |
| 10008 |
var wire uint64 |
| 10009 |
for shift := uint(0); ; shift += 7 { |
| 10010 |
if shift >= 64 { |
| 10011 |
return ErrIntOverflowGenerated |
| 10012 |
} |
| 10013 |
if iNdEx >= l { |
| 10014 |
return io.ErrUnexpectedEOF |
| 10015 |
} |
| 10016 |
b := dAtA[iNdEx] |
| 10017 |
iNdEx++ |
| 10018 |
wire |= uint64(b&0x7F) << shift |
| 10019 |
if b < 0x80 { |
| 10020 |
break |
| 10021 |
} |
| 10022 |
} |
| 10023 |
fieldNum := int32(wire >> 3) |
| 10024 |
wireType := int(wire & 0x7) |
| 10025 |
if wireType == 4 { |
| 10026 |
return fmt.Errorf("proto: Patch: wiretype end group for non-group") |
| 10027 |
} |
| 10028 |
if fieldNum <= 0 { |
| 10029 |
return fmt.Errorf("proto: Patch: illegal tag %d (wire type %d)", fieldNum, wire) |
| 10030 |
} |
| 10031 |
switch fieldNum { |
| 10032 |
default: |
| 10033 |
iNdEx = preIndex |
| 10034 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 10035 |
if err != nil { |
| 10036 |
return err |
| 10037 |
} |
| 10038 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 10039 |
return ErrInvalidLengthGenerated |
| 10040 |
} |
| 10041 |
if (iNdEx + skippy) > l { |
| 10042 |
return io.ErrUnexpectedEOF |
| 10043 |
} |
| 10044 |
iNdEx += skippy |
| 10045 |
} |
| 10046 |
} |
| 10047 |
|
| 10048 |
if iNdEx > l { |
| 10049 |
return io.ErrUnexpectedEOF |
| 10050 |
} |
| 10051 |
return nil |
| 10052 |
} |
| 10053 |
func (m *PatchOptions) Unmarshal(dAtA []byte) error { |
| 10054 |
l := len(dAtA) |
| 10055 |
iNdEx := 0 |
| 10056 |
for iNdEx < l { |
| 10057 |
preIndex := iNdEx |
| 10058 |
var wire uint64 |
| 10059 |
for shift := uint(0); ; shift += 7 { |
| 10060 |
if shift >= 64 { |
| 10061 |
return ErrIntOverflowGenerated |
| 10062 |
} |
| 10063 |
if iNdEx >= l { |
| 10064 |
return io.ErrUnexpectedEOF |
| 10065 |
} |
| 10066 |
b := dAtA[iNdEx] |
| 10067 |
iNdEx++ |
| 10068 |
wire |= uint64(b&0x7F) << shift |
| 10069 |
if b < 0x80 { |
| 10070 |
break |
| 10071 |
} |
| 10072 |
} |
| 10073 |
fieldNum := int32(wire >> 3) |
| 10074 |
wireType := int(wire & 0x7) |
| 10075 |
if wireType == 4 { |
| 10076 |
return fmt.Errorf("proto: PatchOptions: wiretype end group for non-group") |
| 10077 |
} |
| 10078 |
if fieldNum <= 0 { |
| 10079 |
return fmt.Errorf("proto: PatchOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 10080 |
} |
| 10081 |
switch fieldNum { |
| 10082 |
case 1: |
| 10083 |
if wireType != 2 { |
| 10084 |
return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) |
| 10085 |
} |
| 10086 |
var stringLen uint64 |
| 10087 |
for shift := uint(0); ; shift += 7 { |
| 10088 |
if shift >= 64 { |
| 10089 |
return ErrIntOverflowGenerated |
| 10090 |
} |
| 10091 |
if iNdEx >= l { |
| 10092 |
return io.ErrUnexpectedEOF |
| 10093 |
} |
| 10094 |
b := dAtA[iNdEx] |
| 10095 |
iNdEx++ |
| 10096 |
stringLen |= uint64(b&0x7F) << shift |
| 10097 |
if b < 0x80 { |
| 10098 |
break |
| 10099 |
} |
| 10100 |
} |
| 10101 |
intStringLen := int(stringLen) |
| 10102 |
if intStringLen < 0 { |
| 10103 |
return ErrInvalidLengthGenerated |
| 10104 |
} |
| 10105 |
postIndex := iNdEx + intStringLen |
| 10106 |
if postIndex < 0 { |
| 10107 |
return ErrInvalidLengthGenerated |
| 10108 |
} |
| 10109 |
if postIndex > l { |
| 10110 |
return io.ErrUnexpectedEOF |
| 10111 |
} |
| 10112 |
m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex])) |
| 10113 |
iNdEx = postIndex |
| 10114 |
case 2: |
| 10115 |
if wireType != 0 { |
| 10116 |
return fmt.Errorf("proto: wrong wireType = %d for field Force", wireType) |
| 10117 |
} |
| 10118 |
var v int |
| 10119 |
for shift := uint(0); ; shift += 7 { |
| 10120 |
if shift >= 64 { |
| 10121 |
return ErrIntOverflowGenerated |
| 10122 |
} |
| 10123 |
if iNdEx >= l { |
| 10124 |
return io.ErrUnexpectedEOF |
| 10125 |
} |
| 10126 |
b := dAtA[iNdEx] |
| 10127 |
iNdEx++ |
| 10128 |
v |= int(b&0x7F) << shift |
| 10129 |
if b < 0x80 { |
| 10130 |
break |
| 10131 |
} |
| 10132 |
} |
| 10133 |
b := bool(v != 0) |
| 10134 |
m.Force = &b |
| 10135 |
case 3: |
| 10136 |
if wireType != 2 { |
| 10137 |
return fmt.Errorf("proto: wrong wireType = %d for field FieldManager", wireType) |
| 10138 |
} |
| 10139 |
var stringLen uint64 |
| 10140 |
for shift := uint(0); ; shift += 7 { |
| 10141 |
if shift >= 64 { |
| 10142 |
return ErrIntOverflowGenerated |
| 10143 |
} |
| 10144 |
if iNdEx >= l { |
| 10145 |
return io.ErrUnexpectedEOF |
| 10146 |
} |
| 10147 |
b := dAtA[iNdEx] |
| 10148 |
iNdEx++ |
| 10149 |
stringLen |= uint64(b&0x7F) << shift |
| 10150 |
if b < 0x80 { |
| 10151 |
break |
| 10152 |
} |
| 10153 |
} |
| 10154 |
intStringLen := int(stringLen) |
| 10155 |
if intStringLen < 0 { |
| 10156 |
return ErrInvalidLengthGenerated |
| 10157 |
} |
| 10158 |
postIndex := iNdEx + intStringLen |
| 10159 |
if postIndex < 0 { |
| 10160 |
return ErrInvalidLengthGenerated |
| 10161 |
} |
| 10162 |
if postIndex > l { |
| 10163 |
return io.ErrUnexpectedEOF |
| 10164 |
} |
| 10165 |
m.FieldManager = string(dAtA[iNdEx:postIndex]) |
| 10166 |
iNdEx = postIndex |
| 10167 |
case 4: |
| 10168 |
if wireType != 2 { |
| 10169 |
return fmt.Errorf("proto: wrong wireType = %d for field FieldValidation", wireType) |
| 10170 |
} |
| 10171 |
var stringLen uint64 |
| 10172 |
for shift := uint(0); ; shift += 7 { |
| 10173 |
if shift >= 64 { |
| 10174 |
return ErrIntOverflowGenerated |
| 10175 |
} |
| 10176 |
if iNdEx >= l { |
| 10177 |
return io.ErrUnexpectedEOF |
| 10178 |
} |
| 10179 |
b := dAtA[iNdEx] |
| 10180 |
iNdEx++ |
| 10181 |
stringLen |= uint64(b&0x7F) << shift |
| 10182 |
if b < 0x80 { |
| 10183 |
break |
| 10184 |
} |
| 10185 |
} |
| 10186 |
intStringLen := int(stringLen) |
| 10187 |
if intStringLen < 0 { |
| 10188 |
return ErrInvalidLengthGenerated |
| 10189 |
} |
| 10190 |
postIndex := iNdEx + intStringLen |
| 10191 |
if postIndex < 0 { |
| 10192 |
return ErrInvalidLengthGenerated |
| 10193 |
} |
| 10194 |
if postIndex > l { |
| 10195 |
return io.ErrUnexpectedEOF |
| 10196 |
} |
| 10197 |
m.FieldValidation = string(dAtA[iNdEx:postIndex]) |
| 10198 |
iNdEx = postIndex |
| 10199 |
default: |
| 10200 |
iNdEx = preIndex |
| 10201 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 10202 |
if err != nil { |
| 10203 |
return err |
| 10204 |
} |
| 10205 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 10206 |
return ErrInvalidLengthGenerated |
| 10207 |
} |
| 10208 |
if (iNdEx + skippy) > l { |
| 10209 |
return io.ErrUnexpectedEOF |
| 10210 |
} |
| 10211 |
iNdEx += skippy |
| 10212 |
} |
| 10213 |
} |
| 10214 |
|
| 10215 |
if iNdEx > l { |
| 10216 |
return io.ErrUnexpectedEOF |
| 10217 |
} |
| 10218 |
return nil |
| 10219 |
} |
| 10220 |
func (m *Preconditions) Unmarshal(dAtA []byte) error { |
| 10221 |
l := len(dAtA) |
| 10222 |
iNdEx := 0 |
| 10223 |
for iNdEx < l { |
| 10224 |
preIndex := iNdEx |
| 10225 |
var wire uint64 |
| 10226 |
for shift := uint(0); ; shift += 7 { |
| 10227 |
if shift >= 64 { |
| 10228 |
return ErrIntOverflowGenerated |
| 10229 |
} |
| 10230 |
if iNdEx >= l { |
| 10231 |
return io.ErrUnexpectedEOF |
| 10232 |
} |
| 10233 |
b := dAtA[iNdEx] |
| 10234 |
iNdEx++ |
| 10235 |
wire |= uint64(b&0x7F) << shift |
| 10236 |
if b < 0x80 { |
| 10237 |
break |
| 10238 |
} |
| 10239 |
} |
| 10240 |
fieldNum := int32(wire >> 3) |
| 10241 |
wireType := int(wire & 0x7) |
| 10242 |
if wireType == 4 { |
| 10243 |
return fmt.Errorf("proto: Preconditions: wiretype end group for non-group") |
| 10244 |
} |
| 10245 |
if fieldNum <= 0 { |
| 10246 |
return fmt.Errorf("proto: Preconditions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 10247 |
} |
| 10248 |
switch fieldNum { |
| 10249 |
case 1: |
| 10250 |
if wireType != 2 { |
| 10251 |
return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType) |
| 10252 |
} |
| 10253 |
var stringLen uint64 |
| 10254 |
for shift := uint(0); ; shift += 7 { |
| 10255 |
if shift >= 64 { |
| 10256 |
return ErrIntOverflowGenerated |
| 10257 |
} |
| 10258 |
if iNdEx >= l { |
| 10259 |
return io.ErrUnexpectedEOF |
| 10260 |
} |
| 10261 |
b := dAtA[iNdEx] |
| 10262 |
iNdEx++ |
| 10263 |
stringLen |= uint64(b&0x7F) << shift |
| 10264 |
if b < 0x80 { |
| 10265 |
break |
| 10266 |
} |
| 10267 |
} |
| 10268 |
intStringLen := int(stringLen) |
| 10269 |
if intStringLen < 0 { |
| 10270 |
return ErrInvalidLengthGenerated |
| 10271 |
} |
| 10272 |
postIndex := iNdEx + intStringLen |
| 10273 |
if postIndex < 0 { |
| 10274 |
return ErrInvalidLengthGenerated |
| 10275 |
} |
| 10276 |
if postIndex > l { |
| 10277 |
return io.ErrUnexpectedEOF |
| 10278 |
} |
| 10279 |
s := k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex]) |
| 10280 |
m.UID = &s |
| 10281 |
iNdEx = postIndex |
| 10282 |
case 2: |
| 10283 |
if wireType != 2 { |
| 10284 |
return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType) |
| 10285 |
} |
| 10286 |
var stringLen uint64 |
| 10287 |
for shift := uint(0); ; shift += 7 { |
| 10288 |
if shift >= 64 { |
| 10289 |
return ErrIntOverflowGenerated |
| 10290 |
} |
| 10291 |
if iNdEx >= l { |
| 10292 |
return io.ErrUnexpectedEOF |
| 10293 |
} |
| 10294 |
b := dAtA[iNdEx] |
| 10295 |
iNdEx++ |
| 10296 |
stringLen |= uint64(b&0x7F) << shift |
| 10297 |
if b < 0x80 { |
| 10298 |
break |
| 10299 |
} |
| 10300 |
} |
| 10301 |
intStringLen := int(stringLen) |
| 10302 |
if intStringLen < 0 { |
| 10303 |
return ErrInvalidLengthGenerated |
| 10304 |
} |
| 10305 |
postIndex := iNdEx + intStringLen |
| 10306 |
if postIndex < 0 { |
| 10307 |
return ErrInvalidLengthGenerated |
| 10308 |
} |
| 10309 |
if postIndex > l { |
| 10310 |
return io.ErrUnexpectedEOF |
| 10311 |
} |
| 10312 |
s := string(dAtA[iNdEx:postIndex]) |
| 10313 |
m.ResourceVersion = &s |
| 10314 |
iNdEx = postIndex |
| 10315 |
default: |
| 10316 |
iNdEx = preIndex |
| 10317 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 10318 |
if err != nil { |
| 10319 |
return err |
| 10320 |
} |
| 10321 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 10322 |
return ErrInvalidLengthGenerated |
| 10323 |
} |
| 10324 |
if (iNdEx + skippy) > l { |
| 10325 |
return io.ErrUnexpectedEOF |
| 10326 |
} |
| 10327 |
iNdEx += skippy |
| 10328 |
} |
| 10329 |
} |
| 10330 |
|
| 10331 |
if iNdEx > l { |
| 10332 |
return io.ErrUnexpectedEOF |
| 10333 |
} |
| 10334 |
return nil |
| 10335 |
} |
| 10336 |
func (m *RootPaths) Unmarshal(dAtA []byte) error { |
| 10337 |
l := len(dAtA) |
| 10338 |
iNdEx := 0 |
| 10339 |
for iNdEx < l { |
| 10340 |
preIndex := iNdEx |
| 10341 |
var wire uint64 |
| 10342 |
for shift := uint(0); ; shift += 7 { |
| 10343 |
if shift >= 64 { |
| 10344 |
return ErrIntOverflowGenerated |
| 10345 |
} |
| 10346 |
if iNdEx >= l { |
| 10347 |
return io.ErrUnexpectedEOF |
| 10348 |
} |
| 10349 |
b := dAtA[iNdEx] |
| 10350 |
iNdEx++ |
| 10351 |
wire |= uint64(b&0x7F) << shift |
| 10352 |
if b < 0x80 { |
| 10353 |
break |
| 10354 |
} |
| 10355 |
} |
| 10356 |
fieldNum := int32(wire >> 3) |
| 10357 |
wireType := int(wire & 0x7) |
| 10358 |
if wireType == 4 { |
| 10359 |
return fmt.Errorf("proto: RootPaths: wiretype end group for non-group") |
| 10360 |
} |
| 10361 |
if fieldNum <= 0 { |
| 10362 |
return fmt.Errorf("proto: RootPaths: illegal tag %d (wire type %d)", fieldNum, wire) |
| 10363 |
} |
| 10364 |
switch fieldNum { |
| 10365 |
case 1: |
| 10366 |
if wireType != 2 { |
| 10367 |
return fmt.Errorf("proto: wrong wireType = %d for field Paths", wireType) |
| 10368 |
} |
| 10369 |
var stringLen uint64 |
| 10370 |
for shift := uint(0); ; shift += 7 { |
| 10371 |
if shift >= 64 { |
| 10372 |
return ErrIntOverflowGenerated |
| 10373 |
} |
| 10374 |
if iNdEx >= l { |
| 10375 |
return io.ErrUnexpectedEOF |
| 10376 |
} |
| 10377 |
b := dAtA[iNdEx] |
| 10378 |
iNdEx++ |
| 10379 |
stringLen |= uint64(b&0x7F) << shift |
| 10380 |
if b < 0x80 { |
| 10381 |
break |
| 10382 |
} |
| 10383 |
} |
| 10384 |
intStringLen := int(stringLen) |
| 10385 |
if intStringLen < 0 { |
| 10386 |
return ErrInvalidLengthGenerated |
| 10387 |
} |
| 10388 |
postIndex := iNdEx + intStringLen |
| 10389 |
if postIndex < 0 { |
| 10390 |
return ErrInvalidLengthGenerated |
| 10391 |
} |
| 10392 |
if postIndex > l { |
| 10393 |
return io.ErrUnexpectedEOF |
| 10394 |
} |
| 10395 |
m.Paths = append(m.Paths, string(dAtA[iNdEx:postIndex])) |
| 10396 |
iNdEx = postIndex |
| 10397 |
default: |
| 10398 |
iNdEx = preIndex |
| 10399 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 10400 |
if err != nil { |
| 10401 |
return err |
| 10402 |
} |
| 10403 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 10404 |
return ErrInvalidLengthGenerated |
| 10405 |
} |
| 10406 |
if (iNdEx + skippy) > l { |
| 10407 |
return io.ErrUnexpectedEOF |
| 10408 |
} |
| 10409 |
iNdEx += skippy |
| 10410 |
} |
| 10411 |
} |
| 10412 |
|
| 10413 |
if iNdEx > l { |
| 10414 |
return io.ErrUnexpectedEOF |
| 10415 |
} |
| 10416 |
return nil |
| 10417 |
} |
| 10418 |
func (m *ServerAddressByClientCIDR) Unmarshal(dAtA []byte) error { |
| 10419 |
l := len(dAtA) |
| 10420 |
iNdEx := 0 |
| 10421 |
for iNdEx < l { |
| 10422 |
preIndex := iNdEx |
| 10423 |
var wire uint64 |
| 10424 |
for shift := uint(0); ; shift += 7 { |
| 10425 |
if shift >= 64 { |
| 10426 |
return ErrIntOverflowGenerated |
| 10427 |
} |
| 10428 |
if iNdEx >= l { |
| 10429 |
return io.ErrUnexpectedEOF |
| 10430 |
} |
| 10431 |
b := dAtA[iNdEx] |
| 10432 |
iNdEx++ |
| 10433 |
wire |= uint64(b&0x7F) << shift |
| 10434 |
if b < 0x80 { |
| 10435 |
break |
| 10436 |
} |
| 10437 |
} |
| 10438 |
fieldNum := int32(wire >> 3) |
| 10439 |
wireType := int(wire & 0x7) |
| 10440 |
if wireType == 4 { |
| 10441 |
return fmt.Errorf("proto: ServerAddressByClientCIDR: wiretype end group for non-group") |
| 10442 |
} |
| 10443 |
if fieldNum <= 0 { |
| 10444 |
return fmt.Errorf("proto: ServerAddressByClientCIDR: illegal tag %d (wire type %d)", fieldNum, wire) |
| 10445 |
} |
| 10446 |
switch fieldNum { |
| 10447 |
case 1: |
| 10448 |
if wireType != 2 { |
| 10449 |
return fmt.Errorf("proto: wrong wireType = %d for field ClientCIDR", wireType) |
| 10450 |
} |
| 10451 |
var stringLen uint64 |
| 10452 |
for shift := uint(0); ; shift += 7 { |
| 10453 |
if shift >= 64 { |
| 10454 |
return ErrIntOverflowGenerated |
| 10455 |
} |
| 10456 |
if iNdEx >= l { |
| 10457 |
return io.ErrUnexpectedEOF |
| 10458 |
} |
| 10459 |
b := dAtA[iNdEx] |
| 10460 |
iNdEx++ |
| 10461 |
stringLen |= uint64(b&0x7F) << shift |
| 10462 |
if b < 0x80 { |
| 10463 |
break |
| 10464 |
} |
| 10465 |
} |
| 10466 |
intStringLen := int(stringLen) |
| 10467 |
if intStringLen < 0 { |
| 10468 |
return ErrInvalidLengthGenerated |
| 10469 |
} |
| 10470 |
postIndex := iNdEx + intStringLen |
| 10471 |
if postIndex < 0 { |
| 10472 |
return ErrInvalidLengthGenerated |
| 10473 |
} |
| 10474 |
if postIndex > l { |
| 10475 |
return io.ErrUnexpectedEOF |
| 10476 |
} |
| 10477 |
m.ClientCIDR = string(dAtA[iNdEx:postIndex]) |
| 10478 |
iNdEx = postIndex |
| 10479 |
case 2: |
| 10480 |
if wireType != 2 { |
| 10481 |
return fmt.Errorf("proto: wrong wireType = %d for field ServerAddress", wireType) |
| 10482 |
} |
| 10483 |
var stringLen uint64 |
| 10484 |
for shift := uint(0); ; shift += 7 { |
| 10485 |
if shift >= 64 { |
| 10486 |
return ErrIntOverflowGenerated |
| 10487 |
} |
| 10488 |
if iNdEx >= l { |
| 10489 |
return io.ErrUnexpectedEOF |
| 10490 |
} |
| 10491 |
b := dAtA[iNdEx] |
| 10492 |
iNdEx++ |
| 10493 |
stringLen |= uint64(b&0x7F) << shift |
| 10494 |
if b < 0x80 { |
| 10495 |
break |
| 10496 |
} |
| 10497 |
} |
| 10498 |
intStringLen := int(stringLen) |
| 10499 |
if intStringLen < 0 { |
| 10500 |
return ErrInvalidLengthGenerated |
| 10501 |
} |
| 10502 |
postIndex := iNdEx + intStringLen |
| 10503 |
if postIndex < 0 { |
| 10504 |
return ErrInvalidLengthGenerated |
| 10505 |
} |
| 10506 |
if postIndex > l { |
| 10507 |
return io.ErrUnexpectedEOF |
| 10508 |
} |
| 10509 |
m.ServerAddress = string(dAtA[iNdEx:postIndex]) |
| 10510 |
iNdEx = postIndex |
| 10511 |
default: |
| 10512 |
iNdEx = preIndex |
| 10513 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 10514 |
if err != nil { |
| 10515 |
return err |
| 10516 |
} |
| 10517 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 10518 |
return ErrInvalidLengthGenerated |
| 10519 |
} |
| 10520 |
if (iNdEx + skippy) > l { |
| 10521 |
return io.ErrUnexpectedEOF |
| 10522 |
} |
| 10523 |
iNdEx += skippy |
| 10524 |
} |
| 10525 |
} |
| 10526 |
|
| 10527 |
if iNdEx > l { |
| 10528 |
return io.ErrUnexpectedEOF |
| 10529 |
} |
| 10530 |
return nil |
| 10531 |
} |
| 10532 |
func (m *Status) Unmarshal(dAtA []byte) error { |
| 10533 |
l := len(dAtA) |
| 10534 |
iNdEx := 0 |
| 10535 |
for iNdEx < l { |
| 10536 |
preIndex := iNdEx |
| 10537 |
var wire uint64 |
| 10538 |
for shift := uint(0); ; shift += 7 { |
| 10539 |
if shift >= 64 { |
| 10540 |
return ErrIntOverflowGenerated |
| 10541 |
} |
| 10542 |
if iNdEx >= l { |
| 10543 |
return io.ErrUnexpectedEOF |
| 10544 |
} |
| 10545 |
b := dAtA[iNdEx] |
| 10546 |
iNdEx++ |
| 10547 |
wire |= uint64(b&0x7F) << shift |
| 10548 |
if b < 0x80 { |
| 10549 |
break |
| 10550 |
} |
| 10551 |
} |
| 10552 |
fieldNum := int32(wire >> 3) |
| 10553 |
wireType := int(wire & 0x7) |
| 10554 |
if wireType == 4 { |
| 10555 |
return fmt.Errorf("proto: Status: wiretype end group for non-group") |
| 10556 |
} |
| 10557 |
if fieldNum <= 0 { |
| 10558 |
return fmt.Errorf("proto: Status: illegal tag %d (wire type %d)", fieldNum, wire) |
| 10559 |
} |
| 10560 |
switch fieldNum { |
| 10561 |
case 1: |
| 10562 |
if wireType != 2 { |
| 10563 |
return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 10564 |
} |
| 10565 |
var msglen int |
| 10566 |
for shift := uint(0); ; shift += 7 { |
| 10567 |
if shift >= 64 { |
| 10568 |
return ErrIntOverflowGenerated |
| 10569 |
} |
| 10570 |
if iNdEx >= l { |
| 10571 |
return io.ErrUnexpectedEOF |
| 10572 |
} |
| 10573 |
b := dAtA[iNdEx] |
| 10574 |
iNdEx++ |
| 10575 |
msglen |= int(b&0x7F) << shift |
| 10576 |
if b < 0x80 { |
| 10577 |
break |
| 10578 |
} |
| 10579 |
} |
| 10580 |
if msglen < 0 { |
| 10581 |
return ErrInvalidLengthGenerated |
| 10582 |
} |
| 10583 |
postIndex := iNdEx + msglen |
| 10584 |
if postIndex < 0 { |
| 10585 |
return ErrInvalidLengthGenerated |
| 10586 |
} |
| 10587 |
if postIndex > l { |
| 10588 |
return io.ErrUnexpectedEOF |
| 10589 |
} |
| 10590 |
if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 10591 |
return err |
| 10592 |
} |
| 10593 |
iNdEx = postIndex |
| 10594 |
case 2: |
| 10595 |
if wireType != 2 { |
| 10596 |
return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| 10597 |
} |
| 10598 |
var stringLen uint64 |
| 10599 |
for shift := uint(0); ; shift += 7 { |
| 10600 |
if shift >= 64 { |
| 10601 |
return ErrIntOverflowGenerated |
| 10602 |
} |
| 10603 |
if iNdEx >= l { |
| 10604 |
return io.ErrUnexpectedEOF |
| 10605 |
} |
| 10606 |
b := dAtA[iNdEx] |
| 10607 |
iNdEx++ |
| 10608 |
stringLen |= uint64(b&0x7F) << shift |
| 10609 |
if b < 0x80 { |
| 10610 |
break |
| 10611 |
} |
| 10612 |
} |
| 10613 |
intStringLen := int(stringLen) |
| 10614 |
if intStringLen < 0 { |
| 10615 |
return ErrInvalidLengthGenerated |
| 10616 |
} |
| 10617 |
postIndex := iNdEx + intStringLen |
| 10618 |
if postIndex < 0 { |
| 10619 |
return ErrInvalidLengthGenerated |
| 10620 |
} |
| 10621 |
if postIndex > l { |
| 10622 |
return io.ErrUnexpectedEOF |
| 10623 |
} |
| 10624 |
m.Status = string(dAtA[iNdEx:postIndex]) |
| 10625 |
iNdEx = postIndex |
| 10626 |
case 3: |
| 10627 |
if wireType != 2 { |
| 10628 |
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) |
| 10629 |
} |
| 10630 |
var stringLen uint64 |
| 10631 |
for shift := uint(0); ; shift += 7 { |
| 10632 |
if shift >= 64 { |
| 10633 |
return ErrIntOverflowGenerated |
| 10634 |
} |
| 10635 |
if iNdEx >= l { |
| 10636 |
return io.ErrUnexpectedEOF |
| 10637 |
} |
| 10638 |
b := dAtA[iNdEx] |
| 10639 |
iNdEx++ |
| 10640 |
stringLen |= uint64(b&0x7F) << shift |
| 10641 |
if b < 0x80 { |
| 10642 |
break |
| 10643 |
} |
| 10644 |
} |
| 10645 |
intStringLen := int(stringLen) |
| 10646 |
if intStringLen < 0 { |
| 10647 |
return ErrInvalidLengthGenerated |
| 10648 |
} |
| 10649 |
postIndex := iNdEx + intStringLen |
| 10650 |
if postIndex < 0 { |
| 10651 |
return ErrInvalidLengthGenerated |
| 10652 |
} |
| 10653 |
if postIndex > l { |
| 10654 |
return io.ErrUnexpectedEOF |
| 10655 |
} |
| 10656 |
m.Message = string(dAtA[iNdEx:postIndex]) |
| 10657 |
iNdEx = postIndex |
| 10658 |
case 4: |
| 10659 |
if wireType != 2 { |
| 10660 |
return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) |
| 10661 |
} |
| 10662 |
var stringLen uint64 |
| 10663 |
for shift := uint(0); ; shift += 7 { |
| 10664 |
if shift >= 64 { |
| 10665 |
return ErrIntOverflowGenerated |
| 10666 |
} |
| 10667 |
if iNdEx >= l { |
| 10668 |
return io.ErrUnexpectedEOF |
| 10669 |
} |
| 10670 |
b := dAtA[iNdEx] |
| 10671 |
iNdEx++ |
| 10672 |
stringLen |= uint64(b&0x7F) << shift |
| 10673 |
if b < 0x80 { |
| 10674 |
break |
| 10675 |
} |
| 10676 |
} |
| 10677 |
intStringLen := int(stringLen) |
| 10678 |
if intStringLen < 0 { |
| 10679 |
return ErrInvalidLengthGenerated |
| 10680 |
} |
| 10681 |
postIndex := iNdEx + intStringLen |
| 10682 |
if postIndex < 0 { |
| 10683 |
return ErrInvalidLengthGenerated |
| 10684 |
} |
| 10685 |
if postIndex > l { |
| 10686 |
return io.ErrUnexpectedEOF |
| 10687 |
} |
| 10688 |
m.Reason = StatusReason(dAtA[iNdEx:postIndex]) |
| 10689 |
iNdEx = postIndex |
| 10690 |
case 5: |
| 10691 |
if wireType != 2 { |
| 10692 |
return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) |
| 10693 |
} |
| 10694 |
var msglen int |
| 10695 |
for shift := uint(0); ; shift += 7 { |
| 10696 |
if shift >= 64 { |
| 10697 |
return ErrIntOverflowGenerated |
| 10698 |
} |
| 10699 |
if iNdEx >= l { |
| 10700 |
return io.ErrUnexpectedEOF |
| 10701 |
} |
| 10702 |
b := dAtA[iNdEx] |
| 10703 |
iNdEx++ |
| 10704 |
msglen |= int(b&0x7F) << shift |
| 10705 |
if b < 0x80 { |
| 10706 |
break |
| 10707 |
} |
| 10708 |
} |
| 10709 |
if msglen < 0 { |
| 10710 |
return ErrInvalidLengthGenerated |
| 10711 |
} |
| 10712 |
postIndex := iNdEx + msglen |
| 10713 |
if postIndex < 0 { |
| 10714 |
return ErrInvalidLengthGenerated |
| 10715 |
} |
| 10716 |
if postIndex > l { |
| 10717 |
return io.ErrUnexpectedEOF |
| 10718 |
} |
| 10719 |
if m.Details == nil { |
| 10720 |
m.Details = &StatusDetails{} |
| 10721 |
} |
| 10722 |
if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 10723 |
return err |
| 10724 |
} |
| 10725 |
iNdEx = postIndex |
| 10726 |
case 6: |
| 10727 |
if wireType != 0 { |
| 10728 |
return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType) |
| 10729 |
} |
| 10730 |
m.Code = 0 |
| 10731 |
for shift := uint(0); ; shift += 7 { |
| 10732 |
if shift >= 64 { |
| 10733 |
return ErrIntOverflowGenerated |
| 10734 |
} |
| 10735 |
if iNdEx >= l { |
| 10736 |
return io.ErrUnexpectedEOF |
| 10737 |
} |
| 10738 |
b := dAtA[iNdEx] |
| 10739 |
iNdEx++ |
| 10740 |
m.Code |= int32(b&0x7F) << shift |
| 10741 |
if b < 0x80 { |
| 10742 |
break |
| 10743 |
} |
| 10744 |
} |
| 10745 |
default: |
| 10746 |
iNdEx = preIndex |
| 10747 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 10748 |
if err != nil { |
| 10749 |
return err |
| 10750 |
} |
| 10751 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 10752 |
return ErrInvalidLengthGenerated |
| 10753 |
} |
| 10754 |
if (iNdEx + skippy) > l { |
| 10755 |
return io.ErrUnexpectedEOF |
| 10756 |
} |
| 10757 |
iNdEx += skippy |
| 10758 |
} |
| 10759 |
} |
| 10760 |
|
| 10761 |
if iNdEx > l { |
| 10762 |
return io.ErrUnexpectedEOF |
| 10763 |
} |
| 10764 |
return nil |
| 10765 |
} |
| 10766 |
func (m *StatusCause) Unmarshal(dAtA []byte) error { |
| 10767 |
l := len(dAtA) |
| 10768 |
iNdEx := 0 |
| 10769 |
for iNdEx < l { |
| 10770 |
preIndex := iNdEx |
| 10771 |
var wire uint64 |
| 10772 |
for shift := uint(0); ; shift += 7 { |
| 10773 |
if shift >= 64 { |
| 10774 |
return ErrIntOverflowGenerated |
| 10775 |
} |
| 10776 |
if iNdEx >= l { |
| 10777 |
return io.ErrUnexpectedEOF |
| 10778 |
} |
| 10779 |
b := dAtA[iNdEx] |
| 10780 |
iNdEx++ |
| 10781 |
wire |= uint64(b&0x7F) << shift |
| 10782 |
if b < 0x80 { |
| 10783 |
break |
| 10784 |
} |
| 10785 |
} |
| 10786 |
fieldNum := int32(wire >> 3) |
| 10787 |
wireType := int(wire & 0x7) |
| 10788 |
if wireType == 4 { |
| 10789 |
return fmt.Errorf("proto: StatusCause: wiretype end group for non-group") |
| 10790 |
} |
| 10791 |
if fieldNum <= 0 { |
| 10792 |
return fmt.Errorf("proto: StatusCause: illegal tag %d (wire type %d)", fieldNum, wire) |
| 10793 |
} |
| 10794 |
switch fieldNum { |
| 10795 |
case 1: |
| 10796 |
if wireType != 2 { |
| 10797 |
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 10798 |
} |
| 10799 |
var stringLen uint64 |
| 10800 |
for shift := uint(0); ; shift += 7 { |
| 10801 |
if shift >= 64 { |
| 10802 |
return ErrIntOverflowGenerated |
| 10803 |
} |
| 10804 |
if iNdEx >= l { |
| 10805 |
return io.ErrUnexpectedEOF |
| 10806 |
} |
| 10807 |
b := dAtA[iNdEx] |
| 10808 |
iNdEx++ |
| 10809 |
stringLen |= uint64(b&0x7F) << shift |
| 10810 |
if b < 0x80 { |
| 10811 |
break |
| 10812 |
} |
| 10813 |
} |
| 10814 |
intStringLen := int(stringLen) |
| 10815 |
if intStringLen < 0 { |
| 10816 |
return ErrInvalidLengthGenerated |
| 10817 |
} |
| 10818 |
postIndex := iNdEx + intStringLen |
| 10819 |
if postIndex < 0 { |
| 10820 |
return ErrInvalidLengthGenerated |
| 10821 |
} |
| 10822 |
if postIndex > l { |
| 10823 |
return io.ErrUnexpectedEOF |
| 10824 |
} |
| 10825 |
m.Type = CauseType(dAtA[iNdEx:postIndex]) |
| 10826 |
iNdEx = postIndex |
| 10827 |
case 2: |
| 10828 |
if wireType != 2 { |
| 10829 |
return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) |
| 10830 |
} |
| 10831 |
var stringLen uint64 |
| 10832 |
for shift := uint(0); ; shift += 7 { |
| 10833 |
if shift >= 64 { |
| 10834 |
return ErrIntOverflowGenerated |
| 10835 |
} |
| 10836 |
if iNdEx >= l { |
| 10837 |
return io.ErrUnexpectedEOF |
| 10838 |
} |
| 10839 |
b := dAtA[iNdEx] |
| 10840 |
iNdEx++ |
| 10841 |
stringLen |= uint64(b&0x7F) << shift |
| 10842 |
if b < 0x80 { |
| 10843 |
break |
| 10844 |
} |
| 10845 |
} |
| 10846 |
intStringLen := int(stringLen) |
| 10847 |
if intStringLen < 0 { |
| 10848 |
return ErrInvalidLengthGenerated |
| 10849 |
} |
| 10850 |
postIndex := iNdEx + intStringLen |
| 10851 |
if postIndex < 0 { |
| 10852 |
return ErrInvalidLengthGenerated |
| 10853 |
} |
| 10854 |
if postIndex > l { |
| 10855 |
return io.ErrUnexpectedEOF |
| 10856 |
} |
| 10857 |
m.Message = string(dAtA[iNdEx:postIndex]) |
| 10858 |
iNdEx = postIndex |
| 10859 |
case 3: |
| 10860 |
if wireType != 2 { |
| 10861 |
return fmt.Errorf("proto: wrong wireType = %d for field Field", wireType) |
| 10862 |
} |
| 10863 |
var stringLen uint64 |
| 10864 |
for shift := uint(0); ; shift += 7 { |
| 10865 |
if shift >= 64 { |
| 10866 |
return ErrIntOverflowGenerated |
| 10867 |
} |
| 10868 |
if iNdEx >= l { |
| 10869 |
return io.ErrUnexpectedEOF |
| 10870 |
} |
| 10871 |
b := dAtA[iNdEx] |
| 10872 |
iNdEx++ |
| 10873 |
stringLen |= uint64(b&0x7F) << shift |
| 10874 |
if b < 0x80 { |
| 10875 |
break |
| 10876 |
} |
| 10877 |
} |
| 10878 |
intStringLen := int(stringLen) |
| 10879 |
if intStringLen < 0 { |
| 10880 |
return ErrInvalidLengthGenerated |
| 10881 |
} |
| 10882 |
postIndex := iNdEx + intStringLen |
| 10883 |
if postIndex < 0 { |
| 10884 |
return ErrInvalidLengthGenerated |
| 10885 |
} |
| 10886 |
if postIndex > l { |
| 10887 |
return io.ErrUnexpectedEOF |
| 10888 |
} |
| 10889 |
m.Field = string(dAtA[iNdEx:postIndex]) |
| 10890 |
iNdEx = postIndex |
| 10891 |
default: |
| 10892 |
iNdEx = preIndex |
| 10893 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 10894 |
if err != nil { |
| 10895 |
return err |
| 10896 |
} |
| 10897 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 10898 |
return ErrInvalidLengthGenerated |
| 10899 |
} |
| 10900 |
if (iNdEx + skippy) > l { |
| 10901 |
return io.ErrUnexpectedEOF |
| 10902 |
} |
| 10903 |
iNdEx += skippy |
| 10904 |
} |
| 10905 |
} |
| 10906 |
|
| 10907 |
if iNdEx > l { |
| 10908 |
return io.ErrUnexpectedEOF |
| 10909 |
} |
| 10910 |
return nil |
| 10911 |
} |
| 10912 |
func (m *StatusDetails) Unmarshal(dAtA []byte) error { |
| 10913 |
l := len(dAtA) |
| 10914 |
iNdEx := 0 |
| 10915 |
for iNdEx < l { |
| 10916 |
preIndex := iNdEx |
| 10917 |
var wire uint64 |
| 10918 |
for shift := uint(0); ; shift += 7 { |
| 10919 |
if shift >= 64 { |
| 10920 |
return ErrIntOverflowGenerated |
| 10921 |
} |
| 10922 |
if iNdEx >= l { |
| 10923 |
return io.ErrUnexpectedEOF |
| 10924 |
} |
| 10925 |
b := dAtA[iNdEx] |
| 10926 |
iNdEx++ |
| 10927 |
wire |= uint64(b&0x7F) << shift |
| 10928 |
if b < 0x80 { |
| 10929 |
break |
| 10930 |
} |
| 10931 |
} |
| 10932 |
fieldNum := int32(wire >> 3) |
| 10933 |
wireType := int(wire & 0x7) |
| 10934 |
if wireType == 4 { |
| 10935 |
return fmt.Errorf("proto: StatusDetails: wiretype end group for non-group") |
| 10936 |
} |
| 10937 |
if fieldNum <= 0 { |
| 10938 |
return fmt.Errorf("proto: StatusDetails: illegal tag %d (wire type %d)", fieldNum, wire) |
| 10939 |
} |
| 10940 |
switch fieldNum { |
| 10941 |
case 1: |
| 10942 |
if wireType != 2 { |
| 10943 |
return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 10944 |
} |
| 10945 |
var stringLen uint64 |
| 10946 |
for shift := uint(0); ; shift += 7 { |
| 10947 |
if shift >= 64 { |
| 10948 |
return ErrIntOverflowGenerated |
| 10949 |
} |
| 10950 |
if iNdEx >= l { |
| 10951 |
return io.ErrUnexpectedEOF |
| 10952 |
} |
| 10953 |
b := dAtA[iNdEx] |
| 10954 |
iNdEx++ |
| 10955 |
stringLen |= uint64(b&0x7F) << shift |
| 10956 |
if b < 0x80 { |
| 10957 |
break |
| 10958 |
} |
| 10959 |
} |
| 10960 |
intStringLen := int(stringLen) |
| 10961 |
if intStringLen < 0 { |
| 10962 |
return ErrInvalidLengthGenerated |
| 10963 |
} |
| 10964 |
postIndex := iNdEx + intStringLen |
| 10965 |
if postIndex < 0 { |
| 10966 |
return ErrInvalidLengthGenerated |
| 10967 |
} |
| 10968 |
if postIndex > l { |
| 10969 |
return io.ErrUnexpectedEOF |
| 10970 |
} |
| 10971 |
m.Name = string(dAtA[iNdEx:postIndex]) |
| 10972 |
iNdEx = postIndex |
| 10973 |
case 2: |
| 10974 |
if wireType != 2 { |
| 10975 |
return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) |
| 10976 |
} |
| 10977 |
var stringLen uint64 |
| 10978 |
for shift := uint(0); ; shift += 7 { |
| 10979 |
if shift >= 64 { |
| 10980 |
return ErrIntOverflowGenerated |
| 10981 |
} |
| 10982 |
if iNdEx >= l { |
| 10983 |
return io.ErrUnexpectedEOF |
| 10984 |
} |
| 10985 |
b := dAtA[iNdEx] |
| 10986 |
iNdEx++ |
| 10987 |
stringLen |= uint64(b&0x7F) << shift |
| 10988 |
if b < 0x80 { |
| 10989 |
break |
| 10990 |
} |
| 10991 |
} |
| 10992 |
intStringLen := int(stringLen) |
| 10993 |
if intStringLen < 0 { |
| 10994 |
return ErrInvalidLengthGenerated |
| 10995 |
} |
| 10996 |
postIndex := iNdEx + intStringLen |
| 10997 |
if postIndex < 0 { |
| 10998 |
return ErrInvalidLengthGenerated |
| 10999 |
} |
| 11000 |
if postIndex > l { |
| 11001 |
return io.ErrUnexpectedEOF |
| 11002 |
} |
| 11003 |
m.Group = string(dAtA[iNdEx:postIndex]) |
| 11004 |
iNdEx = postIndex |
| 11005 |
case 3: |
| 11006 |
if wireType != 2 { |
| 11007 |
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) |
| 11008 |
} |
| 11009 |
var stringLen uint64 |
| 11010 |
for shift := uint(0); ; shift += 7 { |
| 11011 |
if shift >= 64 { |
| 11012 |
return ErrIntOverflowGenerated |
| 11013 |
} |
| 11014 |
if iNdEx >= l { |
| 11015 |
return io.ErrUnexpectedEOF |
| 11016 |
} |
| 11017 |
b := dAtA[iNdEx] |
| 11018 |
iNdEx++ |
| 11019 |
stringLen |= uint64(b&0x7F) << shift |
| 11020 |
if b < 0x80 { |
| 11021 |
break |
| 11022 |
} |
| 11023 |
} |
| 11024 |
intStringLen := int(stringLen) |
| 11025 |
if intStringLen < 0 { |
| 11026 |
return ErrInvalidLengthGenerated |
| 11027 |
} |
| 11028 |
postIndex := iNdEx + intStringLen |
| 11029 |
if postIndex < 0 { |
| 11030 |
return ErrInvalidLengthGenerated |
| 11031 |
} |
| 11032 |
if postIndex > l { |
| 11033 |
return io.ErrUnexpectedEOF |
| 11034 |
} |
| 11035 |
m.Kind = string(dAtA[iNdEx:postIndex]) |
| 11036 |
iNdEx = postIndex |
| 11037 |
case 4: |
| 11038 |
if wireType != 2 { |
| 11039 |
return fmt.Errorf("proto: wrong wireType = %d for field Causes", wireType) |
| 11040 |
} |
| 11041 |
var msglen int |
| 11042 |
for shift := uint(0); ; shift += 7 { |
| 11043 |
if shift >= 64 { |
| 11044 |
return ErrIntOverflowGenerated |
| 11045 |
} |
| 11046 |
if iNdEx >= l { |
| 11047 |
return io.ErrUnexpectedEOF |
| 11048 |
} |
| 11049 |
b := dAtA[iNdEx] |
| 11050 |
iNdEx++ |
| 11051 |
msglen |= int(b&0x7F) << shift |
| 11052 |
if b < 0x80 { |
| 11053 |
break |
| 11054 |
} |
| 11055 |
} |
| 11056 |
if msglen < 0 { |
| 11057 |
return ErrInvalidLengthGenerated |
| 11058 |
} |
| 11059 |
postIndex := iNdEx + msglen |
| 11060 |
if postIndex < 0 { |
| 11061 |
return ErrInvalidLengthGenerated |
| 11062 |
} |
| 11063 |
if postIndex > l { |
| 11064 |
return io.ErrUnexpectedEOF |
| 11065 |
} |
| 11066 |
m.Causes = append(m.Causes, StatusCause{}) |
| 11067 |
if err := m.Causes[len(m.Causes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11068 |
return err |
| 11069 |
} |
| 11070 |
iNdEx = postIndex |
| 11071 |
case 5: |
| 11072 |
if wireType != 0 { |
| 11073 |
return fmt.Errorf("proto: wrong wireType = %d for field RetryAfterSeconds", wireType) |
| 11074 |
} |
| 11075 |
m.RetryAfterSeconds = 0 |
| 11076 |
for shift := uint(0); ; shift += 7 { |
| 11077 |
if shift >= 64 { |
| 11078 |
return ErrIntOverflowGenerated |
| 11079 |
} |
| 11080 |
if iNdEx >= l { |
| 11081 |
return io.ErrUnexpectedEOF |
| 11082 |
} |
| 11083 |
b := dAtA[iNdEx] |
| 11084 |
iNdEx++ |
| 11085 |
m.RetryAfterSeconds |= int32(b&0x7F) << shift |
| 11086 |
if b < 0x80 { |
| 11087 |
break |
| 11088 |
} |
| 11089 |
} |
| 11090 |
case 6: |
| 11091 |
if wireType != 2 { |
| 11092 |
return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType) |
| 11093 |
} |
| 11094 |
var stringLen uint64 |
| 11095 |
for shift := uint(0); ; shift += 7 { |
| 11096 |
if shift >= 64 { |
| 11097 |
return ErrIntOverflowGenerated |
| 11098 |
} |
| 11099 |
if iNdEx >= l { |
| 11100 |
return io.ErrUnexpectedEOF |
| 11101 |
} |
| 11102 |
b := dAtA[iNdEx] |
| 11103 |
iNdEx++ |
| 11104 |
stringLen |= uint64(b&0x7F) << shift |
| 11105 |
if b < 0x80 { |
| 11106 |
break |
| 11107 |
} |
| 11108 |
} |
| 11109 |
intStringLen := int(stringLen) |
| 11110 |
if intStringLen < 0 { |
| 11111 |
return ErrInvalidLengthGenerated |
| 11112 |
} |
| 11113 |
postIndex := iNdEx + intStringLen |
| 11114 |
if postIndex < 0 { |
| 11115 |
return ErrInvalidLengthGenerated |
| 11116 |
} |
| 11117 |
if postIndex > l { |
| 11118 |
return io.ErrUnexpectedEOF |
| 11119 |
} |
| 11120 |
m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex]) |
| 11121 |
iNdEx = postIndex |
| 11122 |
default: |
| 11123 |
iNdEx = preIndex |
| 11124 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 11125 |
if err != nil { |
| 11126 |
return err |
| 11127 |
} |
| 11128 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 11129 |
return ErrInvalidLengthGenerated |
| 11130 |
} |
| 11131 |
if (iNdEx + skippy) > l { |
| 11132 |
return io.ErrUnexpectedEOF |
| 11133 |
} |
| 11134 |
iNdEx += skippy |
| 11135 |
} |
| 11136 |
} |
| 11137 |
|
| 11138 |
if iNdEx > l { |
| 11139 |
return io.ErrUnexpectedEOF |
| 11140 |
} |
| 11141 |
return nil |
| 11142 |
} |
| 11143 |
func (m *TableOptions) Unmarshal(dAtA []byte) error { |
| 11144 |
l := len(dAtA) |
| 11145 |
iNdEx := 0 |
| 11146 |
for iNdEx < l { |
| 11147 |
preIndex := iNdEx |
| 11148 |
var wire uint64 |
| 11149 |
for shift := uint(0); ; shift += 7 { |
| 11150 |
if shift >= 64 { |
| 11151 |
return ErrIntOverflowGenerated |
| 11152 |
} |
| 11153 |
if iNdEx >= l { |
| 11154 |
return io.ErrUnexpectedEOF |
| 11155 |
} |
| 11156 |
b := dAtA[iNdEx] |
| 11157 |
iNdEx++ |
| 11158 |
wire |= uint64(b&0x7F) << shift |
| 11159 |
if b < 0x80 { |
| 11160 |
break |
| 11161 |
} |
| 11162 |
} |
| 11163 |
fieldNum := int32(wire >> 3) |
| 11164 |
wireType := int(wire & 0x7) |
| 11165 |
if wireType == 4 { |
| 11166 |
return fmt.Errorf("proto: TableOptions: wiretype end group for non-group") |
| 11167 |
} |
| 11168 |
if fieldNum <= 0 { |
| 11169 |
return fmt.Errorf("proto: TableOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 11170 |
} |
| 11171 |
switch fieldNum { |
| 11172 |
case 1: |
| 11173 |
if wireType != 2 { |
| 11174 |
return fmt.Errorf("proto: wrong wireType = %d for field IncludeObject", wireType) |
| 11175 |
} |
| 11176 |
var stringLen uint64 |
| 11177 |
for shift := uint(0); ; shift += 7 { |
| 11178 |
if shift >= 64 { |
| 11179 |
return ErrIntOverflowGenerated |
| 11180 |
} |
| 11181 |
if iNdEx >= l { |
| 11182 |
return io.ErrUnexpectedEOF |
| 11183 |
} |
| 11184 |
b := dAtA[iNdEx] |
| 11185 |
iNdEx++ |
| 11186 |
stringLen |= uint64(b&0x7F) << shift |
| 11187 |
if b < 0x80 { |
| 11188 |
break |
| 11189 |
} |
| 11190 |
} |
| 11191 |
intStringLen := int(stringLen) |
| 11192 |
if intStringLen < 0 { |
| 11193 |
return ErrInvalidLengthGenerated |
| 11194 |
} |
| 11195 |
postIndex := iNdEx + intStringLen |
| 11196 |
if postIndex < 0 { |
| 11197 |
return ErrInvalidLengthGenerated |
| 11198 |
} |
| 11199 |
if postIndex > l { |
| 11200 |
return io.ErrUnexpectedEOF |
| 11201 |
} |
| 11202 |
m.IncludeObject = IncludeObjectPolicy(dAtA[iNdEx:postIndex]) |
| 11203 |
iNdEx = postIndex |
| 11204 |
default: |
| 11205 |
iNdEx = preIndex |
| 11206 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 11207 |
if err != nil { |
| 11208 |
return err |
| 11209 |
} |
| 11210 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 11211 |
return ErrInvalidLengthGenerated |
| 11212 |
} |
| 11213 |
if (iNdEx + skippy) > l { |
| 11214 |
return io.ErrUnexpectedEOF |
| 11215 |
} |
| 11216 |
iNdEx += skippy |
| 11217 |
} |
| 11218 |
} |
| 11219 |
|
| 11220 |
if iNdEx > l { |
| 11221 |
return io.ErrUnexpectedEOF |
| 11222 |
} |
| 11223 |
return nil |
| 11224 |
} |
| 11225 |
func (m *Timestamp) Unmarshal(dAtA []byte) error { |
| 11226 |
l := len(dAtA) |
| 11227 |
iNdEx := 0 |
| 11228 |
for iNdEx < l { |
| 11229 |
preIndex := iNdEx |
| 11230 |
var wire uint64 |
| 11231 |
for shift := uint(0); ; shift += 7 { |
| 11232 |
if shift >= 64 { |
| 11233 |
return ErrIntOverflowGenerated |
| 11234 |
} |
| 11235 |
if iNdEx >= l { |
| 11236 |
return io.ErrUnexpectedEOF |
| 11237 |
} |
| 11238 |
b := dAtA[iNdEx] |
| 11239 |
iNdEx++ |
| 11240 |
wire |= uint64(b&0x7F) << shift |
| 11241 |
if b < 0x80 { |
| 11242 |
break |
| 11243 |
} |
| 11244 |
} |
| 11245 |
fieldNum := int32(wire >> 3) |
| 11246 |
wireType := int(wire & 0x7) |
| 11247 |
if wireType == 4 { |
| 11248 |
return fmt.Errorf("proto: Timestamp: wiretype end group for non-group") |
| 11249 |
} |
| 11250 |
if fieldNum <= 0 { |
| 11251 |
return fmt.Errorf("proto: Timestamp: illegal tag %d (wire type %d)", fieldNum, wire) |
| 11252 |
} |
| 11253 |
switch fieldNum { |
| 11254 |
case 1: |
| 11255 |
if wireType != 0 { |
| 11256 |
return fmt.Errorf("proto: wrong wireType = %d for field Seconds", wireType) |
| 11257 |
} |
| 11258 |
m.Seconds = 0 |
| 11259 |
for shift := uint(0); ; shift += 7 { |
| 11260 |
if shift >= 64 { |
| 11261 |
return ErrIntOverflowGenerated |
| 11262 |
} |
| 11263 |
if iNdEx >= l { |
| 11264 |
return io.ErrUnexpectedEOF |
| 11265 |
} |
| 11266 |
b := dAtA[iNdEx] |
| 11267 |
iNdEx++ |
| 11268 |
m.Seconds |= int64(b&0x7F) << shift |
| 11269 |
if b < 0x80 { |
| 11270 |
break |
| 11271 |
} |
| 11272 |
} |
| 11273 |
case 2: |
| 11274 |
if wireType != 0 { |
| 11275 |
return fmt.Errorf("proto: wrong wireType = %d for field Nanos", wireType) |
| 11276 |
} |
| 11277 |
m.Nanos = 0 |
| 11278 |
for shift := uint(0); ; shift += 7 { |
| 11279 |
if shift >= 64 { |
| 11280 |
return ErrIntOverflowGenerated |
| 11281 |
} |
| 11282 |
if iNdEx >= l { |
| 11283 |
return io.ErrUnexpectedEOF |
| 11284 |
} |
| 11285 |
b := dAtA[iNdEx] |
| 11286 |
iNdEx++ |
| 11287 |
m.Nanos |= int32(b&0x7F) << shift |
| 11288 |
if b < 0x80 { |
| 11289 |
break |
| 11290 |
} |
| 11291 |
} |
| 11292 |
default: |
| 11293 |
iNdEx = preIndex |
| 11294 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 11295 |
if err != nil { |
| 11296 |
return err |
| 11297 |
} |
| 11298 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 11299 |
return ErrInvalidLengthGenerated |
| 11300 |
} |
| 11301 |
if (iNdEx + skippy) > l { |
| 11302 |
return io.ErrUnexpectedEOF |
| 11303 |
} |
| 11304 |
iNdEx += skippy |
| 11305 |
} |
| 11306 |
} |
| 11307 |
|
| 11308 |
if iNdEx > l { |
| 11309 |
return io.ErrUnexpectedEOF |
| 11310 |
} |
| 11311 |
return nil |
| 11312 |
} |
| 11313 |
func (m *TypeMeta) Unmarshal(dAtA []byte) error { |
| 11314 |
l := len(dAtA) |
| 11315 |
iNdEx := 0 |
| 11316 |
for iNdEx < l { |
| 11317 |
preIndex := iNdEx |
| 11318 |
var wire uint64 |
| 11319 |
for shift := uint(0); ; shift += 7 { |
| 11320 |
if shift >= 64 { |
| 11321 |
return ErrIntOverflowGenerated |
| 11322 |
} |
| 11323 |
if iNdEx >= l { |
| 11324 |
return io.ErrUnexpectedEOF |
| 11325 |
} |
| 11326 |
b := dAtA[iNdEx] |
| 11327 |
iNdEx++ |
| 11328 |
wire |= uint64(b&0x7F) << shift |
| 11329 |
if b < 0x80 { |
| 11330 |
break |
| 11331 |
} |
| 11332 |
} |
| 11333 |
fieldNum := int32(wire >> 3) |
| 11334 |
wireType := int(wire & 0x7) |
| 11335 |
if wireType == 4 { |
| 11336 |
return fmt.Errorf("proto: TypeMeta: wiretype end group for non-group") |
| 11337 |
} |
| 11338 |
if fieldNum <= 0 { |
| 11339 |
return fmt.Errorf("proto: TypeMeta: illegal tag %d (wire type %d)", fieldNum, wire) |
| 11340 |
} |
| 11341 |
switch fieldNum { |
| 11342 |
case 1: |
| 11343 |
if wireType != 2 { |
| 11344 |
return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) |
| 11345 |
} |
| 11346 |
var stringLen uint64 |
| 11347 |
for shift := uint(0); ; shift += 7 { |
| 11348 |
if shift >= 64 { |
| 11349 |
return ErrIntOverflowGenerated |
| 11350 |
} |
| 11351 |
if iNdEx >= l { |
| 11352 |
return io.ErrUnexpectedEOF |
| 11353 |
} |
| 11354 |
b := dAtA[iNdEx] |
| 11355 |
iNdEx++ |
| 11356 |
stringLen |= uint64(b&0x7F) << shift |
| 11357 |
if b < 0x80 { |
| 11358 |
break |
| 11359 |
} |
| 11360 |
} |
| 11361 |
intStringLen := int(stringLen) |
| 11362 |
if intStringLen < 0 { |
| 11363 |
return ErrInvalidLengthGenerated |
| 11364 |
} |
| 11365 |
postIndex := iNdEx + intStringLen |
| 11366 |
if postIndex < 0 { |
| 11367 |
return ErrInvalidLengthGenerated |
| 11368 |
} |
| 11369 |
if postIndex > l { |
| 11370 |
return io.ErrUnexpectedEOF |
| 11371 |
} |
| 11372 |
m.Kind = string(dAtA[iNdEx:postIndex]) |
| 11373 |
iNdEx = postIndex |
| 11374 |
case 2: |
| 11375 |
if wireType != 2 { |
| 11376 |
return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType) |
| 11377 |
} |
| 11378 |
var stringLen uint64 |
| 11379 |
for shift := uint(0); ; shift += 7 { |
| 11380 |
if shift >= 64 { |
| 11381 |
return ErrIntOverflowGenerated |
| 11382 |
} |
| 11383 |
if iNdEx >= l { |
| 11384 |
return io.ErrUnexpectedEOF |
| 11385 |
} |
| 11386 |
b := dAtA[iNdEx] |
| 11387 |
iNdEx++ |
| 11388 |
stringLen |= uint64(b&0x7F) << shift |
| 11389 |
if b < 0x80 { |
| 11390 |
break |
| 11391 |
} |
| 11392 |
} |
| 11393 |
intStringLen := int(stringLen) |
| 11394 |
if intStringLen < 0 { |
| 11395 |
return ErrInvalidLengthGenerated |
| 11396 |
} |
| 11397 |
postIndex := iNdEx + intStringLen |
| 11398 |
if postIndex < 0 { |
| 11399 |
return ErrInvalidLengthGenerated |
| 11400 |
} |
| 11401 |
if postIndex > l { |
| 11402 |
return io.ErrUnexpectedEOF |
| 11403 |
} |
| 11404 |
m.APIVersion = string(dAtA[iNdEx:postIndex]) |
| 11405 |
iNdEx = postIndex |
| 11406 |
default: |
| 11407 |
iNdEx = preIndex |
| 11408 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 11409 |
if err != nil { |
| 11410 |
return err |
| 11411 |
} |
| 11412 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 11413 |
return ErrInvalidLengthGenerated |
| 11414 |
} |
| 11415 |
if (iNdEx + skippy) > l { |
| 11416 |
return io.ErrUnexpectedEOF |
| 11417 |
} |
| 11418 |
iNdEx += skippy |
| 11419 |
} |
| 11420 |
} |
| 11421 |
|
| 11422 |
if iNdEx > l { |
| 11423 |
return io.ErrUnexpectedEOF |
| 11424 |
} |
| 11425 |
return nil |
| 11426 |
} |
| 11427 |
func (m *UpdateOptions) Unmarshal(dAtA []byte) error { |
| 11428 |
l := len(dAtA) |
| 11429 |
iNdEx := 0 |
| 11430 |
for iNdEx < l { |
| 11431 |
preIndex := iNdEx |
| 11432 |
var wire uint64 |
| 11433 |
for shift := uint(0); ; shift += 7 { |
| 11434 |
if shift >= 64 { |
| 11435 |
return ErrIntOverflowGenerated |
| 11436 |
} |
| 11437 |
if iNdEx >= l { |
| 11438 |
return io.ErrUnexpectedEOF |
| 11439 |
} |
| 11440 |
b := dAtA[iNdEx] |
| 11441 |
iNdEx++ |
| 11442 |
wire |= uint64(b&0x7F) << shift |
| 11443 |
if b < 0x80 { |
| 11444 |
break |
| 11445 |
} |
| 11446 |
} |
| 11447 |
fieldNum := int32(wire >> 3) |
| 11448 |
wireType := int(wire & 0x7) |
| 11449 |
if wireType == 4 { |
| 11450 |
return fmt.Errorf("proto: UpdateOptions: wiretype end group for non-group") |
| 11451 |
} |
| 11452 |
if fieldNum <= 0 { |
| 11453 |
return fmt.Errorf("proto: UpdateOptions: illegal tag %d (wire type %d)", fieldNum, wire) |
| 11454 |
} |
| 11455 |
switch fieldNum { |
| 11456 |
case 1: |
| 11457 |
if wireType != 2 { |
| 11458 |
return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType) |
| 11459 |
} |
| 11460 |
var stringLen uint64 |
| 11461 |
for shift := uint(0); ; shift += 7 { |
| 11462 |
if shift >= 64 { |
| 11463 |
return ErrIntOverflowGenerated |
| 11464 |
} |
| 11465 |
if iNdEx >= l { |
| 11466 |
return io.ErrUnexpectedEOF |
| 11467 |
} |
| 11468 |
b := dAtA[iNdEx] |
| 11469 |
iNdEx++ |
| 11470 |
stringLen |= uint64(b&0x7F) << shift |
| 11471 |
if b < 0x80 { |
| 11472 |
break |
| 11473 |
} |
| 11474 |
} |
| 11475 |
intStringLen := int(stringLen) |
| 11476 |
if intStringLen < 0 { |
| 11477 |
return ErrInvalidLengthGenerated |
| 11478 |
} |
| 11479 |
postIndex := iNdEx + intStringLen |
| 11480 |
if postIndex < 0 { |
| 11481 |
return ErrInvalidLengthGenerated |
| 11482 |
} |
| 11483 |
if postIndex > l { |
| 11484 |
return io.ErrUnexpectedEOF |
| 11485 |
} |
| 11486 |
m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex])) |
| 11487 |
iNdEx = postIndex |
| 11488 |
case 2: |
| 11489 |
if wireType != 2 { |
| 11490 |
return fmt.Errorf("proto: wrong wireType = %d for field FieldManager", wireType) |
| 11491 |
} |
| 11492 |
var stringLen uint64 |
| 11493 |
for shift := uint(0); ; shift += 7 { |
| 11494 |
if shift >= 64 { |
| 11495 |
return ErrIntOverflowGenerated |
| 11496 |
} |
| 11497 |
if iNdEx >= l { |
| 11498 |
return io.ErrUnexpectedEOF |
| 11499 |
} |
| 11500 |
b := dAtA[iNdEx] |
| 11501 |
iNdEx++ |
| 11502 |
stringLen |= uint64(b&0x7F) << shift |
| 11503 |
if b < 0x80 { |
| 11504 |
break |
| 11505 |
} |
| 11506 |
} |
| 11507 |
intStringLen := int(stringLen) |
| 11508 |
if intStringLen < 0 { |
| 11509 |
return ErrInvalidLengthGenerated |
| 11510 |
} |
| 11511 |
postIndex := iNdEx + intStringLen |
| 11512 |
if postIndex < 0 { |
| 11513 |
return ErrInvalidLengthGenerated |
| 11514 |
} |
| 11515 |
if postIndex > l { |
| 11516 |
return io.ErrUnexpectedEOF |
| 11517 |
} |
| 11518 |
m.FieldManager = string(dAtA[iNdEx:postIndex]) |
| 11519 |
iNdEx = postIndex |
| 11520 |
case 3: |
| 11521 |
if wireType != 2 { |
| 11522 |
return fmt.Errorf("proto: wrong wireType = %d for field FieldValidation", wireType) |
| 11523 |
} |
| 11524 |
var stringLen uint64 |
| 11525 |
for shift := uint(0); ; shift += 7 { |
| 11526 |
if shift >= 64 { |
| 11527 |
return ErrIntOverflowGenerated |
| 11528 |
} |
| 11529 |
if iNdEx >= l { |
| 11530 |
return io.ErrUnexpectedEOF |
| 11531 |
} |
| 11532 |
b := dAtA[iNdEx] |
| 11533 |
iNdEx++ |
| 11534 |
stringLen |= uint64(b&0x7F) << shift |
| 11535 |
if b < 0x80 { |
| 11536 |
break |
| 11537 |
} |
| 11538 |
} |
| 11539 |
intStringLen := int(stringLen) |
| 11540 |
if intStringLen < 0 { |
| 11541 |
return ErrInvalidLengthGenerated |
| 11542 |
} |
| 11543 |
postIndex := iNdEx + intStringLen |
| 11544 |
if postIndex < 0 { |
| 11545 |
return ErrInvalidLengthGenerated |
| 11546 |
} |
| 11547 |
if postIndex > l { |
| 11548 |
return io.ErrUnexpectedEOF |
| 11549 |
} |
| 11550 |
m.FieldValidation = string(dAtA[iNdEx:postIndex]) |
| 11551 |
iNdEx = postIndex |
| 11552 |
default: |
| 11553 |
iNdEx = preIndex |
| 11554 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 11555 |
if err != nil { |
| 11556 |
return err |
| 11557 |
} |
| 11558 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 11559 |
return ErrInvalidLengthGenerated |
| 11560 |
} |
| 11561 |
if (iNdEx + skippy) > l { |
| 11562 |
return io.ErrUnexpectedEOF |
| 11563 |
} |
| 11564 |
iNdEx += skippy |
| 11565 |
} |
| 11566 |
} |
| 11567 |
|
| 11568 |
if iNdEx > l { |
| 11569 |
return io.ErrUnexpectedEOF |
| 11570 |
} |
| 11571 |
return nil |
| 11572 |
} |
| 11573 |
func (m *Verbs) Unmarshal(dAtA []byte) error { |
| 11574 |
l := len(dAtA) |
| 11575 |
iNdEx := 0 |
| 11576 |
for iNdEx < l { |
| 11577 |
preIndex := iNdEx |
| 11578 |
var wire uint64 |
| 11579 |
for shift := uint(0); ; shift += 7 { |
| 11580 |
if shift >= 64 { |
| 11581 |
return ErrIntOverflowGenerated |
| 11582 |
} |
| 11583 |
if iNdEx >= l { |
| 11584 |
return io.ErrUnexpectedEOF |
| 11585 |
} |
| 11586 |
b := dAtA[iNdEx] |
| 11587 |
iNdEx++ |
| 11588 |
wire |= uint64(b&0x7F) << shift |
| 11589 |
if b < 0x80 { |
| 11590 |
break |
| 11591 |
} |
| 11592 |
} |
| 11593 |
fieldNum := int32(wire >> 3) |
| 11594 |
wireType := int(wire & 0x7) |
| 11595 |
if wireType == 4 { |
| 11596 |
return fmt.Errorf("proto: Verbs: wiretype end group for non-group") |
| 11597 |
} |
| 11598 |
if fieldNum <= 0 { |
| 11599 |
return fmt.Errorf("proto: Verbs: illegal tag %d (wire type %d)", fieldNum, wire) |
| 11600 |
} |
| 11601 |
switch fieldNum { |
| 11602 |
case 1: |
| 11603 |
if wireType != 2 { |
| 11604 |
return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 11605 |
} |
| 11606 |
var stringLen uint64 |
| 11607 |
for shift := uint(0); ; shift += 7 { |
| 11608 |
if shift >= 64 { |
| 11609 |
return ErrIntOverflowGenerated |
| 11610 |
} |
| 11611 |
if iNdEx >= l { |
| 11612 |
return io.ErrUnexpectedEOF |
| 11613 |
} |
| 11614 |
b := dAtA[iNdEx] |
| 11615 |
iNdEx++ |
| 11616 |
stringLen |= uint64(b&0x7F) << shift |
| 11617 |
if b < 0x80 { |
| 11618 |
break |
| 11619 |
} |
| 11620 |
} |
| 11621 |
intStringLen := int(stringLen) |
| 11622 |
if intStringLen < 0 { |
| 11623 |
return ErrInvalidLengthGenerated |
| 11624 |
} |
| 11625 |
postIndex := iNdEx + intStringLen |
| 11626 |
if postIndex < 0 { |
| 11627 |
return ErrInvalidLengthGenerated |
| 11628 |
} |
| 11629 |
if postIndex > l { |
| 11630 |
return io.ErrUnexpectedEOF |
| 11631 |
} |
| 11632 |
*m = append(*m, string(dAtA[iNdEx:postIndex])) |
| 11633 |
iNdEx = postIndex |
| 11634 |
default: |
| 11635 |
iNdEx = preIndex |
| 11636 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 11637 |
if err != nil { |
| 11638 |
return err |
| 11639 |
} |
| 11640 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 11641 |
return ErrInvalidLengthGenerated |
| 11642 |
} |
| 11643 |
if (iNdEx + skippy) > l { |
| 11644 |
return io.ErrUnexpectedEOF |
| 11645 |
} |
| 11646 |
iNdEx += skippy |
| 11647 |
} |
| 11648 |
} |
| 11649 |
|
| 11650 |
if iNdEx > l { |
| 11651 |
return io.ErrUnexpectedEOF |
| 11652 |
} |
| 11653 |
return nil |
| 11654 |
} |
| 11655 |
func (m *WatchEvent) Unmarshal(dAtA []byte) error { |
| 11656 |
l := len(dAtA) |
| 11657 |
iNdEx := 0 |
| 11658 |
for iNdEx < l { |
| 11659 |
preIndex := iNdEx |
| 11660 |
var wire uint64 |
| 11661 |
for shift := uint(0); ; shift += 7 { |
| 11662 |
if shift >= 64 { |
| 11663 |
return ErrIntOverflowGenerated |
| 11664 |
} |
| 11665 |
if iNdEx >= l { |
| 11666 |
return io.ErrUnexpectedEOF |
| 11667 |
} |
| 11668 |
b := dAtA[iNdEx] |
| 11669 |
iNdEx++ |
| 11670 |
wire |= uint64(b&0x7F) << shift |
| 11671 |
if b < 0x80 { |
| 11672 |
break |
| 11673 |
} |
| 11674 |
} |
| 11675 |
fieldNum := int32(wire >> 3) |
| 11676 |
wireType := int(wire & 0x7) |
| 11677 |
if wireType == 4 { |
| 11678 |
return fmt.Errorf("proto: WatchEvent: wiretype end group for non-group") |
| 11679 |
} |
| 11680 |
if fieldNum <= 0 { |
| 11681 |
return fmt.Errorf("proto: WatchEvent: illegal tag %d (wire type %d)", fieldNum, wire) |
| 11682 |
} |
| 11683 |
switch fieldNum { |
| 11684 |
case 1: |
| 11685 |
if wireType != 2 { |
| 11686 |
return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| 11687 |
} |
| 11688 |
var stringLen uint64 |
| 11689 |
for shift := uint(0); ; shift += 7 { |
| 11690 |
if shift >= 64 { |
| 11691 |
return ErrIntOverflowGenerated |
| 11692 |
} |
| 11693 |
if iNdEx >= l { |
| 11694 |
return io.ErrUnexpectedEOF |
| 11695 |
} |
| 11696 |
b := dAtA[iNdEx] |
| 11697 |
iNdEx++ |
| 11698 |
stringLen |= uint64(b&0x7F) << shift |
| 11699 |
if b < 0x80 { |
| 11700 |
break |
| 11701 |
} |
| 11702 |
} |
| 11703 |
intStringLen := int(stringLen) |
| 11704 |
if intStringLen < 0 { |
| 11705 |
return ErrInvalidLengthGenerated |
| 11706 |
} |
| 11707 |
postIndex := iNdEx + intStringLen |
| 11708 |
if postIndex < 0 { |
| 11709 |
return ErrInvalidLengthGenerated |
| 11710 |
} |
| 11711 |
if postIndex > l { |
| 11712 |
return io.ErrUnexpectedEOF |
| 11713 |
} |
| 11714 |
m.Type = string(dAtA[iNdEx:postIndex]) |
| 11715 |
iNdEx = postIndex |
| 11716 |
case 2: |
| 11717 |
if wireType != 2 { |
| 11718 |
return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType) |
| 11719 |
} |
| 11720 |
var msglen int |
| 11721 |
for shift := uint(0); ; shift += 7 { |
| 11722 |
if shift >= 64 { |
| 11723 |
return ErrIntOverflowGenerated |
| 11724 |
} |
| 11725 |
if iNdEx >= l { |
| 11726 |
return io.ErrUnexpectedEOF |
| 11727 |
} |
| 11728 |
b := dAtA[iNdEx] |
| 11729 |
iNdEx++ |
| 11730 |
msglen |= int(b&0x7F) << shift |
| 11731 |
if b < 0x80 { |
| 11732 |
break |
| 11733 |
} |
| 11734 |
} |
| 11735 |
if msglen < 0 { |
| 11736 |
return ErrInvalidLengthGenerated |
| 11737 |
} |
| 11738 |
postIndex := iNdEx + msglen |
| 11739 |
if postIndex < 0 { |
| 11740 |
return ErrInvalidLengthGenerated |
| 11741 |
} |
| 11742 |
if postIndex > l { |
| 11743 |
return io.ErrUnexpectedEOF |
| 11744 |
} |
| 11745 |
if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 11746 |
return err |
| 11747 |
} |
| 11748 |
iNdEx = postIndex |
| 11749 |
default: |
| 11750 |
iNdEx = preIndex |
| 11751 |
skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 11752 |
if err != nil { |
| 11753 |
return err |
| 11754 |
} |
| 11755 |
if (skippy < 0) || (iNdEx+skippy) < 0 { |
| 11756 |
return ErrInvalidLengthGenerated |
| 11757 |
} |
| 11758 |
if (iNdEx + skippy) > l { |
| 11759 |
return io.ErrUnexpectedEOF |
| 11760 |
} |
| 11761 |
iNdEx += skippy |
| 11762 |
} |
| 11763 |
} |
| 11764 |
|
| 11765 |
if iNdEx > l { |
| 11766 |
return io.ErrUnexpectedEOF |
| 11767 |
} |
| 11768 |
return nil |
| 11769 |
} |
| 11770 |
func skipGenerated(dAtA []byte) (n int, err error) { |
| 11771 |
l := len(dAtA) |
| 11772 |
iNdEx := 0 |
| 11773 |
depth := 0 |
| 11774 |
for iNdEx < l { |
| 11775 |
var wire uint64 |
| 11776 |
for shift := uint(0); ; shift += 7 { |
| 11777 |
if shift >= 64 { |
| 11778 |
return 0, ErrIntOverflowGenerated |
| 11779 |
} |
| 11780 |
if iNdEx >= l { |
| 11781 |
return 0, io.ErrUnexpectedEOF |
| 11782 |
} |
| 11783 |
b := dAtA[iNdEx] |
| 11784 |
iNdEx++ |
| 11785 |
wire |= (uint64(b) & 0x7F) << shift |
| 11786 |
if b < 0x80 { |
| 11787 |
break |
| 11788 |
} |
| 11789 |
} |
| 11790 |
wireType := int(wire & 0x7) |
| 11791 |
switch wireType { |
| 11792 |
case 0: |
| 11793 |
for shift := uint(0); ; shift += 7 { |
| 11794 |
if shift >= 64 { |
| 11795 |
return 0, ErrIntOverflowGenerated |
| 11796 |
} |
| 11797 |
if iNdEx >= l { |
| 11798 |
return 0, io.ErrUnexpectedEOF |
| 11799 |
} |
| 11800 |
iNdEx++ |
| 11801 |
if dAtA[iNdEx-1] < 0x80 { |
| 11802 |
break |
| 11803 |
} |
| 11804 |
} |
| 11805 |
case 1: |
| 11806 |
iNdEx += 8 |
| 11807 |
case 2: |
| 11808 |
var length int |
| 11809 |
for shift := uint(0); ; shift += 7 { |
| 11810 |
if shift >= 64 { |
| 11811 |
return 0, ErrIntOverflowGenerated |
| 11812 |
} |
| 11813 |
if iNdEx >= l { |
| 11814 |
return 0, io.ErrUnexpectedEOF |
| 11815 |
} |
| 11816 |
b := dAtA[iNdEx] |
| 11817 |
iNdEx++ |
| 11818 |
length |= (int(b) & 0x7F) << shift |
| 11819 |
if b < 0x80 { |
| 11820 |
break |
| 11821 |
} |
| 11822 |
} |
| 11823 |
if length < 0 { |
| 11824 |
return 0, ErrInvalidLengthGenerated |
| 11825 |
} |
| 11826 |
iNdEx += length |
| 11827 |
case 3: |
| 11828 |
depth++ |
| 11829 |
case 4: |
| 11830 |
if depth == 0 { |
| 11831 |
return 0, ErrUnexpectedEndOfGroupGenerated |
| 11832 |
} |
| 11833 |
depth-- |
| 11834 |
case 5: |
| 11835 |
iNdEx += 4 |
| 11836 |
default: |
| 11837 |
return 0, fmt.Errorf("proto: illegal wireType %d", wireType) |
| 11838 |
} |
| 11839 |
if iNdEx < 0 { |
| 11840 |
return 0, ErrInvalidLengthGenerated |
| 11841 |
} |
| 11842 |
if depth == 0 { |
| 11843 |
return iNdEx, nil |
| 11844 |
} |
| 11845 |
} |
| 11846 |
return 0, io.ErrUnexpectedEOF |
| 11847 |
} |
| 11848 |
|
| 11849 |
var ( |
| 11850 |
ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") |
| 11851 |
ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") |
| 11852 |
ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") |
| 11853 |
) |