Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 1 | /* |
| 2 | Copyright The Kubernetes Authors. |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | // Code generated by protoc-gen-gogo. DO NOT EDIT. |
| 18 | // source: k8s.io/kubernetes/vendor/k8s.io/api/rbac/v1/generated.proto |
| 19 | |
| 20 | /* |
| 21 | Package v1 is a generated protocol buffer package. |
| 22 | |
| 23 | It is generated from these files: |
| 24 | k8s.io/kubernetes/vendor/k8s.io/api/rbac/v1/generated.proto |
| 25 | |
| 26 | It has these top-level messages: |
| 27 | AggregationRule |
| 28 | ClusterRole |
| 29 | ClusterRoleBinding |
| 30 | ClusterRoleBindingList |
| 31 | ClusterRoleList |
| 32 | PolicyRule |
| 33 | Role |
| 34 | RoleBinding |
| 35 | RoleBindingList |
| 36 | RoleList |
| 37 | RoleRef |
| 38 | Subject |
| 39 | */ |
| 40 | package v1 |
| 41 | |
Scott Baker | 4a35a70 | 2019-11-26 08:17:33 -0800 | [diff] [blame] | 42 | import ( |
| 43 | fmt "fmt" |
Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 44 | |
Scott Baker | 4a35a70 | 2019-11-26 08:17:33 -0800 | [diff] [blame] | 45 | proto "github.com/gogo/protobuf/proto" |
Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 46 | |
Scott Baker | 4a35a70 | 2019-11-26 08:17:33 -0800 | [diff] [blame] | 47 | math "math" |
Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 48 | |
Scott Baker | 4a35a70 | 2019-11-26 08:17:33 -0800 | [diff] [blame] | 49 | k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" |
| 50 | |
| 51 | strings "strings" |
| 52 | |
| 53 | reflect "reflect" |
| 54 | |
| 55 | io "io" |
| 56 | ) |
Zack Williams | e940c7a | 2019-08-21 14:25:39 -0700 | [diff] [blame] | 57 | |
| 58 | // Reference imports to suppress errors if they are not otherwise used. |
| 59 | var _ = proto.Marshal |
| 60 | var _ = fmt.Errorf |
| 61 | var _ = math.Inf |
| 62 | |
| 63 | // This is a compile-time assertion to ensure that this generated file |
| 64 | // is compatible with the proto package it is being compiled against. |
| 65 | // A compilation error at this line likely means your copy of the |
| 66 | // proto package needs to be updated. |
| 67 | const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package |
| 68 | |
| 69 | func (m *AggregationRule) Reset() { *m = AggregationRule{} } |
| 70 | func (*AggregationRule) ProtoMessage() {} |
| 71 | func (*AggregationRule) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } |
| 72 | |
| 73 | func (m *ClusterRole) Reset() { *m = ClusterRole{} } |
| 74 | func (*ClusterRole) ProtoMessage() {} |
| 75 | func (*ClusterRole) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } |
| 76 | |
| 77 | func (m *ClusterRoleBinding) Reset() { *m = ClusterRoleBinding{} } |
| 78 | func (*ClusterRoleBinding) ProtoMessage() {} |
| 79 | func (*ClusterRoleBinding) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } |
| 80 | |
| 81 | func (m *ClusterRoleBindingList) Reset() { *m = ClusterRoleBindingList{} } |
| 82 | func (*ClusterRoleBindingList) ProtoMessage() {} |
| 83 | func (*ClusterRoleBindingList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } |
| 84 | |
| 85 | func (m *ClusterRoleList) Reset() { *m = ClusterRoleList{} } |
| 86 | func (*ClusterRoleList) ProtoMessage() {} |
| 87 | func (*ClusterRoleList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } |
| 88 | |
| 89 | func (m *PolicyRule) Reset() { *m = PolicyRule{} } |
| 90 | func (*PolicyRule) ProtoMessage() {} |
| 91 | func (*PolicyRule) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} } |
| 92 | |
| 93 | func (m *Role) Reset() { *m = Role{} } |
| 94 | func (*Role) ProtoMessage() {} |
| 95 | func (*Role) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} } |
| 96 | |
| 97 | func (m *RoleBinding) Reset() { *m = RoleBinding{} } |
| 98 | func (*RoleBinding) ProtoMessage() {} |
| 99 | func (*RoleBinding) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } |
| 100 | |
| 101 | func (m *RoleBindingList) Reset() { *m = RoleBindingList{} } |
| 102 | func (*RoleBindingList) ProtoMessage() {} |
| 103 | func (*RoleBindingList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} } |
| 104 | |
| 105 | func (m *RoleList) Reset() { *m = RoleList{} } |
| 106 | func (*RoleList) ProtoMessage() {} |
| 107 | func (*RoleList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} } |
| 108 | |
| 109 | func (m *RoleRef) Reset() { *m = RoleRef{} } |
| 110 | func (*RoleRef) ProtoMessage() {} |
| 111 | func (*RoleRef) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } |
| 112 | |
| 113 | func (m *Subject) Reset() { *m = Subject{} } |
| 114 | func (*Subject) ProtoMessage() {} |
| 115 | func (*Subject) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} } |
| 116 | |
| 117 | func init() { |
| 118 | proto.RegisterType((*AggregationRule)(nil), "k8s.io.api.rbac.v1.AggregationRule") |
| 119 | proto.RegisterType((*ClusterRole)(nil), "k8s.io.api.rbac.v1.ClusterRole") |
| 120 | proto.RegisterType((*ClusterRoleBinding)(nil), "k8s.io.api.rbac.v1.ClusterRoleBinding") |
| 121 | proto.RegisterType((*ClusterRoleBindingList)(nil), "k8s.io.api.rbac.v1.ClusterRoleBindingList") |
| 122 | proto.RegisterType((*ClusterRoleList)(nil), "k8s.io.api.rbac.v1.ClusterRoleList") |
| 123 | proto.RegisterType((*PolicyRule)(nil), "k8s.io.api.rbac.v1.PolicyRule") |
| 124 | proto.RegisterType((*Role)(nil), "k8s.io.api.rbac.v1.Role") |
| 125 | proto.RegisterType((*RoleBinding)(nil), "k8s.io.api.rbac.v1.RoleBinding") |
| 126 | proto.RegisterType((*RoleBindingList)(nil), "k8s.io.api.rbac.v1.RoleBindingList") |
| 127 | proto.RegisterType((*RoleList)(nil), "k8s.io.api.rbac.v1.RoleList") |
| 128 | proto.RegisterType((*RoleRef)(nil), "k8s.io.api.rbac.v1.RoleRef") |
| 129 | proto.RegisterType((*Subject)(nil), "k8s.io.api.rbac.v1.Subject") |
| 130 | } |
| 131 | func (m *AggregationRule) Marshal() (dAtA []byte, err error) { |
| 132 | size := m.Size() |
| 133 | dAtA = make([]byte, size) |
| 134 | n, err := m.MarshalTo(dAtA) |
| 135 | if err != nil { |
| 136 | return nil, err |
| 137 | } |
| 138 | return dAtA[:n], nil |
| 139 | } |
| 140 | |
| 141 | func (m *AggregationRule) MarshalTo(dAtA []byte) (int, error) { |
| 142 | var i int |
| 143 | _ = i |
| 144 | var l int |
| 145 | _ = l |
| 146 | if len(m.ClusterRoleSelectors) > 0 { |
| 147 | for _, msg := range m.ClusterRoleSelectors { |
| 148 | dAtA[i] = 0xa |
| 149 | i++ |
| 150 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 151 | n, err := msg.MarshalTo(dAtA[i:]) |
| 152 | if err != nil { |
| 153 | return 0, err |
| 154 | } |
| 155 | i += n |
| 156 | } |
| 157 | } |
| 158 | return i, nil |
| 159 | } |
| 160 | |
| 161 | func (m *ClusterRole) Marshal() (dAtA []byte, err error) { |
| 162 | size := m.Size() |
| 163 | dAtA = make([]byte, size) |
| 164 | n, err := m.MarshalTo(dAtA) |
| 165 | if err != nil { |
| 166 | return nil, err |
| 167 | } |
| 168 | return dAtA[:n], nil |
| 169 | } |
| 170 | |
| 171 | func (m *ClusterRole) MarshalTo(dAtA []byte) (int, error) { |
| 172 | var i int |
| 173 | _ = i |
| 174 | var l int |
| 175 | _ = l |
| 176 | dAtA[i] = 0xa |
| 177 | i++ |
| 178 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 179 | n1, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 180 | if err != nil { |
| 181 | return 0, err |
| 182 | } |
| 183 | i += n1 |
| 184 | if len(m.Rules) > 0 { |
| 185 | for _, msg := range m.Rules { |
| 186 | dAtA[i] = 0x12 |
| 187 | i++ |
| 188 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 189 | n, err := msg.MarshalTo(dAtA[i:]) |
| 190 | if err != nil { |
| 191 | return 0, err |
| 192 | } |
| 193 | i += n |
| 194 | } |
| 195 | } |
| 196 | if m.AggregationRule != nil { |
| 197 | dAtA[i] = 0x1a |
| 198 | i++ |
| 199 | i = encodeVarintGenerated(dAtA, i, uint64(m.AggregationRule.Size())) |
| 200 | n2, err := m.AggregationRule.MarshalTo(dAtA[i:]) |
| 201 | if err != nil { |
| 202 | return 0, err |
| 203 | } |
| 204 | i += n2 |
| 205 | } |
| 206 | return i, nil |
| 207 | } |
| 208 | |
| 209 | func (m *ClusterRoleBinding) Marshal() (dAtA []byte, err error) { |
| 210 | size := m.Size() |
| 211 | dAtA = make([]byte, size) |
| 212 | n, err := m.MarshalTo(dAtA) |
| 213 | if err != nil { |
| 214 | return nil, err |
| 215 | } |
| 216 | return dAtA[:n], nil |
| 217 | } |
| 218 | |
| 219 | func (m *ClusterRoleBinding) MarshalTo(dAtA []byte) (int, error) { |
| 220 | var i int |
| 221 | _ = i |
| 222 | var l int |
| 223 | _ = l |
| 224 | dAtA[i] = 0xa |
| 225 | i++ |
| 226 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 227 | n3, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 228 | if err != nil { |
| 229 | return 0, err |
| 230 | } |
| 231 | i += n3 |
| 232 | if len(m.Subjects) > 0 { |
| 233 | for _, msg := range m.Subjects { |
| 234 | dAtA[i] = 0x12 |
| 235 | i++ |
| 236 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 237 | n, err := msg.MarshalTo(dAtA[i:]) |
| 238 | if err != nil { |
| 239 | return 0, err |
| 240 | } |
| 241 | i += n |
| 242 | } |
| 243 | } |
| 244 | dAtA[i] = 0x1a |
| 245 | i++ |
| 246 | i = encodeVarintGenerated(dAtA, i, uint64(m.RoleRef.Size())) |
| 247 | n4, err := m.RoleRef.MarshalTo(dAtA[i:]) |
| 248 | if err != nil { |
| 249 | return 0, err |
| 250 | } |
| 251 | i += n4 |
| 252 | return i, nil |
| 253 | } |
| 254 | |
| 255 | func (m *ClusterRoleBindingList) Marshal() (dAtA []byte, err error) { |
| 256 | size := m.Size() |
| 257 | dAtA = make([]byte, size) |
| 258 | n, err := m.MarshalTo(dAtA) |
| 259 | if err != nil { |
| 260 | return nil, err |
| 261 | } |
| 262 | return dAtA[:n], nil |
| 263 | } |
| 264 | |
| 265 | func (m *ClusterRoleBindingList) MarshalTo(dAtA []byte) (int, error) { |
| 266 | var i int |
| 267 | _ = i |
| 268 | var l int |
| 269 | _ = l |
| 270 | dAtA[i] = 0xa |
| 271 | i++ |
| 272 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 273 | n5, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 274 | if err != nil { |
| 275 | return 0, err |
| 276 | } |
| 277 | i += n5 |
| 278 | if len(m.Items) > 0 { |
| 279 | for _, msg := range m.Items { |
| 280 | dAtA[i] = 0x12 |
| 281 | i++ |
| 282 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 283 | n, err := msg.MarshalTo(dAtA[i:]) |
| 284 | if err != nil { |
| 285 | return 0, err |
| 286 | } |
| 287 | i += n |
| 288 | } |
| 289 | } |
| 290 | return i, nil |
| 291 | } |
| 292 | |
| 293 | func (m *ClusterRoleList) Marshal() (dAtA []byte, err error) { |
| 294 | size := m.Size() |
| 295 | dAtA = make([]byte, size) |
| 296 | n, err := m.MarshalTo(dAtA) |
| 297 | if err != nil { |
| 298 | return nil, err |
| 299 | } |
| 300 | return dAtA[:n], nil |
| 301 | } |
| 302 | |
| 303 | func (m *ClusterRoleList) MarshalTo(dAtA []byte) (int, error) { |
| 304 | var i int |
| 305 | _ = i |
| 306 | var l int |
| 307 | _ = l |
| 308 | dAtA[i] = 0xa |
| 309 | i++ |
| 310 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 311 | n6, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 312 | if err != nil { |
| 313 | return 0, err |
| 314 | } |
| 315 | i += n6 |
| 316 | if len(m.Items) > 0 { |
| 317 | for _, msg := range m.Items { |
| 318 | dAtA[i] = 0x12 |
| 319 | i++ |
| 320 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 321 | n, err := msg.MarshalTo(dAtA[i:]) |
| 322 | if err != nil { |
| 323 | return 0, err |
| 324 | } |
| 325 | i += n |
| 326 | } |
| 327 | } |
| 328 | return i, nil |
| 329 | } |
| 330 | |
| 331 | func (m *PolicyRule) Marshal() (dAtA []byte, err error) { |
| 332 | size := m.Size() |
| 333 | dAtA = make([]byte, size) |
| 334 | n, err := m.MarshalTo(dAtA) |
| 335 | if err != nil { |
| 336 | return nil, err |
| 337 | } |
| 338 | return dAtA[:n], nil |
| 339 | } |
| 340 | |
| 341 | func (m *PolicyRule) MarshalTo(dAtA []byte) (int, error) { |
| 342 | var i int |
| 343 | _ = i |
| 344 | var l int |
| 345 | _ = l |
| 346 | if len(m.Verbs) > 0 { |
| 347 | for _, s := range m.Verbs { |
| 348 | dAtA[i] = 0xa |
| 349 | i++ |
| 350 | l = len(s) |
| 351 | for l >= 1<<7 { |
| 352 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 353 | l >>= 7 |
| 354 | i++ |
| 355 | } |
| 356 | dAtA[i] = uint8(l) |
| 357 | i++ |
| 358 | i += copy(dAtA[i:], s) |
| 359 | } |
| 360 | } |
| 361 | if len(m.APIGroups) > 0 { |
| 362 | for _, s := range m.APIGroups { |
| 363 | dAtA[i] = 0x12 |
| 364 | i++ |
| 365 | l = len(s) |
| 366 | for l >= 1<<7 { |
| 367 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 368 | l >>= 7 |
| 369 | i++ |
| 370 | } |
| 371 | dAtA[i] = uint8(l) |
| 372 | i++ |
| 373 | i += copy(dAtA[i:], s) |
| 374 | } |
| 375 | } |
| 376 | if len(m.Resources) > 0 { |
| 377 | for _, s := range m.Resources { |
| 378 | dAtA[i] = 0x1a |
| 379 | i++ |
| 380 | l = len(s) |
| 381 | for l >= 1<<7 { |
| 382 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 383 | l >>= 7 |
| 384 | i++ |
| 385 | } |
| 386 | dAtA[i] = uint8(l) |
| 387 | i++ |
| 388 | i += copy(dAtA[i:], s) |
| 389 | } |
| 390 | } |
| 391 | if len(m.ResourceNames) > 0 { |
| 392 | for _, s := range m.ResourceNames { |
| 393 | dAtA[i] = 0x22 |
| 394 | i++ |
| 395 | l = len(s) |
| 396 | for l >= 1<<7 { |
| 397 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 398 | l >>= 7 |
| 399 | i++ |
| 400 | } |
| 401 | dAtA[i] = uint8(l) |
| 402 | i++ |
| 403 | i += copy(dAtA[i:], s) |
| 404 | } |
| 405 | } |
| 406 | if len(m.NonResourceURLs) > 0 { |
| 407 | for _, s := range m.NonResourceURLs { |
| 408 | dAtA[i] = 0x2a |
| 409 | i++ |
| 410 | l = len(s) |
| 411 | for l >= 1<<7 { |
| 412 | dAtA[i] = uint8(uint64(l)&0x7f | 0x80) |
| 413 | l >>= 7 |
| 414 | i++ |
| 415 | } |
| 416 | dAtA[i] = uint8(l) |
| 417 | i++ |
| 418 | i += copy(dAtA[i:], s) |
| 419 | } |
| 420 | } |
| 421 | return i, nil |
| 422 | } |
| 423 | |
| 424 | func (m *Role) Marshal() (dAtA []byte, err error) { |
| 425 | size := m.Size() |
| 426 | dAtA = make([]byte, size) |
| 427 | n, err := m.MarshalTo(dAtA) |
| 428 | if err != nil { |
| 429 | return nil, err |
| 430 | } |
| 431 | return dAtA[:n], nil |
| 432 | } |
| 433 | |
| 434 | func (m *Role) MarshalTo(dAtA []byte) (int, error) { |
| 435 | var i int |
| 436 | _ = i |
| 437 | var l int |
| 438 | _ = l |
| 439 | dAtA[i] = 0xa |
| 440 | i++ |
| 441 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 442 | n7, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 443 | if err != nil { |
| 444 | return 0, err |
| 445 | } |
| 446 | i += n7 |
| 447 | if len(m.Rules) > 0 { |
| 448 | for _, msg := range m.Rules { |
| 449 | dAtA[i] = 0x12 |
| 450 | i++ |
| 451 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 452 | n, err := msg.MarshalTo(dAtA[i:]) |
| 453 | if err != nil { |
| 454 | return 0, err |
| 455 | } |
| 456 | i += n |
| 457 | } |
| 458 | } |
| 459 | return i, nil |
| 460 | } |
| 461 | |
| 462 | func (m *RoleBinding) Marshal() (dAtA []byte, err error) { |
| 463 | size := m.Size() |
| 464 | dAtA = make([]byte, size) |
| 465 | n, err := m.MarshalTo(dAtA) |
| 466 | if err != nil { |
| 467 | return nil, err |
| 468 | } |
| 469 | return dAtA[:n], nil |
| 470 | } |
| 471 | |
| 472 | func (m *RoleBinding) MarshalTo(dAtA []byte) (int, error) { |
| 473 | var i int |
| 474 | _ = i |
| 475 | var l int |
| 476 | _ = l |
| 477 | dAtA[i] = 0xa |
| 478 | i++ |
| 479 | i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size())) |
| 480 | n8, err := m.ObjectMeta.MarshalTo(dAtA[i:]) |
| 481 | if err != nil { |
| 482 | return 0, err |
| 483 | } |
| 484 | i += n8 |
| 485 | if len(m.Subjects) > 0 { |
| 486 | for _, msg := range m.Subjects { |
| 487 | dAtA[i] = 0x12 |
| 488 | i++ |
| 489 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 490 | n, err := msg.MarshalTo(dAtA[i:]) |
| 491 | if err != nil { |
| 492 | return 0, err |
| 493 | } |
| 494 | i += n |
| 495 | } |
| 496 | } |
| 497 | dAtA[i] = 0x1a |
| 498 | i++ |
| 499 | i = encodeVarintGenerated(dAtA, i, uint64(m.RoleRef.Size())) |
| 500 | n9, err := m.RoleRef.MarshalTo(dAtA[i:]) |
| 501 | if err != nil { |
| 502 | return 0, err |
| 503 | } |
| 504 | i += n9 |
| 505 | return i, nil |
| 506 | } |
| 507 | |
| 508 | func (m *RoleBindingList) Marshal() (dAtA []byte, err error) { |
| 509 | size := m.Size() |
| 510 | dAtA = make([]byte, size) |
| 511 | n, err := m.MarshalTo(dAtA) |
| 512 | if err != nil { |
| 513 | return nil, err |
| 514 | } |
| 515 | return dAtA[:n], nil |
| 516 | } |
| 517 | |
| 518 | func (m *RoleBindingList) MarshalTo(dAtA []byte) (int, error) { |
| 519 | var i int |
| 520 | _ = i |
| 521 | var l int |
| 522 | _ = l |
| 523 | dAtA[i] = 0xa |
| 524 | i++ |
| 525 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 526 | n10, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 527 | if err != nil { |
| 528 | return 0, err |
| 529 | } |
| 530 | i += n10 |
| 531 | if len(m.Items) > 0 { |
| 532 | for _, msg := range m.Items { |
| 533 | dAtA[i] = 0x12 |
| 534 | i++ |
| 535 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 536 | n, err := msg.MarshalTo(dAtA[i:]) |
| 537 | if err != nil { |
| 538 | return 0, err |
| 539 | } |
| 540 | i += n |
| 541 | } |
| 542 | } |
| 543 | return i, nil |
| 544 | } |
| 545 | |
| 546 | func (m *RoleList) Marshal() (dAtA []byte, err error) { |
| 547 | size := m.Size() |
| 548 | dAtA = make([]byte, size) |
| 549 | n, err := m.MarshalTo(dAtA) |
| 550 | if err != nil { |
| 551 | return nil, err |
| 552 | } |
| 553 | return dAtA[:n], nil |
| 554 | } |
| 555 | |
| 556 | func (m *RoleList) MarshalTo(dAtA []byte) (int, error) { |
| 557 | var i int |
| 558 | _ = i |
| 559 | var l int |
| 560 | _ = l |
| 561 | dAtA[i] = 0xa |
| 562 | i++ |
| 563 | i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size())) |
| 564 | n11, err := m.ListMeta.MarshalTo(dAtA[i:]) |
| 565 | if err != nil { |
| 566 | return 0, err |
| 567 | } |
| 568 | i += n11 |
| 569 | if len(m.Items) > 0 { |
| 570 | for _, msg := range m.Items { |
| 571 | dAtA[i] = 0x12 |
| 572 | i++ |
| 573 | i = encodeVarintGenerated(dAtA, i, uint64(msg.Size())) |
| 574 | n, err := msg.MarshalTo(dAtA[i:]) |
| 575 | if err != nil { |
| 576 | return 0, err |
| 577 | } |
| 578 | i += n |
| 579 | } |
| 580 | } |
| 581 | return i, nil |
| 582 | } |
| 583 | |
| 584 | func (m *RoleRef) Marshal() (dAtA []byte, err error) { |
| 585 | size := m.Size() |
| 586 | dAtA = make([]byte, size) |
| 587 | n, err := m.MarshalTo(dAtA) |
| 588 | if err != nil { |
| 589 | return nil, err |
| 590 | } |
| 591 | return dAtA[:n], nil |
| 592 | } |
| 593 | |
| 594 | func (m *RoleRef) MarshalTo(dAtA []byte) (int, error) { |
| 595 | var i int |
| 596 | _ = i |
| 597 | var l int |
| 598 | _ = l |
| 599 | dAtA[i] = 0xa |
| 600 | i++ |
| 601 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIGroup))) |
| 602 | i += copy(dAtA[i:], m.APIGroup) |
| 603 | dAtA[i] = 0x12 |
| 604 | i++ |
| 605 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) |
| 606 | i += copy(dAtA[i:], m.Kind) |
| 607 | dAtA[i] = 0x1a |
| 608 | i++ |
| 609 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 610 | i += copy(dAtA[i:], m.Name) |
| 611 | return i, nil |
| 612 | } |
| 613 | |
| 614 | func (m *Subject) Marshal() (dAtA []byte, err error) { |
| 615 | size := m.Size() |
| 616 | dAtA = make([]byte, size) |
| 617 | n, err := m.MarshalTo(dAtA) |
| 618 | if err != nil { |
| 619 | return nil, err |
| 620 | } |
| 621 | return dAtA[:n], nil |
| 622 | } |
| 623 | |
| 624 | func (m *Subject) MarshalTo(dAtA []byte) (int, error) { |
| 625 | var i int |
| 626 | _ = i |
| 627 | var l int |
| 628 | _ = l |
| 629 | dAtA[i] = 0xa |
| 630 | i++ |
| 631 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) |
| 632 | i += copy(dAtA[i:], m.Kind) |
| 633 | dAtA[i] = 0x12 |
| 634 | i++ |
| 635 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIGroup))) |
| 636 | i += copy(dAtA[i:], m.APIGroup) |
| 637 | dAtA[i] = 0x1a |
| 638 | i++ |
| 639 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| 640 | i += copy(dAtA[i:], m.Name) |
| 641 | dAtA[i] = 0x22 |
| 642 | i++ |
| 643 | i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace))) |
| 644 | i += copy(dAtA[i:], m.Namespace) |
| 645 | return i, nil |
| 646 | } |
| 647 | |
| 648 | func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int { |
| 649 | for v >= 1<<7 { |
| 650 | dAtA[offset] = uint8(v&0x7f | 0x80) |
| 651 | v >>= 7 |
| 652 | offset++ |
| 653 | } |
| 654 | dAtA[offset] = uint8(v) |
| 655 | return offset + 1 |
| 656 | } |
| 657 | func (m *AggregationRule) Size() (n int) { |
| 658 | var l int |
| 659 | _ = l |
| 660 | if len(m.ClusterRoleSelectors) > 0 { |
| 661 | for _, e := range m.ClusterRoleSelectors { |
| 662 | l = e.Size() |
| 663 | n += 1 + l + sovGenerated(uint64(l)) |
| 664 | } |
| 665 | } |
| 666 | return n |
| 667 | } |
| 668 | |
| 669 | func (m *ClusterRole) Size() (n int) { |
| 670 | var l int |
| 671 | _ = l |
| 672 | l = m.ObjectMeta.Size() |
| 673 | n += 1 + l + sovGenerated(uint64(l)) |
| 674 | if len(m.Rules) > 0 { |
| 675 | for _, e := range m.Rules { |
| 676 | l = e.Size() |
| 677 | n += 1 + l + sovGenerated(uint64(l)) |
| 678 | } |
| 679 | } |
| 680 | if m.AggregationRule != nil { |
| 681 | l = m.AggregationRule.Size() |
| 682 | n += 1 + l + sovGenerated(uint64(l)) |
| 683 | } |
| 684 | return n |
| 685 | } |
| 686 | |
| 687 | func (m *ClusterRoleBinding) Size() (n int) { |
| 688 | var l int |
| 689 | _ = l |
| 690 | l = m.ObjectMeta.Size() |
| 691 | n += 1 + l + sovGenerated(uint64(l)) |
| 692 | if len(m.Subjects) > 0 { |
| 693 | for _, e := range m.Subjects { |
| 694 | l = e.Size() |
| 695 | n += 1 + l + sovGenerated(uint64(l)) |
| 696 | } |
| 697 | } |
| 698 | l = m.RoleRef.Size() |
| 699 | n += 1 + l + sovGenerated(uint64(l)) |
| 700 | return n |
| 701 | } |
| 702 | |
| 703 | func (m *ClusterRoleBindingList) Size() (n int) { |
| 704 | var l int |
| 705 | _ = l |
| 706 | l = m.ListMeta.Size() |
| 707 | n += 1 + l + sovGenerated(uint64(l)) |
| 708 | if len(m.Items) > 0 { |
| 709 | for _, e := range m.Items { |
| 710 | l = e.Size() |
| 711 | n += 1 + l + sovGenerated(uint64(l)) |
| 712 | } |
| 713 | } |
| 714 | return n |
| 715 | } |
| 716 | |
| 717 | func (m *ClusterRoleList) Size() (n int) { |
| 718 | var l int |
| 719 | _ = l |
| 720 | l = m.ListMeta.Size() |
| 721 | n += 1 + l + sovGenerated(uint64(l)) |
| 722 | if len(m.Items) > 0 { |
| 723 | for _, e := range m.Items { |
| 724 | l = e.Size() |
| 725 | n += 1 + l + sovGenerated(uint64(l)) |
| 726 | } |
| 727 | } |
| 728 | return n |
| 729 | } |
| 730 | |
| 731 | func (m *PolicyRule) Size() (n int) { |
| 732 | var l int |
| 733 | _ = l |
| 734 | if len(m.Verbs) > 0 { |
| 735 | for _, s := range m.Verbs { |
| 736 | l = len(s) |
| 737 | n += 1 + l + sovGenerated(uint64(l)) |
| 738 | } |
| 739 | } |
| 740 | if len(m.APIGroups) > 0 { |
| 741 | for _, s := range m.APIGroups { |
| 742 | l = len(s) |
| 743 | n += 1 + l + sovGenerated(uint64(l)) |
| 744 | } |
| 745 | } |
| 746 | if len(m.Resources) > 0 { |
| 747 | for _, s := range m.Resources { |
| 748 | l = len(s) |
| 749 | n += 1 + l + sovGenerated(uint64(l)) |
| 750 | } |
| 751 | } |
| 752 | if len(m.ResourceNames) > 0 { |
| 753 | for _, s := range m.ResourceNames { |
| 754 | l = len(s) |
| 755 | n += 1 + l + sovGenerated(uint64(l)) |
| 756 | } |
| 757 | } |
| 758 | if len(m.NonResourceURLs) > 0 { |
| 759 | for _, s := range m.NonResourceURLs { |
| 760 | l = len(s) |
| 761 | n += 1 + l + sovGenerated(uint64(l)) |
| 762 | } |
| 763 | } |
| 764 | return n |
| 765 | } |
| 766 | |
| 767 | func (m *Role) Size() (n int) { |
| 768 | var l int |
| 769 | _ = l |
| 770 | l = m.ObjectMeta.Size() |
| 771 | n += 1 + l + sovGenerated(uint64(l)) |
| 772 | if len(m.Rules) > 0 { |
| 773 | for _, e := range m.Rules { |
| 774 | l = e.Size() |
| 775 | n += 1 + l + sovGenerated(uint64(l)) |
| 776 | } |
| 777 | } |
| 778 | return n |
| 779 | } |
| 780 | |
| 781 | func (m *RoleBinding) Size() (n int) { |
| 782 | var l int |
| 783 | _ = l |
| 784 | l = m.ObjectMeta.Size() |
| 785 | n += 1 + l + sovGenerated(uint64(l)) |
| 786 | if len(m.Subjects) > 0 { |
| 787 | for _, e := range m.Subjects { |
| 788 | l = e.Size() |
| 789 | n += 1 + l + sovGenerated(uint64(l)) |
| 790 | } |
| 791 | } |
| 792 | l = m.RoleRef.Size() |
| 793 | n += 1 + l + sovGenerated(uint64(l)) |
| 794 | return n |
| 795 | } |
| 796 | |
| 797 | func (m *RoleBindingList) Size() (n int) { |
| 798 | var l int |
| 799 | _ = l |
| 800 | l = m.ListMeta.Size() |
| 801 | n += 1 + l + sovGenerated(uint64(l)) |
| 802 | if len(m.Items) > 0 { |
| 803 | for _, e := range m.Items { |
| 804 | l = e.Size() |
| 805 | n += 1 + l + sovGenerated(uint64(l)) |
| 806 | } |
| 807 | } |
| 808 | return n |
| 809 | } |
| 810 | |
| 811 | func (m *RoleList) Size() (n int) { |
| 812 | var l int |
| 813 | _ = l |
| 814 | l = m.ListMeta.Size() |
| 815 | n += 1 + l + sovGenerated(uint64(l)) |
| 816 | if len(m.Items) > 0 { |
| 817 | for _, e := range m.Items { |
| 818 | l = e.Size() |
| 819 | n += 1 + l + sovGenerated(uint64(l)) |
| 820 | } |
| 821 | } |
| 822 | return n |
| 823 | } |
| 824 | |
| 825 | func (m *RoleRef) Size() (n int) { |
| 826 | var l int |
| 827 | _ = l |
| 828 | l = len(m.APIGroup) |
| 829 | n += 1 + l + sovGenerated(uint64(l)) |
| 830 | l = len(m.Kind) |
| 831 | n += 1 + l + sovGenerated(uint64(l)) |
| 832 | l = len(m.Name) |
| 833 | n += 1 + l + sovGenerated(uint64(l)) |
| 834 | return n |
| 835 | } |
| 836 | |
| 837 | func (m *Subject) Size() (n int) { |
| 838 | var l int |
| 839 | _ = l |
| 840 | l = len(m.Kind) |
| 841 | n += 1 + l + sovGenerated(uint64(l)) |
| 842 | l = len(m.APIGroup) |
| 843 | n += 1 + l + sovGenerated(uint64(l)) |
| 844 | l = len(m.Name) |
| 845 | n += 1 + l + sovGenerated(uint64(l)) |
| 846 | l = len(m.Namespace) |
| 847 | n += 1 + l + sovGenerated(uint64(l)) |
| 848 | return n |
| 849 | } |
| 850 | |
| 851 | func sovGenerated(x uint64) (n int) { |
| 852 | for { |
| 853 | n++ |
| 854 | x >>= 7 |
| 855 | if x == 0 { |
| 856 | break |
| 857 | } |
| 858 | } |
| 859 | return n |
| 860 | } |
| 861 | func sozGenerated(x uint64) (n int) { |
| 862 | return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
| 863 | } |
| 864 | func (this *AggregationRule) String() string { |
| 865 | if this == nil { |
| 866 | return "nil" |
| 867 | } |
| 868 | s := strings.Join([]string{`&AggregationRule{`, |
| 869 | `ClusterRoleSelectors:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ClusterRoleSelectors), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1), `&`, ``, 1) + `,`, |
| 870 | `}`, |
| 871 | }, "") |
| 872 | return s |
| 873 | } |
| 874 | func (this *ClusterRole) String() string { |
| 875 | if this == nil { |
| 876 | return "nil" |
| 877 | } |
| 878 | s := strings.Join([]string{`&ClusterRole{`, |
| 879 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 880 | `Rules:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Rules), "PolicyRule", "PolicyRule", 1), `&`, ``, 1) + `,`, |
| 881 | `AggregationRule:` + strings.Replace(fmt.Sprintf("%v", this.AggregationRule), "AggregationRule", "AggregationRule", 1) + `,`, |
| 882 | `}`, |
| 883 | }, "") |
| 884 | return s |
| 885 | } |
| 886 | func (this *ClusterRoleBinding) String() string { |
| 887 | if this == nil { |
| 888 | return "nil" |
| 889 | } |
| 890 | s := strings.Join([]string{`&ClusterRoleBinding{`, |
| 891 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 892 | `Subjects:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Subjects), "Subject", "Subject", 1), `&`, ``, 1) + `,`, |
| 893 | `RoleRef:` + strings.Replace(strings.Replace(this.RoleRef.String(), "RoleRef", "RoleRef", 1), `&`, ``, 1) + `,`, |
| 894 | `}`, |
| 895 | }, "") |
| 896 | return s |
| 897 | } |
| 898 | func (this *ClusterRoleBindingList) String() string { |
| 899 | if this == nil { |
| 900 | return "nil" |
| 901 | } |
| 902 | s := strings.Join([]string{`&ClusterRoleBindingList{`, |
| 903 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 904 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ClusterRoleBinding", "ClusterRoleBinding", 1), `&`, ``, 1) + `,`, |
| 905 | `}`, |
| 906 | }, "") |
| 907 | return s |
| 908 | } |
| 909 | func (this *ClusterRoleList) String() string { |
| 910 | if this == nil { |
| 911 | return "nil" |
| 912 | } |
| 913 | s := strings.Join([]string{`&ClusterRoleList{`, |
| 914 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 915 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ClusterRole", "ClusterRole", 1), `&`, ``, 1) + `,`, |
| 916 | `}`, |
| 917 | }, "") |
| 918 | return s |
| 919 | } |
| 920 | func (this *PolicyRule) String() string { |
| 921 | if this == nil { |
| 922 | return "nil" |
| 923 | } |
| 924 | s := strings.Join([]string{`&PolicyRule{`, |
| 925 | `Verbs:` + fmt.Sprintf("%v", this.Verbs) + `,`, |
| 926 | `APIGroups:` + fmt.Sprintf("%v", this.APIGroups) + `,`, |
| 927 | `Resources:` + fmt.Sprintf("%v", this.Resources) + `,`, |
| 928 | `ResourceNames:` + fmt.Sprintf("%v", this.ResourceNames) + `,`, |
| 929 | `NonResourceURLs:` + fmt.Sprintf("%v", this.NonResourceURLs) + `,`, |
| 930 | `}`, |
| 931 | }, "") |
| 932 | return s |
| 933 | } |
| 934 | func (this *Role) String() string { |
| 935 | if this == nil { |
| 936 | return "nil" |
| 937 | } |
| 938 | s := strings.Join([]string{`&Role{`, |
| 939 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 940 | `Rules:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Rules), "PolicyRule", "PolicyRule", 1), `&`, ``, 1) + `,`, |
| 941 | `}`, |
| 942 | }, "") |
| 943 | return s |
| 944 | } |
| 945 | func (this *RoleBinding) String() string { |
| 946 | if this == nil { |
| 947 | return "nil" |
| 948 | } |
| 949 | s := strings.Join([]string{`&RoleBinding{`, |
| 950 | `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| 951 | `Subjects:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Subjects), "Subject", "Subject", 1), `&`, ``, 1) + `,`, |
| 952 | `RoleRef:` + strings.Replace(strings.Replace(this.RoleRef.String(), "RoleRef", "RoleRef", 1), `&`, ``, 1) + `,`, |
| 953 | `}`, |
| 954 | }, "") |
| 955 | return s |
| 956 | } |
| 957 | func (this *RoleBindingList) String() string { |
| 958 | if this == nil { |
| 959 | return "nil" |
| 960 | } |
| 961 | s := strings.Join([]string{`&RoleBindingList{`, |
| 962 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 963 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "RoleBinding", "RoleBinding", 1), `&`, ``, 1) + `,`, |
| 964 | `}`, |
| 965 | }, "") |
| 966 | return s |
| 967 | } |
| 968 | func (this *RoleList) String() string { |
| 969 | if this == nil { |
| 970 | return "nil" |
| 971 | } |
| 972 | s := strings.Join([]string{`&RoleList{`, |
| 973 | `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| 974 | `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Role", "Role", 1), `&`, ``, 1) + `,`, |
| 975 | `}`, |
| 976 | }, "") |
| 977 | return s |
| 978 | } |
| 979 | func (this *RoleRef) String() string { |
| 980 | if this == nil { |
| 981 | return "nil" |
| 982 | } |
| 983 | s := strings.Join([]string{`&RoleRef{`, |
| 984 | `APIGroup:` + fmt.Sprintf("%v", this.APIGroup) + `,`, |
| 985 | `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, |
| 986 | `Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 987 | `}`, |
| 988 | }, "") |
| 989 | return s |
| 990 | } |
| 991 | func (this *Subject) String() string { |
| 992 | if this == nil { |
| 993 | return "nil" |
| 994 | } |
| 995 | s := strings.Join([]string{`&Subject{`, |
| 996 | `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, |
| 997 | `APIGroup:` + fmt.Sprintf("%v", this.APIGroup) + `,`, |
| 998 | `Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| 999 | `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, |
| 1000 | `}`, |
| 1001 | }, "") |
| 1002 | return s |
| 1003 | } |
| 1004 | func valueToStringGenerated(v interface{}) string { |
| 1005 | rv := reflect.ValueOf(v) |
| 1006 | if rv.IsNil() { |
| 1007 | return "nil" |
| 1008 | } |
| 1009 | pv := reflect.Indirect(rv).Interface() |
| 1010 | return fmt.Sprintf("*%v", pv) |
| 1011 | } |
| 1012 | func (m *AggregationRule) Unmarshal(dAtA []byte) error { |
| 1013 | l := len(dAtA) |
| 1014 | iNdEx := 0 |
| 1015 | for iNdEx < l { |
| 1016 | preIndex := iNdEx |
| 1017 | var wire uint64 |
| 1018 | for shift := uint(0); ; shift += 7 { |
| 1019 | if shift >= 64 { |
| 1020 | return ErrIntOverflowGenerated |
| 1021 | } |
| 1022 | if iNdEx >= l { |
| 1023 | return io.ErrUnexpectedEOF |
| 1024 | } |
| 1025 | b := dAtA[iNdEx] |
| 1026 | iNdEx++ |
| 1027 | wire |= (uint64(b) & 0x7F) << shift |
| 1028 | if b < 0x80 { |
| 1029 | break |
| 1030 | } |
| 1031 | } |
| 1032 | fieldNum := int32(wire >> 3) |
| 1033 | wireType := int(wire & 0x7) |
| 1034 | if wireType == 4 { |
| 1035 | return fmt.Errorf("proto: AggregationRule: wiretype end group for non-group") |
| 1036 | } |
| 1037 | if fieldNum <= 0 { |
| 1038 | return fmt.Errorf("proto: AggregationRule: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1039 | } |
| 1040 | switch fieldNum { |
| 1041 | case 1: |
| 1042 | if wireType != 2 { |
| 1043 | return fmt.Errorf("proto: wrong wireType = %d for field ClusterRoleSelectors", wireType) |
| 1044 | } |
| 1045 | var msglen int |
| 1046 | for shift := uint(0); ; shift += 7 { |
| 1047 | if shift >= 64 { |
| 1048 | return ErrIntOverflowGenerated |
| 1049 | } |
| 1050 | if iNdEx >= l { |
| 1051 | return io.ErrUnexpectedEOF |
| 1052 | } |
| 1053 | b := dAtA[iNdEx] |
| 1054 | iNdEx++ |
| 1055 | msglen |= (int(b) & 0x7F) << shift |
| 1056 | if b < 0x80 { |
| 1057 | break |
| 1058 | } |
| 1059 | } |
| 1060 | if msglen < 0 { |
| 1061 | return ErrInvalidLengthGenerated |
| 1062 | } |
| 1063 | postIndex := iNdEx + msglen |
| 1064 | if postIndex > l { |
| 1065 | return io.ErrUnexpectedEOF |
| 1066 | } |
| 1067 | m.ClusterRoleSelectors = append(m.ClusterRoleSelectors, k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}) |
| 1068 | if err := m.ClusterRoleSelectors[len(m.ClusterRoleSelectors)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1069 | return err |
| 1070 | } |
| 1071 | iNdEx = postIndex |
| 1072 | default: |
| 1073 | iNdEx = preIndex |
| 1074 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 1075 | if err != nil { |
| 1076 | return err |
| 1077 | } |
| 1078 | if skippy < 0 { |
| 1079 | return ErrInvalidLengthGenerated |
| 1080 | } |
| 1081 | if (iNdEx + skippy) > l { |
| 1082 | return io.ErrUnexpectedEOF |
| 1083 | } |
| 1084 | iNdEx += skippy |
| 1085 | } |
| 1086 | } |
| 1087 | |
| 1088 | if iNdEx > l { |
| 1089 | return io.ErrUnexpectedEOF |
| 1090 | } |
| 1091 | return nil |
| 1092 | } |
| 1093 | func (m *ClusterRole) Unmarshal(dAtA []byte) error { |
| 1094 | l := len(dAtA) |
| 1095 | iNdEx := 0 |
| 1096 | for iNdEx < l { |
| 1097 | preIndex := iNdEx |
| 1098 | var wire uint64 |
| 1099 | for shift := uint(0); ; shift += 7 { |
| 1100 | if shift >= 64 { |
| 1101 | return ErrIntOverflowGenerated |
| 1102 | } |
| 1103 | if iNdEx >= l { |
| 1104 | return io.ErrUnexpectedEOF |
| 1105 | } |
| 1106 | b := dAtA[iNdEx] |
| 1107 | iNdEx++ |
| 1108 | wire |= (uint64(b) & 0x7F) << shift |
| 1109 | if b < 0x80 { |
| 1110 | break |
| 1111 | } |
| 1112 | } |
| 1113 | fieldNum := int32(wire >> 3) |
| 1114 | wireType := int(wire & 0x7) |
| 1115 | if wireType == 4 { |
| 1116 | return fmt.Errorf("proto: ClusterRole: wiretype end group for non-group") |
| 1117 | } |
| 1118 | if fieldNum <= 0 { |
| 1119 | return fmt.Errorf("proto: ClusterRole: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1120 | } |
| 1121 | switch fieldNum { |
| 1122 | case 1: |
| 1123 | if wireType != 2 { |
| 1124 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 1125 | } |
| 1126 | var msglen int |
| 1127 | for shift := uint(0); ; shift += 7 { |
| 1128 | if shift >= 64 { |
| 1129 | return ErrIntOverflowGenerated |
| 1130 | } |
| 1131 | if iNdEx >= l { |
| 1132 | return io.ErrUnexpectedEOF |
| 1133 | } |
| 1134 | b := dAtA[iNdEx] |
| 1135 | iNdEx++ |
| 1136 | msglen |= (int(b) & 0x7F) << shift |
| 1137 | if b < 0x80 { |
| 1138 | break |
| 1139 | } |
| 1140 | } |
| 1141 | if msglen < 0 { |
| 1142 | return ErrInvalidLengthGenerated |
| 1143 | } |
| 1144 | postIndex := iNdEx + msglen |
| 1145 | if postIndex > l { |
| 1146 | return io.ErrUnexpectedEOF |
| 1147 | } |
| 1148 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1149 | return err |
| 1150 | } |
| 1151 | iNdEx = postIndex |
| 1152 | case 2: |
| 1153 | if wireType != 2 { |
| 1154 | return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType) |
| 1155 | } |
| 1156 | var msglen int |
| 1157 | for shift := uint(0); ; shift += 7 { |
| 1158 | if shift >= 64 { |
| 1159 | return ErrIntOverflowGenerated |
| 1160 | } |
| 1161 | if iNdEx >= l { |
| 1162 | return io.ErrUnexpectedEOF |
| 1163 | } |
| 1164 | b := dAtA[iNdEx] |
| 1165 | iNdEx++ |
| 1166 | msglen |= (int(b) & 0x7F) << shift |
| 1167 | if b < 0x80 { |
| 1168 | break |
| 1169 | } |
| 1170 | } |
| 1171 | if msglen < 0 { |
| 1172 | return ErrInvalidLengthGenerated |
| 1173 | } |
| 1174 | postIndex := iNdEx + msglen |
| 1175 | if postIndex > l { |
| 1176 | return io.ErrUnexpectedEOF |
| 1177 | } |
| 1178 | m.Rules = append(m.Rules, PolicyRule{}) |
| 1179 | if err := m.Rules[len(m.Rules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1180 | return err |
| 1181 | } |
| 1182 | iNdEx = postIndex |
| 1183 | case 3: |
| 1184 | if wireType != 2 { |
| 1185 | return fmt.Errorf("proto: wrong wireType = %d for field AggregationRule", wireType) |
| 1186 | } |
| 1187 | var msglen int |
| 1188 | for shift := uint(0); ; shift += 7 { |
| 1189 | if shift >= 64 { |
| 1190 | return ErrIntOverflowGenerated |
| 1191 | } |
| 1192 | if iNdEx >= l { |
| 1193 | return io.ErrUnexpectedEOF |
| 1194 | } |
| 1195 | b := dAtA[iNdEx] |
| 1196 | iNdEx++ |
| 1197 | msglen |= (int(b) & 0x7F) << shift |
| 1198 | if b < 0x80 { |
| 1199 | break |
| 1200 | } |
| 1201 | } |
| 1202 | if msglen < 0 { |
| 1203 | return ErrInvalidLengthGenerated |
| 1204 | } |
| 1205 | postIndex := iNdEx + msglen |
| 1206 | if postIndex > l { |
| 1207 | return io.ErrUnexpectedEOF |
| 1208 | } |
| 1209 | if m.AggregationRule == nil { |
| 1210 | m.AggregationRule = &AggregationRule{} |
| 1211 | } |
| 1212 | if err := m.AggregationRule.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1213 | return err |
| 1214 | } |
| 1215 | iNdEx = postIndex |
| 1216 | default: |
| 1217 | iNdEx = preIndex |
| 1218 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 1219 | if err != nil { |
| 1220 | return err |
| 1221 | } |
| 1222 | if skippy < 0 { |
| 1223 | return ErrInvalidLengthGenerated |
| 1224 | } |
| 1225 | if (iNdEx + skippy) > l { |
| 1226 | return io.ErrUnexpectedEOF |
| 1227 | } |
| 1228 | iNdEx += skippy |
| 1229 | } |
| 1230 | } |
| 1231 | |
| 1232 | if iNdEx > l { |
| 1233 | return io.ErrUnexpectedEOF |
| 1234 | } |
| 1235 | return nil |
| 1236 | } |
| 1237 | func (m *ClusterRoleBinding) Unmarshal(dAtA []byte) error { |
| 1238 | l := len(dAtA) |
| 1239 | iNdEx := 0 |
| 1240 | for iNdEx < l { |
| 1241 | preIndex := iNdEx |
| 1242 | var wire uint64 |
| 1243 | for shift := uint(0); ; shift += 7 { |
| 1244 | if shift >= 64 { |
| 1245 | return ErrIntOverflowGenerated |
| 1246 | } |
| 1247 | if iNdEx >= l { |
| 1248 | return io.ErrUnexpectedEOF |
| 1249 | } |
| 1250 | b := dAtA[iNdEx] |
| 1251 | iNdEx++ |
| 1252 | wire |= (uint64(b) & 0x7F) << shift |
| 1253 | if b < 0x80 { |
| 1254 | break |
| 1255 | } |
| 1256 | } |
| 1257 | fieldNum := int32(wire >> 3) |
| 1258 | wireType := int(wire & 0x7) |
| 1259 | if wireType == 4 { |
| 1260 | return fmt.Errorf("proto: ClusterRoleBinding: wiretype end group for non-group") |
| 1261 | } |
| 1262 | if fieldNum <= 0 { |
| 1263 | return fmt.Errorf("proto: ClusterRoleBinding: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1264 | } |
| 1265 | switch fieldNum { |
| 1266 | case 1: |
| 1267 | if wireType != 2 { |
| 1268 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 1269 | } |
| 1270 | var msglen int |
| 1271 | for shift := uint(0); ; shift += 7 { |
| 1272 | if shift >= 64 { |
| 1273 | return ErrIntOverflowGenerated |
| 1274 | } |
| 1275 | if iNdEx >= l { |
| 1276 | return io.ErrUnexpectedEOF |
| 1277 | } |
| 1278 | b := dAtA[iNdEx] |
| 1279 | iNdEx++ |
| 1280 | msglen |= (int(b) & 0x7F) << shift |
| 1281 | if b < 0x80 { |
| 1282 | break |
| 1283 | } |
| 1284 | } |
| 1285 | if msglen < 0 { |
| 1286 | return ErrInvalidLengthGenerated |
| 1287 | } |
| 1288 | postIndex := iNdEx + msglen |
| 1289 | if postIndex > l { |
| 1290 | return io.ErrUnexpectedEOF |
| 1291 | } |
| 1292 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1293 | return err |
| 1294 | } |
| 1295 | iNdEx = postIndex |
| 1296 | case 2: |
| 1297 | if wireType != 2 { |
| 1298 | return fmt.Errorf("proto: wrong wireType = %d for field Subjects", wireType) |
| 1299 | } |
| 1300 | var msglen int |
| 1301 | for shift := uint(0); ; shift += 7 { |
| 1302 | if shift >= 64 { |
| 1303 | return ErrIntOverflowGenerated |
| 1304 | } |
| 1305 | if iNdEx >= l { |
| 1306 | return io.ErrUnexpectedEOF |
| 1307 | } |
| 1308 | b := dAtA[iNdEx] |
| 1309 | iNdEx++ |
| 1310 | msglen |= (int(b) & 0x7F) << shift |
| 1311 | if b < 0x80 { |
| 1312 | break |
| 1313 | } |
| 1314 | } |
| 1315 | if msglen < 0 { |
| 1316 | return ErrInvalidLengthGenerated |
| 1317 | } |
| 1318 | postIndex := iNdEx + msglen |
| 1319 | if postIndex > l { |
| 1320 | return io.ErrUnexpectedEOF |
| 1321 | } |
| 1322 | m.Subjects = append(m.Subjects, Subject{}) |
| 1323 | if err := m.Subjects[len(m.Subjects)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1324 | return err |
| 1325 | } |
| 1326 | iNdEx = postIndex |
| 1327 | case 3: |
| 1328 | if wireType != 2 { |
| 1329 | return fmt.Errorf("proto: wrong wireType = %d for field RoleRef", wireType) |
| 1330 | } |
| 1331 | var msglen int |
| 1332 | for shift := uint(0); ; shift += 7 { |
| 1333 | if shift >= 64 { |
| 1334 | return ErrIntOverflowGenerated |
| 1335 | } |
| 1336 | if iNdEx >= l { |
| 1337 | return io.ErrUnexpectedEOF |
| 1338 | } |
| 1339 | b := dAtA[iNdEx] |
| 1340 | iNdEx++ |
| 1341 | msglen |= (int(b) & 0x7F) << shift |
| 1342 | if b < 0x80 { |
| 1343 | break |
| 1344 | } |
| 1345 | } |
| 1346 | if msglen < 0 { |
| 1347 | return ErrInvalidLengthGenerated |
| 1348 | } |
| 1349 | postIndex := iNdEx + msglen |
| 1350 | if postIndex > l { |
| 1351 | return io.ErrUnexpectedEOF |
| 1352 | } |
| 1353 | if err := m.RoleRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1354 | return err |
| 1355 | } |
| 1356 | iNdEx = postIndex |
| 1357 | default: |
| 1358 | iNdEx = preIndex |
| 1359 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 1360 | if err != nil { |
| 1361 | return err |
| 1362 | } |
| 1363 | if skippy < 0 { |
| 1364 | return ErrInvalidLengthGenerated |
| 1365 | } |
| 1366 | if (iNdEx + skippy) > l { |
| 1367 | return io.ErrUnexpectedEOF |
| 1368 | } |
| 1369 | iNdEx += skippy |
| 1370 | } |
| 1371 | } |
| 1372 | |
| 1373 | if iNdEx > l { |
| 1374 | return io.ErrUnexpectedEOF |
| 1375 | } |
| 1376 | return nil |
| 1377 | } |
| 1378 | func (m *ClusterRoleBindingList) Unmarshal(dAtA []byte) error { |
| 1379 | l := len(dAtA) |
| 1380 | iNdEx := 0 |
| 1381 | for iNdEx < l { |
| 1382 | preIndex := iNdEx |
| 1383 | var wire uint64 |
| 1384 | for shift := uint(0); ; shift += 7 { |
| 1385 | if shift >= 64 { |
| 1386 | return ErrIntOverflowGenerated |
| 1387 | } |
| 1388 | if iNdEx >= l { |
| 1389 | return io.ErrUnexpectedEOF |
| 1390 | } |
| 1391 | b := dAtA[iNdEx] |
| 1392 | iNdEx++ |
| 1393 | wire |= (uint64(b) & 0x7F) << shift |
| 1394 | if b < 0x80 { |
| 1395 | break |
| 1396 | } |
| 1397 | } |
| 1398 | fieldNum := int32(wire >> 3) |
| 1399 | wireType := int(wire & 0x7) |
| 1400 | if wireType == 4 { |
| 1401 | return fmt.Errorf("proto: ClusterRoleBindingList: wiretype end group for non-group") |
| 1402 | } |
| 1403 | if fieldNum <= 0 { |
| 1404 | return fmt.Errorf("proto: ClusterRoleBindingList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1405 | } |
| 1406 | switch fieldNum { |
| 1407 | case 1: |
| 1408 | if wireType != 2 { |
| 1409 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 1410 | } |
| 1411 | var msglen int |
| 1412 | for shift := uint(0); ; shift += 7 { |
| 1413 | if shift >= 64 { |
| 1414 | return ErrIntOverflowGenerated |
| 1415 | } |
| 1416 | if iNdEx >= l { |
| 1417 | return io.ErrUnexpectedEOF |
| 1418 | } |
| 1419 | b := dAtA[iNdEx] |
| 1420 | iNdEx++ |
| 1421 | msglen |= (int(b) & 0x7F) << shift |
| 1422 | if b < 0x80 { |
| 1423 | break |
| 1424 | } |
| 1425 | } |
| 1426 | if msglen < 0 { |
| 1427 | return ErrInvalidLengthGenerated |
| 1428 | } |
| 1429 | postIndex := iNdEx + msglen |
| 1430 | if postIndex > l { |
| 1431 | return io.ErrUnexpectedEOF |
| 1432 | } |
| 1433 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1434 | return err |
| 1435 | } |
| 1436 | iNdEx = postIndex |
| 1437 | case 2: |
| 1438 | if wireType != 2 { |
| 1439 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 1440 | } |
| 1441 | var msglen int |
| 1442 | for shift := uint(0); ; shift += 7 { |
| 1443 | if shift >= 64 { |
| 1444 | return ErrIntOverflowGenerated |
| 1445 | } |
| 1446 | if iNdEx >= l { |
| 1447 | return io.ErrUnexpectedEOF |
| 1448 | } |
| 1449 | b := dAtA[iNdEx] |
| 1450 | iNdEx++ |
| 1451 | msglen |= (int(b) & 0x7F) << shift |
| 1452 | if b < 0x80 { |
| 1453 | break |
| 1454 | } |
| 1455 | } |
| 1456 | if msglen < 0 { |
| 1457 | return ErrInvalidLengthGenerated |
| 1458 | } |
| 1459 | postIndex := iNdEx + msglen |
| 1460 | if postIndex > l { |
| 1461 | return io.ErrUnexpectedEOF |
| 1462 | } |
| 1463 | m.Items = append(m.Items, ClusterRoleBinding{}) |
| 1464 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1465 | return err |
| 1466 | } |
| 1467 | iNdEx = postIndex |
| 1468 | default: |
| 1469 | iNdEx = preIndex |
| 1470 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 1471 | if err != nil { |
| 1472 | return err |
| 1473 | } |
| 1474 | if skippy < 0 { |
| 1475 | return ErrInvalidLengthGenerated |
| 1476 | } |
| 1477 | if (iNdEx + skippy) > l { |
| 1478 | return io.ErrUnexpectedEOF |
| 1479 | } |
| 1480 | iNdEx += skippy |
| 1481 | } |
| 1482 | } |
| 1483 | |
| 1484 | if iNdEx > l { |
| 1485 | return io.ErrUnexpectedEOF |
| 1486 | } |
| 1487 | return nil |
| 1488 | } |
| 1489 | func (m *ClusterRoleList) Unmarshal(dAtA []byte) error { |
| 1490 | l := len(dAtA) |
| 1491 | iNdEx := 0 |
| 1492 | for iNdEx < l { |
| 1493 | preIndex := iNdEx |
| 1494 | var wire uint64 |
| 1495 | for shift := uint(0); ; shift += 7 { |
| 1496 | if shift >= 64 { |
| 1497 | return ErrIntOverflowGenerated |
| 1498 | } |
| 1499 | if iNdEx >= l { |
| 1500 | return io.ErrUnexpectedEOF |
| 1501 | } |
| 1502 | b := dAtA[iNdEx] |
| 1503 | iNdEx++ |
| 1504 | wire |= (uint64(b) & 0x7F) << shift |
| 1505 | if b < 0x80 { |
| 1506 | break |
| 1507 | } |
| 1508 | } |
| 1509 | fieldNum := int32(wire >> 3) |
| 1510 | wireType := int(wire & 0x7) |
| 1511 | if wireType == 4 { |
| 1512 | return fmt.Errorf("proto: ClusterRoleList: wiretype end group for non-group") |
| 1513 | } |
| 1514 | if fieldNum <= 0 { |
| 1515 | return fmt.Errorf("proto: ClusterRoleList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1516 | } |
| 1517 | switch fieldNum { |
| 1518 | case 1: |
| 1519 | if wireType != 2 { |
| 1520 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 1521 | } |
| 1522 | var msglen int |
| 1523 | for shift := uint(0); ; shift += 7 { |
| 1524 | if shift >= 64 { |
| 1525 | return ErrIntOverflowGenerated |
| 1526 | } |
| 1527 | if iNdEx >= l { |
| 1528 | return io.ErrUnexpectedEOF |
| 1529 | } |
| 1530 | b := dAtA[iNdEx] |
| 1531 | iNdEx++ |
| 1532 | msglen |= (int(b) & 0x7F) << shift |
| 1533 | if b < 0x80 { |
| 1534 | break |
| 1535 | } |
| 1536 | } |
| 1537 | if msglen < 0 { |
| 1538 | return ErrInvalidLengthGenerated |
| 1539 | } |
| 1540 | postIndex := iNdEx + msglen |
| 1541 | if postIndex > l { |
| 1542 | return io.ErrUnexpectedEOF |
| 1543 | } |
| 1544 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1545 | return err |
| 1546 | } |
| 1547 | iNdEx = postIndex |
| 1548 | case 2: |
| 1549 | if wireType != 2 { |
| 1550 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 1551 | } |
| 1552 | var msglen int |
| 1553 | for shift := uint(0); ; shift += 7 { |
| 1554 | if shift >= 64 { |
| 1555 | return ErrIntOverflowGenerated |
| 1556 | } |
| 1557 | if iNdEx >= l { |
| 1558 | return io.ErrUnexpectedEOF |
| 1559 | } |
| 1560 | b := dAtA[iNdEx] |
| 1561 | iNdEx++ |
| 1562 | msglen |= (int(b) & 0x7F) << shift |
| 1563 | if b < 0x80 { |
| 1564 | break |
| 1565 | } |
| 1566 | } |
| 1567 | if msglen < 0 { |
| 1568 | return ErrInvalidLengthGenerated |
| 1569 | } |
| 1570 | postIndex := iNdEx + msglen |
| 1571 | if postIndex > l { |
| 1572 | return io.ErrUnexpectedEOF |
| 1573 | } |
| 1574 | m.Items = append(m.Items, ClusterRole{}) |
| 1575 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1576 | return err |
| 1577 | } |
| 1578 | iNdEx = postIndex |
| 1579 | default: |
| 1580 | iNdEx = preIndex |
| 1581 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 1582 | if err != nil { |
| 1583 | return err |
| 1584 | } |
| 1585 | if skippy < 0 { |
| 1586 | return ErrInvalidLengthGenerated |
| 1587 | } |
| 1588 | if (iNdEx + skippy) > l { |
| 1589 | return io.ErrUnexpectedEOF |
| 1590 | } |
| 1591 | iNdEx += skippy |
| 1592 | } |
| 1593 | } |
| 1594 | |
| 1595 | if iNdEx > l { |
| 1596 | return io.ErrUnexpectedEOF |
| 1597 | } |
| 1598 | return nil |
| 1599 | } |
| 1600 | func (m *PolicyRule) Unmarshal(dAtA []byte) error { |
| 1601 | l := len(dAtA) |
| 1602 | iNdEx := 0 |
| 1603 | for iNdEx < l { |
| 1604 | preIndex := iNdEx |
| 1605 | var wire uint64 |
| 1606 | for shift := uint(0); ; shift += 7 { |
| 1607 | if shift >= 64 { |
| 1608 | return ErrIntOverflowGenerated |
| 1609 | } |
| 1610 | if iNdEx >= l { |
| 1611 | return io.ErrUnexpectedEOF |
| 1612 | } |
| 1613 | b := dAtA[iNdEx] |
| 1614 | iNdEx++ |
| 1615 | wire |= (uint64(b) & 0x7F) << shift |
| 1616 | if b < 0x80 { |
| 1617 | break |
| 1618 | } |
| 1619 | } |
| 1620 | fieldNum := int32(wire >> 3) |
| 1621 | wireType := int(wire & 0x7) |
| 1622 | if wireType == 4 { |
| 1623 | return fmt.Errorf("proto: PolicyRule: wiretype end group for non-group") |
| 1624 | } |
| 1625 | if fieldNum <= 0 { |
| 1626 | return fmt.Errorf("proto: PolicyRule: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1627 | } |
| 1628 | switch fieldNum { |
| 1629 | case 1: |
| 1630 | if wireType != 2 { |
| 1631 | return fmt.Errorf("proto: wrong wireType = %d for field Verbs", wireType) |
| 1632 | } |
| 1633 | var stringLen uint64 |
| 1634 | for shift := uint(0); ; shift += 7 { |
| 1635 | if shift >= 64 { |
| 1636 | return ErrIntOverflowGenerated |
| 1637 | } |
| 1638 | if iNdEx >= l { |
| 1639 | return io.ErrUnexpectedEOF |
| 1640 | } |
| 1641 | b := dAtA[iNdEx] |
| 1642 | iNdEx++ |
| 1643 | stringLen |= (uint64(b) & 0x7F) << shift |
| 1644 | if b < 0x80 { |
| 1645 | break |
| 1646 | } |
| 1647 | } |
| 1648 | intStringLen := int(stringLen) |
| 1649 | if intStringLen < 0 { |
| 1650 | return ErrInvalidLengthGenerated |
| 1651 | } |
| 1652 | postIndex := iNdEx + intStringLen |
| 1653 | if postIndex > l { |
| 1654 | return io.ErrUnexpectedEOF |
| 1655 | } |
| 1656 | m.Verbs = append(m.Verbs, string(dAtA[iNdEx:postIndex])) |
| 1657 | iNdEx = postIndex |
| 1658 | case 2: |
| 1659 | if wireType != 2 { |
| 1660 | return fmt.Errorf("proto: wrong wireType = %d for field APIGroups", wireType) |
| 1661 | } |
| 1662 | var stringLen uint64 |
| 1663 | for shift := uint(0); ; shift += 7 { |
| 1664 | if shift >= 64 { |
| 1665 | return ErrIntOverflowGenerated |
| 1666 | } |
| 1667 | if iNdEx >= l { |
| 1668 | return io.ErrUnexpectedEOF |
| 1669 | } |
| 1670 | b := dAtA[iNdEx] |
| 1671 | iNdEx++ |
| 1672 | stringLen |= (uint64(b) & 0x7F) << shift |
| 1673 | if b < 0x80 { |
| 1674 | break |
| 1675 | } |
| 1676 | } |
| 1677 | intStringLen := int(stringLen) |
| 1678 | if intStringLen < 0 { |
| 1679 | return ErrInvalidLengthGenerated |
| 1680 | } |
| 1681 | postIndex := iNdEx + intStringLen |
| 1682 | if postIndex > l { |
| 1683 | return io.ErrUnexpectedEOF |
| 1684 | } |
| 1685 | m.APIGroups = append(m.APIGroups, string(dAtA[iNdEx:postIndex])) |
| 1686 | iNdEx = postIndex |
| 1687 | case 3: |
| 1688 | if wireType != 2 { |
| 1689 | return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType) |
| 1690 | } |
| 1691 | var stringLen uint64 |
| 1692 | for shift := uint(0); ; shift += 7 { |
| 1693 | if shift >= 64 { |
| 1694 | return ErrIntOverflowGenerated |
| 1695 | } |
| 1696 | if iNdEx >= l { |
| 1697 | return io.ErrUnexpectedEOF |
| 1698 | } |
| 1699 | b := dAtA[iNdEx] |
| 1700 | iNdEx++ |
| 1701 | stringLen |= (uint64(b) & 0x7F) << shift |
| 1702 | if b < 0x80 { |
| 1703 | break |
| 1704 | } |
| 1705 | } |
| 1706 | intStringLen := int(stringLen) |
| 1707 | if intStringLen < 0 { |
| 1708 | return ErrInvalidLengthGenerated |
| 1709 | } |
| 1710 | postIndex := iNdEx + intStringLen |
| 1711 | if postIndex > l { |
| 1712 | return io.ErrUnexpectedEOF |
| 1713 | } |
| 1714 | m.Resources = append(m.Resources, string(dAtA[iNdEx:postIndex])) |
| 1715 | iNdEx = postIndex |
| 1716 | case 4: |
| 1717 | if wireType != 2 { |
| 1718 | return fmt.Errorf("proto: wrong wireType = %d for field ResourceNames", wireType) |
| 1719 | } |
| 1720 | var stringLen uint64 |
| 1721 | for shift := uint(0); ; shift += 7 { |
| 1722 | if shift >= 64 { |
| 1723 | return ErrIntOverflowGenerated |
| 1724 | } |
| 1725 | if iNdEx >= l { |
| 1726 | return io.ErrUnexpectedEOF |
| 1727 | } |
| 1728 | b := dAtA[iNdEx] |
| 1729 | iNdEx++ |
| 1730 | stringLen |= (uint64(b) & 0x7F) << shift |
| 1731 | if b < 0x80 { |
| 1732 | break |
| 1733 | } |
| 1734 | } |
| 1735 | intStringLen := int(stringLen) |
| 1736 | if intStringLen < 0 { |
| 1737 | return ErrInvalidLengthGenerated |
| 1738 | } |
| 1739 | postIndex := iNdEx + intStringLen |
| 1740 | if postIndex > l { |
| 1741 | return io.ErrUnexpectedEOF |
| 1742 | } |
| 1743 | m.ResourceNames = append(m.ResourceNames, string(dAtA[iNdEx:postIndex])) |
| 1744 | iNdEx = postIndex |
| 1745 | case 5: |
| 1746 | if wireType != 2 { |
| 1747 | return fmt.Errorf("proto: wrong wireType = %d for field NonResourceURLs", wireType) |
| 1748 | } |
| 1749 | var stringLen uint64 |
| 1750 | for shift := uint(0); ; shift += 7 { |
| 1751 | if shift >= 64 { |
| 1752 | return ErrIntOverflowGenerated |
| 1753 | } |
| 1754 | if iNdEx >= l { |
| 1755 | return io.ErrUnexpectedEOF |
| 1756 | } |
| 1757 | b := dAtA[iNdEx] |
| 1758 | iNdEx++ |
| 1759 | stringLen |= (uint64(b) & 0x7F) << shift |
| 1760 | if b < 0x80 { |
| 1761 | break |
| 1762 | } |
| 1763 | } |
| 1764 | intStringLen := int(stringLen) |
| 1765 | if intStringLen < 0 { |
| 1766 | return ErrInvalidLengthGenerated |
| 1767 | } |
| 1768 | postIndex := iNdEx + intStringLen |
| 1769 | if postIndex > l { |
| 1770 | return io.ErrUnexpectedEOF |
| 1771 | } |
| 1772 | m.NonResourceURLs = append(m.NonResourceURLs, string(dAtA[iNdEx:postIndex])) |
| 1773 | iNdEx = postIndex |
| 1774 | default: |
| 1775 | iNdEx = preIndex |
| 1776 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 1777 | if err != nil { |
| 1778 | return err |
| 1779 | } |
| 1780 | if skippy < 0 { |
| 1781 | return ErrInvalidLengthGenerated |
| 1782 | } |
| 1783 | if (iNdEx + skippy) > l { |
| 1784 | return io.ErrUnexpectedEOF |
| 1785 | } |
| 1786 | iNdEx += skippy |
| 1787 | } |
| 1788 | } |
| 1789 | |
| 1790 | if iNdEx > l { |
| 1791 | return io.ErrUnexpectedEOF |
| 1792 | } |
| 1793 | return nil |
| 1794 | } |
| 1795 | func (m *Role) Unmarshal(dAtA []byte) error { |
| 1796 | l := len(dAtA) |
| 1797 | iNdEx := 0 |
| 1798 | for iNdEx < l { |
| 1799 | preIndex := iNdEx |
| 1800 | var wire uint64 |
| 1801 | for shift := uint(0); ; shift += 7 { |
| 1802 | if shift >= 64 { |
| 1803 | return ErrIntOverflowGenerated |
| 1804 | } |
| 1805 | if iNdEx >= l { |
| 1806 | return io.ErrUnexpectedEOF |
| 1807 | } |
| 1808 | b := dAtA[iNdEx] |
| 1809 | iNdEx++ |
| 1810 | wire |= (uint64(b) & 0x7F) << shift |
| 1811 | if b < 0x80 { |
| 1812 | break |
| 1813 | } |
| 1814 | } |
| 1815 | fieldNum := int32(wire >> 3) |
| 1816 | wireType := int(wire & 0x7) |
| 1817 | if wireType == 4 { |
| 1818 | return fmt.Errorf("proto: Role: wiretype end group for non-group") |
| 1819 | } |
| 1820 | if fieldNum <= 0 { |
| 1821 | return fmt.Errorf("proto: Role: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1822 | } |
| 1823 | switch fieldNum { |
| 1824 | case 1: |
| 1825 | if wireType != 2 { |
| 1826 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 1827 | } |
| 1828 | var msglen int |
| 1829 | for shift := uint(0); ; shift += 7 { |
| 1830 | if shift >= 64 { |
| 1831 | return ErrIntOverflowGenerated |
| 1832 | } |
| 1833 | if iNdEx >= l { |
| 1834 | return io.ErrUnexpectedEOF |
| 1835 | } |
| 1836 | b := dAtA[iNdEx] |
| 1837 | iNdEx++ |
| 1838 | msglen |= (int(b) & 0x7F) << shift |
| 1839 | if b < 0x80 { |
| 1840 | break |
| 1841 | } |
| 1842 | } |
| 1843 | if msglen < 0 { |
| 1844 | return ErrInvalidLengthGenerated |
| 1845 | } |
| 1846 | postIndex := iNdEx + msglen |
| 1847 | if postIndex > l { |
| 1848 | return io.ErrUnexpectedEOF |
| 1849 | } |
| 1850 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1851 | return err |
| 1852 | } |
| 1853 | iNdEx = postIndex |
| 1854 | case 2: |
| 1855 | if wireType != 2 { |
| 1856 | return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType) |
| 1857 | } |
| 1858 | var msglen int |
| 1859 | for shift := uint(0); ; shift += 7 { |
| 1860 | if shift >= 64 { |
| 1861 | return ErrIntOverflowGenerated |
| 1862 | } |
| 1863 | if iNdEx >= l { |
| 1864 | return io.ErrUnexpectedEOF |
| 1865 | } |
| 1866 | b := dAtA[iNdEx] |
| 1867 | iNdEx++ |
| 1868 | msglen |= (int(b) & 0x7F) << shift |
| 1869 | if b < 0x80 { |
| 1870 | break |
| 1871 | } |
| 1872 | } |
| 1873 | if msglen < 0 { |
| 1874 | return ErrInvalidLengthGenerated |
| 1875 | } |
| 1876 | postIndex := iNdEx + msglen |
| 1877 | if postIndex > l { |
| 1878 | return io.ErrUnexpectedEOF |
| 1879 | } |
| 1880 | m.Rules = append(m.Rules, PolicyRule{}) |
| 1881 | if err := m.Rules[len(m.Rules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1882 | return err |
| 1883 | } |
| 1884 | iNdEx = postIndex |
| 1885 | default: |
| 1886 | iNdEx = preIndex |
| 1887 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 1888 | if err != nil { |
| 1889 | return err |
| 1890 | } |
| 1891 | if skippy < 0 { |
| 1892 | return ErrInvalidLengthGenerated |
| 1893 | } |
| 1894 | if (iNdEx + skippy) > l { |
| 1895 | return io.ErrUnexpectedEOF |
| 1896 | } |
| 1897 | iNdEx += skippy |
| 1898 | } |
| 1899 | } |
| 1900 | |
| 1901 | if iNdEx > l { |
| 1902 | return io.ErrUnexpectedEOF |
| 1903 | } |
| 1904 | return nil |
| 1905 | } |
| 1906 | func (m *RoleBinding) Unmarshal(dAtA []byte) error { |
| 1907 | l := len(dAtA) |
| 1908 | iNdEx := 0 |
| 1909 | for iNdEx < l { |
| 1910 | preIndex := iNdEx |
| 1911 | var wire uint64 |
| 1912 | for shift := uint(0); ; shift += 7 { |
| 1913 | if shift >= 64 { |
| 1914 | return ErrIntOverflowGenerated |
| 1915 | } |
| 1916 | if iNdEx >= l { |
| 1917 | return io.ErrUnexpectedEOF |
| 1918 | } |
| 1919 | b := dAtA[iNdEx] |
| 1920 | iNdEx++ |
| 1921 | wire |= (uint64(b) & 0x7F) << shift |
| 1922 | if b < 0x80 { |
| 1923 | break |
| 1924 | } |
| 1925 | } |
| 1926 | fieldNum := int32(wire >> 3) |
| 1927 | wireType := int(wire & 0x7) |
| 1928 | if wireType == 4 { |
| 1929 | return fmt.Errorf("proto: RoleBinding: wiretype end group for non-group") |
| 1930 | } |
| 1931 | if fieldNum <= 0 { |
| 1932 | return fmt.Errorf("proto: RoleBinding: illegal tag %d (wire type %d)", fieldNum, wire) |
| 1933 | } |
| 1934 | switch fieldNum { |
| 1935 | case 1: |
| 1936 | if wireType != 2 { |
| 1937 | return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| 1938 | } |
| 1939 | var msglen int |
| 1940 | for shift := uint(0); ; shift += 7 { |
| 1941 | if shift >= 64 { |
| 1942 | return ErrIntOverflowGenerated |
| 1943 | } |
| 1944 | if iNdEx >= l { |
| 1945 | return io.ErrUnexpectedEOF |
| 1946 | } |
| 1947 | b := dAtA[iNdEx] |
| 1948 | iNdEx++ |
| 1949 | msglen |= (int(b) & 0x7F) << shift |
| 1950 | if b < 0x80 { |
| 1951 | break |
| 1952 | } |
| 1953 | } |
| 1954 | if msglen < 0 { |
| 1955 | return ErrInvalidLengthGenerated |
| 1956 | } |
| 1957 | postIndex := iNdEx + msglen |
| 1958 | if postIndex > l { |
| 1959 | return io.ErrUnexpectedEOF |
| 1960 | } |
| 1961 | if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1962 | return err |
| 1963 | } |
| 1964 | iNdEx = postIndex |
| 1965 | case 2: |
| 1966 | if wireType != 2 { |
| 1967 | return fmt.Errorf("proto: wrong wireType = %d for field Subjects", wireType) |
| 1968 | } |
| 1969 | var msglen int |
| 1970 | for shift := uint(0); ; shift += 7 { |
| 1971 | if shift >= 64 { |
| 1972 | return ErrIntOverflowGenerated |
| 1973 | } |
| 1974 | if iNdEx >= l { |
| 1975 | return io.ErrUnexpectedEOF |
| 1976 | } |
| 1977 | b := dAtA[iNdEx] |
| 1978 | iNdEx++ |
| 1979 | msglen |= (int(b) & 0x7F) << shift |
| 1980 | if b < 0x80 { |
| 1981 | break |
| 1982 | } |
| 1983 | } |
| 1984 | if msglen < 0 { |
| 1985 | return ErrInvalidLengthGenerated |
| 1986 | } |
| 1987 | postIndex := iNdEx + msglen |
| 1988 | if postIndex > l { |
| 1989 | return io.ErrUnexpectedEOF |
| 1990 | } |
| 1991 | m.Subjects = append(m.Subjects, Subject{}) |
| 1992 | if err := m.Subjects[len(m.Subjects)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 1993 | return err |
| 1994 | } |
| 1995 | iNdEx = postIndex |
| 1996 | case 3: |
| 1997 | if wireType != 2 { |
| 1998 | return fmt.Errorf("proto: wrong wireType = %d for field RoleRef", wireType) |
| 1999 | } |
| 2000 | var msglen int |
| 2001 | for shift := uint(0); ; shift += 7 { |
| 2002 | if shift >= 64 { |
| 2003 | return ErrIntOverflowGenerated |
| 2004 | } |
| 2005 | if iNdEx >= l { |
| 2006 | return io.ErrUnexpectedEOF |
| 2007 | } |
| 2008 | b := dAtA[iNdEx] |
| 2009 | iNdEx++ |
| 2010 | msglen |= (int(b) & 0x7F) << shift |
| 2011 | if b < 0x80 { |
| 2012 | break |
| 2013 | } |
| 2014 | } |
| 2015 | if msglen < 0 { |
| 2016 | return ErrInvalidLengthGenerated |
| 2017 | } |
| 2018 | postIndex := iNdEx + msglen |
| 2019 | if postIndex > l { |
| 2020 | return io.ErrUnexpectedEOF |
| 2021 | } |
| 2022 | if err := m.RoleRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2023 | return err |
| 2024 | } |
| 2025 | iNdEx = postIndex |
| 2026 | default: |
| 2027 | iNdEx = preIndex |
| 2028 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 2029 | if err != nil { |
| 2030 | return err |
| 2031 | } |
| 2032 | if skippy < 0 { |
| 2033 | return ErrInvalidLengthGenerated |
| 2034 | } |
| 2035 | if (iNdEx + skippy) > l { |
| 2036 | return io.ErrUnexpectedEOF |
| 2037 | } |
| 2038 | iNdEx += skippy |
| 2039 | } |
| 2040 | } |
| 2041 | |
| 2042 | if iNdEx > l { |
| 2043 | return io.ErrUnexpectedEOF |
| 2044 | } |
| 2045 | return nil |
| 2046 | } |
| 2047 | func (m *RoleBindingList) Unmarshal(dAtA []byte) error { |
| 2048 | l := len(dAtA) |
| 2049 | iNdEx := 0 |
| 2050 | for iNdEx < l { |
| 2051 | preIndex := iNdEx |
| 2052 | var wire uint64 |
| 2053 | for shift := uint(0); ; shift += 7 { |
| 2054 | if shift >= 64 { |
| 2055 | return ErrIntOverflowGenerated |
| 2056 | } |
| 2057 | if iNdEx >= l { |
| 2058 | return io.ErrUnexpectedEOF |
| 2059 | } |
| 2060 | b := dAtA[iNdEx] |
| 2061 | iNdEx++ |
| 2062 | wire |= (uint64(b) & 0x7F) << shift |
| 2063 | if b < 0x80 { |
| 2064 | break |
| 2065 | } |
| 2066 | } |
| 2067 | fieldNum := int32(wire >> 3) |
| 2068 | wireType := int(wire & 0x7) |
| 2069 | if wireType == 4 { |
| 2070 | return fmt.Errorf("proto: RoleBindingList: wiretype end group for non-group") |
| 2071 | } |
| 2072 | if fieldNum <= 0 { |
| 2073 | return fmt.Errorf("proto: RoleBindingList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 2074 | } |
| 2075 | switch fieldNum { |
| 2076 | case 1: |
| 2077 | if wireType != 2 { |
| 2078 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 2079 | } |
| 2080 | var msglen int |
| 2081 | for shift := uint(0); ; shift += 7 { |
| 2082 | if shift >= 64 { |
| 2083 | return ErrIntOverflowGenerated |
| 2084 | } |
| 2085 | if iNdEx >= l { |
| 2086 | return io.ErrUnexpectedEOF |
| 2087 | } |
| 2088 | b := dAtA[iNdEx] |
| 2089 | iNdEx++ |
| 2090 | msglen |= (int(b) & 0x7F) << shift |
| 2091 | if b < 0x80 { |
| 2092 | break |
| 2093 | } |
| 2094 | } |
| 2095 | if msglen < 0 { |
| 2096 | return ErrInvalidLengthGenerated |
| 2097 | } |
| 2098 | postIndex := iNdEx + msglen |
| 2099 | if postIndex > l { |
| 2100 | return io.ErrUnexpectedEOF |
| 2101 | } |
| 2102 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2103 | return err |
| 2104 | } |
| 2105 | iNdEx = postIndex |
| 2106 | case 2: |
| 2107 | if wireType != 2 { |
| 2108 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 2109 | } |
| 2110 | var msglen int |
| 2111 | for shift := uint(0); ; shift += 7 { |
| 2112 | if shift >= 64 { |
| 2113 | return ErrIntOverflowGenerated |
| 2114 | } |
| 2115 | if iNdEx >= l { |
| 2116 | return io.ErrUnexpectedEOF |
| 2117 | } |
| 2118 | b := dAtA[iNdEx] |
| 2119 | iNdEx++ |
| 2120 | msglen |= (int(b) & 0x7F) << shift |
| 2121 | if b < 0x80 { |
| 2122 | break |
| 2123 | } |
| 2124 | } |
| 2125 | if msglen < 0 { |
| 2126 | return ErrInvalidLengthGenerated |
| 2127 | } |
| 2128 | postIndex := iNdEx + msglen |
| 2129 | if postIndex > l { |
| 2130 | return io.ErrUnexpectedEOF |
| 2131 | } |
| 2132 | m.Items = append(m.Items, RoleBinding{}) |
| 2133 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2134 | return err |
| 2135 | } |
| 2136 | iNdEx = postIndex |
| 2137 | default: |
| 2138 | iNdEx = preIndex |
| 2139 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 2140 | if err != nil { |
| 2141 | return err |
| 2142 | } |
| 2143 | if skippy < 0 { |
| 2144 | return ErrInvalidLengthGenerated |
| 2145 | } |
| 2146 | if (iNdEx + skippy) > l { |
| 2147 | return io.ErrUnexpectedEOF |
| 2148 | } |
| 2149 | iNdEx += skippy |
| 2150 | } |
| 2151 | } |
| 2152 | |
| 2153 | if iNdEx > l { |
| 2154 | return io.ErrUnexpectedEOF |
| 2155 | } |
| 2156 | return nil |
| 2157 | } |
| 2158 | func (m *RoleList) Unmarshal(dAtA []byte) error { |
| 2159 | l := len(dAtA) |
| 2160 | iNdEx := 0 |
| 2161 | for iNdEx < l { |
| 2162 | preIndex := iNdEx |
| 2163 | var wire uint64 |
| 2164 | for shift := uint(0); ; shift += 7 { |
| 2165 | if shift >= 64 { |
| 2166 | return ErrIntOverflowGenerated |
| 2167 | } |
| 2168 | if iNdEx >= l { |
| 2169 | return io.ErrUnexpectedEOF |
| 2170 | } |
| 2171 | b := dAtA[iNdEx] |
| 2172 | iNdEx++ |
| 2173 | wire |= (uint64(b) & 0x7F) << shift |
| 2174 | if b < 0x80 { |
| 2175 | break |
| 2176 | } |
| 2177 | } |
| 2178 | fieldNum := int32(wire >> 3) |
| 2179 | wireType := int(wire & 0x7) |
| 2180 | if wireType == 4 { |
| 2181 | return fmt.Errorf("proto: RoleList: wiretype end group for non-group") |
| 2182 | } |
| 2183 | if fieldNum <= 0 { |
| 2184 | return fmt.Errorf("proto: RoleList: illegal tag %d (wire type %d)", fieldNum, wire) |
| 2185 | } |
| 2186 | switch fieldNum { |
| 2187 | case 1: |
| 2188 | if wireType != 2 { |
| 2189 | return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| 2190 | } |
| 2191 | var msglen int |
| 2192 | for shift := uint(0); ; shift += 7 { |
| 2193 | if shift >= 64 { |
| 2194 | return ErrIntOverflowGenerated |
| 2195 | } |
| 2196 | if iNdEx >= l { |
| 2197 | return io.ErrUnexpectedEOF |
| 2198 | } |
| 2199 | b := dAtA[iNdEx] |
| 2200 | iNdEx++ |
| 2201 | msglen |= (int(b) & 0x7F) << shift |
| 2202 | if b < 0x80 { |
| 2203 | break |
| 2204 | } |
| 2205 | } |
| 2206 | if msglen < 0 { |
| 2207 | return ErrInvalidLengthGenerated |
| 2208 | } |
| 2209 | postIndex := iNdEx + msglen |
| 2210 | if postIndex > l { |
| 2211 | return io.ErrUnexpectedEOF |
| 2212 | } |
| 2213 | if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2214 | return err |
| 2215 | } |
| 2216 | iNdEx = postIndex |
| 2217 | case 2: |
| 2218 | if wireType != 2 { |
| 2219 | return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| 2220 | } |
| 2221 | var msglen int |
| 2222 | for shift := uint(0); ; shift += 7 { |
| 2223 | if shift >= 64 { |
| 2224 | return ErrIntOverflowGenerated |
| 2225 | } |
| 2226 | if iNdEx >= l { |
| 2227 | return io.ErrUnexpectedEOF |
| 2228 | } |
| 2229 | b := dAtA[iNdEx] |
| 2230 | iNdEx++ |
| 2231 | msglen |= (int(b) & 0x7F) << shift |
| 2232 | if b < 0x80 { |
| 2233 | break |
| 2234 | } |
| 2235 | } |
| 2236 | if msglen < 0 { |
| 2237 | return ErrInvalidLengthGenerated |
| 2238 | } |
| 2239 | postIndex := iNdEx + msglen |
| 2240 | if postIndex > l { |
| 2241 | return io.ErrUnexpectedEOF |
| 2242 | } |
| 2243 | m.Items = append(m.Items, Role{}) |
| 2244 | if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| 2245 | return err |
| 2246 | } |
| 2247 | iNdEx = postIndex |
| 2248 | default: |
| 2249 | iNdEx = preIndex |
| 2250 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 2251 | if err != nil { |
| 2252 | return err |
| 2253 | } |
| 2254 | if skippy < 0 { |
| 2255 | return ErrInvalidLengthGenerated |
| 2256 | } |
| 2257 | if (iNdEx + skippy) > l { |
| 2258 | return io.ErrUnexpectedEOF |
| 2259 | } |
| 2260 | iNdEx += skippy |
| 2261 | } |
| 2262 | } |
| 2263 | |
| 2264 | if iNdEx > l { |
| 2265 | return io.ErrUnexpectedEOF |
| 2266 | } |
| 2267 | return nil |
| 2268 | } |
| 2269 | func (m *RoleRef) Unmarshal(dAtA []byte) error { |
| 2270 | l := len(dAtA) |
| 2271 | iNdEx := 0 |
| 2272 | for iNdEx < l { |
| 2273 | preIndex := iNdEx |
| 2274 | var wire uint64 |
| 2275 | for shift := uint(0); ; shift += 7 { |
| 2276 | if shift >= 64 { |
| 2277 | return ErrIntOverflowGenerated |
| 2278 | } |
| 2279 | if iNdEx >= l { |
| 2280 | return io.ErrUnexpectedEOF |
| 2281 | } |
| 2282 | b := dAtA[iNdEx] |
| 2283 | iNdEx++ |
| 2284 | wire |= (uint64(b) & 0x7F) << shift |
| 2285 | if b < 0x80 { |
| 2286 | break |
| 2287 | } |
| 2288 | } |
| 2289 | fieldNum := int32(wire >> 3) |
| 2290 | wireType := int(wire & 0x7) |
| 2291 | if wireType == 4 { |
| 2292 | return fmt.Errorf("proto: RoleRef: wiretype end group for non-group") |
| 2293 | } |
| 2294 | if fieldNum <= 0 { |
| 2295 | return fmt.Errorf("proto: RoleRef: illegal tag %d (wire type %d)", fieldNum, wire) |
| 2296 | } |
| 2297 | switch fieldNum { |
| 2298 | case 1: |
| 2299 | if wireType != 2 { |
| 2300 | return fmt.Errorf("proto: wrong wireType = %d for field APIGroup", wireType) |
| 2301 | } |
| 2302 | var stringLen uint64 |
| 2303 | for shift := uint(0); ; shift += 7 { |
| 2304 | if shift >= 64 { |
| 2305 | return ErrIntOverflowGenerated |
| 2306 | } |
| 2307 | if iNdEx >= l { |
| 2308 | return io.ErrUnexpectedEOF |
| 2309 | } |
| 2310 | b := dAtA[iNdEx] |
| 2311 | iNdEx++ |
| 2312 | stringLen |= (uint64(b) & 0x7F) << shift |
| 2313 | if b < 0x80 { |
| 2314 | break |
| 2315 | } |
| 2316 | } |
| 2317 | intStringLen := int(stringLen) |
| 2318 | if intStringLen < 0 { |
| 2319 | return ErrInvalidLengthGenerated |
| 2320 | } |
| 2321 | postIndex := iNdEx + intStringLen |
| 2322 | if postIndex > l { |
| 2323 | return io.ErrUnexpectedEOF |
| 2324 | } |
| 2325 | m.APIGroup = string(dAtA[iNdEx:postIndex]) |
| 2326 | iNdEx = postIndex |
| 2327 | case 2: |
| 2328 | if wireType != 2 { |
| 2329 | return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) |
| 2330 | } |
| 2331 | var stringLen uint64 |
| 2332 | for shift := uint(0); ; shift += 7 { |
| 2333 | if shift >= 64 { |
| 2334 | return ErrIntOverflowGenerated |
| 2335 | } |
| 2336 | if iNdEx >= l { |
| 2337 | return io.ErrUnexpectedEOF |
| 2338 | } |
| 2339 | b := dAtA[iNdEx] |
| 2340 | iNdEx++ |
| 2341 | stringLen |= (uint64(b) & 0x7F) << shift |
| 2342 | if b < 0x80 { |
| 2343 | break |
| 2344 | } |
| 2345 | } |
| 2346 | intStringLen := int(stringLen) |
| 2347 | if intStringLen < 0 { |
| 2348 | return ErrInvalidLengthGenerated |
| 2349 | } |
| 2350 | postIndex := iNdEx + intStringLen |
| 2351 | if postIndex > l { |
| 2352 | return io.ErrUnexpectedEOF |
| 2353 | } |
| 2354 | m.Kind = string(dAtA[iNdEx:postIndex]) |
| 2355 | iNdEx = postIndex |
| 2356 | case 3: |
| 2357 | if wireType != 2 { |
| 2358 | return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 2359 | } |
| 2360 | var stringLen uint64 |
| 2361 | for shift := uint(0); ; shift += 7 { |
| 2362 | if shift >= 64 { |
| 2363 | return ErrIntOverflowGenerated |
| 2364 | } |
| 2365 | if iNdEx >= l { |
| 2366 | return io.ErrUnexpectedEOF |
| 2367 | } |
| 2368 | b := dAtA[iNdEx] |
| 2369 | iNdEx++ |
| 2370 | stringLen |= (uint64(b) & 0x7F) << shift |
| 2371 | if b < 0x80 { |
| 2372 | break |
| 2373 | } |
| 2374 | } |
| 2375 | intStringLen := int(stringLen) |
| 2376 | if intStringLen < 0 { |
| 2377 | return ErrInvalidLengthGenerated |
| 2378 | } |
| 2379 | postIndex := iNdEx + intStringLen |
| 2380 | if postIndex > l { |
| 2381 | return io.ErrUnexpectedEOF |
| 2382 | } |
| 2383 | m.Name = string(dAtA[iNdEx:postIndex]) |
| 2384 | iNdEx = postIndex |
| 2385 | default: |
| 2386 | iNdEx = preIndex |
| 2387 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 2388 | if err != nil { |
| 2389 | return err |
| 2390 | } |
| 2391 | if skippy < 0 { |
| 2392 | return ErrInvalidLengthGenerated |
| 2393 | } |
| 2394 | if (iNdEx + skippy) > l { |
| 2395 | return io.ErrUnexpectedEOF |
| 2396 | } |
| 2397 | iNdEx += skippy |
| 2398 | } |
| 2399 | } |
| 2400 | |
| 2401 | if iNdEx > l { |
| 2402 | return io.ErrUnexpectedEOF |
| 2403 | } |
| 2404 | return nil |
| 2405 | } |
| 2406 | func (m *Subject) Unmarshal(dAtA []byte) error { |
| 2407 | l := len(dAtA) |
| 2408 | iNdEx := 0 |
| 2409 | for iNdEx < l { |
| 2410 | preIndex := iNdEx |
| 2411 | var wire uint64 |
| 2412 | for shift := uint(0); ; shift += 7 { |
| 2413 | if shift >= 64 { |
| 2414 | return ErrIntOverflowGenerated |
| 2415 | } |
| 2416 | if iNdEx >= l { |
| 2417 | return io.ErrUnexpectedEOF |
| 2418 | } |
| 2419 | b := dAtA[iNdEx] |
| 2420 | iNdEx++ |
| 2421 | wire |= (uint64(b) & 0x7F) << shift |
| 2422 | if b < 0x80 { |
| 2423 | break |
| 2424 | } |
| 2425 | } |
| 2426 | fieldNum := int32(wire >> 3) |
| 2427 | wireType := int(wire & 0x7) |
| 2428 | if wireType == 4 { |
| 2429 | return fmt.Errorf("proto: Subject: wiretype end group for non-group") |
| 2430 | } |
| 2431 | if fieldNum <= 0 { |
| 2432 | return fmt.Errorf("proto: Subject: illegal tag %d (wire type %d)", fieldNum, wire) |
| 2433 | } |
| 2434 | switch fieldNum { |
| 2435 | case 1: |
| 2436 | if wireType != 2 { |
| 2437 | return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) |
| 2438 | } |
| 2439 | var stringLen uint64 |
| 2440 | for shift := uint(0); ; shift += 7 { |
| 2441 | if shift >= 64 { |
| 2442 | return ErrIntOverflowGenerated |
| 2443 | } |
| 2444 | if iNdEx >= l { |
| 2445 | return io.ErrUnexpectedEOF |
| 2446 | } |
| 2447 | b := dAtA[iNdEx] |
| 2448 | iNdEx++ |
| 2449 | stringLen |= (uint64(b) & 0x7F) << shift |
| 2450 | if b < 0x80 { |
| 2451 | break |
| 2452 | } |
| 2453 | } |
| 2454 | intStringLen := int(stringLen) |
| 2455 | if intStringLen < 0 { |
| 2456 | return ErrInvalidLengthGenerated |
| 2457 | } |
| 2458 | postIndex := iNdEx + intStringLen |
| 2459 | if postIndex > l { |
| 2460 | return io.ErrUnexpectedEOF |
| 2461 | } |
| 2462 | m.Kind = string(dAtA[iNdEx:postIndex]) |
| 2463 | iNdEx = postIndex |
| 2464 | case 2: |
| 2465 | if wireType != 2 { |
| 2466 | return fmt.Errorf("proto: wrong wireType = %d for field APIGroup", wireType) |
| 2467 | } |
| 2468 | var stringLen uint64 |
| 2469 | for shift := uint(0); ; shift += 7 { |
| 2470 | if shift >= 64 { |
| 2471 | return ErrIntOverflowGenerated |
| 2472 | } |
| 2473 | if iNdEx >= l { |
| 2474 | return io.ErrUnexpectedEOF |
| 2475 | } |
| 2476 | b := dAtA[iNdEx] |
| 2477 | iNdEx++ |
| 2478 | stringLen |= (uint64(b) & 0x7F) << shift |
| 2479 | if b < 0x80 { |
| 2480 | break |
| 2481 | } |
| 2482 | } |
| 2483 | intStringLen := int(stringLen) |
| 2484 | if intStringLen < 0 { |
| 2485 | return ErrInvalidLengthGenerated |
| 2486 | } |
| 2487 | postIndex := iNdEx + intStringLen |
| 2488 | if postIndex > l { |
| 2489 | return io.ErrUnexpectedEOF |
| 2490 | } |
| 2491 | m.APIGroup = string(dAtA[iNdEx:postIndex]) |
| 2492 | iNdEx = postIndex |
| 2493 | case 3: |
| 2494 | if wireType != 2 { |
| 2495 | return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| 2496 | } |
| 2497 | var stringLen uint64 |
| 2498 | for shift := uint(0); ; shift += 7 { |
| 2499 | if shift >= 64 { |
| 2500 | return ErrIntOverflowGenerated |
| 2501 | } |
| 2502 | if iNdEx >= l { |
| 2503 | return io.ErrUnexpectedEOF |
| 2504 | } |
| 2505 | b := dAtA[iNdEx] |
| 2506 | iNdEx++ |
| 2507 | stringLen |= (uint64(b) & 0x7F) << shift |
| 2508 | if b < 0x80 { |
| 2509 | break |
| 2510 | } |
| 2511 | } |
| 2512 | intStringLen := int(stringLen) |
| 2513 | if intStringLen < 0 { |
| 2514 | return ErrInvalidLengthGenerated |
| 2515 | } |
| 2516 | postIndex := iNdEx + intStringLen |
| 2517 | if postIndex > l { |
| 2518 | return io.ErrUnexpectedEOF |
| 2519 | } |
| 2520 | m.Name = string(dAtA[iNdEx:postIndex]) |
| 2521 | iNdEx = postIndex |
| 2522 | case 4: |
| 2523 | if wireType != 2 { |
| 2524 | return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) |
| 2525 | } |
| 2526 | var stringLen uint64 |
| 2527 | for shift := uint(0); ; shift += 7 { |
| 2528 | if shift >= 64 { |
| 2529 | return ErrIntOverflowGenerated |
| 2530 | } |
| 2531 | if iNdEx >= l { |
| 2532 | return io.ErrUnexpectedEOF |
| 2533 | } |
| 2534 | b := dAtA[iNdEx] |
| 2535 | iNdEx++ |
| 2536 | stringLen |= (uint64(b) & 0x7F) << shift |
| 2537 | if b < 0x80 { |
| 2538 | break |
| 2539 | } |
| 2540 | } |
| 2541 | intStringLen := int(stringLen) |
| 2542 | if intStringLen < 0 { |
| 2543 | return ErrInvalidLengthGenerated |
| 2544 | } |
| 2545 | postIndex := iNdEx + intStringLen |
| 2546 | if postIndex > l { |
| 2547 | return io.ErrUnexpectedEOF |
| 2548 | } |
| 2549 | m.Namespace = string(dAtA[iNdEx:postIndex]) |
| 2550 | iNdEx = postIndex |
| 2551 | default: |
| 2552 | iNdEx = preIndex |
| 2553 | skippy, err := skipGenerated(dAtA[iNdEx:]) |
| 2554 | if err != nil { |
| 2555 | return err |
| 2556 | } |
| 2557 | if skippy < 0 { |
| 2558 | return ErrInvalidLengthGenerated |
| 2559 | } |
| 2560 | if (iNdEx + skippy) > l { |
| 2561 | return io.ErrUnexpectedEOF |
| 2562 | } |
| 2563 | iNdEx += skippy |
| 2564 | } |
| 2565 | } |
| 2566 | |
| 2567 | if iNdEx > l { |
| 2568 | return io.ErrUnexpectedEOF |
| 2569 | } |
| 2570 | return nil |
| 2571 | } |
| 2572 | func skipGenerated(dAtA []byte) (n int, err error) { |
| 2573 | l := len(dAtA) |
| 2574 | iNdEx := 0 |
| 2575 | for iNdEx < l { |
| 2576 | var wire uint64 |
| 2577 | for shift := uint(0); ; shift += 7 { |
| 2578 | if shift >= 64 { |
| 2579 | return 0, ErrIntOverflowGenerated |
| 2580 | } |
| 2581 | if iNdEx >= l { |
| 2582 | return 0, io.ErrUnexpectedEOF |
| 2583 | } |
| 2584 | b := dAtA[iNdEx] |
| 2585 | iNdEx++ |
| 2586 | wire |= (uint64(b) & 0x7F) << shift |
| 2587 | if b < 0x80 { |
| 2588 | break |
| 2589 | } |
| 2590 | } |
| 2591 | wireType := int(wire & 0x7) |
| 2592 | switch wireType { |
| 2593 | case 0: |
| 2594 | for shift := uint(0); ; shift += 7 { |
| 2595 | if shift >= 64 { |
| 2596 | return 0, ErrIntOverflowGenerated |
| 2597 | } |
| 2598 | if iNdEx >= l { |
| 2599 | return 0, io.ErrUnexpectedEOF |
| 2600 | } |
| 2601 | iNdEx++ |
| 2602 | if dAtA[iNdEx-1] < 0x80 { |
| 2603 | break |
| 2604 | } |
| 2605 | } |
| 2606 | return iNdEx, nil |
| 2607 | case 1: |
| 2608 | iNdEx += 8 |
| 2609 | return iNdEx, nil |
| 2610 | case 2: |
| 2611 | var length int |
| 2612 | for shift := uint(0); ; shift += 7 { |
| 2613 | if shift >= 64 { |
| 2614 | return 0, ErrIntOverflowGenerated |
| 2615 | } |
| 2616 | if iNdEx >= l { |
| 2617 | return 0, io.ErrUnexpectedEOF |
| 2618 | } |
| 2619 | b := dAtA[iNdEx] |
| 2620 | iNdEx++ |
| 2621 | length |= (int(b) & 0x7F) << shift |
| 2622 | if b < 0x80 { |
| 2623 | break |
| 2624 | } |
| 2625 | } |
| 2626 | iNdEx += length |
| 2627 | if length < 0 { |
| 2628 | return 0, ErrInvalidLengthGenerated |
| 2629 | } |
| 2630 | return iNdEx, nil |
| 2631 | case 3: |
| 2632 | for { |
| 2633 | var innerWire uint64 |
| 2634 | var start int = iNdEx |
| 2635 | for shift := uint(0); ; shift += 7 { |
| 2636 | if shift >= 64 { |
| 2637 | return 0, ErrIntOverflowGenerated |
| 2638 | } |
| 2639 | if iNdEx >= l { |
| 2640 | return 0, io.ErrUnexpectedEOF |
| 2641 | } |
| 2642 | b := dAtA[iNdEx] |
| 2643 | iNdEx++ |
| 2644 | innerWire |= (uint64(b) & 0x7F) << shift |
| 2645 | if b < 0x80 { |
| 2646 | break |
| 2647 | } |
| 2648 | } |
| 2649 | innerWireType := int(innerWire & 0x7) |
| 2650 | if innerWireType == 4 { |
| 2651 | break |
| 2652 | } |
| 2653 | next, err := skipGenerated(dAtA[start:]) |
| 2654 | if err != nil { |
| 2655 | return 0, err |
| 2656 | } |
| 2657 | iNdEx = start + next |
| 2658 | } |
| 2659 | return iNdEx, nil |
| 2660 | case 4: |
| 2661 | return iNdEx, nil |
| 2662 | case 5: |
| 2663 | iNdEx += 4 |
| 2664 | return iNdEx, nil |
| 2665 | default: |
| 2666 | return 0, fmt.Errorf("proto: illegal wireType %d", wireType) |
| 2667 | } |
| 2668 | } |
| 2669 | panic("unreachable") |
| 2670 | } |
| 2671 | |
| 2672 | var ( |
| 2673 | ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") |
| 2674 | ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") |
| 2675 | ) |
| 2676 | |
| 2677 | func init() { |
| 2678 | proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/rbac/v1/generated.proto", fileDescriptorGenerated) |
| 2679 | } |
| 2680 | |
| 2681 | var fileDescriptorGenerated = []byte{ |
| 2682 | // 807 bytes of a gzipped FileDescriptorProto |
| 2683 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x55, 0xcf, 0x6f, 0xe3, 0x44, |
| 2684 | 0x14, 0xce, 0xa4, 0x89, 0x1a, 0x4f, 0x88, 0x42, 0x87, 0x0a, 0x59, 0x05, 0x39, 0x95, 0x91, 0x50, |
| 2685 | 0x25, 0xc0, 0x26, 0x05, 0x01, 0x12, 0xea, 0xa1, 0x2e, 0x02, 0x55, 0x2d, 0xa5, 0x9a, 0x0a, 0x0e, |
| 2686 | 0x88, 0x03, 0x63, 0x67, 0xea, 0x0e, 0xf1, 0x2f, 0xcd, 0xd8, 0x91, 0x2a, 0x2e, 0x08, 0x89, 0x03, |
| 2687 | 0xb7, 0x3d, 0xee, 0xfe, 0x05, 0x7b, 0xd9, 0x3d, 0xee, 0x5f, 0xb0, 0x97, 0x1e, 0x7b, 0xec, 0x29, |
| 2688 | 0xda, 0x7a, 0xff, 0x90, 0x5d, 0xf9, 0x57, 0x9c, 0x1f, 0xee, 0x36, 0xa7, 0x48, 0xab, 0x3d, 0xb5, |
| 2689 | 0xf3, 0xde, 0xf7, 0xbe, 0xf7, 0xcd, 0xe7, 0x79, 0x2f, 0xf0, 0xfb, 0xe1, 0x77, 0x42, 0x63, 0xbe, |
| 2690 | 0x3e, 0x8c, 0x4c, 0xca, 0x3d, 0x1a, 0x52, 0xa1, 0x8f, 0xa8, 0x37, 0xf0, 0xb9, 0x9e, 0x27, 0x48, |
| 2691 | 0xc0, 0x74, 0x6e, 0x12, 0x4b, 0x1f, 0xf5, 0x75, 0x9b, 0x7a, 0x94, 0x93, 0x90, 0x0e, 0xb4, 0x80, |
| 2692 | 0xfb, 0xa1, 0x8f, 0x50, 0x86, 0xd1, 0x48, 0xc0, 0xb4, 0x04, 0xa3, 0x8d, 0xfa, 0x5b, 0x5f, 0xd8, |
| 2693 | 0x2c, 0xbc, 0x88, 0x4c, 0xcd, 0xf2, 0x5d, 0xdd, 0xf6, 0x6d, 0x5f, 0x4f, 0xa1, 0x66, 0x74, 0x9e, |
| 2694 | 0x9e, 0xd2, 0x43, 0xfa, 0x5f, 0x46, 0xb1, 0xf5, 0x75, 0xd9, 0xc6, 0x25, 0xd6, 0x05, 0xf3, 0x28, |
| 2695 | 0xbf, 0xd4, 0x83, 0xa1, 0x9d, 0x04, 0x84, 0xee, 0xd2, 0x90, 0x54, 0x34, 0xde, 0xd2, 0xef, 0xaa, |
| 2696 | 0xe2, 0x91, 0x17, 0x32, 0x97, 0x2e, 0x14, 0x7c, 0x73, 0x5f, 0x81, 0xb0, 0x2e, 0xa8, 0x4b, 0xe6, |
| 2697 | 0xeb, 0xd4, 0x47, 0x00, 0x76, 0xf7, 0x6d, 0x9b, 0x53, 0x9b, 0x84, 0xcc, 0xf7, 0x70, 0xe4, 0x50, |
| 2698 | 0xf4, 0x1f, 0x80, 0x9b, 0x96, 0x13, 0x89, 0x90, 0x72, 0xec, 0x3b, 0xf4, 0x8c, 0x3a, 0xd4, 0x0a, |
| 2699 | 0x7d, 0x2e, 0x64, 0xb0, 0xbd, 0xb6, 0xd3, 0xde, 0xfd, 0x4a, 0x2b, 0x5d, 0x99, 0xf4, 0xd2, 0x82, |
| 2700 | 0xa1, 0x9d, 0x04, 0x84, 0x96, 0x5c, 0x49, 0x1b, 0xf5, 0xb5, 0x63, 0x62, 0x52, 0xa7, 0xa8, 0x35, |
| 2701 | 0x3e, 0xbe, 0x1a, 0xf7, 0x6a, 0xf1, 0xb8, 0xb7, 0x79, 0x50, 0x41, 0x8c, 0x2b, 0xdb, 0xa9, 0x0f, |
| 2702 | 0xeb, 0xb0, 0x3d, 0x05, 0x47, 0x7f, 0xc2, 0x56, 0x42, 0x3e, 0x20, 0x21, 0x91, 0xc1, 0x36, 0xd8, |
| 2703 | 0x69, 0xef, 0x7e, 0xb9, 0x9c, 0x94, 0x5f, 0xcc, 0xbf, 0xa8, 0x15, 0xfe, 0x4c, 0x43, 0x62, 0xa0, |
| 2704 | 0x5c, 0x07, 0x2c, 0x63, 0x78, 0xc2, 0x8a, 0x0e, 0x60, 0x93, 0x47, 0x0e, 0x15, 0x72, 0x3d, 0xbd, |
| 2705 | 0xa9, 0xa2, 0x2d, 0x7e, 0x7f, 0xed, 0xd4, 0x77, 0x98, 0x75, 0x99, 0x18, 0x65, 0x74, 0x72, 0xb2, |
| 2706 | 0x66, 0x72, 0x12, 0x38, 0xab, 0x45, 0x26, 0xec, 0x92, 0x59, 0x47, 0xe5, 0xb5, 0x54, 0xed, 0x27, |
| 2707 | 0x55, 0x74, 0x73, 0xe6, 0x1b, 0x1f, 0xc4, 0xe3, 0xde, 0xfc, 0x17, 0xc1, 0xf3, 0x84, 0xea, 0xff, |
| 2708 | 0x75, 0x88, 0xa6, 0xac, 0x31, 0x98, 0x37, 0x60, 0x9e, 0xbd, 0x02, 0x87, 0x0e, 0x61, 0x4b, 0x44, |
| 2709 | 0x69, 0xa2, 0x30, 0xe9, 0xa3, 0xaa, 0x5b, 0x9d, 0x65, 0x18, 0xe3, 0xfd, 0x9c, 0xac, 0x95, 0x07, |
| 2710 | 0x04, 0x9e, 0x94, 0xa3, 0x1f, 0xe1, 0x3a, 0xf7, 0x1d, 0x8a, 0xe9, 0x79, 0xee, 0x4f, 0x25, 0x13, |
| 2711 | 0xce, 0x20, 0x46, 0x37, 0x67, 0x5a, 0xcf, 0x03, 0xb8, 0x28, 0x56, 0x9f, 0x03, 0xf8, 0xe1, 0xa2, |
| 2712 | 0x17, 0xc7, 0x4c, 0x84, 0xe8, 0x8f, 0x05, 0x3f, 0xb4, 0x25, 0x1f, 0x2f, 0x13, 0x99, 0x1b, 0x93, |
| 2713 | 0x0b, 0x14, 0x91, 0x29, 0x2f, 0x8e, 0x60, 0x93, 0x85, 0xd4, 0x2d, 0x8c, 0xf8, 0xb4, 0x4a, 0xfe, |
| 2714 | 0xa2, 0xb0, 0xf2, 0xd5, 0x1c, 0x26, 0xc5, 0x38, 0xe3, 0x50, 0x9f, 0x01, 0xd8, 0x9d, 0x02, 0xaf, |
| 2715 | 0x40, 0xfe, 0x0f, 0xb3, 0xf2, 0x7b, 0xf7, 0xc9, 0xaf, 0xd6, 0xfd, 0x0a, 0x40, 0x58, 0x8e, 0x04, |
| 2716 | 0xea, 0xc1, 0xe6, 0x88, 0x72, 0x33, 0xdb, 0x15, 0x92, 0x21, 0x25, 0xf8, 0xdf, 0x92, 0x00, 0xce, |
| 2717 | 0xe2, 0xe8, 0x33, 0x28, 0x91, 0x80, 0xfd, 0xc4, 0xfd, 0x28, 0xc8, 0x3a, 0x4b, 0x46, 0x27, 0x1e, |
| 2718 | 0xf7, 0xa4, 0xfd, 0xd3, 0xc3, 0x2c, 0x88, 0xcb, 0x7c, 0x02, 0xe6, 0x54, 0xf8, 0x11, 0xb7, 0xa8, |
| 2719 | 0x90, 0xd7, 0x4a, 0x30, 0x2e, 0x82, 0xb8, 0xcc, 0xa3, 0x6f, 0x61, 0xa7, 0x38, 0x9c, 0x10, 0x97, |
| 2720 | 0x0a, 0xb9, 0x91, 0x16, 0x6c, 0xc4, 0xe3, 0x5e, 0x07, 0x4f, 0x27, 0xf0, 0x2c, 0x0e, 0xed, 0xc1, |
| 2721 | 0xae, 0xe7, 0x7b, 0x05, 0xe4, 0x57, 0x7c, 0x2c, 0xe4, 0x66, 0x5a, 0x9a, 0xce, 0xe2, 0xc9, 0x6c, |
| 2722 | 0x0a, 0xcf, 0x63, 0xd5, 0xa7, 0x00, 0x36, 0xde, 0xa2, 0xfd, 0xa4, 0xfe, 0x5b, 0x87, 0xed, 0x77, |
| 2723 | 0x7e, 0x69, 0x24, 0xe3, 0xb6, 0xda, 0x6d, 0xb1, 0xcc, 0xb8, 0xdd, 0xbf, 0x26, 0x1e, 0x03, 0xd8, |
| 2724 | 0x5a, 0xd1, 0x7e, 0xd8, 0x9b, 0x15, 0x2c, 0xdf, 0x29, 0xb8, 0x5a, 0xe9, 0xdf, 0xb0, 0x70, 0x1d, |
| 2725 | 0x7d, 0x0e, 0x5b, 0xc5, 0x4c, 0xa7, 0x3a, 0xa5, 0xb2, 0x6f, 0x31, 0xf6, 0x78, 0x82, 0x40, 0xdb, |
| 2726 | 0xb0, 0x31, 0x64, 0xde, 0x40, 0xae, 0xa7, 0xc8, 0xf7, 0x72, 0x64, 0xe3, 0x88, 0x79, 0x03, 0x9c, |
| 2727 | 0x66, 0x12, 0x84, 0x47, 0xdc, 0xec, 0x67, 0x75, 0x0a, 0x91, 0x4c, 0x33, 0x4e, 0x33, 0xea, 0x13, |
| 2728 | 0x00, 0xd7, 0xf3, 0xd7, 0x33, 0xe1, 0x03, 0x77, 0xf2, 0x4d, 0xeb, 0xab, 0x2f, 0xa3, 0xef, 0xcd, |
| 2729 | 0xdd, 0x91, 0x0e, 0xa5, 0xe4, 0xaf, 0x08, 0x88, 0x45, 0xe5, 0x46, 0x0a, 0xdb, 0xc8, 0x61, 0xd2, |
| 2730 | 0x49, 0x91, 0xc0, 0x25, 0xc6, 0xd8, 0xb9, 0xba, 0x55, 0x6a, 0xd7, 0xb7, 0x4a, 0xed, 0xe6, 0x56, |
| 2731 | 0xa9, 0xfd, 0x13, 0x2b, 0xe0, 0x2a, 0x56, 0xc0, 0x75, 0xac, 0x80, 0x9b, 0x58, 0x01, 0x2f, 0x62, |
| 2732 | 0x05, 0x3c, 0x78, 0xa9, 0xd4, 0x7e, 0xaf, 0x8f, 0xfa, 0xaf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x24, |
| 2733 | 0xa1, 0x47, 0x98, 0xcf, 0x0a, 0x00, 0x00, |
| 2734 | } |