generated.pb.go 34 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388
  1. /*
  2. Copyright The Kubernetes Authors.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  14. // source: k8s.io/kubernetes/vendor/k8s.io/api/authentication/v1beta1/generated.proto
  15. /*
  16. Package v1beta1 is a generated protocol buffer package.
  17. It is generated from these files:
  18. k8s.io/kubernetes/vendor/k8s.io/api/authentication/v1beta1/generated.proto
  19. It has these top-level messages:
  20. ExtraValue
  21. TokenReview
  22. TokenReviewSpec
  23. TokenReviewStatus
  24. UserInfo
  25. */
  26. package v1beta1
  27. import proto "github.com/gogo/protobuf/proto"
  28. import fmt "fmt"
  29. import math "math"
  30. import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
  31. import strings "strings"
  32. import reflect "reflect"
  33. import io "io"
  34. // Reference imports to suppress errors if they are not otherwise used.
  35. var _ = proto.Marshal
  36. var _ = fmt.Errorf
  37. var _ = math.Inf
  38. // This is a compile-time assertion to ensure that this generated file
  39. // is compatible with the proto package it is being compiled against.
  40. // A compilation error at this line likely means your copy of the
  41. // proto package needs to be updated.
  42. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  43. func (m *ExtraValue) Reset() { *m = ExtraValue{} }
  44. func (*ExtraValue) ProtoMessage() {}
  45. func (*ExtraValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
  46. func (m *TokenReview) Reset() { *m = TokenReview{} }
  47. func (*TokenReview) ProtoMessage() {}
  48. func (*TokenReview) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
  49. func (m *TokenReviewSpec) Reset() { *m = TokenReviewSpec{} }
  50. func (*TokenReviewSpec) ProtoMessage() {}
  51. func (*TokenReviewSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
  52. func (m *TokenReviewStatus) Reset() { *m = TokenReviewStatus{} }
  53. func (*TokenReviewStatus) ProtoMessage() {}
  54. func (*TokenReviewStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
  55. func (m *UserInfo) Reset() { *m = UserInfo{} }
  56. func (*UserInfo) ProtoMessage() {}
  57. func (*UserInfo) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
  58. func init() {
  59. proto.RegisterType((*ExtraValue)(nil), "k8s.io.api.authentication.v1beta1.ExtraValue")
  60. proto.RegisterType((*TokenReview)(nil), "k8s.io.api.authentication.v1beta1.TokenReview")
  61. proto.RegisterType((*TokenReviewSpec)(nil), "k8s.io.api.authentication.v1beta1.TokenReviewSpec")
  62. proto.RegisterType((*TokenReviewStatus)(nil), "k8s.io.api.authentication.v1beta1.TokenReviewStatus")
  63. proto.RegisterType((*UserInfo)(nil), "k8s.io.api.authentication.v1beta1.UserInfo")
  64. }
  65. func (m ExtraValue) Marshal() (dAtA []byte, err error) {
  66. size := m.Size()
  67. dAtA = make([]byte, size)
  68. n, err := m.MarshalTo(dAtA)
  69. if err != nil {
  70. return nil, err
  71. }
  72. return dAtA[:n], nil
  73. }
  74. func (m ExtraValue) MarshalTo(dAtA []byte) (int, error) {
  75. var i int
  76. _ = i
  77. var l int
  78. _ = l
  79. if len(m) > 0 {
  80. for _, s := range m {
  81. dAtA[i] = 0xa
  82. i++
  83. l = len(s)
  84. for l >= 1<<7 {
  85. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  86. l >>= 7
  87. i++
  88. }
  89. dAtA[i] = uint8(l)
  90. i++
  91. i += copy(dAtA[i:], s)
  92. }
  93. }
  94. return i, nil
  95. }
  96. func (m *TokenReview) Marshal() (dAtA []byte, err error) {
  97. size := m.Size()
  98. dAtA = make([]byte, size)
  99. n, err := m.MarshalTo(dAtA)
  100. if err != nil {
  101. return nil, err
  102. }
  103. return dAtA[:n], nil
  104. }
  105. func (m *TokenReview) MarshalTo(dAtA []byte) (int, error) {
  106. var i int
  107. _ = i
  108. var l int
  109. _ = l
  110. dAtA[i] = 0xa
  111. i++
  112. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  113. n1, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  114. if err != nil {
  115. return 0, err
  116. }
  117. i += n1
  118. dAtA[i] = 0x12
  119. i++
  120. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  121. n2, err := m.Spec.MarshalTo(dAtA[i:])
  122. if err != nil {
  123. return 0, err
  124. }
  125. i += n2
  126. dAtA[i] = 0x1a
  127. i++
  128. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  129. n3, err := m.Status.MarshalTo(dAtA[i:])
  130. if err != nil {
  131. return 0, err
  132. }
  133. i += n3
  134. return i, nil
  135. }
  136. func (m *TokenReviewSpec) Marshal() (dAtA []byte, err error) {
  137. size := m.Size()
  138. dAtA = make([]byte, size)
  139. n, err := m.MarshalTo(dAtA)
  140. if err != nil {
  141. return nil, err
  142. }
  143. return dAtA[:n], nil
  144. }
  145. func (m *TokenReviewSpec) MarshalTo(dAtA []byte) (int, error) {
  146. var i int
  147. _ = i
  148. var l int
  149. _ = l
  150. dAtA[i] = 0xa
  151. i++
  152. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Token)))
  153. i += copy(dAtA[i:], m.Token)
  154. if len(m.Audiences) > 0 {
  155. for _, s := range m.Audiences {
  156. dAtA[i] = 0x12
  157. i++
  158. l = len(s)
  159. for l >= 1<<7 {
  160. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  161. l >>= 7
  162. i++
  163. }
  164. dAtA[i] = uint8(l)
  165. i++
  166. i += copy(dAtA[i:], s)
  167. }
  168. }
  169. return i, nil
  170. }
  171. func (m *TokenReviewStatus) Marshal() (dAtA []byte, err error) {
  172. size := m.Size()
  173. dAtA = make([]byte, size)
  174. n, err := m.MarshalTo(dAtA)
  175. if err != nil {
  176. return nil, err
  177. }
  178. return dAtA[:n], nil
  179. }
  180. func (m *TokenReviewStatus) MarshalTo(dAtA []byte) (int, error) {
  181. var i int
  182. _ = i
  183. var l int
  184. _ = l
  185. dAtA[i] = 0x8
  186. i++
  187. if m.Authenticated {
  188. dAtA[i] = 1
  189. } else {
  190. dAtA[i] = 0
  191. }
  192. i++
  193. dAtA[i] = 0x12
  194. i++
  195. i = encodeVarintGenerated(dAtA, i, uint64(m.User.Size()))
  196. n4, err := m.User.MarshalTo(dAtA[i:])
  197. if err != nil {
  198. return 0, err
  199. }
  200. i += n4
  201. dAtA[i] = 0x1a
  202. i++
  203. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Error)))
  204. i += copy(dAtA[i:], m.Error)
  205. if len(m.Audiences) > 0 {
  206. for _, s := range m.Audiences {
  207. dAtA[i] = 0x22
  208. i++
  209. l = len(s)
  210. for l >= 1<<7 {
  211. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  212. l >>= 7
  213. i++
  214. }
  215. dAtA[i] = uint8(l)
  216. i++
  217. i += copy(dAtA[i:], s)
  218. }
  219. }
  220. return i, nil
  221. }
  222. func (m *UserInfo) Marshal() (dAtA []byte, err error) {
  223. size := m.Size()
  224. dAtA = make([]byte, size)
  225. n, err := m.MarshalTo(dAtA)
  226. if err != nil {
  227. return nil, err
  228. }
  229. return dAtA[:n], nil
  230. }
  231. func (m *UserInfo) MarshalTo(dAtA []byte) (int, error) {
  232. var i int
  233. _ = i
  234. var l int
  235. _ = l
  236. dAtA[i] = 0xa
  237. i++
  238. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Username)))
  239. i += copy(dAtA[i:], m.Username)
  240. dAtA[i] = 0x12
  241. i++
  242. i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID)))
  243. i += copy(dAtA[i:], m.UID)
  244. if len(m.Groups) > 0 {
  245. for _, s := range m.Groups {
  246. dAtA[i] = 0x1a
  247. i++
  248. l = len(s)
  249. for l >= 1<<7 {
  250. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  251. l >>= 7
  252. i++
  253. }
  254. dAtA[i] = uint8(l)
  255. i++
  256. i += copy(dAtA[i:], s)
  257. }
  258. }
  259. if len(m.Extra) > 0 {
  260. keysForExtra := make([]string, 0, len(m.Extra))
  261. for k := range m.Extra {
  262. keysForExtra = append(keysForExtra, string(k))
  263. }
  264. github_com_gogo_protobuf_sortkeys.Strings(keysForExtra)
  265. for _, k := range keysForExtra {
  266. dAtA[i] = 0x22
  267. i++
  268. v := m.Extra[string(k)]
  269. msgSize := 0
  270. if (&v) != nil {
  271. msgSize = (&v).Size()
  272. msgSize += 1 + sovGenerated(uint64(msgSize))
  273. }
  274. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + msgSize
  275. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  276. dAtA[i] = 0xa
  277. i++
  278. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  279. i += copy(dAtA[i:], k)
  280. dAtA[i] = 0x12
  281. i++
  282. i = encodeVarintGenerated(dAtA, i, uint64((&v).Size()))
  283. n5, err := (&v).MarshalTo(dAtA[i:])
  284. if err != nil {
  285. return 0, err
  286. }
  287. i += n5
  288. }
  289. }
  290. return i, nil
  291. }
  292. func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
  293. for v >= 1<<7 {
  294. dAtA[offset] = uint8(v&0x7f | 0x80)
  295. v >>= 7
  296. offset++
  297. }
  298. dAtA[offset] = uint8(v)
  299. return offset + 1
  300. }
  301. func (m ExtraValue) Size() (n int) {
  302. var l int
  303. _ = l
  304. if len(m) > 0 {
  305. for _, s := range m {
  306. l = len(s)
  307. n += 1 + l + sovGenerated(uint64(l))
  308. }
  309. }
  310. return n
  311. }
  312. func (m *TokenReview) Size() (n int) {
  313. var l int
  314. _ = l
  315. l = m.ObjectMeta.Size()
  316. n += 1 + l + sovGenerated(uint64(l))
  317. l = m.Spec.Size()
  318. n += 1 + l + sovGenerated(uint64(l))
  319. l = m.Status.Size()
  320. n += 1 + l + sovGenerated(uint64(l))
  321. return n
  322. }
  323. func (m *TokenReviewSpec) Size() (n int) {
  324. var l int
  325. _ = l
  326. l = len(m.Token)
  327. n += 1 + l + sovGenerated(uint64(l))
  328. if len(m.Audiences) > 0 {
  329. for _, s := range m.Audiences {
  330. l = len(s)
  331. n += 1 + l + sovGenerated(uint64(l))
  332. }
  333. }
  334. return n
  335. }
  336. func (m *TokenReviewStatus) Size() (n int) {
  337. var l int
  338. _ = l
  339. n += 2
  340. l = m.User.Size()
  341. n += 1 + l + sovGenerated(uint64(l))
  342. l = len(m.Error)
  343. n += 1 + l + sovGenerated(uint64(l))
  344. if len(m.Audiences) > 0 {
  345. for _, s := range m.Audiences {
  346. l = len(s)
  347. n += 1 + l + sovGenerated(uint64(l))
  348. }
  349. }
  350. return n
  351. }
  352. func (m *UserInfo) Size() (n int) {
  353. var l int
  354. _ = l
  355. l = len(m.Username)
  356. n += 1 + l + sovGenerated(uint64(l))
  357. l = len(m.UID)
  358. n += 1 + l + sovGenerated(uint64(l))
  359. if len(m.Groups) > 0 {
  360. for _, s := range m.Groups {
  361. l = len(s)
  362. n += 1 + l + sovGenerated(uint64(l))
  363. }
  364. }
  365. if len(m.Extra) > 0 {
  366. for k, v := range m.Extra {
  367. _ = k
  368. _ = v
  369. l = v.Size()
  370. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
  371. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  372. }
  373. }
  374. return n
  375. }
  376. func sovGenerated(x uint64) (n int) {
  377. for {
  378. n++
  379. x >>= 7
  380. if x == 0 {
  381. break
  382. }
  383. }
  384. return n
  385. }
  386. func sozGenerated(x uint64) (n int) {
  387. return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  388. }
  389. func (this *TokenReview) String() string {
  390. if this == nil {
  391. return "nil"
  392. }
  393. s := strings.Join([]string{`&TokenReview{`,
  394. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  395. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "TokenReviewSpec", "TokenReviewSpec", 1), `&`, ``, 1) + `,`,
  396. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "TokenReviewStatus", "TokenReviewStatus", 1), `&`, ``, 1) + `,`,
  397. `}`,
  398. }, "")
  399. return s
  400. }
  401. func (this *TokenReviewSpec) String() string {
  402. if this == nil {
  403. return "nil"
  404. }
  405. s := strings.Join([]string{`&TokenReviewSpec{`,
  406. `Token:` + fmt.Sprintf("%v", this.Token) + `,`,
  407. `Audiences:` + fmt.Sprintf("%v", this.Audiences) + `,`,
  408. `}`,
  409. }, "")
  410. return s
  411. }
  412. func (this *TokenReviewStatus) String() string {
  413. if this == nil {
  414. return "nil"
  415. }
  416. s := strings.Join([]string{`&TokenReviewStatus{`,
  417. `Authenticated:` + fmt.Sprintf("%v", this.Authenticated) + `,`,
  418. `User:` + strings.Replace(strings.Replace(this.User.String(), "UserInfo", "UserInfo", 1), `&`, ``, 1) + `,`,
  419. `Error:` + fmt.Sprintf("%v", this.Error) + `,`,
  420. `Audiences:` + fmt.Sprintf("%v", this.Audiences) + `,`,
  421. `}`,
  422. }, "")
  423. return s
  424. }
  425. func (this *UserInfo) String() string {
  426. if this == nil {
  427. return "nil"
  428. }
  429. keysForExtra := make([]string, 0, len(this.Extra))
  430. for k := range this.Extra {
  431. keysForExtra = append(keysForExtra, k)
  432. }
  433. github_com_gogo_protobuf_sortkeys.Strings(keysForExtra)
  434. mapStringForExtra := "map[string]ExtraValue{"
  435. for _, k := range keysForExtra {
  436. mapStringForExtra += fmt.Sprintf("%v: %v,", k, this.Extra[k])
  437. }
  438. mapStringForExtra += "}"
  439. s := strings.Join([]string{`&UserInfo{`,
  440. `Username:` + fmt.Sprintf("%v", this.Username) + `,`,
  441. `UID:` + fmt.Sprintf("%v", this.UID) + `,`,
  442. `Groups:` + fmt.Sprintf("%v", this.Groups) + `,`,
  443. `Extra:` + mapStringForExtra + `,`,
  444. `}`,
  445. }, "")
  446. return s
  447. }
  448. func valueToStringGenerated(v interface{}) string {
  449. rv := reflect.ValueOf(v)
  450. if rv.IsNil() {
  451. return "nil"
  452. }
  453. pv := reflect.Indirect(rv).Interface()
  454. return fmt.Sprintf("*%v", pv)
  455. }
  456. func (m *ExtraValue) Unmarshal(dAtA []byte) error {
  457. l := len(dAtA)
  458. iNdEx := 0
  459. for iNdEx < l {
  460. preIndex := iNdEx
  461. var wire uint64
  462. for shift := uint(0); ; shift += 7 {
  463. if shift >= 64 {
  464. return ErrIntOverflowGenerated
  465. }
  466. if iNdEx >= l {
  467. return io.ErrUnexpectedEOF
  468. }
  469. b := dAtA[iNdEx]
  470. iNdEx++
  471. wire |= (uint64(b) & 0x7F) << shift
  472. if b < 0x80 {
  473. break
  474. }
  475. }
  476. fieldNum := int32(wire >> 3)
  477. wireType := int(wire & 0x7)
  478. if wireType == 4 {
  479. return fmt.Errorf("proto: ExtraValue: wiretype end group for non-group")
  480. }
  481. if fieldNum <= 0 {
  482. return fmt.Errorf("proto: ExtraValue: illegal tag %d (wire type %d)", fieldNum, wire)
  483. }
  484. switch fieldNum {
  485. case 1:
  486. if wireType != 2 {
  487. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  488. }
  489. var stringLen uint64
  490. for shift := uint(0); ; shift += 7 {
  491. if shift >= 64 {
  492. return ErrIntOverflowGenerated
  493. }
  494. if iNdEx >= l {
  495. return io.ErrUnexpectedEOF
  496. }
  497. b := dAtA[iNdEx]
  498. iNdEx++
  499. stringLen |= (uint64(b) & 0x7F) << shift
  500. if b < 0x80 {
  501. break
  502. }
  503. }
  504. intStringLen := int(stringLen)
  505. if intStringLen < 0 {
  506. return ErrInvalidLengthGenerated
  507. }
  508. postIndex := iNdEx + intStringLen
  509. if postIndex > l {
  510. return io.ErrUnexpectedEOF
  511. }
  512. *m = append(*m, string(dAtA[iNdEx:postIndex]))
  513. iNdEx = postIndex
  514. default:
  515. iNdEx = preIndex
  516. skippy, err := skipGenerated(dAtA[iNdEx:])
  517. if err != nil {
  518. return err
  519. }
  520. if skippy < 0 {
  521. return ErrInvalidLengthGenerated
  522. }
  523. if (iNdEx + skippy) > l {
  524. return io.ErrUnexpectedEOF
  525. }
  526. iNdEx += skippy
  527. }
  528. }
  529. if iNdEx > l {
  530. return io.ErrUnexpectedEOF
  531. }
  532. return nil
  533. }
  534. func (m *TokenReview) Unmarshal(dAtA []byte) error {
  535. l := len(dAtA)
  536. iNdEx := 0
  537. for iNdEx < l {
  538. preIndex := iNdEx
  539. var wire uint64
  540. for shift := uint(0); ; shift += 7 {
  541. if shift >= 64 {
  542. return ErrIntOverflowGenerated
  543. }
  544. if iNdEx >= l {
  545. return io.ErrUnexpectedEOF
  546. }
  547. b := dAtA[iNdEx]
  548. iNdEx++
  549. wire |= (uint64(b) & 0x7F) << shift
  550. if b < 0x80 {
  551. break
  552. }
  553. }
  554. fieldNum := int32(wire >> 3)
  555. wireType := int(wire & 0x7)
  556. if wireType == 4 {
  557. return fmt.Errorf("proto: TokenReview: wiretype end group for non-group")
  558. }
  559. if fieldNum <= 0 {
  560. return fmt.Errorf("proto: TokenReview: illegal tag %d (wire type %d)", fieldNum, wire)
  561. }
  562. switch fieldNum {
  563. case 1:
  564. if wireType != 2 {
  565. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  566. }
  567. var msglen int
  568. for shift := uint(0); ; shift += 7 {
  569. if shift >= 64 {
  570. return ErrIntOverflowGenerated
  571. }
  572. if iNdEx >= l {
  573. return io.ErrUnexpectedEOF
  574. }
  575. b := dAtA[iNdEx]
  576. iNdEx++
  577. msglen |= (int(b) & 0x7F) << shift
  578. if b < 0x80 {
  579. break
  580. }
  581. }
  582. if msglen < 0 {
  583. return ErrInvalidLengthGenerated
  584. }
  585. postIndex := iNdEx + msglen
  586. if postIndex > l {
  587. return io.ErrUnexpectedEOF
  588. }
  589. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  590. return err
  591. }
  592. iNdEx = postIndex
  593. case 2:
  594. if wireType != 2 {
  595. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  596. }
  597. var msglen int
  598. for shift := uint(0); ; shift += 7 {
  599. if shift >= 64 {
  600. return ErrIntOverflowGenerated
  601. }
  602. if iNdEx >= l {
  603. return io.ErrUnexpectedEOF
  604. }
  605. b := dAtA[iNdEx]
  606. iNdEx++
  607. msglen |= (int(b) & 0x7F) << shift
  608. if b < 0x80 {
  609. break
  610. }
  611. }
  612. if msglen < 0 {
  613. return ErrInvalidLengthGenerated
  614. }
  615. postIndex := iNdEx + msglen
  616. if postIndex > l {
  617. return io.ErrUnexpectedEOF
  618. }
  619. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  620. return err
  621. }
  622. iNdEx = postIndex
  623. case 3:
  624. if wireType != 2 {
  625. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  626. }
  627. var msglen int
  628. for shift := uint(0); ; shift += 7 {
  629. if shift >= 64 {
  630. return ErrIntOverflowGenerated
  631. }
  632. if iNdEx >= l {
  633. return io.ErrUnexpectedEOF
  634. }
  635. b := dAtA[iNdEx]
  636. iNdEx++
  637. msglen |= (int(b) & 0x7F) << shift
  638. if b < 0x80 {
  639. break
  640. }
  641. }
  642. if msglen < 0 {
  643. return ErrInvalidLengthGenerated
  644. }
  645. postIndex := iNdEx + msglen
  646. if postIndex > l {
  647. return io.ErrUnexpectedEOF
  648. }
  649. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  650. return err
  651. }
  652. iNdEx = postIndex
  653. default:
  654. iNdEx = preIndex
  655. skippy, err := skipGenerated(dAtA[iNdEx:])
  656. if err != nil {
  657. return err
  658. }
  659. if skippy < 0 {
  660. return ErrInvalidLengthGenerated
  661. }
  662. if (iNdEx + skippy) > l {
  663. return io.ErrUnexpectedEOF
  664. }
  665. iNdEx += skippy
  666. }
  667. }
  668. if iNdEx > l {
  669. return io.ErrUnexpectedEOF
  670. }
  671. return nil
  672. }
  673. func (m *TokenReviewSpec) Unmarshal(dAtA []byte) error {
  674. l := len(dAtA)
  675. iNdEx := 0
  676. for iNdEx < l {
  677. preIndex := iNdEx
  678. var wire uint64
  679. for shift := uint(0); ; shift += 7 {
  680. if shift >= 64 {
  681. return ErrIntOverflowGenerated
  682. }
  683. if iNdEx >= l {
  684. return io.ErrUnexpectedEOF
  685. }
  686. b := dAtA[iNdEx]
  687. iNdEx++
  688. wire |= (uint64(b) & 0x7F) << shift
  689. if b < 0x80 {
  690. break
  691. }
  692. }
  693. fieldNum := int32(wire >> 3)
  694. wireType := int(wire & 0x7)
  695. if wireType == 4 {
  696. return fmt.Errorf("proto: TokenReviewSpec: wiretype end group for non-group")
  697. }
  698. if fieldNum <= 0 {
  699. return fmt.Errorf("proto: TokenReviewSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  700. }
  701. switch fieldNum {
  702. case 1:
  703. if wireType != 2 {
  704. return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType)
  705. }
  706. var stringLen uint64
  707. for shift := uint(0); ; shift += 7 {
  708. if shift >= 64 {
  709. return ErrIntOverflowGenerated
  710. }
  711. if iNdEx >= l {
  712. return io.ErrUnexpectedEOF
  713. }
  714. b := dAtA[iNdEx]
  715. iNdEx++
  716. stringLen |= (uint64(b) & 0x7F) << shift
  717. if b < 0x80 {
  718. break
  719. }
  720. }
  721. intStringLen := int(stringLen)
  722. if intStringLen < 0 {
  723. return ErrInvalidLengthGenerated
  724. }
  725. postIndex := iNdEx + intStringLen
  726. if postIndex > l {
  727. return io.ErrUnexpectedEOF
  728. }
  729. m.Token = string(dAtA[iNdEx:postIndex])
  730. iNdEx = postIndex
  731. case 2:
  732. if wireType != 2 {
  733. return fmt.Errorf("proto: wrong wireType = %d for field Audiences", wireType)
  734. }
  735. var stringLen uint64
  736. for shift := uint(0); ; shift += 7 {
  737. if shift >= 64 {
  738. return ErrIntOverflowGenerated
  739. }
  740. if iNdEx >= l {
  741. return io.ErrUnexpectedEOF
  742. }
  743. b := dAtA[iNdEx]
  744. iNdEx++
  745. stringLen |= (uint64(b) & 0x7F) << shift
  746. if b < 0x80 {
  747. break
  748. }
  749. }
  750. intStringLen := int(stringLen)
  751. if intStringLen < 0 {
  752. return ErrInvalidLengthGenerated
  753. }
  754. postIndex := iNdEx + intStringLen
  755. if postIndex > l {
  756. return io.ErrUnexpectedEOF
  757. }
  758. m.Audiences = append(m.Audiences, string(dAtA[iNdEx:postIndex]))
  759. iNdEx = postIndex
  760. default:
  761. iNdEx = preIndex
  762. skippy, err := skipGenerated(dAtA[iNdEx:])
  763. if err != nil {
  764. return err
  765. }
  766. if skippy < 0 {
  767. return ErrInvalidLengthGenerated
  768. }
  769. if (iNdEx + skippy) > l {
  770. return io.ErrUnexpectedEOF
  771. }
  772. iNdEx += skippy
  773. }
  774. }
  775. if iNdEx > l {
  776. return io.ErrUnexpectedEOF
  777. }
  778. return nil
  779. }
  780. func (m *TokenReviewStatus) Unmarshal(dAtA []byte) error {
  781. l := len(dAtA)
  782. iNdEx := 0
  783. for iNdEx < l {
  784. preIndex := iNdEx
  785. var wire uint64
  786. for shift := uint(0); ; shift += 7 {
  787. if shift >= 64 {
  788. return ErrIntOverflowGenerated
  789. }
  790. if iNdEx >= l {
  791. return io.ErrUnexpectedEOF
  792. }
  793. b := dAtA[iNdEx]
  794. iNdEx++
  795. wire |= (uint64(b) & 0x7F) << shift
  796. if b < 0x80 {
  797. break
  798. }
  799. }
  800. fieldNum := int32(wire >> 3)
  801. wireType := int(wire & 0x7)
  802. if wireType == 4 {
  803. return fmt.Errorf("proto: TokenReviewStatus: wiretype end group for non-group")
  804. }
  805. if fieldNum <= 0 {
  806. return fmt.Errorf("proto: TokenReviewStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  807. }
  808. switch fieldNum {
  809. case 1:
  810. if wireType != 0 {
  811. return fmt.Errorf("proto: wrong wireType = %d for field Authenticated", wireType)
  812. }
  813. var v int
  814. for shift := uint(0); ; shift += 7 {
  815. if shift >= 64 {
  816. return ErrIntOverflowGenerated
  817. }
  818. if iNdEx >= l {
  819. return io.ErrUnexpectedEOF
  820. }
  821. b := dAtA[iNdEx]
  822. iNdEx++
  823. v |= (int(b) & 0x7F) << shift
  824. if b < 0x80 {
  825. break
  826. }
  827. }
  828. m.Authenticated = bool(v != 0)
  829. case 2:
  830. if wireType != 2 {
  831. return fmt.Errorf("proto: wrong wireType = %d for field User", wireType)
  832. }
  833. var msglen int
  834. for shift := uint(0); ; shift += 7 {
  835. if shift >= 64 {
  836. return ErrIntOverflowGenerated
  837. }
  838. if iNdEx >= l {
  839. return io.ErrUnexpectedEOF
  840. }
  841. b := dAtA[iNdEx]
  842. iNdEx++
  843. msglen |= (int(b) & 0x7F) << shift
  844. if b < 0x80 {
  845. break
  846. }
  847. }
  848. if msglen < 0 {
  849. return ErrInvalidLengthGenerated
  850. }
  851. postIndex := iNdEx + msglen
  852. if postIndex > l {
  853. return io.ErrUnexpectedEOF
  854. }
  855. if err := m.User.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  856. return err
  857. }
  858. iNdEx = postIndex
  859. case 3:
  860. if wireType != 2 {
  861. return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType)
  862. }
  863. var stringLen uint64
  864. for shift := uint(0); ; shift += 7 {
  865. if shift >= 64 {
  866. return ErrIntOverflowGenerated
  867. }
  868. if iNdEx >= l {
  869. return io.ErrUnexpectedEOF
  870. }
  871. b := dAtA[iNdEx]
  872. iNdEx++
  873. stringLen |= (uint64(b) & 0x7F) << shift
  874. if b < 0x80 {
  875. break
  876. }
  877. }
  878. intStringLen := int(stringLen)
  879. if intStringLen < 0 {
  880. return ErrInvalidLengthGenerated
  881. }
  882. postIndex := iNdEx + intStringLen
  883. if postIndex > l {
  884. return io.ErrUnexpectedEOF
  885. }
  886. m.Error = string(dAtA[iNdEx:postIndex])
  887. iNdEx = postIndex
  888. case 4:
  889. if wireType != 2 {
  890. return fmt.Errorf("proto: wrong wireType = %d for field Audiences", wireType)
  891. }
  892. var stringLen uint64
  893. for shift := uint(0); ; shift += 7 {
  894. if shift >= 64 {
  895. return ErrIntOverflowGenerated
  896. }
  897. if iNdEx >= l {
  898. return io.ErrUnexpectedEOF
  899. }
  900. b := dAtA[iNdEx]
  901. iNdEx++
  902. stringLen |= (uint64(b) & 0x7F) << shift
  903. if b < 0x80 {
  904. break
  905. }
  906. }
  907. intStringLen := int(stringLen)
  908. if intStringLen < 0 {
  909. return ErrInvalidLengthGenerated
  910. }
  911. postIndex := iNdEx + intStringLen
  912. if postIndex > l {
  913. return io.ErrUnexpectedEOF
  914. }
  915. m.Audiences = append(m.Audiences, string(dAtA[iNdEx:postIndex]))
  916. iNdEx = postIndex
  917. default:
  918. iNdEx = preIndex
  919. skippy, err := skipGenerated(dAtA[iNdEx:])
  920. if err != nil {
  921. return err
  922. }
  923. if skippy < 0 {
  924. return ErrInvalidLengthGenerated
  925. }
  926. if (iNdEx + skippy) > l {
  927. return io.ErrUnexpectedEOF
  928. }
  929. iNdEx += skippy
  930. }
  931. }
  932. if iNdEx > l {
  933. return io.ErrUnexpectedEOF
  934. }
  935. return nil
  936. }
  937. func (m *UserInfo) Unmarshal(dAtA []byte) error {
  938. l := len(dAtA)
  939. iNdEx := 0
  940. for iNdEx < l {
  941. preIndex := iNdEx
  942. var wire uint64
  943. for shift := uint(0); ; shift += 7 {
  944. if shift >= 64 {
  945. return ErrIntOverflowGenerated
  946. }
  947. if iNdEx >= l {
  948. return io.ErrUnexpectedEOF
  949. }
  950. b := dAtA[iNdEx]
  951. iNdEx++
  952. wire |= (uint64(b) & 0x7F) << shift
  953. if b < 0x80 {
  954. break
  955. }
  956. }
  957. fieldNum := int32(wire >> 3)
  958. wireType := int(wire & 0x7)
  959. if wireType == 4 {
  960. return fmt.Errorf("proto: UserInfo: wiretype end group for non-group")
  961. }
  962. if fieldNum <= 0 {
  963. return fmt.Errorf("proto: UserInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  964. }
  965. switch fieldNum {
  966. case 1:
  967. if wireType != 2 {
  968. return fmt.Errorf("proto: wrong wireType = %d for field Username", wireType)
  969. }
  970. var stringLen uint64
  971. for shift := uint(0); ; shift += 7 {
  972. if shift >= 64 {
  973. return ErrIntOverflowGenerated
  974. }
  975. if iNdEx >= l {
  976. return io.ErrUnexpectedEOF
  977. }
  978. b := dAtA[iNdEx]
  979. iNdEx++
  980. stringLen |= (uint64(b) & 0x7F) << shift
  981. if b < 0x80 {
  982. break
  983. }
  984. }
  985. intStringLen := int(stringLen)
  986. if intStringLen < 0 {
  987. return ErrInvalidLengthGenerated
  988. }
  989. postIndex := iNdEx + intStringLen
  990. if postIndex > l {
  991. return io.ErrUnexpectedEOF
  992. }
  993. m.Username = string(dAtA[iNdEx:postIndex])
  994. iNdEx = postIndex
  995. case 2:
  996. if wireType != 2 {
  997. return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
  998. }
  999. var stringLen uint64
  1000. for shift := uint(0); ; shift += 7 {
  1001. if shift >= 64 {
  1002. return ErrIntOverflowGenerated
  1003. }
  1004. if iNdEx >= l {
  1005. return io.ErrUnexpectedEOF
  1006. }
  1007. b := dAtA[iNdEx]
  1008. iNdEx++
  1009. stringLen |= (uint64(b) & 0x7F) << shift
  1010. if b < 0x80 {
  1011. break
  1012. }
  1013. }
  1014. intStringLen := int(stringLen)
  1015. if intStringLen < 0 {
  1016. return ErrInvalidLengthGenerated
  1017. }
  1018. postIndex := iNdEx + intStringLen
  1019. if postIndex > l {
  1020. return io.ErrUnexpectedEOF
  1021. }
  1022. m.UID = string(dAtA[iNdEx:postIndex])
  1023. iNdEx = postIndex
  1024. case 3:
  1025. if wireType != 2 {
  1026. return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType)
  1027. }
  1028. var stringLen uint64
  1029. for shift := uint(0); ; shift += 7 {
  1030. if shift >= 64 {
  1031. return ErrIntOverflowGenerated
  1032. }
  1033. if iNdEx >= l {
  1034. return io.ErrUnexpectedEOF
  1035. }
  1036. b := dAtA[iNdEx]
  1037. iNdEx++
  1038. stringLen |= (uint64(b) & 0x7F) << shift
  1039. if b < 0x80 {
  1040. break
  1041. }
  1042. }
  1043. intStringLen := int(stringLen)
  1044. if intStringLen < 0 {
  1045. return ErrInvalidLengthGenerated
  1046. }
  1047. postIndex := iNdEx + intStringLen
  1048. if postIndex > l {
  1049. return io.ErrUnexpectedEOF
  1050. }
  1051. m.Groups = append(m.Groups, string(dAtA[iNdEx:postIndex]))
  1052. iNdEx = postIndex
  1053. case 4:
  1054. if wireType != 2 {
  1055. return fmt.Errorf("proto: wrong wireType = %d for field Extra", wireType)
  1056. }
  1057. var msglen int
  1058. for shift := uint(0); ; shift += 7 {
  1059. if shift >= 64 {
  1060. return ErrIntOverflowGenerated
  1061. }
  1062. if iNdEx >= l {
  1063. return io.ErrUnexpectedEOF
  1064. }
  1065. b := dAtA[iNdEx]
  1066. iNdEx++
  1067. msglen |= (int(b) & 0x7F) << shift
  1068. if b < 0x80 {
  1069. break
  1070. }
  1071. }
  1072. if msglen < 0 {
  1073. return ErrInvalidLengthGenerated
  1074. }
  1075. postIndex := iNdEx + msglen
  1076. if postIndex > l {
  1077. return io.ErrUnexpectedEOF
  1078. }
  1079. if m.Extra == nil {
  1080. m.Extra = make(map[string]ExtraValue)
  1081. }
  1082. var mapkey string
  1083. mapvalue := &ExtraValue{}
  1084. for iNdEx < postIndex {
  1085. entryPreIndex := iNdEx
  1086. var wire uint64
  1087. for shift := uint(0); ; shift += 7 {
  1088. if shift >= 64 {
  1089. return ErrIntOverflowGenerated
  1090. }
  1091. if iNdEx >= l {
  1092. return io.ErrUnexpectedEOF
  1093. }
  1094. b := dAtA[iNdEx]
  1095. iNdEx++
  1096. wire |= (uint64(b) & 0x7F) << shift
  1097. if b < 0x80 {
  1098. break
  1099. }
  1100. }
  1101. fieldNum := int32(wire >> 3)
  1102. if fieldNum == 1 {
  1103. var stringLenmapkey uint64
  1104. for shift := uint(0); ; shift += 7 {
  1105. if shift >= 64 {
  1106. return ErrIntOverflowGenerated
  1107. }
  1108. if iNdEx >= l {
  1109. return io.ErrUnexpectedEOF
  1110. }
  1111. b := dAtA[iNdEx]
  1112. iNdEx++
  1113. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  1114. if b < 0x80 {
  1115. break
  1116. }
  1117. }
  1118. intStringLenmapkey := int(stringLenmapkey)
  1119. if intStringLenmapkey < 0 {
  1120. return ErrInvalidLengthGenerated
  1121. }
  1122. postStringIndexmapkey := iNdEx + intStringLenmapkey
  1123. if postStringIndexmapkey > l {
  1124. return io.ErrUnexpectedEOF
  1125. }
  1126. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  1127. iNdEx = postStringIndexmapkey
  1128. } else if fieldNum == 2 {
  1129. var mapmsglen int
  1130. for shift := uint(0); ; shift += 7 {
  1131. if shift >= 64 {
  1132. return ErrIntOverflowGenerated
  1133. }
  1134. if iNdEx >= l {
  1135. return io.ErrUnexpectedEOF
  1136. }
  1137. b := dAtA[iNdEx]
  1138. iNdEx++
  1139. mapmsglen |= (int(b) & 0x7F) << shift
  1140. if b < 0x80 {
  1141. break
  1142. }
  1143. }
  1144. if mapmsglen < 0 {
  1145. return ErrInvalidLengthGenerated
  1146. }
  1147. postmsgIndex := iNdEx + mapmsglen
  1148. if mapmsglen < 0 {
  1149. return ErrInvalidLengthGenerated
  1150. }
  1151. if postmsgIndex > l {
  1152. return io.ErrUnexpectedEOF
  1153. }
  1154. mapvalue = &ExtraValue{}
  1155. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  1156. return err
  1157. }
  1158. iNdEx = postmsgIndex
  1159. } else {
  1160. iNdEx = entryPreIndex
  1161. skippy, err := skipGenerated(dAtA[iNdEx:])
  1162. if err != nil {
  1163. return err
  1164. }
  1165. if skippy < 0 {
  1166. return ErrInvalidLengthGenerated
  1167. }
  1168. if (iNdEx + skippy) > postIndex {
  1169. return io.ErrUnexpectedEOF
  1170. }
  1171. iNdEx += skippy
  1172. }
  1173. }
  1174. m.Extra[mapkey] = *mapvalue
  1175. iNdEx = postIndex
  1176. default:
  1177. iNdEx = preIndex
  1178. skippy, err := skipGenerated(dAtA[iNdEx:])
  1179. if err != nil {
  1180. return err
  1181. }
  1182. if skippy < 0 {
  1183. return ErrInvalidLengthGenerated
  1184. }
  1185. if (iNdEx + skippy) > l {
  1186. return io.ErrUnexpectedEOF
  1187. }
  1188. iNdEx += skippy
  1189. }
  1190. }
  1191. if iNdEx > l {
  1192. return io.ErrUnexpectedEOF
  1193. }
  1194. return nil
  1195. }
  1196. func skipGenerated(dAtA []byte) (n int, err error) {
  1197. l := len(dAtA)
  1198. iNdEx := 0
  1199. for iNdEx < l {
  1200. var wire uint64
  1201. for shift := uint(0); ; shift += 7 {
  1202. if shift >= 64 {
  1203. return 0, ErrIntOverflowGenerated
  1204. }
  1205. if iNdEx >= l {
  1206. return 0, io.ErrUnexpectedEOF
  1207. }
  1208. b := dAtA[iNdEx]
  1209. iNdEx++
  1210. wire |= (uint64(b) & 0x7F) << shift
  1211. if b < 0x80 {
  1212. break
  1213. }
  1214. }
  1215. wireType := int(wire & 0x7)
  1216. switch wireType {
  1217. case 0:
  1218. for shift := uint(0); ; shift += 7 {
  1219. if shift >= 64 {
  1220. return 0, ErrIntOverflowGenerated
  1221. }
  1222. if iNdEx >= l {
  1223. return 0, io.ErrUnexpectedEOF
  1224. }
  1225. iNdEx++
  1226. if dAtA[iNdEx-1] < 0x80 {
  1227. break
  1228. }
  1229. }
  1230. return iNdEx, nil
  1231. case 1:
  1232. iNdEx += 8
  1233. return iNdEx, nil
  1234. case 2:
  1235. var length int
  1236. for shift := uint(0); ; shift += 7 {
  1237. if shift >= 64 {
  1238. return 0, ErrIntOverflowGenerated
  1239. }
  1240. if iNdEx >= l {
  1241. return 0, io.ErrUnexpectedEOF
  1242. }
  1243. b := dAtA[iNdEx]
  1244. iNdEx++
  1245. length |= (int(b) & 0x7F) << shift
  1246. if b < 0x80 {
  1247. break
  1248. }
  1249. }
  1250. iNdEx += length
  1251. if length < 0 {
  1252. return 0, ErrInvalidLengthGenerated
  1253. }
  1254. return iNdEx, nil
  1255. case 3:
  1256. for {
  1257. var innerWire uint64
  1258. var start int = iNdEx
  1259. for shift := uint(0); ; shift += 7 {
  1260. if shift >= 64 {
  1261. return 0, ErrIntOverflowGenerated
  1262. }
  1263. if iNdEx >= l {
  1264. return 0, io.ErrUnexpectedEOF
  1265. }
  1266. b := dAtA[iNdEx]
  1267. iNdEx++
  1268. innerWire |= (uint64(b) & 0x7F) << shift
  1269. if b < 0x80 {
  1270. break
  1271. }
  1272. }
  1273. innerWireType := int(innerWire & 0x7)
  1274. if innerWireType == 4 {
  1275. break
  1276. }
  1277. next, err := skipGenerated(dAtA[start:])
  1278. if err != nil {
  1279. return 0, err
  1280. }
  1281. iNdEx = start + next
  1282. }
  1283. return iNdEx, nil
  1284. case 4:
  1285. return iNdEx, nil
  1286. case 5:
  1287. iNdEx += 4
  1288. return iNdEx, nil
  1289. default:
  1290. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  1291. }
  1292. }
  1293. panic("unreachable")
  1294. }
  1295. var (
  1296. ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
  1297. ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
  1298. )
  1299. func init() {
  1300. proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/authentication/v1beta1/generated.proto", fileDescriptorGenerated)
  1301. }
  1302. var fileDescriptorGenerated = []byte{
  1303. // 663 bytes of a gzipped FileDescriptorProto
  1304. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xcd, 0x4e, 0x14, 0x4d,
  1305. 0x14, 0xed, 0x9e, 0x1f, 0xbe, 0x99, 0x9a, 0x6f, 0x14, 0x2b, 0x31, 0x99, 0x4c, 0x62, 0x0f, 0x8e,
  1306. 0x1b, 0x12, 0xa4, 0x5a, 0x08, 0x41, 0x82, 0x2b, 0x5a, 0x89, 0xc1, 0x84, 0x98, 0x94, 0xe0, 0x42,
  1307. 0x5d, 0x58, 0xd3, 0x73, 0xe9, 0x69, 0xc7, 0xfe, 0x49, 0x55, 0xf5, 0x28, 0x3b, 0x1e, 0xc1, 0xa5,
  1308. 0x4b, 0x13, 0x9f, 0xc4, 0x1d, 0x4b, 0x96, 0x2c, 0xcc, 0x44, 0xda, 0x27, 0xf0, 0x0d, 0x4c, 0x55,
  1309. 0x17, 0xcc, 0x00, 0x31, 0xc0, 0xae, 0xeb, 0xdc, 0x7b, 0xce, 0x3d, 0xf7, 0x54, 0x17, 0x7a, 0x31,
  1310. 0x5c, 0x13, 0x24, 0x4c, 0xdc, 0x61, 0xd6, 0x03, 0x1e, 0x83, 0x04, 0xe1, 0x8e, 0x20, 0xee, 0x27,
  1311. 0xdc, 0x35, 0x05, 0x96, 0x86, 0x2e, 0xcb, 0xe4, 0x00, 0x62, 0x19, 0xfa, 0x4c, 0x86, 0x49, 0xec,
  1312. 0x8e, 0x96, 0x7a, 0x20, 0xd9, 0x92, 0x1b, 0x40, 0x0c, 0x9c, 0x49, 0xe8, 0x93, 0x94, 0x27, 0x32,
  1313. 0xc1, 0xf7, 0x0b, 0x0a, 0x61, 0x69, 0x48, 0xce, 0x53, 0x88, 0xa1, 0xb4, 0x17, 0x83, 0x50, 0x0e,
  1314. 0xb2, 0x1e, 0xf1, 0x93, 0xc8, 0x0d, 0x92, 0x20, 0x71, 0x35, 0xb3, 0x97, 0xed, 0xe9, 0x93, 0x3e,
  1315. 0xe8, 0xaf, 0x42, 0xb1, 0xbd, 0x32, 0x31, 0x11, 0x31, 0x7f, 0x10, 0xc6, 0xc0, 0xf7, 0xdd, 0x74,
  1316. 0x18, 0x28, 0x40, 0xb8, 0x11, 0x48, 0xe6, 0x8e, 0x2e, 0xf9, 0x68, 0xbb, 0xff, 0x62, 0xf1, 0x2c,
  1317. 0x96, 0x61, 0x04, 0x97, 0x08, 0xab, 0x57, 0x11, 0x84, 0x3f, 0x80, 0x88, 0x5d, 0xe4, 0x75, 0x1f,
  1318. 0x23, 0xb4, 0xf9, 0x59, 0x72, 0xf6, 0x9a, 0x7d, 0xcc, 0x00, 0x77, 0x50, 0x35, 0x94, 0x10, 0x89,
  1319. 0x96, 0x3d, 0x57, 0x9e, 0xaf, 0x7b, 0xf5, 0x7c, 0xdc, 0xa9, 0x6e, 0x29, 0x80, 0x16, 0xf8, 0x7a,
  1320. 0xed, 0xeb, 0xb7, 0x8e, 0x75, 0xf0, 0x73, 0xce, 0xea, 0x7e, 0x2f, 0xa1, 0xc6, 0x4e, 0x32, 0x84,
  1321. 0x98, 0xc2, 0x28, 0x84, 0x4f, 0xf8, 0x3d, 0xaa, 0xa9, 0x65, 0xfa, 0x4c, 0xb2, 0x96, 0x3d, 0x67,
  1322. 0xcf, 0x37, 0x96, 0x1f, 0x91, 0x49, 0x98, 0x67, 0x9e, 0x48, 0x3a, 0x0c, 0x14, 0x20, 0x88, 0xea,
  1323. 0x26, 0xa3, 0x25, 0xf2, 0xb2, 0xf7, 0x01, 0x7c, 0xb9, 0x0d, 0x92, 0x79, 0xf8, 0x70, 0xdc, 0xb1,
  1324. 0xf2, 0x71, 0x07, 0x4d, 0x30, 0x7a, 0xa6, 0x8a, 0x77, 0x50, 0x45, 0xa4, 0xe0, 0xb7, 0x4a, 0x5a,
  1325. 0x7d, 0x99, 0x5c, 0x79, 0x55, 0x64, 0xca, 0xdf, 0xab, 0x14, 0x7c, 0xef, 0x7f, 0xa3, 0x5f, 0x51,
  1326. 0x27, 0xaa, 0xd5, 0xf0, 0x3b, 0x34, 0x23, 0x24, 0x93, 0x99, 0x68, 0x95, 0xb5, 0xee, 0xca, 0x0d,
  1327. 0x75, 0x35, 0xd7, 0xbb, 0x65, 0x94, 0x67, 0x8a, 0x33, 0x35, 0x9a, 0x5d, 0x1f, 0xdd, 0xbe, 0x60,
  1328. 0x02, 0x3f, 0x40, 0x55, 0xa9, 0x20, 0x9d, 0x52, 0xdd, 0x6b, 0x1a, 0x66, 0xb5, 0xe8, 0x2b, 0x6a,
  1329. 0x78, 0x01, 0xd5, 0x59, 0xd6, 0x0f, 0x21, 0xf6, 0x41, 0xb4, 0x4a, 0xfa, 0x32, 0x9a, 0xf9, 0xb8,
  1330. 0x53, 0xdf, 0x38, 0x05, 0xe9, 0xa4, 0xde, 0xfd, 0x63, 0xa3, 0x3b, 0x97, 0x2c, 0xe1, 0x27, 0xa8,
  1331. 0x39, 0x65, 0x1f, 0xfa, 0x7a, 0x5e, 0xcd, 0xbb, 0x6b, 0xe6, 0x35, 0x37, 0xa6, 0x8b, 0xf4, 0x7c,
  1332. 0x2f, 0xde, 0x46, 0x95, 0x4c, 0x00, 0x37, 0x59, 0x2f, 0x5c, 0x23, 0x93, 0x5d, 0x01, 0x7c, 0x2b,
  1333. 0xde, 0x4b, 0x26, 0x21, 0x2b, 0x84, 0x6a, 0x19, 0xb5, 0x33, 0x70, 0x9e, 0x70, 0x9d, 0xf1, 0xd4,
  1334. 0xce, 0x9b, 0x0a, 0xa4, 0x45, 0xed, 0xfc, 0xce, 0x95, 0x2b, 0x76, 0xfe, 0x51, 0x42, 0xb5, 0xd3,
  1335. 0x91, 0xf8, 0x21, 0xaa, 0xa9, 0x31, 0x31, 0x8b, 0xc0, 0xa4, 0x3a, 0x6b, 0x26, 0xe8, 0x1e, 0x85,
  1336. 0xd3, 0xb3, 0x0e, 0x7c, 0x0f, 0x95, 0xb3, 0xb0, 0xaf, 0x57, 0xab, 0x7b, 0x0d, 0xd3, 0x58, 0xde,
  1337. 0xdd, 0x7a, 0x46, 0x15, 0x8e, 0xbb, 0x68, 0x26, 0xe0, 0x49, 0x96, 0xaa, 0x1f, 0x42, 0x79, 0x40,
  1338. 0xea, 0x5a, 0x9f, 0x6b, 0x84, 0x9a, 0x0a, 0x7e, 0x8b, 0xaa, 0xa0, 0x5e, 0x8d, 0xb6, 0xd9, 0x58,
  1339. 0x5e, 0xbd, 0x41, 0x3e, 0x44, 0x3f, 0xb7, 0xcd, 0x58, 0xf2, 0xfd, 0xa9, 0x1c, 0x14, 0x46, 0x0b,
  1340. 0xcd, 0x76, 0x60, 0x9e, 0xa4, 0xee, 0xc1, 0xb3, 0xa8, 0x3c, 0x84, 0xfd, 0x62, 0x2d, 0xaa, 0x3e,
  1341. 0xf1, 0x53, 0x54, 0x1d, 0xa9, 0xd7, 0x6a, 0x2e, 0x67, 0xf1, 0x1a, 0xc3, 0x27, 0x4f, 0x9c, 0x16,
  1342. 0xdc, 0xf5, 0xd2, 0x9a, 0xed, 0x2d, 0x1e, 0x9e, 0x38, 0xd6, 0xd1, 0x89, 0x63, 0x1d, 0x9f, 0x38,
  1343. 0xd6, 0x41, 0xee, 0xd8, 0x87, 0xb9, 0x63, 0x1f, 0xe5, 0x8e, 0x7d, 0x9c, 0x3b, 0xf6, 0xaf, 0xdc,
  1344. 0xb1, 0xbf, 0xfc, 0x76, 0xac, 0x37, 0xff, 0x19, 0x91, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf7,
  1345. 0xd6, 0x32, 0x28, 0x68, 0x05, 0x00, 0x00,
  1346. }