generated.pb.go 217 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772
  1. /*
  2. Copyright The Kubernetes Authors.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  14. // source: k8s.io/kubernetes/vendor/k8s.io/api/apps/v1/generated.proto
  15. package v1
  16. import (
  17. fmt "fmt"
  18. io "io"
  19. proto "github.com/gogo/protobuf/proto"
  20. k8s_io_api_core_v1 "k8s.io/api/core/v1"
  21. v11 "k8s.io/api/core/v1"
  22. v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  23. math "math"
  24. math_bits "math/bits"
  25. reflect "reflect"
  26. strings "strings"
  27. intstr "k8s.io/apimachinery/pkg/util/intstr"
  28. )
  29. // Reference imports to suppress errors if they are not otherwise used.
  30. var _ = proto.Marshal
  31. var _ = fmt.Errorf
  32. var _ = math.Inf
  33. // This is a compile-time assertion to ensure that this generated file
  34. // is compatible with the proto package it is being compiled against.
  35. // A compilation error at this line likely means your copy of the
  36. // proto package needs to be updated.
  37. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
  38. func (m *ControllerRevision) Reset() { *m = ControllerRevision{} }
  39. func (*ControllerRevision) ProtoMessage() {}
  40. func (*ControllerRevision) Descriptor() ([]byte, []int) {
  41. return fileDescriptor_e1014cab6f31e43b, []int{0}
  42. }
  43. func (m *ControllerRevision) XXX_Unmarshal(b []byte) error {
  44. return m.Unmarshal(b)
  45. }
  46. func (m *ControllerRevision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  47. b = b[:cap(b)]
  48. n, err := m.MarshalToSizedBuffer(b)
  49. if err != nil {
  50. return nil, err
  51. }
  52. return b[:n], nil
  53. }
  54. func (m *ControllerRevision) XXX_Merge(src proto.Message) {
  55. xxx_messageInfo_ControllerRevision.Merge(m, src)
  56. }
  57. func (m *ControllerRevision) XXX_Size() int {
  58. return m.Size()
  59. }
  60. func (m *ControllerRevision) XXX_DiscardUnknown() {
  61. xxx_messageInfo_ControllerRevision.DiscardUnknown(m)
  62. }
  63. var xxx_messageInfo_ControllerRevision proto.InternalMessageInfo
  64. func (m *ControllerRevisionList) Reset() { *m = ControllerRevisionList{} }
  65. func (*ControllerRevisionList) ProtoMessage() {}
  66. func (*ControllerRevisionList) Descriptor() ([]byte, []int) {
  67. return fileDescriptor_e1014cab6f31e43b, []int{1}
  68. }
  69. func (m *ControllerRevisionList) XXX_Unmarshal(b []byte) error {
  70. return m.Unmarshal(b)
  71. }
  72. func (m *ControllerRevisionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  73. b = b[:cap(b)]
  74. n, err := m.MarshalToSizedBuffer(b)
  75. if err != nil {
  76. return nil, err
  77. }
  78. return b[:n], nil
  79. }
  80. func (m *ControllerRevisionList) XXX_Merge(src proto.Message) {
  81. xxx_messageInfo_ControllerRevisionList.Merge(m, src)
  82. }
  83. func (m *ControllerRevisionList) XXX_Size() int {
  84. return m.Size()
  85. }
  86. func (m *ControllerRevisionList) XXX_DiscardUnknown() {
  87. xxx_messageInfo_ControllerRevisionList.DiscardUnknown(m)
  88. }
  89. var xxx_messageInfo_ControllerRevisionList proto.InternalMessageInfo
  90. func (m *DaemonSet) Reset() { *m = DaemonSet{} }
  91. func (*DaemonSet) ProtoMessage() {}
  92. func (*DaemonSet) Descriptor() ([]byte, []int) {
  93. return fileDescriptor_e1014cab6f31e43b, []int{2}
  94. }
  95. func (m *DaemonSet) XXX_Unmarshal(b []byte) error {
  96. return m.Unmarshal(b)
  97. }
  98. func (m *DaemonSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  99. b = b[:cap(b)]
  100. n, err := m.MarshalToSizedBuffer(b)
  101. if err != nil {
  102. return nil, err
  103. }
  104. return b[:n], nil
  105. }
  106. func (m *DaemonSet) XXX_Merge(src proto.Message) {
  107. xxx_messageInfo_DaemonSet.Merge(m, src)
  108. }
  109. func (m *DaemonSet) XXX_Size() int {
  110. return m.Size()
  111. }
  112. func (m *DaemonSet) XXX_DiscardUnknown() {
  113. xxx_messageInfo_DaemonSet.DiscardUnknown(m)
  114. }
  115. var xxx_messageInfo_DaemonSet proto.InternalMessageInfo
  116. func (m *DaemonSetCondition) Reset() { *m = DaemonSetCondition{} }
  117. func (*DaemonSetCondition) ProtoMessage() {}
  118. func (*DaemonSetCondition) Descriptor() ([]byte, []int) {
  119. return fileDescriptor_e1014cab6f31e43b, []int{3}
  120. }
  121. func (m *DaemonSetCondition) XXX_Unmarshal(b []byte) error {
  122. return m.Unmarshal(b)
  123. }
  124. func (m *DaemonSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  125. b = b[:cap(b)]
  126. n, err := m.MarshalToSizedBuffer(b)
  127. if err != nil {
  128. return nil, err
  129. }
  130. return b[:n], nil
  131. }
  132. func (m *DaemonSetCondition) XXX_Merge(src proto.Message) {
  133. xxx_messageInfo_DaemonSetCondition.Merge(m, src)
  134. }
  135. func (m *DaemonSetCondition) XXX_Size() int {
  136. return m.Size()
  137. }
  138. func (m *DaemonSetCondition) XXX_DiscardUnknown() {
  139. xxx_messageInfo_DaemonSetCondition.DiscardUnknown(m)
  140. }
  141. var xxx_messageInfo_DaemonSetCondition proto.InternalMessageInfo
  142. func (m *DaemonSetList) Reset() { *m = DaemonSetList{} }
  143. func (*DaemonSetList) ProtoMessage() {}
  144. func (*DaemonSetList) Descriptor() ([]byte, []int) {
  145. return fileDescriptor_e1014cab6f31e43b, []int{4}
  146. }
  147. func (m *DaemonSetList) XXX_Unmarshal(b []byte) error {
  148. return m.Unmarshal(b)
  149. }
  150. func (m *DaemonSetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  151. b = b[:cap(b)]
  152. n, err := m.MarshalToSizedBuffer(b)
  153. if err != nil {
  154. return nil, err
  155. }
  156. return b[:n], nil
  157. }
  158. func (m *DaemonSetList) XXX_Merge(src proto.Message) {
  159. xxx_messageInfo_DaemonSetList.Merge(m, src)
  160. }
  161. func (m *DaemonSetList) XXX_Size() int {
  162. return m.Size()
  163. }
  164. func (m *DaemonSetList) XXX_DiscardUnknown() {
  165. xxx_messageInfo_DaemonSetList.DiscardUnknown(m)
  166. }
  167. var xxx_messageInfo_DaemonSetList proto.InternalMessageInfo
  168. func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} }
  169. func (*DaemonSetSpec) ProtoMessage() {}
  170. func (*DaemonSetSpec) Descriptor() ([]byte, []int) {
  171. return fileDescriptor_e1014cab6f31e43b, []int{5}
  172. }
  173. func (m *DaemonSetSpec) XXX_Unmarshal(b []byte) error {
  174. return m.Unmarshal(b)
  175. }
  176. func (m *DaemonSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  177. b = b[:cap(b)]
  178. n, err := m.MarshalToSizedBuffer(b)
  179. if err != nil {
  180. return nil, err
  181. }
  182. return b[:n], nil
  183. }
  184. func (m *DaemonSetSpec) XXX_Merge(src proto.Message) {
  185. xxx_messageInfo_DaemonSetSpec.Merge(m, src)
  186. }
  187. func (m *DaemonSetSpec) XXX_Size() int {
  188. return m.Size()
  189. }
  190. func (m *DaemonSetSpec) XXX_DiscardUnknown() {
  191. xxx_messageInfo_DaemonSetSpec.DiscardUnknown(m)
  192. }
  193. var xxx_messageInfo_DaemonSetSpec proto.InternalMessageInfo
  194. func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} }
  195. func (*DaemonSetStatus) ProtoMessage() {}
  196. func (*DaemonSetStatus) Descriptor() ([]byte, []int) {
  197. return fileDescriptor_e1014cab6f31e43b, []int{6}
  198. }
  199. func (m *DaemonSetStatus) XXX_Unmarshal(b []byte) error {
  200. return m.Unmarshal(b)
  201. }
  202. func (m *DaemonSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  203. b = b[:cap(b)]
  204. n, err := m.MarshalToSizedBuffer(b)
  205. if err != nil {
  206. return nil, err
  207. }
  208. return b[:n], nil
  209. }
  210. func (m *DaemonSetStatus) XXX_Merge(src proto.Message) {
  211. xxx_messageInfo_DaemonSetStatus.Merge(m, src)
  212. }
  213. func (m *DaemonSetStatus) XXX_Size() int {
  214. return m.Size()
  215. }
  216. func (m *DaemonSetStatus) XXX_DiscardUnknown() {
  217. xxx_messageInfo_DaemonSetStatus.DiscardUnknown(m)
  218. }
  219. var xxx_messageInfo_DaemonSetStatus proto.InternalMessageInfo
  220. func (m *DaemonSetUpdateStrategy) Reset() { *m = DaemonSetUpdateStrategy{} }
  221. func (*DaemonSetUpdateStrategy) ProtoMessage() {}
  222. func (*DaemonSetUpdateStrategy) Descriptor() ([]byte, []int) {
  223. return fileDescriptor_e1014cab6f31e43b, []int{7}
  224. }
  225. func (m *DaemonSetUpdateStrategy) XXX_Unmarshal(b []byte) error {
  226. return m.Unmarshal(b)
  227. }
  228. func (m *DaemonSetUpdateStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  229. b = b[:cap(b)]
  230. n, err := m.MarshalToSizedBuffer(b)
  231. if err != nil {
  232. return nil, err
  233. }
  234. return b[:n], nil
  235. }
  236. func (m *DaemonSetUpdateStrategy) XXX_Merge(src proto.Message) {
  237. xxx_messageInfo_DaemonSetUpdateStrategy.Merge(m, src)
  238. }
  239. func (m *DaemonSetUpdateStrategy) XXX_Size() int {
  240. return m.Size()
  241. }
  242. func (m *DaemonSetUpdateStrategy) XXX_DiscardUnknown() {
  243. xxx_messageInfo_DaemonSetUpdateStrategy.DiscardUnknown(m)
  244. }
  245. var xxx_messageInfo_DaemonSetUpdateStrategy proto.InternalMessageInfo
  246. func (m *Deployment) Reset() { *m = Deployment{} }
  247. func (*Deployment) ProtoMessage() {}
  248. func (*Deployment) Descriptor() ([]byte, []int) {
  249. return fileDescriptor_e1014cab6f31e43b, []int{8}
  250. }
  251. func (m *Deployment) XXX_Unmarshal(b []byte) error {
  252. return m.Unmarshal(b)
  253. }
  254. func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  255. b = b[:cap(b)]
  256. n, err := m.MarshalToSizedBuffer(b)
  257. if err != nil {
  258. return nil, err
  259. }
  260. return b[:n], nil
  261. }
  262. func (m *Deployment) XXX_Merge(src proto.Message) {
  263. xxx_messageInfo_Deployment.Merge(m, src)
  264. }
  265. func (m *Deployment) XXX_Size() int {
  266. return m.Size()
  267. }
  268. func (m *Deployment) XXX_DiscardUnknown() {
  269. xxx_messageInfo_Deployment.DiscardUnknown(m)
  270. }
  271. var xxx_messageInfo_Deployment proto.InternalMessageInfo
  272. func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} }
  273. func (*DeploymentCondition) ProtoMessage() {}
  274. func (*DeploymentCondition) Descriptor() ([]byte, []int) {
  275. return fileDescriptor_e1014cab6f31e43b, []int{9}
  276. }
  277. func (m *DeploymentCondition) XXX_Unmarshal(b []byte) error {
  278. return m.Unmarshal(b)
  279. }
  280. func (m *DeploymentCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  281. b = b[:cap(b)]
  282. n, err := m.MarshalToSizedBuffer(b)
  283. if err != nil {
  284. return nil, err
  285. }
  286. return b[:n], nil
  287. }
  288. func (m *DeploymentCondition) XXX_Merge(src proto.Message) {
  289. xxx_messageInfo_DeploymentCondition.Merge(m, src)
  290. }
  291. func (m *DeploymentCondition) XXX_Size() int {
  292. return m.Size()
  293. }
  294. func (m *DeploymentCondition) XXX_DiscardUnknown() {
  295. xxx_messageInfo_DeploymentCondition.DiscardUnknown(m)
  296. }
  297. var xxx_messageInfo_DeploymentCondition proto.InternalMessageInfo
  298. func (m *DeploymentList) Reset() { *m = DeploymentList{} }
  299. func (*DeploymentList) ProtoMessage() {}
  300. func (*DeploymentList) Descriptor() ([]byte, []int) {
  301. return fileDescriptor_e1014cab6f31e43b, []int{10}
  302. }
  303. func (m *DeploymentList) XXX_Unmarshal(b []byte) error {
  304. return m.Unmarshal(b)
  305. }
  306. func (m *DeploymentList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  307. b = b[:cap(b)]
  308. n, err := m.MarshalToSizedBuffer(b)
  309. if err != nil {
  310. return nil, err
  311. }
  312. return b[:n], nil
  313. }
  314. func (m *DeploymentList) XXX_Merge(src proto.Message) {
  315. xxx_messageInfo_DeploymentList.Merge(m, src)
  316. }
  317. func (m *DeploymentList) XXX_Size() int {
  318. return m.Size()
  319. }
  320. func (m *DeploymentList) XXX_DiscardUnknown() {
  321. xxx_messageInfo_DeploymentList.DiscardUnknown(m)
  322. }
  323. var xxx_messageInfo_DeploymentList proto.InternalMessageInfo
  324. func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} }
  325. func (*DeploymentSpec) ProtoMessage() {}
  326. func (*DeploymentSpec) Descriptor() ([]byte, []int) {
  327. return fileDescriptor_e1014cab6f31e43b, []int{11}
  328. }
  329. func (m *DeploymentSpec) XXX_Unmarshal(b []byte) error {
  330. return m.Unmarshal(b)
  331. }
  332. func (m *DeploymentSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  333. b = b[:cap(b)]
  334. n, err := m.MarshalToSizedBuffer(b)
  335. if err != nil {
  336. return nil, err
  337. }
  338. return b[:n], nil
  339. }
  340. func (m *DeploymentSpec) XXX_Merge(src proto.Message) {
  341. xxx_messageInfo_DeploymentSpec.Merge(m, src)
  342. }
  343. func (m *DeploymentSpec) XXX_Size() int {
  344. return m.Size()
  345. }
  346. func (m *DeploymentSpec) XXX_DiscardUnknown() {
  347. xxx_messageInfo_DeploymentSpec.DiscardUnknown(m)
  348. }
  349. var xxx_messageInfo_DeploymentSpec proto.InternalMessageInfo
  350. func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} }
  351. func (*DeploymentStatus) ProtoMessage() {}
  352. func (*DeploymentStatus) Descriptor() ([]byte, []int) {
  353. return fileDescriptor_e1014cab6f31e43b, []int{12}
  354. }
  355. func (m *DeploymentStatus) XXX_Unmarshal(b []byte) error {
  356. return m.Unmarshal(b)
  357. }
  358. func (m *DeploymentStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  359. b = b[:cap(b)]
  360. n, err := m.MarshalToSizedBuffer(b)
  361. if err != nil {
  362. return nil, err
  363. }
  364. return b[:n], nil
  365. }
  366. func (m *DeploymentStatus) XXX_Merge(src proto.Message) {
  367. xxx_messageInfo_DeploymentStatus.Merge(m, src)
  368. }
  369. func (m *DeploymentStatus) XXX_Size() int {
  370. return m.Size()
  371. }
  372. func (m *DeploymentStatus) XXX_DiscardUnknown() {
  373. xxx_messageInfo_DeploymentStatus.DiscardUnknown(m)
  374. }
  375. var xxx_messageInfo_DeploymentStatus proto.InternalMessageInfo
  376. func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} }
  377. func (*DeploymentStrategy) ProtoMessage() {}
  378. func (*DeploymentStrategy) Descriptor() ([]byte, []int) {
  379. return fileDescriptor_e1014cab6f31e43b, []int{13}
  380. }
  381. func (m *DeploymentStrategy) XXX_Unmarshal(b []byte) error {
  382. return m.Unmarshal(b)
  383. }
  384. func (m *DeploymentStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  385. b = b[:cap(b)]
  386. n, err := m.MarshalToSizedBuffer(b)
  387. if err != nil {
  388. return nil, err
  389. }
  390. return b[:n], nil
  391. }
  392. func (m *DeploymentStrategy) XXX_Merge(src proto.Message) {
  393. xxx_messageInfo_DeploymentStrategy.Merge(m, src)
  394. }
  395. func (m *DeploymentStrategy) XXX_Size() int {
  396. return m.Size()
  397. }
  398. func (m *DeploymentStrategy) XXX_DiscardUnknown() {
  399. xxx_messageInfo_DeploymentStrategy.DiscardUnknown(m)
  400. }
  401. var xxx_messageInfo_DeploymentStrategy proto.InternalMessageInfo
  402. func (m *ReplicaSet) Reset() { *m = ReplicaSet{} }
  403. func (*ReplicaSet) ProtoMessage() {}
  404. func (*ReplicaSet) Descriptor() ([]byte, []int) {
  405. return fileDescriptor_e1014cab6f31e43b, []int{14}
  406. }
  407. func (m *ReplicaSet) XXX_Unmarshal(b []byte) error {
  408. return m.Unmarshal(b)
  409. }
  410. func (m *ReplicaSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  411. b = b[:cap(b)]
  412. n, err := m.MarshalToSizedBuffer(b)
  413. if err != nil {
  414. return nil, err
  415. }
  416. return b[:n], nil
  417. }
  418. func (m *ReplicaSet) XXX_Merge(src proto.Message) {
  419. xxx_messageInfo_ReplicaSet.Merge(m, src)
  420. }
  421. func (m *ReplicaSet) XXX_Size() int {
  422. return m.Size()
  423. }
  424. func (m *ReplicaSet) XXX_DiscardUnknown() {
  425. xxx_messageInfo_ReplicaSet.DiscardUnknown(m)
  426. }
  427. var xxx_messageInfo_ReplicaSet proto.InternalMessageInfo
  428. func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} }
  429. func (*ReplicaSetCondition) ProtoMessage() {}
  430. func (*ReplicaSetCondition) Descriptor() ([]byte, []int) {
  431. return fileDescriptor_e1014cab6f31e43b, []int{15}
  432. }
  433. func (m *ReplicaSetCondition) XXX_Unmarshal(b []byte) error {
  434. return m.Unmarshal(b)
  435. }
  436. func (m *ReplicaSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  437. b = b[:cap(b)]
  438. n, err := m.MarshalToSizedBuffer(b)
  439. if err != nil {
  440. return nil, err
  441. }
  442. return b[:n], nil
  443. }
  444. func (m *ReplicaSetCondition) XXX_Merge(src proto.Message) {
  445. xxx_messageInfo_ReplicaSetCondition.Merge(m, src)
  446. }
  447. func (m *ReplicaSetCondition) XXX_Size() int {
  448. return m.Size()
  449. }
  450. func (m *ReplicaSetCondition) XXX_DiscardUnknown() {
  451. xxx_messageInfo_ReplicaSetCondition.DiscardUnknown(m)
  452. }
  453. var xxx_messageInfo_ReplicaSetCondition proto.InternalMessageInfo
  454. func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} }
  455. func (*ReplicaSetList) ProtoMessage() {}
  456. func (*ReplicaSetList) Descriptor() ([]byte, []int) {
  457. return fileDescriptor_e1014cab6f31e43b, []int{16}
  458. }
  459. func (m *ReplicaSetList) XXX_Unmarshal(b []byte) error {
  460. return m.Unmarshal(b)
  461. }
  462. func (m *ReplicaSetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  463. b = b[:cap(b)]
  464. n, err := m.MarshalToSizedBuffer(b)
  465. if err != nil {
  466. return nil, err
  467. }
  468. return b[:n], nil
  469. }
  470. func (m *ReplicaSetList) XXX_Merge(src proto.Message) {
  471. xxx_messageInfo_ReplicaSetList.Merge(m, src)
  472. }
  473. func (m *ReplicaSetList) XXX_Size() int {
  474. return m.Size()
  475. }
  476. func (m *ReplicaSetList) XXX_DiscardUnknown() {
  477. xxx_messageInfo_ReplicaSetList.DiscardUnknown(m)
  478. }
  479. var xxx_messageInfo_ReplicaSetList proto.InternalMessageInfo
  480. func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} }
  481. func (*ReplicaSetSpec) ProtoMessage() {}
  482. func (*ReplicaSetSpec) Descriptor() ([]byte, []int) {
  483. return fileDescriptor_e1014cab6f31e43b, []int{17}
  484. }
  485. func (m *ReplicaSetSpec) XXX_Unmarshal(b []byte) error {
  486. return m.Unmarshal(b)
  487. }
  488. func (m *ReplicaSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  489. b = b[:cap(b)]
  490. n, err := m.MarshalToSizedBuffer(b)
  491. if err != nil {
  492. return nil, err
  493. }
  494. return b[:n], nil
  495. }
  496. func (m *ReplicaSetSpec) XXX_Merge(src proto.Message) {
  497. xxx_messageInfo_ReplicaSetSpec.Merge(m, src)
  498. }
  499. func (m *ReplicaSetSpec) XXX_Size() int {
  500. return m.Size()
  501. }
  502. func (m *ReplicaSetSpec) XXX_DiscardUnknown() {
  503. xxx_messageInfo_ReplicaSetSpec.DiscardUnknown(m)
  504. }
  505. var xxx_messageInfo_ReplicaSetSpec proto.InternalMessageInfo
  506. func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} }
  507. func (*ReplicaSetStatus) ProtoMessage() {}
  508. func (*ReplicaSetStatus) Descriptor() ([]byte, []int) {
  509. return fileDescriptor_e1014cab6f31e43b, []int{18}
  510. }
  511. func (m *ReplicaSetStatus) XXX_Unmarshal(b []byte) error {
  512. return m.Unmarshal(b)
  513. }
  514. func (m *ReplicaSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  515. b = b[:cap(b)]
  516. n, err := m.MarshalToSizedBuffer(b)
  517. if err != nil {
  518. return nil, err
  519. }
  520. return b[:n], nil
  521. }
  522. func (m *ReplicaSetStatus) XXX_Merge(src proto.Message) {
  523. xxx_messageInfo_ReplicaSetStatus.Merge(m, src)
  524. }
  525. func (m *ReplicaSetStatus) XXX_Size() int {
  526. return m.Size()
  527. }
  528. func (m *ReplicaSetStatus) XXX_DiscardUnknown() {
  529. xxx_messageInfo_ReplicaSetStatus.DiscardUnknown(m)
  530. }
  531. var xxx_messageInfo_ReplicaSetStatus proto.InternalMessageInfo
  532. func (m *RollingUpdateDaemonSet) Reset() { *m = RollingUpdateDaemonSet{} }
  533. func (*RollingUpdateDaemonSet) ProtoMessage() {}
  534. func (*RollingUpdateDaemonSet) Descriptor() ([]byte, []int) {
  535. return fileDescriptor_e1014cab6f31e43b, []int{19}
  536. }
  537. func (m *RollingUpdateDaemonSet) XXX_Unmarshal(b []byte) error {
  538. return m.Unmarshal(b)
  539. }
  540. func (m *RollingUpdateDaemonSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  541. b = b[:cap(b)]
  542. n, err := m.MarshalToSizedBuffer(b)
  543. if err != nil {
  544. return nil, err
  545. }
  546. return b[:n], nil
  547. }
  548. func (m *RollingUpdateDaemonSet) XXX_Merge(src proto.Message) {
  549. xxx_messageInfo_RollingUpdateDaemonSet.Merge(m, src)
  550. }
  551. func (m *RollingUpdateDaemonSet) XXX_Size() int {
  552. return m.Size()
  553. }
  554. func (m *RollingUpdateDaemonSet) XXX_DiscardUnknown() {
  555. xxx_messageInfo_RollingUpdateDaemonSet.DiscardUnknown(m)
  556. }
  557. var xxx_messageInfo_RollingUpdateDaemonSet proto.InternalMessageInfo
  558. func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} }
  559. func (*RollingUpdateDeployment) ProtoMessage() {}
  560. func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) {
  561. return fileDescriptor_e1014cab6f31e43b, []int{20}
  562. }
  563. func (m *RollingUpdateDeployment) XXX_Unmarshal(b []byte) error {
  564. return m.Unmarshal(b)
  565. }
  566. func (m *RollingUpdateDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  567. b = b[:cap(b)]
  568. n, err := m.MarshalToSizedBuffer(b)
  569. if err != nil {
  570. return nil, err
  571. }
  572. return b[:n], nil
  573. }
  574. func (m *RollingUpdateDeployment) XXX_Merge(src proto.Message) {
  575. xxx_messageInfo_RollingUpdateDeployment.Merge(m, src)
  576. }
  577. func (m *RollingUpdateDeployment) XXX_Size() int {
  578. return m.Size()
  579. }
  580. func (m *RollingUpdateDeployment) XXX_DiscardUnknown() {
  581. xxx_messageInfo_RollingUpdateDeployment.DiscardUnknown(m)
  582. }
  583. var xxx_messageInfo_RollingUpdateDeployment proto.InternalMessageInfo
  584. func (m *RollingUpdateStatefulSetStrategy) Reset() { *m = RollingUpdateStatefulSetStrategy{} }
  585. func (*RollingUpdateStatefulSetStrategy) ProtoMessage() {}
  586. func (*RollingUpdateStatefulSetStrategy) Descriptor() ([]byte, []int) {
  587. return fileDescriptor_e1014cab6f31e43b, []int{21}
  588. }
  589. func (m *RollingUpdateStatefulSetStrategy) XXX_Unmarshal(b []byte) error {
  590. return m.Unmarshal(b)
  591. }
  592. func (m *RollingUpdateStatefulSetStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  593. b = b[:cap(b)]
  594. n, err := m.MarshalToSizedBuffer(b)
  595. if err != nil {
  596. return nil, err
  597. }
  598. return b[:n], nil
  599. }
  600. func (m *RollingUpdateStatefulSetStrategy) XXX_Merge(src proto.Message) {
  601. xxx_messageInfo_RollingUpdateStatefulSetStrategy.Merge(m, src)
  602. }
  603. func (m *RollingUpdateStatefulSetStrategy) XXX_Size() int {
  604. return m.Size()
  605. }
  606. func (m *RollingUpdateStatefulSetStrategy) XXX_DiscardUnknown() {
  607. xxx_messageInfo_RollingUpdateStatefulSetStrategy.DiscardUnknown(m)
  608. }
  609. var xxx_messageInfo_RollingUpdateStatefulSetStrategy proto.InternalMessageInfo
  610. func (m *StatefulSet) Reset() { *m = StatefulSet{} }
  611. func (*StatefulSet) ProtoMessage() {}
  612. func (*StatefulSet) Descriptor() ([]byte, []int) {
  613. return fileDescriptor_e1014cab6f31e43b, []int{22}
  614. }
  615. func (m *StatefulSet) XXX_Unmarshal(b []byte) error {
  616. return m.Unmarshal(b)
  617. }
  618. func (m *StatefulSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  619. b = b[:cap(b)]
  620. n, err := m.MarshalToSizedBuffer(b)
  621. if err != nil {
  622. return nil, err
  623. }
  624. return b[:n], nil
  625. }
  626. func (m *StatefulSet) XXX_Merge(src proto.Message) {
  627. xxx_messageInfo_StatefulSet.Merge(m, src)
  628. }
  629. func (m *StatefulSet) XXX_Size() int {
  630. return m.Size()
  631. }
  632. func (m *StatefulSet) XXX_DiscardUnknown() {
  633. xxx_messageInfo_StatefulSet.DiscardUnknown(m)
  634. }
  635. var xxx_messageInfo_StatefulSet proto.InternalMessageInfo
  636. func (m *StatefulSetCondition) Reset() { *m = StatefulSetCondition{} }
  637. func (*StatefulSetCondition) ProtoMessage() {}
  638. func (*StatefulSetCondition) Descriptor() ([]byte, []int) {
  639. return fileDescriptor_e1014cab6f31e43b, []int{23}
  640. }
  641. func (m *StatefulSetCondition) XXX_Unmarshal(b []byte) error {
  642. return m.Unmarshal(b)
  643. }
  644. func (m *StatefulSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  645. b = b[:cap(b)]
  646. n, err := m.MarshalToSizedBuffer(b)
  647. if err != nil {
  648. return nil, err
  649. }
  650. return b[:n], nil
  651. }
  652. func (m *StatefulSetCondition) XXX_Merge(src proto.Message) {
  653. xxx_messageInfo_StatefulSetCondition.Merge(m, src)
  654. }
  655. func (m *StatefulSetCondition) XXX_Size() int {
  656. return m.Size()
  657. }
  658. func (m *StatefulSetCondition) XXX_DiscardUnknown() {
  659. xxx_messageInfo_StatefulSetCondition.DiscardUnknown(m)
  660. }
  661. var xxx_messageInfo_StatefulSetCondition proto.InternalMessageInfo
  662. func (m *StatefulSetList) Reset() { *m = StatefulSetList{} }
  663. func (*StatefulSetList) ProtoMessage() {}
  664. func (*StatefulSetList) Descriptor() ([]byte, []int) {
  665. return fileDescriptor_e1014cab6f31e43b, []int{24}
  666. }
  667. func (m *StatefulSetList) XXX_Unmarshal(b []byte) error {
  668. return m.Unmarshal(b)
  669. }
  670. func (m *StatefulSetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  671. b = b[:cap(b)]
  672. n, err := m.MarshalToSizedBuffer(b)
  673. if err != nil {
  674. return nil, err
  675. }
  676. return b[:n], nil
  677. }
  678. func (m *StatefulSetList) XXX_Merge(src proto.Message) {
  679. xxx_messageInfo_StatefulSetList.Merge(m, src)
  680. }
  681. func (m *StatefulSetList) XXX_Size() int {
  682. return m.Size()
  683. }
  684. func (m *StatefulSetList) XXX_DiscardUnknown() {
  685. xxx_messageInfo_StatefulSetList.DiscardUnknown(m)
  686. }
  687. var xxx_messageInfo_StatefulSetList proto.InternalMessageInfo
  688. func (m *StatefulSetOrdinals) Reset() { *m = StatefulSetOrdinals{} }
  689. func (*StatefulSetOrdinals) ProtoMessage() {}
  690. func (*StatefulSetOrdinals) Descriptor() ([]byte, []int) {
  691. return fileDescriptor_e1014cab6f31e43b, []int{25}
  692. }
  693. func (m *StatefulSetOrdinals) XXX_Unmarshal(b []byte) error {
  694. return m.Unmarshal(b)
  695. }
  696. func (m *StatefulSetOrdinals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  697. b = b[:cap(b)]
  698. n, err := m.MarshalToSizedBuffer(b)
  699. if err != nil {
  700. return nil, err
  701. }
  702. return b[:n], nil
  703. }
  704. func (m *StatefulSetOrdinals) XXX_Merge(src proto.Message) {
  705. xxx_messageInfo_StatefulSetOrdinals.Merge(m, src)
  706. }
  707. func (m *StatefulSetOrdinals) XXX_Size() int {
  708. return m.Size()
  709. }
  710. func (m *StatefulSetOrdinals) XXX_DiscardUnknown() {
  711. xxx_messageInfo_StatefulSetOrdinals.DiscardUnknown(m)
  712. }
  713. var xxx_messageInfo_StatefulSetOrdinals proto.InternalMessageInfo
  714. func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) Reset() {
  715. *m = StatefulSetPersistentVolumeClaimRetentionPolicy{}
  716. }
  717. func (*StatefulSetPersistentVolumeClaimRetentionPolicy) ProtoMessage() {}
  718. func (*StatefulSetPersistentVolumeClaimRetentionPolicy) Descriptor() ([]byte, []int) {
  719. return fileDescriptor_e1014cab6f31e43b, []int{26}
  720. }
  721. func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) XXX_Unmarshal(b []byte) error {
  722. return m.Unmarshal(b)
  723. }
  724. func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  725. b = b[:cap(b)]
  726. n, err := m.MarshalToSizedBuffer(b)
  727. if err != nil {
  728. return nil, err
  729. }
  730. return b[:n], nil
  731. }
  732. func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) XXX_Merge(src proto.Message) {
  733. xxx_messageInfo_StatefulSetPersistentVolumeClaimRetentionPolicy.Merge(m, src)
  734. }
  735. func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) XXX_Size() int {
  736. return m.Size()
  737. }
  738. func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) XXX_DiscardUnknown() {
  739. xxx_messageInfo_StatefulSetPersistentVolumeClaimRetentionPolicy.DiscardUnknown(m)
  740. }
  741. var xxx_messageInfo_StatefulSetPersistentVolumeClaimRetentionPolicy proto.InternalMessageInfo
  742. func (m *StatefulSetSpec) Reset() { *m = StatefulSetSpec{} }
  743. func (*StatefulSetSpec) ProtoMessage() {}
  744. func (*StatefulSetSpec) Descriptor() ([]byte, []int) {
  745. return fileDescriptor_e1014cab6f31e43b, []int{27}
  746. }
  747. func (m *StatefulSetSpec) XXX_Unmarshal(b []byte) error {
  748. return m.Unmarshal(b)
  749. }
  750. func (m *StatefulSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  751. b = b[:cap(b)]
  752. n, err := m.MarshalToSizedBuffer(b)
  753. if err != nil {
  754. return nil, err
  755. }
  756. return b[:n], nil
  757. }
  758. func (m *StatefulSetSpec) XXX_Merge(src proto.Message) {
  759. xxx_messageInfo_StatefulSetSpec.Merge(m, src)
  760. }
  761. func (m *StatefulSetSpec) XXX_Size() int {
  762. return m.Size()
  763. }
  764. func (m *StatefulSetSpec) XXX_DiscardUnknown() {
  765. xxx_messageInfo_StatefulSetSpec.DiscardUnknown(m)
  766. }
  767. var xxx_messageInfo_StatefulSetSpec proto.InternalMessageInfo
  768. func (m *StatefulSetStatus) Reset() { *m = StatefulSetStatus{} }
  769. func (*StatefulSetStatus) ProtoMessage() {}
  770. func (*StatefulSetStatus) Descriptor() ([]byte, []int) {
  771. return fileDescriptor_e1014cab6f31e43b, []int{28}
  772. }
  773. func (m *StatefulSetStatus) XXX_Unmarshal(b []byte) error {
  774. return m.Unmarshal(b)
  775. }
  776. func (m *StatefulSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  777. b = b[:cap(b)]
  778. n, err := m.MarshalToSizedBuffer(b)
  779. if err != nil {
  780. return nil, err
  781. }
  782. return b[:n], nil
  783. }
  784. func (m *StatefulSetStatus) XXX_Merge(src proto.Message) {
  785. xxx_messageInfo_StatefulSetStatus.Merge(m, src)
  786. }
  787. func (m *StatefulSetStatus) XXX_Size() int {
  788. return m.Size()
  789. }
  790. func (m *StatefulSetStatus) XXX_DiscardUnknown() {
  791. xxx_messageInfo_StatefulSetStatus.DiscardUnknown(m)
  792. }
  793. var xxx_messageInfo_StatefulSetStatus proto.InternalMessageInfo
  794. func (m *StatefulSetUpdateStrategy) Reset() { *m = StatefulSetUpdateStrategy{} }
  795. func (*StatefulSetUpdateStrategy) ProtoMessage() {}
  796. func (*StatefulSetUpdateStrategy) Descriptor() ([]byte, []int) {
  797. return fileDescriptor_e1014cab6f31e43b, []int{29}
  798. }
  799. func (m *StatefulSetUpdateStrategy) XXX_Unmarshal(b []byte) error {
  800. return m.Unmarshal(b)
  801. }
  802. func (m *StatefulSetUpdateStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  803. b = b[:cap(b)]
  804. n, err := m.MarshalToSizedBuffer(b)
  805. if err != nil {
  806. return nil, err
  807. }
  808. return b[:n], nil
  809. }
  810. func (m *StatefulSetUpdateStrategy) XXX_Merge(src proto.Message) {
  811. xxx_messageInfo_StatefulSetUpdateStrategy.Merge(m, src)
  812. }
  813. func (m *StatefulSetUpdateStrategy) XXX_Size() int {
  814. return m.Size()
  815. }
  816. func (m *StatefulSetUpdateStrategy) XXX_DiscardUnknown() {
  817. xxx_messageInfo_StatefulSetUpdateStrategy.DiscardUnknown(m)
  818. }
  819. var xxx_messageInfo_StatefulSetUpdateStrategy proto.InternalMessageInfo
  820. func init() {
  821. proto.RegisterType((*ControllerRevision)(nil), "k8s.io.api.apps.v1.ControllerRevision")
  822. proto.RegisterType((*ControllerRevisionList)(nil), "k8s.io.api.apps.v1.ControllerRevisionList")
  823. proto.RegisterType((*DaemonSet)(nil), "k8s.io.api.apps.v1.DaemonSet")
  824. proto.RegisterType((*DaemonSetCondition)(nil), "k8s.io.api.apps.v1.DaemonSetCondition")
  825. proto.RegisterType((*DaemonSetList)(nil), "k8s.io.api.apps.v1.DaemonSetList")
  826. proto.RegisterType((*DaemonSetSpec)(nil), "k8s.io.api.apps.v1.DaemonSetSpec")
  827. proto.RegisterType((*DaemonSetStatus)(nil), "k8s.io.api.apps.v1.DaemonSetStatus")
  828. proto.RegisterType((*DaemonSetUpdateStrategy)(nil), "k8s.io.api.apps.v1.DaemonSetUpdateStrategy")
  829. proto.RegisterType((*Deployment)(nil), "k8s.io.api.apps.v1.Deployment")
  830. proto.RegisterType((*DeploymentCondition)(nil), "k8s.io.api.apps.v1.DeploymentCondition")
  831. proto.RegisterType((*DeploymentList)(nil), "k8s.io.api.apps.v1.DeploymentList")
  832. proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.api.apps.v1.DeploymentSpec")
  833. proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.api.apps.v1.DeploymentStatus")
  834. proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.api.apps.v1.DeploymentStrategy")
  835. proto.RegisterType((*ReplicaSet)(nil), "k8s.io.api.apps.v1.ReplicaSet")
  836. proto.RegisterType((*ReplicaSetCondition)(nil), "k8s.io.api.apps.v1.ReplicaSetCondition")
  837. proto.RegisterType((*ReplicaSetList)(nil), "k8s.io.api.apps.v1.ReplicaSetList")
  838. proto.RegisterType((*ReplicaSetSpec)(nil), "k8s.io.api.apps.v1.ReplicaSetSpec")
  839. proto.RegisterType((*ReplicaSetStatus)(nil), "k8s.io.api.apps.v1.ReplicaSetStatus")
  840. proto.RegisterType((*RollingUpdateDaemonSet)(nil), "k8s.io.api.apps.v1.RollingUpdateDaemonSet")
  841. proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.api.apps.v1.RollingUpdateDeployment")
  842. proto.RegisterType((*RollingUpdateStatefulSetStrategy)(nil), "k8s.io.api.apps.v1.RollingUpdateStatefulSetStrategy")
  843. proto.RegisterType((*StatefulSet)(nil), "k8s.io.api.apps.v1.StatefulSet")
  844. proto.RegisterType((*StatefulSetCondition)(nil), "k8s.io.api.apps.v1.StatefulSetCondition")
  845. proto.RegisterType((*StatefulSetList)(nil), "k8s.io.api.apps.v1.StatefulSetList")
  846. proto.RegisterType((*StatefulSetOrdinals)(nil), "k8s.io.api.apps.v1.StatefulSetOrdinals")
  847. proto.RegisterType((*StatefulSetPersistentVolumeClaimRetentionPolicy)(nil), "k8s.io.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy")
  848. proto.RegisterType((*StatefulSetSpec)(nil), "k8s.io.api.apps.v1.StatefulSetSpec")
  849. proto.RegisterType((*StatefulSetStatus)(nil), "k8s.io.api.apps.v1.StatefulSetStatus")
  850. proto.RegisterType((*StatefulSetUpdateStrategy)(nil), "k8s.io.api.apps.v1.StatefulSetUpdateStrategy")
  851. }
  852. func init() {
  853. proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/apps/v1/generated.proto", fileDescriptor_e1014cab6f31e43b)
  854. }
  855. var fileDescriptor_e1014cab6f31e43b = []byte{
  856. // 2211 bytes of a gzipped FileDescriptorProto
  857. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcd, 0x6f, 0x1b, 0xc7,
  858. 0x15, 0xd7, 0xf2, 0x43, 0xa2, 0x86, 0x96, 0x64, 0x8f, 0x54, 0x89, 0xb1, 0x1b, 0xd2, 0xdd, 0xb8,
  859. 0xb6, 0x12, 0xc7, 0x64, 0xed, 0x38, 0x41, 0x60, 0x17, 0x09, 0x44, 0x2a, 0x4d, 0xd3, 0xe8, 0xab,
  860. 0x43, 0xcb, 0x01, 0xdc, 0xb4, 0xe8, 0x88, 0x1c, 0x53, 0x1b, 0xed, 0x17, 0x76, 0x87, 0x8a, 0x89,
  861. 0x5e, 0x8a, 0x02, 0xbd, 0xf5, 0xd0, 0xbf, 0xa1, 0xff, 0x40, 0x51, 0x14, 0xcd, 0x2d, 0x08, 0x82,
  862. 0x5e, 0x7c, 0x29, 0x10, 0xf4, 0xd2, 0x9c, 0x88, 0x9a, 0x39, 0x15, 0x45, 0x6f, 0xed, 0xc5, 0x97,
  863. 0x16, 0x33, 0x3b, 0xfb, 0x3d, 0x2b, 0x52, 0x72, 0xac, 0x34, 0x81, 0x6f, 0xdc, 0x99, 0xdf, 0xfb,
  864. 0xed, 0x9b, 0x99, 0xf7, 0xe6, 0xfd, 0x66, 0x96, 0xe0, 0xf6, 0xc1, 0xeb, 0x6e, 0x5d, 0xb3, 0x1a,
  865. 0x07, 0xfd, 0x3d, 0xe2, 0x98, 0x84, 0x12, 0xb7, 0x71, 0x48, 0xcc, 0xae, 0xe5, 0x34, 0x44, 0x07,
  866. 0xb6, 0xb5, 0x06, 0xb6, 0x6d, 0xb7, 0x71, 0x78, 0xbd, 0xd1, 0x23, 0x26, 0x71, 0x30, 0x25, 0xdd,
  867. 0xba, 0xed, 0x58, 0xd4, 0x82, 0xd0, 0xc3, 0xd4, 0xb1, 0xad, 0xd5, 0x19, 0xa6, 0x7e, 0x78, 0xfd,
  868. 0xfc, 0xb5, 0x9e, 0x46, 0xf7, 0xfb, 0x7b, 0xf5, 0x8e, 0x65, 0x34, 0x7a, 0x56, 0xcf, 0x6a, 0x70,
  869. 0xe8, 0x5e, 0xff, 0x3e, 0x7f, 0xe2, 0x0f, 0xfc, 0x97, 0x47, 0x71, 0x5e, 0x8d, 0xbc, 0xa6, 0x63,
  870. 0x39, 0x44, 0xf2, 0x9a, 0xf3, 0x37, 0x43, 0x8c, 0x81, 0x3b, 0xfb, 0x9a, 0x49, 0x9c, 0x41, 0xc3,
  871. 0x3e, 0xe8, 0xb1, 0x06, 0xb7, 0x61, 0x10, 0x8a, 0x65, 0x56, 0x8d, 0x2c, 0x2b, 0xa7, 0x6f, 0x52,
  872. 0xcd, 0x20, 0x29, 0x83, 0xd7, 0xc6, 0x19, 0xb8, 0x9d, 0x7d, 0x62, 0xe0, 0x94, 0xdd, 0x2b, 0x59,
  873. 0x76, 0x7d, 0xaa, 0xe9, 0x0d, 0xcd, 0xa4, 0x2e, 0x75, 0x92, 0x46, 0xea, 0x7f, 0x14, 0x00, 0x5b,
  874. 0x96, 0x49, 0x1d, 0x4b, 0xd7, 0x89, 0x83, 0xc8, 0xa1, 0xe6, 0x6a, 0x96, 0x09, 0x7f, 0x0e, 0x4a,
  875. 0x6c, 0x3c, 0x5d, 0x4c, 0x71, 0x45, 0xb9, 0xa8, 0xac, 0x96, 0x6f, 0x7c, 0xaf, 0x1e, 0x4e, 0x72,
  876. 0x40, 0x5f, 0xb7, 0x0f, 0x7a, 0xac, 0xc1, 0xad, 0x33, 0x74, 0xfd, 0xf0, 0x7a, 0x7d, 0x7b, 0xef,
  877. 0x03, 0xd2, 0xa1, 0x9b, 0x84, 0xe2, 0x26, 0x7c, 0x38, 0xac, 0x4d, 0x8d, 0x86, 0x35, 0x10, 0xb6,
  878. 0xa1, 0x80, 0x15, 0x6e, 0x83, 0x02, 0x67, 0xcf, 0x71, 0xf6, 0x6b, 0x99, 0xec, 0x62, 0xd0, 0x75,
  879. 0x84, 0x3f, 0x7c, 0xeb, 0x01, 0x25, 0x26, 0x73, 0xaf, 0x79, 0x46, 0x50, 0x17, 0xd6, 0x31, 0xc5,
  880. 0x88, 0x13, 0xc1, 0x97, 0x41, 0xc9, 0x11, 0xee, 0x57, 0xf2, 0x17, 0x95, 0xd5, 0x7c, 0xf3, 0xac,
  881. 0x40, 0x95, 0xfc, 0x61, 0xa1, 0x00, 0xa1, 0xfe, 0x59, 0x01, 0xcb, 0xe9, 0x71, 0x6f, 0x68, 0x2e,
  882. 0x85, 0xef, 0xa7, 0xc6, 0x5e, 0x9f, 0x6c, 0xec, 0xcc, 0x9a, 0x8f, 0x3c, 0x78, 0xb1, 0xdf, 0x12,
  883. 0x19, 0xf7, 0xbb, 0xa0, 0xa8, 0x51, 0x62, 0xb8, 0x95, 0xdc, 0xc5, 0xfc, 0x6a, 0xf9, 0xc6, 0xe5,
  884. 0x7a, 0x3a, 0x76, 0xeb, 0x69, 0xc7, 0x9a, 0x73, 0x82, 0xb2, 0xf8, 0x0e, 0x33, 0x46, 0x1e, 0x87,
  885. 0xfa, 0x5f, 0x05, 0xcc, 0xae, 0x63, 0x62, 0x58, 0x66, 0x9b, 0xd0, 0x53, 0x58, 0xb4, 0x16, 0x28,
  886. 0xb8, 0x36, 0xe9, 0x88, 0x45, 0xfb, 0x8e, 0xcc, 0xf7, 0xc0, 0x9d, 0xb6, 0x4d, 0x3a, 0xe1, 0x42,
  887. 0xb1, 0x27, 0xc4, 0x8d, 0xe1, 0xbb, 0x60, 0xda, 0xa5, 0x98, 0xf6, 0x5d, 0xbe, 0x4c, 0xe5, 0x1b,
  888. 0x2f, 0x1c, 0x4d, 0xc3, 0xa1, 0xcd, 0x79, 0x41, 0x34, 0xed, 0x3d, 0x23, 0x41, 0xa1, 0xfe, 0x23,
  889. 0x07, 0x60, 0x80, 0x6d, 0x59, 0x66, 0x57, 0xa3, 0x2c, 0x7e, 0x6f, 0x81, 0x02, 0x1d, 0xd8, 0x84,
  890. 0x4f, 0xc3, 0x6c, 0xf3, 0xb2, 0xef, 0xc5, 0x9d, 0x81, 0x4d, 0x1e, 0x0f, 0x6b, 0xcb, 0x69, 0x0b,
  891. 0xd6, 0x83, 0xb8, 0x0d, 0xdc, 0x08, 0xfc, 0xcb, 0x71, 0xeb, 0x9b, 0xf1, 0x57, 0x3f, 0x1e, 0xd6,
  892. 0x24, 0x9b, 0x45, 0x3d, 0x60, 0x8a, 0x3b, 0x08, 0x0f, 0x01, 0xd4, 0xb1, 0x4b, 0xef, 0x38, 0xd8,
  893. 0x74, 0xbd, 0x37, 0x69, 0x06, 0x11, 0x23, 0x7f, 0x69, 0xb2, 0xe5, 0x61, 0x16, 0xcd, 0xf3, 0xc2,
  894. 0x0b, 0xb8, 0x91, 0x62, 0x43, 0x92, 0x37, 0xc0, 0xcb, 0x60, 0xda, 0x21, 0xd8, 0xb5, 0xcc, 0x4a,
  895. 0x81, 0x8f, 0x22, 0x98, 0x40, 0xc4, 0x5b, 0x91, 0xe8, 0x85, 0x2f, 0x82, 0x19, 0x83, 0xb8, 0x2e,
  896. 0xee, 0x91, 0x4a, 0x91, 0x03, 0x17, 0x04, 0x70, 0x66, 0xd3, 0x6b, 0x46, 0x7e, 0xbf, 0xfa, 0x07,
  897. 0x05, 0xcc, 0x05, 0x33, 0x77, 0x0a, 0xa9, 0xd2, 0x8c, 0xa7, 0xca, 0xf3, 0x47, 0xc6, 0x49, 0x46,
  898. 0x86, 0x7c, 0x92, 0x8f, 0xf8, 0xcc, 0x82, 0x10, 0xfe, 0x14, 0x94, 0x5c, 0xa2, 0x93, 0x0e, 0xb5,
  899. 0x1c, 0xe1, 0xf3, 0x2b, 0x13, 0xfa, 0x8c, 0xf7, 0x88, 0xde, 0x16, 0xa6, 0xcd, 0x33, 0xcc, 0x69,
  900. 0xff, 0x09, 0x05, 0x94, 0xf0, 0xc7, 0xa0, 0x44, 0x89, 0x61, 0xeb, 0x98, 0x12, 0x91, 0x26, 0xb1,
  901. 0xf8, 0x66, 0xe1, 0xc2, 0xc8, 0x76, 0xac, 0xee, 0x1d, 0x01, 0xe3, 0x89, 0x12, 0xcc, 0x83, 0xdf,
  902. 0x8a, 0x02, 0x1a, 0x78, 0x00, 0xe6, 0xfb, 0x76, 0x97, 0x21, 0x29, 0xdb, 0xba, 0x7b, 0x03, 0x11,
  903. 0x3e, 0x57, 0x8f, 0x9c, 0x90, 0xdd, 0x98, 0x49, 0x73, 0x59, 0xbc, 0x60, 0x3e, 0xde, 0x8e, 0x12,
  904. 0xd4, 0x70, 0x0d, 0x2c, 0x18, 0x9a, 0x89, 0x08, 0xee, 0x0e, 0xda, 0xa4, 0x63, 0x99, 0x5d, 0x97,
  905. 0x07, 0x50, 0xb1, 0xb9, 0x22, 0x08, 0x16, 0x36, 0xe3, 0xdd, 0x28, 0x89, 0x87, 0x1b, 0x60, 0xc9,
  906. 0xdf, 0x67, 0x7f, 0xa8, 0xb9, 0xd4, 0x72, 0x06, 0x1b, 0x9a, 0xa1, 0xd1, 0xca, 0x34, 0xe7, 0xa9,
  907. 0x8c, 0x86, 0xb5, 0x25, 0x24, 0xe9, 0x47, 0x52, 0x2b, 0xf5, 0x37, 0xd3, 0x60, 0x21, 0xb1, 0x1b,
  908. 0xc0, 0xbb, 0x60, 0xb9, 0xd3, 0x77, 0x1c, 0x62, 0xd2, 0xad, 0xbe, 0xb1, 0x47, 0x9c, 0x76, 0x67,
  909. 0x9f, 0x74, 0xfb, 0x3a, 0xe9, 0xf2, 0x15, 0x2d, 0x36, 0xab, 0xc2, 0xd7, 0xe5, 0x96, 0x14, 0x85,
  910. 0x32, 0xac, 0xe1, 0x8f, 0x00, 0x34, 0x79, 0xd3, 0xa6, 0xe6, 0xba, 0x01, 0x67, 0x8e, 0x73, 0x06,
  911. 0x09, 0xb8, 0x95, 0x42, 0x20, 0x89, 0x15, 0xf3, 0xb1, 0x4b, 0x5c, 0xcd, 0x21, 0xdd, 0xa4, 0x8f,
  912. 0xf9, 0xb8, 0x8f, 0xeb, 0x52, 0x14, 0xca, 0xb0, 0x86, 0xaf, 0x82, 0xb2, 0xf7, 0x36, 0x3e, 0xe7,
  913. 0x62, 0x71, 0x16, 0x05, 0x59, 0x79, 0x2b, 0xec, 0x42, 0x51, 0x1c, 0x1b, 0x9a, 0xb5, 0xe7, 0x12,
  914. 0xe7, 0x90, 0x74, 0xdf, 0xf6, 0x34, 0x00, 0x2b, 0x94, 0x45, 0x5e, 0x28, 0x83, 0xa1, 0x6d, 0xa7,
  915. 0x10, 0x48, 0x62, 0xc5, 0x86, 0xe6, 0x45, 0x4d, 0x6a, 0x68, 0xd3, 0xf1, 0xa1, 0xed, 0x4a, 0x51,
  916. 0x28, 0xc3, 0x9a, 0xc5, 0x9e, 0xe7, 0xf2, 0xda, 0x21, 0xd6, 0x74, 0xbc, 0xa7, 0x93, 0xca, 0x4c,
  917. 0x3c, 0xf6, 0xb6, 0xe2, 0xdd, 0x28, 0x89, 0x87, 0x6f, 0x83, 0x73, 0x5e, 0xd3, 0xae, 0x89, 0x03,
  918. 0x92, 0x12, 0x27, 0x79, 0x4e, 0x90, 0x9c, 0xdb, 0x4a, 0x02, 0x50, 0xda, 0x06, 0xde, 0x02, 0xf3,
  919. 0x1d, 0x4b, 0xd7, 0x79, 0x3c, 0xb6, 0xac, 0xbe, 0x49, 0x2b, 0xb3, 0x9c, 0x05, 0xb2, 0x1c, 0x6a,
  920. 0xc5, 0x7a, 0x50, 0x02, 0x09, 0xef, 0x01, 0xd0, 0xf1, 0xcb, 0x81, 0x5b, 0x01, 0xd9, 0x85, 0x3e,
  921. 0x5d, 0x87, 0xc2, 0x02, 0x1c, 0x34, 0xb9, 0x28, 0xc2, 0xa6, 0x7e, 0xa2, 0x80, 0x95, 0x8c, 0x1c,
  922. 0x87, 0x6f, 0xc6, 0xaa, 0xde, 0xd5, 0x44, 0xd5, 0xbb, 0x90, 0x61, 0x16, 0x29, 0x7d, 0x1d, 0x30,
  923. 0xc7, 0x74, 0x87, 0x66, 0xf6, 0x3c, 0x88, 0xd8, 0xc1, 0x5e, 0x92, 0xf9, 0x8e, 0xa2, 0xc0, 0x70,
  924. 0x1b, 0x3e, 0x37, 0x1a, 0xd6, 0xe6, 0x62, 0x7d, 0x28, 0xce, 0xa9, 0xfe, 0x2a, 0x07, 0xc0, 0x3a,
  925. 0xb1, 0x75, 0x6b, 0x60, 0x10, 0xf3, 0x34, 0x54, 0xcb, 0x7a, 0x4c, 0xb5, 0xa8, 0xd2, 0x85, 0x08,
  926. 0xfc, 0xc9, 0x94, 0x2d, 0x1b, 0x09, 0xd9, 0x72, 0x69, 0x0c, 0xcf, 0xd1, 0xba, 0xe5, 0x6f, 0x79,
  927. 0xb0, 0x18, 0x82, 0x43, 0xe1, 0x72, 0x3b, 0xb6, 0x84, 0x57, 0x12, 0x4b, 0xb8, 0x22, 0x31, 0x79,
  928. 0x6a, 0xca, 0xe5, 0x03, 0x30, 0xcf, 0x74, 0x85, 0xb7, 0x6a, 0x5c, 0xb5, 0x4c, 0x1f, 0x5b, 0xb5,
  929. 0x04, 0x55, 0x67, 0x23, 0xc6, 0x84, 0x12, 0xcc, 0x19, 0x2a, 0x69, 0xe6, 0xeb, 0xa8, 0x92, 0xfe,
  930. 0xa8, 0x80, 0xf9, 0x70, 0x99, 0x4e, 0x41, 0x26, 0xb5, 0xe2, 0x32, 0xa9, 0x7a, 0x74, 0x5c, 0x66,
  931. 0xe8, 0xa4, 0xbf, 0x16, 0xa2, 0x5e, 0x73, 0xa1, 0xb4, 0xca, 0x0e, 0x54, 0xb6, 0xae, 0x75, 0xb0,
  932. 0x2b, 0xca, 0xea, 0x19, 0xef, 0x30, 0xe5, 0xb5, 0xa1, 0xa0, 0x37, 0x26, 0xa9, 0x72, 0x4f, 0x57,
  933. 0x52, 0xe5, 0xbf, 0x1c, 0x49, 0x75, 0x07, 0x94, 0x5c, 0x5f, 0x4c, 0x15, 0x38, 0xe5, 0xe5, 0x71,
  934. 0xe9, 0x2c, 0x74, 0x54, 0xc0, 0x1a, 0x28, 0xa8, 0x80, 0x49, 0xa6, 0x9d, 0x8a, 0x5f, 0xa5, 0x76,
  935. 0x62, 0xe1, 0x6d, 0xe3, 0xbe, 0x4b, 0xba, 0x3c, 0x95, 0x4a, 0x61, 0x78, 0xef, 0xf0, 0x56, 0x24,
  936. 0x7a, 0xe1, 0x2e, 0x58, 0xb1, 0x1d, 0xab, 0xe7, 0x10, 0xd7, 0x5d, 0x27, 0xb8, 0xab, 0x6b, 0x26,
  937. 0xf1, 0x07, 0xe0, 0x55, 0xbd, 0x0b, 0xa3, 0x61, 0x6d, 0x65, 0x47, 0x0e, 0x41, 0x59, 0xb6, 0xea,
  938. 0xc7, 0x05, 0x70, 0x36, 0xb9, 0x23, 0x66, 0x08, 0x11, 0xe5, 0x44, 0x42, 0xe4, 0xe5, 0x48, 0x88,
  939. 0x7a, 0x2a, 0x2d, 0x72, 0xe6, 0x4f, 0x85, 0xe9, 0x1a, 0x58, 0x10, 0xc2, 0xc3, 0xef, 0x14, 0x52,
  940. 0x2c, 0x58, 0x9e, 0xdd, 0x78, 0x37, 0x4a, 0xe2, 0xe1, 0x6d, 0x30, 0xe7, 0x70, 0x6d, 0xe5, 0x13,
  941. 0x78, 0xfa, 0xe4, 0x5b, 0x82, 0x60, 0x0e, 0x45, 0x3b, 0x51, 0x1c, 0xcb, 0xb4, 0x49, 0x28, 0x39,
  942. 0x7c, 0x82, 0x42, 0x5c, 0x9b, 0xac, 0x25, 0x01, 0x28, 0x6d, 0x03, 0x37, 0xc1, 0x62, 0xdf, 0x4c,
  943. 0x53, 0x79, 0xb1, 0x76, 0x41, 0x50, 0x2d, 0xee, 0xa6, 0x21, 0x48, 0x66, 0x07, 0x7f, 0x12, 0x93,
  944. 0x2b, 0xd3, 0x7c, 0x17, 0xb9, 0x72, 0x74, 0x3a, 0x4c, 0xac, 0x57, 0x24, 0x3a, 0xaa, 0x34, 0xa9,
  945. 0x8e, 0x52, 0x3f, 0x52, 0x00, 0x4c, 0xa7, 0xe0, 0xd8, 0xc3, 0x7d, 0xca, 0x22, 0x52, 0x22, 0xbb,
  946. 0x72, 0x85, 0x73, 0x75, 0xbc, 0xc2, 0x09, 0x77, 0xd0, 0xc9, 0x24, 0x8e, 0x98, 0xde, 0xd3, 0xb9,
  947. 0x98, 0x99, 0x40, 0xe2, 0x84, 0xfe, 0x3c, 0x99, 0xc4, 0x89, 0xf0, 0x1c, 0x2d, 0x71, 0xfe, 0x99,
  948. 0x03, 0x8b, 0x21, 0x78, 0x62, 0x89, 0x23, 0x31, 0x79, 0x76, 0x39, 0x33, 0x99, 0xec, 0x08, 0xa7,
  949. 0xee, 0xff, 0x44, 0x76, 0x84, 0x0e, 0x65, 0xc8, 0x8e, 0xdf, 0xe7, 0xa2, 0x5e, 0x1f, 0x53, 0x76,
  950. 0x7c, 0x09, 0x57, 0x15, 0x5f, 0x3b, 0xe5, 0xa2, 0x7e, 0x9a, 0x07, 0x67, 0x93, 0x29, 0x18, 0xab,
  951. 0x83, 0xca, 0xd8, 0x3a, 0xb8, 0x03, 0x96, 0xee, 0xf7, 0x75, 0x7d, 0xc0, 0xc7, 0x10, 0x29, 0x86,
  952. 0x5e, 0x05, 0xfd, 0xb6, 0xb0, 0x5c, 0xfa, 0x81, 0x04, 0x83, 0xa4, 0x96, 0xe9, 0xb2, 0x58, 0x78,
  953. 0xd2, 0xb2, 0x58, 0x3c, 0x41, 0x59, 0x94, 0x2b, 0x8b, 0xfc, 0x89, 0x94, 0xc5, 0xc4, 0x35, 0x51,
  954. 0xb2, 0x5d, 0x8d, 0x3d, 0xc3, 0x8f, 0x14, 0xb0, 0x2c, 0x3f, 0x3e, 0x43, 0x1d, 0xcc, 0x1b, 0xf8,
  955. 0x41, 0xf4, 0xf2, 0x62, 0x5c, 0xc1, 0xe8, 0x53, 0x4d, 0xaf, 0x7b, 0x5f, 0x77, 0xea, 0xef, 0x98,
  956. 0x74, 0xdb, 0x69, 0x53, 0x47, 0x33, 0x7b, 0x5e, 0x81, 0xdd, 0x8c, 0x71, 0xa1, 0x04, 0x37, 0xbc,
  957. 0x07, 0x4a, 0x06, 0x7e, 0xd0, 0xee, 0x3b, 0x3d, 0xbf, 0x10, 0x1e, 0xff, 0x3d, 0x3c, 0xf6, 0x37,
  958. 0x05, 0x0b, 0x0a, 0xf8, 0xd4, 0x2f, 0x14, 0xb0, 0x92, 0x51, 0x41, 0xbf, 0x41, 0xa3, 0xfc, 0x58,
  959. 0x01, 0x17, 0x63, 0xa3, 0x64, 0x19, 0x49, 0xee, 0xf7, 0x75, 0x9e, 0x9c, 0x42, 0xb0, 0x5c, 0x05,
  960. 0xb3, 0x36, 0x76, 0xa8, 0x16, 0x28, 0xdd, 0x62, 0x73, 0x6e, 0x34, 0xac, 0xcd, 0xee, 0xf8, 0x8d,
  961. 0x28, 0xec, 0x97, 0xcc, 0x4d, 0xee, 0xe9, 0xcd, 0x8d, 0xfa, 0xeb, 0x1c, 0x28, 0x47, 0x5c, 0x3e,
  962. 0x05, 0xa9, 0xf2, 0x56, 0x4c, 0xaa, 0x48, 0x3f, 0xfe, 0x44, 0xe7, 0x30, 0x4b, 0xab, 0x6c, 0x26,
  963. 0xb4, 0xca, 0x77, 0xc7, 0x11, 0x1d, 0x2d, 0x56, 0xfe, 0x95, 0x03, 0x4b, 0x11, 0x74, 0xa8, 0x56,
  964. 0xbe, 0x1f, 0x53, 0x2b, 0xab, 0x09, 0xb5, 0x52, 0x91, 0xd9, 0x3c, 0x93, 0x2b, 0xe3, 0xe5, 0xca,
  965. 0x9f, 0x14, 0xb0, 0x10, 0x99, 0xbb, 0x53, 0xd0, 0x2b, 0xeb, 0x71, 0xbd, 0x52, 0x1b, 0x13, 0x2f,
  966. 0x19, 0x82, 0xe5, 0x16, 0x58, 0x8c, 0x80, 0xb6, 0x9d, 0xae, 0x66, 0x62, 0xdd, 0x85, 0x2f, 0x80,
  967. 0xa2, 0x4b, 0xb1, 0x43, 0xfd, 0xec, 0xf6, 0x6d, 0xdb, 0xac, 0x11, 0x79, 0x7d, 0xea, 0xbf, 0x15,
  968. 0xd0, 0x88, 0x18, 0xef, 0x10, 0xc7, 0xd5, 0x5c, 0x4a, 0x4c, 0x7a, 0xd7, 0xd2, 0xfb, 0x06, 0x69,
  969. 0xe9, 0x58, 0x33, 0x10, 0x61, 0x0d, 0x9a, 0x65, 0xee, 0x58, 0xba, 0xd6, 0x19, 0x40, 0x0c, 0xca,
  970. 0x1f, 0xee, 0x13, 0x73, 0x9d, 0xe8, 0x84, 0x8a, 0xcf, 0x1b, 0xb3, 0xcd, 0x37, 0xfd, 0xdb, 0xfe,
  971. 0xf7, 0xc2, 0xae, 0xc7, 0xc3, 0xda, 0xea, 0x24, 0x8c, 0x3c, 0x38, 0xa3, 0x9c, 0xf0, 0x67, 0x00,
  972. 0xb0, 0xc7, 0x76, 0x07, 0xfb, 0x1f, 0x3b, 0x66, 0x9b, 0x6f, 0xf8, 0x29, 0xfc, 0x5e, 0xd0, 0x73,
  973. 0xac, 0x17, 0x44, 0x18, 0xd5, 0xdf, 0x95, 0x62, 0x4b, 0xfd, 0x8d, 0xbf, 0x5b, 0xfa, 0x05, 0x58,
  974. 0x3a, 0x0c, 0x67, 0xc7, 0x07, 0x30, 0x4d, 0xc4, 0xe2, 0xee, 0x45, 0x29, 0xbd, 0x6c, 0x5e, 0x43,
  975. 0x25, 0x76, 0x57, 0x42, 0x87, 0xa4, 0x2f, 0x81, 0xaf, 0x82, 0x32, 0xd3, 0x32, 0x5a, 0x87, 0x6c,
  976. 0x61, 0xc3, 0x4f, 0xc3, 0xe0, 0xeb, 0x50, 0x3b, 0xec, 0x42, 0x51, 0x1c, 0xdc, 0x07, 0x8b, 0xb6,
  977. 0xd5, 0xdd, 0xc4, 0x26, 0xee, 0x11, 0x56, 0xa1, 0xbd, 0xa5, 0xe4, 0xb7, 0x4e, 0xb3, 0xcd, 0xd7,
  978. 0xfc, 0x1b, 0x85, 0x9d, 0x34, 0x84, 0x9d, 0xd8, 0x24, 0xcd, 0x3c, 0x08, 0x64, 0x94, 0xd0, 0x48,
  979. 0x7d, 0xcc, 0x9c, 0x49, 0xfd, 0x03, 0x44, 0x96, 0x8f, 0x27, 0xfc, 0x9c, 0x99, 0x75, 0x9f, 0x56,
  980. 0x3a, 0xd1, 0x7d, 0x9a, 0xe4, 0xc4, 0x31, 0x7b, 0xcc, 0x13, 0xc7, 0xa7, 0x0a, 0xb8, 0x64, 0x4f,
  981. 0x90, 0x46, 0x15, 0xc0, 0xa7, 0xa5, 0x35, 0x66, 0x5a, 0x26, 0xc9, 0xc8, 0xe6, 0xea, 0x68, 0x58,
  982. 0xbb, 0x34, 0x09, 0x12, 0x4d, 0xe4, 0x1a, 0x4b, 0x1a, 0x4b, 0xec, 0x7c, 0x95, 0x32, 0x77, 0xf3,
  983. 0xca, 0x18, 0x37, 0xfd, 0x8d, 0xd2, 0xcb, 0x43, 0xff, 0x09, 0x05, 0x34, 0xea, 0x47, 0x45, 0x70,
  984. 0x2e, 0x55, 0xad, 0xbf, 0xc2, 0xbb, 0xc2, 0xd4, 0x89, 0x26, 0x7f, 0x8c, 0x13, 0xcd, 0x1a, 0x58,
  985. 0x10, 0x1f, 0x98, 0x13, 0x07, 0xa2, 0x20, 0x4c, 0x5a, 0xf1, 0x6e, 0x94, 0xc4, 0xcb, 0xee, 0x2a,
  986. 0x8b, 0xc7, 0xbc, 0xab, 0x8c, 0x7a, 0x21, 0xfe, 0x17, 0xe5, 0xe5, 0x73, 0xda, 0x0b, 0xf1, 0xf7,
  987. 0xa8, 0x24, 0x1e, 0xbe, 0xe1, 0x27, 0x6b, 0xc0, 0x30, 0xc3, 0x19, 0x12, 0xd9, 0x17, 0x10, 0x24,
  988. 0xd0, 0x4f, 0xf4, 0x11, 0xf5, 0x7d, 0xc9, 0x47, 0xd4, 0xd5, 0x31, 0x61, 0x36, 0xf9, 0xb5, 0xa4,
  989. 0xf4, 0xd0, 0x59, 0x3e, 0xfe, 0xa1, 0x53, 0xfd, 0x8b, 0x02, 0x9e, 0xcb, 0xdc, 0xa6, 0xe0, 0x5a,
  990. 0x4c, 0x3d, 0x5e, 0x4b, 0xa8, 0xc7, 0xe7, 0x33, 0x0d, 0x23, 0x12, 0xd2, 0x90, 0xdf, 0x58, 0xde,
  991. 0x1c, 0x7b, 0x63, 0x29, 0x39, 0x89, 0x8c, 0xbf, 0xba, 0x6c, 0xbe, 0xfe, 0xf0, 0x51, 0x75, 0xea,
  992. 0xb3, 0x47, 0xd5, 0xa9, 0xcf, 0x1f, 0x55, 0xa7, 0x7e, 0x39, 0xaa, 0x2a, 0x0f, 0x47, 0x55, 0xe5,
  993. 0xb3, 0x51, 0x55, 0xf9, 0x7c, 0x54, 0x55, 0xfe, 0x3e, 0xaa, 0x2a, 0xbf, 0xfd, 0xa2, 0x3a, 0x75,
  994. 0x0f, 0xa6, 0xff, 0x95, 0xf9, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xae, 0x39, 0x4c, 0x13, 0xc3,
  995. 0x29, 0x00, 0x00,
  996. }
  997. func (m *ControllerRevision) Marshal() (dAtA []byte, err error) {
  998. size := m.Size()
  999. dAtA = make([]byte, size)
  1000. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1001. if err != nil {
  1002. return nil, err
  1003. }
  1004. return dAtA[:n], nil
  1005. }
  1006. func (m *ControllerRevision) MarshalTo(dAtA []byte) (int, error) {
  1007. size := m.Size()
  1008. return m.MarshalToSizedBuffer(dAtA[:size])
  1009. }
  1010. func (m *ControllerRevision) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1011. i := len(dAtA)
  1012. _ = i
  1013. var l int
  1014. _ = l
  1015. i = encodeVarintGenerated(dAtA, i, uint64(m.Revision))
  1016. i--
  1017. dAtA[i] = 0x18
  1018. {
  1019. size, err := m.Data.MarshalToSizedBuffer(dAtA[:i])
  1020. if err != nil {
  1021. return 0, err
  1022. }
  1023. i -= size
  1024. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1025. }
  1026. i--
  1027. dAtA[i] = 0x12
  1028. {
  1029. size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
  1030. if err != nil {
  1031. return 0, err
  1032. }
  1033. i -= size
  1034. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1035. }
  1036. i--
  1037. dAtA[i] = 0xa
  1038. return len(dAtA) - i, nil
  1039. }
  1040. func (m *ControllerRevisionList) Marshal() (dAtA []byte, err error) {
  1041. size := m.Size()
  1042. dAtA = make([]byte, size)
  1043. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1044. if err != nil {
  1045. return nil, err
  1046. }
  1047. return dAtA[:n], nil
  1048. }
  1049. func (m *ControllerRevisionList) MarshalTo(dAtA []byte) (int, error) {
  1050. size := m.Size()
  1051. return m.MarshalToSizedBuffer(dAtA[:size])
  1052. }
  1053. func (m *ControllerRevisionList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1054. i := len(dAtA)
  1055. _ = i
  1056. var l int
  1057. _ = l
  1058. if len(m.Items) > 0 {
  1059. for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
  1060. {
  1061. size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  1062. if err != nil {
  1063. return 0, err
  1064. }
  1065. i -= size
  1066. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1067. }
  1068. i--
  1069. dAtA[i] = 0x12
  1070. }
  1071. }
  1072. {
  1073. size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
  1074. if err != nil {
  1075. return 0, err
  1076. }
  1077. i -= size
  1078. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1079. }
  1080. i--
  1081. dAtA[i] = 0xa
  1082. return len(dAtA) - i, nil
  1083. }
  1084. func (m *DaemonSet) Marshal() (dAtA []byte, err error) {
  1085. size := m.Size()
  1086. dAtA = make([]byte, size)
  1087. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1088. if err != nil {
  1089. return nil, err
  1090. }
  1091. return dAtA[:n], nil
  1092. }
  1093. func (m *DaemonSet) MarshalTo(dAtA []byte) (int, error) {
  1094. size := m.Size()
  1095. return m.MarshalToSizedBuffer(dAtA[:size])
  1096. }
  1097. func (m *DaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1098. i := len(dAtA)
  1099. _ = i
  1100. var l int
  1101. _ = l
  1102. {
  1103. size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
  1104. if err != nil {
  1105. return 0, err
  1106. }
  1107. i -= size
  1108. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1109. }
  1110. i--
  1111. dAtA[i] = 0x1a
  1112. {
  1113. size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
  1114. if err != nil {
  1115. return 0, err
  1116. }
  1117. i -= size
  1118. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1119. }
  1120. i--
  1121. dAtA[i] = 0x12
  1122. {
  1123. size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
  1124. if err != nil {
  1125. return 0, err
  1126. }
  1127. i -= size
  1128. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1129. }
  1130. i--
  1131. dAtA[i] = 0xa
  1132. return len(dAtA) - i, nil
  1133. }
  1134. func (m *DaemonSetCondition) Marshal() (dAtA []byte, err error) {
  1135. size := m.Size()
  1136. dAtA = make([]byte, size)
  1137. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1138. if err != nil {
  1139. return nil, err
  1140. }
  1141. return dAtA[:n], nil
  1142. }
  1143. func (m *DaemonSetCondition) MarshalTo(dAtA []byte) (int, error) {
  1144. size := m.Size()
  1145. return m.MarshalToSizedBuffer(dAtA[:size])
  1146. }
  1147. func (m *DaemonSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1148. i := len(dAtA)
  1149. _ = i
  1150. var l int
  1151. _ = l
  1152. i -= len(m.Message)
  1153. copy(dAtA[i:], m.Message)
  1154. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  1155. i--
  1156. dAtA[i] = 0x2a
  1157. i -= len(m.Reason)
  1158. copy(dAtA[i:], m.Reason)
  1159. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  1160. i--
  1161. dAtA[i] = 0x22
  1162. {
  1163. size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
  1164. if err != nil {
  1165. return 0, err
  1166. }
  1167. i -= size
  1168. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1169. }
  1170. i--
  1171. dAtA[i] = 0x1a
  1172. i -= len(m.Status)
  1173. copy(dAtA[i:], m.Status)
  1174. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  1175. i--
  1176. dAtA[i] = 0x12
  1177. i -= len(m.Type)
  1178. copy(dAtA[i:], m.Type)
  1179. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  1180. i--
  1181. dAtA[i] = 0xa
  1182. return len(dAtA) - i, nil
  1183. }
  1184. func (m *DaemonSetList) Marshal() (dAtA []byte, err error) {
  1185. size := m.Size()
  1186. dAtA = make([]byte, size)
  1187. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1188. if err != nil {
  1189. return nil, err
  1190. }
  1191. return dAtA[:n], nil
  1192. }
  1193. func (m *DaemonSetList) MarshalTo(dAtA []byte) (int, error) {
  1194. size := m.Size()
  1195. return m.MarshalToSizedBuffer(dAtA[:size])
  1196. }
  1197. func (m *DaemonSetList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1198. i := len(dAtA)
  1199. _ = i
  1200. var l int
  1201. _ = l
  1202. if len(m.Items) > 0 {
  1203. for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
  1204. {
  1205. size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  1206. if err != nil {
  1207. return 0, err
  1208. }
  1209. i -= size
  1210. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1211. }
  1212. i--
  1213. dAtA[i] = 0x12
  1214. }
  1215. }
  1216. {
  1217. size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
  1218. if err != nil {
  1219. return 0, err
  1220. }
  1221. i -= size
  1222. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1223. }
  1224. i--
  1225. dAtA[i] = 0xa
  1226. return len(dAtA) - i, nil
  1227. }
  1228. func (m *DaemonSetSpec) Marshal() (dAtA []byte, err error) {
  1229. size := m.Size()
  1230. dAtA = make([]byte, size)
  1231. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1232. if err != nil {
  1233. return nil, err
  1234. }
  1235. return dAtA[:n], nil
  1236. }
  1237. func (m *DaemonSetSpec) MarshalTo(dAtA []byte) (int, error) {
  1238. size := m.Size()
  1239. return m.MarshalToSizedBuffer(dAtA[:size])
  1240. }
  1241. func (m *DaemonSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1242. i := len(dAtA)
  1243. _ = i
  1244. var l int
  1245. _ = l
  1246. if m.RevisionHistoryLimit != nil {
  1247. i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
  1248. i--
  1249. dAtA[i] = 0x30
  1250. }
  1251. i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
  1252. i--
  1253. dAtA[i] = 0x20
  1254. {
  1255. size, err := m.UpdateStrategy.MarshalToSizedBuffer(dAtA[:i])
  1256. if err != nil {
  1257. return 0, err
  1258. }
  1259. i -= size
  1260. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1261. }
  1262. i--
  1263. dAtA[i] = 0x1a
  1264. {
  1265. size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
  1266. if err != nil {
  1267. return 0, err
  1268. }
  1269. i -= size
  1270. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1271. }
  1272. i--
  1273. dAtA[i] = 0x12
  1274. if m.Selector != nil {
  1275. {
  1276. size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i])
  1277. if err != nil {
  1278. return 0, err
  1279. }
  1280. i -= size
  1281. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1282. }
  1283. i--
  1284. dAtA[i] = 0xa
  1285. }
  1286. return len(dAtA) - i, nil
  1287. }
  1288. func (m *DaemonSetStatus) Marshal() (dAtA []byte, err error) {
  1289. size := m.Size()
  1290. dAtA = make([]byte, size)
  1291. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1292. if err != nil {
  1293. return nil, err
  1294. }
  1295. return dAtA[:n], nil
  1296. }
  1297. func (m *DaemonSetStatus) MarshalTo(dAtA []byte) (int, error) {
  1298. size := m.Size()
  1299. return m.MarshalToSizedBuffer(dAtA[:size])
  1300. }
  1301. func (m *DaemonSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1302. i := len(dAtA)
  1303. _ = i
  1304. var l int
  1305. _ = l
  1306. if len(m.Conditions) > 0 {
  1307. for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- {
  1308. {
  1309. size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  1310. if err != nil {
  1311. return 0, err
  1312. }
  1313. i -= size
  1314. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1315. }
  1316. i--
  1317. dAtA[i] = 0x52
  1318. }
  1319. }
  1320. if m.CollisionCount != nil {
  1321. i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
  1322. i--
  1323. dAtA[i] = 0x48
  1324. }
  1325. i = encodeVarintGenerated(dAtA, i, uint64(m.NumberUnavailable))
  1326. i--
  1327. dAtA[i] = 0x40
  1328. i = encodeVarintGenerated(dAtA, i, uint64(m.NumberAvailable))
  1329. i--
  1330. dAtA[i] = 0x38
  1331. i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedNumberScheduled))
  1332. i--
  1333. dAtA[i] = 0x30
  1334. i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
  1335. i--
  1336. dAtA[i] = 0x28
  1337. i = encodeVarintGenerated(dAtA, i, uint64(m.NumberReady))
  1338. i--
  1339. dAtA[i] = 0x20
  1340. i = encodeVarintGenerated(dAtA, i, uint64(m.DesiredNumberScheduled))
  1341. i--
  1342. dAtA[i] = 0x18
  1343. i = encodeVarintGenerated(dAtA, i, uint64(m.NumberMisscheduled))
  1344. i--
  1345. dAtA[i] = 0x10
  1346. i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentNumberScheduled))
  1347. i--
  1348. dAtA[i] = 0x8
  1349. return len(dAtA) - i, nil
  1350. }
  1351. func (m *DaemonSetUpdateStrategy) Marshal() (dAtA []byte, err error) {
  1352. size := m.Size()
  1353. dAtA = make([]byte, size)
  1354. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1355. if err != nil {
  1356. return nil, err
  1357. }
  1358. return dAtA[:n], nil
  1359. }
  1360. func (m *DaemonSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error) {
  1361. size := m.Size()
  1362. return m.MarshalToSizedBuffer(dAtA[:size])
  1363. }
  1364. func (m *DaemonSetUpdateStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1365. i := len(dAtA)
  1366. _ = i
  1367. var l int
  1368. _ = l
  1369. if m.RollingUpdate != nil {
  1370. {
  1371. size, err := m.RollingUpdate.MarshalToSizedBuffer(dAtA[:i])
  1372. if err != nil {
  1373. return 0, err
  1374. }
  1375. i -= size
  1376. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1377. }
  1378. i--
  1379. dAtA[i] = 0x12
  1380. }
  1381. i -= len(m.Type)
  1382. copy(dAtA[i:], m.Type)
  1383. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  1384. i--
  1385. dAtA[i] = 0xa
  1386. return len(dAtA) - i, nil
  1387. }
  1388. func (m *Deployment) Marshal() (dAtA []byte, err error) {
  1389. size := m.Size()
  1390. dAtA = make([]byte, size)
  1391. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1392. if err != nil {
  1393. return nil, err
  1394. }
  1395. return dAtA[:n], nil
  1396. }
  1397. func (m *Deployment) MarshalTo(dAtA []byte) (int, error) {
  1398. size := m.Size()
  1399. return m.MarshalToSizedBuffer(dAtA[:size])
  1400. }
  1401. func (m *Deployment) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1402. i := len(dAtA)
  1403. _ = i
  1404. var l int
  1405. _ = l
  1406. {
  1407. size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
  1408. if err != nil {
  1409. return 0, err
  1410. }
  1411. i -= size
  1412. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1413. }
  1414. i--
  1415. dAtA[i] = 0x1a
  1416. {
  1417. size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
  1418. if err != nil {
  1419. return 0, err
  1420. }
  1421. i -= size
  1422. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1423. }
  1424. i--
  1425. dAtA[i] = 0x12
  1426. {
  1427. size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
  1428. if err != nil {
  1429. return 0, err
  1430. }
  1431. i -= size
  1432. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1433. }
  1434. i--
  1435. dAtA[i] = 0xa
  1436. return len(dAtA) - i, nil
  1437. }
  1438. func (m *DeploymentCondition) Marshal() (dAtA []byte, err error) {
  1439. size := m.Size()
  1440. dAtA = make([]byte, size)
  1441. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1442. if err != nil {
  1443. return nil, err
  1444. }
  1445. return dAtA[:n], nil
  1446. }
  1447. func (m *DeploymentCondition) MarshalTo(dAtA []byte) (int, error) {
  1448. size := m.Size()
  1449. return m.MarshalToSizedBuffer(dAtA[:size])
  1450. }
  1451. func (m *DeploymentCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1452. i := len(dAtA)
  1453. _ = i
  1454. var l int
  1455. _ = l
  1456. {
  1457. size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
  1458. if err != nil {
  1459. return 0, err
  1460. }
  1461. i -= size
  1462. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1463. }
  1464. i--
  1465. dAtA[i] = 0x3a
  1466. {
  1467. size, err := m.LastUpdateTime.MarshalToSizedBuffer(dAtA[:i])
  1468. if err != nil {
  1469. return 0, err
  1470. }
  1471. i -= size
  1472. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1473. }
  1474. i--
  1475. dAtA[i] = 0x32
  1476. i -= len(m.Message)
  1477. copy(dAtA[i:], m.Message)
  1478. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  1479. i--
  1480. dAtA[i] = 0x2a
  1481. i -= len(m.Reason)
  1482. copy(dAtA[i:], m.Reason)
  1483. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  1484. i--
  1485. dAtA[i] = 0x22
  1486. i -= len(m.Status)
  1487. copy(dAtA[i:], m.Status)
  1488. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  1489. i--
  1490. dAtA[i] = 0x12
  1491. i -= len(m.Type)
  1492. copy(dAtA[i:], m.Type)
  1493. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  1494. i--
  1495. dAtA[i] = 0xa
  1496. return len(dAtA) - i, nil
  1497. }
  1498. func (m *DeploymentList) Marshal() (dAtA []byte, err error) {
  1499. size := m.Size()
  1500. dAtA = make([]byte, size)
  1501. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1502. if err != nil {
  1503. return nil, err
  1504. }
  1505. return dAtA[:n], nil
  1506. }
  1507. func (m *DeploymentList) MarshalTo(dAtA []byte) (int, error) {
  1508. size := m.Size()
  1509. return m.MarshalToSizedBuffer(dAtA[:size])
  1510. }
  1511. func (m *DeploymentList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1512. i := len(dAtA)
  1513. _ = i
  1514. var l int
  1515. _ = l
  1516. if len(m.Items) > 0 {
  1517. for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
  1518. {
  1519. size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  1520. if err != nil {
  1521. return 0, err
  1522. }
  1523. i -= size
  1524. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1525. }
  1526. i--
  1527. dAtA[i] = 0x12
  1528. }
  1529. }
  1530. {
  1531. size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
  1532. if err != nil {
  1533. return 0, err
  1534. }
  1535. i -= size
  1536. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1537. }
  1538. i--
  1539. dAtA[i] = 0xa
  1540. return len(dAtA) - i, nil
  1541. }
  1542. func (m *DeploymentSpec) Marshal() (dAtA []byte, err error) {
  1543. size := m.Size()
  1544. dAtA = make([]byte, size)
  1545. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1546. if err != nil {
  1547. return nil, err
  1548. }
  1549. return dAtA[:n], nil
  1550. }
  1551. func (m *DeploymentSpec) MarshalTo(dAtA []byte) (int, error) {
  1552. size := m.Size()
  1553. return m.MarshalToSizedBuffer(dAtA[:size])
  1554. }
  1555. func (m *DeploymentSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1556. i := len(dAtA)
  1557. _ = i
  1558. var l int
  1559. _ = l
  1560. if m.ProgressDeadlineSeconds != nil {
  1561. i = encodeVarintGenerated(dAtA, i, uint64(*m.ProgressDeadlineSeconds))
  1562. i--
  1563. dAtA[i] = 0x48
  1564. }
  1565. i--
  1566. if m.Paused {
  1567. dAtA[i] = 1
  1568. } else {
  1569. dAtA[i] = 0
  1570. }
  1571. i--
  1572. dAtA[i] = 0x38
  1573. if m.RevisionHistoryLimit != nil {
  1574. i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
  1575. i--
  1576. dAtA[i] = 0x30
  1577. }
  1578. i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
  1579. i--
  1580. dAtA[i] = 0x28
  1581. {
  1582. size, err := m.Strategy.MarshalToSizedBuffer(dAtA[:i])
  1583. if err != nil {
  1584. return 0, err
  1585. }
  1586. i -= size
  1587. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1588. }
  1589. i--
  1590. dAtA[i] = 0x22
  1591. {
  1592. size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
  1593. if err != nil {
  1594. return 0, err
  1595. }
  1596. i -= size
  1597. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1598. }
  1599. i--
  1600. dAtA[i] = 0x1a
  1601. if m.Selector != nil {
  1602. {
  1603. size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i])
  1604. if err != nil {
  1605. return 0, err
  1606. }
  1607. i -= size
  1608. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1609. }
  1610. i--
  1611. dAtA[i] = 0x12
  1612. }
  1613. if m.Replicas != nil {
  1614. i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
  1615. i--
  1616. dAtA[i] = 0x8
  1617. }
  1618. return len(dAtA) - i, nil
  1619. }
  1620. func (m *DeploymentStatus) Marshal() (dAtA []byte, err error) {
  1621. size := m.Size()
  1622. dAtA = make([]byte, size)
  1623. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1624. if err != nil {
  1625. return nil, err
  1626. }
  1627. return dAtA[:n], nil
  1628. }
  1629. func (m *DeploymentStatus) MarshalTo(dAtA []byte) (int, error) {
  1630. size := m.Size()
  1631. return m.MarshalToSizedBuffer(dAtA[:size])
  1632. }
  1633. func (m *DeploymentStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1634. i := len(dAtA)
  1635. _ = i
  1636. var l int
  1637. _ = l
  1638. if m.CollisionCount != nil {
  1639. i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
  1640. i--
  1641. dAtA[i] = 0x40
  1642. }
  1643. i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
  1644. i--
  1645. dAtA[i] = 0x38
  1646. if len(m.Conditions) > 0 {
  1647. for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- {
  1648. {
  1649. size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  1650. if err != nil {
  1651. return 0, err
  1652. }
  1653. i -= size
  1654. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1655. }
  1656. i--
  1657. dAtA[i] = 0x32
  1658. }
  1659. }
  1660. i = encodeVarintGenerated(dAtA, i, uint64(m.UnavailableReplicas))
  1661. i--
  1662. dAtA[i] = 0x28
  1663. i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
  1664. i--
  1665. dAtA[i] = 0x20
  1666. i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas))
  1667. i--
  1668. dAtA[i] = 0x18
  1669. i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
  1670. i--
  1671. dAtA[i] = 0x10
  1672. i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
  1673. i--
  1674. dAtA[i] = 0x8
  1675. return len(dAtA) - i, nil
  1676. }
  1677. func (m *DeploymentStrategy) Marshal() (dAtA []byte, err error) {
  1678. size := m.Size()
  1679. dAtA = make([]byte, size)
  1680. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1681. if err != nil {
  1682. return nil, err
  1683. }
  1684. return dAtA[:n], nil
  1685. }
  1686. func (m *DeploymentStrategy) MarshalTo(dAtA []byte) (int, error) {
  1687. size := m.Size()
  1688. return m.MarshalToSizedBuffer(dAtA[:size])
  1689. }
  1690. func (m *DeploymentStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1691. i := len(dAtA)
  1692. _ = i
  1693. var l int
  1694. _ = l
  1695. if m.RollingUpdate != nil {
  1696. {
  1697. size, err := m.RollingUpdate.MarshalToSizedBuffer(dAtA[:i])
  1698. if err != nil {
  1699. return 0, err
  1700. }
  1701. i -= size
  1702. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1703. }
  1704. i--
  1705. dAtA[i] = 0x12
  1706. }
  1707. i -= len(m.Type)
  1708. copy(dAtA[i:], m.Type)
  1709. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  1710. i--
  1711. dAtA[i] = 0xa
  1712. return len(dAtA) - i, nil
  1713. }
  1714. func (m *ReplicaSet) Marshal() (dAtA []byte, err error) {
  1715. size := m.Size()
  1716. dAtA = make([]byte, size)
  1717. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1718. if err != nil {
  1719. return nil, err
  1720. }
  1721. return dAtA[:n], nil
  1722. }
  1723. func (m *ReplicaSet) MarshalTo(dAtA []byte) (int, error) {
  1724. size := m.Size()
  1725. return m.MarshalToSizedBuffer(dAtA[:size])
  1726. }
  1727. func (m *ReplicaSet) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1728. i := len(dAtA)
  1729. _ = i
  1730. var l int
  1731. _ = l
  1732. {
  1733. size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
  1734. if err != nil {
  1735. return 0, err
  1736. }
  1737. i -= size
  1738. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1739. }
  1740. i--
  1741. dAtA[i] = 0x1a
  1742. {
  1743. size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
  1744. if err != nil {
  1745. return 0, err
  1746. }
  1747. i -= size
  1748. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1749. }
  1750. i--
  1751. dAtA[i] = 0x12
  1752. {
  1753. size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
  1754. if err != nil {
  1755. return 0, err
  1756. }
  1757. i -= size
  1758. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1759. }
  1760. i--
  1761. dAtA[i] = 0xa
  1762. return len(dAtA) - i, nil
  1763. }
  1764. func (m *ReplicaSetCondition) Marshal() (dAtA []byte, err error) {
  1765. size := m.Size()
  1766. dAtA = make([]byte, size)
  1767. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1768. if err != nil {
  1769. return nil, err
  1770. }
  1771. return dAtA[:n], nil
  1772. }
  1773. func (m *ReplicaSetCondition) MarshalTo(dAtA []byte) (int, error) {
  1774. size := m.Size()
  1775. return m.MarshalToSizedBuffer(dAtA[:size])
  1776. }
  1777. func (m *ReplicaSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1778. i := len(dAtA)
  1779. _ = i
  1780. var l int
  1781. _ = l
  1782. i -= len(m.Message)
  1783. copy(dAtA[i:], m.Message)
  1784. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  1785. i--
  1786. dAtA[i] = 0x2a
  1787. i -= len(m.Reason)
  1788. copy(dAtA[i:], m.Reason)
  1789. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  1790. i--
  1791. dAtA[i] = 0x22
  1792. {
  1793. size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
  1794. if err != nil {
  1795. return 0, err
  1796. }
  1797. i -= size
  1798. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1799. }
  1800. i--
  1801. dAtA[i] = 0x1a
  1802. i -= len(m.Status)
  1803. copy(dAtA[i:], m.Status)
  1804. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  1805. i--
  1806. dAtA[i] = 0x12
  1807. i -= len(m.Type)
  1808. copy(dAtA[i:], m.Type)
  1809. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  1810. i--
  1811. dAtA[i] = 0xa
  1812. return len(dAtA) - i, nil
  1813. }
  1814. func (m *ReplicaSetList) Marshal() (dAtA []byte, err error) {
  1815. size := m.Size()
  1816. dAtA = make([]byte, size)
  1817. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1818. if err != nil {
  1819. return nil, err
  1820. }
  1821. return dAtA[:n], nil
  1822. }
  1823. func (m *ReplicaSetList) MarshalTo(dAtA []byte) (int, error) {
  1824. size := m.Size()
  1825. return m.MarshalToSizedBuffer(dAtA[:size])
  1826. }
  1827. func (m *ReplicaSetList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1828. i := len(dAtA)
  1829. _ = i
  1830. var l int
  1831. _ = l
  1832. if len(m.Items) > 0 {
  1833. for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
  1834. {
  1835. size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  1836. if err != nil {
  1837. return 0, err
  1838. }
  1839. i -= size
  1840. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1841. }
  1842. i--
  1843. dAtA[i] = 0x12
  1844. }
  1845. }
  1846. {
  1847. size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
  1848. if err != nil {
  1849. return 0, err
  1850. }
  1851. i -= size
  1852. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1853. }
  1854. i--
  1855. dAtA[i] = 0xa
  1856. return len(dAtA) - i, nil
  1857. }
  1858. func (m *ReplicaSetSpec) Marshal() (dAtA []byte, err error) {
  1859. size := m.Size()
  1860. dAtA = make([]byte, size)
  1861. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1862. if err != nil {
  1863. return nil, err
  1864. }
  1865. return dAtA[:n], nil
  1866. }
  1867. func (m *ReplicaSetSpec) MarshalTo(dAtA []byte) (int, error) {
  1868. size := m.Size()
  1869. return m.MarshalToSizedBuffer(dAtA[:size])
  1870. }
  1871. func (m *ReplicaSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1872. i := len(dAtA)
  1873. _ = i
  1874. var l int
  1875. _ = l
  1876. i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
  1877. i--
  1878. dAtA[i] = 0x20
  1879. {
  1880. size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
  1881. if err != nil {
  1882. return 0, err
  1883. }
  1884. i -= size
  1885. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1886. }
  1887. i--
  1888. dAtA[i] = 0x1a
  1889. if m.Selector != nil {
  1890. {
  1891. size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i])
  1892. if err != nil {
  1893. return 0, err
  1894. }
  1895. i -= size
  1896. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1897. }
  1898. i--
  1899. dAtA[i] = 0x12
  1900. }
  1901. if m.Replicas != nil {
  1902. i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
  1903. i--
  1904. dAtA[i] = 0x8
  1905. }
  1906. return len(dAtA) - i, nil
  1907. }
  1908. func (m *ReplicaSetStatus) Marshal() (dAtA []byte, err error) {
  1909. size := m.Size()
  1910. dAtA = make([]byte, size)
  1911. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1912. if err != nil {
  1913. return nil, err
  1914. }
  1915. return dAtA[:n], nil
  1916. }
  1917. func (m *ReplicaSetStatus) MarshalTo(dAtA []byte) (int, error) {
  1918. size := m.Size()
  1919. return m.MarshalToSizedBuffer(dAtA[:size])
  1920. }
  1921. func (m *ReplicaSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1922. i := len(dAtA)
  1923. _ = i
  1924. var l int
  1925. _ = l
  1926. if len(m.Conditions) > 0 {
  1927. for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- {
  1928. {
  1929. size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  1930. if err != nil {
  1931. return 0, err
  1932. }
  1933. i -= size
  1934. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1935. }
  1936. i--
  1937. dAtA[i] = 0x32
  1938. }
  1939. }
  1940. i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
  1941. i--
  1942. dAtA[i] = 0x28
  1943. i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
  1944. i--
  1945. dAtA[i] = 0x20
  1946. i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
  1947. i--
  1948. dAtA[i] = 0x18
  1949. i = encodeVarintGenerated(dAtA, i, uint64(m.FullyLabeledReplicas))
  1950. i--
  1951. dAtA[i] = 0x10
  1952. i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
  1953. i--
  1954. dAtA[i] = 0x8
  1955. return len(dAtA) - i, nil
  1956. }
  1957. func (m *RollingUpdateDaemonSet) Marshal() (dAtA []byte, err error) {
  1958. size := m.Size()
  1959. dAtA = make([]byte, size)
  1960. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  1961. if err != nil {
  1962. return nil, err
  1963. }
  1964. return dAtA[:n], nil
  1965. }
  1966. func (m *RollingUpdateDaemonSet) MarshalTo(dAtA []byte) (int, error) {
  1967. size := m.Size()
  1968. return m.MarshalToSizedBuffer(dAtA[:size])
  1969. }
  1970. func (m *RollingUpdateDaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  1971. i := len(dAtA)
  1972. _ = i
  1973. var l int
  1974. _ = l
  1975. if m.MaxSurge != nil {
  1976. {
  1977. size, err := m.MaxSurge.MarshalToSizedBuffer(dAtA[:i])
  1978. if err != nil {
  1979. return 0, err
  1980. }
  1981. i -= size
  1982. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1983. }
  1984. i--
  1985. dAtA[i] = 0x12
  1986. }
  1987. if m.MaxUnavailable != nil {
  1988. {
  1989. size, err := m.MaxUnavailable.MarshalToSizedBuffer(dAtA[:i])
  1990. if err != nil {
  1991. return 0, err
  1992. }
  1993. i -= size
  1994. i = encodeVarintGenerated(dAtA, i, uint64(size))
  1995. }
  1996. i--
  1997. dAtA[i] = 0xa
  1998. }
  1999. return len(dAtA) - i, nil
  2000. }
  2001. func (m *RollingUpdateDeployment) Marshal() (dAtA []byte, err error) {
  2002. size := m.Size()
  2003. dAtA = make([]byte, size)
  2004. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2005. if err != nil {
  2006. return nil, err
  2007. }
  2008. return dAtA[:n], nil
  2009. }
  2010. func (m *RollingUpdateDeployment) MarshalTo(dAtA []byte) (int, error) {
  2011. size := m.Size()
  2012. return m.MarshalToSizedBuffer(dAtA[:size])
  2013. }
  2014. func (m *RollingUpdateDeployment) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2015. i := len(dAtA)
  2016. _ = i
  2017. var l int
  2018. _ = l
  2019. if m.MaxSurge != nil {
  2020. {
  2021. size, err := m.MaxSurge.MarshalToSizedBuffer(dAtA[:i])
  2022. if err != nil {
  2023. return 0, err
  2024. }
  2025. i -= size
  2026. i = encodeVarintGenerated(dAtA, i, uint64(size))
  2027. }
  2028. i--
  2029. dAtA[i] = 0x12
  2030. }
  2031. if m.MaxUnavailable != nil {
  2032. {
  2033. size, err := m.MaxUnavailable.MarshalToSizedBuffer(dAtA[:i])
  2034. if err != nil {
  2035. return 0, err
  2036. }
  2037. i -= size
  2038. i = encodeVarintGenerated(dAtA, i, uint64(size))
  2039. }
  2040. i--
  2041. dAtA[i] = 0xa
  2042. }
  2043. return len(dAtA) - i, nil
  2044. }
  2045. func (m *RollingUpdateStatefulSetStrategy) Marshal() (dAtA []byte, err error) {
  2046. size := m.Size()
  2047. dAtA = make([]byte, size)
  2048. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2049. if err != nil {
  2050. return nil, err
  2051. }
  2052. return dAtA[:n], nil
  2053. }
  2054. func (m *RollingUpdateStatefulSetStrategy) MarshalTo(dAtA []byte) (int, error) {
  2055. size := m.Size()
  2056. return m.MarshalToSizedBuffer(dAtA[:size])
  2057. }
  2058. func (m *RollingUpdateStatefulSetStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2059. i := len(dAtA)
  2060. _ = i
  2061. var l int
  2062. _ = l
  2063. if m.MaxUnavailable != nil {
  2064. {
  2065. size, err := m.MaxUnavailable.MarshalToSizedBuffer(dAtA[:i])
  2066. if err != nil {
  2067. return 0, err
  2068. }
  2069. i -= size
  2070. i = encodeVarintGenerated(dAtA, i, uint64(size))
  2071. }
  2072. i--
  2073. dAtA[i] = 0x12
  2074. }
  2075. if m.Partition != nil {
  2076. i = encodeVarintGenerated(dAtA, i, uint64(*m.Partition))
  2077. i--
  2078. dAtA[i] = 0x8
  2079. }
  2080. return len(dAtA) - i, nil
  2081. }
  2082. func (m *StatefulSet) Marshal() (dAtA []byte, err error) {
  2083. size := m.Size()
  2084. dAtA = make([]byte, size)
  2085. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2086. if err != nil {
  2087. return nil, err
  2088. }
  2089. return dAtA[:n], nil
  2090. }
  2091. func (m *StatefulSet) MarshalTo(dAtA []byte) (int, error) {
  2092. size := m.Size()
  2093. return m.MarshalToSizedBuffer(dAtA[:size])
  2094. }
  2095. func (m *StatefulSet) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2096. i := len(dAtA)
  2097. _ = i
  2098. var l int
  2099. _ = l
  2100. {
  2101. size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
  2102. if err != nil {
  2103. return 0, err
  2104. }
  2105. i -= size
  2106. i = encodeVarintGenerated(dAtA, i, uint64(size))
  2107. }
  2108. i--
  2109. dAtA[i] = 0x1a
  2110. {
  2111. size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
  2112. if err != nil {
  2113. return 0, err
  2114. }
  2115. i -= size
  2116. i = encodeVarintGenerated(dAtA, i, uint64(size))
  2117. }
  2118. i--
  2119. dAtA[i] = 0x12
  2120. {
  2121. size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
  2122. if err != nil {
  2123. return 0, err
  2124. }
  2125. i -= size
  2126. i = encodeVarintGenerated(dAtA, i, uint64(size))
  2127. }
  2128. i--
  2129. dAtA[i] = 0xa
  2130. return len(dAtA) - i, nil
  2131. }
  2132. func (m *StatefulSetCondition) Marshal() (dAtA []byte, err error) {
  2133. size := m.Size()
  2134. dAtA = make([]byte, size)
  2135. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2136. if err != nil {
  2137. return nil, err
  2138. }
  2139. return dAtA[:n], nil
  2140. }
  2141. func (m *StatefulSetCondition) MarshalTo(dAtA []byte) (int, error) {
  2142. size := m.Size()
  2143. return m.MarshalToSizedBuffer(dAtA[:size])
  2144. }
  2145. func (m *StatefulSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2146. i := len(dAtA)
  2147. _ = i
  2148. var l int
  2149. _ = l
  2150. i -= len(m.Message)
  2151. copy(dAtA[i:], m.Message)
  2152. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  2153. i--
  2154. dAtA[i] = 0x2a
  2155. i -= len(m.Reason)
  2156. copy(dAtA[i:], m.Reason)
  2157. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  2158. i--
  2159. dAtA[i] = 0x22
  2160. {
  2161. size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
  2162. if err != nil {
  2163. return 0, err
  2164. }
  2165. i -= size
  2166. i = encodeVarintGenerated(dAtA, i, uint64(size))
  2167. }
  2168. i--
  2169. dAtA[i] = 0x1a
  2170. i -= len(m.Status)
  2171. copy(dAtA[i:], m.Status)
  2172. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  2173. i--
  2174. dAtA[i] = 0x12
  2175. i -= len(m.Type)
  2176. copy(dAtA[i:], m.Type)
  2177. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  2178. i--
  2179. dAtA[i] = 0xa
  2180. return len(dAtA) - i, nil
  2181. }
  2182. func (m *StatefulSetList) Marshal() (dAtA []byte, err error) {
  2183. size := m.Size()
  2184. dAtA = make([]byte, size)
  2185. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2186. if err != nil {
  2187. return nil, err
  2188. }
  2189. return dAtA[:n], nil
  2190. }
  2191. func (m *StatefulSetList) MarshalTo(dAtA []byte) (int, error) {
  2192. size := m.Size()
  2193. return m.MarshalToSizedBuffer(dAtA[:size])
  2194. }
  2195. func (m *StatefulSetList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2196. i := len(dAtA)
  2197. _ = i
  2198. var l int
  2199. _ = l
  2200. if len(m.Items) > 0 {
  2201. for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
  2202. {
  2203. size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  2204. if err != nil {
  2205. return 0, err
  2206. }
  2207. i -= size
  2208. i = encodeVarintGenerated(dAtA, i, uint64(size))
  2209. }
  2210. i--
  2211. dAtA[i] = 0x12
  2212. }
  2213. }
  2214. {
  2215. size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
  2216. if err != nil {
  2217. return 0, err
  2218. }
  2219. i -= size
  2220. i = encodeVarintGenerated(dAtA, i, uint64(size))
  2221. }
  2222. i--
  2223. dAtA[i] = 0xa
  2224. return len(dAtA) - i, nil
  2225. }
  2226. func (m *StatefulSetOrdinals) Marshal() (dAtA []byte, err error) {
  2227. size := m.Size()
  2228. dAtA = make([]byte, size)
  2229. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2230. if err != nil {
  2231. return nil, err
  2232. }
  2233. return dAtA[:n], nil
  2234. }
  2235. func (m *StatefulSetOrdinals) MarshalTo(dAtA []byte) (int, error) {
  2236. size := m.Size()
  2237. return m.MarshalToSizedBuffer(dAtA[:size])
  2238. }
  2239. func (m *StatefulSetOrdinals) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2240. i := len(dAtA)
  2241. _ = i
  2242. var l int
  2243. _ = l
  2244. i = encodeVarintGenerated(dAtA, i, uint64(m.Start))
  2245. i--
  2246. dAtA[i] = 0x8
  2247. return len(dAtA) - i, nil
  2248. }
  2249. func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) Marshal() (dAtA []byte, err error) {
  2250. size := m.Size()
  2251. dAtA = make([]byte, size)
  2252. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2253. if err != nil {
  2254. return nil, err
  2255. }
  2256. return dAtA[:n], nil
  2257. }
  2258. func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) MarshalTo(dAtA []byte) (int, error) {
  2259. size := m.Size()
  2260. return m.MarshalToSizedBuffer(dAtA[:size])
  2261. }
  2262. func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2263. i := len(dAtA)
  2264. _ = i
  2265. var l int
  2266. _ = l
  2267. i -= len(m.WhenScaled)
  2268. copy(dAtA[i:], m.WhenScaled)
  2269. i = encodeVarintGenerated(dAtA, i, uint64(len(m.WhenScaled)))
  2270. i--
  2271. dAtA[i] = 0x12
  2272. i -= len(m.WhenDeleted)
  2273. copy(dAtA[i:], m.WhenDeleted)
  2274. i = encodeVarintGenerated(dAtA, i, uint64(len(m.WhenDeleted)))
  2275. i--
  2276. dAtA[i] = 0xa
  2277. return len(dAtA) - i, nil
  2278. }
  2279. func (m *StatefulSetSpec) Marshal() (dAtA []byte, err error) {
  2280. size := m.Size()
  2281. dAtA = make([]byte, size)
  2282. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2283. if err != nil {
  2284. return nil, err
  2285. }
  2286. return dAtA[:n], nil
  2287. }
  2288. func (m *StatefulSetSpec) MarshalTo(dAtA []byte) (int, error) {
  2289. size := m.Size()
  2290. return m.MarshalToSizedBuffer(dAtA[:size])
  2291. }
  2292. func (m *StatefulSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2293. i := len(dAtA)
  2294. _ = i
  2295. var l int
  2296. _ = l
  2297. if m.Ordinals != nil {
  2298. {
  2299. size, err := m.Ordinals.MarshalToSizedBuffer(dAtA[:i])
  2300. if err != nil {
  2301. return 0, err
  2302. }
  2303. i -= size
  2304. i = encodeVarintGenerated(dAtA, i, uint64(size))
  2305. }
  2306. i--
  2307. dAtA[i] = 0x5a
  2308. }
  2309. if m.PersistentVolumeClaimRetentionPolicy != nil {
  2310. {
  2311. size, err := m.PersistentVolumeClaimRetentionPolicy.MarshalToSizedBuffer(dAtA[:i])
  2312. if err != nil {
  2313. return 0, err
  2314. }
  2315. i -= size
  2316. i = encodeVarintGenerated(dAtA, i, uint64(size))
  2317. }
  2318. i--
  2319. dAtA[i] = 0x52
  2320. }
  2321. i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
  2322. i--
  2323. dAtA[i] = 0x48
  2324. if m.RevisionHistoryLimit != nil {
  2325. i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
  2326. i--
  2327. dAtA[i] = 0x40
  2328. }
  2329. {
  2330. size, err := m.UpdateStrategy.MarshalToSizedBuffer(dAtA[:i])
  2331. if err != nil {
  2332. return 0, err
  2333. }
  2334. i -= size
  2335. i = encodeVarintGenerated(dAtA, i, uint64(size))
  2336. }
  2337. i--
  2338. dAtA[i] = 0x3a
  2339. i -= len(m.PodManagementPolicy)
  2340. copy(dAtA[i:], m.PodManagementPolicy)
  2341. i = encodeVarintGenerated(dAtA, i, uint64(len(m.PodManagementPolicy)))
  2342. i--
  2343. dAtA[i] = 0x32
  2344. i -= len(m.ServiceName)
  2345. copy(dAtA[i:], m.ServiceName)
  2346. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServiceName)))
  2347. i--
  2348. dAtA[i] = 0x2a
  2349. if len(m.VolumeClaimTemplates) > 0 {
  2350. for iNdEx := len(m.VolumeClaimTemplates) - 1; iNdEx >= 0; iNdEx-- {
  2351. {
  2352. size, err := m.VolumeClaimTemplates[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  2353. if err != nil {
  2354. return 0, err
  2355. }
  2356. i -= size
  2357. i = encodeVarintGenerated(dAtA, i, uint64(size))
  2358. }
  2359. i--
  2360. dAtA[i] = 0x22
  2361. }
  2362. }
  2363. {
  2364. size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
  2365. if err != nil {
  2366. return 0, err
  2367. }
  2368. i -= size
  2369. i = encodeVarintGenerated(dAtA, i, uint64(size))
  2370. }
  2371. i--
  2372. dAtA[i] = 0x1a
  2373. if m.Selector != nil {
  2374. {
  2375. size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i])
  2376. if err != nil {
  2377. return 0, err
  2378. }
  2379. i -= size
  2380. i = encodeVarintGenerated(dAtA, i, uint64(size))
  2381. }
  2382. i--
  2383. dAtA[i] = 0x12
  2384. }
  2385. if m.Replicas != nil {
  2386. i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
  2387. i--
  2388. dAtA[i] = 0x8
  2389. }
  2390. return len(dAtA) - i, nil
  2391. }
  2392. func (m *StatefulSetStatus) Marshal() (dAtA []byte, err error) {
  2393. size := m.Size()
  2394. dAtA = make([]byte, size)
  2395. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2396. if err != nil {
  2397. return nil, err
  2398. }
  2399. return dAtA[:n], nil
  2400. }
  2401. func (m *StatefulSetStatus) MarshalTo(dAtA []byte) (int, error) {
  2402. size := m.Size()
  2403. return m.MarshalToSizedBuffer(dAtA[:size])
  2404. }
  2405. func (m *StatefulSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2406. i := len(dAtA)
  2407. _ = i
  2408. var l int
  2409. _ = l
  2410. i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
  2411. i--
  2412. dAtA[i] = 0x58
  2413. if len(m.Conditions) > 0 {
  2414. for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- {
  2415. {
  2416. size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  2417. if err != nil {
  2418. return 0, err
  2419. }
  2420. i -= size
  2421. i = encodeVarintGenerated(dAtA, i, uint64(size))
  2422. }
  2423. i--
  2424. dAtA[i] = 0x52
  2425. }
  2426. }
  2427. if m.CollisionCount != nil {
  2428. i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
  2429. i--
  2430. dAtA[i] = 0x48
  2431. }
  2432. i -= len(m.UpdateRevision)
  2433. copy(dAtA[i:], m.UpdateRevision)
  2434. i = encodeVarintGenerated(dAtA, i, uint64(len(m.UpdateRevision)))
  2435. i--
  2436. dAtA[i] = 0x3a
  2437. i -= len(m.CurrentRevision)
  2438. copy(dAtA[i:], m.CurrentRevision)
  2439. i = encodeVarintGenerated(dAtA, i, uint64(len(m.CurrentRevision)))
  2440. i--
  2441. dAtA[i] = 0x32
  2442. i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas))
  2443. i--
  2444. dAtA[i] = 0x28
  2445. i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentReplicas))
  2446. i--
  2447. dAtA[i] = 0x20
  2448. i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
  2449. i--
  2450. dAtA[i] = 0x18
  2451. i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
  2452. i--
  2453. dAtA[i] = 0x10
  2454. i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
  2455. i--
  2456. dAtA[i] = 0x8
  2457. return len(dAtA) - i, nil
  2458. }
  2459. func (m *StatefulSetUpdateStrategy) Marshal() (dAtA []byte, err error) {
  2460. size := m.Size()
  2461. dAtA = make([]byte, size)
  2462. n, err := m.MarshalToSizedBuffer(dAtA[:size])
  2463. if err != nil {
  2464. return nil, err
  2465. }
  2466. return dAtA[:n], nil
  2467. }
  2468. func (m *StatefulSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error) {
  2469. size := m.Size()
  2470. return m.MarshalToSizedBuffer(dAtA[:size])
  2471. }
  2472. func (m *StatefulSetUpdateStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  2473. i := len(dAtA)
  2474. _ = i
  2475. var l int
  2476. _ = l
  2477. if m.RollingUpdate != nil {
  2478. {
  2479. size, err := m.RollingUpdate.MarshalToSizedBuffer(dAtA[:i])
  2480. if err != nil {
  2481. return 0, err
  2482. }
  2483. i -= size
  2484. i = encodeVarintGenerated(dAtA, i, uint64(size))
  2485. }
  2486. i--
  2487. dAtA[i] = 0x12
  2488. }
  2489. i -= len(m.Type)
  2490. copy(dAtA[i:], m.Type)
  2491. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  2492. i--
  2493. dAtA[i] = 0xa
  2494. return len(dAtA) - i, nil
  2495. }
  2496. func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
  2497. offset -= sovGenerated(v)
  2498. base := offset
  2499. for v >= 1<<7 {
  2500. dAtA[offset] = uint8(v&0x7f | 0x80)
  2501. v >>= 7
  2502. offset++
  2503. }
  2504. dAtA[offset] = uint8(v)
  2505. return base
  2506. }
  2507. func (m *ControllerRevision) Size() (n int) {
  2508. if m == nil {
  2509. return 0
  2510. }
  2511. var l int
  2512. _ = l
  2513. l = m.ObjectMeta.Size()
  2514. n += 1 + l + sovGenerated(uint64(l))
  2515. l = m.Data.Size()
  2516. n += 1 + l + sovGenerated(uint64(l))
  2517. n += 1 + sovGenerated(uint64(m.Revision))
  2518. return n
  2519. }
  2520. func (m *ControllerRevisionList) Size() (n int) {
  2521. if m == nil {
  2522. return 0
  2523. }
  2524. var l int
  2525. _ = l
  2526. l = m.ListMeta.Size()
  2527. n += 1 + l + sovGenerated(uint64(l))
  2528. if len(m.Items) > 0 {
  2529. for _, e := range m.Items {
  2530. l = e.Size()
  2531. n += 1 + l + sovGenerated(uint64(l))
  2532. }
  2533. }
  2534. return n
  2535. }
  2536. func (m *DaemonSet) Size() (n int) {
  2537. if m == nil {
  2538. return 0
  2539. }
  2540. var l int
  2541. _ = l
  2542. l = m.ObjectMeta.Size()
  2543. n += 1 + l + sovGenerated(uint64(l))
  2544. l = m.Spec.Size()
  2545. n += 1 + l + sovGenerated(uint64(l))
  2546. l = m.Status.Size()
  2547. n += 1 + l + sovGenerated(uint64(l))
  2548. return n
  2549. }
  2550. func (m *DaemonSetCondition) Size() (n int) {
  2551. if m == nil {
  2552. return 0
  2553. }
  2554. var l int
  2555. _ = l
  2556. l = len(m.Type)
  2557. n += 1 + l + sovGenerated(uint64(l))
  2558. l = len(m.Status)
  2559. n += 1 + l + sovGenerated(uint64(l))
  2560. l = m.LastTransitionTime.Size()
  2561. n += 1 + l + sovGenerated(uint64(l))
  2562. l = len(m.Reason)
  2563. n += 1 + l + sovGenerated(uint64(l))
  2564. l = len(m.Message)
  2565. n += 1 + l + sovGenerated(uint64(l))
  2566. return n
  2567. }
  2568. func (m *DaemonSetList) Size() (n int) {
  2569. if m == nil {
  2570. return 0
  2571. }
  2572. var l int
  2573. _ = l
  2574. l = m.ListMeta.Size()
  2575. n += 1 + l + sovGenerated(uint64(l))
  2576. if len(m.Items) > 0 {
  2577. for _, e := range m.Items {
  2578. l = e.Size()
  2579. n += 1 + l + sovGenerated(uint64(l))
  2580. }
  2581. }
  2582. return n
  2583. }
  2584. func (m *DaemonSetSpec) Size() (n int) {
  2585. if m == nil {
  2586. return 0
  2587. }
  2588. var l int
  2589. _ = l
  2590. if m.Selector != nil {
  2591. l = m.Selector.Size()
  2592. n += 1 + l + sovGenerated(uint64(l))
  2593. }
  2594. l = m.Template.Size()
  2595. n += 1 + l + sovGenerated(uint64(l))
  2596. l = m.UpdateStrategy.Size()
  2597. n += 1 + l + sovGenerated(uint64(l))
  2598. n += 1 + sovGenerated(uint64(m.MinReadySeconds))
  2599. if m.RevisionHistoryLimit != nil {
  2600. n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
  2601. }
  2602. return n
  2603. }
  2604. func (m *DaemonSetStatus) Size() (n int) {
  2605. if m == nil {
  2606. return 0
  2607. }
  2608. var l int
  2609. _ = l
  2610. n += 1 + sovGenerated(uint64(m.CurrentNumberScheduled))
  2611. n += 1 + sovGenerated(uint64(m.NumberMisscheduled))
  2612. n += 1 + sovGenerated(uint64(m.DesiredNumberScheduled))
  2613. n += 1 + sovGenerated(uint64(m.NumberReady))
  2614. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  2615. n += 1 + sovGenerated(uint64(m.UpdatedNumberScheduled))
  2616. n += 1 + sovGenerated(uint64(m.NumberAvailable))
  2617. n += 1 + sovGenerated(uint64(m.NumberUnavailable))
  2618. if m.CollisionCount != nil {
  2619. n += 1 + sovGenerated(uint64(*m.CollisionCount))
  2620. }
  2621. if len(m.Conditions) > 0 {
  2622. for _, e := range m.Conditions {
  2623. l = e.Size()
  2624. n += 1 + l + sovGenerated(uint64(l))
  2625. }
  2626. }
  2627. return n
  2628. }
  2629. func (m *DaemonSetUpdateStrategy) Size() (n int) {
  2630. if m == nil {
  2631. return 0
  2632. }
  2633. var l int
  2634. _ = l
  2635. l = len(m.Type)
  2636. n += 1 + l + sovGenerated(uint64(l))
  2637. if m.RollingUpdate != nil {
  2638. l = m.RollingUpdate.Size()
  2639. n += 1 + l + sovGenerated(uint64(l))
  2640. }
  2641. return n
  2642. }
  2643. func (m *Deployment) Size() (n int) {
  2644. if m == nil {
  2645. return 0
  2646. }
  2647. var l int
  2648. _ = l
  2649. l = m.ObjectMeta.Size()
  2650. n += 1 + l + sovGenerated(uint64(l))
  2651. l = m.Spec.Size()
  2652. n += 1 + l + sovGenerated(uint64(l))
  2653. l = m.Status.Size()
  2654. n += 1 + l + sovGenerated(uint64(l))
  2655. return n
  2656. }
  2657. func (m *DeploymentCondition) Size() (n int) {
  2658. if m == nil {
  2659. return 0
  2660. }
  2661. var l int
  2662. _ = l
  2663. l = len(m.Type)
  2664. n += 1 + l + sovGenerated(uint64(l))
  2665. l = len(m.Status)
  2666. n += 1 + l + sovGenerated(uint64(l))
  2667. l = len(m.Reason)
  2668. n += 1 + l + sovGenerated(uint64(l))
  2669. l = len(m.Message)
  2670. n += 1 + l + sovGenerated(uint64(l))
  2671. l = m.LastUpdateTime.Size()
  2672. n += 1 + l + sovGenerated(uint64(l))
  2673. l = m.LastTransitionTime.Size()
  2674. n += 1 + l + sovGenerated(uint64(l))
  2675. return n
  2676. }
  2677. func (m *DeploymentList) Size() (n int) {
  2678. if m == nil {
  2679. return 0
  2680. }
  2681. var l int
  2682. _ = l
  2683. l = m.ListMeta.Size()
  2684. n += 1 + l + sovGenerated(uint64(l))
  2685. if len(m.Items) > 0 {
  2686. for _, e := range m.Items {
  2687. l = e.Size()
  2688. n += 1 + l + sovGenerated(uint64(l))
  2689. }
  2690. }
  2691. return n
  2692. }
  2693. func (m *DeploymentSpec) Size() (n int) {
  2694. if m == nil {
  2695. return 0
  2696. }
  2697. var l int
  2698. _ = l
  2699. if m.Replicas != nil {
  2700. n += 1 + sovGenerated(uint64(*m.Replicas))
  2701. }
  2702. if m.Selector != nil {
  2703. l = m.Selector.Size()
  2704. n += 1 + l + sovGenerated(uint64(l))
  2705. }
  2706. l = m.Template.Size()
  2707. n += 1 + l + sovGenerated(uint64(l))
  2708. l = m.Strategy.Size()
  2709. n += 1 + l + sovGenerated(uint64(l))
  2710. n += 1 + sovGenerated(uint64(m.MinReadySeconds))
  2711. if m.RevisionHistoryLimit != nil {
  2712. n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
  2713. }
  2714. n += 2
  2715. if m.ProgressDeadlineSeconds != nil {
  2716. n += 1 + sovGenerated(uint64(*m.ProgressDeadlineSeconds))
  2717. }
  2718. return n
  2719. }
  2720. func (m *DeploymentStatus) Size() (n int) {
  2721. if m == nil {
  2722. return 0
  2723. }
  2724. var l int
  2725. _ = l
  2726. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  2727. n += 1 + sovGenerated(uint64(m.Replicas))
  2728. n += 1 + sovGenerated(uint64(m.UpdatedReplicas))
  2729. n += 1 + sovGenerated(uint64(m.AvailableReplicas))
  2730. n += 1 + sovGenerated(uint64(m.UnavailableReplicas))
  2731. if len(m.Conditions) > 0 {
  2732. for _, e := range m.Conditions {
  2733. l = e.Size()
  2734. n += 1 + l + sovGenerated(uint64(l))
  2735. }
  2736. }
  2737. n += 1 + sovGenerated(uint64(m.ReadyReplicas))
  2738. if m.CollisionCount != nil {
  2739. n += 1 + sovGenerated(uint64(*m.CollisionCount))
  2740. }
  2741. return n
  2742. }
  2743. func (m *DeploymentStrategy) Size() (n int) {
  2744. if m == nil {
  2745. return 0
  2746. }
  2747. var l int
  2748. _ = l
  2749. l = len(m.Type)
  2750. n += 1 + l + sovGenerated(uint64(l))
  2751. if m.RollingUpdate != nil {
  2752. l = m.RollingUpdate.Size()
  2753. n += 1 + l + sovGenerated(uint64(l))
  2754. }
  2755. return n
  2756. }
  2757. func (m *ReplicaSet) Size() (n int) {
  2758. if m == nil {
  2759. return 0
  2760. }
  2761. var l int
  2762. _ = l
  2763. l = m.ObjectMeta.Size()
  2764. n += 1 + l + sovGenerated(uint64(l))
  2765. l = m.Spec.Size()
  2766. n += 1 + l + sovGenerated(uint64(l))
  2767. l = m.Status.Size()
  2768. n += 1 + l + sovGenerated(uint64(l))
  2769. return n
  2770. }
  2771. func (m *ReplicaSetCondition) Size() (n int) {
  2772. if m == nil {
  2773. return 0
  2774. }
  2775. var l int
  2776. _ = l
  2777. l = len(m.Type)
  2778. n += 1 + l + sovGenerated(uint64(l))
  2779. l = len(m.Status)
  2780. n += 1 + l + sovGenerated(uint64(l))
  2781. l = m.LastTransitionTime.Size()
  2782. n += 1 + l + sovGenerated(uint64(l))
  2783. l = len(m.Reason)
  2784. n += 1 + l + sovGenerated(uint64(l))
  2785. l = len(m.Message)
  2786. n += 1 + l + sovGenerated(uint64(l))
  2787. return n
  2788. }
  2789. func (m *ReplicaSetList) Size() (n int) {
  2790. if m == nil {
  2791. return 0
  2792. }
  2793. var l int
  2794. _ = l
  2795. l = m.ListMeta.Size()
  2796. n += 1 + l + sovGenerated(uint64(l))
  2797. if len(m.Items) > 0 {
  2798. for _, e := range m.Items {
  2799. l = e.Size()
  2800. n += 1 + l + sovGenerated(uint64(l))
  2801. }
  2802. }
  2803. return n
  2804. }
  2805. func (m *ReplicaSetSpec) Size() (n int) {
  2806. if m == nil {
  2807. return 0
  2808. }
  2809. var l int
  2810. _ = l
  2811. if m.Replicas != nil {
  2812. n += 1 + sovGenerated(uint64(*m.Replicas))
  2813. }
  2814. if m.Selector != nil {
  2815. l = m.Selector.Size()
  2816. n += 1 + l + sovGenerated(uint64(l))
  2817. }
  2818. l = m.Template.Size()
  2819. n += 1 + l + sovGenerated(uint64(l))
  2820. n += 1 + sovGenerated(uint64(m.MinReadySeconds))
  2821. return n
  2822. }
  2823. func (m *ReplicaSetStatus) Size() (n int) {
  2824. if m == nil {
  2825. return 0
  2826. }
  2827. var l int
  2828. _ = l
  2829. n += 1 + sovGenerated(uint64(m.Replicas))
  2830. n += 1 + sovGenerated(uint64(m.FullyLabeledReplicas))
  2831. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  2832. n += 1 + sovGenerated(uint64(m.ReadyReplicas))
  2833. n += 1 + sovGenerated(uint64(m.AvailableReplicas))
  2834. if len(m.Conditions) > 0 {
  2835. for _, e := range m.Conditions {
  2836. l = e.Size()
  2837. n += 1 + l + sovGenerated(uint64(l))
  2838. }
  2839. }
  2840. return n
  2841. }
  2842. func (m *RollingUpdateDaemonSet) Size() (n int) {
  2843. if m == nil {
  2844. return 0
  2845. }
  2846. var l int
  2847. _ = l
  2848. if m.MaxUnavailable != nil {
  2849. l = m.MaxUnavailable.Size()
  2850. n += 1 + l + sovGenerated(uint64(l))
  2851. }
  2852. if m.MaxSurge != nil {
  2853. l = m.MaxSurge.Size()
  2854. n += 1 + l + sovGenerated(uint64(l))
  2855. }
  2856. return n
  2857. }
  2858. func (m *RollingUpdateDeployment) Size() (n int) {
  2859. if m == nil {
  2860. return 0
  2861. }
  2862. var l int
  2863. _ = l
  2864. if m.MaxUnavailable != nil {
  2865. l = m.MaxUnavailable.Size()
  2866. n += 1 + l + sovGenerated(uint64(l))
  2867. }
  2868. if m.MaxSurge != nil {
  2869. l = m.MaxSurge.Size()
  2870. n += 1 + l + sovGenerated(uint64(l))
  2871. }
  2872. return n
  2873. }
  2874. func (m *RollingUpdateStatefulSetStrategy) Size() (n int) {
  2875. if m == nil {
  2876. return 0
  2877. }
  2878. var l int
  2879. _ = l
  2880. if m.Partition != nil {
  2881. n += 1 + sovGenerated(uint64(*m.Partition))
  2882. }
  2883. if m.MaxUnavailable != nil {
  2884. l = m.MaxUnavailable.Size()
  2885. n += 1 + l + sovGenerated(uint64(l))
  2886. }
  2887. return n
  2888. }
  2889. func (m *StatefulSet) Size() (n int) {
  2890. if m == nil {
  2891. return 0
  2892. }
  2893. var l int
  2894. _ = l
  2895. l = m.ObjectMeta.Size()
  2896. n += 1 + l + sovGenerated(uint64(l))
  2897. l = m.Spec.Size()
  2898. n += 1 + l + sovGenerated(uint64(l))
  2899. l = m.Status.Size()
  2900. n += 1 + l + sovGenerated(uint64(l))
  2901. return n
  2902. }
  2903. func (m *StatefulSetCondition) Size() (n int) {
  2904. if m == nil {
  2905. return 0
  2906. }
  2907. var l int
  2908. _ = l
  2909. l = len(m.Type)
  2910. n += 1 + l + sovGenerated(uint64(l))
  2911. l = len(m.Status)
  2912. n += 1 + l + sovGenerated(uint64(l))
  2913. l = m.LastTransitionTime.Size()
  2914. n += 1 + l + sovGenerated(uint64(l))
  2915. l = len(m.Reason)
  2916. n += 1 + l + sovGenerated(uint64(l))
  2917. l = len(m.Message)
  2918. n += 1 + l + sovGenerated(uint64(l))
  2919. return n
  2920. }
  2921. func (m *StatefulSetList) Size() (n int) {
  2922. if m == nil {
  2923. return 0
  2924. }
  2925. var l int
  2926. _ = l
  2927. l = m.ListMeta.Size()
  2928. n += 1 + l + sovGenerated(uint64(l))
  2929. if len(m.Items) > 0 {
  2930. for _, e := range m.Items {
  2931. l = e.Size()
  2932. n += 1 + l + sovGenerated(uint64(l))
  2933. }
  2934. }
  2935. return n
  2936. }
  2937. func (m *StatefulSetOrdinals) Size() (n int) {
  2938. if m == nil {
  2939. return 0
  2940. }
  2941. var l int
  2942. _ = l
  2943. n += 1 + sovGenerated(uint64(m.Start))
  2944. return n
  2945. }
  2946. func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) Size() (n int) {
  2947. if m == nil {
  2948. return 0
  2949. }
  2950. var l int
  2951. _ = l
  2952. l = len(m.WhenDeleted)
  2953. n += 1 + l + sovGenerated(uint64(l))
  2954. l = len(m.WhenScaled)
  2955. n += 1 + l + sovGenerated(uint64(l))
  2956. return n
  2957. }
  2958. func (m *StatefulSetSpec) Size() (n int) {
  2959. if m == nil {
  2960. return 0
  2961. }
  2962. var l int
  2963. _ = l
  2964. if m.Replicas != nil {
  2965. n += 1 + sovGenerated(uint64(*m.Replicas))
  2966. }
  2967. if m.Selector != nil {
  2968. l = m.Selector.Size()
  2969. n += 1 + l + sovGenerated(uint64(l))
  2970. }
  2971. l = m.Template.Size()
  2972. n += 1 + l + sovGenerated(uint64(l))
  2973. if len(m.VolumeClaimTemplates) > 0 {
  2974. for _, e := range m.VolumeClaimTemplates {
  2975. l = e.Size()
  2976. n += 1 + l + sovGenerated(uint64(l))
  2977. }
  2978. }
  2979. l = len(m.ServiceName)
  2980. n += 1 + l + sovGenerated(uint64(l))
  2981. l = len(m.PodManagementPolicy)
  2982. n += 1 + l + sovGenerated(uint64(l))
  2983. l = m.UpdateStrategy.Size()
  2984. n += 1 + l + sovGenerated(uint64(l))
  2985. if m.RevisionHistoryLimit != nil {
  2986. n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
  2987. }
  2988. n += 1 + sovGenerated(uint64(m.MinReadySeconds))
  2989. if m.PersistentVolumeClaimRetentionPolicy != nil {
  2990. l = m.PersistentVolumeClaimRetentionPolicy.Size()
  2991. n += 1 + l + sovGenerated(uint64(l))
  2992. }
  2993. if m.Ordinals != nil {
  2994. l = m.Ordinals.Size()
  2995. n += 1 + l + sovGenerated(uint64(l))
  2996. }
  2997. return n
  2998. }
  2999. func (m *StatefulSetStatus) Size() (n int) {
  3000. if m == nil {
  3001. return 0
  3002. }
  3003. var l int
  3004. _ = l
  3005. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  3006. n += 1 + sovGenerated(uint64(m.Replicas))
  3007. n += 1 + sovGenerated(uint64(m.ReadyReplicas))
  3008. n += 1 + sovGenerated(uint64(m.CurrentReplicas))
  3009. n += 1 + sovGenerated(uint64(m.UpdatedReplicas))
  3010. l = len(m.CurrentRevision)
  3011. n += 1 + l + sovGenerated(uint64(l))
  3012. l = len(m.UpdateRevision)
  3013. n += 1 + l + sovGenerated(uint64(l))
  3014. if m.CollisionCount != nil {
  3015. n += 1 + sovGenerated(uint64(*m.CollisionCount))
  3016. }
  3017. if len(m.Conditions) > 0 {
  3018. for _, e := range m.Conditions {
  3019. l = e.Size()
  3020. n += 1 + l + sovGenerated(uint64(l))
  3021. }
  3022. }
  3023. n += 1 + sovGenerated(uint64(m.AvailableReplicas))
  3024. return n
  3025. }
  3026. func (m *StatefulSetUpdateStrategy) Size() (n int) {
  3027. if m == nil {
  3028. return 0
  3029. }
  3030. var l int
  3031. _ = l
  3032. l = len(m.Type)
  3033. n += 1 + l + sovGenerated(uint64(l))
  3034. if m.RollingUpdate != nil {
  3035. l = m.RollingUpdate.Size()
  3036. n += 1 + l + sovGenerated(uint64(l))
  3037. }
  3038. return n
  3039. }
  3040. func sovGenerated(x uint64) (n int) {
  3041. return (math_bits.Len64(x|1) + 6) / 7
  3042. }
  3043. func sozGenerated(x uint64) (n int) {
  3044. return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  3045. }
  3046. func (this *ControllerRevision) String() string {
  3047. if this == nil {
  3048. return "nil"
  3049. }
  3050. s := strings.Join([]string{`&ControllerRevision{`,
  3051. `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  3052. `Data:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Data), "RawExtension", "runtime.RawExtension", 1), `&`, ``, 1) + `,`,
  3053. `Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
  3054. `}`,
  3055. }, "")
  3056. return s
  3057. }
  3058. func (this *ControllerRevisionList) String() string {
  3059. if this == nil {
  3060. return "nil"
  3061. }
  3062. repeatedStringForItems := "[]ControllerRevision{"
  3063. for _, f := range this.Items {
  3064. repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "ControllerRevision", "ControllerRevision", 1), `&`, ``, 1) + ","
  3065. }
  3066. repeatedStringForItems += "}"
  3067. s := strings.Join([]string{`&ControllerRevisionList{`,
  3068. `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
  3069. `Items:` + repeatedStringForItems + `,`,
  3070. `}`,
  3071. }, "")
  3072. return s
  3073. }
  3074. func (this *DaemonSet) String() string {
  3075. if this == nil {
  3076. return "nil"
  3077. }
  3078. s := strings.Join([]string{`&DaemonSet{`,
  3079. `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  3080. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DaemonSetSpec", "DaemonSetSpec", 1), `&`, ``, 1) + `,`,
  3081. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DaemonSetStatus", "DaemonSetStatus", 1), `&`, ``, 1) + `,`,
  3082. `}`,
  3083. }, "")
  3084. return s
  3085. }
  3086. func (this *DaemonSetCondition) String() string {
  3087. if this == nil {
  3088. return "nil"
  3089. }
  3090. s := strings.Join([]string{`&DaemonSetCondition{`,
  3091. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  3092. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  3093. `LastTransitionTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
  3094. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  3095. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  3096. `}`,
  3097. }, "")
  3098. return s
  3099. }
  3100. func (this *DaemonSetList) String() string {
  3101. if this == nil {
  3102. return "nil"
  3103. }
  3104. repeatedStringForItems := "[]DaemonSet{"
  3105. for _, f := range this.Items {
  3106. repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "DaemonSet", "DaemonSet", 1), `&`, ``, 1) + ","
  3107. }
  3108. repeatedStringForItems += "}"
  3109. s := strings.Join([]string{`&DaemonSetList{`,
  3110. `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
  3111. `Items:` + repeatedStringForItems + `,`,
  3112. `}`,
  3113. }, "")
  3114. return s
  3115. }
  3116. func (this *DaemonSetSpec) String() string {
  3117. if this == nil {
  3118. return "nil"
  3119. }
  3120. s := strings.Join([]string{`&DaemonSetSpec{`,
  3121. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
  3122. `Template:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Template), "PodTemplateSpec", "v11.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  3123. `UpdateStrategy:` + strings.Replace(strings.Replace(this.UpdateStrategy.String(), "DaemonSetUpdateStrategy", "DaemonSetUpdateStrategy", 1), `&`, ``, 1) + `,`,
  3124. `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
  3125. `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
  3126. `}`,
  3127. }, "")
  3128. return s
  3129. }
  3130. func (this *DaemonSetStatus) String() string {
  3131. if this == nil {
  3132. return "nil"
  3133. }
  3134. repeatedStringForConditions := "[]DaemonSetCondition{"
  3135. for _, f := range this.Conditions {
  3136. repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "DaemonSetCondition", "DaemonSetCondition", 1), `&`, ``, 1) + ","
  3137. }
  3138. repeatedStringForConditions += "}"
  3139. s := strings.Join([]string{`&DaemonSetStatus{`,
  3140. `CurrentNumberScheduled:` + fmt.Sprintf("%v", this.CurrentNumberScheduled) + `,`,
  3141. `NumberMisscheduled:` + fmt.Sprintf("%v", this.NumberMisscheduled) + `,`,
  3142. `DesiredNumberScheduled:` + fmt.Sprintf("%v", this.DesiredNumberScheduled) + `,`,
  3143. `NumberReady:` + fmt.Sprintf("%v", this.NumberReady) + `,`,
  3144. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  3145. `UpdatedNumberScheduled:` + fmt.Sprintf("%v", this.UpdatedNumberScheduled) + `,`,
  3146. `NumberAvailable:` + fmt.Sprintf("%v", this.NumberAvailable) + `,`,
  3147. `NumberUnavailable:` + fmt.Sprintf("%v", this.NumberUnavailable) + `,`,
  3148. `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
  3149. `Conditions:` + repeatedStringForConditions + `,`,
  3150. `}`,
  3151. }, "")
  3152. return s
  3153. }
  3154. func (this *DaemonSetUpdateStrategy) String() string {
  3155. if this == nil {
  3156. return "nil"
  3157. }
  3158. s := strings.Join([]string{`&DaemonSetUpdateStrategy{`,
  3159. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  3160. `RollingUpdate:` + strings.Replace(this.RollingUpdate.String(), "RollingUpdateDaemonSet", "RollingUpdateDaemonSet", 1) + `,`,
  3161. `}`,
  3162. }, "")
  3163. return s
  3164. }
  3165. func (this *Deployment) String() string {
  3166. if this == nil {
  3167. return "nil"
  3168. }
  3169. s := strings.Join([]string{`&Deployment{`,
  3170. `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  3171. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DeploymentSpec", "DeploymentSpec", 1), `&`, ``, 1) + `,`,
  3172. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DeploymentStatus", "DeploymentStatus", 1), `&`, ``, 1) + `,`,
  3173. `}`,
  3174. }, "")
  3175. return s
  3176. }
  3177. func (this *DeploymentCondition) String() string {
  3178. if this == nil {
  3179. return "nil"
  3180. }
  3181. s := strings.Join([]string{`&DeploymentCondition{`,
  3182. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  3183. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  3184. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  3185. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  3186. `LastUpdateTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastUpdateTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
  3187. `LastTransitionTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
  3188. `}`,
  3189. }, "")
  3190. return s
  3191. }
  3192. func (this *DeploymentList) String() string {
  3193. if this == nil {
  3194. return "nil"
  3195. }
  3196. repeatedStringForItems := "[]Deployment{"
  3197. for _, f := range this.Items {
  3198. repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "Deployment", "Deployment", 1), `&`, ``, 1) + ","
  3199. }
  3200. repeatedStringForItems += "}"
  3201. s := strings.Join([]string{`&DeploymentList{`,
  3202. `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
  3203. `Items:` + repeatedStringForItems + `,`,
  3204. `}`,
  3205. }, "")
  3206. return s
  3207. }
  3208. func (this *DeploymentSpec) String() string {
  3209. if this == nil {
  3210. return "nil"
  3211. }
  3212. s := strings.Join([]string{`&DeploymentSpec{`,
  3213. `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
  3214. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
  3215. `Template:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Template), "PodTemplateSpec", "v11.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  3216. `Strategy:` + strings.Replace(strings.Replace(this.Strategy.String(), "DeploymentStrategy", "DeploymentStrategy", 1), `&`, ``, 1) + `,`,
  3217. `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
  3218. `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
  3219. `Paused:` + fmt.Sprintf("%v", this.Paused) + `,`,
  3220. `ProgressDeadlineSeconds:` + valueToStringGenerated(this.ProgressDeadlineSeconds) + `,`,
  3221. `}`,
  3222. }, "")
  3223. return s
  3224. }
  3225. func (this *DeploymentStatus) String() string {
  3226. if this == nil {
  3227. return "nil"
  3228. }
  3229. repeatedStringForConditions := "[]DeploymentCondition{"
  3230. for _, f := range this.Conditions {
  3231. repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "DeploymentCondition", "DeploymentCondition", 1), `&`, ``, 1) + ","
  3232. }
  3233. repeatedStringForConditions += "}"
  3234. s := strings.Join([]string{`&DeploymentStatus{`,
  3235. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  3236. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  3237. `UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`,
  3238. `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
  3239. `UnavailableReplicas:` + fmt.Sprintf("%v", this.UnavailableReplicas) + `,`,
  3240. `Conditions:` + repeatedStringForConditions + `,`,
  3241. `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
  3242. `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
  3243. `}`,
  3244. }, "")
  3245. return s
  3246. }
  3247. func (this *DeploymentStrategy) String() string {
  3248. if this == nil {
  3249. return "nil"
  3250. }
  3251. s := strings.Join([]string{`&DeploymentStrategy{`,
  3252. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  3253. `RollingUpdate:` + strings.Replace(this.RollingUpdate.String(), "RollingUpdateDeployment", "RollingUpdateDeployment", 1) + `,`,
  3254. `}`,
  3255. }, "")
  3256. return s
  3257. }
  3258. func (this *ReplicaSet) String() string {
  3259. if this == nil {
  3260. return "nil"
  3261. }
  3262. s := strings.Join([]string{`&ReplicaSet{`,
  3263. `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  3264. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ReplicaSetSpec", "ReplicaSetSpec", 1), `&`, ``, 1) + `,`,
  3265. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ReplicaSetStatus", "ReplicaSetStatus", 1), `&`, ``, 1) + `,`,
  3266. `}`,
  3267. }, "")
  3268. return s
  3269. }
  3270. func (this *ReplicaSetCondition) String() string {
  3271. if this == nil {
  3272. return "nil"
  3273. }
  3274. s := strings.Join([]string{`&ReplicaSetCondition{`,
  3275. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  3276. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  3277. `LastTransitionTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
  3278. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  3279. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  3280. `}`,
  3281. }, "")
  3282. return s
  3283. }
  3284. func (this *ReplicaSetList) String() string {
  3285. if this == nil {
  3286. return "nil"
  3287. }
  3288. repeatedStringForItems := "[]ReplicaSet{"
  3289. for _, f := range this.Items {
  3290. repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "ReplicaSet", "ReplicaSet", 1), `&`, ``, 1) + ","
  3291. }
  3292. repeatedStringForItems += "}"
  3293. s := strings.Join([]string{`&ReplicaSetList{`,
  3294. `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
  3295. `Items:` + repeatedStringForItems + `,`,
  3296. `}`,
  3297. }, "")
  3298. return s
  3299. }
  3300. func (this *ReplicaSetSpec) String() string {
  3301. if this == nil {
  3302. return "nil"
  3303. }
  3304. s := strings.Join([]string{`&ReplicaSetSpec{`,
  3305. `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
  3306. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
  3307. `Template:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Template), "PodTemplateSpec", "v11.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  3308. `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
  3309. `}`,
  3310. }, "")
  3311. return s
  3312. }
  3313. func (this *ReplicaSetStatus) String() string {
  3314. if this == nil {
  3315. return "nil"
  3316. }
  3317. repeatedStringForConditions := "[]ReplicaSetCondition{"
  3318. for _, f := range this.Conditions {
  3319. repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "ReplicaSetCondition", "ReplicaSetCondition", 1), `&`, ``, 1) + ","
  3320. }
  3321. repeatedStringForConditions += "}"
  3322. s := strings.Join([]string{`&ReplicaSetStatus{`,
  3323. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  3324. `FullyLabeledReplicas:` + fmt.Sprintf("%v", this.FullyLabeledReplicas) + `,`,
  3325. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  3326. `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
  3327. `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
  3328. `Conditions:` + repeatedStringForConditions + `,`,
  3329. `}`,
  3330. }, "")
  3331. return s
  3332. }
  3333. func (this *RollingUpdateDaemonSet) String() string {
  3334. if this == nil {
  3335. return "nil"
  3336. }
  3337. s := strings.Join([]string{`&RollingUpdateDaemonSet{`,
  3338. `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "intstr.IntOrString", 1) + `,`,
  3339. `MaxSurge:` + strings.Replace(fmt.Sprintf("%v", this.MaxSurge), "IntOrString", "intstr.IntOrString", 1) + `,`,
  3340. `}`,
  3341. }, "")
  3342. return s
  3343. }
  3344. func (this *RollingUpdateDeployment) String() string {
  3345. if this == nil {
  3346. return "nil"
  3347. }
  3348. s := strings.Join([]string{`&RollingUpdateDeployment{`,
  3349. `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "intstr.IntOrString", 1) + `,`,
  3350. `MaxSurge:` + strings.Replace(fmt.Sprintf("%v", this.MaxSurge), "IntOrString", "intstr.IntOrString", 1) + `,`,
  3351. `}`,
  3352. }, "")
  3353. return s
  3354. }
  3355. func (this *RollingUpdateStatefulSetStrategy) String() string {
  3356. if this == nil {
  3357. return "nil"
  3358. }
  3359. s := strings.Join([]string{`&RollingUpdateStatefulSetStrategy{`,
  3360. `Partition:` + valueToStringGenerated(this.Partition) + `,`,
  3361. `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "intstr.IntOrString", 1) + `,`,
  3362. `}`,
  3363. }, "")
  3364. return s
  3365. }
  3366. func (this *StatefulSet) String() string {
  3367. if this == nil {
  3368. return "nil"
  3369. }
  3370. s := strings.Join([]string{`&StatefulSet{`,
  3371. `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  3372. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "StatefulSetSpec", "StatefulSetSpec", 1), `&`, ``, 1) + `,`,
  3373. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "StatefulSetStatus", "StatefulSetStatus", 1), `&`, ``, 1) + `,`,
  3374. `}`,
  3375. }, "")
  3376. return s
  3377. }
  3378. func (this *StatefulSetCondition) String() string {
  3379. if this == nil {
  3380. return "nil"
  3381. }
  3382. s := strings.Join([]string{`&StatefulSetCondition{`,
  3383. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  3384. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  3385. `LastTransitionTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
  3386. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  3387. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  3388. `}`,
  3389. }, "")
  3390. return s
  3391. }
  3392. func (this *StatefulSetList) String() string {
  3393. if this == nil {
  3394. return "nil"
  3395. }
  3396. repeatedStringForItems := "[]StatefulSet{"
  3397. for _, f := range this.Items {
  3398. repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "StatefulSet", "StatefulSet", 1), `&`, ``, 1) + ","
  3399. }
  3400. repeatedStringForItems += "}"
  3401. s := strings.Join([]string{`&StatefulSetList{`,
  3402. `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
  3403. `Items:` + repeatedStringForItems + `,`,
  3404. `}`,
  3405. }, "")
  3406. return s
  3407. }
  3408. func (this *StatefulSetOrdinals) String() string {
  3409. if this == nil {
  3410. return "nil"
  3411. }
  3412. s := strings.Join([]string{`&StatefulSetOrdinals{`,
  3413. `Start:` + fmt.Sprintf("%v", this.Start) + `,`,
  3414. `}`,
  3415. }, "")
  3416. return s
  3417. }
  3418. func (this *StatefulSetPersistentVolumeClaimRetentionPolicy) String() string {
  3419. if this == nil {
  3420. return "nil"
  3421. }
  3422. s := strings.Join([]string{`&StatefulSetPersistentVolumeClaimRetentionPolicy{`,
  3423. `WhenDeleted:` + fmt.Sprintf("%v", this.WhenDeleted) + `,`,
  3424. `WhenScaled:` + fmt.Sprintf("%v", this.WhenScaled) + `,`,
  3425. `}`,
  3426. }, "")
  3427. return s
  3428. }
  3429. func (this *StatefulSetSpec) String() string {
  3430. if this == nil {
  3431. return "nil"
  3432. }
  3433. repeatedStringForVolumeClaimTemplates := "[]PersistentVolumeClaim{"
  3434. for _, f := range this.VolumeClaimTemplates {
  3435. repeatedStringForVolumeClaimTemplates += fmt.Sprintf("%v", f) + ","
  3436. }
  3437. repeatedStringForVolumeClaimTemplates += "}"
  3438. s := strings.Join([]string{`&StatefulSetSpec{`,
  3439. `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
  3440. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
  3441. `Template:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Template), "PodTemplateSpec", "v11.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  3442. `VolumeClaimTemplates:` + repeatedStringForVolumeClaimTemplates + `,`,
  3443. `ServiceName:` + fmt.Sprintf("%v", this.ServiceName) + `,`,
  3444. `PodManagementPolicy:` + fmt.Sprintf("%v", this.PodManagementPolicy) + `,`,
  3445. `UpdateStrategy:` + strings.Replace(strings.Replace(this.UpdateStrategy.String(), "StatefulSetUpdateStrategy", "StatefulSetUpdateStrategy", 1), `&`, ``, 1) + `,`,
  3446. `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
  3447. `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
  3448. `PersistentVolumeClaimRetentionPolicy:` + strings.Replace(this.PersistentVolumeClaimRetentionPolicy.String(), "StatefulSetPersistentVolumeClaimRetentionPolicy", "StatefulSetPersistentVolumeClaimRetentionPolicy", 1) + `,`,
  3449. `Ordinals:` + strings.Replace(this.Ordinals.String(), "StatefulSetOrdinals", "StatefulSetOrdinals", 1) + `,`,
  3450. `}`,
  3451. }, "")
  3452. return s
  3453. }
  3454. func (this *StatefulSetStatus) String() string {
  3455. if this == nil {
  3456. return "nil"
  3457. }
  3458. repeatedStringForConditions := "[]StatefulSetCondition{"
  3459. for _, f := range this.Conditions {
  3460. repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "StatefulSetCondition", "StatefulSetCondition", 1), `&`, ``, 1) + ","
  3461. }
  3462. repeatedStringForConditions += "}"
  3463. s := strings.Join([]string{`&StatefulSetStatus{`,
  3464. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  3465. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  3466. `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
  3467. `CurrentReplicas:` + fmt.Sprintf("%v", this.CurrentReplicas) + `,`,
  3468. `UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`,
  3469. `CurrentRevision:` + fmt.Sprintf("%v", this.CurrentRevision) + `,`,
  3470. `UpdateRevision:` + fmt.Sprintf("%v", this.UpdateRevision) + `,`,
  3471. `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
  3472. `Conditions:` + repeatedStringForConditions + `,`,
  3473. `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
  3474. `}`,
  3475. }, "")
  3476. return s
  3477. }
  3478. func (this *StatefulSetUpdateStrategy) String() string {
  3479. if this == nil {
  3480. return "nil"
  3481. }
  3482. s := strings.Join([]string{`&StatefulSetUpdateStrategy{`,
  3483. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  3484. `RollingUpdate:` + strings.Replace(this.RollingUpdate.String(), "RollingUpdateStatefulSetStrategy", "RollingUpdateStatefulSetStrategy", 1) + `,`,
  3485. `}`,
  3486. }, "")
  3487. return s
  3488. }
  3489. func valueToStringGenerated(v interface{}) string {
  3490. rv := reflect.ValueOf(v)
  3491. if rv.IsNil() {
  3492. return "nil"
  3493. }
  3494. pv := reflect.Indirect(rv).Interface()
  3495. return fmt.Sprintf("*%v", pv)
  3496. }
  3497. func (m *ControllerRevision) Unmarshal(dAtA []byte) error {
  3498. l := len(dAtA)
  3499. iNdEx := 0
  3500. for iNdEx < l {
  3501. preIndex := iNdEx
  3502. var wire uint64
  3503. for shift := uint(0); ; shift += 7 {
  3504. if shift >= 64 {
  3505. return ErrIntOverflowGenerated
  3506. }
  3507. if iNdEx >= l {
  3508. return io.ErrUnexpectedEOF
  3509. }
  3510. b := dAtA[iNdEx]
  3511. iNdEx++
  3512. wire |= uint64(b&0x7F) << shift
  3513. if b < 0x80 {
  3514. break
  3515. }
  3516. }
  3517. fieldNum := int32(wire >> 3)
  3518. wireType := int(wire & 0x7)
  3519. if wireType == 4 {
  3520. return fmt.Errorf("proto: ControllerRevision: wiretype end group for non-group")
  3521. }
  3522. if fieldNum <= 0 {
  3523. return fmt.Errorf("proto: ControllerRevision: illegal tag %d (wire type %d)", fieldNum, wire)
  3524. }
  3525. switch fieldNum {
  3526. case 1:
  3527. if wireType != 2 {
  3528. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  3529. }
  3530. var msglen int
  3531. for shift := uint(0); ; shift += 7 {
  3532. if shift >= 64 {
  3533. return ErrIntOverflowGenerated
  3534. }
  3535. if iNdEx >= l {
  3536. return io.ErrUnexpectedEOF
  3537. }
  3538. b := dAtA[iNdEx]
  3539. iNdEx++
  3540. msglen |= int(b&0x7F) << shift
  3541. if b < 0x80 {
  3542. break
  3543. }
  3544. }
  3545. if msglen < 0 {
  3546. return ErrInvalidLengthGenerated
  3547. }
  3548. postIndex := iNdEx + msglen
  3549. if postIndex < 0 {
  3550. return ErrInvalidLengthGenerated
  3551. }
  3552. if postIndex > l {
  3553. return io.ErrUnexpectedEOF
  3554. }
  3555. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3556. return err
  3557. }
  3558. iNdEx = postIndex
  3559. case 2:
  3560. if wireType != 2 {
  3561. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  3562. }
  3563. var msglen int
  3564. for shift := uint(0); ; shift += 7 {
  3565. if shift >= 64 {
  3566. return ErrIntOverflowGenerated
  3567. }
  3568. if iNdEx >= l {
  3569. return io.ErrUnexpectedEOF
  3570. }
  3571. b := dAtA[iNdEx]
  3572. iNdEx++
  3573. msglen |= int(b&0x7F) << shift
  3574. if b < 0x80 {
  3575. break
  3576. }
  3577. }
  3578. if msglen < 0 {
  3579. return ErrInvalidLengthGenerated
  3580. }
  3581. postIndex := iNdEx + msglen
  3582. if postIndex < 0 {
  3583. return ErrInvalidLengthGenerated
  3584. }
  3585. if postIndex > l {
  3586. return io.ErrUnexpectedEOF
  3587. }
  3588. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3589. return err
  3590. }
  3591. iNdEx = postIndex
  3592. case 3:
  3593. if wireType != 0 {
  3594. return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
  3595. }
  3596. m.Revision = 0
  3597. for shift := uint(0); ; shift += 7 {
  3598. if shift >= 64 {
  3599. return ErrIntOverflowGenerated
  3600. }
  3601. if iNdEx >= l {
  3602. return io.ErrUnexpectedEOF
  3603. }
  3604. b := dAtA[iNdEx]
  3605. iNdEx++
  3606. m.Revision |= int64(b&0x7F) << shift
  3607. if b < 0x80 {
  3608. break
  3609. }
  3610. }
  3611. default:
  3612. iNdEx = preIndex
  3613. skippy, err := skipGenerated(dAtA[iNdEx:])
  3614. if err != nil {
  3615. return err
  3616. }
  3617. if (skippy < 0) || (iNdEx+skippy) < 0 {
  3618. return ErrInvalidLengthGenerated
  3619. }
  3620. if (iNdEx + skippy) > l {
  3621. return io.ErrUnexpectedEOF
  3622. }
  3623. iNdEx += skippy
  3624. }
  3625. }
  3626. if iNdEx > l {
  3627. return io.ErrUnexpectedEOF
  3628. }
  3629. return nil
  3630. }
  3631. func (m *ControllerRevisionList) Unmarshal(dAtA []byte) error {
  3632. l := len(dAtA)
  3633. iNdEx := 0
  3634. for iNdEx < l {
  3635. preIndex := iNdEx
  3636. var wire uint64
  3637. for shift := uint(0); ; shift += 7 {
  3638. if shift >= 64 {
  3639. return ErrIntOverflowGenerated
  3640. }
  3641. if iNdEx >= l {
  3642. return io.ErrUnexpectedEOF
  3643. }
  3644. b := dAtA[iNdEx]
  3645. iNdEx++
  3646. wire |= uint64(b&0x7F) << shift
  3647. if b < 0x80 {
  3648. break
  3649. }
  3650. }
  3651. fieldNum := int32(wire >> 3)
  3652. wireType := int(wire & 0x7)
  3653. if wireType == 4 {
  3654. return fmt.Errorf("proto: ControllerRevisionList: wiretype end group for non-group")
  3655. }
  3656. if fieldNum <= 0 {
  3657. return fmt.Errorf("proto: ControllerRevisionList: illegal tag %d (wire type %d)", fieldNum, wire)
  3658. }
  3659. switch fieldNum {
  3660. case 1:
  3661. if wireType != 2 {
  3662. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  3663. }
  3664. var msglen int
  3665. for shift := uint(0); ; shift += 7 {
  3666. if shift >= 64 {
  3667. return ErrIntOverflowGenerated
  3668. }
  3669. if iNdEx >= l {
  3670. return io.ErrUnexpectedEOF
  3671. }
  3672. b := dAtA[iNdEx]
  3673. iNdEx++
  3674. msglen |= int(b&0x7F) << shift
  3675. if b < 0x80 {
  3676. break
  3677. }
  3678. }
  3679. if msglen < 0 {
  3680. return ErrInvalidLengthGenerated
  3681. }
  3682. postIndex := iNdEx + msglen
  3683. if postIndex < 0 {
  3684. return ErrInvalidLengthGenerated
  3685. }
  3686. if postIndex > l {
  3687. return io.ErrUnexpectedEOF
  3688. }
  3689. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3690. return err
  3691. }
  3692. iNdEx = postIndex
  3693. case 2:
  3694. if wireType != 2 {
  3695. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  3696. }
  3697. var msglen int
  3698. for shift := uint(0); ; shift += 7 {
  3699. if shift >= 64 {
  3700. return ErrIntOverflowGenerated
  3701. }
  3702. if iNdEx >= l {
  3703. return io.ErrUnexpectedEOF
  3704. }
  3705. b := dAtA[iNdEx]
  3706. iNdEx++
  3707. msglen |= int(b&0x7F) << shift
  3708. if b < 0x80 {
  3709. break
  3710. }
  3711. }
  3712. if msglen < 0 {
  3713. return ErrInvalidLengthGenerated
  3714. }
  3715. postIndex := iNdEx + msglen
  3716. if postIndex < 0 {
  3717. return ErrInvalidLengthGenerated
  3718. }
  3719. if postIndex > l {
  3720. return io.ErrUnexpectedEOF
  3721. }
  3722. m.Items = append(m.Items, ControllerRevision{})
  3723. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3724. return err
  3725. }
  3726. iNdEx = postIndex
  3727. default:
  3728. iNdEx = preIndex
  3729. skippy, err := skipGenerated(dAtA[iNdEx:])
  3730. if err != nil {
  3731. return err
  3732. }
  3733. if (skippy < 0) || (iNdEx+skippy) < 0 {
  3734. return ErrInvalidLengthGenerated
  3735. }
  3736. if (iNdEx + skippy) > l {
  3737. return io.ErrUnexpectedEOF
  3738. }
  3739. iNdEx += skippy
  3740. }
  3741. }
  3742. if iNdEx > l {
  3743. return io.ErrUnexpectedEOF
  3744. }
  3745. return nil
  3746. }
  3747. func (m *DaemonSet) Unmarshal(dAtA []byte) error {
  3748. l := len(dAtA)
  3749. iNdEx := 0
  3750. for iNdEx < l {
  3751. preIndex := iNdEx
  3752. var wire uint64
  3753. for shift := uint(0); ; shift += 7 {
  3754. if shift >= 64 {
  3755. return ErrIntOverflowGenerated
  3756. }
  3757. if iNdEx >= l {
  3758. return io.ErrUnexpectedEOF
  3759. }
  3760. b := dAtA[iNdEx]
  3761. iNdEx++
  3762. wire |= uint64(b&0x7F) << shift
  3763. if b < 0x80 {
  3764. break
  3765. }
  3766. }
  3767. fieldNum := int32(wire >> 3)
  3768. wireType := int(wire & 0x7)
  3769. if wireType == 4 {
  3770. return fmt.Errorf("proto: DaemonSet: wiretype end group for non-group")
  3771. }
  3772. if fieldNum <= 0 {
  3773. return fmt.Errorf("proto: DaemonSet: illegal tag %d (wire type %d)", fieldNum, wire)
  3774. }
  3775. switch fieldNum {
  3776. case 1:
  3777. if wireType != 2 {
  3778. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  3779. }
  3780. var msglen int
  3781. for shift := uint(0); ; shift += 7 {
  3782. if shift >= 64 {
  3783. return ErrIntOverflowGenerated
  3784. }
  3785. if iNdEx >= l {
  3786. return io.ErrUnexpectedEOF
  3787. }
  3788. b := dAtA[iNdEx]
  3789. iNdEx++
  3790. msglen |= int(b&0x7F) << shift
  3791. if b < 0x80 {
  3792. break
  3793. }
  3794. }
  3795. if msglen < 0 {
  3796. return ErrInvalidLengthGenerated
  3797. }
  3798. postIndex := iNdEx + msglen
  3799. if postIndex < 0 {
  3800. return ErrInvalidLengthGenerated
  3801. }
  3802. if postIndex > l {
  3803. return io.ErrUnexpectedEOF
  3804. }
  3805. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3806. return err
  3807. }
  3808. iNdEx = postIndex
  3809. case 2:
  3810. if wireType != 2 {
  3811. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  3812. }
  3813. var msglen int
  3814. for shift := uint(0); ; shift += 7 {
  3815. if shift >= 64 {
  3816. return ErrIntOverflowGenerated
  3817. }
  3818. if iNdEx >= l {
  3819. return io.ErrUnexpectedEOF
  3820. }
  3821. b := dAtA[iNdEx]
  3822. iNdEx++
  3823. msglen |= int(b&0x7F) << shift
  3824. if b < 0x80 {
  3825. break
  3826. }
  3827. }
  3828. if msglen < 0 {
  3829. return ErrInvalidLengthGenerated
  3830. }
  3831. postIndex := iNdEx + msglen
  3832. if postIndex < 0 {
  3833. return ErrInvalidLengthGenerated
  3834. }
  3835. if postIndex > l {
  3836. return io.ErrUnexpectedEOF
  3837. }
  3838. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3839. return err
  3840. }
  3841. iNdEx = postIndex
  3842. case 3:
  3843. if wireType != 2 {
  3844. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  3845. }
  3846. var msglen int
  3847. for shift := uint(0); ; shift += 7 {
  3848. if shift >= 64 {
  3849. return ErrIntOverflowGenerated
  3850. }
  3851. if iNdEx >= l {
  3852. return io.ErrUnexpectedEOF
  3853. }
  3854. b := dAtA[iNdEx]
  3855. iNdEx++
  3856. msglen |= int(b&0x7F) << shift
  3857. if b < 0x80 {
  3858. break
  3859. }
  3860. }
  3861. if msglen < 0 {
  3862. return ErrInvalidLengthGenerated
  3863. }
  3864. postIndex := iNdEx + msglen
  3865. if postIndex < 0 {
  3866. return ErrInvalidLengthGenerated
  3867. }
  3868. if postIndex > l {
  3869. return io.ErrUnexpectedEOF
  3870. }
  3871. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3872. return err
  3873. }
  3874. iNdEx = postIndex
  3875. default:
  3876. iNdEx = preIndex
  3877. skippy, err := skipGenerated(dAtA[iNdEx:])
  3878. if err != nil {
  3879. return err
  3880. }
  3881. if (skippy < 0) || (iNdEx+skippy) < 0 {
  3882. return ErrInvalidLengthGenerated
  3883. }
  3884. if (iNdEx + skippy) > l {
  3885. return io.ErrUnexpectedEOF
  3886. }
  3887. iNdEx += skippy
  3888. }
  3889. }
  3890. if iNdEx > l {
  3891. return io.ErrUnexpectedEOF
  3892. }
  3893. return nil
  3894. }
  3895. func (m *DaemonSetCondition) Unmarshal(dAtA []byte) error {
  3896. l := len(dAtA)
  3897. iNdEx := 0
  3898. for iNdEx < l {
  3899. preIndex := iNdEx
  3900. var wire uint64
  3901. for shift := uint(0); ; shift += 7 {
  3902. if shift >= 64 {
  3903. return ErrIntOverflowGenerated
  3904. }
  3905. if iNdEx >= l {
  3906. return io.ErrUnexpectedEOF
  3907. }
  3908. b := dAtA[iNdEx]
  3909. iNdEx++
  3910. wire |= uint64(b&0x7F) << shift
  3911. if b < 0x80 {
  3912. break
  3913. }
  3914. }
  3915. fieldNum := int32(wire >> 3)
  3916. wireType := int(wire & 0x7)
  3917. if wireType == 4 {
  3918. return fmt.Errorf("proto: DaemonSetCondition: wiretype end group for non-group")
  3919. }
  3920. if fieldNum <= 0 {
  3921. return fmt.Errorf("proto: DaemonSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  3922. }
  3923. switch fieldNum {
  3924. case 1:
  3925. if wireType != 2 {
  3926. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  3927. }
  3928. var stringLen uint64
  3929. for shift := uint(0); ; shift += 7 {
  3930. if shift >= 64 {
  3931. return ErrIntOverflowGenerated
  3932. }
  3933. if iNdEx >= l {
  3934. return io.ErrUnexpectedEOF
  3935. }
  3936. b := dAtA[iNdEx]
  3937. iNdEx++
  3938. stringLen |= uint64(b&0x7F) << shift
  3939. if b < 0x80 {
  3940. break
  3941. }
  3942. }
  3943. intStringLen := int(stringLen)
  3944. if intStringLen < 0 {
  3945. return ErrInvalidLengthGenerated
  3946. }
  3947. postIndex := iNdEx + intStringLen
  3948. if postIndex < 0 {
  3949. return ErrInvalidLengthGenerated
  3950. }
  3951. if postIndex > l {
  3952. return io.ErrUnexpectedEOF
  3953. }
  3954. m.Type = DaemonSetConditionType(dAtA[iNdEx:postIndex])
  3955. iNdEx = postIndex
  3956. case 2:
  3957. if wireType != 2 {
  3958. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  3959. }
  3960. var stringLen uint64
  3961. for shift := uint(0); ; shift += 7 {
  3962. if shift >= 64 {
  3963. return ErrIntOverflowGenerated
  3964. }
  3965. if iNdEx >= l {
  3966. return io.ErrUnexpectedEOF
  3967. }
  3968. b := dAtA[iNdEx]
  3969. iNdEx++
  3970. stringLen |= uint64(b&0x7F) << shift
  3971. if b < 0x80 {
  3972. break
  3973. }
  3974. }
  3975. intStringLen := int(stringLen)
  3976. if intStringLen < 0 {
  3977. return ErrInvalidLengthGenerated
  3978. }
  3979. postIndex := iNdEx + intStringLen
  3980. if postIndex < 0 {
  3981. return ErrInvalidLengthGenerated
  3982. }
  3983. if postIndex > l {
  3984. return io.ErrUnexpectedEOF
  3985. }
  3986. m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
  3987. iNdEx = postIndex
  3988. case 3:
  3989. if wireType != 2 {
  3990. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  3991. }
  3992. var msglen int
  3993. for shift := uint(0); ; shift += 7 {
  3994. if shift >= 64 {
  3995. return ErrIntOverflowGenerated
  3996. }
  3997. if iNdEx >= l {
  3998. return io.ErrUnexpectedEOF
  3999. }
  4000. b := dAtA[iNdEx]
  4001. iNdEx++
  4002. msglen |= int(b&0x7F) << shift
  4003. if b < 0x80 {
  4004. break
  4005. }
  4006. }
  4007. if msglen < 0 {
  4008. return ErrInvalidLengthGenerated
  4009. }
  4010. postIndex := iNdEx + msglen
  4011. if postIndex < 0 {
  4012. return ErrInvalidLengthGenerated
  4013. }
  4014. if postIndex > l {
  4015. return io.ErrUnexpectedEOF
  4016. }
  4017. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4018. return err
  4019. }
  4020. iNdEx = postIndex
  4021. case 4:
  4022. if wireType != 2 {
  4023. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  4024. }
  4025. var stringLen uint64
  4026. for shift := uint(0); ; shift += 7 {
  4027. if shift >= 64 {
  4028. return ErrIntOverflowGenerated
  4029. }
  4030. if iNdEx >= l {
  4031. return io.ErrUnexpectedEOF
  4032. }
  4033. b := dAtA[iNdEx]
  4034. iNdEx++
  4035. stringLen |= uint64(b&0x7F) << shift
  4036. if b < 0x80 {
  4037. break
  4038. }
  4039. }
  4040. intStringLen := int(stringLen)
  4041. if intStringLen < 0 {
  4042. return ErrInvalidLengthGenerated
  4043. }
  4044. postIndex := iNdEx + intStringLen
  4045. if postIndex < 0 {
  4046. return ErrInvalidLengthGenerated
  4047. }
  4048. if postIndex > l {
  4049. return io.ErrUnexpectedEOF
  4050. }
  4051. m.Reason = string(dAtA[iNdEx:postIndex])
  4052. iNdEx = postIndex
  4053. case 5:
  4054. if wireType != 2 {
  4055. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  4056. }
  4057. var stringLen uint64
  4058. for shift := uint(0); ; shift += 7 {
  4059. if shift >= 64 {
  4060. return ErrIntOverflowGenerated
  4061. }
  4062. if iNdEx >= l {
  4063. return io.ErrUnexpectedEOF
  4064. }
  4065. b := dAtA[iNdEx]
  4066. iNdEx++
  4067. stringLen |= uint64(b&0x7F) << shift
  4068. if b < 0x80 {
  4069. break
  4070. }
  4071. }
  4072. intStringLen := int(stringLen)
  4073. if intStringLen < 0 {
  4074. return ErrInvalidLengthGenerated
  4075. }
  4076. postIndex := iNdEx + intStringLen
  4077. if postIndex < 0 {
  4078. return ErrInvalidLengthGenerated
  4079. }
  4080. if postIndex > l {
  4081. return io.ErrUnexpectedEOF
  4082. }
  4083. m.Message = string(dAtA[iNdEx:postIndex])
  4084. iNdEx = postIndex
  4085. default:
  4086. iNdEx = preIndex
  4087. skippy, err := skipGenerated(dAtA[iNdEx:])
  4088. if err != nil {
  4089. return err
  4090. }
  4091. if (skippy < 0) || (iNdEx+skippy) < 0 {
  4092. return ErrInvalidLengthGenerated
  4093. }
  4094. if (iNdEx + skippy) > l {
  4095. return io.ErrUnexpectedEOF
  4096. }
  4097. iNdEx += skippy
  4098. }
  4099. }
  4100. if iNdEx > l {
  4101. return io.ErrUnexpectedEOF
  4102. }
  4103. return nil
  4104. }
  4105. func (m *DaemonSetList) Unmarshal(dAtA []byte) error {
  4106. l := len(dAtA)
  4107. iNdEx := 0
  4108. for iNdEx < l {
  4109. preIndex := iNdEx
  4110. var wire uint64
  4111. for shift := uint(0); ; shift += 7 {
  4112. if shift >= 64 {
  4113. return ErrIntOverflowGenerated
  4114. }
  4115. if iNdEx >= l {
  4116. return io.ErrUnexpectedEOF
  4117. }
  4118. b := dAtA[iNdEx]
  4119. iNdEx++
  4120. wire |= uint64(b&0x7F) << shift
  4121. if b < 0x80 {
  4122. break
  4123. }
  4124. }
  4125. fieldNum := int32(wire >> 3)
  4126. wireType := int(wire & 0x7)
  4127. if wireType == 4 {
  4128. return fmt.Errorf("proto: DaemonSetList: wiretype end group for non-group")
  4129. }
  4130. if fieldNum <= 0 {
  4131. return fmt.Errorf("proto: DaemonSetList: illegal tag %d (wire type %d)", fieldNum, wire)
  4132. }
  4133. switch fieldNum {
  4134. case 1:
  4135. if wireType != 2 {
  4136. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  4137. }
  4138. var msglen int
  4139. for shift := uint(0); ; shift += 7 {
  4140. if shift >= 64 {
  4141. return ErrIntOverflowGenerated
  4142. }
  4143. if iNdEx >= l {
  4144. return io.ErrUnexpectedEOF
  4145. }
  4146. b := dAtA[iNdEx]
  4147. iNdEx++
  4148. msglen |= int(b&0x7F) << shift
  4149. if b < 0x80 {
  4150. break
  4151. }
  4152. }
  4153. if msglen < 0 {
  4154. return ErrInvalidLengthGenerated
  4155. }
  4156. postIndex := iNdEx + msglen
  4157. if postIndex < 0 {
  4158. return ErrInvalidLengthGenerated
  4159. }
  4160. if postIndex > l {
  4161. return io.ErrUnexpectedEOF
  4162. }
  4163. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4164. return err
  4165. }
  4166. iNdEx = postIndex
  4167. case 2:
  4168. if wireType != 2 {
  4169. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  4170. }
  4171. var msglen int
  4172. for shift := uint(0); ; shift += 7 {
  4173. if shift >= 64 {
  4174. return ErrIntOverflowGenerated
  4175. }
  4176. if iNdEx >= l {
  4177. return io.ErrUnexpectedEOF
  4178. }
  4179. b := dAtA[iNdEx]
  4180. iNdEx++
  4181. msglen |= int(b&0x7F) << shift
  4182. if b < 0x80 {
  4183. break
  4184. }
  4185. }
  4186. if msglen < 0 {
  4187. return ErrInvalidLengthGenerated
  4188. }
  4189. postIndex := iNdEx + msglen
  4190. if postIndex < 0 {
  4191. return ErrInvalidLengthGenerated
  4192. }
  4193. if postIndex > l {
  4194. return io.ErrUnexpectedEOF
  4195. }
  4196. m.Items = append(m.Items, DaemonSet{})
  4197. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4198. return err
  4199. }
  4200. iNdEx = postIndex
  4201. default:
  4202. iNdEx = preIndex
  4203. skippy, err := skipGenerated(dAtA[iNdEx:])
  4204. if err != nil {
  4205. return err
  4206. }
  4207. if (skippy < 0) || (iNdEx+skippy) < 0 {
  4208. return ErrInvalidLengthGenerated
  4209. }
  4210. if (iNdEx + skippy) > l {
  4211. return io.ErrUnexpectedEOF
  4212. }
  4213. iNdEx += skippy
  4214. }
  4215. }
  4216. if iNdEx > l {
  4217. return io.ErrUnexpectedEOF
  4218. }
  4219. return nil
  4220. }
  4221. func (m *DaemonSetSpec) Unmarshal(dAtA []byte) error {
  4222. l := len(dAtA)
  4223. iNdEx := 0
  4224. for iNdEx < l {
  4225. preIndex := iNdEx
  4226. var wire uint64
  4227. for shift := uint(0); ; shift += 7 {
  4228. if shift >= 64 {
  4229. return ErrIntOverflowGenerated
  4230. }
  4231. if iNdEx >= l {
  4232. return io.ErrUnexpectedEOF
  4233. }
  4234. b := dAtA[iNdEx]
  4235. iNdEx++
  4236. wire |= uint64(b&0x7F) << shift
  4237. if b < 0x80 {
  4238. break
  4239. }
  4240. }
  4241. fieldNum := int32(wire >> 3)
  4242. wireType := int(wire & 0x7)
  4243. if wireType == 4 {
  4244. return fmt.Errorf("proto: DaemonSetSpec: wiretype end group for non-group")
  4245. }
  4246. if fieldNum <= 0 {
  4247. return fmt.Errorf("proto: DaemonSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  4248. }
  4249. switch fieldNum {
  4250. case 1:
  4251. if wireType != 2 {
  4252. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  4253. }
  4254. var msglen int
  4255. for shift := uint(0); ; shift += 7 {
  4256. if shift >= 64 {
  4257. return ErrIntOverflowGenerated
  4258. }
  4259. if iNdEx >= l {
  4260. return io.ErrUnexpectedEOF
  4261. }
  4262. b := dAtA[iNdEx]
  4263. iNdEx++
  4264. msglen |= int(b&0x7F) << shift
  4265. if b < 0x80 {
  4266. break
  4267. }
  4268. }
  4269. if msglen < 0 {
  4270. return ErrInvalidLengthGenerated
  4271. }
  4272. postIndex := iNdEx + msglen
  4273. if postIndex < 0 {
  4274. return ErrInvalidLengthGenerated
  4275. }
  4276. if postIndex > l {
  4277. return io.ErrUnexpectedEOF
  4278. }
  4279. if m.Selector == nil {
  4280. m.Selector = &v1.LabelSelector{}
  4281. }
  4282. if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4283. return err
  4284. }
  4285. iNdEx = postIndex
  4286. case 2:
  4287. if wireType != 2 {
  4288. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  4289. }
  4290. var msglen int
  4291. for shift := uint(0); ; shift += 7 {
  4292. if shift >= 64 {
  4293. return ErrIntOverflowGenerated
  4294. }
  4295. if iNdEx >= l {
  4296. return io.ErrUnexpectedEOF
  4297. }
  4298. b := dAtA[iNdEx]
  4299. iNdEx++
  4300. msglen |= int(b&0x7F) << shift
  4301. if b < 0x80 {
  4302. break
  4303. }
  4304. }
  4305. if msglen < 0 {
  4306. return ErrInvalidLengthGenerated
  4307. }
  4308. postIndex := iNdEx + msglen
  4309. if postIndex < 0 {
  4310. return ErrInvalidLengthGenerated
  4311. }
  4312. if postIndex > l {
  4313. return io.ErrUnexpectedEOF
  4314. }
  4315. if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4316. return err
  4317. }
  4318. iNdEx = postIndex
  4319. case 3:
  4320. if wireType != 2 {
  4321. return fmt.Errorf("proto: wrong wireType = %d for field UpdateStrategy", wireType)
  4322. }
  4323. var msglen int
  4324. for shift := uint(0); ; shift += 7 {
  4325. if shift >= 64 {
  4326. return ErrIntOverflowGenerated
  4327. }
  4328. if iNdEx >= l {
  4329. return io.ErrUnexpectedEOF
  4330. }
  4331. b := dAtA[iNdEx]
  4332. iNdEx++
  4333. msglen |= int(b&0x7F) << shift
  4334. if b < 0x80 {
  4335. break
  4336. }
  4337. }
  4338. if msglen < 0 {
  4339. return ErrInvalidLengthGenerated
  4340. }
  4341. postIndex := iNdEx + msglen
  4342. if postIndex < 0 {
  4343. return ErrInvalidLengthGenerated
  4344. }
  4345. if postIndex > l {
  4346. return io.ErrUnexpectedEOF
  4347. }
  4348. if err := m.UpdateStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4349. return err
  4350. }
  4351. iNdEx = postIndex
  4352. case 4:
  4353. if wireType != 0 {
  4354. return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
  4355. }
  4356. m.MinReadySeconds = 0
  4357. for shift := uint(0); ; shift += 7 {
  4358. if shift >= 64 {
  4359. return ErrIntOverflowGenerated
  4360. }
  4361. if iNdEx >= l {
  4362. return io.ErrUnexpectedEOF
  4363. }
  4364. b := dAtA[iNdEx]
  4365. iNdEx++
  4366. m.MinReadySeconds |= int32(b&0x7F) << shift
  4367. if b < 0x80 {
  4368. break
  4369. }
  4370. }
  4371. case 6:
  4372. if wireType != 0 {
  4373. return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
  4374. }
  4375. var v int32
  4376. for shift := uint(0); ; shift += 7 {
  4377. if shift >= 64 {
  4378. return ErrIntOverflowGenerated
  4379. }
  4380. if iNdEx >= l {
  4381. return io.ErrUnexpectedEOF
  4382. }
  4383. b := dAtA[iNdEx]
  4384. iNdEx++
  4385. v |= int32(b&0x7F) << shift
  4386. if b < 0x80 {
  4387. break
  4388. }
  4389. }
  4390. m.RevisionHistoryLimit = &v
  4391. default:
  4392. iNdEx = preIndex
  4393. skippy, err := skipGenerated(dAtA[iNdEx:])
  4394. if err != nil {
  4395. return err
  4396. }
  4397. if (skippy < 0) || (iNdEx+skippy) < 0 {
  4398. return ErrInvalidLengthGenerated
  4399. }
  4400. if (iNdEx + skippy) > l {
  4401. return io.ErrUnexpectedEOF
  4402. }
  4403. iNdEx += skippy
  4404. }
  4405. }
  4406. if iNdEx > l {
  4407. return io.ErrUnexpectedEOF
  4408. }
  4409. return nil
  4410. }
  4411. func (m *DaemonSetStatus) Unmarshal(dAtA []byte) error {
  4412. l := len(dAtA)
  4413. iNdEx := 0
  4414. for iNdEx < l {
  4415. preIndex := iNdEx
  4416. var wire uint64
  4417. for shift := uint(0); ; shift += 7 {
  4418. if shift >= 64 {
  4419. return ErrIntOverflowGenerated
  4420. }
  4421. if iNdEx >= l {
  4422. return io.ErrUnexpectedEOF
  4423. }
  4424. b := dAtA[iNdEx]
  4425. iNdEx++
  4426. wire |= uint64(b&0x7F) << shift
  4427. if b < 0x80 {
  4428. break
  4429. }
  4430. }
  4431. fieldNum := int32(wire >> 3)
  4432. wireType := int(wire & 0x7)
  4433. if wireType == 4 {
  4434. return fmt.Errorf("proto: DaemonSetStatus: wiretype end group for non-group")
  4435. }
  4436. if fieldNum <= 0 {
  4437. return fmt.Errorf("proto: DaemonSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  4438. }
  4439. switch fieldNum {
  4440. case 1:
  4441. if wireType != 0 {
  4442. return fmt.Errorf("proto: wrong wireType = %d for field CurrentNumberScheduled", wireType)
  4443. }
  4444. m.CurrentNumberScheduled = 0
  4445. for shift := uint(0); ; shift += 7 {
  4446. if shift >= 64 {
  4447. return ErrIntOverflowGenerated
  4448. }
  4449. if iNdEx >= l {
  4450. return io.ErrUnexpectedEOF
  4451. }
  4452. b := dAtA[iNdEx]
  4453. iNdEx++
  4454. m.CurrentNumberScheduled |= int32(b&0x7F) << shift
  4455. if b < 0x80 {
  4456. break
  4457. }
  4458. }
  4459. case 2:
  4460. if wireType != 0 {
  4461. return fmt.Errorf("proto: wrong wireType = %d for field NumberMisscheduled", wireType)
  4462. }
  4463. m.NumberMisscheduled = 0
  4464. for shift := uint(0); ; shift += 7 {
  4465. if shift >= 64 {
  4466. return ErrIntOverflowGenerated
  4467. }
  4468. if iNdEx >= l {
  4469. return io.ErrUnexpectedEOF
  4470. }
  4471. b := dAtA[iNdEx]
  4472. iNdEx++
  4473. m.NumberMisscheduled |= int32(b&0x7F) << shift
  4474. if b < 0x80 {
  4475. break
  4476. }
  4477. }
  4478. case 3:
  4479. if wireType != 0 {
  4480. return fmt.Errorf("proto: wrong wireType = %d for field DesiredNumberScheduled", wireType)
  4481. }
  4482. m.DesiredNumberScheduled = 0
  4483. for shift := uint(0); ; shift += 7 {
  4484. if shift >= 64 {
  4485. return ErrIntOverflowGenerated
  4486. }
  4487. if iNdEx >= l {
  4488. return io.ErrUnexpectedEOF
  4489. }
  4490. b := dAtA[iNdEx]
  4491. iNdEx++
  4492. m.DesiredNumberScheduled |= int32(b&0x7F) << shift
  4493. if b < 0x80 {
  4494. break
  4495. }
  4496. }
  4497. case 4:
  4498. if wireType != 0 {
  4499. return fmt.Errorf("proto: wrong wireType = %d for field NumberReady", wireType)
  4500. }
  4501. m.NumberReady = 0
  4502. for shift := uint(0); ; shift += 7 {
  4503. if shift >= 64 {
  4504. return ErrIntOverflowGenerated
  4505. }
  4506. if iNdEx >= l {
  4507. return io.ErrUnexpectedEOF
  4508. }
  4509. b := dAtA[iNdEx]
  4510. iNdEx++
  4511. m.NumberReady |= int32(b&0x7F) << shift
  4512. if b < 0x80 {
  4513. break
  4514. }
  4515. }
  4516. case 5:
  4517. if wireType != 0 {
  4518. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  4519. }
  4520. m.ObservedGeneration = 0
  4521. for shift := uint(0); ; shift += 7 {
  4522. if shift >= 64 {
  4523. return ErrIntOverflowGenerated
  4524. }
  4525. if iNdEx >= l {
  4526. return io.ErrUnexpectedEOF
  4527. }
  4528. b := dAtA[iNdEx]
  4529. iNdEx++
  4530. m.ObservedGeneration |= int64(b&0x7F) << shift
  4531. if b < 0x80 {
  4532. break
  4533. }
  4534. }
  4535. case 6:
  4536. if wireType != 0 {
  4537. return fmt.Errorf("proto: wrong wireType = %d for field UpdatedNumberScheduled", wireType)
  4538. }
  4539. m.UpdatedNumberScheduled = 0
  4540. for shift := uint(0); ; shift += 7 {
  4541. if shift >= 64 {
  4542. return ErrIntOverflowGenerated
  4543. }
  4544. if iNdEx >= l {
  4545. return io.ErrUnexpectedEOF
  4546. }
  4547. b := dAtA[iNdEx]
  4548. iNdEx++
  4549. m.UpdatedNumberScheduled |= int32(b&0x7F) << shift
  4550. if b < 0x80 {
  4551. break
  4552. }
  4553. }
  4554. case 7:
  4555. if wireType != 0 {
  4556. return fmt.Errorf("proto: wrong wireType = %d for field NumberAvailable", wireType)
  4557. }
  4558. m.NumberAvailable = 0
  4559. for shift := uint(0); ; shift += 7 {
  4560. if shift >= 64 {
  4561. return ErrIntOverflowGenerated
  4562. }
  4563. if iNdEx >= l {
  4564. return io.ErrUnexpectedEOF
  4565. }
  4566. b := dAtA[iNdEx]
  4567. iNdEx++
  4568. m.NumberAvailable |= int32(b&0x7F) << shift
  4569. if b < 0x80 {
  4570. break
  4571. }
  4572. }
  4573. case 8:
  4574. if wireType != 0 {
  4575. return fmt.Errorf("proto: wrong wireType = %d for field NumberUnavailable", wireType)
  4576. }
  4577. m.NumberUnavailable = 0
  4578. for shift := uint(0); ; shift += 7 {
  4579. if shift >= 64 {
  4580. return ErrIntOverflowGenerated
  4581. }
  4582. if iNdEx >= l {
  4583. return io.ErrUnexpectedEOF
  4584. }
  4585. b := dAtA[iNdEx]
  4586. iNdEx++
  4587. m.NumberUnavailable |= int32(b&0x7F) << shift
  4588. if b < 0x80 {
  4589. break
  4590. }
  4591. }
  4592. case 9:
  4593. if wireType != 0 {
  4594. return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
  4595. }
  4596. var v int32
  4597. for shift := uint(0); ; shift += 7 {
  4598. if shift >= 64 {
  4599. return ErrIntOverflowGenerated
  4600. }
  4601. if iNdEx >= l {
  4602. return io.ErrUnexpectedEOF
  4603. }
  4604. b := dAtA[iNdEx]
  4605. iNdEx++
  4606. v |= int32(b&0x7F) << shift
  4607. if b < 0x80 {
  4608. break
  4609. }
  4610. }
  4611. m.CollisionCount = &v
  4612. case 10:
  4613. if wireType != 2 {
  4614. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  4615. }
  4616. var msglen int
  4617. for shift := uint(0); ; shift += 7 {
  4618. if shift >= 64 {
  4619. return ErrIntOverflowGenerated
  4620. }
  4621. if iNdEx >= l {
  4622. return io.ErrUnexpectedEOF
  4623. }
  4624. b := dAtA[iNdEx]
  4625. iNdEx++
  4626. msglen |= int(b&0x7F) << shift
  4627. if b < 0x80 {
  4628. break
  4629. }
  4630. }
  4631. if msglen < 0 {
  4632. return ErrInvalidLengthGenerated
  4633. }
  4634. postIndex := iNdEx + msglen
  4635. if postIndex < 0 {
  4636. return ErrInvalidLengthGenerated
  4637. }
  4638. if postIndex > l {
  4639. return io.ErrUnexpectedEOF
  4640. }
  4641. m.Conditions = append(m.Conditions, DaemonSetCondition{})
  4642. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4643. return err
  4644. }
  4645. iNdEx = postIndex
  4646. default:
  4647. iNdEx = preIndex
  4648. skippy, err := skipGenerated(dAtA[iNdEx:])
  4649. if err != nil {
  4650. return err
  4651. }
  4652. if (skippy < 0) || (iNdEx+skippy) < 0 {
  4653. return ErrInvalidLengthGenerated
  4654. }
  4655. if (iNdEx + skippy) > l {
  4656. return io.ErrUnexpectedEOF
  4657. }
  4658. iNdEx += skippy
  4659. }
  4660. }
  4661. if iNdEx > l {
  4662. return io.ErrUnexpectedEOF
  4663. }
  4664. return nil
  4665. }
  4666. func (m *DaemonSetUpdateStrategy) Unmarshal(dAtA []byte) error {
  4667. l := len(dAtA)
  4668. iNdEx := 0
  4669. for iNdEx < l {
  4670. preIndex := iNdEx
  4671. var wire uint64
  4672. for shift := uint(0); ; shift += 7 {
  4673. if shift >= 64 {
  4674. return ErrIntOverflowGenerated
  4675. }
  4676. if iNdEx >= l {
  4677. return io.ErrUnexpectedEOF
  4678. }
  4679. b := dAtA[iNdEx]
  4680. iNdEx++
  4681. wire |= uint64(b&0x7F) << shift
  4682. if b < 0x80 {
  4683. break
  4684. }
  4685. }
  4686. fieldNum := int32(wire >> 3)
  4687. wireType := int(wire & 0x7)
  4688. if wireType == 4 {
  4689. return fmt.Errorf("proto: DaemonSetUpdateStrategy: wiretype end group for non-group")
  4690. }
  4691. if fieldNum <= 0 {
  4692. return fmt.Errorf("proto: DaemonSetUpdateStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
  4693. }
  4694. switch fieldNum {
  4695. case 1:
  4696. if wireType != 2 {
  4697. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  4698. }
  4699. var stringLen uint64
  4700. for shift := uint(0); ; shift += 7 {
  4701. if shift >= 64 {
  4702. return ErrIntOverflowGenerated
  4703. }
  4704. if iNdEx >= l {
  4705. return io.ErrUnexpectedEOF
  4706. }
  4707. b := dAtA[iNdEx]
  4708. iNdEx++
  4709. stringLen |= uint64(b&0x7F) << shift
  4710. if b < 0x80 {
  4711. break
  4712. }
  4713. }
  4714. intStringLen := int(stringLen)
  4715. if intStringLen < 0 {
  4716. return ErrInvalidLengthGenerated
  4717. }
  4718. postIndex := iNdEx + intStringLen
  4719. if postIndex < 0 {
  4720. return ErrInvalidLengthGenerated
  4721. }
  4722. if postIndex > l {
  4723. return io.ErrUnexpectedEOF
  4724. }
  4725. m.Type = DaemonSetUpdateStrategyType(dAtA[iNdEx:postIndex])
  4726. iNdEx = postIndex
  4727. case 2:
  4728. if wireType != 2 {
  4729. return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
  4730. }
  4731. var msglen int
  4732. for shift := uint(0); ; shift += 7 {
  4733. if shift >= 64 {
  4734. return ErrIntOverflowGenerated
  4735. }
  4736. if iNdEx >= l {
  4737. return io.ErrUnexpectedEOF
  4738. }
  4739. b := dAtA[iNdEx]
  4740. iNdEx++
  4741. msglen |= int(b&0x7F) << shift
  4742. if b < 0x80 {
  4743. break
  4744. }
  4745. }
  4746. if msglen < 0 {
  4747. return ErrInvalidLengthGenerated
  4748. }
  4749. postIndex := iNdEx + msglen
  4750. if postIndex < 0 {
  4751. return ErrInvalidLengthGenerated
  4752. }
  4753. if postIndex > l {
  4754. return io.ErrUnexpectedEOF
  4755. }
  4756. if m.RollingUpdate == nil {
  4757. m.RollingUpdate = &RollingUpdateDaemonSet{}
  4758. }
  4759. if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4760. return err
  4761. }
  4762. iNdEx = postIndex
  4763. default:
  4764. iNdEx = preIndex
  4765. skippy, err := skipGenerated(dAtA[iNdEx:])
  4766. if err != nil {
  4767. return err
  4768. }
  4769. if (skippy < 0) || (iNdEx+skippy) < 0 {
  4770. return ErrInvalidLengthGenerated
  4771. }
  4772. if (iNdEx + skippy) > l {
  4773. return io.ErrUnexpectedEOF
  4774. }
  4775. iNdEx += skippy
  4776. }
  4777. }
  4778. if iNdEx > l {
  4779. return io.ErrUnexpectedEOF
  4780. }
  4781. return nil
  4782. }
  4783. func (m *Deployment) Unmarshal(dAtA []byte) error {
  4784. l := len(dAtA)
  4785. iNdEx := 0
  4786. for iNdEx < l {
  4787. preIndex := iNdEx
  4788. var wire uint64
  4789. for shift := uint(0); ; shift += 7 {
  4790. if shift >= 64 {
  4791. return ErrIntOverflowGenerated
  4792. }
  4793. if iNdEx >= l {
  4794. return io.ErrUnexpectedEOF
  4795. }
  4796. b := dAtA[iNdEx]
  4797. iNdEx++
  4798. wire |= uint64(b&0x7F) << shift
  4799. if b < 0x80 {
  4800. break
  4801. }
  4802. }
  4803. fieldNum := int32(wire >> 3)
  4804. wireType := int(wire & 0x7)
  4805. if wireType == 4 {
  4806. return fmt.Errorf("proto: Deployment: wiretype end group for non-group")
  4807. }
  4808. if fieldNum <= 0 {
  4809. return fmt.Errorf("proto: Deployment: illegal tag %d (wire type %d)", fieldNum, wire)
  4810. }
  4811. switch fieldNum {
  4812. case 1:
  4813. if wireType != 2 {
  4814. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  4815. }
  4816. var msglen int
  4817. for shift := uint(0); ; shift += 7 {
  4818. if shift >= 64 {
  4819. return ErrIntOverflowGenerated
  4820. }
  4821. if iNdEx >= l {
  4822. return io.ErrUnexpectedEOF
  4823. }
  4824. b := dAtA[iNdEx]
  4825. iNdEx++
  4826. msglen |= int(b&0x7F) << shift
  4827. if b < 0x80 {
  4828. break
  4829. }
  4830. }
  4831. if msglen < 0 {
  4832. return ErrInvalidLengthGenerated
  4833. }
  4834. postIndex := iNdEx + msglen
  4835. if postIndex < 0 {
  4836. return ErrInvalidLengthGenerated
  4837. }
  4838. if postIndex > l {
  4839. return io.ErrUnexpectedEOF
  4840. }
  4841. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4842. return err
  4843. }
  4844. iNdEx = postIndex
  4845. case 2:
  4846. if wireType != 2 {
  4847. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  4848. }
  4849. var msglen int
  4850. for shift := uint(0); ; shift += 7 {
  4851. if shift >= 64 {
  4852. return ErrIntOverflowGenerated
  4853. }
  4854. if iNdEx >= l {
  4855. return io.ErrUnexpectedEOF
  4856. }
  4857. b := dAtA[iNdEx]
  4858. iNdEx++
  4859. msglen |= int(b&0x7F) << shift
  4860. if b < 0x80 {
  4861. break
  4862. }
  4863. }
  4864. if msglen < 0 {
  4865. return ErrInvalidLengthGenerated
  4866. }
  4867. postIndex := iNdEx + msglen
  4868. if postIndex < 0 {
  4869. return ErrInvalidLengthGenerated
  4870. }
  4871. if postIndex > l {
  4872. return io.ErrUnexpectedEOF
  4873. }
  4874. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4875. return err
  4876. }
  4877. iNdEx = postIndex
  4878. case 3:
  4879. if wireType != 2 {
  4880. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  4881. }
  4882. var msglen int
  4883. for shift := uint(0); ; shift += 7 {
  4884. if shift >= 64 {
  4885. return ErrIntOverflowGenerated
  4886. }
  4887. if iNdEx >= l {
  4888. return io.ErrUnexpectedEOF
  4889. }
  4890. b := dAtA[iNdEx]
  4891. iNdEx++
  4892. msglen |= int(b&0x7F) << shift
  4893. if b < 0x80 {
  4894. break
  4895. }
  4896. }
  4897. if msglen < 0 {
  4898. return ErrInvalidLengthGenerated
  4899. }
  4900. postIndex := iNdEx + msglen
  4901. if postIndex < 0 {
  4902. return ErrInvalidLengthGenerated
  4903. }
  4904. if postIndex > l {
  4905. return io.ErrUnexpectedEOF
  4906. }
  4907. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4908. return err
  4909. }
  4910. iNdEx = postIndex
  4911. default:
  4912. iNdEx = preIndex
  4913. skippy, err := skipGenerated(dAtA[iNdEx:])
  4914. if err != nil {
  4915. return err
  4916. }
  4917. if (skippy < 0) || (iNdEx+skippy) < 0 {
  4918. return ErrInvalidLengthGenerated
  4919. }
  4920. if (iNdEx + skippy) > l {
  4921. return io.ErrUnexpectedEOF
  4922. }
  4923. iNdEx += skippy
  4924. }
  4925. }
  4926. if iNdEx > l {
  4927. return io.ErrUnexpectedEOF
  4928. }
  4929. return nil
  4930. }
  4931. func (m *DeploymentCondition) Unmarshal(dAtA []byte) error {
  4932. l := len(dAtA)
  4933. iNdEx := 0
  4934. for iNdEx < l {
  4935. preIndex := iNdEx
  4936. var wire uint64
  4937. for shift := uint(0); ; shift += 7 {
  4938. if shift >= 64 {
  4939. return ErrIntOverflowGenerated
  4940. }
  4941. if iNdEx >= l {
  4942. return io.ErrUnexpectedEOF
  4943. }
  4944. b := dAtA[iNdEx]
  4945. iNdEx++
  4946. wire |= uint64(b&0x7F) << shift
  4947. if b < 0x80 {
  4948. break
  4949. }
  4950. }
  4951. fieldNum := int32(wire >> 3)
  4952. wireType := int(wire & 0x7)
  4953. if wireType == 4 {
  4954. return fmt.Errorf("proto: DeploymentCondition: wiretype end group for non-group")
  4955. }
  4956. if fieldNum <= 0 {
  4957. return fmt.Errorf("proto: DeploymentCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  4958. }
  4959. switch fieldNum {
  4960. case 1:
  4961. if wireType != 2 {
  4962. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  4963. }
  4964. var stringLen uint64
  4965. for shift := uint(0); ; shift += 7 {
  4966. if shift >= 64 {
  4967. return ErrIntOverflowGenerated
  4968. }
  4969. if iNdEx >= l {
  4970. return io.ErrUnexpectedEOF
  4971. }
  4972. b := dAtA[iNdEx]
  4973. iNdEx++
  4974. stringLen |= uint64(b&0x7F) << shift
  4975. if b < 0x80 {
  4976. break
  4977. }
  4978. }
  4979. intStringLen := int(stringLen)
  4980. if intStringLen < 0 {
  4981. return ErrInvalidLengthGenerated
  4982. }
  4983. postIndex := iNdEx + intStringLen
  4984. if postIndex < 0 {
  4985. return ErrInvalidLengthGenerated
  4986. }
  4987. if postIndex > l {
  4988. return io.ErrUnexpectedEOF
  4989. }
  4990. m.Type = DeploymentConditionType(dAtA[iNdEx:postIndex])
  4991. iNdEx = postIndex
  4992. case 2:
  4993. if wireType != 2 {
  4994. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  4995. }
  4996. var stringLen uint64
  4997. for shift := uint(0); ; shift += 7 {
  4998. if shift >= 64 {
  4999. return ErrIntOverflowGenerated
  5000. }
  5001. if iNdEx >= l {
  5002. return io.ErrUnexpectedEOF
  5003. }
  5004. b := dAtA[iNdEx]
  5005. iNdEx++
  5006. stringLen |= uint64(b&0x7F) << shift
  5007. if b < 0x80 {
  5008. break
  5009. }
  5010. }
  5011. intStringLen := int(stringLen)
  5012. if intStringLen < 0 {
  5013. return ErrInvalidLengthGenerated
  5014. }
  5015. postIndex := iNdEx + intStringLen
  5016. if postIndex < 0 {
  5017. return ErrInvalidLengthGenerated
  5018. }
  5019. if postIndex > l {
  5020. return io.ErrUnexpectedEOF
  5021. }
  5022. m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
  5023. iNdEx = postIndex
  5024. case 4:
  5025. if wireType != 2 {
  5026. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  5027. }
  5028. var stringLen uint64
  5029. for shift := uint(0); ; shift += 7 {
  5030. if shift >= 64 {
  5031. return ErrIntOverflowGenerated
  5032. }
  5033. if iNdEx >= l {
  5034. return io.ErrUnexpectedEOF
  5035. }
  5036. b := dAtA[iNdEx]
  5037. iNdEx++
  5038. stringLen |= uint64(b&0x7F) << shift
  5039. if b < 0x80 {
  5040. break
  5041. }
  5042. }
  5043. intStringLen := int(stringLen)
  5044. if intStringLen < 0 {
  5045. return ErrInvalidLengthGenerated
  5046. }
  5047. postIndex := iNdEx + intStringLen
  5048. if postIndex < 0 {
  5049. return ErrInvalidLengthGenerated
  5050. }
  5051. if postIndex > l {
  5052. return io.ErrUnexpectedEOF
  5053. }
  5054. m.Reason = string(dAtA[iNdEx:postIndex])
  5055. iNdEx = postIndex
  5056. case 5:
  5057. if wireType != 2 {
  5058. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  5059. }
  5060. var stringLen uint64
  5061. for shift := uint(0); ; shift += 7 {
  5062. if shift >= 64 {
  5063. return ErrIntOverflowGenerated
  5064. }
  5065. if iNdEx >= l {
  5066. return io.ErrUnexpectedEOF
  5067. }
  5068. b := dAtA[iNdEx]
  5069. iNdEx++
  5070. stringLen |= uint64(b&0x7F) << shift
  5071. if b < 0x80 {
  5072. break
  5073. }
  5074. }
  5075. intStringLen := int(stringLen)
  5076. if intStringLen < 0 {
  5077. return ErrInvalidLengthGenerated
  5078. }
  5079. postIndex := iNdEx + intStringLen
  5080. if postIndex < 0 {
  5081. return ErrInvalidLengthGenerated
  5082. }
  5083. if postIndex > l {
  5084. return io.ErrUnexpectedEOF
  5085. }
  5086. m.Message = string(dAtA[iNdEx:postIndex])
  5087. iNdEx = postIndex
  5088. case 6:
  5089. if wireType != 2 {
  5090. return fmt.Errorf("proto: wrong wireType = %d for field LastUpdateTime", wireType)
  5091. }
  5092. var msglen int
  5093. for shift := uint(0); ; shift += 7 {
  5094. if shift >= 64 {
  5095. return ErrIntOverflowGenerated
  5096. }
  5097. if iNdEx >= l {
  5098. return io.ErrUnexpectedEOF
  5099. }
  5100. b := dAtA[iNdEx]
  5101. iNdEx++
  5102. msglen |= int(b&0x7F) << shift
  5103. if b < 0x80 {
  5104. break
  5105. }
  5106. }
  5107. if msglen < 0 {
  5108. return ErrInvalidLengthGenerated
  5109. }
  5110. postIndex := iNdEx + msglen
  5111. if postIndex < 0 {
  5112. return ErrInvalidLengthGenerated
  5113. }
  5114. if postIndex > l {
  5115. return io.ErrUnexpectedEOF
  5116. }
  5117. if err := m.LastUpdateTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5118. return err
  5119. }
  5120. iNdEx = postIndex
  5121. case 7:
  5122. if wireType != 2 {
  5123. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  5124. }
  5125. var msglen int
  5126. for shift := uint(0); ; shift += 7 {
  5127. if shift >= 64 {
  5128. return ErrIntOverflowGenerated
  5129. }
  5130. if iNdEx >= l {
  5131. return io.ErrUnexpectedEOF
  5132. }
  5133. b := dAtA[iNdEx]
  5134. iNdEx++
  5135. msglen |= int(b&0x7F) << shift
  5136. if b < 0x80 {
  5137. break
  5138. }
  5139. }
  5140. if msglen < 0 {
  5141. return ErrInvalidLengthGenerated
  5142. }
  5143. postIndex := iNdEx + msglen
  5144. if postIndex < 0 {
  5145. return ErrInvalidLengthGenerated
  5146. }
  5147. if postIndex > l {
  5148. return io.ErrUnexpectedEOF
  5149. }
  5150. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5151. return err
  5152. }
  5153. iNdEx = postIndex
  5154. default:
  5155. iNdEx = preIndex
  5156. skippy, err := skipGenerated(dAtA[iNdEx:])
  5157. if err != nil {
  5158. return err
  5159. }
  5160. if (skippy < 0) || (iNdEx+skippy) < 0 {
  5161. return ErrInvalidLengthGenerated
  5162. }
  5163. if (iNdEx + skippy) > l {
  5164. return io.ErrUnexpectedEOF
  5165. }
  5166. iNdEx += skippy
  5167. }
  5168. }
  5169. if iNdEx > l {
  5170. return io.ErrUnexpectedEOF
  5171. }
  5172. return nil
  5173. }
  5174. func (m *DeploymentList) Unmarshal(dAtA []byte) error {
  5175. l := len(dAtA)
  5176. iNdEx := 0
  5177. for iNdEx < l {
  5178. preIndex := iNdEx
  5179. var wire uint64
  5180. for shift := uint(0); ; shift += 7 {
  5181. if shift >= 64 {
  5182. return ErrIntOverflowGenerated
  5183. }
  5184. if iNdEx >= l {
  5185. return io.ErrUnexpectedEOF
  5186. }
  5187. b := dAtA[iNdEx]
  5188. iNdEx++
  5189. wire |= uint64(b&0x7F) << shift
  5190. if b < 0x80 {
  5191. break
  5192. }
  5193. }
  5194. fieldNum := int32(wire >> 3)
  5195. wireType := int(wire & 0x7)
  5196. if wireType == 4 {
  5197. return fmt.Errorf("proto: DeploymentList: wiretype end group for non-group")
  5198. }
  5199. if fieldNum <= 0 {
  5200. return fmt.Errorf("proto: DeploymentList: illegal tag %d (wire type %d)", fieldNum, wire)
  5201. }
  5202. switch fieldNum {
  5203. case 1:
  5204. if wireType != 2 {
  5205. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  5206. }
  5207. var msglen int
  5208. for shift := uint(0); ; shift += 7 {
  5209. if shift >= 64 {
  5210. return ErrIntOverflowGenerated
  5211. }
  5212. if iNdEx >= l {
  5213. return io.ErrUnexpectedEOF
  5214. }
  5215. b := dAtA[iNdEx]
  5216. iNdEx++
  5217. msglen |= int(b&0x7F) << shift
  5218. if b < 0x80 {
  5219. break
  5220. }
  5221. }
  5222. if msglen < 0 {
  5223. return ErrInvalidLengthGenerated
  5224. }
  5225. postIndex := iNdEx + msglen
  5226. if postIndex < 0 {
  5227. return ErrInvalidLengthGenerated
  5228. }
  5229. if postIndex > l {
  5230. return io.ErrUnexpectedEOF
  5231. }
  5232. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5233. return err
  5234. }
  5235. iNdEx = postIndex
  5236. case 2:
  5237. if wireType != 2 {
  5238. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  5239. }
  5240. var msglen int
  5241. for shift := uint(0); ; shift += 7 {
  5242. if shift >= 64 {
  5243. return ErrIntOverflowGenerated
  5244. }
  5245. if iNdEx >= l {
  5246. return io.ErrUnexpectedEOF
  5247. }
  5248. b := dAtA[iNdEx]
  5249. iNdEx++
  5250. msglen |= int(b&0x7F) << shift
  5251. if b < 0x80 {
  5252. break
  5253. }
  5254. }
  5255. if msglen < 0 {
  5256. return ErrInvalidLengthGenerated
  5257. }
  5258. postIndex := iNdEx + msglen
  5259. if postIndex < 0 {
  5260. return ErrInvalidLengthGenerated
  5261. }
  5262. if postIndex > l {
  5263. return io.ErrUnexpectedEOF
  5264. }
  5265. m.Items = append(m.Items, Deployment{})
  5266. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5267. return err
  5268. }
  5269. iNdEx = postIndex
  5270. default:
  5271. iNdEx = preIndex
  5272. skippy, err := skipGenerated(dAtA[iNdEx:])
  5273. if err != nil {
  5274. return err
  5275. }
  5276. if (skippy < 0) || (iNdEx+skippy) < 0 {
  5277. return ErrInvalidLengthGenerated
  5278. }
  5279. if (iNdEx + skippy) > l {
  5280. return io.ErrUnexpectedEOF
  5281. }
  5282. iNdEx += skippy
  5283. }
  5284. }
  5285. if iNdEx > l {
  5286. return io.ErrUnexpectedEOF
  5287. }
  5288. return nil
  5289. }
  5290. func (m *DeploymentSpec) Unmarshal(dAtA []byte) error {
  5291. l := len(dAtA)
  5292. iNdEx := 0
  5293. for iNdEx < l {
  5294. preIndex := iNdEx
  5295. var wire uint64
  5296. for shift := uint(0); ; shift += 7 {
  5297. if shift >= 64 {
  5298. return ErrIntOverflowGenerated
  5299. }
  5300. if iNdEx >= l {
  5301. return io.ErrUnexpectedEOF
  5302. }
  5303. b := dAtA[iNdEx]
  5304. iNdEx++
  5305. wire |= uint64(b&0x7F) << shift
  5306. if b < 0x80 {
  5307. break
  5308. }
  5309. }
  5310. fieldNum := int32(wire >> 3)
  5311. wireType := int(wire & 0x7)
  5312. if wireType == 4 {
  5313. return fmt.Errorf("proto: DeploymentSpec: wiretype end group for non-group")
  5314. }
  5315. if fieldNum <= 0 {
  5316. return fmt.Errorf("proto: DeploymentSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  5317. }
  5318. switch fieldNum {
  5319. case 1:
  5320. if wireType != 0 {
  5321. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  5322. }
  5323. var v int32
  5324. for shift := uint(0); ; shift += 7 {
  5325. if shift >= 64 {
  5326. return ErrIntOverflowGenerated
  5327. }
  5328. if iNdEx >= l {
  5329. return io.ErrUnexpectedEOF
  5330. }
  5331. b := dAtA[iNdEx]
  5332. iNdEx++
  5333. v |= int32(b&0x7F) << shift
  5334. if b < 0x80 {
  5335. break
  5336. }
  5337. }
  5338. m.Replicas = &v
  5339. case 2:
  5340. if wireType != 2 {
  5341. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  5342. }
  5343. var msglen int
  5344. for shift := uint(0); ; shift += 7 {
  5345. if shift >= 64 {
  5346. return ErrIntOverflowGenerated
  5347. }
  5348. if iNdEx >= l {
  5349. return io.ErrUnexpectedEOF
  5350. }
  5351. b := dAtA[iNdEx]
  5352. iNdEx++
  5353. msglen |= int(b&0x7F) << shift
  5354. if b < 0x80 {
  5355. break
  5356. }
  5357. }
  5358. if msglen < 0 {
  5359. return ErrInvalidLengthGenerated
  5360. }
  5361. postIndex := iNdEx + msglen
  5362. if postIndex < 0 {
  5363. return ErrInvalidLengthGenerated
  5364. }
  5365. if postIndex > l {
  5366. return io.ErrUnexpectedEOF
  5367. }
  5368. if m.Selector == nil {
  5369. m.Selector = &v1.LabelSelector{}
  5370. }
  5371. if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5372. return err
  5373. }
  5374. iNdEx = postIndex
  5375. case 3:
  5376. if wireType != 2 {
  5377. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  5378. }
  5379. var msglen int
  5380. for shift := uint(0); ; shift += 7 {
  5381. if shift >= 64 {
  5382. return ErrIntOverflowGenerated
  5383. }
  5384. if iNdEx >= l {
  5385. return io.ErrUnexpectedEOF
  5386. }
  5387. b := dAtA[iNdEx]
  5388. iNdEx++
  5389. msglen |= int(b&0x7F) << shift
  5390. if b < 0x80 {
  5391. break
  5392. }
  5393. }
  5394. if msglen < 0 {
  5395. return ErrInvalidLengthGenerated
  5396. }
  5397. postIndex := iNdEx + msglen
  5398. if postIndex < 0 {
  5399. return ErrInvalidLengthGenerated
  5400. }
  5401. if postIndex > l {
  5402. return io.ErrUnexpectedEOF
  5403. }
  5404. if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5405. return err
  5406. }
  5407. iNdEx = postIndex
  5408. case 4:
  5409. if wireType != 2 {
  5410. return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType)
  5411. }
  5412. var msglen int
  5413. for shift := uint(0); ; shift += 7 {
  5414. if shift >= 64 {
  5415. return ErrIntOverflowGenerated
  5416. }
  5417. if iNdEx >= l {
  5418. return io.ErrUnexpectedEOF
  5419. }
  5420. b := dAtA[iNdEx]
  5421. iNdEx++
  5422. msglen |= int(b&0x7F) << shift
  5423. if b < 0x80 {
  5424. break
  5425. }
  5426. }
  5427. if msglen < 0 {
  5428. return ErrInvalidLengthGenerated
  5429. }
  5430. postIndex := iNdEx + msglen
  5431. if postIndex < 0 {
  5432. return ErrInvalidLengthGenerated
  5433. }
  5434. if postIndex > l {
  5435. return io.ErrUnexpectedEOF
  5436. }
  5437. if err := m.Strategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5438. return err
  5439. }
  5440. iNdEx = postIndex
  5441. case 5:
  5442. if wireType != 0 {
  5443. return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
  5444. }
  5445. m.MinReadySeconds = 0
  5446. for shift := uint(0); ; shift += 7 {
  5447. if shift >= 64 {
  5448. return ErrIntOverflowGenerated
  5449. }
  5450. if iNdEx >= l {
  5451. return io.ErrUnexpectedEOF
  5452. }
  5453. b := dAtA[iNdEx]
  5454. iNdEx++
  5455. m.MinReadySeconds |= int32(b&0x7F) << shift
  5456. if b < 0x80 {
  5457. break
  5458. }
  5459. }
  5460. case 6:
  5461. if wireType != 0 {
  5462. return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
  5463. }
  5464. var v int32
  5465. for shift := uint(0); ; shift += 7 {
  5466. if shift >= 64 {
  5467. return ErrIntOverflowGenerated
  5468. }
  5469. if iNdEx >= l {
  5470. return io.ErrUnexpectedEOF
  5471. }
  5472. b := dAtA[iNdEx]
  5473. iNdEx++
  5474. v |= int32(b&0x7F) << shift
  5475. if b < 0x80 {
  5476. break
  5477. }
  5478. }
  5479. m.RevisionHistoryLimit = &v
  5480. case 7:
  5481. if wireType != 0 {
  5482. return fmt.Errorf("proto: wrong wireType = %d for field Paused", wireType)
  5483. }
  5484. var v int
  5485. for shift := uint(0); ; shift += 7 {
  5486. if shift >= 64 {
  5487. return ErrIntOverflowGenerated
  5488. }
  5489. if iNdEx >= l {
  5490. return io.ErrUnexpectedEOF
  5491. }
  5492. b := dAtA[iNdEx]
  5493. iNdEx++
  5494. v |= int(b&0x7F) << shift
  5495. if b < 0x80 {
  5496. break
  5497. }
  5498. }
  5499. m.Paused = bool(v != 0)
  5500. case 9:
  5501. if wireType != 0 {
  5502. return fmt.Errorf("proto: wrong wireType = %d for field ProgressDeadlineSeconds", wireType)
  5503. }
  5504. var v int32
  5505. for shift := uint(0); ; shift += 7 {
  5506. if shift >= 64 {
  5507. return ErrIntOverflowGenerated
  5508. }
  5509. if iNdEx >= l {
  5510. return io.ErrUnexpectedEOF
  5511. }
  5512. b := dAtA[iNdEx]
  5513. iNdEx++
  5514. v |= int32(b&0x7F) << shift
  5515. if b < 0x80 {
  5516. break
  5517. }
  5518. }
  5519. m.ProgressDeadlineSeconds = &v
  5520. default:
  5521. iNdEx = preIndex
  5522. skippy, err := skipGenerated(dAtA[iNdEx:])
  5523. if err != nil {
  5524. return err
  5525. }
  5526. if (skippy < 0) || (iNdEx+skippy) < 0 {
  5527. return ErrInvalidLengthGenerated
  5528. }
  5529. if (iNdEx + skippy) > l {
  5530. return io.ErrUnexpectedEOF
  5531. }
  5532. iNdEx += skippy
  5533. }
  5534. }
  5535. if iNdEx > l {
  5536. return io.ErrUnexpectedEOF
  5537. }
  5538. return nil
  5539. }
  5540. func (m *DeploymentStatus) Unmarshal(dAtA []byte) error {
  5541. l := len(dAtA)
  5542. iNdEx := 0
  5543. for iNdEx < l {
  5544. preIndex := iNdEx
  5545. var wire uint64
  5546. for shift := uint(0); ; shift += 7 {
  5547. if shift >= 64 {
  5548. return ErrIntOverflowGenerated
  5549. }
  5550. if iNdEx >= l {
  5551. return io.ErrUnexpectedEOF
  5552. }
  5553. b := dAtA[iNdEx]
  5554. iNdEx++
  5555. wire |= uint64(b&0x7F) << shift
  5556. if b < 0x80 {
  5557. break
  5558. }
  5559. }
  5560. fieldNum := int32(wire >> 3)
  5561. wireType := int(wire & 0x7)
  5562. if wireType == 4 {
  5563. return fmt.Errorf("proto: DeploymentStatus: wiretype end group for non-group")
  5564. }
  5565. if fieldNum <= 0 {
  5566. return fmt.Errorf("proto: DeploymentStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  5567. }
  5568. switch fieldNum {
  5569. case 1:
  5570. if wireType != 0 {
  5571. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  5572. }
  5573. m.ObservedGeneration = 0
  5574. for shift := uint(0); ; shift += 7 {
  5575. if shift >= 64 {
  5576. return ErrIntOverflowGenerated
  5577. }
  5578. if iNdEx >= l {
  5579. return io.ErrUnexpectedEOF
  5580. }
  5581. b := dAtA[iNdEx]
  5582. iNdEx++
  5583. m.ObservedGeneration |= int64(b&0x7F) << shift
  5584. if b < 0x80 {
  5585. break
  5586. }
  5587. }
  5588. case 2:
  5589. if wireType != 0 {
  5590. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  5591. }
  5592. m.Replicas = 0
  5593. for shift := uint(0); ; shift += 7 {
  5594. if shift >= 64 {
  5595. return ErrIntOverflowGenerated
  5596. }
  5597. if iNdEx >= l {
  5598. return io.ErrUnexpectedEOF
  5599. }
  5600. b := dAtA[iNdEx]
  5601. iNdEx++
  5602. m.Replicas |= int32(b&0x7F) << shift
  5603. if b < 0x80 {
  5604. break
  5605. }
  5606. }
  5607. case 3:
  5608. if wireType != 0 {
  5609. return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType)
  5610. }
  5611. m.UpdatedReplicas = 0
  5612. for shift := uint(0); ; shift += 7 {
  5613. if shift >= 64 {
  5614. return ErrIntOverflowGenerated
  5615. }
  5616. if iNdEx >= l {
  5617. return io.ErrUnexpectedEOF
  5618. }
  5619. b := dAtA[iNdEx]
  5620. iNdEx++
  5621. m.UpdatedReplicas |= int32(b&0x7F) << shift
  5622. if b < 0x80 {
  5623. break
  5624. }
  5625. }
  5626. case 4:
  5627. if wireType != 0 {
  5628. return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
  5629. }
  5630. m.AvailableReplicas = 0
  5631. for shift := uint(0); ; shift += 7 {
  5632. if shift >= 64 {
  5633. return ErrIntOverflowGenerated
  5634. }
  5635. if iNdEx >= l {
  5636. return io.ErrUnexpectedEOF
  5637. }
  5638. b := dAtA[iNdEx]
  5639. iNdEx++
  5640. m.AvailableReplicas |= int32(b&0x7F) << shift
  5641. if b < 0x80 {
  5642. break
  5643. }
  5644. }
  5645. case 5:
  5646. if wireType != 0 {
  5647. return fmt.Errorf("proto: wrong wireType = %d for field UnavailableReplicas", wireType)
  5648. }
  5649. m.UnavailableReplicas = 0
  5650. for shift := uint(0); ; shift += 7 {
  5651. if shift >= 64 {
  5652. return ErrIntOverflowGenerated
  5653. }
  5654. if iNdEx >= l {
  5655. return io.ErrUnexpectedEOF
  5656. }
  5657. b := dAtA[iNdEx]
  5658. iNdEx++
  5659. m.UnavailableReplicas |= int32(b&0x7F) << shift
  5660. if b < 0x80 {
  5661. break
  5662. }
  5663. }
  5664. case 6:
  5665. if wireType != 2 {
  5666. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  5667. }
  5668. var msglen int
  5669. for shift := uint(0); ; shift += 7 {
  5670. if shift >= 64 {
  5671. return ErrIntOverflowGenerated
  5672. }
  5673. if iNdEx >= l {
  5674. return io.ErrUnexpectedEOF
  5675. }
  5676. b := dAtA[iNdEx]
  5677. iNdEx++
  5678. msglen |= int(b&0x7F) << shift
  5679. if b < 0x80 {
  5680. break
  5681. }
  5682. }
  5683. if msglen < 0 {
  5684. return ErrInvalidLengthGenerated
  5685. }
  5686. postIndex := iNdEx + msglen
  5687. if postIndex < 0 {
  5688. return ErrInvalidLengthGenerated
  5689. }
  5690. if postIndex > l {
  5691. return io.ErrUnexpectedEOF
  5692. }
  5693. m.Conditions = append(m.Conditions, DeploymentCondition{})
  5694. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5695. return err
  5696. }
  5697. iNdEx = postIndex
  5698. case 7:
  5699. if wireType != 0 {
  5700. return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
  5701. }
  5702. m.ReadyReplicas = 0
  5703. for shift := uint(0); ; shift += 7 {
  5704. if shift >= 64 {
  5705. return ErrIntOverflowGenerated
  5706. }
  5707. if iNdEx >= l {
  5708. return io.ErrUnexpectedEOF
  5709. }
  5710. b := dAtA[iNdEx]
  5711. iNdEx++
  5712. m.ReadyReplicas |= int32(b&0x7F) << shift
  5713. if b < 0x80 {
  5714. break
  5715. }
  5716. }
  5717. case 8:
  5718. if wireType != 0 {
  5719. return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
  5720. }
  5721. var v int32
  5722. for shift := uint(0); ; shift += 7 {
  5723. if shift >= 64 {
  5724. return ErrIntOverflowGenerated
  5725. }
  5726. if iNdEx >= l {
  5727. return io.ErrUnexpectedEOF
  5728. }
  5729. b := dAtA[iNdEx]
  5730. iNdEx++
  5731. v |= int32(b&0x7F) << shift
  5732. if b < 0x80 {
  5733. break
  5734. }
  5735. }
  5736. m.CollisionCount = &v
  5737. default:
  5738. iNdEx = preIndex
  5739. skippy, err := skipGenerated(dAtA[iNdEx:])
  5740. if err != nil {
  5741. return err
  5742. }
  5743. if (skippy < 0) || (iNdEx+skippy) < 0 {
  5744. return ErrInvalidLengthGenerated
  5745. }
  5746. if (iNdEx + skippy) > l {
  5747. return io.ErrUnexpectedEOF
  5748. }
  5749. iNdEx += skippy
  5750. }
  5751. }
  5752. if iNdEx > l {
  5753. return io.ErrUnexpectedEOF
  5754. }
  5755. return nil
  5756. }
  5757. func (m *DeploymentStrategy) Unmarshal(dAtA []byte) error {
  5758. l := len(dAtA)
  5759. iNdEx := 0
  5760. for iNdEx < l {
  5761. preIndex := iNdEx
  5762. var wire uint64
  5763. for shift := uint(0); ; shift += 7 {
  5764. if shift >= 64 {
  5765. return ErrIntOverflowGenerated
  5766. }
  5767. if iNdEx >= l {
  5768. return io.ErrUnexpectedEOF
  5769. }
  5770. b := dAtA[iNdEx]
  5771. iNdEx++
  5772. wire |= uint64(b&0x7F) << shift
  5773. if b < 0x80 {
  5774. break
  5775. }
  5776. }
  5777. fieldNum := int32(wire >> 3)
  5778. wireType := int(wire & 0x7)
  5779. if wireType == 4 {
  5780. return fmt.Errorf("proto: DeploymentStrategy: wiretype end group for non-group")
  5781. }
  5782. if fieldNum <= 0 {
  5783. return fmt.Errorf("proto: DeploymentStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
  5784. }
  5785. switch fieldNum {
  5786. case 1:
  5787. if wireType != 2 {
  5788. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  5789. }
  5790. var stringLen uint64
  5791. for shift := uint(0); ; shift += 7 {
  5792. if shift >= 64 {
  5793. return ErrIntOverflowGenerated
  5794. }
  5795. if iNdEx >= l {
  5796. return io.ErrUnexpectedEOF
  5797. }
  5798. b := dAtA[iNdEx]
  5799. iNdEx++
  5800. stringLen |= uint64(b&0x7F) << shift
  5801. if b < 0x80 {
  5802. break
  5803. }
  5804. }
  5805. intStringLen := int(stringLen)
  5806. if intStringLen < 0 {
  5807. return ErrInvalidLengthGenerated
  5808. }
  5809. postIndex := iNdEx + intStringLen
  5810. if postIndex < 0 {
  5811. return ErrInvalidLengthGenerated
  5812. }
  5813. if postIndex > l {
  5814. return io.ErrUnexpectedEOF
  5815. }
  5816. m.Type = DeploymentStrategyType(dAtA[iNdEx:postIndex])
  5817. iNdEx = postIndex
  5818. case 2:
  5819. if wireType != 2 {
  5820. return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
  5821. }
  5822. var msglen int
  5823. for shift := uint(0); ; shift += 7 {
  5824. if shift >= 64 {
  5825. return ErrIntOverflowGenerated
  5826. }
  5827. if iNdEx >= l {
  5828. return io.ErrUnexpectedEOF
  5829. }
  5830. b := dAtA[iNdEx]
  5831. iNdEx++
  5832. msglen |= int(b&0x7F) << shift
  5833. if b < 0x80 {
  5834. break
  5835. }
  5836. }
  5837. if msglen < 0 {
  5838. return ErrInvalidLengthGenerated
  5839. }
  5840. postIndex := iNdEx + msglen
  5841. if postIndex < 0 {
  5842. return ErrInvalidLengthGenerated
  5843. }
  5844. if postIndex > l {
  5845. return io.ErrUnexpectedEOF
  5846. }
  5847. if m.RollingUpdate == nil {
  5848. m.RollingUpdate = &RollingUpdateDeployment{}
  5849. }
  5850. if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5851. return err
  5852. }
  5853. iNdEx = postIndex
  5854. default:
  5855. iNdEx = preIndex
  5856. skippy, err := skipGenerated(dAtA[iNdEx:])
  5857. if err != nil {
  5858. return err
  5859. }
  5860. if (skippy < 0) || (iNdEx+skippy) < 0 {
  5861. return ErrInvalidLengthGenerated
  5862. }
  5863. if (iNdEx + skippy) > l {
  5864. return io.ErrUnexpectedEOF
  5865. }
  5866. iNdEx += skippy
  5867. }
  5868. }
  5869. if iNdEx > l {
  5870. return io.ErrUnexpectedEOF
  5871. }
  5872. return nil
  5873. }
  5874. func (m *ReplicaSet) Unmarshal(dAtA []byte) error {
  5875. l := len(dAtA)
  5876. iNdEx := 0
  5877. for iNdEx < l {
  5878. preIndex := iNdEx
  5879. var wire uint64
  5880. for shift := uint(0); ; shift += 7 {
  5881. if shift >= 64 {
  5882. return ErrIntOverflowGenerated
  5883. }
  5884. if iNdEx >= l {
  5885. return io.ErrUnexpectedEOF
  5886. }
  5887. b := dAtA[iNdEx]
  5888. iNdEx++
  5889. wire |= uint64(b&0x7F) << shift
  5890. if b < 0x80 {
  5891. break
  5892. }
  5893. }
  5894. fieldNum := int32(wire >> 3)
  5895. wireType := int(wire & 0x7)
  5896. if wireType == 4 {
  5897. return fmt.Errorf("proto: ReplicaSet: wiretype end group for non-group")
  5898. }
  5899. if fieldNum <= 0 {
  5900. return fmt.Errorf("proto: ReplicaSet: illegal tag %d (wire type %d)", fieldNum, wire)
  5901. }
  5902. switch fieldNum {
  5903. case 1:
  5904. if wireType != 2 {
  5905. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  5906. }
  5907. var msglen int
  5908. for shift := uint(0); ; shift += 7 {
  5909. if shift >= 64 {
  5910. return ErrIntOverflowGenerated
  5911. }
  5912. if iNdEx >= l {
  5913. return io.ErrUnexpectedEOF
  5914. }
  5915. b := dAtA[iNdEx]
  5916. iNdEx++
  5917. msglen |= int(b&0x7F) << shift
  5918. if b < 0x80 {
  5919. break
  5920. }
  5921. }
  5922. if msglen < 0 {
  5923. return ErrInvalidLengthGenerated
  5924. }
  5925. postIndex := iNdEx + msglen
  5926. if postIndex < 0 {
  5927. return ErrInvalidLengthGenerated
  5928. }
  5929. if postIndex > l {
  5930. return io.ErrUnexpectedEOF
  5931. }
  5932. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5933. return err
  5934. }
  5935. iNdEx = postIndex
  5936. case 2:
  5937. if wireType != 2 {
  5938. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  5939. }
  5940. var msglen int
  5941. for shift := uint(0); ; shift += 7 {
  5942. if shift >= 64 {
  5943. return ErrIntOverflowGenerated
  5944. }
  5945. if iNdEx >= l {
  5946. return io.ErrUnexpectedEOF
  5947. }
  5948. b := dAtA[iNdEx]
  5949. iNdEx++
  5950. msglen |= int(b&0x7F) << shift
  5951. if b < 0x80 {
  5952. break
  5953. }
  5954. }
  5955. if msglen < 0 {
  5956. return ErrInvalidLengthGenerated
  5957. }
  5958. postIndex := iNdEx + msglen
  5959. if postIndex < 0 {
  5960. return ErrInvalidLengthGenerated
  5961. }
  5962. if postIndex > l {
  5963. return io.ErrUnexpectedEOF
  5964. }
  5965. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5966. return err
  5967. }
  5968. iNdEx = postIndex
  5969. case 3:
  5970. if wireType != 2 {
  5971. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  5972. }
  5973. var msglen int
  5974. for shift := uint(0); ; shift += 7 {
  5975. if shift >= 64 {
  5976. return ErrIntOverflowGenerated
  5977. }
  5978. if iNdEx >= l {
  5979. return io.ErrUnexpectedEOF
  5980. }
  5981. b := dAtA[iNdEx]
  5982. iNdEx++
  5983. msglen |= int(b&0x7F) << shift
  5984. if b < 0x80 {
  5985. break
  5986. }
  5987. }
  5988. if msglen < 0 {
  5989. return ErrInvalidLengthGenerated
  5990. }
  5991. postIndex := iNdEx + msglen
  5992. if postIndex < 0 {
  5993. return ErrInvalidLengthGenerated
  5994. }
  5995. if postIndex > l {
  5996. return io.ErrUnexpectedEOF
  5997. }
  5998. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5999. return err
  6000. }
  6001. iNdEx = postIndex
  6002. default:
  6003. iNdEx = preIndex
  6004. skippy, err := skipGenerated(dAtA[iNdEx:])
  6005. if err != nil {
  6006. return err
  6007. }
  6008. if (skippy < 0) || (iNdEx+skippy) < 0 {
  6009. return ErrInvalidLengthGenerated
  6010. }
  6011. if (iNdEx + skippy) > l {
  6012. return io.ErrUnexpectedEOF
  6013. }
  6014. iNdEx += skippy
  6015. }
  6016. }
  6017. if iNdEx > l {
  6018. return io.ErrUnexpectedEOF
  6019. }
  6020. return nil
  6021. }
  6022. func (m *ReplicaSetCondition) Unmarshal(dAtA []byte) error {
  6023. l := len(dAtA)
  6024. iNdEx := 0
  6025. for iNdEx < l {
  6026. preIndex := iNdEx
  6027. var wire uint64
  6028. for shift := uint(0); ; shift += 7 {
  6029. if shift >= 64 {
  6030. return ErrIntOverflowGenerated
  6031. }
  6032. if iNdEx >= l {
  6033. return io.ErrUnexpectedEOF
  6034. }
  6035. b := dAtA[iNdEx]
  6036. iNdEx++
  6037. wire |= uint64(b&0x7F) << shift
  6038. if b < 0x80 {
  6039. break
  6040. }
  6041. }
  6042. fieldNum := int32(wire >> 3)
  6043. wireType := int(wire & 0x7)
  6044. if wireType == 4 {
  6045. return fmt.Errorf("proto: ReplicaSetCondition: wiretype end group for non-group")
  6046. }
  6047. if fieldNum <= 0 {
  6048. return fmt.Errorf("proto: ReplicaSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  6049. }
  6050. switch fieldNum {
  6051. case 1:
  6052. if wireType != 2 {
  6053. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  6054. }
  6055. var stringLen uint64
  6056. for shift := uint(0); ; shift += 7 {
  6057. if shift >= 64 {
  6058. return ErrIntOverflowGenerated
  6059. }
  6060. if iNdEx >= l {
  6061. return io.ErrUnexpectedEOF
  6062. }
  6063. b := dAtA[iNdEx]
  6064. iNdEx++
  6065. stringLen |= uint64(b&0x7F) << shift
  6066. if b < 0x80 {
  6067. break
  6068. }
  6069. }
  6070. intStringLen := int(stringLen)
  6071. if intStringLen < 0 {
  6072. return ErrInvalidLengthGenerated
  6073. }
  6074. postIndex := iNdEx + intStringLen
  6075. if postIndex < 0 {
  6076. return ErrInvalidLengthGenerated
  6077. }
  6078. if postIndex > l {
  6079. return io.ErrUnexpectedEOF
  6080. }
  6081. m.Type = ReplicaSetConditionType(dAtA[iNdEx:postIndex])
  6082. iNdEx = postIndex
  6083. case 2:
  6084. if wireType != 2 {
  6085. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  6086. }
  6087. var stringLen uint64
  6088. for shift := uint(0); ; shift += 7 {
  6089. if shift >= 64 {
  6090. return ErrIntOverflowGenerated
  6091. }
  6092. if iNdEx >= l {
  6093. return io.ErrUnexpectedEOF
  6094. }
  6095. b := dAtA[iNdEx]
  6096. iNdEx++
  6097. stringLen |= uint64(b&0x7F) << shift
  6098. if b < 0x80 {
  6099. break
  6100. }
  6101. }
  6102. intStringLen := int(stringLen)
  6103. if intStringLen < 0 {
  6104. return ErrInvalidLengthGenerated
  6105. }
  6106. postIndex := iNdEx + intStringLen
  6107. if postIndex < 0 {
  6108. return ErrInvalidLengthGenerated
  6109. }
  6110. if postIndex > l {
  6111. return io.ErrUnexpectedEOF
  6112. }
  6113. m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
  6114. iNdEx = postIndex
  6115. case 3:
  6116. if wireType != 2 {
  6117. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  6118. }
  6119. var msglen int
  6120. for shift := uint(0); ; shift += 7 {
  6121. if shift >= 64 {
  6122. return ErrIntOverflowGenerated
  6123. }
  6124. if iNdEx >= l {
  6125. return io.ErrUnexpectedEOF
  6126. }
  6127. b := dAtA[iNdEx]
  6128. iNdEx++
  6129. msglen |= int(b&0x7F) << shift
  6130. if b < 0x80 {
  6131. break
  6132. }
  6133. }
  6134. if msglen < 0 {
  6135. return ErrInvalidLengthGenerated
  6136. }
  6137. postIndex := iNdEx + msglen
  6138. if postIndex < 0 {
  6139. return ErrInvalidLengthGenerated
  6140. }
  6141. if postIndex > l {
  6142. return io.ErrUnexpectedEOF
  6143. }
  6144. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6145. return err
  6146. }
  6147. iNdEx = postIndex
  6148. case 4:
  6149. if wireType != 2 {
  6150. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  6151. }
  6152. var stringLen uint64
  6153. for shift := uint(0); ; shift += 7 {
  6154. if shift >= 64 {
  6155. return ErrIntOverflowGenerated
  6156. }
  6157. if iNdEx >= l {
  6158. return io.ErrUnexpectedEOF
  6159. }
  6160. b := dAtA[iNdEx]
  6161. iNdEx++
  6162. stringLen |= uint64(b&0x7F) << shift
  6163. if b < 0x80 {
  6164. break
  6165. }
  6166. }
  6167. intStringLen := int(stringLen)
  6168. if intStringLen < 0 {
  6169. return ErrInvalidLengthGenerated
  6170. }
  6171. postIndex := iNdEx + intStringLen
  6172. if postIndex < 0 {
  6173. return ErrInvalidLengthGenerated
  6174. }
  6175. if postIndex > l {
  6176. return io.ErrUnexpectedEOF
  6177. }
  6178. m.Reason = string(dAtA[iNdEx:postIndex])
  6179. iNdEx = postIndex
  6180. case 5:
  6181. if wireType != 2 {
  6182. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  6183. }
  6184. var stringLen uint64
  6185. for shift := uint(0); ; shift += 7 {
  6186. if shift >= 64 {
  6187. return ErrIntOverflowGenerated
  6188. }
  6189. if iNdEx >= l {
  6190. return io.ErrUnexpectedEOF
  6191. }
  6192. b := dAtA[iNdEx]
  6193. iNdEx++
  6194. stringLen |= uint64(b&0x7F) << shift
  6195. if b < 0x80 {
  6196. break
  6197. }
  6198. }
  6199. intStringLen := int(stringLen)
  6200. if intStringLen < 0 {
  6201. return ErrInvalidLengthGenerated
  6202. }
  6203. postIndex := iNdEx + intStringLen
  6204. if postIndex < 0 {
  6205. return ErrInvalidLengthGenerated
  6206. }
  6207. if postIndex > l {
  6208. return io.ErrUnexpectedEOF
  6209. }
  6210. m.Message = string(dAtA[iNdEx:postIndex])
  6211. iNdEx = postIndex
  6212. default:
  6213. iNdEx = preIndex
  6214. skippy, err := skipGenerated(dAtA[iNdEx:])
  6215. if err != nil {
  6216. return err
  6217. }
  6218. if (skippy < 0) || (iNdEx+skippy) < 0 {
  6219. return ErrInvalidLengthGenerated
  6220. }
  6221. if (iNdEx + skippy) > l {
  6222. return io.ErrUnexpectedEOF
  6223. }
  6224. iNdEx += skippy
  6225. }
  6226. }
  6227. if iNdEx > l {
  6228. return io.ErrUnexpectedEOF
  6229. }
  6230. return nil
  6231. }
  6232. func (m *ReplicaSetList) Unmarshal(dAtA []byte) error {
  6233. l := len(dAtA)
  6234. iNdEx := 0
  6235. for iNdEx < l {
  6236. preIndex := iNdEx
  6237. var wire uint64
  6238. for shift := uint(0); ; shift += 7 {
  6239. if shift >= 64 {
  6240. return ErrIntOverflowGenerated
  6241. }
  6242. if iNdEx >= l {
  6243. return io.ErrUnexpectedEOF
  6244. }
  6245. b := dAtA[iNdEx]
  6246. iNdEx++
  6247. wire |= uint64(b&0x7F) << shift
  6248. if b < 0x80 {
  6249. break
  6250. }
  6251. }
  6252. fieldNum := int32(wire >> 3)
  6253. wireType := int(wire & 0x7)
  6254. if wireType == 4 {
  6255. return fmt.Errorf("proto: ReplicaSetList: wiretype end group for non-group")
  6256. }
  6257. if fieldNum <= 0 {
  6258. return fmt.Errorf("proto: ReplicaSetList: illegal tag %d (wire type %d)", fieldNum, wire)
  6259. }
  6260. switch fieldNum {
  6261. case 1:
  6262. if wireType != 2 {
  6263. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  6264. }
  6265. var msglen int
  6266. for shift := uint(0); ; shift += 7 {
  6267. if shift >= 64 {
  6268. return ErrIntOverflowGenerated
  6269. }
  6270. if iNdEx >= l {
  6271. return io.ErrUnexpectedEOF
  6272. }
  6273. b := dAtA[iNdEx]
  6274. iNdEx++
  6275. msglen |= int(b&0x7F) << shift
  6276. if b < 0x80 {
  6277. break
  6278. }
  6279. }
  6280. if msglen < 0 {
  6281. return ErrInvalidLengthGenerated
  6282. }
  6283. postIndex := iNdEx + msglen
  6284. if postIndex < 0 {
  6285. return ErrInvalidLengthGenerated
  6286. }
  6287. if postIndex > l {
  6288. return io.ErrUnexpectedEOF
  6289. }
  6290. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6291. return err
  6292. }
  6293. iNdEx = postIndex
  6294. case 2:
  6295. if wireType != 2 {
  6296. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  6297. }
  6298. var msglen int
  6299. for shift := uint(0); ; shift += 7 {
  6300. if shift >= 64 {
  6301. return ErrIntOverflowGenerated
  6302. }
  6303. if iNdEx >= l {
  6304. return io.ErrUnexpectedEOF
  6305. }
  6306. b := dAtA[iNdEx]
  6307. iNdEx++
  6308. msglen |= int(b&0x7F) << shift
  6309. if b < 0x80 {
  6310. break
  6311. }
  6312. }
  6313. if msglen < 0 {
  6314. return ErrInvalidLengthGenerated
  6315. }
  6316. postIndex := iNdEx + msglen
  6317. if postIndex < 0 {
  6318. return ErrInvalidLengthGenerated
  6319. }
  6320. if postIndex > l {
  6321. return io.ErrUnexpectedEOF
  6322. }
  6323. m.Items = append(m.Items, ReplicaSet{})
  6324. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6325. return err
  6326. }
  6327. iNdEx = postIndex
  6328. default:
  6329. iNdEx = preIndex
  6330. skippy, err := skipGenerated(dAtA[iNdEx:])
  6331. if err != nil {
  6332. return err
  6333. }
  6334. if (skippy < 0) || (iNdEx+skippy) < 0 {
  6335. return ErrInvalidLengthGenerated
  6336. }
  6337. if (iNdEx + skippy) > l {
  6338. return io.ErrUnexpectedEOF
  6339. }
  6340. iNdEx += skippy
  6341. }
  6342. }
  6343. if iNdEx > l {
  6344. return io.ErrUnexpectedEOF
  6345. }
  6346. return nil
  6347. }
  6348. func (m *ReplicaSetSpec) Unmarshal(dAtA []byte) error {
  6349. l := len(dAtA)
  6350. iNdEx := 0
  6351. for iNdEx < l {
  6352. preIndex := iNdEx
  6353. var wire uint64
  6354. for shift := uint(0); ; shift += 7 {
  6355. if shift >= 64 {
  6356. return ErrIntOverflowGenerated
  6357. }
  6358. if iNdEx >= l {
  6359. return io.ErrUnexpectedEOF
  6360. }
  6361. b := dAtA[iNdEx]
  6362. iNdEx++
  6363. wire |= uint64(b&0x7F) << shift
  6364. if b < 0x80 {
  6365. break
  6366. }
  6367. }
  6368. fieldNum := int32(wire >> 3)
  6369. wireType := int(wire & 0x7)
  6370. if wireType == 4 {
  6371. return fmt.Errorf("proto: ReplicaSetSpec: wiretype end group for non-group")
  6372. }
  6373. if fieldNum <= 0 {
  6374. return fmt.Errorf("proto: ReplicaSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  6375. }
  6376. switch fieldNum {
  6377. case 1:
  6378. if wireType != 0 {
  6379. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  6380. }
  6381. var v int32
  6382. for shift := uint(0); ; shift += 7 {
  6383. if shift >= 64 {
  6384. return ErrIntOverflowGenerated
  6385. }
  6386. if iNdEx >= l {
  6387. return io.ErrUnexpectedEOF
  6388. }
  6389. b := dAtA[iNdEx]
  6390. iNdEx++
  6391. v |= int32(b&0x7F) << shift
  6392. if b < 0x80 {
  6393. break
  6394. }
  6395. }
  6396. m.Replicas = &v
  6397. case 2:
  6398. if wireType != 2 {
  6399. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  6400. }
  6401. var msglen int
  6402. for shift := uint(0); ; shift += 7 {
  6403. if shift >= 64 {
  6404. return ErrIntOverflowGenerated
  6405. }
  6406. if iNdEx >= l {
  6407. return io.ErrUnexpectedEOF
  6408. }
  6409. b := dAtA[iNdEx]
  6410. iNdEx++
  6411. msglen |= int(b&0x7F) << shift
  6412. if b < 0x80 {
  6413. break
  6414. }
  6415. }
  6416. if msglen < 0 {
  6417. return ErrInvalidLengthGenerated
  6418. }
  6419. postIndex := iNdEx + msglen
  6420. if postIndex < 0 {
  6421. return ErrInvalidLengthGenerated
  6422. }
  6423. if postIndex > l {
  6424. return io.ErrUnexpectedEOF
  6425. }
  6426. if m.Selector == nil {
  6427. m.Selector = &v1.LabelSelector{}
  6428. }
  6429. if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6430. return err
  6431. }
  6432. iNdEx = postIndex
  6433. case 3:
  6434. if wireType != 2 {
  6435. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  6436. }
  6437. var msglen int
  6438. for shift := uint(0); ; shift += 7 {
  6439. if shift >= 64 {
  6440. return ErrIntOverflowGenerated
  6441. }
  6442. if iNdEx >= l {
  6443. return io.ErrUnexpectedEOF
  6444. }
  6445. b := dAtA[iNdEx]
  6446. iNdEx++
  6447. msglen |= int(b&0x7F) << shift
  6448. if b < 0x80 {
  6449. break
  6450. }
  6451. }
  6452. if msglen < 0 {
  6453. return ErrInvalidLengthGenerated
  6454. }
  6455. postIndex := iNdEx + msglen
  6456. if postIndex < 0 {
  6457. return ErrInvalidLengthGenerated
  6458. }
  6459. if postIndex > l {
  6460. return io.ErrUnexpectedEOF
  6461. }
  6462. if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6463. return err
  6464. }
  6465. iNdEx = postIndex
  6466. case 4:
  6467. if wireType != 0 {
  6468. return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
  6469. }
  6470. m.MinReadySeconds = 0
  6471. for shift := uint(0); ; shift += 7 {
  6472. if shift >= 64 {
  6473. return ErrIntOverflowGenerated
  6474. }
  6475. if iNdEx >= l {
  6476. return io.ErrUnexpectedEOF
  6477. }
  6478. b := dAtA[iNdEx]
  6479. iNdEx++
  6480. m.MinReadySeconds |= int32(b&0x7F) << shift
  6481. if b < 0x80 {
  6482. break
  6483. }
  6484. }
  6485. default:
  6486. iNdEx = preIndex
  6487. skippy, err := skipGenerated(dAtA[iNdEx:])
  6488. if err != nil {
  6489. return err
  6490. }
  6491. if (skippy < 0) || (iNdEx+skippy) < 0 {
  6492. return ErrInvalidLengthGenerated
  6493. }
  6494. if (iNdEx + skippy) > l {
  6495. return io.ErrUnexpectedEOF
  6496. }
  6497. iNdEx += skippy
  6498. }
  6499. }
  6500. if iNdEx > l {
  6501. return io.ErrUnexpectedEOF
  6502. }
  6503. return nil
  6504. }
  6505. func (m *ReplicaSetStatus) Unmarshal(dAtA []byte) error {
  6506. l := len(dAtA)
  6507. iNdEx := 0
  6508. for iNdEx < l {
  6509. preIndex := iNdEx
  6510. var wire uint64
  6511. for shift := uint(0); ; shift += 7 {
  6512. if shift >= 64 {
  6513. return ErrIntOverflowGenerated
  6514. }
  6515. if iNdEx >= l {
  6516. return io.ErrUnexpectedEOF
  6517. }
  6518. b := dAtA[iNdEx]
  6519. iNdEx++
  6520. wire |= uint64(b&0x7F) << shift
  6521. if b < 0x80 {
  6522. break
  6523. }
  6524. }
  6525. fieldNum := int32(wire >> 3)
  6526. wireType := int(wire & 0x7)
  6527. if wireType == 4 {
  6528. return fmt.Errorf("proto: ReplicaSetStatus: wiretype end group for non-group")
  6529. }
  6530. if fieldNum <= 0 {
  6531. return fmt.Errorf("proto: ReplicaSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  6532. }
  6533. switch fieldNum {
  6534. case 1:
  6535. if wireType != 0 {
  6536. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  6537. }
  6538. m.Replicas = 0
  6539. for shift := uint(0); ; shift += 7 {
  6540. if shift >= 64 {
  6541. return ErrIntOverflowGenerated
  6542. }
  6543. if iNdEx >= l {
  6544. return io.ErrUnexpectedEOF
  6545. }
  6546. b := dAtA[iNdEx]
  6547. iNdEx++
  6548. m.Replicas |= int32(b&0x7F) << shift
  6549. if b < 0x80 {
  6550. break
  6551. }
  6552. }
  6553. case 2:
  6554. if wireType != 0 {
  6555. return fmt.Errorf("proto: wrong wireType = %d for field FullyLabeledReplicas", wireType)
  6556. }
  6557. m.FullyLabeledReplicas = 0
  6558. for shift := uint(0); ; shift += 7 {
  6559. if shift >= 64 {
  6560. return ErrIntOverflowGenerated
  6561. }
  6562. if iNdEx >= l {
  6563. return io.ErrUnexpectedEOF
  6564. }
  6565. b := dAtA[iNdEx]
  6566. iNdEx++
  6567. m.FullyLabeledReplicas |= int32(b&0x7F) << shift
  6568. if b < 0x80 {
  6569. break
  6570. }
  6571. }
  6572. case 3:
  6573. if wireType != 0 {
  6574. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  6575. }
  6576. m.ObservedGeneration = 0
  6577. for shift := uint(0); ; shift += 7 {
  6578. if shift >= 64 {
  6579. return ErrIntOverflowGenerated
  6580. }
  6581. if iNdEx >= l {
  6582. return io.ErrUnexpectedEOF
  6583. }
  6584. b := dAtA[iNdEx]
  6585. iNdEx++
  6586. m.ObservedGeneration |= int64(b&0x7F) << shift
  6587. if b < 0x80 {
  6588. break
  6589. }
  6590. }
  6591. case 4:
  6592. if wireType != 0 {
  6593. return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
  6594. }
  6595. m.ReadyReplicas = 0
  6596. for shift := uint(0); ; shift += 7 {
  6597. if shift >= 64 {
  6598. return ErrIntOverflowGenerated
  6599. }
  6600. if iNdEx >= l {
  6601. return io.ErrUnexpectedEOF
  6602. }
  6603. b := dAtA[iNdEx]
  6604. iNdEx++
  6605. m.ReadyReplicas |= int32(b&0x7F) << shift
  6606. if b < 0x80 {
  6607. break
  6608. }
  6609. }
  6610. case 5:
  6611. if wireType != 0 {
  6612. return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
  6613. }
  6614. m.AvailableReplicas = 0
  6615. for shift := uint(0); ; shift += 7 {
  6616. if shift >= 64 {
  6617. return ErrIntOverflowGenerated
  6618. }
  6619. if iNdEx >= l {
  6620. return io.ErrUnexpectedEOF
  6621. }
  6622. b := dAtA[iNdEx]
  6623. iNdEx++
  6624. m.AvailableReplicas |= int32(b&0x7F) << shift
  6625. if b < 0x80 {
  6626. break
  6627. }
  6628. }
  6629. case 6:
  6630. if wireType != 2 {
  6631. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  6632. }
  6633. var msglen int
  6634. for shift := uint(0); ; shift += 7 {
  6635. if shift >= 64 {
  6636. return ErrIntOverflowGenerated
  6637. }
  6638. if iNdEx >= l {
  6639. return io.ErrUnexpectedEOF
  6640. }
  6641. b := dAtA[iNdEx]
  6642. iNdEx++
  6643. msglen |= int(b&0x7F) << shift
  6644. if b < 0x80 {
  6645. break
  6646. }
  6647. }
  6648. if msglen < 0 {
  6649. return ErrInvalidLengthGenerated
  6650. }
  6651. postIndex := iNdEx + msglen
  6652. if postIndex < 0 {
  6653. return ErrInvalidLengthGenerated
  6654. }
  6655. if postIndex > l {
  6656. return io.ErrUnexpectedEOF
  6657. }
  6658. m.Conditions = append(m.Conditions, ReplicaSetCondition{})
  6659. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6660. return err
  6661. }
  6662. iNdEx = postIndex
  6663. default:
  6664. iNdEx = preIndex
  6665. skippy, err := skipGenerated(dAtA[iNdEx:])
  6666. if err != nil {
  6667. return err
  6668. }
  6669. if (skippy < 0) || (iNdEx+skippy) < 0 {
  6670. return ErrInvalidLengthGenerated
  6671. }
  6672. if (iNdEx + skippy) > l {
  6673. return io.ErrUnexpectedEOF
  6674. }
  6675. iNdEx += skippy
  6676. }
  6677. }
  6678. if iNdEx > l {
  6679. return io.ErrUnexpectedEOF
  6680. }
  6681. return nil
  6682. }
  6683. func (m *RollingUpdateDaemonSet) Unmarshal(dAtA []byte) error {
  6684. l := len(dAtA)
  6685. iNdEx := 0
  6686. for iNdEx < l {
  6687. preIndex := iNdEx
  6688. var wire uint64
  6689. for shift := uint(0); ; shift += 7 {
  6690. if shift >= 64 {
  6691. return ErrIntOverflowGenerated
  6692. }
  6693. if iNdEx >= l {
  6694. return io.ErrUnexpectedEOF
  6695. }
  6696. b := dAtA[iNdEx]
  6697. iNdEx++
  6698. wire |= uint64(b&0x7F) << shift
  6699. if b < 0x80 {
  6700. break
  6701. }
  6702. }
  6703. fieldNum := int32(wire >> 3)
  6704. wireType := int(wire & 0x7)
  6705. if wireType == 4 {
  6706. return fmt.Errorf("proto: RollingUpdateDaemonSet: wiretype end group for non-group")
  6707. }
  6708. if fieldNum <= 0 {
  6709. return fmt.Errorf("proto: RollingUpdateDaemonSet: illegal tag %d (wire type %d)", fieldNum, wire)
  6710. }
  6711. switch fieldNum {
  6712. case 1:
  6713. if wireType != 2 {
  6714. return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
  6715. }
  6716. var msglen int
  6717. for shift := uint(0); ; shift += 7 {
  6718. if shift >= 64 {
  6719. return ErrIntOverflowGenerated
  6720. }
  6721. if iNdEx >= l {
  6722. return io.ErrUnexpectedEOF
  6723. }
  6724. b := dAtA[iNdEx]
  6725. iNdEx++
  6726. msglen |= int(b&0x7F) << shift
  6727. if b < 0x80 {
  6728. break
  6729. }
  6730. }
  6731. if msglen < 0 {
  6732. return ErrInvalidLengthGenerated
  6733. }
  6734. postIndex := iNdEx + msglen
  6735. if postIndex < 0 {
  6736. return ErrInvalidLengthGenerated
  6737. }
  6738. if postIndex > l {
  6739. return io.ErrUnexpectedEOF
  6740. }
  6741. if m.MaxUnavailable == nil {
  6742. m.MaxUnavailable = &intstr.IntOrString{}
  6743. }
  6744. if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6745. return err
  6746. }
  6747. iNdEx = postIndex
  6748. case 2:
  6749. if wireType != 2 {
  6750. return fmt.Errorf("proto: wrong wireType = %d for field MaxSurge", wireType)
  6751. }
  6752. var msglen int
  6753. for shift := uint(0); ; shift += 7 {
  6754. if shift >= 64 {
  6755. return ErrIntOverflowGenerated
  6756. }
  6757. if iNdEx >= l {
  6758. return io.ErrUnexpectedEOF
  6759. }
  6760. b := dAtA[iNdEx]
  6761. iNdEx++
  6762. msglen |= int(b&0x7F) << shift
  6763. if b < 0x80 {
  6764. break
  6765. }
  6766. }
  6767. if msglen < 0 {
  6768. return ErrInvalidLengthGenerated
  6769. }
  6770. postIndex := iNdEx + msglen
  6771. if postIndex < 0 {
  6772. return ErrInvalidLengthGenerated
  6773. }
  6774. if postIndex > l {
  6775. return io.ErrUnexpectedEOF
  6776. }
  6777. if m.MaxSurge == nil {
  6778. m.MaxSurge = &intstr.IntOrString{}
  6779. }
  6780. if err := m.MaxSurge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6781. return err
  6782. }
  6783. iNdEx = postIndex
  6784. default:
  6785. iNdEx = preIndex
  6786. skippy, err := skipGenerated(dAtA[iNdEx:])
  6787. if err != nil {
  6788. return err
  6789. }
  6790. if (skippy < 0) || (iNdEx+skippy) < 0 {
  6791. return ErrInvalidLengthGenerated
  6792. }
  6793. if (iNdEx + skippy) > l {
  6794. return io.ErrUnexpectedEOF
  6795. }
  6796. iNdEx += skippy
  6797. }
  6798. }
  6799. if iNdEx > l {
  6800. return io.ErrUnexpectedEOF
  6801. }
  6802. return nil
  6803. }
  6804. func (m *RollingUpdateDeployment) Unmarshal(dAtA []byte) error {
  6805. l := len(dAtA)
  6806. iNdEx := 0
  6807. for iNdEx < l {
  6808. preIndex := iNdEx
  6809. var wire uint64
  6810. for shift := uint(0); ; shift += 7 {
  6811. if shift >= 64 {
  6812. return ErrIntOverflowGenerated
  6813. }
  6814. if iNdEx >= l {
  6815. return io.ErrUnexpectedEOF
  6816. }
  6817. b := dAtA[iNdEx]
  6818. iNdEx++
  6819. wire |= uint64(b&0x7F) << shift
  6820. if b < 0x80 {
  6821. break
  6822. }
  6823. }
  6824. fieldNum := int32(wire >> 3)
  6825. wireType := int(wire & 0x7)
  6826. if wireType == 4 {
  6827. return fmt.Errorf("proto: RollingUpdateDeployment: wiretype end group for non-group")
  6828. }
  6829. if fieldNum <= 0 {
  6830. return fmt.Errorf("proto: RollingUpdateDeployment: illegal tag %d (wire type %d)", fieldNum, wire)
  6831. }
  6832. switch fieldNum {
  6833. case 1:
  6834. if wireType != 2 {
  6835. return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
  6836. }
  6837. var msglen int
  6838. for shift := uint(0); ; shift += 7 {
  6839. if shift >= 64 {
  6840. return ErrIntOverflowGenerated
  6841. }
  6842. if iNdEx >= l {
  6843. return io.ErrUnexpectedEOF
  6844. }
  6845. b := dAtA[iNdEx]
  6846. iNdEx++
  6847. msglen |= int(b&0x7F) << shift
  6848. if b < 0x80 {
  6849. break
  6850. }
  6851. }
  6852. if msglen < 0 {
  6853. return ErrInvalidLengthGenerated
  6854. }
  6855. postIndex := iNdEx + msglen
  6856. if postIndex < 0 {
  6857. return ErrInvalidLengthGenerated
  6858. }
  6859. if postIndex > l {
  6860. return io.ErrUnexpectedEOF
  6861. }
  6862. if m.MaxUnavailable == nil {
  6863. m.MaxUnavailable = &intstr.IntOrString{}
  6864. }
  6865. if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6866. return err
  6867. }
  6868. iNdEx = postIndex
  6869. case 2:
  6870. if wireType != 2 {
  6871. return fmt.Errorf("proto: wrong wireType = %d for field MaxSurge", wireType)
  6872. }
  6873. var msglen int
  6874. for shift := uint(0); ; shift += 7 {
  6875. if shift >= 64 {
  6876. return ErrIntOverflowGenerated
  6877. }
  6878. if iNdEx >= l {
  6879. return io.ErrUnexpectedEOF
  6880. }
  6881. b := dAtA[iNdEx]
  6882. iNdEx++
  6883. msglen |= int(b&0x7F) << shift
  6884. if b < 0x80 {
  6885. break
  6886. }
  6887. }
  6888. if msglen < 0 {
  6889. return ErrInvalidLengthGenerated
  6890. }
  6891. postIndex := iNdEx + msglen
  6892. if postIndex < 0 {
  6893. return ErrInvalidLengthGenerated
  6894. }
  6895. if postIndex > l {
  6896. return io.ErrUnexpectedEOF
  6897. }
  6898. if m.MaxSurge == nil {
  6899. m.MaxSurge = &intstr.IntOrString{}
  6900. }
  6901. if err := m.MaxSurge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6902. return err
  6903. }
  6904. iNdEx = postIndex
  6905. default:
  6906. iNdEx = preIndex
  6907. skippy, err := skipGenerated(dAtA[iNdEx:])
  6908. if err != nil {
  6909. return err
  6910. }
  6911. if (skippy < 0) || (iNdEx+skippy) < 0 {
  6912. return ErrInvalidLengthGenerated
  6913. }
  6914. if (iNdEx + skippy) > l {
  6915. return io.ErrUnexpectedEOF
  6916. }
  6917. iNdEx += skippy
  6918. }
  6919. }
  6920. if iNdEx > l {
  6921. return io.ErrUnexpectedEOF
  6922. }
  6923. return nil
  6924. }
  6925. func (m *RollingUpdateStatefulSetStrategy) Unmarshal(dAtA []byte) error {
  6926. l := len(dAtA)
  6927. iNdEx := 0
  6928. for iNdEx < l {
  6929. preIndex := iNdEx
  6930. var wire uint64
  6931. for shift := uint(0); ; shift += 7 {
  6932. if shift >= 64 {
  6933. return ErrIntOverflowGenerated
  6934. }
  6935. if iNdEx >= l {
  6936. return io.ErrUnexpectedEOF
  6937. }
  6938. b := dAtA[iNdEx]
  6939. iNdEx++
  6940. wire |= uint64(b&0x7F) << shift
  6941. if b < 0x80 {
  6942. break
  6943. }
  6944. }
  6945. fieldNum := int32(wire >> 3)
  6946. wireType := int(wire & 0x7)
  6947. if wireType == 4 {
  6948. return fmt.Errorf("proto: RollingUpdateStatefulSetStrategy: wiretype end group for non-group")
  6949. }
  6950. if fieldNum <= 0 {
  6951. return fmt.Errorf("proto: RollingUpdateStatefulSetStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
  6952. }
  6953. switch fieldNum {
  6954. case 1:
  6955. if wireType != 0 {
  6956. return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType)
  6957. }
  6958. var v int32
  6959. for shift := uint(0); ; shift += 7 {
  6960. if shift >= 64 {
  6961. return ErrIntOverflowGenerated
  6962. }
  6963. if iNdEx >= l {
  6964. return io.ErrUnexpectedEOF
  6965. }
  6966. b := dAtA[iNdEx]
  6967. iNdEx++
  6968. v |= int32(b&0x7F) << shift
  6969. if b < 0x80 {
  6970. break
  6971. }
  6972. }
  6973. m.Partition = &v
  6974. case 2:
  6975. if wireType != 2 {
  6976. return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
  6977. }
  6978. var msglen int
  6979. for shift := uint(0); ; shift += 7 {
  6980. if shift >= 64 {
  6981. return ErrIntOverflowGenerated
  6982. }
  6983. if iNdEx >= l {
  6984. return io.ErrUnexpectedEOF
  6985. }
  6986. b := dAtA[iNdEx]
  6987. iNdEx++
  6988. msglen |= int(b&0x7F) << shift
  6989. if b < 0x80 {
  6990. break
  6991. }
  6992. }
  6993. if msglen < 0 {
  6994. return ErrInvalidLengthGenerated
  6995. }
  6996. postIndex := iNdEx + msglen
  6997. if postIndex < 0 {
  6998. return ErrInvalidLengthGenerated
  6999. }
  7000. if postIndex > l {
  7001. return io.ErrUnexpectedEOF
  7002. }
  7003. if m.MaxUnavailable == nil {
  7004. m.MaxUnavailable = &intstr.IntOrString{}
  7005. }
  7006. if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7007. return err
  7008. }
  7009. iNdEx = postIndex
  7010. default:
  7011. iNdEx = preIndex
  7012. skippy, err := skipGenerated(dAtA[iNdEx:])
  7013. if err != nil {
  7014. return err
  7015. }
  7016. if (skippy < 0) || (iNdEx+skippy) < 0 {
  7017. return ErrInvalidLengthGenerated
  7018. }
  7019. if (iNdEx + skippy) > l {
  7020. return io.ErrUnexpectedEOF
  7021. }
  7022. iNdEx += skippy
  7023. }
  7024. }
  7025. if iNdEx > l {
  7026. return io.ErrUnexpectedEOF
  7027. }
  7028. return nil
  7029. }
  7030. func (m *StatefulSet) Unmarshal(dAtA []byte) error {
  7031. l := len(dAtA)
  7032. iNdEx := 0
  7033. for iNdEx < l {
  7034. preIndex := iNdEx
  7035. var wire uint64
  7036. for shift := uint(0); ; shift += 7 {
  7037. if shift >= 64 {
  7038. return ErrIntOverflowGenerated
  7039. }
  7040. if iNdEx >= l {
  7041. return io.ErrUnexpectedEOF
  7042. }
  7043. b := dAtA[iNdEx]
  7044. iNdEx++
  7045. wire |= uint64(b&0x7F) << shift
  7046. if b < 0x80 {
  7047. break
  7048. }
  7049. }
  7050. fieldNum := int32(wire >> 3)
  7051. wireType := int(wire & 0x7)
  7052. if wireType == 4 {
  7053. return fmt.Errorf("proto: StatefulSet: wiretype end group for non-group")
  7054. }
  7055. if fieldNum <= 0 {
  7056. return fmt.Errorf("proto: StatefulSet: illegal tag %d (wire type %d)", fieldNum, wire)
  7057. }
  7058. switch fieldNum {
  7059. case 1:
  7060. if wireType != 2 {
  7061. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  7062. }
  7063. var msglen int
  7064. for shift := uint(0); ; shift += 7 {
  7065. if shift >= 64 {
  7066. return ErrIntOverflowGenerated
  7067. }
  7068. if iNdEx >= l {
  7069. return io.ErrUnexpectedEOF
  7070. }
  7071. b := dAtA[iNdEx]
  7072. iNdEx++
  7073. msglen |= int(b&0x7F) << shift
  7074. if b < 0x80 {
  7075. break
  7076. }
  7077. }
  7078. if msglen < 0 {
  7079. return ErrInvalidLengthGenerated
  7080. }
  7081. postIndex := iNdEx + msglen
  7082. if postIndex < 0 {
  7083. return ErrInvalidLengthGenerated
  7084. }
  7085. if postIndex > l {
  7086. return io.ErrUnexpectedEOF
  7087. }
  7088. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7089. return err
  7090. }
  7091. iNdEx = postIndex
  7092. case 2:
  7093. if wireType != 2 {
  7094. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  7095. }
  7096. var msglen int
  7097. for shift := uint(0); ; shift += 7 {
  7098. if shift >= 64 {
  7099. return ErrIntOverflowGenerated
  7100. }
  7101. if iNdEx >= l {
  7102. return io.ErrUnexpectedEOF
  7103. }
  7104. b := dAtA[iNdEx]
  7105. iNdEx++
  7106. msglen |= int(b&0x7F) << shift
  7107. if b < 0x80 {
  7108. break
  7109. }
  7110. }
  7111. if msglen < 0 {
  7112. return ErrInvalidLengthGenerated
  7113. }
  7114. postIndex := iNdEx + msglen
  7115. if postIndex < 0 {
  7116. return ErrInvalidLengthGenerated
  7117. }
  7118. if postIndex > l {
  7119. return io.ErrUnexpectedEOF
  7120. }
  7121. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7122. return err
  7123. }
  7124. iNdEx = postIndex
  7125. case 3:
  7126. if wireType != 2 {
  7127. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  7128. }
  7129. var msglen int
  7130. for shift := uint(0); ; shift += 7 {
  7131. if shift >= 64 {
  7132. return ErrIntOverflowGenerated
  7133. }
  7134. if iNdEx >= l {
  7135. return io.ErrUnexpectedEOF
  7136. }
  7137. b := dAtA[iNdEx]
  7138. iNdEx++
  7139. msglen |= int(b&0x7F) << shift
  7140. if b < 0x80 {
  7141. break
  7142. }
  7143. }
  7144. if msglen < 0 {
  7145. return ErrInvalidLengthGenerated
  7146. }
  7147. postIndex := iNdEx + msglen
  7148. if postIndex < 0 {
  7149. return ErrInvalidLengthGenerated
  7150. }
  7151. if postIndex > l {
  7152. return io.ErrUnexpectedEOF
  7153. }
  7154. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7155. return err
  7156. }
  7157. iNdEx = postIndex
  7158. default:
  7159. iNdEx = preIndex
  7160. skippy, err := skipGenerated(dAtA[iNdEx:])
  7161. if err != nil {
  7162. return err
  7163. }
  7164. if (skippy < 0) || (iNdEx+skippy) < 0 {
  7165. return ErrInvalidLengthGenerated
  7166. }
  7167. if (iNdEx + skippy) > l {
  7168. return io.ErrUnexpectedEOF
  7169. }
  7170. iNdEx += skippy
  7171. }
  7172. }
  7173. if iNdEx > l {
  7174. return io.ErrUnexpectedEOF
  7175. }
  7176. return nil
  7177. }
  7178. func (m *StatefulSetCondition) Unmarshal(dAtA []byte) error {
  7179. l := len(dAtA)
  7180. iNdEx := 0
  7181. for iNdEx < l {
  7182. preIndex := iNdEx
  7183. var wire uint64
  7184. for shift := uint(0); ; shift += 7 {
  7185. if shift >= 64 {
  7186. return ErrIntOverflowGenerated
  7187. }
  7188. if iNdEx >= l {
  7189. return io.ErrUnexpectedEOF
  7190. }
  7191. b := dAtA[iNdEx]
  7192. iNdEx++
  7193. wire |= uint64(b&0x7F) << shift
  7194. if b < 0x80 {
  7195. break
  7196. }
  7197. }
  7198. fieldNum := int32(wire >> 3)
  7199. wireType := int(wire & 0x7)
  7200. if wireType == 4 {
  7201. return fmt.Errorf("proto: StatefulSetCondition: wiretype end group for non-group")
  7202. }
  7203. if fieldNum <= 0 {
  7204. return fmt.Errorf("proto: StatefulSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  7205. }
  7206. switch fieldNum {
  7207. case 1:
  7208. if wireType != 2 {
  7209. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  7210. }
  7211. var stringLen uint64
  7212. for shift := uint(0); ; shift += 7 {
  7213. if shift >= 64 {
  7214. return ErrIntOverflowGenerated
  7215. }
  7216. if iNdEx >= l {
  7217. return io.ErrUnexpectedEOF
  7218. }
  7219. b := dAtA[iNdEx]
  7220. iNdEx++
  7221. stringLen |= uint64(b&0x7F) << shift
  7222. if b < 0x80 {
  7223. break
  7224. }
  7225. }
  7226. intStringLen := int(stringLen)
  7227. if intStringLen < 0 {
  7228. return ErrInvalidLengthGenerated
  7229. }
  7230. postIndex := iNdEx + intStringLen
  7231. if postIndex < 0 {
  7232. return ErrInvalidLengthGenerated
  7233. }
  7234. if postIndex > l {
  7235. return io.ErrUnexpectedEOF
  7236. }
  7237. m.Type = StatefulSetConditionType(dAtA[iNdEx:postIndex])
  7238. iNdEx = postIndex
  7239. case 2:
  7240. if wireType != 2 {
  7241. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  7242. }
  7243. var stringLen uint64
  7244. for shift := uint(0); ; shift += 7 {
  7245. if shift >= 64 {
  7246. return ErrIntOverflowGenerated
  7247. }
  7248. if iNdEx >= l {
  7249. return io.ErrUnexpectedEOF
  7250. }
  7251. b := dAtA[iNdEx]
  7252. iNdEx++
  7253. stringLen |= uint64(b&0x7F) << shift
  7254. if b < 0x80 {
  7255. break
  7256. }
  7257. }
  7258. intStringLen := int(stringLen)
  7259. if intStringLen < 0 {
  7260. return ErrInvalidLengthGenerated
  7261. }
  7262. postIndex := iNdEx + intStringLen
  7263. if postIndex < 0 {
  7264. return ErrInvalidLengthGenerated
  7265. }
  7266. if postIndex > l {
  7267. return io.ErrUnexpectedEOF
  7268. }
  7269. m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
  7270. iNdEx = postIndex
  7271. case 3:
  7272. if wireType != 2 {
  7273. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  7274. }
  7275. var msglen int
  7276. for shift := uint(0); ; shift += 7 {
  7277. if shift >= 64 {
  7278. return ErrIntOverflowGenerated
  7279. }
  7280. if iNdEx >= l {
  7281. return io.ErrUnexpectedEOF
  7282. }
  7283. b := dAtA[iNdEx]
  7284. iNdEx++
  7285. msglen |= int(b&0x7F) << shift
  7286. if b < 0x80 {
  7287. break
  7288. }
  7289. }
  7290. if msglen < 0 {
  7291. return ErrInvalidLengthGenerated
  7292. }
  7293. postIndex := iNdEx + msglen
  7294. if postIndex < 0 {
  7295. return ErrInvalidLengthGenerated
  7296. }
  7297. if postIndex > l {
  7298. return io.ErrUnexpectedEOF
  7299. }
  7300. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7301. return err
  7302. }
  7303. iNdEx = postIndex
  7304. case 4:
  7305. if wireType != 2 {
  7306. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  7307. }
  7308. var stringLen uint64
  7309. for shift := uint(0); ; shift += 7 {
  7310. if shift >= 64 {
  7311. return ErrIntOverflowGenerated
  7312. }
  7313. if iNdEx >= l {
  7314. return io.ErrUnexpectedEOF
  7315. }
  7316. b := dAtA[iNdEx]
  7317. iNdEx++
  7318. stringLen |= uint64(b&0x7F) << shift
  7319. if b < 0x80 {
  7320. break
  7321. }
  7322. }
  7323. intStringLen := int(stringLen)
  7324. if intStringLen < 0 {
  7325. return ErrInvalidLengthGenerated
  7326. }
  7327. postIndex := iNdEx + intStringLen
  7328. if postIndex < 0 {
  7329. return ErrInvalidLengthGenerated
  7330. }
  7331. if postIndex > l {
  7332. return io.ErrUnexpectedEOF
  7333. }
  7334. m.Reason = string(dAtA[iNdEx:postIndex])
  7335. iNdEx = postIndex
  7336. case 5:
  7337. if wireType != 2 {
  7338. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  7339. }
  7340. var stringLen uint64
  7341. for shift := uint(0); ; shift += 7 {
  7342. if shift >= 64 {
  7343. return ErrIntOverflowGenerated
  7344. }
  7345. if iNdEx >= l {
  7346. return io.ErrUnexpectedEOF
  7347. }
  7348. b := dAtA[iNdEx]
  7349. iNdEx++
  7350. stringLen |= uint64(b&0x7F) << shift
  7351. if b < 0x80 {
  7352. break
  7353. }
  7354. }
  7355. intStringLen := int(stringLen)
  7356. if intStringLen < 0 {
  7357. return ErrInvalidLengthGenerated
  7358. }
  7359. postIndex := iNdEx + intStringLen
  7360. if postIndex < 0 {
  7361. return ErrInvalidLengthGenerated
  7362. }
  7363. if postIndex > l {
  7364. return io.ErrUnexpectedEOF
  7365. }
  7366. m.Message = string(dAtA[iNdEx:postIndex])
  7367. iNdEx = postIndex
  7368. default:
  7369. iNdEx = preIndex
  7370. skippy, err := skipGenerated(dAtA[iNdEx:])
  7371. if err != nil {
  7372. return err
  7373. }
  7374. if (skippy < 0) || (iNdEx+skippy) < 0 {
  7375. return ErrInvalidLengthGenerated
  7376. }
  7377. if (iNdEx + skippy) > l {
  7378. return io.ErrUnexpectedEOF
  7379. }
  7380. iNdEx += skippy
  7381. }
  7382. }
  7383. if iNdEx > l {
  7384. return io.ErrUnexpectedEOF
  7385. }
  7386. return nil
  7387. }
  7388. func (m *StatefulSetList) Unmarshal(dAtA []byte) error {
  7389. l := len(dAtA)
  7390. iNdEx := 0
  7391. for iNdEx < l {
  7392. preIndex := iNdEx
  7393. var wire uint64
  7394. for shift := uint(0); ; shift += 7 {
  7395. if shift >= 64 {
  7396. return ErrIntOverflowGenerated
  7397. }
  7398. if iNdEx >= l {
  7399. return io.ErrUnexpectedEOF
  7400. }
  7401. b := dAtA[iNdEx]
  7402. iNdEx++
  7403. wire |= uint64(b&0x7F) << shift
  7404. if b < 0x80 {
  7405. break
  7406. }
  7407. }
  7408. fieldNum := int32(wire >> 3)
  7409. wireType := int(wire & 0x7)
  7410. if wireType == 4 {
  7411. return fmt.Errorf("proto: StatefulSetList: wiretype end group for non-group")
  7412. }
  7413. if fieldNum <= 0 {
  7414. return fmt.Errorf("proto: StatefulSetList: illegal tag %d (wire type %d)", fieldNum, wire)
  7415. }
  7416. switch fieldNum {
  7417. case 1:
  7418. if wireType != 2 {
  7419. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  7420. }
  7421. var msglen int
  7422. for shift := uint(0); ; shift += 7 {
  7423. if shift >= 64 {
  7424. return ErrIntOverflowGenerated
  7425. }
  7426. if iNdEx >= l {
  7427. return io.ErrUnexpectedEOF
  7428. }
  7429. b := dAtA[iNdEx]
  7430. iNdEx++
  7431. msglen |= int(b&0x7F) << shift
  7432. if b < 0x80 {
  7433. break
  7434. }
  7435. }
  7436. if msglen < 0 {
  7437. return ErrInvalidLengthGenerated
  7438. }
  7439. postIndex := iNdEx + msglen
  7440. if postIndex < 0 {
  7441. return ErrInvalidLengthGenerated
  7442. }
  7443. if postIndex > l {
  7444. return io.ErrUnexpectedEOF
  7445. }
  7446. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7447. return err
  7448. }
  7449. iNdEx = postIndex
  7450. case 2:
  7451. if wireType != 2 {
  7452. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  7453. }
  7454. var msglen int
  7455. for shift := uint(0); ; shift += 7 {
  7456. if shift >= 64 {
  7457. return ErrIntOverflowGenerated
  7458. }
  7459. if iNdEx >= l {
  7460. return io.ErrUnexpectedEOF
  7461. }
  7462. b := dAtA[iNdEx]
  7463. iNdEx++
  7464. msglen |= int(b&0x7F) << shift
  7465. if b < 0x80 {
  7466. break
  7467. }
  7468. }
  7469. if msglen < 0 {
  7470. return ErrInvalidLengthGenerated
  7471. }
  7472. postIndex := iNdEx + msglen
  7473. if postIndex < 0 {
  7474. return ErrInvalidLengthGenerated
  7475. }
  7476. if postIndex > l {
  7477. return io.ErrUnexpectedEOF
  7478. }
  7479. m.Items = append(m.Items, StatefulSet{})
  7480. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7481. return err
  7482. }
  7483. iNdEx = postIndex
  7484. default:
  7485. iNdEx = preIndex
  7486. skippy, err := skipGenerated(dAtA[iNdEx:])
  7487. if err != nil {
  7488. return err
  7489. }
  7490. if (skippy < 0) || (iNdEx+skippy) < 0 {
  7491. return ErrInvalidLengthGenerated
  7492. }
  7493. if (iNdEx + skippy) > l {
  7494. return io.ErrUnexpectedEOF
  7495. }
  7496. iNdEx += skippy
  7497. }
  7498. }
  7499. if iNdEx > l {
  7500. return io.ErrUnexpectedEOF
  7501. }
  7502. return nil
  7503. }
  7504. func (m *StatefulSetOrdinals) Unmarshal(dAtA []byte) error {
  7505. l := len(dAtA)
  7506. iNdEx := 0
  7507. for iNdEx < l {
  7508. preIndex := iNdEx
  7509. var wire uint64
  7510. for shift := uint(0); ; shift += 7 {
  7511. if shift >= 64 {
  7512. return ErrIntOverflowGenerated
  7513. }
  7514. if iNdEx >= l {
  7515. return io.ErrUnexpectedEOF
  7516. }
  7517. b := dAtA[iNdEx]
  7518. iNdEx++
  7519. wire |= uint64(b&0x7F) << shift
  7520. if b < 0x80 {
  7521. break
  7522. }
  7523. }
  7524. fieldNum := int32(wire >> 3)
  7525. wireType := int(wire & 0x7)
  7526. if wireType == 4 {
  7527. return fmt.Errorf("proto: StatefulSetOrdinals: wiretype end group for non-group")
  7528. }
  7529. if fieldNum <= 0 {
  7530. return fmt.Errorf("proto: StatefulSetOrdinals: illegal tag %d (wire type %d)", fieldNum, wire)
  7531. }
  7532. switch fieldNum {
  7533. case 1:
  7534. if wireType != 0 {
  7535. return fmt.Errorf("proto: wrong wireType = %d for field Start", wireType)
  7536. }
  7537. m.Start = 0
  7538. for shift := uint(0); ; shift += 7 {
  7539. if shift >= 64 {
  7540. return ErrIntOverflowGenerated
  7541. }
  7542. if iNdEx >= l {
  7543. return io.ErrUnexpectedEOF
  7544. }
  7545. b := dAtA[iNdEx]
  7546. iNdEx++
  7547. m.Start |= int32(b&0x7F) << shift
  7548. if b < 0x80 {
  7549. break
  7550. }
  7551. }
  7552. default:
  7553. iNdEx = preIndex
  7554. skippy, err := skipGenerated(dAtA[iNdEx:])
  7555. if err != nil {
  7556. return err
  7557. }
  7558. if (skippy < 0) || (iNdEx+skippy) < 0 {
  7559. return ErrInvalidLengthGenerated
  7560. }
  7561. if (iNdEx + skippy) > l {
  7562. return io.ErrUnexpectedEOF
  7563. }
  7564. iNdEx += skippy
  7565. }
  7566. }
  7567. if iNdEx > l {
  7568. return io.ErrUnexpectedEOF
  7569. }
  7570. return nil
  7571. }
  7572. func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) Unmarshal(dAtA []byte) error {
  7573. l := len(dAtA)
  7574. iNdEx := 0
  7575. for iNdEx < l {
  7576. preIndex := iNdEx
  7577. var wire uint64
  7578. for shift := uint(0); ; shift += 7 {
  7579. if shift >= 64 {
  7580. return ErrIntOverflowGenerated
  7581. }
  7582. if iNdEx >= l {
  7583. return io.ErrUnexpectedEOF
  7584. }
  7585. b := dAtA[iNdEx]
  7586. iNdEx++
  7587. wire |= uint64(b&0x7F) << shift
  7588. if b < 0x80 {
  7589. break
  7590. }
  7591. }
  7592. fieldNum := int32(wire >> 3)
  7593. wireType := int(wire & 0x7)
  7594. if wireType == 4 {
  7595. return fmt.Errorf("proto: StatefulSetPersistentVolumeClaimRetentionPolicy: wiretype end group for non-group")
  7596. }
  7597. if fieldNum <= 0 {
  7598. return fmt.Errorf("proto: StatefulSetPersistentVolumeClaimRetentionPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
  7599. }
  7600. switch fieldNum {
  7601. case 1:
  7602. if wireType != 2 {
  7603. return fmt.Errorf("proto: wrong wireType = %d for field WhenDeleted", wireType)
  7604. }
  7605. var stringLen uint64
  7606. for shift := uint(0); ; shift += 7 {
  7607. if shift >= 64 {
  7608. return ErrIntOverflowGenerated
  7609. }
  7610. if iNdEx >= l {
  7611. return io.ErrUnexpectedEOF
  7612. }
  7613. b := dAtA[iNdEx]
  7614. iNdEx++
  7615. stringLen |= uint64(b&0x7F) << shift
  7616. if b < 0x80 {
  7617. break
  7618. }
  7619. }
  7620. intStringLen := int(stringLen)
  7621. if intStringLen < 0 {
  7622. return ErrInvalidLengthGenerated
  7623. }
  7624. postIndex := iNdEx + intStringLen
  7625. if postIndex < 0 {
  7626. return ErrInvalidLengthGenerated
  7627. }
  7628. if postIndex > l {
  7629. return io.ErrUnexpectedEOF
  7630. }
  7631. m.WhenDeleted = PersistentVolumeClaimRetentionPolicyType(dAtA[iNdEx:postIndex])
  7632. iNdEx = postIndex
  7633. case 2:
  7634. if wireType != 2 {
  7635. return fmt.Errorf("proto: wrong wireType = %d for field WhenScaled", wireType)
  7636. }
  7637. var stringLen uint64
  7638. for shift := uint(0); ; shift += 7 {
  7639. if shift >= 64 {
  7640. return ErrIntOverflowGenerated
  7641. }
  7642. if iNdEx >= l {
  7643. return io.ErrUnexpectedEOF
  7644. }
  7645. b := dAtA[iNdEx]
  7646. iNdEx++
  7647. stringLen |= uint64(b&0x7F) << shift
  7648. if b < 0x80 {
  7649. break
  7650. }
  7651. }
  7652. intStringLen := int(stringLen)
  7653. if intStringLen < 0 {
  7654. return ErrInvalidLengthGenerated
  7655. }
  7656. postIndex := iNdEx + intStringLen
  7657. if postIndex < 0 {
  7658. return ErrInvalidLengthGenerated
  7659. }
  7660. if postIndex > l {
  7661. return io.ErrUnexpectedEOF
  7662. }
  7663. m.WhenScaled = PersistentVolumeClaimRetentionPolicyType(dAtA[iNdEx:postIndex])
  7664. iNdEx = postIndex
  7665. default:
  7666. iNdEx = preIndex
  7667. skippy, err := skipGenerated(dAtA[iNdEx:])
  7668. if err != nil {
  7669. return err
  7670. }
  7671. if (skippy < 0) || (iNdEx+skippy) < 0 {
  7672. return ErrInvalidLengthGenerated
  7673. }
  7674. if (iNdEx + skippy) > l {
  7675. return io.ErrUnexpectedEOF
  7676. }
  7677. iNdEx += skippy
  7678. }
  7679. }
  7680. if iNdEx > l {
  7681. return io.ErrUnexpectedEOF
  7682. }
  7683. return nil
  7684. }
  7685. func (m *StatefulSetSpec) Unmarshal(dAtA []byte) error {
  7686. l := len(dAtA)
  7687. iNdEx := 0
  7688. for iNdEx < l {
  7689. preIndex := iNdEx
  7690. var wire uint64
  7691. for shift := uint(0); ; shift += 7 {
  7692. if shift >= 64 {
  7693. return ErrIntOverflowGenerated
  7694. }
  7695. if iNdEx >= l {
  7696. return io.ErrUnexpectedEOF
  7697. }
  7698. b := dAtA[iNdEx]
  7699. iNdEx++
  7700. wire |= uint64(b&0x7F) << shift
  7701. if b < 0x80 {
  7702. break
  7703. }
  7704. }
  7705. fieldNum := int32(wire >> 3)
  7706. wireType := int(wire & 0x7)
  7707. if wireType == 4 {
  7708. return fmt.Errorf("proto: StatefulSetSpec: wiretype end group for non-group")
  7709. }
  7710. if fieldNum <= 0 {
  7711. return fmt.Errorf("proto: StatefulSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  7712. }
  7713. switch fieldNum {
  7714. case 1:
  7715. if wireType != 0 {
  7716. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  7717. }
  7718. var v int32
  7719. for shift := uint(0); ; shift += 7 {
  7720. if shift >= 64 {
  7721. return ErrIntOverflowGenerated
  7722. }
  7723. if iNdEx >= l {
  7724. return io.ErrUnexpectedEOF
  7725. }
  7726. b := dAtA[iNdEx]
  7727. iNdEx++
  7728. v |= int32(b&0x7F) << shift
  7729. if b < 0x80 {
  7730. break
  7731. }
  7732. }
  7733. m.Replicas = &v
  7734. case 2:
  7735. if wireType != 2 {
  7736. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  7737. }
  7738. var msglen int
  7739. for shift := uint(0); ; shift += 7 {
  7740. if shift >= 64 {
  7741. return ErrIntOverflowGenerated
  7742. }
  7743. if iNdEx >= l {
  7744. return io.ErrUnexpectedEOF
  7745. }
  7746. b := dAtA[iNdEx]
  7747. iNdEx++
  7748. msglen |= int(b&0x7F) << shift
  7749. if b < 0x80 {
  7750. break
  7751. }
  7752. }
  7753. if msglen < 0 {
  7754. return ErrInvalidLengthGenerated
  7755. }
  7756. postIndex := iNdEx + msglen
  7757. if postIndex < 0 {
  7758. return ErrInvalidLengthGenerated
  7759. }
  7760. if postIndex > l {
  7761. return io.ErrUnexpectedEOF
  7762. }
  7763. if m.Selector == nil {
  7764. m.Selector = &v1.LabelSelector{}
  7765. }
  7766. if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7767. return err
  7768. }
  7769. iNdEx = postIndex
  7770. case 3:
  7771. if wireType != 2 {
  7772. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  7773. }
  7774. var msglen int
  7775. for shift := uint(0); ; shift += 7 {
  7776. if shift >= 64 {
  7777. return ErrIntOverflowGenerated
  7778. }
  7779. if iNdEx >= l {
  7780. return io.ErrUnexpectedEOF
  7781. }
  7782. b := dAtA[iNdEx]
  7783. iNdEx++
  7784. msglen |= int(b&0x7F) << shift
  7785. if b < 0x80 {
  7786. break
  7787. }
  7788. }
  7789. if msglen < 0 {
  7790. return ErrInvalidLengthGenerated
  7791. }
  7792. postIndex := iNdEx + msglen
  7793. if postIndex < 0 {
  7794. return ErrInvalidLengthGenerated
  7795. }
  7796. if postIndex > l {
  7797. return io.ErrUnexpectedEOF
  7798. }
  7799. if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7800. return err
  7801. }
  7802. iNdEx = postIndex
  7803. case 4:
  7804. if wireType != 2 {
  7805. return fmt.Errorf("proto: wrong wireType = %d for field VolumeClaimTemplates", wireType)
  7806. }
  7807. var msglen int
  7808. for shift := uint(0); ; shift += 7 {
  7809. if shift >= 64 {
  7810. return ErrIntOverflowGenerated
  7811. }
  7812. if iNdEx >= l {
  7813. return io.ErrUnexpectedEOF
  7814. }
  7815. b := dAtA[iNdEx]
  7816. iNdEx++
  7817. msglen |= int(b&0x7F) << shift
  7818. if b < 0x80 {
  7819. break
  7820. }
  7821. }
  7822. if msglen < 0 {
  7823. return ErrInvalidLengthGenerated
  7824. }
  7825. postIndex := iNdEx + msglen
  7826. if postIndex < 0 {
  7827. return ErrInvalidLengthGenerated
  7828. }
  7829. if postIndex > l {
  7830. return io.ErrUnexpectedEOF
  7831. }
  7832. m.VolumeClaimTemplates = append(m.VolumeClaimTemplates, v11.PersistentVolumeClaim{})
  7833. if err := m.VolumeClaimTemplates[len(m.VolumeClaimTemplates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7834. return err
  7835. }
  7836. iNdEx = postIndex
  7837. case 5:
  7838. if wireType != 2 {
  7839. return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType)
  7840. }
  7841. var stringLen uint64
  7842. for shift := uint(0); ; shift += 7 {
  7843. if shift >= 64 {
  7844. return ErrIntOverflowGenerated
  7845. }
  7846. if iNdEx >= l {
  7847. return io.ErrUnexpectedEOF
  7848. }
  7849. b := dAtA[iNdEx]
  7850. iNdEx++
  7851. stringLen |= uint64(b&0x7F) << shift
  7852. if b < 0x80 {
  7853. break
  7854. }
  7855. }
  7856. intStringLen := int(stringLen)
  7857. if intStringLen < 0 {
  7858. return ErrInvalidLengthGenerated
  7859. }
  7860. postIndex := iNdEx + intStringLen
  7861. if postIndex < 0 {
  7862. return ErrInvalidLengthGenerated
  7863. }
  7864. if postIndex > l {
  7865. return io.ErrUnexpectedEOF
  7866. }
  7867. m.ServiceName = string(dAtA[iNdEx:postIndex])
  7868. iNdEx = postIndex
  7869. case 6:
  7870. if wireType != 2 {
  7871. return fmt.Errorf("proto: wrong wireType = %d for field PodManagementPolicy", wireType)
  7872. }
  7873. var stringLen uint64
  7874. for shift := uint(0); ; shift += 7 {
  7875. if shift >= 64 {
  7876. return ErrIntOverflowGenerated
  7877. }
  7878. if iNdEx >= l {
  7879. return io.ErrUnexpectedEOF
  7880. }
  7881. b := dAtA[iNdEx]
  7882. iNdEx++
  7883. stringLen |= uint64(b&0x7F) << shift
  7884. if b < 0x80 {
  7885. break
  7886. }
  7887. }
  7888. intStringLen := int(stringLen)
  7889. if intStringLen < 0 {
  7890. return ErrInvalidLengthGenerated
  7891. }
  7892. postIndex := iNdEx + intStringLen
  7893. if postIndex < 0 {
  7894. return ErrInvalidLengthGenerated
  7895. }
  7896. if postIndex > l {
  7897. return io.ErrUnexpectedEOF
  7898. }
  7899. m.PodManagementPolicy = PodManagementPolicyType(dAtA[iNdEx:postIndex])
  7900. iNdEx = postIndex
  7901. case 7:
  7902. if wireType != 2 {
  7903. return fmt.Errorf("proto: wrong wireType = %d for field UpdateStrategy", wireType)
  7904. }
  7905. var msglen int
  7906. for shift := uint(0); ; shift += 7 {
  7907. if shift >= 64 {
  7908. return ErrIntOverflowGenerated
  7909. }
  7910. if iNdEx >= l {
  7911. return io.ErrUnexpectedEOF
  7912. }
  7913. b := dAtA[iNdEx]
  7914. iNdEx++
  7915. msglen |= int(b&0x7F) << shift
  7916. if b < 0x80 {
  7917. break
  7918. }
  7919. }
  7920. if msglen < 0 {
  7921. return ErrInvalidLengthGenerated
  7922. }
  7923. postIndex := iNdEx + msglen
  7924. if postIndex < 0 {
  7925. return ErrInvalidLengthGenerated
  7926. }
  7927. if postIndex > l {
  7928. return io.ErrUnexpectedEOF
  7929. }
  7930. if err := m.UpdateStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7931. return err
  7932. }
  7933. iNdEx = postIndex
  7934. case 8:
  7935. if wireType != 0 {
  7936. return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
  7937. }
  7938. var v int32
  7939. for shift := uint(0); ; shift += 7 {
  7940. if shift >= 64 {
  7941. return ErrIntOverflowGenerated
  7942. }
  7943. if iNdEx >= l {
  7944. return io.ErrUnexpectedEOF
  7945. }
  7946. b := dAtA[iNdEx]
  7947. iNdEx++
  7948. v |= int32(b&0x7F) << shift
  7949. if b < 0x80 {
  7950. break
  7951. }
  7952. }
  7953. m.RevisionHistoryLimit = &v
  7954. case 9:
  7955. if wireType != 0 {
  7956. return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
  7957. }
  7958. m.MinReadySeconds = 0
  7959. for shift := uint(0); ; shift += 7 {
  7960. if shift >= 64 {
  7961. return ErrIntOverflowGenerated
  7962. }
  7963. if iNdEx >= l {
  7964. return io.ErrUnexpectedEOF
  7965. }
  7966. b := dAtA[iNdEx]
  7967. iNdEx++
  7968. m.MinReadySeconds |= int32(b&0x7F) << shift
  7969. if b < 0x80 {
  7970. break
  7971. }
  7972. }
  7973. case 10:
  7974. if wireType != 2 {
  7975. return fmt.Errorf("proto: wrong wireType = %d for field PersistentVolumeClaimRetentionPolicy", wireType)
  7976. }
  7977. var msglen int
  7978. for shift := uint(0); ; shift += 7 {
  7979. if shift >= 64 {
  7980. return ErrIntOverflowGenerated
  7981. }
  7982. if iNdEx >= l {
  7983. return io.ErrUnexpectedEOF
  7984. }
  7985. b := dAtA[iNdEx]
  7986. iNdEx++
  7987. msglen |= int(b&0x7F) << shift
  7988. if b < 0x80 {
  7989. break
  7990. }
  7991. }
  7992. if msglen < 0 {
  7993. return ErrInvalidLengthGenerated
  7994. }
  7995. postIndex := iNdEx + msglen
  7996. if postIndex < 0 {
  7997. return ErrInvalidLengthGenerated
  7998. }
  7999. if postIndex > l {
  8000. return io.ErrUnexpectedEOF
  8001. }
  8002. if m.PersistentVolumeClaimRetentionPolicy == nil {
  8003. m.PersistentVolumeClaimRetentionPolicy = &StatefulSetPersistentVolumeClaimRetentionPolicy{}
  8004. }
  8005. if err := m.PersistentVolumeClaimRetentionPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8006. return err
  8007. }
  8008. iNdEx = postIndex
  8009. case 11:
  8010. if wireType != 2 {
  8011. return fmt.Errorf("proto: wrong wireType = %d for field Ordinals", wireType)
  8012. }
  8013. var msglen int
  8014. for shift := uint(0); ; shift += 7 {
  8015. if shift >= 64 {
  8016. return ErrIntOverflowGenerated
  8017. }
  8018. if iNdEx >= l {
  8019. return io.ErrUnexpectedEOF
  8020. }
  8021. b := dAtA[iNdEx]
  8022. iNdEx++
  8023. msglen |= int(b&0x7F) << shift
  8024. if b < 0x80 {
  8025. break
  8026. }
  8027. }
  8028. if msglen < 0 {
  8029. return ErrInvalidLengthGenerated
  8030. }
  8031. postIndex := iNdEx + msglen
  8032. if postIndex < 0 {
  8033. return ErrInvalidLengthGenerated
  8034. }
  8035. if postIndex > l {
  8036. return io.ErrUnexpectedEOF
  8037. }
  8038. if m.Ordinals == nil {
  8039. m.Ordinals = &StatefulSetOrdinals{}
  8040. }
  8041. if err := m.Ordinals.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8042. return err
  8043. }
  8044. iNdEx = postIndex
  8045. default:
  8046. iNdEx = preIndex
  8047. skippy, err := skipGenerated(dAtA[iNdEx:])
  8048. if err != nil {
  8049. return err
  8050. }
  8051. if (skippy < 0) || (iNdEx+skippy) < 0 {
  8052. return ErrInvalidLengthGenerated
  8053. }
  8054. if (iNdEx + skippy) > l {
  8055. return io.ErrUnexpectedEOF
  8056. }
  8057. iNdEx += skippy
  8058. }
  8059. }
  8060. if iNdEx > l {
  8061. return io.ErrUnexpectedEOF
  8062. }
  8063. return nil
  8064. }
  8065. func (m *StatefulSetStatus) Unmarshal(dAtA []byte) error {
  8066. l := len(dAtA)
  8067. iNdEx := 0
  8068. for iNdEx < l {
  8069. preIndex := iNdEx
  8070. var wire uint64
  8071. for shift := uint(0); ; shift += 7 {
  8072. if shift >= 64 {
  8073. return ErrIntOverflowGenerated
  8074. }
  8075. if iNdEx >= l {
  8076. return io.ErrUnexpectedEOF
  8077. }
  8078. b := dAtA[iNdEx]
  8079. iNdEx++
  8080. wire |= uint64(b&0x7F) << shift
  8081. if b < 0x80 {
  8082. break
  8083. }
  8084. }
  8085. fieldNum := int32(wire >> 3)
  8086. wireType := int(wire & 0x7)
  8087. if wireType == 4 {
  8088. return fmt.Errorf("proto: StatefulSetStatus: wiretype end group for non-group")
  8089. }
  8090. if fieldNum <= 0 {
  8091. return fmt.Errorf("proto: StatefulSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  8092. }
  8093. switch fieldNum {
  8094. case 1:
  8095. if wireType != 0 {
  8096. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  8097. }
  8098. m.ObservedGeneration = 0
  8099. for shift := uint(0); ; shift += 7 {
  8100. if shift >= 64 {
  8101. return ErrIntOverflowGenerated
  8102. }
  8103. if iNdEx >= l {
  8104. return io.ErrUnexpectedEOF
  8105. }
  8106. b := dAtA[iNdEx]
  8107. iNdEx++
  8108. m.ObservedGeneration |= int64(b&0x7F) << shift
  8109. if b < 0x80 {
  8110. break
  8111. }
  8112. }
  8113. case 2:
  8114. if wireType != 0 {
  8115. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  8116. }
  8117. m.Replicas = 0
  8118. for shift := uint(0); ; shift += 7 {
  8119. if shift >= 64 {
  8120. return ErrIntOverflowGenerated
  8121. }
  8122. if iNdEx >= l {
  8123. return io.ErrUnexpectedEOF
  8124. }
  8125. b := dAtA[iNdEx]
  8126. iNdEx++
  8127. m.Replicas |= int32(b&0x7F) << shift
  8128. if b < 0x80 {
  8129. break
  8130. }
  8131. }
  8132. case 3:
  8133. if wireType != 0 {
  8134. return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
  8135. }
  8136. m.ReadyReplicas = 0
  8137. for shift := uint(0); ; shift += 7 {
  8138. if shift >= 64 {
  8139. return ErrIntOverflowGenerated
  8140. }
  8141. if iNdEx >= l {
  8142. return io.ErrUnexpectedEOF
  8143. }
  8144. b := dAtA[iNdEx]
  8145. iNdEx++
  8146. m.ReadyReplicas |= int32(b&0x7F) << shift
  8147. if b < 0x80 {
  8148. break
  8149. }
  8150. }
  8151. case 4:
  8152. if wireType != 0 {
  8153. return fmt.Errorf("proto: wrong wireType = %d for field CurrentReplicas", wireType)
  8154. }
  8155. m.CurrentReplicas = 0
  8156. for shift := uint(0); ; shift += 7 {
  8157. if shift >= 64 {
  8158. return ErrIntOverflowGenerated
  8159. }
  8160. if iNdEx >= l {
  8161. return io.ErrUnexpectedEOF
  8162. }
  8163. b := dAtA[iNdEx]
  8164. iNdEx++
  8165. m.CurrentReplicas |= int32(b&0x7F) << shift
  8166. if b < 0x80 {
  8167. break
  8168. }
  8169. }
  8170. case 5:
  8171. if wireType != 0 {
  8172. return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType)
  8173. }
  8174. m.UpdatedReplicas = 0
  8175. for shift := uint(0); ; shift += 7 {
  8176. if shift >= 64 {
  8177. return ErrIntOverflowGenerated
  8178. }
  8179. if iNdEx >= l {
  8180. return io.ErrUnexpectedEOF
  8181. }
  8182. b := dAtA[iNdEx]
  8183. iNdEx++
  8184. m.UpdatedReplicas |= int32(b&0x7F) << shift
  8185. if b < 0x80 {
  8186. break
  8187. }
  8188. }
  8189. case 6:
  8190. if wireType != 2 {
  8191. return fmt.Errorf("proto: wrong wireType = %d for field CurrentRevision", wireType)
  8192. }
  8193. var stringLen uint64
  8194. for shift := uint(0); ; shift += 7 {
  8195. if shift >= 64 {
  8196. return ErrIntOverflowGenerated
  8197. }
  8198. if iNdEx >= l {
  8199. return io.ErrUnexpectedEOF
  8200. }
  8201. b := dAtA[iNdEx]
  8202. iNdEx++
  8203. stringLen |= uint64(b&0x7F) << shift
  8204. if b < 0x80 {
  8205. break
  8206. }
  8207. }
  8208. intStringLen := int(stringLen)
  8209. if intStringLen < 0 {
  8210. return ErrInvalidLengthGenerated
  8211. }
  8212. postIndex := iNdEx + intStringLen
  8213. if postIndex < 0 {
  8214. return ErrInvalidLengthGenerated
  8215. }
  8216. if postIndex > l {
  8217. return io.ErrUnexpectedEOF
  8218. }
  8219. m.CurrentRevision = string(dAtA[iNdEx:postIndex])
  8220. iNdEx = postIndex
  8221. case 7:
  8222. if wireType != 2 {
  8223. return fmt.Errorf("proto: wrong wireType = %d for field UpdateRevision", wireType)
  8224. }
  8225. var stringLen uint64
  8226. for shift := uint(0); ; shift += 7 {
  8227. if shift >= 64 {
  8228. return ErrIntOverflowGenerated
  8229. }
  8230. if iNdEx >= l {
  8231. return io.ErrUnexpectedEOF
  8232. }
  8233. b := dAtA[iNdEx]
  8234. iNdEx++
  8235. stringLen |= uint64(b&0x7F) << shift
  8236. if b < 0x80 {
  8237. break
  8238. }
  8239. }
  8240. intStringLen := int(stringLen)
  8241. if intStringLen < 0 {
  8242. return ErrInvalidLengthGenerated
  8243. }
  8244. postIndex := iNdEx + intStringLen
  8245. if postIndex < 0 {
  8246. return ErrInvalidLengthGenerated
  8247. }
  8248. if postIndex > l {
  8249. return io.ErrUnexpectedEOF
  8250. }
  8251. m.UpdateRevision = string(dAtA[iNdEx:postIndex])
  8252. iNdEx = postIndex
  8253. case 9:
  8254. if wireType != 0 {
  8255. return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
  8256. }
  8257. var v int32
  8258. for shift := uint(0); ; shift += 7 {
  8259. if shift >= 64 {
  8260. return ErrIntOverflowGenerated
  8261. }
  8262. if iNdEx >= l {
  8263. return io.ErrUnexpectedEOF
  8264. }
  8265. b := dAtA[iNdEx]
  8266. iNdEx++
  8267. v |= int32(b&0x7F) << shift
  8268. if b < 0x80 {
  8269. break
  8270. }
  8271. }
  8272. m.CollisionCount = &v
  8273. case 10:
  8274. if wireType != 2 {
  8275. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  8276. }
  8277. var msglen int
  8278. for shift := uint(0); ; shift += 7 {
  8279. if shift >= 64 {
  8280. return ErrIntOverflowGenerated
  8281. }
  8282. if iNdEx >= l {
  8283. return io.ErrUnexpectedEOF
  8284. }
  8285. b := dAtA[iNdEx]
  8286. iNdEx++
  8287. msglen |= int(b&0x7F) << shift
  8288. if b < 0x80 {
  8289. break
  8290. }
  8291. }
  8292. if msglen < 0 {
  8293. return ErrInvalidLengthGenerated
  8294. }
  8295. postIndex := iNdEx + msglen
  8296. if postIndex < 0 {
  8297. return ErrInvalidLengthGenerated
  8298. }
  8299. if postIndex > l {
  8300. return io.ErrUnexpectedEOF
  8301. }
  8302. m.Conditions = append(m.Conditions, StatefulSetCondition{})
  8303. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8304. return err
  8305. }
  8306. iNdEx = postIndex
  8307. case 11:
  8308. if wireType != 0 {
  8309. return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
  8310. }
  8311. m.AvailableReplicas = 0
  8312. for shift := uint(0); ; shift += 7 {
  8313. if shift >= 64 {
  8314. return ErrIntOverflowGenerated
  8315. }
  8316. if iNdEx >= l {
  8317. return io.ErrUnexpectedEOF
  8318. }
  8319. b := dAtA[iNdEx]
  8320. iNdEx++
  8321. m.AvailableReplicas |= int32(b&0x7F) << shift
  8322. if b < 0x80 {
  8323. break
  8324. }
  8325. }
  8326. default:
  8327. iNdEx = preIndex
  8328. skippy, err := skipGenerated(dAtA[iNdEx:])
  8329. if err != nil {
  8330. return err
  8331. }
  8332. if (skippy < 0) || (iNdEx+skippy) < 0 {
  8333. return ErrInvalidLengthGenerated
  8334. }
  8335. if (iNdEx + skippy) > l {
  8336. return io.ErrUnexpectedEOF
  8337. }
  8338. iNdEx += skippy
  8339. }
  8340. }
  8341. if iNdEx > l {
  8342. return io.ErrUnexpectedEOF
  8343. }
  8344. return nil
  8345. }
  8346. func (m *StatefulSetUpdateStrategy) Unmarshal(dAtA []byte) error {
  8347. l := len(dAtA)
  8348. iNdEx := 0
  8349. for iNdEx < l {
  8350. preIndex := iNdEx
  8351. var wire uint64
  8352. for shift := uint(0); ; shift += 7 {
  8353. if shift >= 64 {
  8354. return ErrIntOverflowGenerated
  8355. }
  8356. if iNdEx >= l {
  8357. return io.ErrUnexpectedEOF
  8358. }
  8359. b := dAtA[iNdEx]
  8360. iNdEx++
  8361. wire |= uint64(b&0x7F) << shift
  8362. if b < 0x80 {
  8363. break
  8364. }
  8365. }
  8366. fieldNum := int32(wire >> 3)
  8367. wireType := int(wire & 0x7)
  8368. if wireType == 4 {
  8369. return fmt.Errorf("proto: StatefulSetUpdateStrategy: wiretype end group for non-group")
  8370. }
  8371. if fieldNum <= 0 {
  8372. return fmt.Errorf("proto: StatefulSetUpdateStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
  8373. }
  8374. switch fieldNum {
  8375. case 1:
  8376. if wireType != 2 {
  8377. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  8378. }
  8379. var stringLen uint64
  8380. for shift := uint(0); ; shift += 7 {
  8381. if shift >= 64 {
  8382. return ErrIntOverflowGenerated
  8383. }
  8384. if iNdEx >= l {
  8385. return io.ErrUnexpectedEOF
  8386. }
  8387. b := dAtA[iNdEx]
  8388. iNdEx++
  8389. stringLen |= uint64(b&0x7F) << shift
  8390. if b < 0x80 {
  8391. break
  8392. }
  8393. }
  8394. intStringLen := int(stringLen)
  8395. if intStringLen < 0 {
  8396. return ErrInvalidLengthGenerated
  8397. }
  8398. postIndex := iNdEx + intStringLen
  8399. if postIndex < 0 {
  8400. return ErrInvalidLengthGenerated
  8401. }
  8402. if postIndex > l {
  8403. return io.ErrUnexpectedEOF
  8404. }
  8405. m.Type = StatefulSetUpdateStrategyType(dAtA[iNdEx:postIndex])
  8406. iNdEx = postIndex
  8407. case 2:
  8408. if wireType != 2 {
  8409. return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
  8410. }
  8411. var msglen int
  8412. for shift := uint(0); ; shift += 7 {
  8413. if shift >= 64 {
  8414. return ErrIntOverflowGenerated
  8415. }
  8416. if iNdEx >= l {
  8417. return io.ErrUnexpectedEOF
  8418. }
  8419. b := dAtA[iNdEx]
  8420. iNdEx++
  8421. msglen |= int(b&0x7F) << shift
  8422. if b < 0x80 {
  8423. break
  8424. }
  8425. }
  8426. if msglen < 0 {
  8427. return ErrInvalidLengthGenerated
  8428. }
  8429. postIndex := iNdEx + msglen
  8430. if postIndex < 0 {
  8431. return ErrInvalidLengthGenerated
  8432. }
  8433. if postIndex > l {
  8434. return io.ErrUnexpectedEOF
  8435. }
  8436. if m.RollingUpdate == nil {
  8437. m.RollingUpdate = &RollingUpdateStatefulSetStrategy{}
  8438. }
  8439. if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8440. return err
  8441. }
  8442. iNdEx = postIndex
  8443. default:
  8444. iNdEx = preIndex
  8445. skippy, err := skipGenerated(dAtA[iNdEx:])
  8446. if err != nil {
  8447. return err
  8448. }
  8449. if (skippy < 0) || (iNdEx+skippy) < 0 {
  8450. return ErrInvalidLengthGenerated
  8451. }
  8452. if (iNdEx + skippy) > l {
  8453. return io.ErrUnexpectedEOF
  8454. }
  8455. iNdEx += skippy
  8456. }
  8457. }
  8458. if iNdEx > l {
  8459. return io.ErrUnexpectedEOF
  8460. }
  8461. return nil
  8462. }
  8463. func skipGenerated(dAtA []byte) (n int, err error) {
  8464. l := len(dAtA)
  8465. iNdEx := 0
  8466. depth := 0
  8467. for iNdEx < l {
  8468. var wire uint64
  8469. for shift := uint(0); ; shift += 7 {
  8470. if shift >= 64 {
  8471. return 0, ErrIntOverflowGenerated
  8472. }
  8473. if iNdEx >= l {
  8474. return 0, io.ErrUnexpectedEOF
  8475. }
  8476. b := dAtA[iNdEx]
  8477. iNdEx++
  8478. wire |= (uint64(b) & 0x7F) << shift
  8479. if b < 0x80 {
  8480. break
  8481. }
  8482. }
  8483. wireType := int(wire & 0x7)
  8484. switch wireType {
  8485. case 0:
  8486. for shift := uint(0); ; shift += 7 {
  8487. if shift >= 64 {
  8488. return 0, ErrIntOverflowGenerated
  8489. }
  8490. if iNdEx >= l {
  8491. return 0, io.ErrUnexpectedEOF
  8492. }
  8493. iNdEx++
  8494. if dAtA[iNdEx-1] < 0x80 {
  8495. break
  8496. }
  8497. }
  8498. case 1:
  8499. iNdEx += 8
  8500. case 2:
  8501. var length int
  8502. for shift := uint(0); ; shift += 7 {
  8503. if shift >= 64 {
  8504. return 0, ErrIntOverflowGenerated
  8505. }
  8506. if iNdEx >= l {
  8507. return 0, io.ErrUnexpectedEOF
  8508. }
  8509. b := dAtA[iNdEx]
  8510. iNdEx++
  8511. length |= (int(b) & 0x7F) << shift
  8512. if b < 0x80 {
  8513. break
  8514. }
  8515. }
  8516. if length < 0 {
  8517. return 0, ErrInvalidLengthGenerated
  8518. }
  8519. iNdEx += length
  8520. case 3:
  8521. depth++
  8522. case 4:
  8523. if depth == 0 {
  8524. return 0, ErrUnexpectedEndOfGroupGenerated
  8525. }
  8526. depth--
  8527. case 5:
  8528. iNdEx += 4
  8529. default:
  8530. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  8531. }
  8532. if iNdEx < 0 {
  8533. return 0, ErrInvalidLengthGenerated
  8534. }
  8535. if depth == 0 {
  8536. return iNdEx, nil
  8537. }
  8538. }
  8539. return 0, io.ErrUnexpectedEOF
  8540. }
  8541. var (
  8542. ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
  8543. ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
  8544. ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
  8545. )