generated.pb.go 99 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939
  1. /*
  2. Copyright 2017 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.
  14. // source: k8s.io/kubernetes/pkg/apis/apps/v1beta1/generated.proto
  15. // DO NOT EDIT!
  16. /*
  17. Package v1beta1 is a generated protocol buffer package.
  18. It is generated from these files:
  19. k8s.io/kubernetes/pkg/apis/apps/v1beta1/generated.proto
  20. It has these top-level messages:
  21. Deployment
  22. DeploymentCondition
  23. DeploymentList
  24. DeploymentRollback
  25. DeploymentSpec
  26. DeploymentStatus
  27. DeploymentStrategy
  28. RollbackConfig
  29. RollingUpdateDeployment
  30. Scale
  31. ScaleSpec
  32. ScaleStatus
  33. StatefulSet
  34. StatefulSetList
  35. StatefulSetSpec
  36. StatefulSetStatus
  37. */
  38. package v1beta1
  39. import proto "github.com/gogo/protobuf/proto"
  40. import fmt "fmt"
  41. import math "math"
  42. import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  43. import k8s_io_apimachinery_pkg_util_intstr "k8s.io/apimachinery/pkg/util/intstr"
  44. import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/pkg/api/v1"
  45. import strings "strings"
  46. import reflect "reflect"
  47. import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
  48. import io "io"
  49. // Reference imports to suppress errors if they are not otherwise used.
  50. var _ = proto.Marshal
  51. var _ = fmt.Errorf
  52. var _ = math.Inf
  53. // This is a compile-time assertion to ensure that this generated file
  54. // is compatible with the proto package it is being compiled against.
  55. const _ = proto.GoGoProtoPackageIsVersion1
  56. func (m *Deployment) Reset() { *m = Deployment{} }
  57. func (*Deployment) ProtoMessage() {}
  58. func (*Deployment) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
  59. func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} }
  60. func (*DeploymentCondition) ProtoMessage() {}
  61. func (*DeploymentCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
  62. func (m *DeploymentList) Reset() { *m = DeploymentList{} }
  63. func (*DeploymentList) ProtoMessage() {}
  64. func (*DeploymentList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
  65. func (m *DeploymentRollback) Reset() { *m = DeploymentRollback{} }
  66. func (*DeploymentRollback) ProtoMessage() {}
  67. func (*DeploymentRollback) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
  68. func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} }
  69. func (*DeploymentSpec) ProtoMessage() {}
  70. func (*DeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
  71. func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} }
  72. func (*DeploymentStatus) ProtoMessage() {}
  73. func (*DeploymentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
  74. func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} }
  75. func (*DeploymentStrategy) ProtoMessage() {}
  76. func (*DeploymentStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
  77. func (m *RollbackConfig) Reset() { *m = RollbackConfig{} }
  78. func (*RollbackConfig) ProtoMessage() {}
  79. func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
  80. func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} }
  81. func (*RollingUpdateDeployment) ProtoMessage() {}
  82. func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
  83. func (m *Scale) Reset() { *m = Scale{} }
  84. func (*Scale) ProtoMessage() {}
  85. func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
  86. func (m *ScaleSpec) Reset() { *m = ScaleSpec{} }
  87. func (*ScaleSpec) ProtoMessage() {}
  88. func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} }
  89. func (m *ScaleStatus) Reset() { *m = ScaleStatus{} }
  90. func (*ScaleStatus) ProtoMessage() {}
  91. func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
  92. func (m *StatefulSet) Reset() { *m = StatefulSet{} }
  93. func (*StatefulSet) ProtoMessage() {}
  94. func (*StatefulSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
  95. func (m *StatefulSetList) Reset() { *m = StatefulSetList{} }
  96. func (*StatefulSetList) ProtoMessage() {}
  97. func (*StatefulSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} }
  98. func (m *StatefulSetSpec) Reset() { *m = StatefulSetSpec{} }
  99. func (*StatefulSetSpec) ProtoMessage() {}
  100. func (*StatefulSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
  101. func (m *StatefulSetStatus) Reset() { *m = StatefulSetStatus{} }
  102. func (*StatefulSetStatus) ProtoMessage() {}
  103. func (*StatefulSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
  104. func init() {
  105. proto.RegisterType((*Deployment)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.Deployment")
  106. proto.RegisterType((*DeploymentCondition)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.DeploymentCondition")
  107. proto.RegisterType((*DeploymentList)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.DeploymentList")
  108. proto.RegisterType((*DeploymentRollback)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.DeploymentRollback")
  109. proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.DeploymentSpec")
  110. proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.DeploymentStatus")
  111. proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.DeploymentStrategy")
  112. proto.RegisterType((*RollbackConfig)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.RollbackConfig")
  113. proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.RollingUpdateDeployment")
  114. proto.RegisterType((*Scale)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.Scale")
  115. proto.RegisterType((*ScaleSpec)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.ScaleSpec")
  116. proto.RegisterType((*ScaleStatus)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.ScaleStatus")
  117. proto.RegisterType((*StatefulSet)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.StatefulSet")
  118. proto.RegisterType((*StatefulSetList)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.StatefulSetList")
  119. proto.RegisterType((*StatefulSetSpec)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.StatefulSetSpec")
  120. proto.RegisterType((*StatefulSetStatus)(nil), "k8s.io.client-go.pkg.apis.apps.v1beta1.StatefulSetStatus")
  121. }
  122. func (m *Deployment) Marshal() (data []byte, err error) {
  123. size := m.Size()
  124. data = make([]byte, size)
  125. n, err := m.MarshalTo(data)
  126. if err != nil {
  127. return nil, err
  128. }
  129. return data[:n], nil
  130. }
  131. func (m *Deployment) MarshalTo(data []byte) (int, error) {
  132. var i int
  133. _ = i
  134. var l int
  135. _ = l
  136. data[i] = 0xa
  137. i++
  138. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  139. n1, err := m.ObjectMeta.MarshalTo(data[i:])
  140. if err != nil {
  141. return 0, err
  142. }
  143. i += n1
  144. data[i] = 0x12
  145. i++
  146. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  147. n2, err := m.Spec.MarshalTo(data[i:])
  148. if err != nil {
  149. return 0, err
  150. }
  151. i += n2
  152. data[i] = 0x1a
  153. i++
  154. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  155. n3, err := m.Status.MarshalTo(data[i:])
  156. if err != nil {
  157. return 0, err
  158. }
  159. i += n3
  160. return i, nil
  161. }
  162. func (m *DeploymentCondition) Marshal() (data []byte, err error) {
  163. size := m.Size()
  164. data = make([]byte, size)
  165. n, err := m.MarshalTo(data)
  166. if err != nil {
  167. return nil, err
  168. }
  169. return data[:n], nil
  170. }
  171. func (m *DeploymentCondition) 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(len(m.Type)))
  179. i += copy(data[i:], m.Type)
  180. data[i] = 0x12
  181. i++
  182. i = encodeVarintGenerated(data, i, uint64(len(m.Status)))
  183. i += copy(data[i:], m.Status)
  184. data[i] = 0x22
  185. i++
  186. i = encodeVarintGenerated(data, i, uint64(len(m.Reason)))
  187. i += copy(data[i:], m.Reason)
  188. data[i] = 0x2a
  189. i++
  190. i = encodeVarintGenerated(data, i, uint64(len(m.Message)))
  191. i += copy(data[i:], m.Message)
  192. data[i] = 0x32
  193. i++
  194. i = encodeVarintGenerated(data, i, uint64(m.LastUpdateTime.Size()))
  195. n4, err := m.LastUpdateTime.MarshalTo(data[i:])
  196. if err != nil {
  197. return 0, err
  198. }
  199. i += n4
  200. data[i] = 0x3a
  201. i++
  202. i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size()))
  203. n5, err := m.LastTransitionTime.MarshalTo(data[i:])
  204. if err != nil {
  205. return 0, err
  206. }
  207. i += n5
  208. return i, nil
  209. }
  210. func (m *DeploymentList) Marshal() (data []byte, err error) {
  211. size := m.Size()
  212. data = make([]byte, size)
  213. n, err := m.MarshalTo(data)
  214. if err != nil {
  215. return nil, err
  216. }
  217. return data[:n], nil
  218. }
  219. func (m *DeploymentList) 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.ListMeta.Size()))
  227. n6, err := m.ListMeta.MarshalTo(data[i:])
  228. if err != nil {
  229. return 0, err
  230. }
  231. i += n6
  232. if len(m.Items) > 0 {
  233. for _, msg := range m.Items {
  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. return i, nil
  245. }
  246. func (m *DeploymentRollback) Marshal() (data []byte, err error) {
  247. size := m.Size()
  248. data = make([]byte, size)
  249. n, err := m.MarshalTo(data)
  250. if err != nil {
  251. return nil, err
  252. }
  253. return data[:n], nil
  254. }
  255. func (m *DeploymentRollback) MarshalTo(data []byte) (int, error) {
  256. var i int
  257. _ = i
  258. var l int
  259. _ = l
  260. data[i] = 0xa
  261. i++
  262. i = encodeVarintGenerated(data, i, uint64(len(m.Name)))
  263. i += copy(data[i:], m.Name)
  264. if len(m.UpdatedAnnotations) > 0 {
  265. for k := range m.UpdatedAnnotations {
  266. data[i] = 0x12
  267. i++
  268. v := m.UpdatedAnnotations[k]
  269. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  270. i = encodeVarintGenerated(data, i, uint64(mapSize))
  271. data[i] = 0xa
  272. i++
  273. i = encodeVarintGenerated(data, i, uint64(len(k)))
  274. i += copy(data[i:], k)
  275. data[i] = 0x12
  276. i++
  277. i = encodeVarintGenerated(data, i, uint64(len(v)))
  278. i += copy(data[i:], v)
  279. }
  280. }
  281. data[i] = 0x1a
  282. i++
  283. i = encodeVarintGenerated(data, i, uint64(m.RollbackTo.Size()))
  284. n7, err := m.RollbackTo.MarshalTo(data[i:])
  285. if err != nil {
  286. return 0, err
  287. }
  288. i += n7
  289. return i, nil
  290. }
  291. func (m *DeploymentSpec) Marshal() (data []byte, err error) {
  292. size := m.Size()
  293. data = make([]byte, size)
  294. n, err := m.MarshalTo(data)
  295. if err != nil {
  296. return nil, err
  297. }
  298. return data[:n], nil
  299. }
  300. func (m *DeploymentSpec) MarshalTo(data []byte) (int, error) {
  301. var i int
  302. _ = i
  303. var l int
  304. _ = l
  305. if m.Replicas != nil {
  306. data[i] = 0x8
  307. i++
  308. i = encodeVarintGenerated(data, i, uint64(*m.Replicas))
  309. }
  310. if m.Selector != nil {
  311. data[i] = 0x12
  312. i++
  313. i = encodeVarintGenerated(data, i, uint64(m.Selector.Size()))
  314. n8, err := m.Selector.MarshalTo(data[i:])
  315. if err != nil {
  316. return 0, err
  317. }
  318. i += n8
  319. }
  320. data[i] = 0x1a
  321. i++
  322. i = encodeVarintGenerated(data, i, uint64(m.Template.Size()))
  323. n9, err := m.Template.MarshalTo(data[i:])
  324. if err != nil {
  325. return 0, err
  326. }
  327. i += n9
  328. data[i] = 0x22
  329. i++
  330. i = encodeVarintGenerated(data, i, uint64(m.Strategy.Size()))
  331. n10, err := m.Strategy.MarshalTo(data[i:])
  332. if err != nil {
  333. return 0, err
  334. }
  335. i += n10
  336. data[i] = 0x28
  337. i++
  338. i = encodeVarintGenerated(data, i, uint64(m.MinReadySeconds))
  339. if m.RevisionHistoryLimit != nil {
  340. data[i] = 0x30
  341. i++
  342. i = encodeVarintGenerated(data, i, uint64(*m.RevisionHistoryLimit))
  343. }
  344. data[i] = 0x38
  345. i++
  346. if m.Paused {
  347. data[i] = 1
  348. } else {
  349. data[i] = 0
  350. }
  351. i++
  352. if m.RollbackTo != nil {
  353. data[i] = 0x42
  354. i++
  355. i = encodeVarintGenerated(data, i, uint64(m.RollbackTo.Size()))
  356. n11, err := m.RollbackTo.MarshalTo(data[i:])
  357. if err != nil {
  358. return 0, err
  359. }
  360. i += n11
  361. }
  362. if m.ProgressDeadlineSeconds != nil {
  363. data[i] = 0x48
  364. i++
  365. i = encodeVarintGenerated(data, i, uint64(*m.ProgressDeadlineSeconds))
  366. }
  367. return i, nil
  368. }
  369. func (m *DeploymentStatus) Marshal() (data []byte, err error) {
  370. size := m.Size()
  371. data = make([]byte, size)
  372. n, err := m.MarshalTo(data)
  373. if err != nil {
  374. return nil, err
  375. }
  376. return data[:n], nil
  377. }
  378. func (m *DeploymentStatus) MarshalTo(data []byte) (int, error) {
  379. var i int
  380. _ = i
  381. var l int
  382. _ = l
  383. data[i] = 0x8
  384. i++
  385. i = encodeVarintGenerated(data, i, uint64(m.ObservedGeneration))
  386. data[i] = 0x10
  387. i++
  388. i = encodeVarintGenerated(data, i, uint64(m.Replicas))
  389. data[i] = 0x18
  390. i++
  391. i = encodeVarintGenerated(data, i, uint64(m.UpdatedReplicas))
  392. data[i] = 0x20
  393. i++
  394. i = encodeVarintGenerated(data, i, uint64(m.AvailableReplicas))
  395. data[i] = 0x28
  396. i++
  397. i = encodeVarintGenerated(data, i, uint64(m.UnavailableReplicas))
  398. if len(m.Conditions) > 0 {
  399. for _, msg := range m.Conditions {
  400. data[i] = 0x32
  401. i++
  402. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  403. n, err := msg.MarshalTo(data[i:])
  404. if err != nil {
  405. return 0, err
  406. }
  407. i += n
  408. }
  409. }
  410. data[i] = 0x38
  411. i++
  412. i = encodeVarintGenerated(data, i, uint64(m.ReadyReplicas))
  413. return i, nil
  414. }
  415. func (m *DeploymentStrategy) Marshal() (data []byte, err error) {
  416. size := m.Size()
  417. data = make([]byte, size)
  418. n, err := m.MarshalTo(data)
  419. if err != nil {
  420. return nil, err
  421. }
  422. return data[:n], nil
  423. }
  424. func (m *DeploymentStrategy) MarshalTo(data []byte) (int, error) {
  425. var i int
  426. _ = i
  427. var l int
  428. _ = l
  429. data[i] = 0xa
  430. i++
  431. i = encodeVarintGenerated(data, i, uint64(len(m.Type)))
  432. i += copy(data[i:], m.Type)
  433. if m.RollingUpdate != nil {
  434. data[i] = 0x12
  435. i++
  436. i = encodeVarintGenerated(data, i, uint64(m.RollingUpdate.Size()))
  437. n12, err := m.RollingUpdate.MarshalTo(data[i:])
  438. if err != nil {
  439. return 0, err
  440. }
  441. i += n12
  442. }
  443. return i, nil
  444. }
  445. func (m *RollbackConfig) Marshal() (data []byte, err error) {
  446. size := m.Size()
  447. data = make([]byte, size)
  448. n, err := m.MarshalTo(data)
  449. if err != nil {
  450. return nil, err
  451. }
  452. return data[:n], nil
  453. }
  454. func (m *RollbackConfig) MarshalTo(data []byte) (int, error) {
  455. var i int
  456. _ = i
  457. var l int
  458. _ = l
  459. data[i] = 0x8
  460. i++
  461. i = encodeVarintGenerated(data, i, uint64(m.Revision))
  462. return i, nil
  463. }
  464. func (m *RollingUpdateDeployment) Marshal() (data []byte, err error) {
  465. size := m.Size()
  466. data = make([]byte, size)
  467. n, err := m.MarshalTo(data)
  468. if err != nil {
  469. return nil, err
  470. }
  471. return data[:n], nil
  472. }
  473. func (m *RollingUpdateDeployment) MarshalTo(data []byte) (int, error) {
  474. var i int
  475. _ = i
  476. var l int
  477. _ = l
  478. if m.MaxUnavailable != nil {
  479. data[i] = 0xa
  480. i++
  481. i = encodeVarintGenerated(data, i, uint64(m.MaxUnavailable.Size()))
  482. n13, err := m.MaxUnavailable.MarshalTo(data[i:])
  483. if err != nil {
  484. return 0, err
  485. }
  486. i += n13
  487. }
  488. if m.MaxSurge != nil {
  489. data[i] = 0x12
  490. i++
  491. i = encodeVarintGenerated(data, i, uint64(m.MaxSurge.Size()))
  492. n14, err := m.MaxSurge.MarshalTo(data[i:])
  493. if err != nil {
  494. return 0, err
  495. }
  496. i += n14
  497. }
  498. return i, nil
  499. }
  500. func (m *Scale) Marshal() (data []byte, err error) {
  501. size := m.Size()
  502. data = make([]byte, size)
  503. n, err := m.MarshalTo(data)
  504. if err != nil {
  505. return nil, err
  506. }
  507. return data[:n], nil
  508. }
  509. func (m *Scale) MarshalTo(data []byte) (int, error) {
  510. var i int
  511. _ = i
  512. var l int
  513. _ = l
  514. data[i] = 0xa
  515. i++
  516. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  517. n15, err := m.ObjectMeta.MarshalTo(data[i:])
  518. if err != nil {
  519. return 0, err
  520. }
  521. i += n15
  522. data[i] = 0x12
  523. i++
  524. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  525. n16, err := m.Spec.MarshalTo(data[i:])
  526. if err != nil {
  527. return 0, err
  528. }
  529. i += n16
  530. data[i] = 0x1a
  531. i++
  532. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  533. n17, err := m.Status.MarshalTo(data[i:])
  534. if err != nil {
  535. return 0, err
  536. }
  537. i += n17
  538. return i, nil
  539. }
  540. func (m *ScaleSpec) Marshal() (data []byte, err error) {
  541. size := m.Size()
  542. data = make([]byte, size)
  543. n, err := m.MarshalTo(data)
  544. if err != nil {
  545. return nil, err
  546. }
  547. return data[:n], nil
  548. }
  549. func (m *ScaleSpec) MarshalTo(data []byte) (int, error) {
  550. var i int
  551. _ = i
  552. var l int
  553. _ = l
  554. data[i] = 0x8
  555. i++
  556. i = encodeVarintGenerated(data, i, uint64(m.Replicas))
  557. return i, nil
  558. }
  559. func (m *ScaleStatus) Marshal() (data []byte, err error) {
  560. size := m.Size()
  561. data = make([]byte, size)
  562. n, err := m.MarshalTo(data)
  563. if err != nil {
  564. return nil, err
  565. }
  566. return data[:n], nil
  567. }
  568. func (m *ScaleStatus) MarshalTo(data []byte) (int, error) {
  569. var i int
  570. _ = i
  571. var l int
  572. _ = l
  573. data[i] = 0x8
  574. i++
  575. i = encodeVarintGenerated(data, i, uint64(m.Replicas))
  576. if len(m.Selector) > 0 {
  577. for k := range m.Selector {
  578. data[i] = 0x12
  579. i++
  580. v := m.Selector[k]
  581. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  582. i = encodeVarintGenerated(data, i, uint64(mapSize))
  583. data[i] = 0xa
  584. i++
  585. i = encodeVarintGenerated(data, i, uint64(len(k)))
  586. i += copy(data[i:], k)
  587. data[i] = 0x12
  588. i++
  589. i = encodeVarintGenerated(data, i, uint64(len(v)))
  590. i += copy(data[i:], v)
  591. }
  592. }
  593. data[i] = 0x1a
  594. i++
  595. i = encodeVarintGenerated(data, i, uint64(len(m.TargetSelector)))
  596. i += copy(data[i:], m.TargetSelector)
  597. return i, nil
  598. }
  599. func (m *StatefulSet) Marshal() (data []byte, err error) {
  600. size := m.Size()
  601. data = make([]byte, size)
  602. n, err := m.MarshalTo(data)
  603. if err != nil {
  604. return nil, err
  605. }
  606. return data[:n], nil
  607. }
  608. func (m *StatefulSet) MarshalTo(data []byte) (int, error) {
  609. var i int
  610. _ = i
  611. var l int
  612. _ = l
  613. data[i] = 0xa
  614. i++
  615. i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size()))
  616. n18, err := m.ObjectMeta.MarshalTo(data[i:])
  617. if err != nil {
  618. return 0, err
  619. }
  620. i += n18
  621. data[i] = 0x12
  622. i++
  623. i = encodeVarintGenerated(data, i, uint64(m.Spec.Size()))
  624. n19, err := m.Spec.MarshalTo(data[i:])
  625. if err != nil {
  626. return 0, err
  627. }
  628. i += n19
  629. data[i] = 0x1a
  630. i++
  631. i = encodeVarintGenerated(data, i, uint64(m.Status.Size()))
  632. n20, err := m.Status.MarshalTo(data[i:])
  633. if err != nil {
  634. return 0, err
  635. }
  636. i += n20
  637. return i, nil
  638. }
  639. func (m *StatefulSetList) Marshal() (data []byte, err error) {
  640. size := m.Size()
  641. data = make([]byte, size)
  642. n, err := m.MarshalTo(data)
  643. if err != nil {
  644. return nil, err
  645. }
  646. return data[:n], nil
  647. }
  648. func (m *StatefulSetList) MarshalTo(data []byte) (int, error) {
  649. var i int
  650. _ = i
  651. var l int
  652. _ = l
  653. data[i] = 0xa
  654. i++
  655. i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size()))
  656. n21, err := m.ListMeta.MarshalTo(data[i:])
  657. if err != nil {
  658. return 0, err
  659. }
  660. i += n21
  661. if len(m.Items) > 0 {
  662. for _, msg := range m.Items {
  663. data[i] = 0x12
  664. i++
  665. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  666. n, err := msg.MarshalTo(data[i:])
  667. if err != nil {
  668. return 0, err
  669. }
  670. i += n
  671. }
  672. }
  673. return i, nil
  674. }
  675. func (m *StatefulSetSpec) Marshal() (data []byte, err error) {
  676. size := m.Size()
  677. data = make([]byte, size)
  678. n, err := m.MarshalTo(data)
  679. if err != nil {
  680. return nil, err
  681. }
  682. return data[:n], nil
  683. }
  684. func (m *StatefulSetSpec) MarshalTo(data []byte) (int, error) {
  685. var i int
  686. _ = i
  687. var l int
  688. _ = l
  689. if m.Replicas != nil {
  690. data[i] = 0x8
  691. i++
  692. i = encodeVarintGenerated(data, i, uint64(*m.Replicas))
  693. }
  694. if m.Selector != nil {
  695. data[i] = 0x12
  696. i++
  697. i = encodeVarintGenerated(data, i, uint64(m.Selector.Size()))
  698. n22, err := m.Selector.MarshalTo(data[i:])
  699. if err != nil {
  700. return 0, err
  701. }
  702. i += n22
  703. }
  704. data[i] = 0x1a
  705. i++
  706. i = encodeVarintGenerated(data, i, uint64(m.Template.Size()))
  707. n23, err := m.Template.MarshalTo(data[i:])
  708. if err != nil {
  709. return 0, err
  710. }
  711. i += n23
  712. if len(m.VolumeClaimTemplates) > 0 {
  713. for _, msg := range m.VolumeClaimTemplates {
  714. data[i] = 0x22
  715. i++
  716. i = encodeVarintGenerated(data, i, uint64(msg.Size()))
  717. n, err := msg.MarshalTo(data[i:])
  718. if err != nil {
  719. return 0, err
  720. }
  721. i += n
  722. }
  723. }
  724. data[i] = 0x2a
  725. i++
  726. i = encodeVarintGenerated(data, i, uint64(len(m.ServiceName)))
  727. i += copy(data[i:], m.ServiceName)
  728. return i, nil
  729. }
  730. func (m *StatefulSetStatus) Marshal() (data []byte, err error) {
  731. size := m.Size()
  732. data = make([]byte, size)
  733. n, err := m.MarshalTo(data)
  734. if err != nil {
  735. return nil, err
  736. }
  737. return data[:n], nil
  738. }
  739. func (m *StatefulSetStatus) MarshalTo(data []byte) (int, error) {
  740. var i int
  741. _ = i
  742. var l int
  743. _ = l
  744. if m.ObservedGeneration != nil {
  745. data[i] = 0x8
  746. i++
  747. i = encodeVarintGenerated(data, i, uint64(*m.ObservedGeneration))
  748. }
  749. data[i] = 0x10
  750. i++
  751. i = encodeVarintGenerated(data, i, uint64(m.Replicas))
  752. return i, nil
  753. }
  754. func encodeFixed64Generated(data []byte, offset int, v uint64) int {
  755. data[offset] = uint8(v)
  756. data[offset+1] = uint8(v >> 8)
  757. data[offset+2] = uint8(v >> 16)
  758. data[offset+3] = uint8(v >> 24)
  759. data[offset+4] = uint8(v >> 32)
  760. data[offset+5] = uint8(v >> 40)
  761. data[offset+6] = uint8(v >> 48)
  762. data[offset+7] = uint8(v >> 56)
  763. return offset + 8
  764. }
  765. func encodeFixed32Generated(data []byte, offset int, v uint32) int {
  766. data[offset] = uint8(v)
  767. data[offset+1] = uint8(v >> 8)
  768. data[offset+2] = uint8(v >> 16)
  769. data[offset+3] = uint8(v >> 24)
  770. return offset + 4
  771. }
  772. func encodeVarintGenerated(data []byte, offset int, v uint64) int {
  773. for v >= 1<<7 {
  774. data[offset] = uint8(v&0x7f | 0x80)
  775. v >>= 7
  776. offset++
  777. }
  778. data[offset] = uint8(v)
  779. return offset + 1
  780. }
  781. func (m *Deployment) Size() (n int) {
  782. var l int
  783. _ = l
  784. l = m.ObjectMeta.Size()
  785. n += 1 + l + sovGenerated(uint64(l))
  786. l = m.Spec.Size()
  787. n += 1 + l + sovGenerated(uint64(l))
  788. l = m.Status.Size()
  789. n += 1 + l + sovGenerated(uint64(l))
  790. return n
  791. }
  792. func (m *DeploymentCondition) Size() (n int) {
  793. var l int
  794. _ = l
  795. l = len(m.Type)
  796. n += 1 + l + sovGenerated(uint64(l))
  797. l = len(m.Status)
  798. n += 1 + l + sovGenerated(uint64(l))
  799. l = len(m.Reason)
  800. n += 1 + l + sovGenerated(uint64(l))
  801. l = len(m.Message)
  802. n += 1 + l + sovGenerated(uint64(l))
  803. l = m.LastUpdateTime.Size()
  804. n += 1 + l + sovGenerated(uint64(l))
  805. l = m.LastTransitionTime.Size()
  806. n += 1 + l + sovGenerated(uint64(l))
  807. return n
  808. }
  809. func (m *DeploymentList) Size() (n int) {
  810. var l int
  811. _ = l
  812. l = m.ListMeta.Size()
  813. n += 1 + l + sovGenerated(uint64(l))
  814. if len(m.Items) > 0 {
  815. for _, e := range m.Items {
  816. l = e.Size()
  817. n += 1 + l + sovGenerated(uint64(l))
  818. }
  819. }
  820. return n
  821. }
  822. func (m *DeploymentRollback) Size() (n int) {
  823. var l int
  824. _ = l
  825. l = len(m.Name)
  826. n += 1 + l + sovGenerated(uint64(l))
  827. if len(m.UpdatedAnnotations) > 0 {
  828. for k, v := range m.UpdatedAnnotations {
  829. _ = k
  830. _ = v
  831. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  832. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  833. }
  834. }
  835. l = m.RollbackTo.Size()
  836. n += 1 + l + sovGenerated(uint64(l))
  837. return n
  838. }
  839. func (m *DeploymentSpec) Size() (n int) {
  840. var l int
  841. _ = l
  842. if m.Replicas != nil {
  843. n += 1 + sovGenerated(uint64(*m.Replicas))
  844. }
  845. if m.Selector != nil {
  846. l = m.Selector.Size()
  847. n += 1 + l + sovGenerated(uint64(l))
  848. }
  849. l = m.Template.Size()
  850. n += 1 + l + sovGenerated(uint64(l))
  851. l = m.Strategy.Size()
  852. n += 1 + l + sovGenerated(uint64(l))
  853. n += 1 + sovGenerated(uint64(m.MinReadySeconds))
  854. if m.RevisionHistoryLimit != nil {
  855. n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
  856. }
  857. n += 2
  858. if m.RollbackTo != nil {
  859. l = m.RollbackTo.Size()
  860. n += 1 + l + sovGenerated(uint64(l))
  861. }
  862. if m.ProgressDeadlineSeconds != nil {
  863. n += 1 + sovGenerated(uint64(*m.ProgressDeadlineSeconds))
  864. }
  865. return n
  866. }
  867. func (m *DeploymentStatus) Size() (n int) {
  868. var l int
  869. _ = l
  870. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  871. n += 1 + sovGenerated(uint64(m.Replicas))
  872. n += 1 + sovGenerated(uint64(m.UpdatedReplicas))
  873. n += 1 + sovGenerated(uint64(m.AvailableReplicas))
  874. n += 1 + sovGenerated(uint64(m.UnavailableReplicas))
  875. if len(m.Conditions) > 0 {
  876. for _, e := range m.Conditions {
  877. l = e.Size()
  878. n += 1 + l + sovGenerated(uint64(l))
  879. }
  880. }
  881. n += 1 + sovGenerated(uint64(m.ReadyReplicas))
  882. return n
  883. }
  884. func (m *DeploymentStrategy) Size() (n int) {
  885. var l int
  886. _ = l
  887. l = len(m.Type)
  888. n += 1 + l + sovGenerated(uint64(l))
  889. if m.RollingUpdate != nil {
  890. l = m.RollingUpdate.Size()
  891. n += 1 + l + sovGenerated(uint64(l))
  892. }
  893. return n
  894. }
  895. func (m *RollbackConfig) Size() (n int) {
  896. var l int
  897. _ = l
  898. n += 1 + sovGenerated(uint64(m.Revision))
  899. return n
  900. }
  901. func (m *RollingUpdateDeployment) Size() (n int) {
  902. var l int
  903. _ = l
  904. if m.MaxUnavailable != nil {
  905. l = m.MaxUnavailable.Size()
  906. n += 1 + l + sovGenerated(uint64(l))
  907. }
  908. if m.MaxSurge != nil {
  909. l = m.MaxSurge.Size()
  910. n += 1 + l + sovGenerated(uint64(l))
  911. }
  912. return n
  913. }
  914. func (m *Scale) Size() (n int) {
  915. var l int
  916. _ = l
  917. l = m.ObjectMeta.Size()
  918. n += 1 + l + sovGenerated(uint64(l))
  919. l = m.Spec.Size()
  920. n += 1 + l + sovGenerated(uint64(l))
  921. l = m.Status.Size()
  922. n += 1 + l + sovGenerated(uint64(l))
  923. return n
  924. }
  925. func (m *ScaleSpec) Size() (n int) {
  926. var l int
  927. _ = l
  928. n += 1 + sovGenerated(uint64(m.Replicas))
  929. return n
  930. }
  931. func (m *ScaleStatus) Size() (n int) {
  932. var l int
  933. _ = l
  934. n += 1 + sovGenerated(uint64(m.Replicas))
  935. if len(m.Selector) > 0 {
  936. for k, v := range m.Selector {
  937. _ = k
  938. _ = v
  939. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  940. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  941. }
  942. }
  943. l = len(m.TargetSelector)
  944. n += 1 + l + sovGenerated(uint64(l))
  945. return n
  946. }
  947. func (m *StatefulSet) Size() (n int) {
  948. var l int
  949. _ = l
  950. l = m.ObjectMeta.Size()
  951. n += 1 + l + sovGenerated(uint64(l))
  952. l = m.Spec.Size()
  953. n += 1 + l + sovGenerated(uint64(l))
  954. l = m.Status.Size()
  955. n += 1 + l + sovGenerated(uint64(l))
  956. return n
  957. }
  958. func (m *StatefulSetList) Size() (n int) {
  959. var l int
  960. _ = l
  961. l = m.ListMeta.Size()
  962. n += 1 + l + sovGenerated(uint64(l))
  963. if len(m.Items) > 0 {
  964. for _, e := range m.Items {
  965. l = e.Size()
  966. n += 1 + l + sovGenerated(uint64(l))
  967. }
  968. }
  969. return n
  970. }
  971. func (m *StatefulSetSpec) Size() (n int) {
  972. var l int
  973. _ = l
  974. if m.Replicas != nil {
  975. n += 1 + sovGenerated(uint64(*m.Replicas))
  976. }
  977. if m.Selector != nil {
  978. l = m.Selector.Size()
  979. n += 1 + l + sovGenerated(uint64(l))
  980. }
  981. l = m.Template.Size()
  982. n += 1 + l + sovGenerated(uint64(l))
  983. if len(m.VolumeClaimTemplates) > 0 {
  984. for _, e := range m.VolumeClaimTemplates {
  985. l = e.Size()
  986. n += 1 + l + sovGenerated(uint64(l))
  987. }
  988. }
  989. l = len(m.ServiceName)
  990. n += 1 + l + sovGenerated(uint64(l))
  991. return n
  992. }
  993. func (m *StatefulSetStatus) Size() (n int) {
  994. var l int
  995. _ = l
  996. if m.ObservedGeneration != nil {
  997. n += 1 + sovGenerated(uint64(*m.ObservedGeneration))
  998. }
  999. n += 1 + sovGenerated(uint64(m.Replicas))
  1000. return n
  1001. }
  1002. func sovGenerated(x uint64) (n int) {
  1003. for {
  1004. n++
  1005. x >>= 7
  1006. if x == 0 {
  1007. break
  1008. }
  1009. }
  1010. return n
  1011. }
  1012. func sozGenerated(x uint64) (n int) {
  1013. return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1014. }
  1015. func (this *Deployment) String() string {
  1016. if this == nil {
  1017. return "nil"
  1018. }
  1019. s := strings.Join([]string{`&Deployment{`,
  1020. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  1021. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DeploymentSpec", "DeploymentSpec", 1), `&`, ``, 1) + `,`,
  1022. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DeploymentStatus", "DeploymentStatus", 1), `&`, ``, 1) + `,`,
  1023. `}`,
  1024. }, "")
  1025. return s
  1026. }
  1027. func (this *DeploymentCondition) String() string {
  1028. if this == nil {
  1029. return "nil"
  1030. }
  1031. s := strings.Join([]string{`&DeploymentCondition{`,
  1032. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  1033. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  1034. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  1035. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  1036. `LastUpdateTime:` + strings.Replace(strings.Replace(this.LastUpdateTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  1037. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  1038. `}`,
  1039. }, "")
  1040. return s
  1041. }
  1042. func (this *DeploymentList) String() string {
  1043. if this == nil {
  1044. return "nil"
  1045. }
  1046. s := strings.Join([]string{`&DeploymentList{`,
  1047. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  1048. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Deployment", "Deployment", 1), `&`, ``, 1) + `,`,
  1049. `}`,
  1050. }, "")
  1051. return s
  1052. }
  1053. func (this *DeploymentRollback) String() string {
  1054. if this == nil {
  1055. return "nil"
  1056. }
  1057. keysForUpdatedAnnotations := make([]string, 0, len(this.UpdatedAnnotations))
  1058. for k := range this.UpdatedAnnotations {
  1059. keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, k)
  1060. }
  1061. github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations)
  1062. mapStringForUpdatedAnnotations := "map[string]string{"
  1063. for _, k := range keysForUpdatedAnnotations {
  1064. mapStringForUpdatedAnnotations += fmt.Sprintf("%v: %v,", k, this.UpdatedAnnotations[k])
  1065. }
  1066. mapStringForUpdatedAnnotations += "}"
  1067. s := strings.Join([]string{`&DeploymentRollback{`,
  1068. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  1069. `UpdatedAnnotations:` + mapStringForUpdatedAnnotations + `,`,
  1070. `RollbackTo:` + strings.Replace(strings.Replace(this.RollbackTo.String(), "RollbackConfig", "RollbackConfig", 1), `&`, ``, 1) + `,`,
  1071. `}`,
  1072. }, "")
  1073. return s
  1074. }
  1075. func (this *DeploymentSpec) String() string {
  1076. if this == nil {
  1077. return "nil"
  1078. }
  1079. s := strings.Join([]string{`&DeploymentSpec{`,
  1080. `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
  1081. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  1082. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  1083. `Strategy:` + strings.Replace(strings.Replace(this.Strategy.String(), "DeploymentStrategy", "DeploymentStrategy", 1), `&`, ``, 1) + `,`,
  1084. `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
  1085. `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
  1086. `Paused:` + fmt.Sprintf("%v", this.Paused) + `,`,
  1087. `RollbackTo:` + strings.Replace(fmt.Sprintf("%v", this.RollbackTo), "RollbackConfig", "RollbackConfig", 1) + `,`,
  1088. `ProgressDeadlineSeconds:` + valueToStringGenerated(this.ProgressDeadlineSeconds) + `,`,
  1089. `}`,
  1090. }, "")
  1091. return s
  1092. }
  1093. func (this *DeploymentStatus) String() string {
  1094. if this == nil {
  1095. return "nil"
  1096. }
  1097. s := strings.Join([]string{`&DeploymentStatus{`,
  1098. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  1099. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  1100. `UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`,
  1101. `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
  1102. `UnavailableReplicas:` + fmt.Sprintf("%v", this.UnavailableReplicas) + `,`,
  1103. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "DeploymentCondition", "DeploymentCondition", 1), `&`, ``, 1) + `,`,
  1104. `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
  1105. `}`,
  1106. }, "")
  1107. return s
  1108. }
  1109. func (this *DeploymentStrategy) String() string {
  1110. if this == nil {
  1111. return "nil"
  1112. }
  1113. s := strings.Join([]string{`&DeploymentStrategy{`,
  1114. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  1115. `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateDeployment", "RollingUpdateDeployment", 1) + `,`,
  1116. `}`,
  1117. }, "")
  1118. return s
  1119. }
  1120. func (this *RollbackConfig) String() string {
  1121. if this == nil {
  1122. return "nil"
  1123. }
  1124. s := strings.Join([]string{`&RollbackConfig{`,
  1125. `Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
  1126. `}`,
  1127. }, "")
  1128. return s
  1129. }
  1130. func (this *RollingUpdateDeployment) String() string {
  1131. if this == nil {
  1132. return "nil"
  1133. }
  1134. s := strings.Join([]string{`&RollingUpdateDeployment{`,
  1135. `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
  1136. `MaxSurge:` + strings.Replace(fmt.Sprintf("%v", this.MaxSurge), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
  1137. `}`,
  1138. }, "")
  1139. return s
  1140. }
  1141. func (this *Scale) String() string {
  1142. if this == nil {
  1143. return "nil"
  1144. }
  1145. s := strings.Join([]string{`&Scale{`,
  1146. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  1147. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ScaleSpec", "ScaleSpec", 1), `&`, ``, 1) + `,`,
  1148. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ScaleStatus", "ScaleStatus", 1), `&`, ``, 1) + `,`,
  1149. `}`,
  1150. }, "")
  1151. return s
  1152. }
  1153. func (this *ScaleSpec) String() string {
  1154. if this == nil {
  1155. return "nil"
  1156. }
  1157. s := strings.Join([]string{`&ScaleSpec{`,
  1158. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  1159. `}`,
  1160. }, "")
  1161. return s
  1162. }
  1163. func (this *ScaleStatus) String() string {
  1164. if this == nil {
  1165. return "nil"
  1166. }
  1167. keysForSelector := make([]string, 0, len(this.Selector))
  1168. for k := range this.Selector {
  1169. keysForSelector = append(keysForSelector, k)
  1170. }
  1171. github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
  1172. mapStringForSelector := "map[string]string{"
  1173. for _, k := range keysForSelector {
  1174. mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k])
  1175. }
  1176. mapStringForSelector += "}"
  1177. s := strings.Join([]string{`&ScaleStatus{`,
  1178. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  1179. `Selector:` + mapStringForSelector + `,`,
  1180. `TargetSelector:` + fmt.Sprintf("%v", this.TargetSelector) + `,`,
  1181. `}`,
  1182. }, "")
  1183. return s
  1184. }
  1185. func (this *StatefulSet) String() string {
  1186. if this == nil {
  1187. return "nil"
  1188. }
  1189. s := strings.Join([]string{`&StatefulSet{`,
  1190. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  1191. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "StatefulSetSpec", "StatefulSetSpec", 1), `&`, ``, 1) + `,`,
  1192. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "StatefulSetStatus", "StatefulSetStatus", 1), `&`, ``, 1) + `,`,
  1193. `}`,
  1194. }, "")
  1195. return s
  1196. }
  1197. func (this *StatefulSetList) String() string {
  1198. if this == nil {
  1199. return "nil"
  1200. }
  1201. s := strings.Join([]string{`&StatefulSetList{`,
  1202. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  1203. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "StatefulSet", "StatefulSet", 1), `&`, ``, 1) + `,`,
  1204. `}`,
  1205. }, "")
  1206. return s
  1207. }
  1208. func (this *StatefulSetSpec) String() string {
  1209. if this == nil {
  1210. return "nil"
  1211. }
  1212. s := strings.Join([]string{`&StatefulSetSpec{`,
  1213. `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
  1214. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  1215. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_kubernetes_pkg_api_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  1216. `VolumeClaimTemplates:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VolumeClaimTemplates), "PersistentVolumeClaim", "k8s_io_kubernetes_pkg_api_v1.PersistentVolumeClaim", 1), `&`, ``, 1) + `,`,
  1217. `ServiceName:` + fmt.Sprintf("%v", this.ServiceName) + `,`,
  1218. `}`,
  1219. }, "")
  1220. return s
  1221. }
  1222. func (this *StatefulSetStatus) String() string {
  1223. if this == nil {
  1224. return "nil"
  1225. }
  1226. s := strings.Join([]string{`&StatefulSetStatus{`,
  1227. `ObservedGeneration:` + valueToStringGenerated(this.ObservedGeneration) + `,`,
  1228. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  1229. `}`,
  1230. }, "")
  1231. return s
  1232. }
  1233. func valueToStringGenerated(v interface{}) string {
  1234. rv := reflect.ValueOf(v)
  1235. if rv.IsNil() {
  1236. return "nil"
  1237. }
  1238. pv := reflect.Indirect(rv).Interface()
  1239. return fmt.Sprintf("*%v", pv)
  1240. }
  1241. func (m *Deployment) Unmarshal(data []byte) error {
  1242. l := len(data)
  1243. iNdEx := 0
  1244. for iNdEx < l {
  1245. preIndex := iNdEx
  1246. var wire uint64
  1247. for shift := uint(0); ; shift += 7 {
  1248. if shift >= 64 {
  1249. return ErrIntOverflowGenerated
  1250. }
  1251. if iNdEx >= l {
  1252. return io.ErrUnexpectedEOF
  1253. }
  1254. b := data[iNdEx]
  1255. iNdEx++
  1256. wire |= (uint64(b) & 0x7F) << shift
  1257. if b < 0x80 {
  1258. break
  1259. }
  1260. }
  1261. fieldNum := int32(wire >> 3)
  1262. wireType := int(wire & 0x7)
  1263. if wireType == 4 {
  1264. return fmt.Errorf("proto: Deployment: wiretype end group for non-group")
  1265. }
  1266. if fieldNum <= 0 {
  1267. return fmt.Errorf("proto: Deployment: illegal tag %d (wire type %d)", fieldNum, wire)
  1268. }
  1269. switch fieldNum {
  1270. case 1:
  1271. if wireType != 2 {
  1272. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  1273. }
  1274. var msglen int
  1275. for shift := uint(0); ; shift += 7 {
  1276. if shift >= 64 {
  1277. return ErrIntOverflowGenerated
  1278. }
  1279. if iNdEx >= l {
  1280. return io.ErrUnexpectedEOF
  1281. }
  1282. b := data[iNdEx]
  1283. iNdEx++
  1284. msglen |= (int(b) & 0x7F) << shift
  1285. if b < 0x80 {
  1286. break
  1287. }
  1288. }
  1289. if msglen < 0 {
  1290. return ErrInvalidLengthGenerated
  1291. }
  1292. postIndex := iNdEx + msglen
  1293. if postIndex > l {
  1294. return io.ErrUnexpectedEOF
  1295. }
  1296. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  1297. return err
  1298. }
  1299. iNdEx = postIndex
  1300. case 2:
  1301. if wireType != 2 {
  1302. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  1303. }
  1304. var msglen int
  1305. for shift := uint(0); ; shift += 7 {
  1306. if shift >= 64 {
  1307. return ErrIntOverflowGenerated
  1308. }
  1309. if iNdEx >= l {
  1310. return io.ErrUnexpectedEOF
  1311. }
  1312. b := data[iNdEx]
  1313. iNdEx++
  1314. msglen |= (int(b) & 0x7F) << shift
  1315. if b < 0x80 {
  1316. break
  1317. }
  1318. }
  1319. if msglen < 0 {
  1320. return ErrInvalidLengthGenerated
  1321. }
  1322. postIndex := iNdEx + msglen
  1323. if postIndex > l {
  1324. return io.ErrUnexpectedEOF
  1325. }
  1326. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  1327. return err
  1328. }
  1329. iNdEx = postIndex
  1330. case 3:
  1331. if wireType != 2 {
  1332. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  1333. }
  1334. var msglen int
  1335. for shift := uint(0); ; shift += 7 {
  1336. if shift >= 64 {
  1337. return ErrIntOverflowGenerated
  1338. }
  1339. if iNdEx >= l {
  1340. return io.ErrUnexpectedEOF
  1341. }
  1342. b := data[iNdEx]
  1343. iNdEx++
  1344. msglen |= (int(b) & 0x7F) << shift
  1345. if b < 0x80 {
  1346. break
  1347. }
  1348. }
  1349. if msglen < 0 {
  1350. return ErrInvalidLengthGenerated
  1351. }
  1352. postIndex := iNdEx + msglen
  1353. if postIndex > l {
  1354. return io.ErrUnexpectedEOF
  1355. }
  1356. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  1357. return err
  1358. }
  1359. iNdEx = postIndex
  1360. default:
  1361. iNdEx = preIndex
  1362. skippy, err := skipGenerated(data[iNdEx:])
  1363. if err != nil {
  1364. return err
  1365. }
  1366. if skippy < 0 {
  1367. return ErrInvalidLengthGenerated
  1368. }
  1369. if (iNdEx + skippy) > l {
  1370. return io.ErrUnexpectedEOF
  1371. }
  1372. iNdEx += skippy
  1373. }
  1374. }
  1375. if iNdEx > l {
  1376. return io.ErrUnexpectedEOF
  1377. }
  1378. return nil
  1379. }
  1380. func (m *DeploymentCondition) Unmarshal(data []byte) error {
  1381. l := len(data)
  1382. iNdEx := 0
  1383. for iNdEx < l {
  1384. preIndex := iNdEx
  1385. var wire uint64
  1386. for shift := uint(0); ; shift += 7 {
  1387. if shift >= 64 {
  1388. return ErrIntOverflowGenerated
  1389. }
  1390. if iNdEx >= l {
  1391. return io.ErrUnexpectedEOF
  1392. }
  1393. b := data[iNdEx]
  1394. iNdEx++
  1395. wire |= (uint64(b) & 0x7F) << shift
  1396. if b < 0x80 {
  1397. break
  1398. }
  1399. }
  1400. fieldNum := int32(wire >> 3)
  1401. wireType := int(wire & 0x7)
  1402. if wireType == 4 {
  1403. return fmt.Errorf("proto: DeploymentCondition: wiretype end group for non-group")
  1404. }
  1405. if fieldNum <= 0 {
  1406. return fmt.Errorf("proto: DeploymentCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  1407. }
  1408. switch fieldNum {
  1409. case 1:
  1410. if wireType != 2 {
  1411. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  1412. }
  1413. var stringLen uint64
  1414. for shift := uint(0); ; shift += 7 {
  1415. if shift >= 64 {
  1416. return ErrIntOverflowGenerated
  1417. }
  1418. if iNdEx >= l {
  1419. return io.ErrUnexpectedEOF
  1420. }
  1421. b := data[iNdEx]
  1422. iNdEx++
  1423. stringLen |= (uint64(b) & 0x7F) << shift
  1424. if b < 0x80 {
  1425. break
  1426. }
  1427. }
  1428. intStringLen := int(stringLen)
  1429. if intStringLen < 0 {
  1430. return ErrInvalidLengthGenerated
  1431. }
  1432. postIndex := iNdEx + intStringLen
  1433. if postIndex > l {
  1434. return io.ErrUnexpectedEOF
  1435. }
  1436. m.Type = DeploymentConditionType(data[iNdEx:postIndex])
  1437. iNdEx = postIndex
  1438. case 2:
  1439. if wireType != 2 {
  1440. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  1441. }
  1442. var stringLen uint64
  1443. for shift := uint(0); ; shift += 7 {
  1444. if shift >= 64 {
  1445. return ErrIntOverflowGenerated
  1446. }
  1447. if iNdEx >= l {
  1448. return io.ErrUnexpectedEOF
  1449. }
  1450. b := data[iNdEx]
  1451. iNdEx++
  1452. stringLen |= (uint64(b) & 0x7F) << shift
  1453. if b < 0x80 {
  1454. break
  1455. }
  1456. }
  1457. intStringLen := int(stringLen)
  1458. if intStringLen < 0 {
  1459. return ErrInvalidLengthGenerated
  1460. }
  1461. postIndex := iNdEx + intStringLen
  1462. if postIndex > l {
  1463. return io.ErrUnexpectedEOF
  1464. }
  1465. m.Status = k8s_io_kubernetes_pkg_api_v1.ConditionStatus(data[iNdEx:postIndex])
  1466. iNdEx = postIndex
  1467. case 4:
  1468. if wireType != 2 {
  1469. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  1470. }
  1471. var stringLen uint64
  1472. for shift := uint(0); ; shift += 7 {
  1473. if shift >= 64 {
  1474. return ErrIntOverflowGenerated
  1475. }
  1476. if iNdEx >= l {
  1477. return io.ErrUnexpectedEOF
  1478. }
  1479. b := data[iNdEx]
  1480. iNdEx++
  1481. stringLen |= (uint64(b) & 0x7F) << shift
  1482. if b < 0x80 {
  1483. break
  1484. }
  1485. }
  1486. intStringLen := int(stringLen)
  1487. if intStringLen < 0 {
  1488. return ErrInvalidLengthGenerated
  1489. }
  1490. postIndex := iNdEx + intStringLen
  1491. if postIndex > l {
  1492. return io.ErrUnexpectedEOF
  1493. }
  1494. m.Reason = string(data[iNdEx:postIndex])
  1495. iNdEx = postIndex
  1496. case 5:
  1497. if wireType != 2 {
  1498. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  1499. }
  1500. var stringLen uint64
  1501. for shift := uint(0); ; shift += 7 {
  1502. if shift >= 64 {
  1503. return ErrIntOverflowGenerated
  1504. }
  1505. if iNdEx >= l {
  1506. return io.ErrUnexpectedEOF
  1507. }
  1508. b := data[iNdEx]
  1509. iNdEx++
  1510. stringLen |= (uint64(b) & 0x7F) << shift
  1511. if b < 0x80 {
  1512. break
  1513. }
  1514. }
  1515. intStringLen := int(stringLen)
  1516. if intStringLen < 0 {
  1517. return ErrInvalidLengthGenerated
  1518. }
  1519. postIndex := iNdEx + intStringLen
  1520. if postIndex > l {
  1521. return io.ErrUnexpectedEOF
  1522. }
  1523. m.Message = string(data[iNdEx:postIndex])
  1524. iNdEx = postIndex
  1525. case 6:
  1526. if wireType != 2 {
  1527. return fmt.Errorf("proto: wrong wireType = %d for field LastUpdateTime", wireType)
  1528. }
  1529. var msglen int
  1530. for shift := uint(0); ; shift += 7 {
  1531. if shift >= 64 {
  1532. return ErrIntOverflowGenerated
  1533. }
  1534. if iNdEx >= l {
  1535. return io.ErrUnexpectedEOF
  1536. }
  1537. b := data[iNdEx]
  1538. iNdEx++
  1539. msglen |= (int(b) & 0x7F) << shift
  1540. if b < 0x80 {
  1541. break
  1542. }
  1543. }
  1544. if msglen < 0 {
  1545. return ErrInvalidLengthGenerated
  1546. }
  1547. postIndex := iNdEx + msglen
  1548. if postIndex > l {
  1549. return io.ErrUnexpectedEOF
  1550. }
  1551. if err := m.LastUpdateTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  1552. return err
  1553. }
  1554. iNdEx = postIndex
  1555. case 7:
  1556. if wireType != 2 {
  1557. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  1558. }
  1559. var msglen int
  1560. for shift := uint(0); ; shift += 7 {
  1561. if shift >= 64 {
  1562. return ErrIntOverflowGenerated
  1563. }
  1564. if iNdEx >= l {
  1565. return io.ErrUnexpectedEOF
  1566. }
  1567. b := data[iNdEx]
  1568. iNdEx++
  1569. msglen |= (int(b) & 0x7F) << shift
  1570. if b < 0x80 {
  1571. break
  1572. }
  1573. }
  1574. if msglen < 0 {
  1575. return ErrInvalidLengthGenerated
  1576. }
  1577. postIndex := iNdEx + msglen
  1578. if postIndex > l {
  1579. return io.ErrUnexpectedEOF
  1580. }
  1581. if err := m.LastTransitionTime.Unmarshal(data[iNdEx:postIndex]); err != nil {
  1582. return err
  1583. }
  1584. iNdEx = postIndex
  1585. default:
  1586. iNdEx = preIndex
  1587. skippy, err := skipGenerated(data[iNdEx:])
  1588. if err != nil {
  1589. return err
  1590. }
  1591. if skippy < 0 {
  1592. return ErrInvalidLengthGenerated
  1593. }
  1594. if (iNdEx + skippy) > l {
  1595. return io.ErrUnexpectedEOF
  1596. }
  1597. iNdEx += skippy
  1598. }
  1599. }
  1600. if iNdEx > l {
  1601. return io.ErrUnexpectedEOF
  1602. }
  1603. return nil
  1604. }
  1605. func (m *DeploymentList) Unmarshal(data []byte) error {
  1606. l := len(data)
  1607. iNdEx := 0
  1608. for iNdEx < l {
  1609. preIndex := iNdEx
  1610. var wire uint64
  1611. for shift := uint(0); ; shift += 7 {
  1612. if shift >= 64 {
  1613. return ErrIntOverflowGenerated
  1614. }
  1615. if iNdEx >= l {
  1616. return io.ErrUnexpectedEOF
  1617. }
  1618. b := data[iNdEx]
  1619. iNdEx++
  1620. wire |= (uint64(b) & 0x7F) << shift
  1621. if b < 0x80 {
  1622. break
  1623. }
  1624. }
  1625. fieldNum := int32(wire >> 3)
  1626. wireType := int(wire & 0x7)
  1627. if wireType == 4 {
  1628. return fmt.Errorf("proto: DeploymentList: wiretype end group for non-group")
  1629. }
  1630. if fieldNum <= 0 {
  1631. return fmt.Errorf("proto: DeploymentList: illegal tag %d (wire type %d)", fieldNum, wire)
  1632. }
  1633. switch fieldNum {
  1634. case 1:
  1635. if wireType != 2 {
  1636. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  1637. }
  1638. var msglen int
  1639. for shift := uint(0); ; shift += 7 {
  1640. if shift >= 64 {
  1641. return ErrIntOverflowGenerated
  1642. }
  1643. if iNdEx >= l {
  1644. return io.ErrUnexpectedEOF
  1645. }
  1646. b := data[iNdEx]
  1647. iNdEx++
  1648. msglen |= (int(b) & 0x7F) << shift
  1649. if b < 0x80 {
  1650. break
  1651. }
  1652. }
  1653. if msglen < 0 {
  1654. return ErrInvalidLengthGenerated
  1655. }
  1656. postIndex := iNdEx + msglen
  1657. if postIndex > l {
  1658. return io.ErrUnexpectedEOF
  1659. }
  1660. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  1661. return err
  1662. }
  1663. iNdEx = postIndex
  1664. case 2:
  1665. if wireType != 2 {
  1666. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  1667. }
  1668. var msglen int
  1669. for shift := uint(0); ; shift += 7 {
  1670. if shift >= 64 {
  1671. return ErrIntOverflowGenerated
  1672. }
  1673. if iNdEx >= l {
  1674. return io.ErrUnexpectedEOF
  1675. }
  1676. b := data[iNdEx]
  1677. iNdEx++
  1678. msglen |= (int(b) & 0x7F) << shift
  1679. if b < 0x80 {
  1680. break
  1681. }
  1682. }
  1683. if msglen < 0 {
  1684. return ErrInvalidLengthGenerated
  1685. }
  1686. postIndex := iNdEx + msglen
  1687. if postIndex > l {
  1688. return io.ErrUnexpectedEOF
  1689. }
  1690. m.Items = append(m.Items, Deployment{})
  1691. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  1692. return err
  1693. }
  1694. iNdEx = postIndex
  1695. default:
  1696. iNdEx = preIndex
  1697. skippy, err := skipGenerated(data[iNdEx:])
  1698. if err != nil {
  1699. return err
  1700. }
  1701. if skippy < 0 {
  1702. return ErrInvalidLengthGenerated
  1703. }
  1704. if (iNdEx + skippy) > l {
  1705. return io.ErrUnexpectedEOF
  1706. }
  1707. iNdEx += skippy
  1708. }
  1709. }
  1710. if iNdEx > l {
  1711. return io.ErrUnexpectedEOF
  1712. }
  1713. return nil
  1714. }
  1715. func (m *DeploymentRollback) Unmarshal(data []byte) error {
  1716. l := len(data)
  1717. iNdEx := 0
  1718. for iNdEx < l {
  1719. preIndex := iNdEx
  1720. var wire 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. wire |= (uint64(b) & 0x7F) << shift
  1731. if b < 0x80 {
  1732. break
  1733. }
  1734. }
  1735. fieldNum := int32(wire >> 3)
  1736. wireType := int(wire & 0x7)
  1737. if wireType == 4 {
  1738. return fmt.Errorf("proto: DeploymentRollback: wiretype end group for non-group")
  1739. }
  1740. if fieldNum <= 0 {
  1741. return fmt.Errorf("proto: DeploymentRollback: illegal tag %d (wire type %d)", fieldNum, wire)
  1742. }
  1743. switch fieldNum {
  1744. case 1:
  1745. if wireType != 2 {
  1746. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  1747. }
  1748. var stringLen uint64
  1749. for shift := uint(0); ; shift += 7 {
  1750. if shift >= 64 {
  1751. return ErrIntOverflowGenerated
  1752. }
  1753. if iNdEx >= l {
  1754. return io.ErrUnexpectedEOF
  1755. }
  1756. b := data[iNdEx]
  1757. iNdEx++
  1758. stringLen |= (uint64(b) & 0x7F) << shift
  1759. if b < 0x80 {
  1760. break
  1761. }
  1762. }
  1763. intStringLen := int(stringLen)
  1764. if intStringLen < 0 {
  1765. return ErrInvalidLengthGenerated
  1766. }
  1767. postIndex := iNdEx + intStringLen
  1768. if postIndex > l {
  1769. return io.ErrUnexpectedEOF
  1770. }
  1771. m.Name = string(data[iNdEx:postIndex])
  1772. iNdEx = postIndex
  1773. case 2:
  1774. if wireType != 2 {
  1775. return fmt.Errorf("proto: wrong wireType = %d for field UpdatedAnnotations", wireType)
  1776. }
  1777. var msglen int
  1778. for shift := uint(0); ; shift += 7 {
  1779. if shift >= 64 {
  1780. return ErrIntOverflowGenerated
  1781. }
  1782. if iNdEx >= l {
  1783. return io.ErrUnexpectedEOF
  1784. }
  1785. b := data[iNdEx]
  1786. iNdEx++
  1787. msglen |= (int(b) & 0x7F) << shift
  1788. if b < 0x80 {
  1789. break
  1790. }
  1791. }
  1792. if msglen < 0 {
  1793. return ErrInvalidLengthGenerated
  1794. }
  1795. postIndex := iNdEx + msglen
  1796. if postIndex > l {
  1797. return io.ErrUnexpectedEOF
  1798. }
  1799. var keykey uint64
  1800. for shift := uint(0); ; shift += 7 {
  1801. if shift >= 64 {
  1802. return ErrIntOverflowGenerated
  1803. }
  1804. if iNdEx >= l {
  1805. return io.ErrUnexpectedEOF
  1806. }
  1807. b := data[iNdEx]
  1808. iNdEx++
  1809. keykey |= (uint64(b) & 0x7F) << shift
  1810. if b < 0x80 {
  1811. break
  1812. }
  1813. }
  1814. var stringLenmapkey uint64
  1815. for shift := uint(0); ; shift += 7 {
  1816. if shift >= 64 {
  1817. return ErrIntOverflowGenerated
  1818. }
  1819. if iNdEx >= l {
  1820. return io.ErrUnexpectedEOF
  1821. }
  1822. b := data[iNdEx]
  1823. iNdEx++
  1824. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  1825. if b < 0x80 {
  1826. break
  1827. }
  1828. }
  1829. intStringLenmapkey := int(stringLenmapkey)
  1830. if intStringLenmapkey < 0 {
  1831. return ErrInvalidLengthGenerated
  1832. }
  1833. postStringIndexmapkey := iNdEx + intStringLenmapkey
  1834. if postStringIndexmapkey > l {
  1835. return io.ErrUnexpectedEOF
  1836. }
  1837. mapkey := string(data[iNdEx:postStringIndexmapkey])
  1838. iNdEx = postStringIndexmapkey
  1839. var valuekey uint64
  1840. for shift := uint(0); ; shift += 7 {
  1841. if shift >= 64 {
  1842. return ErrIntOverflowGenerated
  1843. }
  1844. if iNdEx >= l {
  1845. return io.ErrUnexpectedEOF
  1846. }
  1847. b := data[iNdEx]
  1848. iNdEx++
  1849. valuekey |= (uint64(b) & 0x7F) << shift
  1850. if b < 0x80 {
  1851. break
  1852. }
  1853. }
  1854. var stringLenmapvalue uint64
  1855. for shift := uint(0); ; shift += 7 {
  1856. if shift >= 64 {
  1857. return ErrIntOverflowGenerated
  1858. }
  1859. if iNdEx >= l {
  1860. return io.ErrUnexpectedEOF
  1861. }
  1862. b := data[iNdEx]
  1863. iNdEx++
  1864. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  1865. if b < 0x80 {
  1866. break
  1867. }
  1868. }
  1869. intStringLenmapvalue := int(stringLenmapvalue)
  1870. if intStringLenmapvalue < 0 {
  1871. return ErrInvalidLengthGenerated
  1872. }
  1873. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  1874. if postStringIndexmapvalue > l {
  1875. return io.ErrUnexpectedEOF
  1876. }
  1877. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  1878. iNdEx = postStringIndexmapvalue
  1879. if m.UpdatedAnnotations == nil {
  1880. m.UpdatedAnnotations = make(map[string]string)
  1881. }
  1882. m.UpdatedAnnotations[mapkey] = mapvalue
  1883. iNdEx = postIndex
  1884. case 3:
  1885. if wireType != 2 {
  1886. return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
  1887. }
  1888. var msglen int
  1889. for shift := uint(0); ; shift += 7 {
  1890. if shift >= 64 {
  1891. return ErrIntOverflowGenerated
  1892. }
  1893. if iNdEx >= l {
  1894. return io.ErrUnexpectedEOF
  1895. }
  1896. b := data[iNdEx]
  1897. iNdEx++
  1898. msglen |= (int(b) & 0x7F) << shift
  1899. if b < 0x80 {
  1900. break
  1901. }
  1902. }
  1903. if msglen < 0 {
  1904. return ErrInvalidLengthGenerated
  1905. }
  1906. postIndex := iNdEx + msglen
  1907. if postIndex > l {
  1908. return io.ErrUnexpectedEOF
  1909. }
  1910. if err := m.RollbackTo.Unmarshal(data[iNdEx:postIndex]); err != nil {
  1911. return err
  1912. }
  1913. iNdEx = postIndex
  1914. default:
  1915. iNdEx = preIndex
  1916. skippy, err := skipGenerated(data[iNdEx:])
  1917. if err != nil {
  1918. return err
  1919. }
  1920. if skippy < 0 {
  1921. return ErrInvalidLengthGenerated
  1922. }
  1923. if (iNdEx + skippy) > l {
  1924. return io.ErrUnexpectedEOF
  1925. }
  1926. iNdEx += skippy
  1927. }
  1928. }
  1929. if iNdEx > l {
  1930. return io.ErrUnexpectedEOF
  1931. }
  1932. return nil
  1933. }
  1934. func (m *DeploymentSpec) Unmarshal(data []byte) error {
  1935. l := len(data)
  1936. iNdEx := 0
  1937. for iNdEx < l {
  1938. preIndex := iNdEx
  1939. var wire uint64
  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. wire |= (uint64(b) & 0x7F) << shift
  1950. if b < 0x80 {
  1951. break
  1952. }
  1953. }
  1954. fieldNum := int32(wire >> 3)
  1955. wireType := int(wire & 0x7)
  1956. if wireType == 4 {
  1957. return fmt.Errorf("proto: DeploymentSpec: wiretype end group for non-group")
  1958. }
  1959. if fieldNum <= 0 {
  1960. return fmt.Errorf("proto: DeploymentSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  1961. }
  1962. switch fieldNum {
  1963. case 1:
  1964. if wireType != 0 {
  1965. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  1966. }
  1967. var v int32
  1968. for shift := uint(0); ; shift += 7 {
  1969. if shift >= 64 {
  1970. return ErrIntOverflowGenerated
  1971. }
  1972. if iNdEx >= l {
  1973. return io.ErrUnexpectedEOF
  1974. }
  1975. b := data[iNdEx]
  1976. iNdEx++
  1977. v |= (int32(b) & 0x7F) << shift
  1978. if b < 0x80 {
  1979. break
  1980. }
  1981. }
  1982. m.Replicas = &v
  1983. case 2:
  1984. if wireType != 2 {
  1985. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  1986. }
  1987. var msglen int
  1988. for shift := uint(0); ; shift += 7 {
  1989. if shift >= 64 {
  1990. return ErrIntOverflowGenerated
  1991. }
  1992. if iNdEx >= l {
  1993. return io.ErrUnexpectedEOF
  1994. }
  1995. b := data[iNdEx]
  1996. iNdEx++
  1997. msglen |= (int(b) & 0x7F) << shift
  1998. if b < 0x80 {
  1999. break
  2000. }
  2001. }
  2002. if msglen < 0 {
  2003. return ErrInvalidLengthGenerated
  2004. }
  2005. postIndex := iNdEx + msglen
  2006. if postIndex > l {
  2007. return io.ErrUnexpectedEOF
  2008. }
  2009. if m.Selector == nil {
  2010. m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  2011. }
  2012. if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil {
  2013. return err
  2014. }
  2015. iNdEx = postIndex
  2016. case 3:
  2017. if wireType != 2 {
  2018. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  2019. }
  2020. var msglen int
  2021. for shift := uint(0); ; shift += 7 {
  2022. if shift >= 64 {
  2023. return ErrIntOverflowGenerated
  2024. }
  2025. if iNdEx >= l {
  2026. return io.ErrUnexpectedEOF
  2027. }
  2028. b := data[iNdEx]
  2029. iNdEx++
  2030. msglen |= (int(b) & 0x7F) << shift
  2031. if b < 0x80 {
  2032. break
  2033. }
  2034. }
  2035. if msglen < 0 {
  2036. return ErrInvalidLengthGenerated
  2037. }
  2038. postIndex := iNdEx + msglen
  2039. if postIndex > l {
  2040. return io.ErrUnexpectedEOF
  2041. }
  2042. if err := m.Template.Unmarshal(data[iNdEx:postIndex]); err != nil {
  2043. return err
  2044. }
  2045. iNdEx = postIndex
  2046. case 4:
  2047. if wireType != 2 {
  2048. return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType)
  2049. }
  2050. var msglen int
  2051. for shift := uint(0); ; shift += 7 {
  2052. if shift >= 64 {
  2053. return ErrIntOverflowGenerated
  2054. }
  2055. if iNdEx >= l {
  2056. return io.ErrUnexpectedEOF
  2057. }
  2058. b := data[iNdEx]
  2059. iNdEx++
  2060. msglen |= (int(b) & 0x7F) << shift
  2061. if b < 0x80 {
  2062. break
  2063. }
  2064. }
  2065. if msglen < 0 {
  2066. return ErrInvalidLengthGenerated
  2067. }
  2068. postIndex := iNdEx + msglen
  2069. if postIndex > l {
  2070. return io.ErrUnexpectedEOF
  2071. }
  2072. if err := m.Strategy.Unmarshal(data[iNdEx:postIndex]); err != nil {
  2073. return err
  2074. }
  2075. iNdEx = postIndex
  2076. case 5:
  2077. if wireType != 0 {
  2078. return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
  2079. }
  2080. m.MinReadySeconds = 0
  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. m.MinReadySeconds |= (int32(b) & 0x7F) << shift
  2091. if b < 0x80 {
  2092. break
  2093. }
  2094. }
  2095. case 6:
  2096. if wireType != 0 {
  2097. return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
  2098. }
  2099. var v int32
  2100. for shift := uint(0); ; shift += 7 {
  2101. if shift >= 64 {
  2102. return ErrIntOverflowGenerated
  2103. }
  2104. if iNdEx >= l {
  2105. return io.ErrUnexpectedEOF
  2106. }
  2107. b := data[iNdEx]
  2108. iNdEx++
  2109. v |= (int32(b) & 0x7F) << shift
  2110. if b < 0x80 {
  2111. break
  2112. }
  2113. }
  2114. m.RevisionHistoryLimit = &v
  2115. case 7:
  2116. if wireType != 0 {
  2117. return fmt.Errorf("proto: wrong wireType = %d for field Paused", wireType)
  2118. }
  2119. var v int
  2120. for shift := uint(0); ; shift += 7 {
  2121. if shift >= 64 {
  2122. return ErrIntOverflowGenerated
  2123. }
  2124. if iNdEx >= l {
  2125. return io.ErrUnexpectedEOF
  2126. }
  2127. b := data[iNdEx]
  2128. iNdEx++
  2129. v |= (int(b) & 0x7F) << shift
  2130. if b < 0x80 {
  2131. break
  2132. }
  2133. }
  2134. m.Paused = bool(v != 0)
  2135. case 8:
  2136. if wireType != 2 {
  2137. return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
  2138. }
  2139. var msglen int
  2140. for shift := uint(0); ; shift += 7 {
  2141. if shift >= 64 {
  2142. return ErrIntOverflowGenerated
  2143. }
  2144. if iNdEx >= l {
  2145. return io.ErrUnexpectedEOF
  2146. }
  2147. b := data[iNdEx]
  2148. iNdEx++
  2149. msglen |= (int(b) & 0x7F) << shift
  2150. if b < 0x80 {
  2151. break
  2152. }
  2153. }
  2154. if msglen < 0 {
  2155. return ErrInvalidLengthGenerated
  2156. }
  2157. postIndex := iNdEx + msglen
  2158. if postIndex > l {
  2159. return io.ErrUnexpectedEOF
  2160. }
  2161. if m.RollbackTo == nil {
  2162. m.RollbackTo = &RollbackConfig{}
  2163. }
  2164. if err := m.RollbackTo.Unmarshal(data[iNdEx:postIndex]); err != nil {
  2165. return err
  2166. }
  2167. iNdEx = postIndex
  2168. case 9:
  2169. if wireType != 0 {
  2170. return fmt.Errorf("proto: wrong wireType = %d for field ProgressDeadlineSeconds", wireType)
  2171. }
  2172. var v int32
  2173. for shift := uint(0); ; shift += 7 {
  2174. if shift >= 64 {
  2175. return ErrIntOverflowGenerated
  2176. }
  2177. if iNdEx >= l {
  2178. return io.ErrUnexpectedEOF
  2179. }
  2180. b := data[iNdEx]
  2181. iNdEx++
  2182. v |= (int32(b) & 0x7F) << shift
  2183. if b < 0x80 {
  2184. break
  2185. }
  2186. }
  2187. m.ProgressDeadlineSeconds = &v
  2188. default:
  2189. iNdEx = preIndex
  2190. skippy, err := skipGenerated(data[iNdEx:])
  2191. if err != nil {
  2192. return err
  2193. }
  2194. if skippy < 0 {
  2195. return ErrInvalidLengthGenerated
  2196. }
  2197. if (iNdEx + skippy) > l {
  2198. return io.ErrUnexpectedEOF
  2199. }
  2200. iNdEx += skippy
  2201. }
  2202. }
  2203. if iNdEx > l {
  2204. return io.ErrUnexpectedEOF
  2205. }
  2206. return nil
  2207. }
  2208. func (m *DeploymentStatus) Unmarshal(data []byte) error {
  2209. l := len(data)
  2210. iNdEx := 0
  2211. for iNdEx < l {
  2212. preIndex := iNdEx
  2213. var wire uint64
  2214. for shift := uint(0); ; shift += 7 {
  2215. if shift >= 64 {
  2216. return ErrIntOverflowGenerated
  2217. }
  2218. if iNdEx >= l {
  2219. return io.ErrUnexpectedEOF
  2220. }
  2221. b := data[iNdEx]
  2222. iNdEx++
  2223. wire |= (uint64(b) & 0x7F) << shift
  2224. if b < 0x80 {
  2225. break
  2226. }
  2227. }
  2228. fieldNum := int32(wire >> 3)
  2229. wireType := int(wire & 0x7)
  2230. if wireType == 4 {
  2231. return fmt.Errorf("proto: DeploymentStatus: wiretype end group for non-group")
  2232. }
  2233. if fieldNum <= 0 {
  2234. return fmt.Errorf("proto: DeploymentStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  2235. }
  2236. switch fieldNum {
  2237. case 1:
  2238. if wireType != 0 {
  2239. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  2240. }
  2241. m.ObservedGeneration = 0
  2242. for shift := uint(0); ; shift += 7 {
  2243. if shift >= 64 {
  2244. return ErrIntOverflowGenerated
  2245. }
  2246. if iNdEx >= l {
  2247. return io.ErrUnexpectedEOF
  2248. }
  2249. b := data[iNdEx]
  2250. iNdEx++
  2251. m.ObservedGeneration |= (int64(b) & 0x7F) << shift
  2252. if b < 0x80 {
  2253. break
  2254. }
  2255. }
  2256. case 2:
  2257. if wireType != 0 {
  2258. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  2259. }
  2260. m.Replicas = 0
  2261. for shift := uint(0); ; shift += 7 {
  2262. if shift >= 64 {
  2263. return ErrIntOverflowGenerated
  2264. }
  2265. if iNdEx >= l {
  2266. return io.ErrUnexpectedEOF
  2267. }
  2268. b := data[iNdEx]
  2269. iNdEx++
  2270. m.Replicas |= (int32(b) & 0x7F) << shift
  2271. if b < 0x80 {
  2272. break
  2273. }
  2274. }
  2275. case 3:
  2276. if wireType != 0 {
  2277. return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType)
  2278. }
  2279. m.UpdatedReplicas = 0
  2280. for shift := uint(0); ; shift += 7 {
  2281. if shift >= 64 {
  2282. return ErrIntOverflowGenerated
  2283. }
  2284. if iNdEx >= l {
  2285. return io.ErrUnexpectedEOF
  2286. }
  2287. b := data[iNdEx]
  2288. iNdEx++
  2289. m.UpdatedReplicas |= (int32(b) & 0x7F) << shift
  2290. if b < 0x80 {
  2291. break
  2292. }
  2293. }
  2294. case 4:
  2295. if wireType != 0 {
  2296. return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
  2297. }
  2298. m.AvailableReplicas = 0
  2299. for shift := uint(0); ; shift += 7 {
  2300. if shift >= 64 {
  2301. return ErrIntOverflowGenerated
  2302. }
  2303. if iNdEx >= l {
  2304. return io.ErrUnexpectedEOF
  2305. }
  2306. b := data[iNdEx]
  2307. iNdEx++
  2308. m.AvailableReplicas |= (int32(b) & 0x7F) << shift
  2309. if b < 0x80 {
  2310. break
  2311. }
  2312. }
  2313. case 5:
  2314. if wireType != 0 {
  2315. return fmt.Errorf("proto: wrong wireType = %d for field UnavailableReplicas", wireType)
  2316. }
  2317. m.UnavailableReplicas = 0
  2318. for shift := uint(0); ; shift += 7 {
  2319. if shift >= 64 {
  2320. return ErrIntOverflowGenerated
  2321. }
  2322. if iNdEx >= l {
  2323. return io.ErrUnexpectedEOF
  2324. }
  2325. b := data[iNdEx]
  2326. iNdEx++
  2327. m.UnavailableReplicas |= (int32(b) & 0x7F) << shift
  2328. if b < 0x80 {
  2329. break
  2330. }
  2331. }
  2332. case 6:
  2333. if wireType != 2 {
  2334. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  2335. }
  2336. var msglen int
  2337. for shift := uint(0); ; shift += 7 {
  2338. if shift >= 64 {
  2339. return ErrIntOverflowGenerated
  2340. }
  2341. if iNdEx >= l {
  2342. return io.ErrUnexpectedEOF
  2343. }
  2344. b := data[iNdEx]
  2345. iNdEx++
  2346. msglen |= (int(b) & 0x7F) << shift
  2347. if b < 0x80 {
  2348. break
  2349. }
  2350. }
  2351. if msglen < 0 {
  2352. return ErrInvalidLengthGenerated
  2353. }
  2354. postIndex := iNdEx + msglen
  2355. if postIndex > l {
  2356. return io.ErrUnexpectedEOF
  2357. }
  2358. m.Conditions = append(m.Conditions, DeploymentCondition{})
  2359. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  2360. return err
  2361. }
  2362. iNdEx = postIndex
  2363. case 7:
  2364. if wireType != 0 {
  2365. return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
  2366. }
  2367. m.ReadyReplicas = 0
  2368. for shift := uint(0); ; shift += 7 {
  2369. if shift >= 64 {
  2370. return ErrIntOverflowGenerated
  2371. }
  2372. if iNdEx >= l {
  2373. return io.ErrUnexpectedEOF
  2374. }
  2375. b := data[iNdEx]
  2376. iNdEx++
  2377. m.ReadyReplicas |= (int32(b) & 0x7F) << shift
  2378. if b < 0x80 {
  2379. break
  2380. }
  2381. }
  2382. default:
  2383. iNdEx = preIndex
  2384. skippy, err := skipGenerated(data[iNdEx:])
  2385. if err != nil {
  2386. return err
  2387. }
  2388. if skippy < 0 {
  2389. return ErrInvalidLengthGenerated
  2390. }
  2391. if (iNdEx + skippy) > l {
  2392. return io.ErrUnexpectedEOF
  2393. }
  2394. iNdEx += skippy
  2395. }
  2396. }
  2397. if iNdEx > l {
  2398. return io.ErrUnexpectedEOF
  2399. }
  2400. return nil
  2401. }
  2402. func (m *DeploymentStrategy) Unmarshal(data []byte) error {
  2403. l := len(data)
  2404. iNdEx := 0
  2405. for iNdEx < l {
  2406. preIndex := iNdEx
  2407. var wire uint64
  2408. for shift := uint(0); ; shift += 7 {
  2409. if shift >= 64 {
  2410. return ErrIntOverflowGenerated
  2411. }
  2412. if iNdEx >= l {
  2413. return io.ErrUnexpectedEOF
  2414. }
  2415. b := data[iNdEx]
  2416. iNdEx++
  2417. wire |= (uint64(b) & 0x7F) << shift
  2418. if b < 0x80 {
  2419. break
  2420. }
  2421. }
  2422. fieldNum := int32(wire >> 3)
  2423. wireType := int(wire & 0x7)
  2424. if wireType == 4 {
  2425. return fmt.Errorf("proto: DeploymentStrategy: wiretype end group for non-group")
  2426. }
  2427. if fieldNum <= 0 {
  2428. return fmt.Errorf("proto: DeploymentStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
  2429. }
  2430. switch fieldNum {
  2431. case 1:
  2432. if wireType != 2 {
  2433. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  2434. }
  2435. var stringLen uint64
  2436. for shift := uint(0); ; shift += 7 {
  2437. if shift >= 64 {
  2438. return ErrIntOverflowGenerated
  2439. }
  2440. if iNdEx >= l {
  2441. return io.ErrUnexpectedEOF
  2442. }
  2443. b := data[iNdEx]
  2444. iNdEx++
  2445. stringLen |= (uint64(b) & 0x7F) << shift
  2446. if b < 0x80 {
  2447. break
  2448. }
  2449. }
  2450. intStringLen := int(stringLen)
  2451. if intStringLen < 0 {
  2452. return ErrInvalidLengthGenerated
  2453. }
  2454. postIndex := iNdEx + intStringLen
  2455. if postIndex > l {
  2456. return io.ErrUnexpectedEOF
  2457. }
  2458. m.Type = DeploymentStrategyType(data[iNdEx:postIndex])
  2459. iNdEx = postIndex
  2460. case 2:
  2461. if wireType != 2 {
  2462. return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
  2463. }
  2464. var msglen int
  2465. for shift := uint(0); ; shift += 7 {
  2466. if shift >= 64 {
  2467. return ErrIntOverflowGenerated
  2468. }
  2469. if iNdEx >= l {
  2470. return io.ErrUnexpectedEOF
  2471. }
  2472. b := data[iNdEx]
  2473. iNdEx++
  2474. msglen |= (int(b) & 0x7F) << shift
  2475. if b < 0x80 {
  2476. break
  2477. }
  2478. }
  2479. if msglen < 0 {
  2480. return ErrInvalidLengthGenerated
  2481. }
  2482. postIndex := iNdEx + msglen
  2483. if postIndex > l {
  2484. return io.ErrUnexpectedEOF
  2485. }
  2486. if m.RollingUpdate == nil {
  2487. m.RollingUpdate = &RollingUpdateDeployment{}
  2488. }
  2489. if err := m.RollingUpdate.Unmarshal(data[iNdEx:postIndex]); err != nil {
  2490. return err
  2491. }
  2492. iNdEx = postIndex
  2493. default:
  2494. iNdEx = preIndex
  2495. skippy, err := skipGenerated(data[iNdEx:])
  2496. if err != nil {
  2497. return err
  2498. }
  2499. if skippy < 0 {
  2500. return ErrInvalidLengthGenerated
  2501. }
  2502. if (iNdEx + skippy) > l {
  2503. return io.ErrUnexpectedEOF
  2504. }
  2505. iNdEx += skippy
  2506. }
  2507. }
  2508. if iNdEx > l {
  2509. return io.ErrUnexpectedEOF
  2510. }
  2511. return nil
  2512. }
  2513. func (m *RollbackConfig) Unmarshal(data []byte) error {
  2514. l := len(data)
  2515. iNdEx := 0
  2516. for iNdEx < l {
  2517. preIndex := iNdEx
  2518. var wire uint64
  2519. for shift := uint(0); ; shift += 7 {
  2520. if shift >= 64 {
  2521. return ErrIntOverflowGenerated
  2522. }
  2523. if iNdEx >= l {
  2524. return io.ErrUnexpectedEOF
  2525. }
  2526. b := data[iNdEx]
  2527. iNdEx++
  2528. wire |= (uint64(b) & 0x7F) << shift
  2529. if b < 0x80 {
  2530. break
  2531. }
  2532. }
  2533. fieldNum := int32(wire >> 3)
  2534. wireType := int(wire & 0x7)
  2535. if wireType == 4 {
  2536. return fmt.Errorf("proto: RollbackConfig: wiretype end group for non-group")
  2537. }
  2538. if fieldNum <= 0 {
  2539. return fmt.Errorf("proto: RollbackConfig: illegal tag %d (wire type %d)", fieldNum, wire)
  2540. }
  2541. switch fieldNum {
  2542. case 1:
  2543. if wireType != 0 {
  2544. return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
  2545. }
  2546. m.Revision = 0
  2547. for shift := uint(0); ; shift += 7 {
  2548. if shift >= 64 {
  2549. return ErrIntOverflowGenerated
  2550. }
  2551. if iNdEx >= l {
  2552. return io.ErrUnexpectedEOF
  2553. }
  2554. b := data[iNdEx]
  2555. iNdEx++
  2556. m.Revision |= (int64(b) & 0x7F) << shift
  2557. if b < 0x80 {
  2558. break
  2559. }
  2560. }
  2561. default:
  2562. iNdEx = preIndex
  2563. skippy, err := skipGenerated(data[iNdEx:])
  2564. if err != nil {
  2565. return err
  2566. }
  2567. if skippy < 0 {
  2568. return ErrInvalidLengthGenerated
  2569. }
  2570. if (iNdEx + skippy) > l {
  2571. return io.ErrUnexpectedEOF
  2572. }
  2573. iNdEx += skippy
  2574. }
  2575. }
  2576. if iNdEx > l {
  2577. return io.ErrUnexpectedEOF
  2578. }
  2579. return nil
  2580. }
  2581. func (m *RollingUpdateDeployment) Unmarshal(data []byte) error {
  2582. l := len(data)
  2583. iNdEx := 0
  2584. for iNdEx < l {
  2585. preIndex := iNdEx
  2586. var wire uint64
  2587. for shift := uint(0); ; shift += 7 {
  2588. if shift >= 64 {
  2589. return ErrIntOverflowGenerated
  2590. }
  2591. if iNdEx >= l {
  2592. return io.ErrUnexpectedEOF
  2593. }
  2594. b := data[iNdEx]
  2595. iNdEx++
  2596. wire |= (uint64(b) & 0x7F) << shift
  2597. if b < 0x80 {
  2598. break
  2599. }
  2600. }
  2601. fieldNum := int32(wire >> 3)
  2602. wireType := int(wire & 0x7)
  2603. if wireType == 4 {
  2604. return fmt.Errorf("proto: RollingUpdateDeployment: wiretype end group for non-group")
  2605. }
  2606. if fieldNum <= 0 {
  2607. return fmt.Errorf("proto: RollingUpdateDeployment: illegal tag %d (wire type %d)", fieldNum, wire)
  2608. }
  2609. switch fieldNum {
  2610. case 1:
  2611. if wireType != 2 {
  2612. return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
  2613. }
  2614. var msglen int
  2615. for shift := uint(0); ; shift += 7 {
  2616. if shift >= 64 {
  2617. return ErrIntOverflowGenerated
  2618. }
  2619. if iNdEx >= l {
  2620. return io.ErrUnexpectedEOF
  2621. }
  2622. b := data[iNdEx]
  2623. iNdEx++
  2624. msglen |= (int(b) & 0x7F) << shift
  2625. if b < 0x80 {
  2626. break
  2627. }
  2628. }
  2629. if msglen < 0 {
  2630. return ErrInvalidLengthGenerated
  2631. }
  2632. postIndex := iNdEx + msglen
  2633. if postIndex > l {
  2634. return io.ErrUnexpectedEOF
  2635. }
  2636. if m.MaxUnavailable == nil {
  2637. m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
  2638. }
  2639. if err := m.MaxUnavailable.Unmarshal(data[iNdEx:postIndex]); err != nil {
  2640. return err
  2641. }
  2642. iNdEx = postIndex
  2643. case 2:
  2644. if wireType != 2 {
  2645. return fmt.Errorf("proto: wrong wireType = %d for field MaxSurge", wireType)
  2646. }
  2647. var msglen int
  2648. for shift := uint(0); ; shift += 7 {
  2649. if shift >= 64 {
  2650. return ErrIntOverflowGenerated
  2651. }
  2652. if iNdEx >= l {
  2653. return io.ErrUnexpectedEOF
  2654. }
  2655. b := data[iNdEx]
  2656. iNdEx++
  2657. msglen |= (int(b) & 0x7F) << shift
  2658. if b < 0x80 {
  2659. break
  2660. }
  2661. }
  2662. if msglen < 0 {
  2663. return ErrInvalidLengthGenerated
  2664. }
  2665. postIndex := iNdEx + msglen
  2666. if postIndex > l {
  2667. return io.ErrUnexpectedEOF
  2668. }
  2669. if m.MaxSurge == nil {
  2670. m.MaxSurge = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
  2671. }
  2672. if err := m.MaxSurge.Unmarshal(data[iNdEx:postIndex]); err != nil {
  2673. return err
  2674. }
  2675. iNdEx = postIndex
  2676. default:
  2677. iNdEx = preIndex
  2678. skippy, err := skipGenerated(data[iNdEx:])
  2679. if err != nil {
  2680. return err
  2681. }
  2682. if skippy < 0 {
  2683. return ErrInvalidLengthGenerated
  2684. }
  2685. if (iNdEx + skippy) > l {
  2686. return io.ErrUnexpectedEOF
  2687. }
  2688. iNdEx += skippy
  2689. }
  2690. }
  2691. if iNdEx > l {
  2692. return io.ErrUnexpectedEOF
  2693. }
  2694. return nil
  2695. }
  2696. func (m *Scale) Unmarshal(data []byte) error {
  2697. l := len(data)
  2698. iNdEx := 0
  2699. for iNdEx < l {
  2700. preIndex := iNdEx
  2701. var wire uint64
  2702. for shift := uint(0); ; shift += 7 {
  2703. if shift >= 64 {
  2704. return ErrIntOverflowGenerated
  2705. }
  2706. if iNdEx >= l {
  2707. return io.ErrUnexpectedEOF
  2708. }
  2709. b := data[iNdEx]
  2710. iNdEx++
  2711. wire |= (uint64(b) & 0x7F) << shift
  2712. if b < 0x80 {
  2713. break
  2714. }
  2715. }
  2716. fieldNum := int32(wire >> 3)
  2717. wireType := int(wire & 0x7)
  2718. if wireType == 4 {
  2719. return fmt.Errorf("proto: Scale: wiretype end group for non-group")
  2720. }
  2721. if fieldNum <= 0 {
  2722. return fmt.Errorf("proto: Scale: illegal tag %d (wire type %d)", fieldNum, wire)
  2723. }
  2724. switch fieldNum {
  2725. case 1:
  2726. if wireType != 2 {
  2727. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  2728. }
  2729. var msglen int
  2730. for shift := uint(0); ; shift += 7 {
  2731. if shift >= 64 {
  2732. return ErrIntOverflowGenerated
  2733. }
  2734. if iNdEx >= l {
  2735. return io.ErrUnexpectedEOF
  2736. }
  2737. b := data[iNdEx]
  2738. iNdEx++
  2739. msglen |= (int(b) & 0x7F) << shift
  2740. if b < 0x80 {
  2741. break
  2742. }
  2743. }
  2744. if msglen < 0 {
  2745. return ErrInvalidLengthGenerated
  2746. }
  2747. postIndex := iNdEx + msglen
  2748. if postIndex > l {
  2749. return io.ErrUnexpectedEOF
  2750. }
  2751. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  2752. return err
  2753. }
  2754. iNdEx = postIndex
  2755. case 2:
  2756. if wireType != 2 {
  2757. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  2758. }
  2759. var msglen int
  2760. for shift := uint(0); ; shift += 7 {
  2761. if shift >= 64 {
  2762. return ErrIntOverflowGenerated
  2763. }
  2764. if iNdEx >= l {
  2765. return io.ErrUnexpectedEOF
  2766. }
  2767. b := data[iNdEx]
  2768. iNdEx++
  2769. msglen |= (int(b) & 0x7F) << shift
  2770. if b < 0x80 {
  2771. break
  2772. }
  2773. }
  2774. if msglen < 0 {
  2775. return ErrInvalidLengthGenerated
  2776. }
  2777. postIndex := iNdEx + msglen
  2778. if postIndex > l {
  2779. return io.ErrUnexpectedEOF
  2780. }
  2781. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  2782. return err
  2783. }
  2784. iNdEx = postIndex
  2785. case 3:
  2786. if wireType != 2 {
  2787. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  2788. }
  2789. var msglen int
  2790. for shift := uint(0); ; shift += 7 {
  2791. if shift >= 64 {
  2792. return ErrIntOverflowGenerated
  2793. }
  2794. if iNdEx >= l {
  2795. return io.ErrUnexpectedEOF
  2796. }
  2797. b := data[iNdEx]
  2798. iNdEx++
  2799. msglen |= (int(b) & 0x7F) << shift
  2800. if b < 0x80 {
  2801. break
  2802. }
  2803. }
  2804. if msglen < 0 {
  2805. return ErrInvalidLengthGenerated
  2806. }
  2807. postIndex := iNdEx + msglen
  2808. if postIndex > l {
  2809. return io.ErrUnexpectedEOF
  2810. }
  2811. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  2812. return err
  2813. }
  2814. iNdEx = postIndex
  2815. default:
  2816. iNdEx = preIndex
  2817. skippy, err := skipGenerated(data[iNdEx:])
  2818. if err != nil {
  2819. return err
  2820. }
  2821. if skippy < 0 {
  2822. return ErrInvalidLengthGenerated
  2823. }
  2824. if (iNdEx + skippy) > l {
  2825. return io.ErrUnexpectedEOF
  2826. }
  2827. iNdEx += skippy
  2828. }
  2829. }
  2830. if iNdEx > l {
  2831. return io.ErrUnexpectedEOF
  2832. }
  2833. return nil
  2834. }
  2835. func (m *ScaleSpec) Unmarshal(data []byte) error {
  2836. l := len(data)
  2837. iNdEx := 0
  2838. for iNdEx < l {
  2839. preIndex := iNdEx
  2840. var wire uint64
  2841. for shift := uint(0); ; shift += 7 {
  2842. if shift >= 64 {
  2843. return ErrIntOverflowGenerated
  2844. }
  2845. if iNdEx >= l {
  2846. return io.ErrUnexpectedEOF
  2847. }
  2848. b := data[iNdEx]
  2849. iNdEx++
  2850. wire |= (uint64(b) & 0x7F) << shift
  2851. if b < 0x80 {
  2852. break
  2853. }
  2854. }
  2855. fieldNum := int32(wire >> 3)
  2856. wireType := int(wire & 0x7)
  2857. if wireType == 4 {
  2858. return fmt.Errorf("proto: ScaleSpec: wiretype end group for non-group")
  2859. }
  2860. if fieldNum <= 0 {
  2861. return fmt.Errorf("proto: ScaleSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  2862. }
  2863. switch fieldNum {
  2864. case 1:
  2865. if wireType != 0 {
  2866. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  2867. }
  2868. m.Replicas = 0
  2869. for shift := uint(0); ; shift += 7 {
  2870. if shift >= 64 {
  2871. return ErrIntOverflowGenerated
  2872. }
  2873. if iNdEx >= l {
  2874. return io.ErrUnexpectedEOF
  2875. }
  2876. b := data[iNdEx]
  2877. iNdEx++
  2878. m.Replicas |= (int32(b) & 0x7F) << shift
  2879. if b < 0x80 {
  2880. break
  2881. }
  2882. }
  2883. default:
  2884. iNdEx = preIndex
  2885. skippy, err := skipGenerated(data[iNdEx:])
  2886. if err != nil {
  2887. return err
  2888. }
  2889. if skippy < 0 {
  2890. return ErrInvalidLengthGenerated
  2891. }
  2892. if (iNdEx + skippy) > l {
  2893. return io.ErrUnexpectedEOF
  2894. }
  2895. iNdEx += skippy
  2896. }
  2897. }
  2898. if iNdEx > l {
  2899. return io.ErrUnexpectedEOF
  2900. }
  2901. return nil
  2902. }
  2903. func (m *ScaleStatus) Unmarshal(data []byte) error {
  2904. l := len(data)
  2905. iNdEx := 0
  2906. for iNdEx < l {
  2907. preIndex := iNdEx
  2908. var wire uint64
  2909. for shift := uint(0); ; shift += 7 {
  2910. if shift >= 64 {
  2911. return ErrIntOverflowGenerated
  2912. }
  2913. if iNdEx >= l {
  2914. return io.ErrUnexpectedEOF
  2915. }
  2916. b := data[iNdEx]
  2917. iNdEx++
  2918. wire |= (uint64(b) & 0x7F) << shift
  2919. if b < 0x80 {
  2920. break
  2921. }
  2922. }
  2923. fieldNum := int32(wire >> 3)
  2924. wireType := int(wire & 0x7)
  2925. if wireType == 4 {
  2926. return fmt.Errorf("proto: ScaleStatus: wiretype end group for non-group")
  2927. }
  2928. if fieldNum <= 0 {
  2929. return fmt.Errorf("proto: ScaleStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  2930. }
  2931. switch fieldNum {
  2932. case 1:
  2933. if wireType != 0 {
  2934. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  2935. }
  2936. m.Replicas = 0
  2937. for shift := uint(0); ; shift += 7 {
  2938. if shift >= 64 {
  2939. return ErrIntOverflowGenerated
  2940. }
  2941. if iNdEx >= l {
  2942. return io.ErrUnexpectedEOF
  2943. }
  2944. b := data[iNdEx]
  2945. iNdEx++
  2946. m.Replicas |= (int32(b) & 0x7F) << shift
  2947. if b < 0x80 {
  2948. break
  2949. }
  2950. }
  2951. case 2:
  2952. if wireType != 2 {
  2953. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  2954. }
  2955. var msglen int
  2956. for shift := uint(0); ; shift += 7 {
  2957. if shift >= 64 {
  2958. return ErrIntOverflowGenerated
  2959. }
  2960. if iNdEx >= l {
  2961. return io.ErrUnexpectedEOF
  2962. }
  2963. b := data[iNdEx]
  2964. iNdEx++
  2965. msglen |= (int(b) & 0x7F) << shift
  2966. if b < 0x80 {
  2967. break
  2968. }
  2969. }
  2970. if msglen < 0 {
  2971. return ErrInvalidLengthGenerated
  2972. }
  2973. postIndex := iNdEx + msglen
  2974. if postIndex > l {
  2975. return io.ErrUnexpectedEOF
  2976. }
  2977. var keykey uint64
  2978. for shift := uint(0); ; shift += 7 {
  2979. if shift >= 64 {
  2980. return ErrIntOverflowGenerated
  2981. }
  2982. if iNdEx >= l {
  2983. return io.ErrUnexpectedEOF
  2984. }
  2985. b := data[iNdEx]
  2986. iNdEx++
  2987. keykey |= (uint64(b) & 0x7F) << shift
  2988. if b < 0x80 {
  2989. break
  2990. }
  2991. }
  2992. var stringLenmapkey uint64
  2993. for shift := uint(0); ; shift += 7 {
  2994. if shift >= 64 {
  2995. return ErrIntOverflowGenerated
  2996. }
  2997. if iNdEx >= l {
  2998. return io.ErrUnexpectedEOF
  2999. }
  3000. b := data[iNdEx]
  3001. iNdEx++
  3002. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  3003. if b < 0x80 {
  3004. break
  3005. }
  3006. }
  3007. intStringLenmapkey := int(stringLenmapkey)
  3008. if intStringLenmapkey < 0 {
  3009. return ErrInvalidLengthGenerated
  3010. }
  3011. postStringIndexmapkey := iNdEx + intStringLenmapkey
  3012. if postStringIndexmapkey > l {
  3013. return io.ErrUnexpectedEOF
  3014. }
  3015. mapkey := string(data[iNdEx:postStringIndexmapkey])
  3016. iNdEx = postStringIndexmapkey
  3017. var valuekey uint64
  3018. for shift := uint(0); ; shift += 7 {
  3019. if shift >= 64 {
  3020. return ErrIntOverflowGenerated
  3021. }
  3022. if iNdEx >= l {
  3023. return io.ErrUnexpectedEOF
  3024. }
  3025. b := data[iNdEx]
  3026. iNdEx++
  3027. valuekey |= (uint64(b) & 0x7F) << shift
  3028. if b < 0x80 {
  3029. break
  3030. }
  3031. }
  3032. var stringLenmapvalue uint64
  3033. for shift := uint(0); ; shift += 7 {
  3034. if shift >= 64 {
  3035. return ErrIntOverflowGenerated
  3036. }
  3037. if iNdEx >= l {
  3038. return io.ErrUnexpectedEOF
  3039. }
  3040. b := data[iNdEx]
  3041. iNdEx++
  3042. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  3043. if b < 0x80 {
  3044. break
  3045. }
  3046. }
  3047. intStringLenmapvalue := int(stringLenmapvalue)
  3048. if intStringLenmapvalue < 0 {
  3049. return ErrInvalidLengthGenerated
  3050. }
  3051. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  3052. if postStringIndexmapvalue > l {
  3053. return io.ErrUnexpectedEOF
  3054. }
  3055. mapvalue := string(data[iNdEx:postStringIndexmapvalue])
  3056. iNdEx = postStringIndexmapvalue
  3057. if m.Selector == nil {
  3058. m.Selector = make(map[string]string)
  3059. }
  3060. m.Selector[mapkey] = mapvalue
  3061. iNdEx = postIndex
  3062. case 3:
  3063. if wireType != 2 {
  3064. return fmt.Errorf("proto: wrong wireType = %d for field TargetSelector", wireType)
  3065. }
  3066. var stringLen uint64
  3067. for shift := uint(0); ; shift += 7 {
  3068. if shift >= 64 {
  3069. return ErrIntOverflowGenerated
  3070. }
  3071. if iNdEx >= l {
  3072. return io.ErrUnexpectedEOF
  3073. }
  3074. b := data[iNdEx]
  3075. iNdEx++
  3076. stringLen |= (uint64(b) & 0x7F) << shift
  3077. if b < 0x80 {
  3078. break
  3079. }
  3080. }
  3081. intStringLen := int(stringLen)
  3082. if intStringLen < 0 {
  3083. return ErrInvalidLengthGenerated
  3084. }
  3085. postIndex := iNdEx + intStringLen
  3086. if postIndex > l {
  3087. return io.ErrUnexpectedEOF
  3088. }
  3089. m.TargetSelector = string(data[iNdEx:postIndex])
  3090. iNdEx = postIndex
  3091. default:
  3092. iNdEx = preIndex
  3093. skippy, err := skipGenerated(data[iNdEx:])
  3094. if err != nil {
  3095. return err
  3096. }
  3097. if skippy < 0 {
  3098. return ErrInvalidLengthGenerated
  3099. }
  3100. if (iNdEx + skippy) > l {
  3101. return io.ErrUnexpectedEOF
  3102. }
  3103. iNdEx += skippy
  3104. }
  3105. }
  3106. if iNdEx > l {
  3107. return io.ErrUnexpectedEOF
  3108. }
  3109. return nil
  3110. }
  3111. func (m *StatefulSet) Unmarshal(data []byte) error {
  3112. l := len(data)
  3113. iNdEx := 0
  3114. for iNdEx < l {
  3115. preIndex := iNdEx
  3116. var wire uint64
  3117. for shift := uint(0); ; shift += 7 {
  3118. if shift >= 64 {
  3119. return ErrIntOverflowGenerated
  3120. }
  3121. if iNdEx >= l {
  3122. return io.ErrUnexpectedEOF
  3123. }
  3124. b := data[iNdEx]
  3125. iNdEx++
  3126. wire |= (uint64(b) & 0x7F) << shift
  3127. if b < 0x80 {
  3128. break
  3129. }
  3130. }
  3131. fieldNum := int32(wire >> 3)
  3132. wireType := int(wire & 0x7)
  3133. if wireType == 4 {
  3134. return fmt.Errorf("proto: StatefulSet: wiretype end group for non-group")
  3135. }
  3136. if fieldNum <= 0 {
  3137. return fmt.Errorf("proto: StatefulSet: illegal tag %d (wire type %d)", fieldNum, wire)
  3138. }
  3139. switch fieldNum {
  3140. case 1:
  3141. if wireType != 2 {
  3142. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  3143. }
  3144. var msglen int
  3145. for shift := uint(0); ; shift += 7 {
  3146. if shift >= 64 {
  3147. return ErrIntOverflowGenerated
  3148. }
  3149. if iNdEx >= l {
  3150. return io.ErrUnexpectedEOF
  3151. }
  3152. b := data[iNdEx]
  3153. iNdEx++
  3154. msglen |= (int(b) & 0x7F) << shift
  3155. if b < 0x80 {
  3156. break
  3157. }
  3158. }
  3159. if msglen < 0 {
  3160. return ErrInvalidLengthGenerated
  3161. }
  3162. postIndex := iNdEx + msglen
  3163. if postIndex > l {
  3164. return io.ErrUnexpectedEOF
  3165. }
  3166. if err := m.ObjectMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  3167. return err
  3168. }
  3169. iNdEx = postIndex
  3170. case 2:
  3171. if wireType != 2 {
  3172. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  3173. }
  3174. var msglen int
  3175. for shift := uint(0); ; shift += 7 {
  3176. if shift >= 64 {
  3177. return ErrIntOverflowGenerated
  3178. }
  3179. if iNdEx >= l {
  3180. return io.ErrUnexpectedEOF
  3181. }
  3182. b := data[iNdEx]
  3183. iNdEx++
  3184. msglen |= (int(b) & 0x7F) << shift
  3185. if b < 0x80 {
  3186. break
  3187. }
  3188. }
  3189. if msglen < 0 {
  3190. return ErrInvalidLengthGenerated
  3191. }
  3192. postIndex := iNdEx + msglen
  3193. if postIndex > l {
  3194. return io.ErrUnexpectedEOF
  3195. }
  3196. if err := m.Spec.Unmarshal(data[iNdEx:postIndex]); err != nil {
  3197. return err
  3198. }
  3199. iNdEx = postIndex
  3200. case 3:
  3201. if wireType != 2 {
  3202. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  3203. }
  3204. var msglen int
  3205. for shift := uint(0); ; shift += 7 {
  3206. if shift >= 64 {
  3207. return ErrIntOverflowGenerated
  3208. }
  3209. if iNdEx >= l {
  3210. return io.ErrUnexpectedEOF
  3211. }
  3212. b := data[iNdEx]
  3213. iNdEx++
  3214. msglen |= (int(b) & 0x7F) << shift
  3215. if b < 0x80 {
  3216. break
  3217. }
  3218. }
  3219. if msglen < 0 {
  3220. return ErrInvalidLengthGenerated
  3221. }
  3222. postIndex := iNdEx + msglen
  3223. if postIndex > l {
  3224. return io.ErrUnexpectedEOF
  3225. }
  3226. if err := m.Status.Unmarshal(data[iNdEx:postIndex]); err != nil {
  3227. return err
  3228. }
  3229. iNdEx = postIndex
  3230. default:
  3231. iNdEx = preIndex
  3232. skippy, err := skipGenerated(data[iNdEx:])
  3233. if err != nil {
  3234. return err
  3235. }
  3236. if skippy < 0 {
  3237. return ErrInvalidLengthGenerated
  3238. }
  3239. if (iNdEx + skippy) > l {
  3240. return io.ErrUnexpectedEOF
  3241. }
  3242. iNdEx += skippy
  3243. }
  3244. }
  3245. if iNdEx > l {
  3246. return io.ErrUnexpectedEOF
  3247. }
  3248. return nil
  3249. }
  3250. func (m *StatefulSetList) Unmarshal(data []byte) error {
  3251. l := len(data)
  3252. iNdEx := 0
  3253. for iNdEx < l {
  3254. preIndex := iNdEx
  3255. var wire uint64
  3256. for shift := uint(0); ; shift += 7 {
  3257. if shift >= 64 {
  3258. return ErrIntOverflowGenerated
  3259. }
  3260. if iNdEx >= l {
  3261. return io.ErrUnexpectedEOF
  3262. }
  3263. b := data[iNdEx]
  3264. iNdEx++
  3265. wire |= (uint64(b) & 0x7F) << shift
  3266. if b < 0x80 {
  3267. break
  3268. }
  3269. }
  3270. fieldNum := int32(wire >> 3)
  3271. wireType := int(wire & 0x7)
  3272. if wireType == 4 {
  3273. return fmt.Errorf("proto: StatefulSetList: wiretype end group for non-group")
  3274. }
  3275. if fieldNum <= 0 {
  3276. return fmt.Errorf("proto: StatefulSetList: illegal tag %d (wire type %d)", fieldNum, wire)
  3277. }
  3278. switch fieldNum {
  3279. case 1:
  3280. if wireType != 2 {
  3281. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  3282. }
  3283. var msglen int
  3284. for shift := uint(0); ; shift += 7 {
  3285. if shift >= 64 {
  3286. return ErrIntOverflowGenerated
  3287. }
  3288. if iNdEx >= l {
  3289. return io.ErrUnexpectedEOF
  3290. }
  3291. b := data[iNdEx]
  3292. iNdEx++
  3293. msglen |= (int(b) & 0x7F) << shift
  3294. if b < 0x80 {
  3295. break
  3296. }
  3297. }
  3298. if msglen < 0 {
  3299. return ErrInvalidLengthGenerated
  3300. }
  3301. postIndex := iNdEx + msglen
  3302. if postIndex > l {
  3303. return io.ErrUnexpectedEOF
  3304. }
  3305. if err := m.ListMeta.Unmarshal(data[iNdEx:postIndex]); err != nil {
  3306. return err
  3307. }
  3308. iNdEx = postIndex
  3309. case 2:
  3310. if wireType != 2 {
  3311. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  3312. }
  3313. var msglen int
  3314. for shift := uint(0); ; shift += 7 {
  3315. if shift >= 64 {
  3316. return ErrIntOverflowGenerated
  3317. }
  3318. if iNdEx >= l {
  3319. return io.ErrUnexpectedEOF
  3320. }
  3321. b := data[iNdEx]
  3322. iNdEx++
  3323. msglen |= (int(b) & 0x7F) << shift
  3324. if b < 0x80 {
  3325. break
  3326. }
  3327. }
  3328. if msglen < 0 {
  3329. return ErrInvalidLengthGenerated
  3330. }
  3331. postIndex := iNdEx + msglen
  3332. if postIndex > l {
  3333. return io.ErrUnexpectedEOF
  3334. }
  3335. m.Items = append(m.Items, StatefulSet{})
  3336. if err := m.Items[len(m.Items)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  3337. return err
  3338. }
  3339. iNdEx = postIndex
  3340. default:
  3341. iNdEx = preIndex
  3342. skippy, err := skipGenerated(data[iNdEx:])
  3343. if err != nil {
  3344. return err
  3345. }
  3346. if skippy < 0 {
  3347. return ErrInvalidLengthGenerated
  3348. }
  3349. if (iNdEx + skippy) > l {
  3350. return io.ErrUnexpectedEOF
  3351. }
  3352. iNdEx += skippy
  3353. }
  3354. }
  3355. if iNdEx > l {
  3356. return io.ErrUnexpectedEOF
  3357. }
  3358. return nil
  3359. }
  3360. func (m *StatefulSetSpec) Unmarshal(data []byte) error {
  3361. l := len(data)
  3362. iNdEx := 0
  3363. for iNdEx < l {
  3364. preIndex := iNdEx
  3365. var wire uint64
  3366. for shift := uint(0); ; shift += 7 {
  3367. if shift >= 64 {
  3368. return ErrIntOverflowGenerated
  3369. }
  3370. if iNdEx >= l {
  3371. return io.ErrUnexpectedEOF
  3372. }
  3373. b := data[iNdEx]
  3374. iNdEx++
  3375. wire |= (uint64(b) & 0x7F) << shift
  3376. if b < 0x80 {
  3377. break
  3378. }
  3379. }
  3380. fieldNum := int32(wire >> 3)
  3381. wireType := int(wire & 0x7)
  3382. if wireType == 4 {
  3383. return fmt.Errorf("proto: StatefulSetSpec: wiretype end group for non-group")
  3384. }
  3385. if fieldNum <= 0 {
  3386. return fmt.Errorf("proto: StatefulSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  3387. }
  3388. switch fieldNum {
  3389. case 1:
  3390. if wireType != 0 {
  3391. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  3392. }
  3393. var v int32
  3394. for shift := uint(0); ; shift += 7 {
  3395. if shift >= 64 {
  3396. return ErrIntOverflowGenerated
  3397. }
  3398. if iNdEx >= l {
  3399. return io.ErrUnexpectedEOF
  3400. }
  3401. b := data[iNdEx]
  3402. iNdEx++
  3403. v |= (int32(b) & 0x7F) << shift
  3404. if b < 0x80 {
  3405. break
  3406. }
  3407. }
  3408. m.Replicas = &v
  3409. case 2:
  3410. if wireType != 2 {
  3411. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  3412. }
  3413. var msglen int
  3414. for shift := uint(0); ; shift += 7 {
  3415. if shift >= 64 {
  3416. return ErrIntOverflowGenerated
  3417. }
  3418. if iNdEx >= l {
  3419. return io.ErrUnexpectedEOF
  3420. }
  3421. b := data[iNdEx]
  3422. iNdEx++
  3423. msglen |= (int(b) & 0x7F) << shift
  3424. if b < 0x80 {
  3425. break
  3426. }
  3427. }
  3428. if msglen < 0 {
  3429. return ErrInvalidLengthGenerated
  3430. }
  3431. postIndex := iNdEx + msglen
  3432. if postIndex > l {
  3433. return io.ErrUnexpectedEOF
  3434. }
  3435. if m.Selector == nil {
  3436. m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  3437. }
  3438. if err := m.Selector.Unmarshal(data[iNdEx:postIndex]); err != nil {
  3439. return err
  3440. }
  3441. iNdEx = postIndex
  3442. case 3:
  3443. if wireType != 2 {
  3444. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  3445. }
  3446. var msglen int
  3447. for shift := uint(0); ; shift += 7 {
  3448. if shift >= 64 {
  3449. return ErrIntOverflowGenerated
  3450. }
  3451. if iNdEx >= l {
  3452. return io.ErrUnexpectedEOF
  3453. }
  3454. b := data[iNdEx]
  3455. iNdEx++
  3456. msglen |= (int(b) & 0x7F) << shift
  3457. if b < 0x80 {
  3458. break
  3459. }
  3460. }
  3461. if msglen < 0 {
  3462. return ErrInvalidLengthGenerated
  3463. }
  3464. postIndex := iNdEx + msglen
  3465. if postIndex > l {
  3466. return io.ErrUnexpectedEOF
  3467. }
  3468. if err := m.Template.Unmarshal(data[iNdEx:postIndex]); err != nil {
  3469. return err
  3470. }
  3471. iNdEx = postIndex
  3472. case 4:
  3473. if wireType != 2 {
  3474. return fmt.Errorf("proto: wrong wireType = %d for field VolumeClaimTemplates", wireType)
  3475. }
  3476. var msglen int
  3477. for shift := uint(0); ; shift += 7 {
  3478. if shift >= 64 {
  3479. return ErrIntOverflowGenerated
  3480. }
  3481. if iNdEx >= l {
  3482. return io.ErrUnexpectedEOF
  3483. }
  3484. b := data[iNdEx]
  3485. iNdEx++
  3486. msglen |= (int(b) & 0x7F) << shift
  3487. if b < 0x80 {
  3488. break
  3489. }
  3490. }
  3491. if msglen < 0 {
  3492. return ErrInvalidLengthGenerated
  3493. }
  3494. postIndex := iNdEx + msglen
  3495. if postIndex > l {
  3496. return io.ErrUnexpectedEOF
  3497. }
  3498. m.VolumeClaimTemplates = append(m.VolumeClaimTemplates, k8s_io_kubernetes_pkg_api_v1.PersistentVolumeClaim{})
  3499. if err := m.VolumeClaimTemplates[len(m.VolumeClaimTemplates)-1].Unmarshal(data[iNdEx:postIndex]); err != nil {
  3500. return err
  3501. }
  3502. iNdEx = postIndex
  3503. case 5:
  3504. if wireType != 2 {
  3505. return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType)
  3506. }
  3507. var stringLen uint64
  3508. for shift := uint(0); ; shift += 7 {
  3509. if shift >= 64 {
  3510. return ErrIntOverflowGenerated
  3511. }
  3512. if iNdEx >= l {
  3513. return io.ErrUnexpectedEOF
  3514. }
  3515. b := data[iNdEx]
  3516. iNdEx++
  3517. stringLen |= (uint64(b) & 0x7F) << shift
  3518. if b < 0x80 {
  3519. break
  3520. }
  3521. }
  3522. intStringLen := int(stringLen)
  3523. if intStringLen < 0 {
  3524. return ErrInvalidLengthGenerated
  3525. }
  3526. postIndex := iNdEx + intStringLen
  3527. if postIndex > l {
  3528. return io.ErrUnexpectedEOF
  3529. }
  3530. m.ServiceName = string(data[iNdEx:postIndex])
  3531. iNdEx = postIndex
  3532. default:
  3533. iNdEx = preIndex
  3534. skippy, err := skipGenerated(data[iNdEx:])
  3535. if err != nil {
  3536. return err
  3537. }
  3538. if skippy < 0 {
  3539. return ErrInvalidLengthGenerated
  3540. }
  3541. if (iNdEx + skippy) > l {
  3542. return io.ErrUnexpectedEOF
  3543. }
  3544. iNdEx += skippy
  3545. }
  3546. }
  3547. if iNdEx > l {
  3548. return io.ErrUnexpectedEOF
  3549. }
  3550. return nil
  3551. }
  3552. func (m *StatefulSetStatus) Unmarshal(data []byte) error {
  3553. l := len(data)
  3554. iNdEx := 0
  3555. for iNdEx < l {
  3556. preIndex := iNdEx
  3557. var wire uint64
  3558. for shift := uint(0); ; shift += 7 {
  3559. if shift >= 64 {
  3560. return ErrIntOverflowGenerated
  3561. }
  3562. if iNdEx >= l {
  3563. return io.ErrUnexpectedEOF
  3564. }
  3565. b := data[iNdEx]
  3566. iNdEx++
  3567. wire |= (uint64(b) & 0x7F) << shift
  3568. if b < 0x80 {
  3569. break
  3570. }
  3571. }
  3572. fieldNum := int32(wire >> 3)
  3573. wireType := int(wire & 0x7)
  3574. if wireType == 4 {
  3575. return fmt.Errorf("proto: StatefulSetStatus: wiretype end group for non-group")
  3576. }
  3577. if fieldNum <= 0 {
  3578. return fmt.Errorf("proto: StatefulSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  3579. }
  3580. switch fieldNum {
  3581. case 1:
  3582. if wireType != 0 {
  3583. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  3584. }
  3585. var v int64
  3586. for shift := uint(0); ; shift += 7 {
  3587. if shift >= 64 {
  3588. return ErrIntOverflowGenerated
  3589. }
  3590. if iNdEx >= l {
  3591. return io.ErrUnexpectedEOF
  3592. }
  3593. b := data[iNdEx]
  3594. iNdEx++
  3595. v |= (int64(b) & 0x7F) << shift
  3596. if b < 0x80 {
  3597. break
  3598. }
  3599. }
  3600. m.ObservedGeneration = &v
  3601. case 2:
  3602. if wireType != 0 {
  3603. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  3604. }
  3605. m.Replicas = 0
  3606. for shift := uint(0); ; shift += 7 {
  3607. if shift >= 64 {
  3608. return ErrIntOverflowGenerated
  3609. }
  3610. if iNdEx >= l {
  3611. return io.ErrUnexpectedEOF
  3612. }
  3613. b := data[iNdEx]
  3614. iNdEx++
  3615. m.Replicas |= (int32(b) & 0x7F) << shift
  3616. if b < 0x80 {
  3617. break
  3618. }
  3619. }
  3620. default:
  3621. iNdEx = preIndex
  3622. skippy, err := skipGenerated(data[iNdEx:])
  3623. if err != nil {
  3624. return err
  3625. }
  3626. if skippy < 0 {
  3627. return ErrInvalidLengthGenerated
  3628. }
  3629. if (iNdEx + skippy) > l {
  3630. return io.ErrUnexpectedEOF
  3631. }
  3632. iNdEx += skippy
  3633. }
  3634. }
  3635. if iNdEx > l {
  3636. return io.ErrUnexpectedEOF
  3637. }
  3638. return nil
  3639. }
  3640. func skipGenerated(data []byte) (n int, err error) {
  3641. l := len(data)
  3642. iNdEx := 0
  3643. for iNdEx < l {
  3644. var wire uint64
  3645. for shift := uint(0); ; shift += 7 {
  3646. if shift >= 64 {
  3647. return 0, ErrIntOverflowGenerated
  3648. }
  3649. if iNdEx >= l {
  3650. return 0, io.ErrUnexpectedEOF
  3651. }
  3652. b := data[iNdEx]
  3653. iNdEx++
  3654. wire |= (uint64(b) & 0x7F) << shift
  3655. if b < 0x80 {
  3656. break
  3657. }
  3658. }
  3659. wireType := int(wire & 0x7)
  3660. switch wireType {
  3661. case 0:
  3662. for shift := uint(0); ; shift += 7 {
  3663. if shift >= 64 {
  3664. return 0, ErrIntOverflowGenerated
  3665. }
  3666. if iNdEx >= l {
  3667. return 0, io.ErrUnexpectedEOF
  3668. }
  3669. iNdEx++
  3670. if data[iNdEx-1] < 0x80 {
  3671. break
  3672. }
  3673. }
  3674. return iNdEx, nil
  3675. case 1:
  3676. iNdEx += 8
  3677. return iNdEx, nil
  3678. case 2:
  3679. var length int
  3680. for shift := uint(0); ; shift += 7 {
  3681. if shift >= 64 {
  3682. return 0, ErrIntOverflowGenerated
  3683. }
  3684. if iNdEx >= l {
  3685. return 0, io.ErrUnexpectedEOF
  3686. }
  3687. b := data[iNdEx]
  3688. iNdEx++
  3689. length |= (int(b) & 0x7F) << shift
  3690. if b < 0x80 {
  3691. break
  3692. }
  3693. }
  3694. iNdEx += length
  3695. if length < 0 {
  3696. return 0, ErrInvalidLengthGenerated
  3697. }
  3698. return iNdEx, nil
  3699. case 3:
  3700. for {
  3701. var innerWire uint64
  3702. var start int = iNdEx
  3703. for shift := uint(0); ; shift += 7 {
  3704. if shift >= 64 {
  3705. return 0, ErrIntOverflowGenerated
  3706. }
  3707. if iNdEx >= l {
  3708. return 0, io.ErrUnexpectedEOF
  3709. }
  3710. b := data[iNdEx]
  3711. iNdEx++
  3712. innerWire |= (uint64(b) & 0x7F) << shift
  3713. if b < 0x80 {
  3714. break
  3715. }
  3716. }
  3717. innerWireType := int(innerWire & 0x7)
  3718. if innerWireType == 4 {
  3719. break
  3720. }
  3721. next, err := skipGenerated(data[start:])
  3722. if err != nil {
  3723. return 0, err
  3724. }
  3725. iNdEx = start + next
  3726. }
  3727. return iNdEx, nil
  3728. case 4:
  3729. return iNdEx, nil
  3730. case 5:
  3731. iNdEx += 4
  3732. return iNdEx, nil
  3733. default:
  3734. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  3735. }
  3736. }
  3737. panic("unreachable")
  3738. }
  3739. var (
  3740. ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
  3741. ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
  3742. )
  3743. var fileDescriptorGenerated = []byte{
  3744. // 1525 bytes of a gzipped FileDescriptorProto
  3745. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe4, 0x58, 0xcb, 0x6f, 0x5b, 0xc5,
  3746. 0x17, 0xce, 0x4d, 0xec, 0xc4, 0x99, 0x34, 0x4e, 0x33, 0xc9, 0xaf, 0xf1, 0x2f, 0x45, 0x4e, 0xe5,
  3747. 0x45, 0x1f, 0xa8, 0xbd, 0xa6, 0x69, 0xa1, 0x8f, 0x40, 0x45, 0xdc, 0x96, 0x52, 0x94, 0xd0, 0x6a,
  3748. 0xec, 0x54, 0xb4, 0x14, 0x89, 0xb1, 0x3d, 0xbd, 0x9d, 0xfa, 0xbe, 0x74, 0x67, 0x6c, 0xc5, 0x3b,
  3749. 0x36, 0x2c, 0x90, 0x58, 0xb0, 0x62, 0x87, 0xd8, 0x23, 0x24, 0x76, 0xfc, 0x0d, 0x11, 0x6c, 0xba,
  3750. 0x44, 0x2c, 0x22, 0xe2, 0xfe, 0x17, 0x5d, 0xa1, 0x99, 0x3b, 0xf7, 0xe5, 0x6b, 0x27, 0x8e, 0x11,
  3751. 0xdd, 0xb0, 0xf3, 0x9d, 0x39, 0xdf, 0x77, 0xce, 0xcc, 0x7c, 0xe7, 0xcc, 0x19, 0x83, 0x6b, 0xad,
  3752. 0xeb, 0x4c, 0xa7, 0x4e, 0xb9, 0xd5, 0xae, 0x13, 0xcf, 0x26, 0x9c, 0xb0, 0xb2, 0xdb, 0x32, 0xca,
  3753. 0xd8, 0xa5, 0xac, 0x8c, 0x5d, 0x97, 0x95, 0x3b, 0x97, 0xeb, 0x84, 0xe3, 0xcb, 0x65, 0x83, 0xd8,
  3754. 0xc4, 0xc3, 0x9c, 0x34, 0x75, 0xd7, 0x73, 0xb8, 0x03, 0xcf, 0xf9, 0x40, 0x3d, 0x02, 0xea, 0x6e,
  3755. 0xcb, 0xd0, 0x05, 0x50, 0x17, 0x40, 0x5d, 0x01, 0x57, 0x2f, 0x19, 0x94, 0x3f, 0x6f, 0xd7, 0xf5,
  3756. 0x86, 0x63, 0x95, 0x0d, 0xc7, 0x70, 0xca, 0x12, 0x5f, 0x6f, 0x3f, 0x93, 0x5f, 0xf2, 0x43, 0xfe,
  3757. 0xf2, 0x79, 0x57, 0xaf, 0xaa, 0x80, 0xb0, 0x4b, 0x2d, 0xdc, 0x78, 0x4e, 0x6d, 0xe2, 0x75, 0xa3,
  3758. 0x90, 0x2c, 0xc2, 0x71, 0xb9, 0x93, 0x8a, 0x66, 0xb5, 0x3c, 0x0c, 0xe5, 0xb5, 0x6d, 0x4e, 0x2d,
  3759. 0x92, 0x02, 0xbc, 0x77, 0x14, 0x80, 0x35, 0x9e, 0x13, 0x0b, 0xa7, 0x70, 0x57, 0x86, 0xe1, 0xda,
  3760. 0x9c, 0x9a, 0x65, 0x6a, 0x73, 0xc6, 0xbd, 0x14, 0x28, 0xb6, 0x26, 0x46, 0xbc, 0x0e, 0xf1, 0xa2,
  3761. 0x05, 0x91, 0x5d, 0x6c, 0xb9, 0x26, 0x19, 0xb4, 0xa6, 0x8b, 0x43, 0x8f, 0x66, 0x90, 0xf5, 0x07,
  3762. 0x87, 0x1c, 0x24, 0xd9, 0xe5, 0xc4, 0x66, 0xd4, 0xb1, 0x87, 0x1e, 0x67, 0xe9, 0xe7, 0x49, 0x00,
  3763. 0xee, 0x10, 0xd7, 0x74, 0xba, 0x16, 0xb1, 0x39, 0xfc, 0x12, 0xe4, 0xc4, 0x56, 0x37, 0x31, 0xc7,
  3764. 0x05, 0xed, 0x8c, 0x76, 0x7e, 0x6e, 0xfd, 0x1d, 0x5d, 0x1d, 0x78, 0x7c, 0xe5, 0xd1, 0x91, 0x0b,
  3765. 0x6b, 0xbd, 0x73, 0x59, 0x7f, 0x50, 0x7f, 0x41, 0x1a, 0x7c, 0x9b, 0x70, 0x5c, 0x81, 0x7b, 0xfb,
  3766. 0x6b, 0x13, 0xbd, 0xfd, 0x35, 0x10, 0x8d, 0xa1, 0x90, 0x15, 0x3e, 0x06, 0x19, 0xe6, 0x92, 0x46,
  3767. 0x61, 0x52, 0xb2, 0x5f, 0xd3, 0x47, 0x94, 0x93, 0x1e, 0x05, 0x59, 0x75, 0x49, 0xa3, 0x72, 0x42,
  3768. 0x39, 0xc9, 0x88, 0x2f, 0x24, 0x29, 0x21, 0x06, 0xd3, 0x8c, 0x63, 0xde, 0x66, 0x85, 0x29, 0x49,
  3769. 0x7e, 0x63, 0x1c, 0x72, 0x49, 0x50, 0xc9, 0x2b, 0xfa, 0x69, 0xff, 0x1b, 0x29, 0xe2, 0xd2, 0xc1,
  3770. 0x14, 0x58, 0x8a, 0x8c, 0x6f, 0x3b, 0x76, 0x93, 0x72, 0xea, 0xd8, 0x70, 0x03, 0x64, 0x78, 0xd7,
  3771. 0x25, 0x72, 0xcf, 0x66, 0x2b, 0xe7, 0x82, 0xe0, 0x6a, 0x5d, 0x97, 0xbc, 0xde, 0x5f, 0x5b, 0x19,
  3772. 0x00, 0x11, 0x53, 0x48, 0x82, 0xe0, 0xa3, 0x30, 0xee, 0x49, 0x09, 0xbf, 0x95, 0x74, 0xfe, 0x7a,
  3773. 0x7f, 0xed, 0x50, 0x49, 0xe8, 0x21, 0x67, 0x32, 0x58, 0x78, 0x16, 0x4c, 0x7b, 0x04, 0x33, 0xc7,
  3774. 0x2e, 0x64, 0x24, 0x6f, 0xb8, 0x28, 0x24, 0x47, 0x91, 0x9a, 0x85, 0x17, 0xc0, 0x8c, 0x45, 0x18,
  3775. 0xc3, 0x06, 0x29, 0x64, 0xa5, 0xe1, 0x82, 0x32, 0x9c, 0xd9, 0xf6, 0x87, 0x51, 0x30, 0x0f, 0x5f,
  3776. 0x80, 0xbc, 0x89, 0x19, 0xdf, 0x71, 0x9b, 0x98, 0x93, 0x1a, 0xb5, 0x48, 0x61, 0x5a, 0x6e, 0xf5,
  3777. 0xdb, 0xa3, 0xa9, 0x44, 0x20, 0x2a, 0xa7, 0x14, 0x7b, 0x7e, 0x2b, 0xc1, 0x84, 0xfa, 0x98, 0x61,
  3778. 0x07, 0x40, 0x31, 0x52, 0xf3, 0xb0, 0xcd, 0xfc, 0x2d, 0x13, 0xfe, 0x66, 0x8e, 0xed, 0x6f, 0x55,
  3779. 0xf9, 0x83, 0x5b, 0x29, 0x36, 0x34, 0xc0, 0x43, 0x69, 0x4f, 0x03, 0xf9, 0xe8, 0xc0, 0xb6, 0x28,
  3780. 0xe3, 0xf0, 0x69, 0x2a, 0x2d, 0xf4, 0xd1, 0x02, 0x10, 0x68, 0x99, 0x14, 0x27, 0x55, 0x10, 0xb9,
  3781. 0x60, 0x24, 0x96, 0x12, 0x9f, 0x81, 0x2c, 0xe5, 0xc4, 0x12, 0xc7, 0x3f, 0x75, 0x7e, 0x6e, 0xfd,
  3782. 0xca, 0x18, 0xb2, 0xad, 0xcc, 0x2b, 0xfe, 0xec, 0x7d, 0xc1, 0x84, 0x7c, 0xc2, 0xd2, 0xb7, 0x53,
  3783. 0x00, 0x46, 0x46, 0xc8, 0x31, 0xcd, 0x3a, 0x6e, 0xb4, 0xe0, 0x19, 0x90, 0xb1, 0xb1, 0x15, 0xa8,
  3784. 0x35, 0x4c, 0xa5, 0x4f, 0xb1, 0x45, 0x90, 0x9c, 0x81, 0x3f, 0x6a, 0x00, 0xb6, 0xe5, 0x51, 0x34,
  3785. 0x37, 0x6d, 0xdb, 0xe1, 0x58, 0xec, 0x4e, 0x10, 0x60, 0x75, 0x8c, 0x00, 0x03, 0xdf, 0xfa, 0x4e,
  3786. 0x8a, 0xf5, 0xae, 0xcd, 0xbd, 0x6e, 0x74, 0x4a, 0x69, 0x03, 0x34, 0x20, 0x14, 0xd8, 0x02, 0xc0,
  3787. 0x53, 0x9c, 0x35, 0x47, 0x25, 0xfc, 0xe8, 0xd5, 0x24, 0x08, 0xe7, 0xb6, 0x63, 0x3f, 0xa3, 0x46,
  3788. 0x54, 0xb2, 0x50, 0x48, 0x89, 0x62, 0xf4, 0xab, 0x77, 0xc1, 0xca, 0x90, 0xb8, 0xe1, 0x49, 0x30,
  3789. 0xd5, 0x22, 0x5d, 0x7f, 0x2b, 0x91, 0xf8, 0x09, 0x97, 0x41, 0xb6, 0x83, 0xcd, 0x36, 0xf1, 0xb3,
  3790. 0x19, 0xf9, 0x1f, 0x37, 0x27, 0xaf, 0x6b, 0xa5, 0x3f, 0xb3, 0x71, 0x65, 0x89, 0xca, 0x05, 0xcf,
  3791. 0x83, 0x9c, 0x47, 0x5c, 0x93, 0x36, 0x30, 0x93, 0x1c, 0xd9, 0xca, 0x09, 0xa1, 0x12, 0xa4, 0xc6,
  3792. 0x50, 0x38, 0x0b, 0xbf, 0x00, 0x39, 0x46, 0x4c, 0xd2, 0xe0, 0x8e, 0xa7, 0x8a, 0xe7, 0x95, 0x11,
  3793. 0x35, 0x88, 0xeb, 0xc4, 0xac, 0x2a, 0xa8, 0x4f, 0x1f, 0x7c, 0xa1, 0x90, 0x12, 0x7e, 0x0e, 0x72,
  3794. 0x9c, 0x58, 0xae, 0x89, 0x39, 0x51, 0xbb, 0x79, 0x69, 0xf8, 0x6e, 0x0a, 0xda, 0x87, 0x4e, 0xb3,
  3795. 0xa6, 0x00, 0xb2, 0x22, 0x87, 0x0a, 0x0f, 0x46, 0x51, 0x48, 0x08, 0x29, 0xc8, 0x31, 0x2e, 0xae,
  3796. 0x1d, 0xa3, 0x2b, 0x6b, 0xd1, 0xdc, 0xfa, 0xc6, 0x58, 0xb5, 0xd9, 0xa7, 0x88, 0x5c, 0x05, 0x23,
  3797. 0x28, 0xa4, 0x87, 0x9b, 0x60, 0xc1, 0xa2, 0x36, 0x22, 0xb8, 0xd9, 0xad, 0x92, 0x86, 0x63, 0x37,
  3798. 0x99, 0x2c, 0x6a, 0xd9, 0xca, 0x8a, 0x02, 0x2d, 0x6c, 0x27, 0xa7, 0x51, 0xbf, 0x3d, 0xdc, 0x02,
  3799. 0xcb, 0x1e, 0xe9, 0x50, 0x71, 0x71, 0x7e, 0x4c, 0x19, 0x77, 0xbc, 0xee, 0x16, 0xb5, 0x28, 0x97,
  3800. 0xa5, 0x2e, 0x5b, 0x29, 0xf4, 0xf6, 0xd7, 0x96, 0xd1, 0x80, 0x79, 0x34, 0x10, 0x25, 0xaa, 0xb0,
  3801. 0x8b, 0xdb, 0x8c, 0x34, 0x65, 0xe9, 0xca, 0x45, 0x55, 0xf8, 0xa1, 0x1c, 0x45, 0x6a, 0x16, 0x1a,
  3802. 0x09, 0x41, 0xe7, 0xfe, 0x99, 0xa0, 0xf3, 0xc3, 0xc5, 0x0c, 0x77, 0xc0, 0x8a, 0xeb, 0x39, 0x86,
  3803. 0x47, 0x18, 0xbb, 0x43, 0x70, 0xd3, 0xa4, 0x36, 0x09, 0x76, 0x6a, 0x56, 0xae, 0xf0, 0x74, 0x6f,
  3804. 0x7f, 0x6d, 0xe5, 0xe1, 0x60, 0x13, 0x34, 0x0c, 0x5b, 0xfa, 0x3e, 0x03, 0x4e, 0xf6, 0xdf, 0xa3,
  3805. 0xf0, 0x13, 0x00, 0x9d, 0xba, 0xec, 0x7d, 0x9a, 0xf7, 0xfc, 0xce, 0x83, 0x3a, 0xb6, 0x14, 0xfa,
  3806. 0x54, 0x94, 0xf1, 0x0f, 0x52, 0x16, 0x68, 0x00, 0x0a, 0x5e, 0x8c, 0xa5, 0xca, 0xa4, 0x0c, 0x34,
  3807. 0xd4, 0xc1, 0x80, 0x74, 0xd9, 0x04, 0x0b, 0xaa, 0x6a, 0x04, 0x93, 0x52, 0xd6, 0x31, 0x1d, 0xec,
  3808. 0x24, 0xa7, 0x51, 0xbf, 0x3d, 0xbc, 0x07, 0x16, 0x71, 0x07, 0x53, 0x13, 0xd7, 0x4d, 0x12, 0x92,
  3809. 0x64, 0x24, 0xc9, 0xff, 0x15, 0xc9, 0xe2, 0x66, 0xbf, 0x01, 0x4a, 0x63, 0xe0, 0x36, 0x58, 0x6a,
  3810. 0xdb, 0x69, 0x2a, 0x5f, 0x97, 0xa7, 0x15, 0xd5, 0xd2, 0x4e, 0xda, 0x04, 0x0d, 0xc2, 0x41, 0x17,
  3811. 0x80, 0x46, 0x70, 0xe5, 0xb3, 0xc2, 0xb4, 0xac, 0xc9, 0xef, 0x8f, 0x91, 0x4f, 0x61, 0xdf, 0x10,
  3812. 0xd5, 0xbf, 0x70, 0x88, 0xa1, 0x98, 0x0f, 0xb8, 0x01, 0xe6, 0x3d, 0x91, 0x21, 0x61, 0xe8, 0x33,
  3813. 0x32, 0xf4, 0xff, 0x29, 0xd8, 0x3c, 0x8a, 0x4f, 0xa2, 0xa4, 0x6d, 0xe9, 0x77, 0x2d, 0x7e, 0x09,
  3814. 0x05, 0x29, 0x0b, 0x6f, 0x26, 0x5a, 0xa6, 0xb3, 0x7d, 0x2d, 0xd3, 0xa9, 0x34, 0x22, 0xd6, 0x31,
  3815. 0x75, 0xc1, 0xbc, 0x10, 0x34, 0xb5, 0x0d, 0xff, 0x10, 0x55, 0x41, 0xfc, 0xf0, 0x58, 0xe9, 0x12,
  3816. 0xa2, 0x63, 0xd7, 0xe8, 0xa2, 0x5c, 0x4d, 0x7c, 0x12, 0x25, 0x3d, 0x95, 0x6e, 0x81, 0x7c, 0x32,
  3817. 0xd7, 0x7c, 0x5d, 0xfa, 0x89, 0xaf, 0x94, 0x1d, 0xd3, 0xa5, 0x3f, 0x8e, 0x42, 0x8b, 0xd2, 0x2b,
  3818. 0x0d, 0xac, 0x0c, 0xf1, 0x0e, 0x4d, 0x90, 0xb7, 0xf0, 0x6e, 0x4c, 0x07, 0x47, 0xf6, 0xe0, 0xe2,
  3819. 0xf5, 0xa1, 0xfb, 0xaf, 0x0f, 0xfd, 0xbe, 0xcd, 0x1f, 0x78, 0x55, 0xee, 0x51, 0xdb, 0xa8, 0x40,
  3820. 0xd1, 0x5f, 0x6d, 0x27, 0xb8, 0x50, 0x1f, 0x37, 0x7c, 0x02, 0x72, 0x16, 0xde, 0xad, 0xb6, 0x3d,
  3821. 0x23, 0xd8, 0xbf, 0xe3, 0xfb, 0x91, 0xb7, 0xc9, 0xb6, 0x62, 0x41, 0x21, 0x5f, 0xe9, 0x87, 0x49,
  3822. 0x90, 0xad, 0x36, 0xb0, 0x49, 0xde, 0xc0, 0x8b, 0xa2, 0x96, 0x78, 0x51, 0xac, 0x8f, 0xac, 0x01,
  3823. 0x19, 0xdf, 0xd0, 0xc7, 0xc4, 0xd3, 0xbe, 0xc7, 0xc4, 0xd5, 0x63, 0xf2, 0x1e, 0xfe, 0x8e, 0xb8,
  3824. 0x01, 0x66, 0x43, 0xf7, 0x89, 0xc2, 0xa6, 0x1d, 0x55, 0xd8, 0x4a, 0x3f, 0x4d, 0x82, 0xb9, 0x98,
  3825. 0x8b, 0xe3, 0xa1, 0xa1, 0x9b, 0xe8, 0x22, 0x44, 0xe5, 0xa8, 0x8c, 0xb3, 0x30, 0x3d, 0xe8, 0x20,
  3826. 0xfc, 0xe6, 0x2d, 0xba, 0x90, 0xd3, 0x8d, 0xc5, 0x2d, 0x90, 0xe7, 0xd8, 0x33, 0x08, 0x0f, 0xe6,
  3827. 0xe4, 0x86, 0xce, 0x46, 0xcf, 0x80, 0x5a, 0x62, 0x16, 0xf5, 0x59, 0xaf, 0x6e, 0x80, 0xf9, 0x84,
  3828. 0xb3, 0x63, 0x75, 0x5c, 0xbf, 0x88, 0xcd, 0xe2, 0x98, 0x93, 0x67, 0x6d, 0xb3, 0x4a, 0xde, 0xc4,
  3829. 0xfb, 0xf6, 0x49, 0x42, 0x8d, 0xd7, 0x47, 0xdf, 0xdc, 0x28, 0xca, 0xa1, 0x9a, 0xac, 0xf7, 0x69,
  3830. 0xf2, 0xe6, 0x58, 0xec, 0x87, 0x2b, 0xf3, 0x37, 0x0d, 0x2c, 0xc4, 0xac, 0xdf, 0xc0, 0xf3, 0xe7,
  3831. 0x71, 0xf2, 0xf9, 0x73, 0x75, 0x9c, 0x45, 0x0d, 0x79, 0xff, 0xfc, 0x3a, 0x95, 0x58, 0xcc, 0x7f,
  3832. 0xa8, 0xe3, 0xfe, 0x5a, 0x03, 0xcb, 0x1d, 0xc7, 0x6c, 0x5b, 0xe4, 0xb6, 0x89, 0xa9, 0x15, 0x58,
  3833. 0x88, 0xfe, 0xe5, 0x88, 0x37, 0xa6, 0xf4, 0x44, 0x3c, 0x46, 0x19, 0x27, 0x36, 0x7f, 0x14, 0x71,
  3834. 0x54, 0xde, 0x52, 0xfe, 0x96, 0x1f, 0x0d, 0x20, 0x46, 0x03, 0xdd, 0xc1, 0x77, 0xc1, 0x9c, 0x68,
  3835. 0xe4, 0x68, 0x83, 0x88, 0xd7, 0xa5, 0xfa, 0x7f, 0x61, 0x49, 0x11, 0xcd, 0x55, 0xa3, 0x29, 0x14,
  3836. 0xb7, 0x2b, 0x7d, 0xa3, 0x81, 0xc5, 0x94, 0x66, 0xe1, 0x47, 0x87, 0x74, 0x93, 0xa7, 0xfe, 0xad,
  3837. 0x4e, 0xb2, 0x72, 0x61, 0xef, 0xa0, 0x38, 0xf1, 0xf2, 0xa0, 0x38, 0xf1, 0xc7, 0x41, 0x71, 0xe2,
  3838. 0xab, 0x5e, 0x51, 0xdb, 0xeb, 0x15, 0xb5, 0x97, 0xbd, 0xa2, 0xf6, 0x57, 0xaf, 0xa8, 0x7d, 0xf7,
  3839. 0xaa, 0x38, 0xf1, 0x64, 0x46, 0x29, 0xf2, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd6, 0xb9, 0xde,
  3840. 0x1a, 0x56, 0x15, 0x00, 0x00,
  3841. }