generated.pb.go 173 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924
  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. /*
  16. Package v1 is a generated protocol buffer package.
  17. It is generated from these files:
  18. k8s.io/kubernetes/vendor/k8s.io/api/apps/v1/generated.proto
  19. It has these top-level messages:
  20. ControllerRevision
  21. ControllerRevisionList
  22. DaemonSet
  23. DaemonSetCondition
  24. DaemonSetList
  25. DaemonSetSpec
  26. DaemonSetStatus
  27. DaemonSetUpdateStrategy
  28. Deployment
  29. DeploymentCondition
  30. DeploymentList
  31. DeploymentSpec
  32. DeploymentStatus
  33. DeploymentStrategy
  34. ReplicaSet
  35. ReplicaSetCondition
  36. ReplicaSetList
  37. ReplicaSetSpec
  38. ReplicaSetStatus
  39. RollingUpdateDaemonSet
  40. RollingUpdateDeployment
  41. RollingUpdateStatefulSetStrategy
  42. StatefulSet
  43. StatefulSetCondition
  44. StatefulSetList
  45. StatefulSetSpec
  46. StatefulSetStatus
  47. StatefulSetUpdateStrategy
  48. */
  49. package v1
  50. import proto "github.com/gogo/protobuf/proto"
  51. import fmt "fmt"
  52. import math "math"
  53. import k8s_io_api_core_v1 "k8s.io/api/core/v1"
  54. import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  55. import k8s_io_apimachinery_pkg_util_intstr "k8s.io/apimachinery/pkg/util/intstr"
  56. import strings "strings"
  57. import reflect "reflect"
  58. import io "io"
  59. // Reference imports to suppress errors if they are not otherwise used.
  60. var _ = proto.Marshal
  61. var _ = fmt.Errorf
  62. var _ = math.Inf
  63. // This is a compile-time assertion to ensure that this generated file
  64. // is compatible with the proto package it is being compiled against.
  65. // A compilation error at this line likely means your copy of the
  66. // proto package needs to be updated.
  67. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  68. func (m *ControllerRevision) Reset() { *m = ControllerRevision{} }
  69. func (*ControllerRevision) ProtoMessage() {}
  70. func (*ControllerRevision) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
  71. func (m *ControllerRevisionList) Reset() { *m = ControllerRevisionList{} }
  72. func (*ControllerRevisionList) ProtoMessage() {}
  73. func (*ControllerRevisionList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
  74. func (m *DaemonSet) Reset() { *m = DaemonSet{} }
  75. func (*DaemonSet) ProtoMessage() {}
  76. func (*DaemonSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
  77. func (m *DaemonSetCondition) Reset() { *m = DaemonSetCondition{} }
  78. func (*DaemonSetCondition) ProtoMessage() {}
  79. func (*DaemonSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
  80. func (m *DaemonSetList) Reset() { *m = DaemonSetList{} }
  81. func (*DaemonSetList) ProtoMessage() {}
  82. func (*DaemonSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
  83. func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} }
  84. func (*DaemonSetSpec) ProtoMessage() {}
  85. func (*DaemonSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
  86. func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} }
  87. func (*DaemonSetStatus) ProtoMessage() {}
  88. func (*DaemonSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
  89. func (m *DaemonSetUpdateStrategy) Reset() { *m = DaemonSetUpdateStrategy{} }
  90. func (*DaemonSetUpdateStrategy) ProtoMessage() {}
  91. func (*DaemonSetUpdateStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
  92. func (m *Deployment) Reset() { *m = Deployment{} }
  93. func (*Deployment) ProtoMessage() {}
  94. func (*Deployment) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
  95. func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} }
  96. func (*DeploymentCondition) ProtoMessage() {}
  97. func (*DeploymentCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
  98. func (m *DeploymentList) Reset() { *m = DeploymentList{} }
  99. func (*DeploymentList) ProtoMessage() {}
  100. func (*DeploymentList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} }
  101. func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} }
  102. func (*DeploymentSpec) ProtoMessage() {}
  103. func (*DeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
  104. func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} }
  105. func (*DeploymentStatus) ProtoMessage() {}
  106. func (*DeploymentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
  107. func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} }
  108. func (*DeploymentStrategy) ProtoMessage() {}
  109. func (*DeploymentStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} }
  110. func (m *ReplicaSet) Reset() { *m = ReplicaSet{} }
  111. func (*ReplicaSet) ProtoMessage() {}
  112. func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
  113. func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} }
  114. func (*ReplicaSetCondition) ProtoMessage() {}
  115. func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
  116. func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} }
  117. func (*ReplicaSetList) ProtoMessage() {}
  118. func (*ReplicaSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
  119. func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} }
  120. func (*ReplicaSetSpec) ProtoMessage() {}
  121. func (*ReplicaSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
  122. func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} }
  123. func (*ReplicaSetStatus) ProtoMessage() {}
  124. func (*ReplicaSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} }
  125. func (m *RollingUpdateDaemonSet) Reset() { *m = RollingUpdateDaemonSet{} }
  126. func (*RollingUpdateDaemonSet) ProtoMessage() {}
  127. func (*RollingUpdateDaemonSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} }
  128. func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} }
  129. func (*RollingUpdateDeployment) ProtoMessage() {}
  130. func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) {
  131. return fileDescriptorGenerated, []int{20}
  132. }
  133. func (m *RollingUpdateStatefulSetStrategy) Reset() { *m = RollingUpdateStatefulSetStrategy{} }
  134. func (*RollingUpdateStatefulSetStrategy) ProtoMessage() {}
  135. func (*RollingUpdateStatefulSetStrategy) Descriptor() ([]byte, []int) {
  136. return fileDescriptorGenerated, []int{21}
  137. }
  138. func (m *StatefulSet) Reset() { *m = StatefulSet{} }
  139. func (*StatefulSet) ProtoMessage() {}
  140. func (*StatefulSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} }
  141. func (m *StatefulSetCondition) Reset() { *m = StatefulSetCondition{} }
  142. func (*StatefulSetCondition) ProtoMessage() {}
  143. func (*StatefulSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} }
  144. func (m *StatefulSetList) Reset() { *m = StatefulSetList{} }
  145. func (*StatefulSetList) ProtoMessage() {}
  146. func (*StatefulSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} }
  147. func (m *StatefulSetSpec) Reset() { *m = StatefulSetSpec{} }
  148. func (*StatefulSetSpec) ProtoMessage() {}
  149. func (*StatefulSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} }
  150. func (m *StatefulSetStatus) Reset() { *m = StatefulSetStatus{} }
  151. func (*StatefulSetStatus) ProtoMessage() {}
  152. func (*StatefulSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} }
  153. func (m *StatefulSetUpdateStrategy) Reset() { *m = StatefulSetUpdateStrategy{} }
  154. func (*StatefulSetUpdateStrategy) ProtoMessage() {}
  155. func (*StatefulSetUpdateStrategy) Descriptor() ([]byte, []int) {
  156. return fileDescriptorGenerated, []int{27}
  157. }
  158. func init() {
  159. proto.RegisterType((*ControllerRevision)(nil), "k8s.io.api.apps.v1.ControllerRevision")
  160. proto.RegisterType((*ControllerRevisionList)(nil), "k8s.io.api.apps.v1.ControllerRevisionList")
  161. proto.RegisterType((*DaemonSet)(nil), "k8s.io.api.apps.v1.DaemonSet")
  162. proto.RegisterType((*DaemonSetCondition)(nil), "k8s.io.api.apps.v1.DaemonSetCondition")
  163. proto.RegisterType((*DaemonSetList)(nil), "k8s.io.api.apps.v1.DaemonSetList")
  164. proto.RegisterType((*DaemonSetSpec)(nil), "k8s.io.api.apps.v1.DaemonSetSpec")
  165. proto.RegisterType((*DaemonSetStatus)(nil), "k8s.io.api.apps.v1.DaemonSetStatus")
  166. proto.RegisterType((*DaemonSetUpdateStrategy)(nil), "k8s.io.api.apps.v1.DaemonSetUpdateStrategy")
  167. proto.RegisterType((*Deployment)(nil), "k8s.io.api.apps.v1.Deployment")
  168. proto.RegisterType((*DeploymentCondition)(nil), "k8s.io.api.apps.v1.DeploymentCondition")
  169. proto.RegisterType((*DeploymentList)(nil), "k8s.io.api.apps.v1.DeploymentList")
  170. proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.api.apps.v1.DeploymentSpec")
  171. proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.api.apps.v1.DeploymentStatus")
  172. proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.api.apps.v1.DeploymentStrategy")
  173. proto.RegisterType((*ReplicaSet)(nil), "k8s.io.api.apps.v1.ReplicaSet")
  174. proto.RegisterType((*ReplicaSetCondition)(nil), "k8s.io.api.apps.v1.ReplicaSetCondition")
  175. proto.RegisterType((*ReplicaSetList)(nil), "k8s.io.api.apps.v1.ReplicaSetList")
  176. proto.RegisterType((*ReplicaSetSpec)(nil), "k8s.io.api.apps.v1.ReplicaSetSpec")
  177. proto.RegisterType((*ReplicaSetStatus)(nil), "k8s.io.api.apps.v1.ReplicaSetStatus")
  178. proto.RegisterType((*RollingUpdateDaemonSet)(nil), "k8s.io.api.apps.v1.RollingUpdateDaemonSet")
  179. proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.api.apps.v1.RollingUpdateDeployment")
  180. proto.RegisterType((*RollingUpdateStatefulSetStrategy)(nil), "k8s.io.api.apps.v1.RollingUpdateStatefulSetStrategy")
  181. proto.RegisterType((*StatefulSet)(nil), "k8s.io.api.apps.v1.StatefulSet")
  182. proto.RegisterType((*StatefulSetCondition)(nil), "k8s.io.api.apps.v1.StatefulSetCondition")
  183. proto.RegisterType((*StatefulSetList)(nil), "k8s.io.api.apps.v1.StatefulSetList")
  184. proto.RegisterType((*StatefulSetSpec)(nil), "k8s.io.api.apps.v1.StatefulSetSpec")
  185. proto.RegisterType((*StatefulSetStatus)(nil), "k8s.io.api.apps.v1.StatefulSetStatus")
  186. proto.RegisterType((*StatefulSetUpdateStrategy)(nil), "k8s.io.api.apps.v1.StatefulSetUpdateStrategy")
  187. }
  188. func (m *ControllerRevision) Marshal() (dAtA []byte, err error) {
  189. size := m.Size()
  190. dAtA = make([]byte, size)
  191. n, err := m.MarshalTo(dAtA)
  192. if err != nil {
  193. return nil, err
  194. }
  195. return dAtA[:n], nil
  196. }
  197. func (m *ControllerRevision) MarshalTo(dAtA []byte) (int, error) {
  198. var i int
  199. _ = i
  200. var l int
  201. _ = l
  202. dAtA[i] = 0xa
  203. i++
  204. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  205. n1, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  206. if err != nil {
  207. return 0, err
  208. }
  209. i += n1
  210. dAtA[i] = 0x12
  211. i++
  212. i = encodeVarintGenerated(dAtA, i, uint64(m.Data.Size()))
  213. n2, err := m.Data.MarshalTo(dAtA[i:])
  214. if err != nil {
  215. return 0, err
  216. }
  217. i += n2
  218. dAtA[i] = 0x18
  219. i++
  220. i = encodeVarintGenerated(dAtA, i, uint64(m.Revision))
  221. return i, nil
  222. }
  223. func (m *ControllerRevisionList) Marshal() (dAtA []byte, err error) {
  224. size := m.Size()
  225. dAtA = make([]byte, size)
  226. n, err := m.MarshalTo(dAtA)
  227. if err != nil {
  228. return nil, err
  229. }
  230. return dAtA[:n], nil
  231. }
  232. func (m *ControllerRevisionList) MarshalTo(dAtA []byte) (int, error) {
  233. var i int
  234. _ = i
  235. var l int
  236. _ = l
  237. dAtA[i] = 0xa
  238. i++
  239. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  240. n3, err := m.ListMeta.MarshalTo(dAtA[i:])
  241. if err != nil {
  242. return 0, err
  243. }
  244. i += n3
  245. if len(m.Items) > 0 {
  246. for _, msg := range m.Items {
  247. dAtA[i] = 0x12
  248. i++
  249. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  250. n, err := msg.MarshalTo(dAtA[i:])
  251. if err != nil {
  252. return 0, err
  253. }
  254. i += n
  255. }
  256. }
  257. return i, nil
  258. }
  259. func (m *DaemonSet) Marshal() (dAtA []byte, err error) {
  260. size := m.Size()
  261. dAtA = make([]byte, size)
  262. n, err := m.MarshalTo(dAtA)
  263. if err != nil {
  264. return nil, err
  265. }
  266. return dAtA[:n], nil
  267. }
  268. func (m *DaemonSet) MarshalTo(dAtA []byte) (int, error) {
  269. var i int
  270. _ = i
  271. var l int
  272. _ = l
  273. dAtA[i] = 0xa
  274. i++
  275. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  276. n4, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  277. if err != nil {
  278. return 0, err
  279. }
  280. i += n4
  281. dAtA[i] = 0x12
  282. i++
  283. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  284. n5, err := m.Spec.MarshalTo(dAtA[i:])
  285. if err != nil {
  286. return 0, err
  287. }
  288. i += n5
  289. dAtA[i] = 0x1a
  290. i++
  291. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  292. n6, err := m.Status.MarshalTo(dAtA[i:])
  293. if err != nil {
  294. return 0, err
  295. }
  296. i += n6
  297. return i, nil
  298. }
  299. func (m *DaemonSetCondition) Marshal() (dAtA []byte, err error) {
  300. size := m.Size()
  301. dAtA = make([]byte, size)
  302. n, err := m.MarshalTo(dAtA)
  303. if err != nil {
  304. return nil, err
  305. }
  306. return dAtA[:n], nil
  307. }
  308. func (m *DaemonSetCondition) MarshalTo(dAtA []byte) (int, error) {
  309. var i int
  310. _ = i
  311. var l int
  312. _ = l
  313. dAtA[i] = 0xa
  314. i++
  315. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  316. i += copy(dAtA[i:], m.Type)
  317. dAtA[i] = 0x12
  318. i++
  319. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  320. i += copy(dAtA[i:], m.Status)
  321. dAtA[i] = 0x1a
  322. i++
  323. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
  324. n7, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
  325. if err != nil {
  326. return 0, err
  327. }
  328. i += n7
  329. dAtA[i] = 0x22
  330. i++
  331. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  332. i += copy(dAtA[i:], m.Reason)
  333. dAtA[i] = 0x2a
  334. i++
  335. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  336. i += copy(dAtA[i:], m.Message)
  337. return i, nil
  338. }
  339. func (m *DaemonSetList) Marshal() (dAtA []byte, err error) {
  340. size := m.Size()
  341. dAtA = make([]byte, size)
  342. n, err := m.MarshalTo(dAtA)
  343. if err != nil {
  344. return nil, err
  345. }
  346. return dAtA[:n], nil
  347. }
  348. func (m *DaemonSetList) MarshalTo(dAtA []byte) (int, error) {
  349. var i int
  350. _ = i
  351. var l int
  352. _ = l
  353. dAtA[i] = 0xa
  354. i++
  355. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  356. n8, err := m.ListMeta.MarshalTo(dAtA[i:])
  357. if err != nil {
  358. return 0, err
  359. }
  360. i += n8
  361. if len(m.Items) > 0 {
  362. for _, msg := range m.Items {
  363. dAtA[i] = 0x12
  364. i++
  365. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  366. n, err := msg.MarshalTo(dAtA[i:])
  367. if err != nil {
  368. return 0, err
  369. }
  370. i += n
  371. }
  372. }
  373. return i, nil
  374. }
  375. func (m *DaemonSetSpec) Marshal() (dAtA []byte, err error) {
  376. size := m.Size()
  377. dAtA = make([]byte, size)
  378. n, err := m.MarshalTo(dAtA)
  379. if err != nil {
  380. return nil, err
  381. }
  382. return dAtA[:n], nil
  383. }
  384. func (m *DaemonSetSpec) MarshalTo(dAtA []byte) (int, error) {
  385. var i int
  386. _ = i
  387. var l int
  388. _ = l
  389. if m.Selector != nil {
  390. dAtA[i] = 0xa
  391. i++
  392. i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
  393. n9, err := m.Selector.MarshalTo(dAtA[i:])
  394. if err != nil {
  395. return 0, err
  396. }
  397. i += n9
  398. }
  399. dAtA[i] = 0x12
  400. i++
  401. i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
  402. n10, err := m.Template.MarshalTo(dAtA[i:])
  403. if err != nil {
  404. return 0, err
  405. }
  406. i += n10
  407. dAtA[i] = 0x1a
  408. i++
  409. i = encodeVarintGenerated(dAtA, i, uint64(m.UpdateStrategy.Size()))
  410. n11, err := m.UpdateStrategy.MarshalTo(dAtA[i:])
  411. if err != nil {
  412. return 0, err
  413. }
  414. i += n11
  415. dAtA[i] = 0x20
  416. i++
  417. i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
  418. if m.RevisionHistoryLimit != nil {
  419. dAtA[i] = 0x30
  420. i++
  421. i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
  422. }
  423. return i, nil
  424. }
  425. func (m *DaemonSetStatus) Marshal() (dAtA []byte, err error) {
  426. size := m.Size()
  427. dAtA = make([]byte, size)
  428. n, err := m.MarshalTo(dAtA)
  429. if err != nil {
  430. return nil, err
  431. }
  432. return dAtA[:n], nil
  433. }
  434. func (m *DaemonSetStatus) MarshalTo(dAtA []byte) (int, error) {
  435. var i int
  436. _ = i
  437. var l int
  438. _ = l
  439. dAtA[i] = 0x8
  440. i++
  441. i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentNumberScheduled))
  442. dAtA[i] = 0x10
  443. i++
  444. i = encodeVarintGenerated(dAtA, i, uint64(m.NumberMisscheduled))
  445. dAtA[i] = 0x18
  446. i++
  447. i = encodeVarintGenerated(dAtA, i, uint64(m.DesiredNumberScheduled))
  448. dAtA[i] = 0x20
  449. i++
  450. i = encodeVarintGenerated(dAtA, i, uint64(m.NumberReady))
  451. dAtA[i] = 0x28
  452. i++
  453. i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
  454. dAtA[i] = 0x30
  455. i++
  456. i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedNumberScheduled))
  457. dAtA[i] = 0x38
  458. i++
  459. i = encodeVarintGenerated(dAtA, i, uint64(m.NumberAvailable))
  460. dAtA[i] = 0x40
  461. i++
  462. i = encodeVarintGenerated(dAtA, i, uint64(m.NumberUnavailable))
  463. if m.CollisionCount != nil {
  464. dAtA[i] = 0x48
  465. i++
  466. i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
  467. }
  468. if len(m.Conditions) > 0 {
  469. for _, msg := range m.Conditions {
  470. dAtA[i] = 0x52
  471. i++
  472. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  473. n, err := msg.MarshalTo(dAtA[i:])
  474. if err != nil {
  475. return 0, err
  476. }
  477. i += n
  478. }
  479. }
  480. return i, nil
  481. }
  482. func (m *DaemonSetUpdateStrategy) Marshal() (dAtA []byte, err error) {
  483. size := m.Size()
  484. dAtA = make([]byte, size)
  485. n, err := m.MarshalTo(dAtA)
  486. if err != nil {
  487. return nil, err
  488. }
  489. return dAtA[:n], nil
  490. }
  491. func (m *DaemonSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error) {
  492. var i int
  493. _ = i
  494. var l int
  495. _ = l
  496. dAtA[i] = 0xa
  497. i++
  498. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  499. i += copy(dAtA[i:], m.Type)
  500. if m.RollingUpdate != nil {
  501. dAtA[i] = 0x12
  502. i++
  503. i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size()))
  504. n12, err := m.RollingUpdate.MarshalTo(dAtA[i:])
  505. if err != nil {
  506. return 0, err
  507. }
  508. i += n12
  509. }
  510. return i, nil
  511. }
  512. func (m *Deployment) Marshal() (dAtA []byte, err error) {
  513. size := m.Size()
  514. dAtA = make([]byte, size)
  515. n, err := m.MarshalTo(dAtA)
  516. if err != nil {
  517. return nil, err
  518. }
  519. return dAtA[:n], nil
  520. }
  521. func (m *Deployment) MarshalTo(dAtA []byte) (int, error) {
  522. var i int
  523. _ = i
  524. var l int
  525. _ = l
  526. dAtA[i] = 0xa
  527. i++
  528. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  529. n13, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  530. if err != nil {
  531. return 0, err
  532. }
  533. i += n13
  534. dAtA[i] = 0x12
  535. i++
  536. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  537. n14, err := m.Spec.MarshalTo(dAtA[i:])
  538. if err != nil {
  539. return 0, err
  540. }
  541. i += n14
  542. dAtA[i] = 0x1a
  543. i++
  544. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  545. n15, err := m.Status.MarshalTo(dAtA[i:])
  546. if err != nil {
  547. return 0, err
  548. }
  549. i += n15
  550. return i, nil
  551. }
  552. func (m *DeploymentCondition) Marshal() (dAtA []byte, err error) {
  553. size := m.Size()
  554. dAtA = make([]byte, size)
  555. n, err := m.MarshalTo(dAtA)
  556. if err != nil {
  557. return nil, err
  558. }
  559. return dAtA[:n], nil
  560. }
  561. func (m *DeploymentCondition) MarshalTo(dAtA []byte) (int, error) {
  562. var i int
  563. _ = i
  564. var l int
  565. _ = l
  566. dAtA[i] = 0xa
  567. i++
  568. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  569. i += copy(dAtA[i:], m.Type)
  570. dAtA[i] = 0x12
  571. i++
  572. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  573. i += copy(dAtA[i:], m.Status)
  574. dAtA[i] = 0x22
  575. i++
  576. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  577. i += copy(dAtA[i:], m.Reason)
  578. dAtA[i] = 0x2a
  579. i++
  580. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  581. i += copy(dAtA[i:], m.Message)
  582. dAtA[i] = 0x32
  583. i++
  584. i = encodeVarintGenerated(dAtA, i, uint64(m.LastUpdateTime.Size()))
  585. n16, err := m.LastUpdateTime.MarshalTo(dAtA[i:])
  586. if err != nil {
  587. return 0, err
  588. }
  589. i += n16
  590. dAtA[i] = 0x3a
  591. i++
  592. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
  593. n17, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
  594. if err != nil {
  595. return 0, err
  596. }
  597. i += n17
  598. return i, nil
  599. }
  600. func (m *DeploymentList) Marshal() (dAtA []byte, err error) {
  601. size := m.Size()
  602. dAtA = make([]byte, size)
  603. n, err := m.MarshalTo(dAtA)
  604. if err != nil {
  605. return nil, err
  606. }
  607. return dAtA[:n], nil
  608. }
  609. func (m *DeploymentList) MarshalTo(dAtA []byte) (int, error) {
  610. var i int
  611. _ = i
  612. var l int
  613. _ = l
  614. dAtA[i] = 0xa
  615. i++
  616. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  617. n18, err := m.ListMeta.MarshalTo(dAtA[i:])
  618. if err != nil {
  619. return 0, err
  620. }
  621. i += n18
  622. if len(m.Items) > 0 {
  623. for _, msg := range m.Items {
  624. dAtA[i] = 0x12
  625. i++
  626. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  627. n, err := msg.MarshalTo(dAtA[i:])
  628. if err != nil {
  629. return 0, err
  630. }
  631. i += n
  632. }
  633. }
  634. return i, nil
  635. }
  636. func (m *DeploymentSpec) Marshal() (dAtA []byte, err error) {
  637. size := m.Size()
  638. dAtA = make([]byte, size)
  639. n, err := m.MarshalTo(dAtA)
  640. if err != nil {
  641. return nil, err
  642. }
  643. return dAtA[:n], nil
  644. }
  645. func (m *DeploymentSpec) MarshalTo(dAtA []byte) (int, error) {
  646. var i int
  647. _ = i
  648. var l int
  649. _ = l
  650. if m.Replicas != nil {
  651. dAtA[i] = 0x8
  652. i++
  653. i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
  654. }
  655. if m.Selector != nil {
  656. dAtA[i] = 0x12
  657. i++
  658. i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
  659. n19, err := m.Selector.MarshalTo(dAtA[i:])
  660. if err != nil {
  661. return 0, err
  662. }
  663. i += n19
  664. }
  665. dAtA[i] = 0x1a
  666. i++
  667. i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
  668. n20, err := m.Template.MarshalTo(dAtA[i:])
  669. if err != nil {
  670. return 0, err
  671. }
  672. i += n20
  673. dAtA[i] = 0x22
  674. i++
  675. i = encodeVarintGenerated(dAtA, i, uint64(m.Strategy.Size()))
  676. n21, err := m.Strategy.MarshalTo(dAtA[i:])
  677. if err != nil {
  678. return 0, err
  679. }
  680. i += n21
  681. dAtA[i] = 0x28
  682. i++
  683. i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
  684. if m.RevisionHistoryLimit != nil {
  685. dAtA[i] = 0x30
  686. i++
  687. i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
  688. }
  689. dAtA[i] = 0x38
  690. i++
  691. if m.Paused {
  692. dAtA[i] = 1
  693. } else {
  694. dAtA[i] = 0
  695. }
  696. i++
  697. if m.ProgressDeadlineSeconds != nil {
  698. dAtA[i] = 0x48
  699. i++
  700. i = encodeVarintGenerated(dAtA, i, uint64(*m.ProgressDeadlineSeconds))
  701. }
  702. return i, nil
  703. }
  704. func (m *DeploymentStatus) Marshal() (dAtA []byte, err error) {
  705. size := m.Size()
  706. dAtA = make([]byte, size)
  707. n, err := m.MarshalTo(dAtA)
  708. if err != nil {
  709. return nil, err
  710. }
  711. return dAtA[:n], nil
  712. }
  713. func (m *DeploymentStatus) MarshalTo(dAtA []byte) (int, error) {
  714. var i int
  715. _ = i
  716. var l int
  717. _ = l
  718. dAtA[i] = 0x8
  719. i++
  720. i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
  721. dAtA[i] = 0x10
  722. i++
  723. i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
  724. dAtA[i] = 0x18
  725. i++
  726. i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas))
  727. dAtA[i] = 0x20
  728. i++
  729. i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
  730. dAtA[i] = 0x28
  731. i++
  732. i = encodeVarintGenerated(dAtA, i, uint64(m.UnavailableReplicas))
  733. if len(m.Conditions) > 0 {
  734. for _, msg := range m.Conditions {
  735. dAtA[i] = 0x32
  736. i++
  737. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  738. n, err := msg.MarshalTo(dAtA[i:])
  739. if err != nil {
  740. return 0, err
  741. }
  742. i += n
  743. }
  744. }
  745. dAtA[i] = 0x38
  746. i++
  747. i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
  748. if m.CollisionCount != nil {
  749. dAtA[i] = 0x40
  750. i++
  751. i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
  752. }
  753. return i, nil
  754. }
  755. func (m *DeploymentStrategy) Marshal() (dAtA []byte, err error) {
  756. size := m.Size()
  757. dAtA = make([]byte, size)
  758. n, err := m.MarshalTo(dAtA)
  759. if err != nil {
  760. return nil, err
  761. }
  762. return dAtA[:n], nil
  763. }
  764. func (m *DeploymentStrategy) MarshalTo(dAtA []byte) (int, error) {
  765. var i int
  766. _ = i
  767. var l int
  768. _ = l
  769. dAtA[i] = 0xa
  770. i++
  771. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  772. i += copy(dAtA[i:], m.Type)
  773. if m.RollingUpdate != nil {
  774. dAtA[i] = 0x12
  775. i++
  776. i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size()))
  777. n22, err := m.RollingUpdate.MarshalTo(dAtA[i:])
  778. if err != nil {
  779. return 0, err
  780. }
  781. i += n22
  782. }
  783. return i, nil
  784. }
  785. func (m *ReplicaSet) Marshal() (dAtA []byte, err error) {
  786. size := m.Size()
  787. dAtA = make([]byte, size)
  788. n, err := m.MarshalTo(dAtA)
  789. if err != nil {
  790. return nil, err
  791. }
  792. return dAtA[:n], nil
  793. }
  794. func (m *ReplicaSet) MarshalTo(dAtA []byte) (int, error) {
  795. var i int
  796. _ = i
  797. var l int
  798. _ = l
  799. dAtA[i] = 0xa
  800. i++
  801. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  802. n23, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  803. if err != nil {
  804. return 0, err
  805. }
  806. i += n23
  807. dAtA[i] = 0x12
  808. i++
  809. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  810. n24, err := m.Spec.MarshalTo(dAtA[i:])
  811. if err != nil {
  812. return 0, err
  813. }
  814. i += n24
  815. dAtA[i] = 0x1a
  816. i++
  817. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  818. n25, err := m.Status.MarshalTo(dAtA[i:])
  819. if err != nil {
  820. return 0, err
  821. }
  822. i += n25
  823. return i, nil
  824. }
  825. func (m *ReplicaSetCondition) Marshal() (dAtA []byte, err error) {
  826. size := m.Size()
  827. dAtA = make([]byte, size)
  828. n, err := m.MarshalTo(dAtA)
  829. if err != nil {
  830. return nil, err
  831. }
  832. return dAtA[:n], nil
  833. }
  834. func (m *ReplicaSetCondition) MarshalTo(dAtA []byte) (int, error) {
  835. var i int
  836. _ = i
  837. var l int
  838. _ = l
  839. dAtA[i] = 0xa
  840. i++
  841. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  842. i += copy(dAtA[i:], m.Type)
  843. dAtA[i] = 0x12
  844. i++
  845. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  846. i += copy(dAtA[i:], m.Status)
  847. dAtA[i] = 0x1a
  848. i++
  849. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
  850. n26, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
  851. if err != nil {
  852. return 0, err
  853. }
  854. i += n26
  855. dAtA[i] = 0x22
  856. i++
  857. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  858. i += copy(dAtA[i:], m.Reason)
  859. dAtA[i] = 0x2a
  860. i++
  861. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  862. i += copy(dAtA[i:], m.Message)
  863. return i, nil
  864. }
  865. func (m *ReplicaSetList) Marshal() (dAtA []byte, err error) {
  866. size := m.Size()
  867. dAtA = make([]byte, size)
  868. n, err := m.MarshalTo(dAtA)
  869. if err != nil {
  870. return nil, err
  871. }
  872. return dAtA[:n], nil
  873. }
  874. func (m *ReplicaSetList) MarshalTo(dAtA []byte) (int, error) {
  875. var i int
  876. _ = i
  877. var l int
  878. _ = l
  879. dAtA[i] = 0xa
  880. i++
  881. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  882. n27, err := m.ListMeta.MarshalTo(dAtA[i:])
  883. if err != nil {
  884. return 0, err
  885. }
  886. i += n27
  887. if len(m.Items) > 0 {
  888. for _, msg := range m.Items {
  889. dAtA[i] = 0x12
  890. i++
  891. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  892. n, err := msg.MarshalTo(dAtA[i:])
  893. if err != nil {
  894. return 0, err
  895. }
  896. i += n
  897. }
  898. }
  899. return i, nil
  900. }
  901. func (m *ReplicaSetSpec) Marshal() (dAtA []byte, err error) {
  902. size := m.Size()
  903. dAtA = make([]byte, size)
  904. n, err := m.MarshalTo(dAtA)
  905. if err != nil {
  906. return nil, err
  907. }
  908. return dAtA[:n], nil
  909. }
  910. func (m *ReplicaSetSpec) MarshalTo(dAtA []byte) (int, error) {
  911. var i int
  912. _ = i
  913. var l int
  914. _ = l
  915. if m.Replicas != nil {
  916. dAtA[i] = 0x8
  917. i++
  918. i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
  919. }
  920. if m.Selector != nil {
  921. dAtA[i] = 0x12
  922. i++
  923. i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
  924. n28, err := m.Selector.MarshalTo(dAtA[i:])
  925. if err != nil {
  926. return 0, err
  927. }
  928. i += n28
  929. }
  930. dAtA[i] = 0x1a
  931. i++
  932. i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
  933. n29, err := m.Template.MarshalTo(dAtA[i:])
  934. if err != nil {
  935. return 0, err
  936. }
  937. i += n29
  938. dAtA[i] = 0x20
  939. i++
  940. i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
  941. return i, nil
  942. }
  943. func (m *ReplicaSetStatus) Marshal() (dAtA []byte, err error) {
  944. size := m.Size()
  945. dAtA = make([]byte, size)
  946. n, err := m.MarshalTo(dAtA)
  947. if err != nil {
  948. return nil, err
  949. }
  950. return dAtA[:n], nil
  951. }
  952. func (m *ReplicaSetStatus) MarshalTo(dAtA []byte) (int, error) {
  953. var i int
  954. _ = i
  955. var l int
  956. _ = l
  957. dAtA[i] = 0x8
  958. i++
  959. i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
  960. dAtA[i] = 0x10
  961. i++
  962. i = encodeVarintGenerated(dAtA, i, uint64(m.FullyLabeledReplicas))
  963. dAtA[i] = 0x18
  964. i++
  965. i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
  966. dAtA[i] = 0x20
  967. i++
  968. i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
  969. dAtA[i] = 0x28
  970. i++
  971. i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
  972. if len(m.Conditions) > 0 {
  973. for _, msg := range m.Conditions {
  974. dAtA[i] = 0x32
  975. i++
  976. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  977. n, err := msg.MarshalTo(dAtA[i:])
  978. if err != nil {
  979. return 0, err
  980. }
  981. i += n
  982. }
  983. }
  984. return i, nil
  985. }
  986. func (m *RollingUpdateDaemonSet) Marshal() (dAtA []byte, err error) {
  987. size := m.Size()
  988. dAtA = make([]byte, size)
  989. n, err := m.MarshalTo(dAtA)
  990. if err != nil {
  991. return nil, err
  992. }
  993. return dAtA[:n], nil
  994. }
  995. func (m *RollingUpdateDaemonSet) MarshalTo(dAtA []byte) (int, error) {
  996. var i int
  997. _ = i
  998. var l int
  999. _ = l
  1000. if m.MaxUnavailable != nil {
  1001. dAtA[i] = 0xa
  1002. i++
  1003. i = encodeVarintGenerated(dAtA, i, uint64(m.MaxUnavailable.Size()))
  1004. n30, err := m.MaxUnavailable.MarshalTo(dAtA[i:])
  1005. if err != nil {
  1006. return 0, err
  1007. }
  1008. i += n30
  1009. }
  1010. return i, nil
  1011. }
  1012. func (m *RollingUpdateDeployment) Marshal() (dAtA []byte, err error) {
  1013. size := m.Size()
  1014. dAtA = make([]byte, size)
  1015. n, err := m.MarshalTo(dAtA)
  1016. if err != nil {
  1017. return nil, err
  1018. }
  1019. return dAtA[:n], nil
  1020. }
  1021. func (m *RollingUpdateDeployment) MarshalTo(dAtA []byte) (int, error) {
  1022. var i int
  1023. _ = i
  1024. var l int
  1025. _ = l
  1026. if m.MaxUnavailable != nil {
  1027. dAtA[i] = 0xa
  1028. i++
  1029. i = encodeVarintGenerated(dAtA, i, uint64(m.MaxUnavailable.Size()))
  1030. n31, err := m.MaxUnavailable.MarshalTo(dAtA[i:])
  1031. if err != nil {
  1032. return 0, err
  1033. }
  1034. i += n31
  1035. }
  1036. if m.MaxSurge != nil {
  1037. dAtA[i] = 0x12
  1038. i++
  1039. i = encodeVarintGenerated(dAtA, i, uint64(m.MaxSurge.Size()))
  1040. n32, err := m.MaxSurge.MarshalTo(dAtA[i:])
  1041. if err != nil {
  1042. return 0, err
  1043. }
  1044. i += n32
  1045. }
  1046. return i, nil
  1047. }
  1048. func (m *RollingUpdateStatefulSetStrategy) Marshal() (dAtA []byte, err error) {
  1049. size := m.Size()
  1050. dAtA = make([]byte, size)
  1051. n, err := m.MarshalTo(dAtA)
  1052. if err != nil {
  1053. return nil, err
  1054. }
  1055. return dAtA[:n], nil
  1056. }
  1057. func (m *RollingUpdateStatefulSetStrategy) MarshalTo(dAtA []byte) (int, error) {
  1058. var i int
  1059. _ = i
  1060. var l int
  1061. _ = l
  1062. if m.Partition != nil {
  1063. dAtA[i] = 0x8
  1064. i++
  1065. i = encodeVarintGenerated(dAtA, i, uint64(*m.Partition))
  1066. }
  1067. return i, nil
  1068. }
  1069. func (m *StatefulSet) Marshal() (dAtA []byte, err error) {
  1070. size := m.Size()
  1071. dAtA = make([]byte, size)
  1072. n, err := m.MarshalTo(dAtA)
  1073. if err != nil {
  1074. return nil, err
  1075. }
  1076. return dAtA[:n], nil
  1077. }
  1078. func (m *StatefulSet) MarshalTo(dAtA []byte) (int, error) {
  1079. var i int
  1080. _ = i
  1081. var l int
  1082. _ = l
  1083. dAtA[i] = 0xa
  1084. i++
  1085. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  1086. n33, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  1087. if err != nil {
  1088. return 0, err
  1089. }
  1090. i += n33
  1091. dAtA[i] = 0x12
  1092. i++
  1093. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  1094. n34, err := m.Spec.MarshalTo(dAtA[i:])
  1095. if err != nil {
  1096. return 0, err
  1097. }
  1098. i += n34
  1099. dAtA[i] = 0x1a
  1100. i++
  1101. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  1102. n35, err := m.Status.MarshalTo(dAtA[i:])
  1103. if err != nil {
  1104. return 0, err
  1105. }
  1106. i += n35
  1107. return i, nil
  1108. }
  1109. func (m *StatefulSetCondition) Marshal() (dAtA []byte, err error) {
  1110. size := m.Size()
  1111. dAtA = make([]byte, size)
  1112. n, err := m.MarshalTo(dAtA)
  1113. if err != nil {
  1114. return nil, err
  1115. }
  1116. return dAtA[:n], nil
  1117. }
  1118. func (m *StatefulSetCondition) MarshalTo(dAtA []byte) (int, error) {
  1119. var i int
  1120. _ = i
  1121. var l int
  1122. _ = l
  1123. dAtA[i] = 0xa
  1124. i++
  1125. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  1126. i += copy(dAtA[i:], m.Type)
  1127. dAtA[i] = 0x12
  1128. i++
  1129. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  1130. i += copy(dAtA[i:], m.Status)
  1131. dAtA[i] = 0x1a
  1132. i++
  1133. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
  1134. n36, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
  1135. if err != nil {
  1136. return 0, err
  1137. }
  1138. i += n36
  1139. dAtA[i] = 0x22
  1140. i++
  1141. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  1142. i += copy(dAtA[i:], m.Reason)
  1143. dAtA[i] = 0x2a
  1144. i++
  1145. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  1146. i += copy(dAtA[i:], m.Message)
  1147. return i, nil
  1148. }
  1149. func (m *StatefulSetList) Marshal() (dAtA []byte, err error) {
  1150. size := m.Size()
  1151. dAtA = make([]byte, size)
  1152. n, err := m.MarshalTo(dAtA)
  1153. if err != nil {
  1154. return nil, err
  1155. }
  1156. return dAtA[:n], nil
  1157. }
  1158. func (m *StatefulSetList) MarshalTo(dAtA []byte) (int, error) {
  1159. var i int
  1160. _ = i
  1161. var l int
  1162. _ = l
  1163. dAtA[i] = 0xa
  1164. i++
  1165. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  1166. n37, err := m.ListMeta.MarshalTo(dAtA[i:])
  1167. if err != nil {
  1168. return 0, err
  1169. }
  1170. i += n37
  1171. if len(m.Items) > 0 {
  1172. for _, msg := range m.Items {
  1173. dAtA[i] = 0x12
  1174. i++
  1175. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1176. n, err := msg.MarshalTo(dAtA[i:])
  1177. if err != nil {
  1178. return 0, err
  1179. }
  1180. i += n
  1181. }
  1182. }
  1183. return i, nil
  1184. }
  1185. func (m *StatefulSetSpec) Marshal() (dAtA []byte, err error) {
  1186. size := m.Size()
  1187. dAtA = make([]byte, size)
  1188. n, err := m.MarshalTo(dAtA)
  1189. if err != nil {
  1190. return nil, err
  1191. }
  1192. return dAtA[:n], nil
  1193. }
  1194. func (m *StatefulSetSpec) MarshalTo(dAtA []byte) (int, error) {
  1195. var i int
  1196. _ = i
  1197. var l int
  1198. _ = l
  1199. if m.Replicas != nil {
  1200. dAtA[i] = 0x8
  1201. i++
  1202. i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
  1203. }
  1204. if m.Selector != nil {
  1205. dAtA[i] = 0x12
  1206. i++
  1207. i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
  1208. n38, err := m.Selector.MarshalTo(dAtA[i:])
  1209. if err != nil {
  1210. return 0, err
  1211. }
  1212. i += n38
  1213. }
  1214. dAtA[i] = 0x1a
  1215. i++
  1216. i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
  1217. n39, err := m.Template.MarshalTo(dAtA[i:])
  1218. if err != nil {
  1219. return 0, err
  1220. }
  1221. i += n39
  1222. if len(m.VolumeClaimTemplates) > 0 {
  1223. for _, msg := range m.VolumeClaimTemplates {
  1224. dAtA[i] = 0x22
  1225. i++
  1226. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1227. n, err := msg.MarshalTo(dAtA[i:])
  1228. if err != nil {
  1229. return 0, err
  1230. }
  1231. i += n
  1232. }
  1233. }
  1234. dAtA[i] = 0x2a
  1235. i++
  1236. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServiceName)))
  1237. i += copy(dAtA[i:], m.ServiceName)
  1238. dAtA[i] = 0x32
  1239. i++
  1240. i = encodeVarintGenerated(dAtA, i, uint64(len(m.PodManagementPolicy)))
  1241. i += copy(dAtA[i:], m.PodManagementPolicy)
  1242. dAtA[i] = 0x3a
  1243. i++
  1244. i = encodeVarintGenerated(dAtA, i, uint64(m.UpdateStrategy.Size()))
  1245. n40, err := m.UpdateStrategy.MarshalTo(dAtA[i:])
  1246. if err != nil {
  1247. return 0, err
  1248. }
  1249. i += n40
  1250. if m.RevisionHistoryLimit != nil {
  1251. dAtA[i] = 0x40
  1252. i++
  1253. i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
  1254. }
  1255. return i, nil
  1256. }
  1257. func (m *StatefulSetStatus) Marshal() (dAtA []byte, err error) {
  1258. size := m.Size()
  1259. dAtA = make([]byte, size)
  1260. n, err := m.MarshalTo(dAtA)
  1261. if err != nil {
  1262. return nil, err
  1263. }
  1264. return dAtA[:n], nil
  1265. }
  1266. func (m *StatefulSetStatus) MarshalTo(dAtA []byte) (int, error) {
  1267. var i int
  1268. _ = i
  1269. var l int
  1270. _ = l
  1271. dAtA[i] = 0x8
  1272. i++
  1273. i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
  1274. dAtA[i] = 0x10
  1275. i++
  1276. i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
  1277. dAtA[i] = 0x18
  1278. i++
  1279. i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
  1280. dAtA[i] = 0x20
  1281. i++
  1282. i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentReplicas))
  1283. dAtA[i] = 0x28
  1284. i++
  1285. i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas))
  1286. dAtA[i] = 0x32
  1287. i++
  1288. i = encodeVarintGenerated(dAtA, i, uint64(len(m.CurrentRevision)))
  1289. i += copy(dAtA[i:], m.CurrentRevision)
  1290. dAtA[i] = 0x3a
  1291. i++
  1292. i = encodeVarintGenerated(dAtA, i, uint64(len(m.UpdateRevision)))
  1293. i += copy(dAtA[i:], m.UpdateRevision)
  1294. if m.CollisionCount != nil {
  1295. dAtA[i] = 0x48
  1296. i++
  1297. i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
  1298. }
  1299. if len(m.Conditions) > 0 {
  1300. for _, msg := range m.Conditions {
  1301. dAtA[i] = 0x52
  1302. i++
  1303. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1304. n, err := msg.MarshalTo(dAtA[i:])
  1305. if err != nil {
  1306. return 0, err
  1307. }
  1308. i += n
  1309. }
  1310. }
  1311. return i, nil
  1312. }
  1313. func (m *StatefulSetUpdateStrategy) Marshal() (dAtA []byte, err error) {
  1314. size := m.Size()
  1315. dAtA = make([]byte, size)
  1316. n, err := m.MarshalTo(dAtA)
  1317. if err != nil {
  1318. return nil, err
  1319. }
  1320. return dAtA[:n], nil
  1321. }
  1322. func (m *StatefulSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error) {
  1323. var i int
  1324. _ = i
  1325. var l int
  1326. _ = l
  1327. dAtA[i] = 0xa
  1328. i++
  1329. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  1330. i += copy(dAtA[i:], m.Type)
  1331. if m.RollingUpdate != nil {
  1332. dAtA[i] = 0x12
  1333. i++
  1334. i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size()))
  1335. n41, err := m.RollingUpdate.MarshalTo(dAtA[i:])
  1336. if err != nil {
  1337. return 0, err
  1338. }
  1339. i += n41
  1340. }
  1341. return i, nil
  1342. }
  1343. func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
  1344. for v >= 1<<7 {
  1345. dAtA[offset] = uint8(v&0x7f | 0x80)
  1346. v >>= 7
  1347. offset++
  1348. }
  1349. dAtA[offset] = uint8(v)
  1350. return offset + 1
  1351. }
  1352. func (m *ControllerRevision) Size() (n int) {
  1353. var l int
  1354. _ = l
  1355. l = m.ObjectMeta.Size()
  1356. n += 1 + l + sovGenerated(uint64(l))
  1357. l = m.Data.Size()
  1358. n += 1 + l + sovGenerated(uint64(l))
  1359. n += 1 + sovGenerated(uint64(m.Revision))
  1360. return n
  1361. }
  1362. func (m *ControllerRevisionList) Size() (n int) {
  1363. var l int
  1364. _ = l
  1365. l = m.ListMeta.Size()
  1366. n += 1 + l + sovGenerated(uint64(l))
  1367. if len(m.Items) > 0 {
  1368. for _, e := range m.Items {
  1369. l = e.Size()
  1370. n += 1 + l + sovGenerated(uint64(l))
  1371. }
  1372. }
  1373. return n
  1374. }
  1375. func (m *DaemonSet) Size() (n int) {
  1376. var l int
  1377. _ = l
  1378. l = m.ObjectMeta.Size()
  1379. n += 1 + l + sovGenerated(uint64(l))
  1380. l = m.Spec.Size()
  1381. n += 1 + l + sovGenerated(uint64(l))
  1382. l = m.Status.Size()
  1383. n += 1 + l + sovGenerated(uint64(l))
  1384. return n
  1385. }
  1386. func (m *DaemonSetCondition) Size() (n int) {
  1387. var l int
  1388. _ = l
  1389. l = len(m.Type)
  1390. n += 1 + l + sovGenerated(uint64(l))
  1391. l = len(m.Status)
  1392. n += 1 + l + sovGenerated(uint64(l))
  1393. l = m.LastTransitionTime.Size()
  1394. n += 1 + l + sovGenerated(uint64(l))
  1395. l = len(m.Reason)
  1396. n += 1 + l + sovGenerated(uint64(l))
  1397. l = len(m.Message)
  1398. n += 1 + l + sovGenerated(uint64(l))
  1399. return n
  1400. }
  1401. func (m *DaemonSetList) Size() (n int) {
  1402. var l int
  1403. _ = l
  1404. l = m.ListMeta.Size()
  1405. n += 1 + l + sovGenerated(uint64(l))
  1406. if len(m.Items) > 0 {
  1407. for _, e := range m.Items {
  1408. l = e.Size()
  1409. n += 1 + l + sovGenerated(uint64(l))
  1410. }
  1411. }
  1412. return n
  1413. }
  1414. func (m *DaemonSetSpec) Size() (n int) {
  1415. var l int
  1416. _ = l
  1417. if m.Selector != nil {
  1418. l = m.Selector.Size()
  1419. n += 1 + l + sovGenerated(uint64(l))
  1420. }
  1421. l = m.Template.Size()
  1422. n += 1 + l + sovGenerated(uint64(l))
  1423. l = m.UpdateStrategy.Size()
  1424. n += 1 + l + sovGenerated(uint64(l))
  1425. n += 1 + sovGenerated(uint64(m.MinReadySeconds))
  1426. if m.RevisionHistoryLimit != nil {
  1427. n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
  1428. }
  1429. return n
  1430. }
  1431. func (m *DaemonSetStatus) Size() (n int) {
  1432. var l int
  1433. _ = l
  1434. n += 1 + sovGenerated(uint64(m.CurrentNumberScheduled))
  1435. n += 1 + sovGenerated(uint64(m.NumberMisscheduled))
  1436. n += 1 + sovGenerated(uint64(m.DesiredNumberScheduled))
  1437. n += 1 + sovGenerated(uint64(m.NumberReady))
  1438. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  1439. n += 1 + sovGenerated(uint64(m.UpdatedNumberScheduled))
  1440. n += 1 + sovGenerated(uint64(m.NumberAvailable))
  1441. n += 1 + sovGenerated(uint64(m.NumberUnavailable))
  1442. if m.CollisionCount != nil {
  1443. n += 1 + sovGenerated(uint64(*m.CollisionCount))
  1444. }
  1445. if len(m.Conditions) > 0 {
  1446. for _, e := range m.Conditions {
  1447. l = e.Size()
  1448. n += 1 + l + sovGenerated(uint64(l))
  1449. }
  1450. }
  1451. return n
  1452. }
  1453. func (m *DaemonSetUpdateStrategy) Size() (n int) {
  1454. var l int
  1455. _ = l
  1456. l = len(m.Type)
  1457. n += 1 + l + sovGenerated(uint64(l))
  1458. if m.RollingUpdate != nil {
  1459. l = m.RollingUpdate.Size()
  1460. n += 1 + l + sovGenerated(uint64(l))
  1461. }
  1462. return n
  1463. }
  1464. func (m *Deployment) Size() (n int) {
  1465. var l int
  1466. _ = l
  1467. l = m.ObjectMeta.Size()
  1468. n += 1 + l + sovGenerated(uint64(l))
  1469. l = m.Spec.Size()
  1470. n += 1 + l + sovGenerated(uint64(l))
  1471. l = m.Status.Size()
  1472. n += 1 + l + sovGenerated(uint64(l))
  1473. return n
  1474. }
  1475. func (m *DeploymentCondition) Size() (n int) {
  1476. var l int
  1477. _ = l
  1478. l = len(m.Type)
  1479. n += 1 + l + sovGenerated(uint64(l))
  1480. l = len(m.Status)
  1481. n += 1 + l + sovGenerated(uint64(l))
  1482. l = len(m.Reason)
  1483. n += 1 + l + sovGenerated(uint64(l))
  1484. l = len(m.Message)
  1485. n += 1 + l + sovGenerated(uint64(l))
  1486. l = m.LastUpdateTime.Size()
  1487. n += 1 + l + sovGenerated(uint64(l))
  1488. l = m.LastTransitionTime.Size()
  1489. n += 1 + l + sovGenerated(uint64(l))
  1490. return n
  1491. }
  1492. func (m *DeploymentList) Size() (n int) {
  1493. var l int
  1494. _ = l
  1495. l = m.ListMeta.Size()
  1496. n += 1 + l + sovGenerated(uint64(l))
  1497. if len(m.Items) > 0 {
  1498. for _, e := range m.Items {
  1499. l = e.Size()
  1500. n += 1 + l + sovGenerated(uint64(l))
  1501. }
  1502. }
  1503. return n
  1504. }
  1505. func (m *DeploymentSpec) Size() (n int) {
  1506. var l int
  1507. _ = l
  1508. if m.Replicas != nil {
  1509. n += 1 + sovGenerated(uint64(*m.Replicas))
  1510. }
  1511. if m.Selector != nil {
  1512. l = m.Selector.Size()
  1513. n += 1 + l + sovGenerated(uint64(l))
  1514. }
  1515. l = m.Template.Size()
  1516. n += 1 + l + sovGenerated(uint64(l))
  1517. l = m.Strategy.Size()
  1518. n += 1 + l + sovGenerated(uint64(l))
  1519. n += 1 + sovGenerated(uint64(m.MinReadySeconds))
  1520. if m.RevisionHistoryLimit != nil {
  1521. n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
  1522. }
  1523. n += 2
  1524. if m.ProgressDeadlineSeconds != nil {
  1525. n += 1 + sovGenerated(uint64(*m.ProgressDeadlineSeconds))
  1526. }
  1527. return n
  1528. }
  1529. func (m *DeploymentStatus) Size() (n int) {
  1530. var l int
  1531. _ = l
  1532. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  1533. n += 1 + sovGenerated(uint64(m.Replicas))
  1534. n += 1 + sovGenerated(uint64(m.UpdatedReplicas))
  1535. n += 1 + sovGenerated(uint64(m.AvailableReplicas))
  1536. n += 1 + sovGenerated(uint64(m.UnavailableReplicas))
  1537. if len(m.Conditions) > 0 {
  1538. for _, e := range m.Conditions {
  1539. l = e.Size()
  1540. n += 1 + l + sovGenerated(uint64(l))
  1541. }
  1542. }
  1543. n += 1 + sovGenerated(uint64(m.ReadyReplicas))
  1544. if m.CollisionCount != nil {
  1545. n += 1 + sovGenerated(uint64(*m.CollisionCount))
  1546. }
  1547. return n
  1548. }
  1549. func (m *DeploymentStrategy) Size() (n int) {
  1550. var l int
  1551. _ = l
  1552. l = len(m.Type)
  1553. n += 1 + l + sovGenerated(uint64(l))
  1554. if m.RollingUpdate != nil {
  1555. l = m.RollingUpdate.Size()
  1556. n += 1 + l + sovGenerated(uint64(l))
  1557. }
  1558. return n
  1559. }
  1560. func (m *ReplicaSet) Size() (n int) {
  1561. var l int
  1562. _ = l
  1563. l = m.ObjectMeta.Size()
  1564. n += 1 + l + sovGenerated(uint64(l))
  1565. l = m.Spec.Size()
  1566. n += 1 + l + sovGenerated(uint64(l))
  1567. l = m.Status.Size()
  1568. n += 1 + l + sovGenerated(uint64(l))
  1569. return n
  1570. }
  1571. func (m *ReplicaSetCondition) Size() (n int) {
  1572. var l int
  1573. _ = l
  1574. l = len(m.Type)
  1575. n += 1 + l + sovGenerated(uint64(l))
  1576. l = len(m.Status)
  1577. n += 1 + l + sovGenerated(uint64(l))
  1578. l = m.LastTransitionTime.Size()
  1579. n += 1 + l + sovGenerated(uint64(l))
  1580. l = len(m.Reason)
  1581. n += 1 + l + sovGenerated(uint64(l))
  1582. l = len(m.Message)
  1583. n += 1 + l + sovGenerated(uint64(l))
  1584. return n
  1585. }
  1586. func (m *ReplicaSetList) Size() (n int) {
  1587. var l int
  1588. _ = l
  1589. l = m.ListMeta.Size()
  1590. n += 1 + l + sovGenerated(uint64(l))
  1591. if len(m.Items) > 0 {
  1592. for _, e := range m.Items {
  1593. l = e.Size()
  1594. n += 1 + l + sovGenerated(uint64(l))
  1595. }
  1596. }
  1597. return n
  1598. }
  1599. func (m *ReplicaSetSpec) Size() (n int) {
  1600. var l int
  1601. _ = l
  1602. if m.Replicas != nil {
  1603. n += 1 + sovGenerated(uint64(*m.Replicas))
  1604. }
  1605. if m.Selector != nil {
  1606. l = m.Selector.Size()
  1607. n += 1 + l + sovGenerated(uint64(l))
  1608. }
  1609. l = m.Template.Size()
  1610. n += 1 + l + sovGenerated(uint64(l))
  1611. n += 1 + sovGenerated(uint64(m.MinReadySeconds))
  1612. return n
  1613. }
  1614. func (m *ReplicaSetStatus) Size() (n int) {
  1615. var l int
  1616. _ = l
  1617. n += 1 + sovGenerated(uint64(m.Replicas))
  1618. n += 1 + sovGenerated(uint64(m.FullyLabeledReplicas))
  1619. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  1620. n += 1 + sovGenerated(uint64(m.ReadyReplicas))
  1621. n += 1 + sovGenerated(uint64(m.AvailableReplicas))
  1622. if len(m.Conditions) > 0 {
  1623. for _, e := range m.Conditions {
  1624. l = e.Size()
  1625. n += 1 + l + sovGenerated(uint64(l))
  1626. }
  1627. }
  1628. return n
  1629. }
  1630. func (m *RollingUpdateDaemonSet) Size() (n int) {
  1631. var l int
  1632. _ = l
  1633. if m.MaxUnavailable != nil {
  1634. l = m.MaxUnavailable.Size()
  1635. n += 1 + l + sovGenerated(uint64(l))
  1636. }
  1637. return n
  1638. }
  1639. func (m *RollingUpdateDeployment) Size() (n int) {
  1640. var l int
  1641. _ = l
  1642. if m.MaxUnavailable != nil {
  1643. l = m.MaxUnavailable.Size()
  1644. n += 1 + l + sovGenerated(uint64(l))
  1645. }
  1646. if m.MaxSurge != nil {
  1647. l = m.MaxSurge.Size()
  1648. n += 1 + l + sovGenerated(uint64(l))
  1649. }
  1650. return n
  1651. }
  1652. func (m *RollingUpdateStatefulSetStrategy) Size() (n int) {
  1653. var l int
  1654. _ = l
  1655. if m.Partition != nil {
  1656. n += 1 + sovGenerated(uint64(*m.Partition))
  1657. }
  1658. return n
  1659. }
  1660. func (m *StatefulSet) Size() (n int) {
  1661. var l int
  1662. _ = l
  1663. l = m.ObjectMeta.Size()
  1664. n += 1 + l + sovGenerated(uint64(l))
  1665. l = m.Spec.Size()
  1666. n += 1 + l + sovGenerated(uint64(l))
  1667. l = m.Status.Size()
  1668. n += 1 + l + sovGenerated(uint64(l))
  1669. return n
  1670. }
  1671. func (m *StatefulSetCondition) Size() (n int) {
  1672. var l int
  1673. _ = l
  1674. l = len(m.Type)
  1675. n += 1 + l + sovGenerated(uint64(l))
  1676. l = len(m.Status)
  1677. n += 1 + l + sovGenerated(uint64(l))
  1678. l = m.LastTransitionTime.Size()
  1679. n += 1 + l + sovGenerated(uint64(l))
  1680. l = len(m.Reason)
  1681. n += 1 + l + sovGenerated(uint64(l))
  1682. l = len(m.Message)
  1683. n += 1 + l + sovGenerated(uint64(l))
  1684. return n
  1685. }
  1686. func (m *StatefulSetList) Size() (n int) {
  1687. var l int
  1688. _ = l
  1689. l = m.ListMeta.Size()
  1690. n += 1 + l + sovGenerated(uint64(l))
  1691. if len(m.Items) > 0 {
  1692. for _, e := range m.Items {
  1693. l = e.Size()
  1694. n += 1 + l + sovGenerated(uint64(l))
  1695. }
  1696. }
  1697. return n
  1698. }
  1699. func (m *StatefulSetSpec) Size() (n int) {
  1700. var l int
  1701. _ = l
  1702. if m.Replicas != nil {
  1703. n += 1 + sovGenerated(uint64(*m.Replicas))
  1704. }
  1705. if m.Selector != nil {
  1706. l = m.Selector.Size()
  1707. n += 1 + l + sovGenerated(uint64(l))
  1708. }
  1709. l = m.Template.Size()
  1710. n += 1 + l + sovGenerated(uint64(l))
  1711. if len(m.VolumeClaimTemplates) > 0 {
  1712. for _, e := range m.VolumeClaimTemplates {
  1713. l = e.Size()
  1714. n += 1 + l + sovGenerated(uint64(l))
  1715. }
  1716. }
  1717. l = len(m.ServiceName)
  1718. n += 1 + l + sovGenerated(uint64(l))
  1719. l = len(m.PodManagementPolicy)
  1720. n += 1 + l + sovGenerated(uint64(l))
  1721. l = m.UpdateStrategy.Size()
  1722. n += 1 + l + sovGenerated(uint64(l))
  1723. if m.RevisionHistoryLimit != nil {
  1724. n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
  1725. }
  1726. return n
  1727. }
  1728. func (m *StatefulSetStatus) Size() (n int) {
  1729. var l int
  1730. _ = l
  1731. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  1732. n += 1 + sovGenerated(uint64(m.Replicas))
  1733. n += 1 + sovGenerated(uint64(m.ReadyReplicas))
  1734. n += 1 + sovGenerated(uint64(m.CurrentReplicas))
  1735. n += 1 + sovGenerated(uint64(m.UpdatedReplicas))
  1736. l = len(m.CurrentRevision)
  1737. n += 1 + l + sovGenerated(uint64(l))
  1738. l = len(m.UpdateRevision)
  1739. n += 1 + l + sovGenerated(uint64(l))
  1740. if m.CollisionCount != nil {
  1741. n += 1 + sovGenerated(uint64(*m.CollisionCount))
  1742. }
  1743. if len(m.Conditions) > 0 {
  1744. for _, e := range m.Conditions {
  1745. l = e.Size()
  1746. n += 1 + l + sovGenerated(uint64(l))
  1747. }
  1748. }
  1749. return n
  1750. }
  1751. func (m *StatefulSetUpdateStrategy) Size() (n int) {
  1752. var l int
  1753. _ = l
  1754. l = len(m.Type)
  1755. n += 1 + l + sovGenerated(uint64(l))
  1756. if m.RollingUpdate != nil {
  1757. l = m.RollingUpdate.Size()
  1758. n += 1 + l + sovGenerated(uint64(l))
  1759. }
  1760. return n
  1761. }
  1762. func sovGenerated(x uint64) (n int) {
  1763. for {
  1764. n++
  1765. x >>= 7
  1766. if x == 0 {
  1767. break
  1768. }
  1769. }
  1770. return n
  1771. }
  1772. func sozGenerated(x uint64) (n int) {
  1773. return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1774. }
  1775. func (this *ControllerRevision) String() string {
  1776. if this == nil {
  1777. return "nil"
  1778. }
  1779. s := strings.Join([]string{`&ControllerRevision{`,
  1780. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  1781. `Data:` + strings.Replace(strings.Replace(this.Data.String(), "RawExtension", "k8s_io_apimachinery_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`,
  1782. `Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
  1783. `}`,
  1784. }, "")
  1785. return s
  1786. }
  1787. func (this *ControllerRevisionList) String() string {
  1788. if this == nil {
  1789. return "nil"
  1790. }
  1791. s := strings.Join([]string{`&ControllerRevisionList{`,
  1792. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  1793. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ControllerRevision", "ControllerRevision", 1), `&`, ``, 1) + `,`,
  1794. `}`,
  1795. }, "")
  1796. return s
  1797. }
  1798. func (this *DaemonSet) String() string {
  1799. if this == nil {
  1800. return "nil"
  1801. }
  1802. s := strings.Join([]string{`&DaemonSet{`,
  1803. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  1804. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DaemonSetSpec", "DaemonSetSpec", 1), `&`, ``, 1) + `,`,
  1805. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DaemonSetStatus", "DaemonSetStatus", 1), `&`, ``, 1) + `,`,
  1806. `}`,
  1807. }, "")
  1808. return s
  1809. }
  1810. func (this *DaemonSetCondition) String() string {
  1811. if this == nil {
  1812. return "nil"
  1813. }
  1814. s := strings.Join([]string{`&DaemonSetCondition{`,
  1815. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  1816. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  1817. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  1818. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  1819. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  1820. `}`,
  1821. }, "")
  1822. return s
  1823. }
  1824. func (this *DaemonSetList) String() string {
  1825. if this == nil {
  1826. return "nil"
  1827. }
  1828. s := strings.Join([]string{`&DaemonSetList{`,
  1829. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  1830. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "DaemonSet", "DaemonSet", 1), `&`, ``, 1) + `,`,
  1831. `}`,
  1832. }, "")
  1833. return s
  1834. }
  1835. func (this *DaemonSetSpec) String() string {
  1836. if this == nil {
  1837. return "nil"
  1838. }
  1839. s := strings.Join([]string{`&DaemonSetSpec{`,
  1840. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  1841. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  1842. `UpdateStrategy:` + strings.Replace(strings.Replace(this.UpdateStrategy.String(), "DaemonSetUpdateStrategy", "DaemonSetUpdateStrategy", 1), `&`, ``, 1) + `,`,
  1843. `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
  1844. `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
  1845. `}`,
  1846. }, "")
  1847. return s
  1848. }
  1849. func (this *DaemonSetStatus) String() string {
  1850. if this == nil {
  1851. return "nil"
  1852. }
  1853. s := strings.Join([]string{`&DaemonSetStatus{`,
  1854. `CurrentNumberScheduled:` + fmt.Sprintf("%v", this.CurrentNumberScheduled) + `,`,
  1855. `NumberMisscheduled:` + fmt.Sprintf("%v", this.NumberMisscheduled) + `,`,
  1856. `DesiredNumberScheduled:` + fmt.Sprintf("%v", this.DesiredNumberScheduled) + `,`,
  1857. `NumberReady:` + fmt.Sprintf("%v", this.NumberReady) + `,`,
  1858. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  1859. `UpdatedNumberScheduled:` + fmt.Sprintf("%v", this.UpdatedNumberScheduled) + `,`,
  1860. `NumberAvailable:` + fmt.Sprintf("%v", this.NumberAvailable) + `,`,
  1861. `NumberUnavailable:` + fmt.Sprintf("%v", this.NumberUnavailable) + `,`,
  1862. `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
  1863. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "DaemonSetCondition", "DaemonSetCondition", 1), `&`, ``, 1) + `,`,
  1864. `}`,
  1865. }, "")
  1866. return s
  1867. }
  1868. func (this *DaemonSetUpdateStrategy) String() string {
  1869. if this == nil {
  1870. return "nil"
  1871. }
  1872. s := strings.Join([]string{`&DaemonSetUpdateStrategy{`,
  1873. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  1874. `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateDaemonSet", "RollingUpdateDaemonSet", 1) + `,`,
  1875. `}`,
  1876. }, "")
  1877. return s
  1878. }
  1879. func (this *Deployment) String() string {
  1880. if this == nil {
  1881. return "nil"
  1882. }
  1883. s := strings.Join([]string{`&Deployment{`,
  1884. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  1885. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DeploymentSpec", "DeploymentSpec", 1), `&`, ``, 1) + `,`,
  1886. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DeploymentStatus", "DeploymentStatus", 1), `&`, ``, 1) + `,`,
  1887. `}`,
  1888. }, "")
  1889. return s
  1890. }
  1891. func (this *DeploymentCondition) String() string {
  1892. if this == nil {
  1893. return "nil"
  1894. }
  1895. s := strings.Join([]string{`&DeploymentCondition{`,
  1896. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  1897. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  1898. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  1899. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  1900. `LastUpdateTime:` + strings.Replace(strings.Replace(this.LastUpdateTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  1901. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  1902. `}`,
  1903. }, "")
  1904. return s
  1905. }
  1906. func (this *DeploymentList) String() string {
  1907. if this == nil {
  1908. return "nil"
  1909. }
  1910. s := strings.Join([]string{`&DeploymentList{`,
  1911. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  1912. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Deployment", "Deployment", 1), `&`, ``, 1) + `,`,
  1913. `}`,
  1914. }, "")
  1915. return s
  1916. }
  1917. func (this *DeploymentSpec) String() string {
  1918. if this == nil {
  1919. return "nil"
  1920. }
  1921. s := strings.Join([]string{`&DeploymentSpec{`,
  1922. `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
  1923. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  1924. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  1925. `Strategy:` + strings.Replace(strings.Replace(this.Strategy.String(), "DeploymentStrategy", "DeploymentStrategy", 1), `&`, ``, 1) + `,`,
  1926. `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
  1927. `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
  1928. `Paused:` + fmt.Sprintf("%v", this.Paused) + `,`,
  1929. `ProgressDeadlineSeconds:` + valueToStringGenerated(this.ProgressDeadlineSeconds) + `,`,
  1930. `}`,
  1931. }, "")
  1932. return s
  1933. }
  1934. func (this *DeploymentStatus) String() string {
  1935. if this == nil {
  1936. return "nil"
  1937. }
  1938. s := strings.Join([]string{`&DeploymentStatus{`,
  1939. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  1940. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  1941. `UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`,
  1942. `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
  1943. `UnavailableReplicas:` + fmt.Sprintf("%v", this.UnavailableReplicas) + `,`,
  1944. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "DeploymentCondition", "DeploymentCondition", 1), `&`, ``, 1) + `,`,
  1945. `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
  1946. `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
  1947. `}`,
  1948. }, "")
  1949. return s
  1950. }
  1951. func (this *DeploymentStrategy) String() string {
  1952. if this == nil {
  1953. return "nil"
  1954. }
  1955. s := strings.Join([]string{`&DeploymentStrategy{`,
  1956. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  1957. `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateDeployment", "RollingUpdateDeployment", 1) + `,`,
  1958. `}`,
  1959. }, "")
  1960. return s
  1961. }
  1962. func (this *ReplicaSet) String() string {
  1963. if this == nil {
  1964. return "nil"
  1965. }
  1966. s := strings.Join([]string{`&ReplicaSet{`,
  1967. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  1968. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ReplicaSetSpec", "ReplicaSetSpec", 1), `&`, ``, 1) + `,`,
  1969. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ReplicaSetStatus", "ReplicaSetStatus", 1), `&`, ``, 1) + `,`,
  1970. `}`,
  1971. }, "")
  1972. return s
  1973. }
  1974. func (this *ReplicaSetCondition) String() string {
  1975. if this == nil {
  1976. return "nil"
  1977. }
  1978. s := strings.Join([]string{`&ReplicaSetCondition{`,
  1979. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  1980. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  1981. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  1982. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  1983. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  1984. `}`,
  1985. }, "")
  1986. return s
  1987. }
  1988. func (this *ReplicaSetList) String() string {
  1989. if this == nil {
  1990. return "nil"
  1991. }
  1992. s := strings.Join([]string{`&ReplicaSetList{`,
  1993. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  1994. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ReplicaSet", "ReplicaSet", 1), `&`, ``, 1) + `,`,
  1995. `}`,
  1996. }, "")
  1997. return s
  1998. }
  1999. func (this *ReplicaSetSpec) String() string {
  2000. if this == nil {
  2001. return "nil"
  2002. }
  2003. s := strings.Join([]string{`&ReplicaSetSpec{`,
  2004. `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
  2005. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  2006. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  2007. `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
  2008. `}`,
  2009. }, "")
  2010. return s
  2011. }
  2012. func (this *ReplicaSetStatus) String() string {
  2013. if this == nil {
  2014. return "nil"
  2015. }
  2016. s := strings.Join([]string{`&ReplicaSetStatus{`,
  2017. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  2018. `FullyLabeledReplicas:` + fmt.Sprintf("%v", this.FullyLabeledReplicas) + `,`,
  2019. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  2020. `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
  2021. `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
  2022. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "ReplicaSetCondition", "ReplicaSetCondition", 1), `&`, ``, 1) + `,`,
  2023. `}`,
  2024. }, "")
  2025. return s
  2026. }
  2027. func (this *RollingUpdateDaemonSet) String() string {
  2028. if this == nil {
  2029. return "nil"
  2030. }
  2031. s := strings.Join([]string{`&RollingUpdateDaemonSet{`,
  2032. `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
  2033. `}`,
  2034. }, "")
  2035. return s
  2036. }
  2037. func (this *RollingUpdateDeployment) String() string {
  2038. if this == nil {
  2039. return "nil"
  2040. }
  2041. s := strings.Join([]string{`&RollingUpdateDeployment{`,
  2042. `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
  2043. `MaxSurge:` + strings.Replace(fmt.Sprintf("%v", this.MaxSurge), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
  2044. `}`,
  2045. }, "")
  2046. return s
  2047. }
  2048. func (this *RollingUpdateStatefulSetStrategy) String() string {
  2049. if this == nil {
  2050. return "nil"
  2051. }
  2052. s := strings.Join([]string{`&RollingUpdateStatefulSetStrategy{`,
  2053. `Partition:` + valueToStringGenerated(this.Partition) + `,`,
  2054. `}`,
  2055. }, "")
  2056. return s
  2057. }
  2058. func (this *StatefulSet) String() string {
  2059. if this == nil {
  2060. return "nil"
  2061. }
  2062. s := strings.Join([]string{`&StatefulSet{`,
  2063. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  2064. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "StatefulSetSpec", "StatefulSetSpec", 1), `&`, ``, 1) + `,`,
  2065. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "StatefulSetStatus", "StatefulSetStatus", 1), `&`, ``, 1) + `,`,
  2066. `}`,
  2067. }, "")
  2068. return s
  2069. }
  2070. func (this *StatefulSetCondition) String() string {
  2071. if this == nil {
  2072. return "nil"
  2073. }
  2074. s := strings.Join([]string{`&StatefulSetCondition{`,
  2075. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  2076. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  2077. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  2078. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  2079. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  2080. `}`,
  2081. }, "")
  2082. return s
  2083. }
  2084. func (this *StatefulSetList) String() string {
  2085. if this == nil {
  2086. return "nil"
  2087. }
  2088. s := strings.Join([]string{`&StatefulSetList{`,
  2089. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  2090. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "StatefulSet", "StatefulSet", 1), `&`, ``, 1) + `,`,
  2091. `}`,
  2092. }, "")
  2093. return s
  2094. }
  2095. func (this *StatefulSetSpec) String() string {
  2096. if this == nil {
  2097. return "nil"
  2098. }
  2099. s := strings.Join([]string{`&StatefulSetSpec{`,
  2100. `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
  2101. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  2102. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  2103. `VolumeClaimTemplates:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VolumeClaimTemplates), "PersistentVolumeClaim", "k8s_io_api_core_v1.PersistentVolumeClaim", 1), `&`, ``, 1) + `,`,
  2104. `ServiceName:` + fmt.Sprintf("%v", this.ServiceName) + `,`,
  2105. `PodManagementPolicy:` + fmt.Sprintf("%v", this.PodManagementPolicy) + `,`,
  2106. `UpdateStrategy:` + strings.Replace(strings.Replace(this.UpdateStrategy.String(), "StatefulSetUpdateStrategy", "StatefulSetUpdateStrategy", 1), `&`, ``, 1) + `,`,
  2107. `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
  2108. `}`,
  2109. }, "")
  2110. return s
  2111. }
  2112. func (this *StatefulSetStatus) String() string {
  2113. if this == nil {
  2114. return "nil"
  2115. }
  2116. s := strings.Join([]string{`&StatefulSetStatus{`,
  2117. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  2118. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  2119. `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
  2120. `CurrentReplicas:` + fmt.Sprintf("%v", this.CurrentReplicas) + `,`,
  2121. `UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`,
  2122. `CurrentRevision:` + fmt.Sprintf("%v", this.CurrentRevision) + `,`,
  2123. `UpdateRevision:` + fmt.Sprintf("%v", this.UpdateRevision) + `,`,
  2124. `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
  2125. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "StatefulSetCondition", "StatefulSetCondition", 1), `&`, ``, 1) + `,`,
  2126. `}`,
  2127. }, "")
  2128. return s
  2129. }
  2130. func (this *StatefulSetUpdateStrategy) String() string {
  2131. if this == nil {
  2132. return "nil"
  2133. }
  2134. s := strings.Join([]string{`&StatefulSetUpdateStrategy{`,
  2135. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  2136. `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateStatefulSetStrategy", "RollingUpdateStatefulSetStrategy", 1) + `,`,
  2137. `}`,
  2138. }, "")
  2139. return s
  2140. }
  2141. func valueToStringGenerated(v interface{}) string {
  2142. rv := reflect.ValueOf(v)
  2143. if rv.IsNil() {
  2144. return "nil"
  2145. }
  2146. pv := reflect.Indirect(rv).Interface()
  2147. return fmt.Sprintf("*%v", pv)
  2148. }
  2149. func (m *ControllerRevision) Unmarshal(dAtA []byte) error {
  2150. l := len(dAtA)
  2151. iNdEx := 0
  2152. for iNdEx < l {
  2153. preIndex := iNdEx
  2154. var wire uint64
  2155. for shift := uint(0); ; shift += 7 {
  2156. if shift >= 64 {
  2157. return ErrIntOverflowGenerated
  2158. }
  2159. if iNdEx >= l {
  2160. return io.ErrUnexpectedEOF
  2161. }
  2162. b := dAtA[iNdEx]
  2163. iNdEx++
  2164. wire |= (uint64(b) & 0x7F) << shift
  2165. if b < 0x80 {
  2166. break
  2167. }
  2168. }
  2169. fieldNum := int32(wire >> 3)
  2170. wireType := int(wire & 0x7)
  2171. if wireType == 4 {
  2172. return fmt.Errorf("proto: ControllerRevision: wiretype end group for non-group")
  2173. }
  2174. if fieldNum <= 0 {
  2175. return fmt.Errorf("proto: ControllerRevision: illegal tag %d (wire type %d)", fieldNum, wire)
  2176. }
  2177. switch fieldNum {
  2178. case 1:
  2179. if wireType != 2 {
  2180. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  2181. }
  2182. var msglen int
  2183. for shift := uint(0); ; shift += 7 {
  2184. if shift >= 64 {
  2185. return ErrIntOverflowGenerated
  2186. }
  2187. if iNdEx >= l {
  2188. return io.ErrUnexpectedEOF
  2189. }
  2190. b := dAtA[iNdEx]
  2191. iNdEx++
  2192. msglen |= (int(b) & 0x7F) << shift
  2193. if b < 0x80 {
  2194. break
  2195. }
  2196. }
  2197. if msglen < 0 {
  2198. return ErrInvalidLengthGenerated
  2199. }
  2200. postIndex := iNdEx + msglen
  2201. if postIndex > l {
  2202. return io.ErrUnexpectedEOF
  2203. }
  2204. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2205. return err
  2206. }
  2207. iNdEx = postIndex
  2208. case 2:
  2209. if wireType != 2 {
  2210. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  2211. }
  2212. var msglen int
  2213. for shift := uint(0); ; shift += 7 {
  2214. if shift >= 64 {
  2215. return ErrIntOverflowGenerated
  2216. }
  2217. if iNdEx >= l {
  2218. return io.ErrUnexpectedEOF
  2219. }
  2220. b := dAtA[iNdEx]
  2221. iNdEx++
  2222. msglen |= (int(b) & 0x7F) << shift
  2223. if b < 0x80 {
  2224. break
  2225. }
  2226. }
  2227. if msglen < 0 {
  2228. return ErrInvalidLengthGenerated
  2229. }
  2230. postIndex := iNdEx + msglen
  2231. if postIndex > l {
  2232. return io.ErrUnexpectedEOF
  2233. }
  2234. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2235. return err
  2236. }
  2237. iNdEx = postIndex
  2238. case 3:
  2239. if wireType != 0 {
  2240. return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
  2241. }
  2242. m.Revision = 0
  2243. for shift := uint(0); ; shift += 7 {
  2244. if shift >= 64 {
  2245. return ErrIntOverflowGenerated
  2246. }
  2247. if iNdEx >= l {
  2248. return io.ErrUnexpectedEOF
  2249. }
  2250. b := dAtA[iNdEx]
  2251. iNdEx++
  2252. m.Revision |= (int64(b) & 0x7F) << shift
  2253. if b < 0x80 {
  2254. break
  2255. }
  2256. }
  2257. default:
  2258. iNdEx = preIndex
  2259. skippy, err := skipGenerated(dAtA[iNdEx:])
  2260. if err != nil {
  2261. return err
  2262. }
  2263. if skippy < 0 {
  2264. return ErrInvalidLengthGenerated
  2265. }
  2266. if (iNdEx + skippy) > l {
  2267. return io.ErrUnexpectedEOF
  2268. }
  2269. iNdEx += skippy
  2270. }
  2271. }
  2272. if iNdEx > l {
  2273. return io.ErrUnexpectedEOF
  2274. }
  2275. return nil
  2276. }
  2277. func (m *ControllerRevisionList) Unmarshal(dAtA []byte) error {
  2278. l := len(dAtA)
  2279. iNdEx := 0
  2280. for iNdEx < l {
  2281. preIndex := iNdEx
  2282. var wire uint64
  2283. for shift := uint(0); ; shift += 7 {
  2284. if shift >= 64 {
  2285. return ErrIntOverflowGenerated
  2286. }
  2287. if iNdEx >= l {
  2288. return io.ErrUnexpectedEOF
  2289. }
  2290. b := dAtA[iNdEx]
  2291. iNdEx++
  2292. wire |= (uint64(b) & 0x7F) << shift
  2293. if b < 0x80 {
  2294. break
  2295. }
  2296. }
  2297. fieldNum := int32(wire >> 3)
  2298. wireType := int(wire & 0x7)
  2299. if wireType == 4 {
  2300. return fmt.Errorf("proto: ControllerRevisionList: wiretype end group for non-group")
  2301. }
  2302. if fieldNum <= 0 {
  2303. return fmt.Errorf("proto: ControllerRevisionList: illegal tag %d (wire type %d)", fieldNum, wire)
  2304. }
  2305. switch fieldNum {
  2306. case 1:
  2307. if wireType != 2 {
  2308. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  2309. }
  2310. var msglen int
  2311. for shift := uint(0); ; shift += 7 {
  2312. if shift >= 64 {
  2313. return ErrIntOverflowGenerated
  2314. }
  2315. if iNdEx >= l {
  2316. return io.ErrUnexpectedEOF
  2317. }
  2318. b := dAtA[iNdEx]
  2319. iNdEx++
  2320. msglen |= (int(b) & 0x7F) << shift
  2321. if b < 0x80 {
  2322. break
  2323. }
  2324. }
  2325. if msglen < 0 {
  2326. return ErrInvalidLengthGenerated
  2327. }
  2328. postIndex := iNdEx + msglen
  2329. if postIndex > l {
  2330. return io.ErrUnexpectedEOF
  2331. }
  2332. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2333. return err
  2334. }
  2335. iNdEx = postIndex
  2336. case 2:
  2337. if wireType != 2 {
  2338. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  2339. }
  2340. var msglen int
  2341. for shift := uint(0); ; shift += 7 {
  2342. if shift >= 64 {
  2343. return ErrIntOverflowGenerated
  2344. }
  2345. if iNdEx >= l {
  2346. return io.ErrUnexpectedEOF
  2347. }
  2348. b := dAtA[iNdEx]
  2349. iNdEx++
  2350. msglen |= (int(b) & 0x7F) << shift
  2351. if b < 0x80 {
  2352. break
  2353. }
  2354. }
  2355. if msglen < 0 {
  2356. return ErrInvalidLengthGenerated
  2357. }
  2358. postIndex := iNdEx + msglen
  2359. if postIndex > l {
  2360. return io.ErrUnexpectedEOF
  2361. }
  2362. m.Items = append(m.Items, ControllerRevision{})
  2363. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2364. return err
  2365. }
  2366. iNdEx = postIndex
  2367. default:
  2368. iNdEx = preIndex
  2369. skippy, err := skipGenerated(dAtA[iNdEx:])
  2370. if err != nil {
  2371. return err
  2372. }
  2373. if skippy < 0 {
  2374. return ErrInvalidLengthGenerated
  2375. }
  2376. if (iNdEx + skippy) > l {
  2377. return io.ErrUnexpectedEOF
  2378. }
  2379. iNdEx += skippy
  2380. }
  2381. }
  2382. if iNdEx > l {
  2383. return io.ErrUnexpectedEOF
  2384. }
  2385. return nil
  2386. }
  2387. func (m *DaemonSet) Unmarshal(dAtA []byte) error {
  2388. l := len(dAtA)
  2389. iNdEx := 0
  2390. for iNdEx < l {
  2391. preIndex := iNdEx
  2392. var wire uint64
  2393. for shift := uint(0); ; shift += 7 {
  2394. if shift >= 64 {
  2395. return ErrIntOverflowGenerated
  2396. }
  2397. if iNdEx >= l {
  2398. return io.ErrUnexpectedEOF
  2399. }
  2400. b := dAtA[iNdEx]
  2401. iNdEx++
  2402. wire |= (uint64(b) & 0x7F) << shift
  2403. if b < 0x80 {
  2404. break
  2405. }
  2406. }
  2407. fieldNum := int32(wire >> 3)
  2408. wireType := int(wire & 0x7)
  2409. if wireType == 4 {
  2410. return fmt.Errorf("proto: DaemonSet: wiretype end group for non-group")
  2411. }
  2412. if fieldNum <= 0 {
  2413. return fmt.Errorf("proto: DaemonSet: illegal tag %d (wire type %d)", fieldNum, wire)
  2414. }
  2415. switch fieldNum {
  2416. case 1:
  2417. if wireType != 2 {
  2418. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  2419. }
  2420. var msglen int
  2421. for shift := uint(0); ; shift += 7 {
  2422. if shift >= 64 {
  2423. return ErrIntOverflowGenerated
  2424. }
  2425. if iNdEx >= l {
  2426. return io.ErrUnexpectedEOF
  2427. }
  2428. b := dAtA[iNdEx]
  2429. iNdEx++
  2430. msglen |= (int(b) & 0x7F) << shift
  2431. if b < 0x80 {
  2432. break
  2433. }
  2434. }
  2435. if msglen < 0 {
  2436. return ErrInvalidLengthGenerated
  2437. }
  2438. postIndex := iNdEx + msglen
  2439. if postIndex > l {
  2440. return io.ErrUnexpectedEOF
  2441. }
  2442. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2443. return err
  2444. }
  2445. iNdEx = postIndex
  2446. case 2:
  2447. if wireType != 2 {
  2448. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  2449. }
  2450. var msglen int
  2451. for shift := uint(0); ; shift += 7 {
  2452. if shift >= 64 {
  2453. return ErrIntOverflowGenerated
  2454. }
  2455. if iNdEx >= l {
  2456. return io.ErrUnexpectedEOF
  2457. }
  2458. b := dAtA[iNdEx]
  2459. iNdEx++
  2460. msglen |= (int(b) & 0x7F) << shift
  2461. if b < 0x80 {
  2462. break
  2463. }
  2464. }
  2465. if msglen < 0 {
  2466. return ErrInvalidLengthGenerated
  2467. }
  2468. postIndex := iNdEx + msglen
  2469. if postIndex > l {
  2470. return io.ErrUnexpectedEOF
  2471. }
  2472. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2473. return err
  2474. }
  2475. iNdEx = postIndex
  2476. case 3:
  2477. if wireType != 2 {
  2478. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  2479. }
  2480. var msglen int
  2481. for shift := uint(0); ; shift += 7 {
  2482. if shift >= 64 {
  2483. return ErrIntOverflowGenerated
  2484. }
  2485. if iNdEx >= l {
  2486. return io.ErrUnexpectedEOF
  2487. }
  2488. b := dAtA[iNdEx]
  2489. iNdEx++
  2490. msglen |= (int(b) & 0x7F) << shift
  2491. if b < 0x80 {
  2492. break
  2493. }
  2494. }
  2495. if msglen < 0 {
  2496. return ErrInvalidLengthGenerated
  2497. }
  2498. postIndex := iNdEx + msglen
  2499. if postIndex > l {
  2500. return io.ErrUnexpectedEOF
  2501. }
  2502. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2503. return err
  2504. }
  2505. iNdEx = postIndex
  2506. default:
  2507. iNdEx = preIndex
  2508. skippy, err := skipGenerated(dAtA[iNdEx:])
  2509. if err != nil {
  2510. return err
  2511. }
  2512. if skippy < 0 {
  2513. return ErrInvalidLengthGenerated
  2514. }
  2515. if (iNdEx + skippy) > l {
  2516. return io.ErrUnexpectedEOF
  2517. }
  2518. iNdEx += skippy
  2519. }
  2520. }
  2521. if iNdEx > l {
  2522. return io.ErrUnexpectedEOF
  2523. }
  2524. return nil
  2525. }
  2526. func (m *DaemonSetCondition) Unmarshal(dAtA []byte) error {
  2527. l := len(dAtA)
  2528. iNdEx := 0
  2529. for iNdEx < l {
  2530. preIndex := iNdEx
  2531. var wire uint64
  2532. for shift := uint(0); ; shift += 7 {
  2533. if shift >= 64 {
  2534. return ErrIntOverflowGenerated
  2535. }
  2536. if iNdEx >= l {
  2537. return io.ErrUnexpectedEOF
  2538. }
  2539. b := dAtA[iNdEx]
  2540. iNdEx++
  2541. wire |= (uint64(b) & 0x7F) << shift
  2542. if b < 0x80 {
  2543. break
  2544. }
  2545. }
  2546. fieldNum := int32(wire >> 3)
  2547. wireType := int(wire & 0x7)
  2548. if wireType == 4 {
  2549. return fmt.Errorf("proto: DaemonSetCondition: wiretype end group for non-group")
  2550. }
  2551. if fieldNum <= 0 {
  2552. return fmt.Errorf("proto: DaemonSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  2553. }
  2554. switch fieldNum {
  2555. case 1:
  2556. if wireType != 2 {
  2557. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  2558. }
  2559. var stringLen uint64
  2560. for shift := uint(0); ; shift += 7 {
  2561. if shift >= 64 {
  2562. return ErrIntOverflowGenerated
  2563. }
  2564. if iNdEx >= l {
  2565. return io.ErrUnexpectedEOF
  2566. }
  2567. b := dAtA[iNdEx]
  2568. iNdEx++
  2569. stringLen |= (uint64(b) & 0x7F) << shift
  2570. if b < 0x80 {
  2571. break
  2572. }
  2573. }
  2574. intStringLen := int(stringLen)
  2575. if intStringLen < 0 {
  2576. return ErrInvalidLengthGenerated
  2577. }
  2578. postIndex := iNdEx + intStringLen
  2579. if postIndex > l {
  2580. return io.ErrUnexpectedEOF
  2581. }
  2582. m.Type = DaemonSetConditionType(dAtA[iNdEx:postIndex])
  2583. iNdEx = postIndex
  2584. case 2:
  2585. if wireType != 2 {
  2586. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  2587. }
  2588. var stringLen uint64
  2589. for shift := uint(0); ; shift += 7 {
  2590. if shift >= 64 {
  2591. return ErrIntOverflowGenerated
  2592. }
  2593. if iNdEx >= l {
  2594. return io.ErrUnexpectedEOF
  2595. }
  2596. b := dAtA[iNdEx]
  2597. iNdEx++
  2598. stringLen |= (uint64(b) & 0x7F) << shift
  2599. if b < 0x80 {
  2600. break
  2601. }
  2602. }
  2603. intStringLen := int(stringLen)
  2604. if intStringLen < 0 {
  2605. return ErrInvalidLengthGenerated
  2606. }
  2607. postIndex := iNdEx + intStringLen
  2608. if postIndex > l {
  2609. return io.ErrUnexpectedEOF
  2610. }
  2611. m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
  2612. iNdEx = postIndex
  2613. case 3:
  2614. if wireType != 2 {
  2615. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  2616. }
  2617. var msglen int
  2618. for shift := uint(0); ; shift += 7 {
  2619. if shift >= 64 {
  2620. return ErrIntOverflowGenerated
  2621. }
  2622. if iNdEx >= l {
  2623. return io.ErrUnexpectedEOF
  2624. }
  2625. b := dAtA[iNdEx]
  2626. iNdEx++
  2627. msglen |= (int(b) & 0x7F) << shift
  2628. if b < 0x80 {
  2629. break
  2630. }
  2631. }
  2632. if msglen < 0 {
  2633. return ErrInvalidLengthGenerated
  2634. }
  2635. postIndex := iNdEx + msglen
  2636. if postIndex > l {
  2637. return io.ErrUnexpectedEOF
  2638. }
  2639. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2640. return err
  2641. }
  2642. iNdEx = postIndex
  2643. case 4:
  2644. if wireType != 2 {
  2645. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  2646. }
  2647. var stringLen uint64
  2648. for shift := uint(0); ; shift += 7 {
  2649. if shift >= 64 {
  2650. return ErrIntOverflowGenerated
  2651. }
  2652. if iNdEx >= l {
  2653. return io.ErrUnexpectedEOF
  2654. }
  2655. b := dAtA[iNdEx]
  2656. iNdEx++
  2657. stringLen |= (uint64(b) & 0x7F) << shift
  2658. if b < 0x80 {
  2659. break
  2660. }
  2661. }
  2662. intStringLen := int(stringLen)
  2663. if intStringLen < 0 {
  2664. return ErrInvalidLengthGenerated
  2665. }
  2666. postIndex := iNdEx + intStringLen
  2667. if postIndex > l {
  2668. return io.ErrUnexpectedEOF
  2669. }
  2670. m.Reason = string(dAtA[iNdEx:postIndex])
  2671. iNdEx = postIndex
  2672. case 5:
  2673. if wireType != 2 {
  2674. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  2675. }
  2676. var stringLen uint64
  2677. for shift := uint(0); ; shift += 7 {
  2678. if shift >= 64 {
  2679. return ErrIntOverflowGenerated
  2680. }
  2681. if iNdEx >= l {
  2682. return io.ErrUnexpectedEOF
  2683. }
  2684. b := dAtA[iNdEx]
  2685. iNdEx++
  2686. stringLen |= (uint64(b) & 0x7F) << shift
  2687. if b < 0x80 {
  2688. break
  2689. }
  2690. }
  2691. intStringLen := int(stringLen)
  2692. if intStringLen < 0 {
  2693. return ErrInvalidLengthGenerated
  2694. }
  2695. postIndex := iNdEx + intStringLen
  2696. if postIndex > l {
  2697. return io.ErrUnexpectedEOF
  2698. }
  2699. m.Message = string(dAtA[iNdEx:postIndex])
  2700. iNdEx = postIndex
  2701. default:
  2702. iNdEx = preIndex
  2703. skippy, err := skipGenerated(dAtA[iNdEx:])
  2704. if err != nil {
  2705. return err
  2706. }
  2707. if skippy < 0 {
  2708. return ErrInvalidLengthGenerated
  2709. }
  2710. if (iNdEx + skippy) > l {
  2711. return io.ErrUnexpectedEOF
  2712. }
  2713. iNdEx += skippy
  2714. }
  2715. }
  2716. if iNdEx > l {
  2717. return io.ErrUnexpectedEOF
  2718. }
  2719. return nil
  2720. }
  2721. func (m *DaemonSetList) Unmarshal(dAtA []byte) error {
  2722. l := len(dAtA)
  2723. iNdEx := 0
  2724. for iNdEx < l {
  2725. preIndex := iNdEx
  2726. var wire uint64
  2727. for shift := uint(0); ; shift += 7 {
  2728. if shift >= 64 {
  2729. return ErrIntOverflowGenerated
  2730. }
  2731. if iNdEx >= l {
  2732. return io.ErrUnexpectedEOF
  2733. }
  2734. b := dAtA[iNdEx]
  2735. iNdEx++
  2736. wire |= (uint64(b) & 0x7F) << shift
  2737. if b < 0x80 {
  2738. break
  2739. }
  2740. }
  2741. fieldNum := int32(wire >> 3)
  2742. wireType := int(wire & 0x7)
  2743. if wireType == 4 {
  2744. return fmt.Errorf("proto: DaemonSetList: wiretype end group for non-group")
  2745. }
  2746. if fieldNum <= 0 {
  2747. return fmt.Errorf("proto: DaemonSetList: illegal tag %d (wire type %d)", fieldNum, wire)
  2748. }
  2749. switch fieldNum {
  2750. case 1:
  2751. if wireType != 2 {
  2752. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  2753. }
  2754. var msglen int
  2755. for shift := uint(0); ; shift += 7 {
  2756. if shift >= 64 {
  2757. return ErrIntOverflowGenerated
  2758. }
  2759. if iNdEx >= l {
  2760. return io.ErrUnexpectedEOF
  2761. }
  2762. b := dAtA[iNdEx]
  2763. iNdEx++
  2764. msglen |= (int(b) & 0x7F) << shift
  2765. if b < 0x80 {
  2766. break
  2767. }
  2768. }
  2769. if msglen < 0 {
  2770. return ErrInvalidLengthGenerated
  2771. }
  2772. postIndex := iNdEx + msglen
  2773. if postIndex > l {
  2774. return io.ErrUnexpectedEOF
  2775. }
  2776. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2777. return err
  2778. }
  2779. iNdEx = postIndex
  2780. case 2:
  2781. if wireType != 2 {
  2782. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  2783. }
  2784. var msglen int
  2785. for shift := uint(0); ; shift += 7 {
  2786. if shift >= 64 {
  2787. return ErrIntOverflowGenerated
  2788. }
  2789. if iNdEx >= l {
  2790. return io.ErrUnexpectedEOF
  2791. }
  2792. b := dAtA[iNdEx]
  2793. iNdEx++
  2794. msglen |= (int(b) & 0x7F) << shift
  2795. if b < 0x80 {
  2796. break
  2797. }
  2798. }
  2799. if msglen < 0 {
  2800. return ErrInvalidLengthGenerated
  2801. }
  2802. postIndex := iNdEx + msglen
  2803. if postIndex > l {
  2804. return io.ErrUnexpectedEOF
  2805. }
  2806. m.Items = append(m.Items, DaemonSet{})
  2807. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2808. return err
  2809. }
  2810. iNdEx = postIndex
  2811. default:
  2812. iNdEx = preIndex
  2813. skippy, err := skipGenerated(dAtA[iNdEx:])
  2814. if err != nil {
  2815. return err
  2816. }
  2817. if skippy < 0 {
  2818. return ErrInvalidLengthGenerated
  2819. }
  2820. if (iNdEx + skippy) > l {
  2821. return io.ErrUnexpectedEOF
  2822. }
  2823. iNdEx += skippy
  2824. }
  2825. }
  2826. if iNdEx > l {
  2827. return io.ErrUnexpectedEOF
  2828. }
  2829. return nil
  2830. }
  2831. func (m *DaemonSetSpec) Unmarshal(dAtA []byte) error {
  2832. l := len(dAtA)
  2833. iNdEx := 0
  2834. for iNdEx < l {
  2835. preIndex := iNdEx
  2836. var wire uint64
  2837. for shift := uint(0); ; shift += 7 {
  2838. if shift >= 64 {
  2839. return ErrIntOverflowGenerated
  2840. }
  2841. if iNdEx >= l {
  2842. return io.ErrUnexpectedEOF
  2843. }
  2844. b := dAtA[iNdEx]
  2845. iNdEx++
  2846. wire |= (uint64(b) & 0x7F) << shift
  2847. if b < 0x80 {
  2848. break
  2849. }
  2850. }
  2851. fieldNum := int32(wire >> 3)
  2852. wireType := int(wire & 0x7)
  2853. if wireType == 4 {
  2854. return fmt.Errorf("proto: DaemonSetSpec: wiretype end group for non-group")
  2855. }
  2856. if fieldNum <= 0 {
  2857. return fmt.Errorf("proto: DaemonSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  2858. }
  2859. switch fieldNum {
  2860. case 1:
  2861. if wireType != 2 {
  2862. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  2863. }
  2864. var msglen int
  2865. for shift := uint(0); ; shift += 7 {
  2866. if shift >= 64 {
  2867. return ErrIntOverflowGenerated
  2868. }
  2869. if iNdEx >= l {
  2870. return io.ErrUnexpectedEOF
  2871. }
  2872. b := dAtA[iNdEx]
  2873. iNdEx++
  2874. msglen |= (int(b) & 0x7F) << shift
  2875. if b < 0x80 {
  2876. break
  2877. }
  2878. }
  2879. if msglen < 0 {
  2880. return ErrInvalidLengthGenerated
  2881. }
  2882. postIndex := iNdEx + msglen
  2883. if postIndex > l {
  2884. return io.ErrUnexpectedEOF
  2885. }
  2886. if m.Selector == nil {
  2887. m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  2888. }
  2889. if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2890. return err
  2891. }
  2892. iNdEx = postIndex
  2893. case 2:
  2894. if wireType != 2 {
  2895. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  2896. }
  2897. var msglen int
  2898. for shift := uint(0); ; shift += 7 {
  2899. if shift >= 64 {
  2900. return ErrIntOverflowGenerated
  2901. }
  2902. if iNdEx >= l {
  2903. return io.ErrUnexpectedEOF
  2904. }
  2905. b := dAtA[iNdEx]
  2906. iNdEx++
  2907. msglen |= (int(b) & 0x7F) << shift
  2908. if b < 0x80 {
  2909. break
  2910. }
  2911. }
  2912. if msglen < 0 {
  2913. return ErrInvalidLengthGenerated
  2914. }
  2915. postIndex := iNdEx + msglen
  2916. if postIndex > l {
  2917. return io.ErrUnexpectedEOF
  2918. }
  2919. if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2920. return err
  2921. }
  2922. iNdEx = postIndex
  2923. case 3:
  2924. if wireType != 2 {
  2925. return fmt.Errorf("proto: wrong wireType = %d for field UpdateStrategy", wireType)
  2926. }
  2927. var msglen int
  2928. for shift := uint(0); ; shift += 7 {
  2929. if shift >= 64 {
  2930. return ErrIntOverflowGenerated
  2931. }
  2932. if iNdEx >= l {
  2933. return io.ErrUnexpectedEOF
  2934. }
  2935. b := dAtA[iNdEx]
  2936. iNdEx++
  2937. msglen |= (int(b) & 0x7F) << shift
  2938. if b < 0x80 {
  2939. break
  2940. }
  2941. }
  2942. if msglen < 0 {
  2943. return ErrInvalidLengthGenerated
  2944. }
  2945. postIndex := iNdEx + msglen
  2946. if postIndex > l {
  2947. return io.ErrUnexpectedEOF
  2948. }
  2949. if err := m.UpdateStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2950. return err
  2951. }
  2952. iNdEx = postIndex
  2953. case 4:
  2954. if wireType != 0 {
  2955. return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
  2956. }
  2957. m.MinReadySeconds = 0
  2958. for shift := uint(0); ; shift += 7 {
  2959. if shift >= 64 {
  2960. return ErrIntOverflowGenerated
  2961. }
  2962. if iNdEx >= l {
  2963. return io.ErrUnexpectedEOF
  2964. }
  2965. b := dAtA[iNdEx]
  2966. iNdEx++
  2967. m.MinReadySeconds |= (int32(b) & 0x7F) << shift
  2968. if b < 0x80 {
  2969. break
  2970. }
  2971. }
  2972. case 6:
  2973. if wireType != 0 {
  2974. return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
  2975. }
  2976. var v int32
  2977. for shift := uint(0); ; shift += 7 {
  2978. if shift >= 64 {
  2979. return ErrIntOverflowGenerated
  2980. }
  2981. if iNdEx >= l {
  2982. return io.ErrUnexpectedEOF
  2983. }
  2984. b := dAtA[iNdEx]
  2985. iNdEx++
  2986. v |= (int32(b) & 0x7F) << shift
  2987. if b < 0x80 {
  2988. break
  2989. }
  2990. }
  2991. m.RevisionHistoryLimit = &v
  2992. default:
  2993. iNdEx = preIndex
  2994. skippy, err := skipGenerated(dAtA[iNdEx:])
  2995. if err != nil {
  2996. return err
  2997. }
  2998. if skippy < 0 {
  2999. return ErrInvalidLengthGenerated
  3000. }
  3001. if (iNdEx + skippy) > l {
  3002. return io.ErrUnexpectedEOF
  3003. }
  3004. iNdEx += skippy
  3005. }
  3006. }
  3007. if iNdEx > l {
  3008. return io.ErrUnexpectedEOF
  3009. }
  3010. return nil
  3011. }
  3012. func (m *DaemonSetStatus) Unmarshal(dAtA []byte) error {
  3013. l := len(dAtA)
  3014. iNdEx := 0
  3015. for iNdEx < l {
  3016. preIndex := iNdEx
  3017. var wire uint64
  3018. for shift := uint(0); ; shift += 7 {
  3019. if shift >= 64 {
  3020. return ErrIntOverflowGenerated
  3021. }
  3022. if iNdEx >= l {
  3023. return io.ErrUnexpectedEOF
  3024. }
  3025. b := dAtA[iNdEx]
  3026. iNdEx++
  3027. wire |= (uint64(b) & 0x7F) << shift
  3028. if b < 0x80 {
  3029. break
  3030. }
  3031. }
  3032. fieldNum := int32(wire >> 3)
  3033. wireType := int(wire & 0x7)
  3034. if wireType == 4 {
  3035. return fmt.Errorf("proto: DaemonSetStatus: wiretype end group for non-group")
  3036. }
  3037. if fieldNum <= 0 {
  3038. return fmt.Errorf("proto: DaemonSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  3039. }
  3040. switch fieldNum {
  3041. case 1:
  3042. if wireType != 0 {
  3043. return fmt.Errorf("proto: wrong wireType = %d for field CurrentNumberScheduled", wireType)
  3044. }
  3045. m.CurrentNumberScheduled = 0
  3046. for shift := uint(0); ; shift += 7 {
  3047. if shift >= 64 {
  3048. return ErrIntOverflowGenerated
  3049. }
  3050. if iNdEx >= l {
  3051. return io.ErrUnexpectedEOF
  3052. }
  3053. b := dAtA[iNdEx]
  3054. iNdEx++
  3055. m.CurrentNumberScheduled |= (int32(b) & 0x7F) << shift
  3056. if b < 0x80 {
  3057. break
  3058. }
  3059. }
  3060. case 2:
  3061. if wireType != 0 {
  3062. return fmt.Errorf("proto: wrong wireType = %d for field NumberMisscheduled", wireType)
  3063. }
  3064. m.NumberMisscheduled = 0
  3065. for shift := uint(0); ; shift += 7 {
  3066. if shift >= 64 {
  3067. return ErrIntOverflowGenerated
  3068. }
  3069. if iNdEx >= l {
  3070. return io.ErrUnexpectedEOF
  3071. }
  3072. b := dAtA[iNdEx]
  3073. iNdEx++
  3074. m.NumberMisscheduled |= (int32(b) & 0x7F) << shift
  3075. if b < 0x80 {
  3076. break
  3077. }
  3078. }
  3079. case 3:
  3080. if wireType != 0 {
  3081. return fmt.Errorf("proto: wrong wireType = %d for field DesiredNumberScheduled", wireType)
  3082. }
  3083. m.DesiredNumberScheduled = 0
  3084. for shift := uint(0); ; shift += 7 {
  3085. if shift >= 64 {
  3086. return ErrIntOverflowGenerated
  3087. }
  3088. if iNdEx >= l {
  3089. return io.ErrUnexpectedEOF
  3090. }
  3091. b := dAtA[iNdEx]
  3092. iNdEx++
  3093. m.DesiredNumberScheduled |= (int32(b) & 0x7F) << shift
  3094. if b < 0x80 {
  3095. break
  3096. }
  3097. }
  3098. case 4:
  3099. if wireType != 0 {
  3100. return fmt.Errorf("proto: wrong wireType = %d for field NumberReady", wireType)
  3101. }
  3102. m.NumberReady = 0
  3103. for shift := uint(0); ; shift += 7 {
  3104. if shift >= 64 {
  3105. return ErrIntOverflowGenerated
  3106. }
  3107. if iNdEx >= l {
  3108. return io.ErrUnexpectedEOF
  3109. }
  3110. b := dAtA[iNdEx]
  3111. iNdEx++
  3112. m.NumberReady |= (int32(b) & 0x7F) << shift
  3113. if b < 0x80 {
  3114. break
  3115. }
  3116. }
  3117. case 5:
  3118. if wireType != 0 {
  3119. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  3120. }
  3121. m.ObservedGeneration = 0
  3122. for shift := uint(0); ; shift += 7 {
  3123. if shift >= 64 {
  3124. return ErrIntOverflowGenerated
  3125. }
  3126. if iNdEx >= l {
  3127. return io.ErrUnexpectedEOF
  3128. }
  3129. b := dAtA[iNdEx]
  3130. iNdEx++
  3131. m.ObservedGeneration |= (int64(b) & 0x7F) << shift
  3132. if b < 0x80 {
  3133. break
  3134. }
  3135. }
  3136. case 6:
  3137. if wireType != 0 {
  3138. return fmt.Errorf("proto: wrong wireType = %d for field UpdatedNumberScheduled", wireType)
  3139. }
  3140. m.UpdatedNumberScheduled = 0
  3141. for shift := uint(0); ; shift += 7 {
  3142. if shift >= 64 {
  3143. return ErrIntOverflowGenerated
  3144. }
  3145. if iNdEx >= l {
  3146. return io.ErrUnexpectedEOF
  3147. }
  3148. b := dAtA[iNdEx]
  3149. iNdEx++
  3150. m.UpdatedNumberScheduled |= (int32(b) & 0x7F) << shift
  3151. if b < 0x80 {
  3152. break
  3153. }
  3154. }
  3155. case 7:
  3156. if wireType != 0 {
  3157. return fmt.Errorf("proto: wrong wireType = %d for field NumberAvailable", wireType)
  3158. }
  3159. m.NumberAvailable = 0
  3160. for shift := uint(0); ; shift += 7 {
  3161. if shift >= 64 {
  3162. return ErrIntOverflowGenerated
  3163. }
  3164. if iNdEx >= l {
  3165. return io.ErrUnexpectedEOF
  3166. }
  3167. b := dAtA[iNdEx]
  3168. iNdEx++
  3169. m.NumberAvailable |= (int32(b) & 0x7F) << shift
  3170. if b < 0x80 {
  3171. break
  3172. }
  3173. }
  3174. case 8:
  3175. if wireType != 0 {
  3176. return fmt.Errorf("proto: wrong wireType = %d for field NumberUnavailable", wireType)
  3177. }
  3178. m.NumberUnavailable = 0
  3179. for shift := uint(0); ; shift += 7 {
  3180. if shift >= 64 {
  3181. return ErrIntOverflowGenerated
  3182. }
  3183. if iNdEx >= l {
  3184. return io.ErrUnexpectedEOF
  3185. }
  3186. b := dAtA[iNdEx]
  3187. iNdEx++
  3188. m.NumberUnavailable |= (int32(b) & 0x7F) << shift
  3189. if b < 0x80 {
  3190. break
  3191. }
  3192. }
  3193. case 9:
  3194. if wireType != 0 {
  3195. return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
  3196. }
  3197. var v int32
  3198. for shift := uint(0); ; shift += 7 {
  3199. if shift >= 64 {
  3200. return ErrIntOverflowGenerated
  3201. }
  3202. if iNdEx >= l {
  3203. return io.ErrUnexpectedEOF
  3204. }
  3205. b := dAtA[iNdEx]
  3206. iNdEx++
  3207. v |= (int32(b) & 0x7F) << shift
  3208. if b < 0x80 {
  3209. break
  3210. }
  3211. }
  3212. m.CollisionCount = &v
  3213. case 10:
  3214. if wireType != 2 {
  3215. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  3216. }
  3217. var msglen int
  3218. for shift := uint(0); ; shift += 7 {
  3219. if shift >= 64 {
  3220. return ErrIntOverflowGenerated
  3221. }
  3222. if iNdEx >= l {
  3223. return io.ErrUnexpectedEOF
  3224. }
  3225. b := dAtA[iNdEx]
  3226. iNdEx++
  3227. msglen |= (int(b) & 0x7F) << shift
  3228. if b < 0x80 {
  3229. break
  3230. }
  3231. }
  3232. if msglen < 0 {
  3233. return ErrInvalidLengthGenerated
  3234. }
  3235. postIndex := iNdEx + msglen
  3236. if postIndex > l {
  3237. return io.ErrUnexpectedEOF
  3238. }
  3239. m.Conditions = append(m.Conditions, DaemonSetCondition{})
  3240. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3241. return err
  3242. }
  3243. iNdEx = postIndex
  3244. default:
  3245. iNdEx = preIndex
  3246. skippy, err := skipGenerated(dAtA[iNdEx:])
  3247. if err != nil {
  3248. return err
  3249. }
  3250. if skippy < 0 {
  3251. return ErrInvalidLengthGenerated
  3252. }
  3253. if (iNdEx + skippy) > l {
  3254. return io.ErrUnexpectedEOF
  3255. }
  3256. iNdEx += skippy
  3257. }
  3258. }
  3259. if iNdEx > l {
  3260. return io.ErrUnexpectedEOF
  3261. }
  3262. return nil
  3263. }
  3264. func (m *DaemonSetUpdateStrategy) Unmarshal(dAtA []byte) error {
  3265. l := len(dAtA)
  3266. iNdEx := 0
  3267. for iNdEx < l {
  3268. preIndex := iNdEx
  3269. var wire uint64
  3270. for shift := uint(0); ; shift += 7 {
  3271. if shift >= 64 {
  3272. return ErrIntOverflowGenerated
  3273. }
  3274. if iNdEx >= l {
  3275. return io.ErrUnexpectedEOF
  3276. }
  3277. b := dAtA[iNdEx]
  3278. iNdEx++
  3279. wire |= (uint64(b) & 0x7F) << shift
  3280. if b < 0x80 {
  3281. break
  3282. }
  3283. }
  3284. fieldNum := int32(wire >> 3)
  3285. wireType := int(wire & 0x7)
  3286. if wireType == 4 {
  3287. return fmt.Errorf("proto: DaemonSetUpdateStrategy: wiretype end group for non-group")
  3288. }
  3289. if fieldNum <= 0 {
  3290. return fmt.Errorf("proto: DaemonSetUpdateStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
  3291. }
  3292. switch fieldNum {
  3293. case 1:
  3294. if wireType != 2 {
  3295. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  3296. }
  3297. var stringLen uint64
  3298. for shift := uint(0); ; shift += 7 {
  3299. if shift >= 64 {
  3300. return ErrIntOverflowGenerated
  3301. }
  3302. if iNdEx >= l {
  3303. return io.ErrUnexpectedEOF
  3304. }
  3305. b := dAtA[iNdEx]
  3306. iNdEx++
  3307. stringLen |= (uint64(b) & 0x7F) << shift
  3308. if b < 0x80 {
  3309. break
  3310. }
  3311. }
  3312. intStringLen := int(stringLen)
  3313. if intStringLen < 0 {
  3314. return ErrInvalidLengthGenerated
  3315. }
  3316. postIndex := iNdEx + intStringLen
  3317. if postIndex > l {
  3318. return io.ErrUnexpectedEOF
  3319. }
  3320. m.Type = DaemonSetUpdateStrategyType(dAtA[iNdEx:postIndex])
  3321. iNdEx = postIndex
  3322. case 2:
  3323. if wireType != 2 {
  3324. return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
  3325. }
  3326. var msglen int
  3327. for shift := uint(0); ; shift += 7 {
  3328. if shift >= 64 {
  3329. return ErrIntOverflowGenerated
  3330. }
  3331. if iNdEx >= l {
  3332. return io.ErrUnexpectedEOF
  3333. }
  3334. b := dAtA[iNdEx]
  3335. iNdEx++
  3336. msglen |= (int(b) & 0x7F) << shift
  3337. if b < 0x80 {
  3338. break
  3339. }
  3340. }
  3341. if msglen < 0 {
  3342. return ErrInvalidLengthGenerated
  3343. }
  3344. postIndex := iNdEx + msglen
  3345. if postIndex > l {
  3346. return io.ErrUnexpectedEOF
  3347. }
  3348. if m.RollingUpdate == nil {
  3349. m.RollingUpdate = &RollingUpdateDaemonSet{}
  3350. }
  3351. if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3352. return err
  3353. }
  3354. iNdEx = postIndex
  3355. default:
  3356. iNdEx = preIndex
  3357. skippy, err := skipGenerated(dAtA[iNdEx:])
  3358. if err != nil {
  3359. return err
  3360. }
  3361. if skippy < 0 {
  3362. return ErrInvalidLengthGenerated
  3363. }
  3364. if (iNdEx + skippy) > l {
  3365. return io.ErrUnexpectedEOF
  3366. }
  3367. iNdEx += skippy
  3368. }
  3369. }
  3370. if iNdEx > l {
  3371. return io.ErrUnexpectedEOF
  3372. }
  3373. return nil
  3374. }
  3375. func (m *Deployment) Unmarshal(dAtA []byte) error {
  3376. l := len(dAtA)
  3377. iNdEx := 0
  3378. for iNdEx < l {
  3379. preIndex := iNdEx
  3380. var wire uint64
  3381. for shift := uint(0); ; shift += 7 {
  3382. if shift >= 64 {
  3383. return ErrIntOverflowGenerated
  3384. }
  3385. if iNdEx >= l {
  3386. return io.ErrUnexpectedEOF
  3387. }
  3388. b := dAtA[iNdEx]
  3389. iNdEx++
  3390. wire |= (uint64(b) & 0x7F) << shift
  3391. if b < 0x80 {
  3392. break
  3393. }
  3394. }
  3395. fieldNum := int32(wire >> 3)
  3396. wireType := int(wire & 0x7)
  3397. if wireType == 4 {
  3398. return fmt.Errorf("proto: Deployment: wiretype end group for non-group")
  3399. }
  3400. if fieldNum <= 0 {
  3401. return fmt.Errorf("proto: Deployment: illegal tag %d (wire type %d)", fieldNum, wire)
  3402. }
  3403. switch fieldNum {
  3404. case 1:
  3405. if wireType != 2 {
  3406. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  3407. }
  3408. var msglen int
  3409. for shift := uint(0); ; shift += 7 {
  3410. if shift >= 64 {
  3411. return ErrIntOverflowGenerated
  3412. }
  3413. if iNdEx >= l {
  3414. return io.ErrUnexpectedEOF
  3415. }
  3416. b := dAtA[iNdEx]
  3417. iNdEx++
  3418. msglen |= (int(b) & 0x7F) << shift
  3419. if b < 0x80 {
  3420. break
  3421. }
  3422. }
  3423. if msglen < 0 {
  3424. return ErrInvalidLengthGenerated
  3425. }
  3426. postIndex := iNdEx + msglen
  3427. if postIndex > l {
  3428. return io.ErrUnexpectedEOF
  3429. }
  3430. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3431. return err
  3432. }
  3433. iNdEx = postIndex
  3434. case 2:
  3435. if wireType != 2 {
  3436. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  3437. }
  3438. var msglen int
  3439. for shift := uint(0); ; shift += 7 {
  3440. if shift >= 64 {
  3441. return ErrIntOverflowGenerated
  3442. }
  3443. if iNdEx >= l {
  3444. return io.ErrUnexpectedEOF
  3445. }
  3446. b := dAtA[iNdEx]
  3447. iNdEx++
  3448. msglen |= (int(b) & 0x7F) << shift
  3449. if b < 0x80 {
  3450. break
  3451. }
  3452. }
  3453. if msglen < 0 {
  3454. return ErrInvalidLengthGenerated
  3455. }
  3456. postIndex := iNdEx + msglen
  3457. if postIndex > l {
  3458. return io.ErrUnexpectedEOF
  3459. }
  3460. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3461. return err
  3462. }
  3463. iNdEx = postIndex
  3464. case 3:
  3465. if wireType != 2 {
  3466. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  3467. }
  3468. var msglen int
  3469. for shift := uint(0); ; shift += 7 {
  3470. if shift >= 64 {
  3471. return ErrIntOverflowGenerated
  3472. }
  3473. if iNdEx >= l {
  3474. return io.ErrUnexpectedEOF
  3475. }
  3476. b := dAtA[iNdEx]
  3477. iNdEx++
  3478. msglen |= (int(b) & 0x7F) << shift
  3479. if b < 0x80 {
  3480. break
  3481. }
  3482. }
  3483. if msglen < 0 {
  3484. return ErrInvalidLengthGenerated
  3485. }
  3486. postIndex := iNdEx + msglen
  3487. if postIndex > l {
  3488. return io.ErrUnexpectedEOF
  3489. }
  3490. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3491. return err
  3492. }
  3493. iNdEx = postIndex
  3494. default:
  3495. iNdEx = preIndex
  3496. skippy, err := skipGenerated(dAtA[iNdEx:])
  3497. if err != nil {
  3498. return err
  3499. }
  3500. if skippy < 0 {
  3501. return ErrInvalidLengthGenerated
  3502. }
  3503. if (iNdEx + skippy) > l {
  3504. return io.ErrUnexpectedEOF
  3505. }
  3506. iNdEx += skippy
  3507. }
  3508. }
  3509. if iNdEx > l {
  3510. return io.ErrUnexpectedEOF
  3511. }
  3512. return nil
  3513. }
  3514. func (m *DeploymentCondition) Unmarshal(dAtA []byte) error {
  3515. l := len(dAtA)
  3516. iNdEx := 0
  3517. for iNdEx < l {
  3518. preIndex := iNdEx
  3519. var wire uint64
  3520. for shift := uint(0); ; shift += 7 {
  3521. if shift >= 64 {
  3522. return ErrIntOverflowGenerated
  3523. }
  3524. if iNdEx >= l {
  3525. return io.ErrUnexpectedEOF
  3526. }
  3527. b := dAtA[iNdEx]
  3528. iNdEx++
  3529. wire |= (uint64(b) & 0x7F) << shift
  3530. if b < 0x80 {
  3531. break
  3532. }
  3533. }
  3534. fieldNum := int32(wire >> 3)
  3535. wireType := int(wire & 0x7)
  3536. if wireType == 4 {
  3537. return fmt.Errorf("proto: DeploymentCondition: wiretype end group for non-group")
  3538. }
  3539. if fieldNum <= 0 {
  3540. return fmt.Errorf("proto: DeploymentCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  3541. }
  3542. switch fieldNum {
  3543. case 1:
  3544. if wireType != 2 {
  3545. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  3546. }
  3547. var stringLen uint64
  3548. for shift := uint(0); ; shift += 7 {
  3549. if shift >= 64 {
  3550. return ErrIntOverflowGenerated
  3551. }
  3552. if iNdEx >= l {
  3553. return io.ErrUnexpectedEOF
  3554. }
  3555. b := dAtA[iNdEx]
  3556. iNdEx++
  3557. stringLen |= (uint64(b) & 0x7F) << shift
  3558. if b < 0x80 {
  3559. break
  3560. }
  3561. }
  3562. intStringLen := int(stringLen)
  3563. if intStringLen < 0 {
  3564. return ErrInvalidLengthGenerated
  3565. }
  3566. postIndex := iNdEx + intStringLen
  3567. if postIndex > l {
  3568. return io.ErrUnexpectedEOF
  3569. }
  3570. m.Type = DeploymentConditionType(dAtA[iNdEx:postIndex])
  3571. iNdEx = postIndex
  3572. case 2:
  3573. if wireType != 2 {
  3574. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  3575. }
  3576. var stringLen uint64
  3577. for shift := uint(0); ; shift += 7 {
  3578. if shift >= 64 {
  3579. return ErrIntOverflowGenerated
  3580. }
  3581. if iNdEx >= l {
  3582. return io.ErrUnexpectedEOF
  3583. }
  3584. b := dAtA[iNdEx]
  3585. iNdEx++
  3586. stringLen |= (uint64(b) & 0x7F) << shift
  3587. if b < 0x80 {
  3588. break
  3589. }
  3590. }
  3591. intStringLen := int(stringLen)
  3592. if intStringLen < 0 {
  3593. return ErrInvalidLengthGenerated
  3594. }
  3595. postIndex := iNdEx + intStringLen
  3596. if postIndex > l {
  3597. return io.ErrUnexpectedEOF
  3598. }
  3599. m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
  3600. iNdEx = postIndex
  3601. case 4:
  3602. if wireType != 2 {
  3603. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  3604. }
  3605. var stringLen uint64
  3606. for shift := uint(0); ; shift += 7 {
  3607. if shift >= 64 {
  3608. return ErrIntOverflowGenerated
  3609. }
  3610. if iNdEx >= l {
  3611. return io.ErrUnexpectedEOF
  3612. }
  3613. b := dAtA[iNdEx]
  3614. iNdEx++
  3615. stringLen |= (uint64(b) & 0x7F) << shift
  3616. if b < 0x80 {
  3617. break
  3618. }
  3619. }
  3620. intStringLen := int(stringLen)
  3621. if intStringLen < 0 {
  3622. return ErrInvalidLengthGenerated
  3623. }
  3624. postIndex := iNdEx + intStringLen
  3625. if postIndex > l {
  3626. return io.ErrUnexpectedEOF
  3627. }
  3628. m.Reason = string(dAtA[iNdEx:postIndex])
  3629. iNdEx = postIndex
  3630. case 5:
  3631. if wireType != 2 {
  3632. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  3633. }
  3634. var stringLen uint64
  3635. for shift := uint(0); ; shift += 7 {
  3636. if shift >= 64 {
  3637. return ErrIntOverflowGenerated
  3638. }
  3639. if iNdEx >= l {
  3640. return io.ErrUnexpectedEOF
  3641. }
  3642. b := dAtA[iNdEx]
  3643. iNdEx++
  3644. stringLen |= (uint64(b) & 0x7F) << shift
  3645. if b < 0x80 {
  3646. break
  3647. }
  3648. }
  3649. intStringLen := int(stringLen)
  3650. if intStringLen < 0 {
  3651. return ErrInvalidLengthGenerated
  3652. }
  3653. postIndex := iNdEx + intStringLen
  3654. if postIndex > l {
  3655. return io.ErrUnexpectedEOF
  3656. }
  3657. m.Message = string(dAtA[iNdEx:postIndex])
  3658. iNdEx = postIndex
  3659. case 6:
  3660. if wireType != 2 {
  3661. return fmt.Errorf("proto: wrong wireType = %d for field LastUpdateTime", wireType)
  3662. }
  3663. var msglen int
  3664. for shift := uint(0); ; shift += 7 {
  3665. if shift >= 64 {
  3666. return ErrIntOverflowGenerated
  3667. }
  3668. if iNdEx >= l {
  3669. return io.ErrUnexpectedEOF
  3670. }
  3671. b := dAtA[iNdEx]
  3672. iNdEx++
  3673. msglen |= (int(b) & 0x7F) << shift
  3674. if b < 0x80 {
  3675. break
  3676. }
  3677. }
  3678. if msglen < 0 {
  3679. return ErrInvalidLengthGenerated
  3680. }
  3681. postIndex := iNdEx + msglen
  3682. if postIndex > l {
  3683. return io.ErrUnexpectedEOF
  3684. }
  3685. if err := m.LastUpdateTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3686. return err
  3687. }
  3688. iNdEx = postIndex
  3689. case 7:
  3690. if wireType != 2 {
  3691. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  3692. }
  3693. var msglen int
  3694. for shift := uint(0); ; shift += 7 {
  3695. if shift >= 64 {
  3696. return ErrIntOverflowGenerated
  3697. }
  3698. if iNdEx >= l {
  3699. return io.ErrUnexpectedEOF
  3700. }
  3701. b := dAtA[iNdEx]
  3702. iNdEx++
  3703. msglen |= (int(b) & 0x7F) << shift
  3704. if b < 0x80 {
  3705. break
  3706. }
  3707. }
  3708. if msglen < 0 {
  3709. return ErrInvalidLengthGenerated
  3710. }
  3711. postIndex := iNdEx + msglen
  3712. if postIndex > l {
  3713. return io.ErrUnexpectedEOF
  3714. }
  3715. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3716. return err
  3717. }
  3718. iNdEx = postIndex
  3719. default:
  3720. iNdEx = preIndex
  3721. skippy, err := skipGenerated(dAtA[iNdEx:])
  3722. if err != nil {
  3723. return err
  3724. }
  3725. if skippy < 0 {
  3726. return ErrInvalidLengthGenerated
  3727. }
  3728. if (iNdEx + skippy) > l {
  3729. return io.ErrUnexpectedEOF
  3730. }
  3731. iNdEx += skippy
  3732. }
  3733. }
  3734. if iNdEx > l {
  3735. return io.ErrUnexpectedEOF
  3736. }
  3737. return nil
  3738. }
  3739. func (m *DeploymentList) Unmarshal(dAtA []byte) error {
  3740. l := len(dAtA)
  3741. iNdEx := 0
  3742. for iNdEx < l {
  3743. preIndex := iNdEx
  3744. var wire uint64
  3745. for shift := uint(0); ; shift += 7 {
  3746. if shift >= 64 {
  3747. return ErrIntOverflowGenerated
  3748. }
  3749. if iNdEx >= l {
  3750. return io.ErrUnexpectedEOF
  3751. }
  3752. b := dAtA[iNdEx]
  3753. iNdEx++
  3754. wire |= (uint64(b) & 0x7F) << shift
  3755. if b < 0x80 {
  3756. break
  3757. }
  3758. }
  3759. fieldNum := int32(wire >> 3)
  3760. wireType := int(wire & 0x7)
  3761. if wireType == 4 {
  3762. return fmt.Errorf("proto: DeploymentList: wiretype end group for non-group")
  3763. }
  3764. if fieldNum <= 0 {
  3765. return fmt.Errorf("proto: DeploymentList: illegal tag %d (wire type %d)", fieldNum, wire)
  3766. }
  3767. switch fieldNum {
  3768. case 1:
  3769. if wireType != 2 {
  3770. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  3771. }
  3772. var msglen int
  3773. for shift := uint(0); ; shift += 7 {
  3774. if shift >= 64 {
  3775. return ErrIntOverflowGenerated
  3776. }
  3777. if iNdEx >= l {
  3778. return io.ErrUnexpectedEOF
  3779. }
  3780. b := dAtA[iNdEx]
  3781. iNdEx++
  3782. msglen |= (int(b) & 0x7F) << shift
  3783. if b < 0x80 {
  3784. break
  3785. }
  3786. }
  3787. if msglen < 0 {
  3788. return ErrInvalidLengthGenerated
  3789. }
  3790. postIndex := iNdEx + msglen
  3791. if postIndex > l {
  3792. return io.ErrUnexpectedEOF
  3793. }
  3794. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3795. return err
  3796. }
  3797. iNdEx = postIndex
  3798. case 2:
  3799. if wireType != 2 {
  3800. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  3801. }
  3802. var msglen int
  3803. for shift := uint(0); ; shift += 7 {
  3804. if shift >= 64 {
  3805. return ErrIntOverflowGenerated
  3806. }
  3807. if iNdEx >= l {
  3808. return io.ErrUnexpectedEOF
  3809. }
  3810. b := dAtA[iNdEx]
  3811. iNdEx++
  3812. msglen |= (int(b) & 0x7F) << shift
  3813. if b < 0x80 {
  3814. break
  3815. }
  3816. }
  3817. if msglen < 0 {
  3818. return ErrInvalidLengthGenerated
  3819. }
  3820. postIndex := iNdEx + msglen
  3821. if postIndex > l {
  3822. return io.ErrUnexpectedEOF
  3823. }
  3824. m.Items = append(m.Items, Deployment{})
  3825. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3826. return err
  3827. }
  3828. iNdEx = postIndex
  3829. default:
  3830. iNdEx = preIndex
  3831. skippy, err := skipGenerated(dAtA[iNdEx:])
  3832. if err != nil {
  3833. return err
  3834. }
  3835. if skippy < 0 {
  3836. return ErrInvalidLengthGenerated
  3837. }
  3838. if (iNdEx + skippy) > l {
  3839. return io.ErrUnexpectedEOF
  3840. }
  3841. iNdEx += skippy
  3842. }
  3843. }
  3844. if iNdEx > l {
  3845. return io.ErrUnexpectedEOF
  3846. }
  3847. return nil
  3848. }
  3849. func (m *DeploymentSpec) Unmarshal(dAtA []byte) error {
  3850. l := len(dAtA)
  3851. iNdEx := 0
  3852. for iNdEx < l {
  3853. preIndex := iNdEx
  3854. var wire uint64
  3855. for shift := uint(0); ; shift += 7 {
  3856. if shift >= 64 {
  3857. return ErrIntOverflowGenerated
  3858. }
  3859. if iNdEx >= l {
  3860. return io.ErrUnexpectedEOF
  3861. }
  3862. b := dAtA[iNdEx]
  3863. iNdEx++
  3864. wire |= (uint64(b) & 0x7F) << shift
  3865. if b < 0x80 {
  3866. break
  3867. }
  3868. }
  3869. fieldNum := int32(wire >> 3)
  3870. wireType := int(wire & 0x7)
  3871. if wireType == 4 {
  3872. return fmt.Errorf("proto: DeploymentSpec: wiretype end group for non-group")
  3873. }
  3874. if fieldNum <= 0 {
  3875. return fmt.Errorf("proto: DeploymentSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  3876. }
  3877. switch fieldNum {
  3878. case 1:
  3879. if wireType != 0 {
  3880. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  3881. }
  3882. var v int32
  3883. for shift := uint(0); ; shift += 7 {
  3884. if shift >= 64 {
  3885. return ErrIntOverflowGenerated
  3886. }
  3887. if iNdEx >= l {
  3888. return io.ErrUnexpectedEOF
  3889. }
  3890. b := dAtA[iNdEx]
  3891. iNdEx++
  3892. v |= (int32(b) & 0x7F) << shift
  3893. if b < 0x80 {
  3894. break
  3895. }
  3896. }
  3897. m.Replicas = &v
  3898. case 2:
  3899. if wireType != 2 {
  3900. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  3901. }
  3902. var msglen int
  3903. for shift := uint(0); ; shift += 7 {
  3904. if shift >= 64 {
  3905. return ErrIntOverflowGenerated
  3906. }
  3907. if iNdEx >= l {
  3908. return io.ErrUnexpectedEOF
  3909. }
  3910. b := dAtA[iNdEx]
  3911. iNdEx++
  3912. msglen |= (int(b) & 0x7F) << shift
  3913. if b < 0x80 {
  3914. break
  3915. }
  3916. }
  3917. if msglen < 0 {
  3918. return ErrInvalidLengthGenerated
  3919. }
  3920. postIndex := iNdEx + msglen
  3921. if postIndex > l {
  3922. return io.ErrUnexpectedEOF
  3923. }
  3924. if m.Selector == nil {
  3925. m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  3926. }
  3927. if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3928. return err
  3929. }
  3930. iNdEx = postIndex
  3931. case 3:
  3932. if wireType != 2 {
  3933. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  3934. }
  3935. var msglen int
  3936. for shift := uint(0); ; shift += 7 {
  3937. if shift >= 64 {
  3938. return ErrIntOverflowGenerated
  3939. }
  3940. if iNdEx >= l {
  3941. return io.ErrUnexpectedEOF
  3942. }
  3943. b := dAtA[iNdEx]
  3944. iNdEx++
  3945. msglen |= (int(b) & 0x7F) << shift
  3946. if b < 0x80 {
  3947. break
  3948. }
  3949. }
  3950. if msglen < 0 {
  3951. return ErrInvalidLengthGenerated
  3952. }
  3953. postIndex := iNdEx + msglen
  3954. if postIndex > l {
  3955. return io.ErrUnexpectedEOF
  3956. }
  3957. if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3958. return err
  3959. }
  3960. iNdEx = postIndex
  3961. case 4:
  3962. if wireType != 2 {
  3963. return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType)
  3964. }
  3965. var msglen int
  3966. for shift := uint(0); ; shift += 7 {
  3967. if shift >= 64 {
  3968. return ErrIntOverflowGenerated
  3969. }
  3970. if iNdEx >= l {
  3971. return io.ErrUnexpectedEOF
  3972. }
  3973. b := dAtA[iNdEx]
  3974. iNdEx++
  3975. msglen |= (int(b) & 0x7F) << shift
  3976. if b < 0x80 {
  3977. break
  3978. }
  3979. }
  3980. if msglen < 0 {
  3981. return ErrInvalidLengthGenerated
  3982. }
  3983. postIndex := iNdEx + msglen
  3984. if postIndex > l {
  3985. return io.ErrUnexpectedEOF
  3986. }
  3987. if err := m.Strategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3988. return err
  3989. }
  3990. iNdEx = postIndex
  3991. case 5:
  3992. if wireType != 0 {
  3993. return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
  3994. }
  3995. m.MinReadySeconds = 0
  3996. for shift := uint(0); ; shift += 7 {
  3997. if shift >= 64 {
  3998. return ErrIntOverflowGenerated
  3999. }
  4000. if iNdEx >= l {
  4001. return io.ErrUnexpectedEOF
  4002. }
  4003. b := dAtA[iNdEx]
  4004. iNdEx++
  4005. m.MinReadySeconds |= (int32(b) & 0x7F) << shift
  4006. if b < 0x80 {
  4007. break
  4008. }
  4009. }
  4010. case 6:
  4011. if wireType != 0 {
  4012. return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
  4013. }
  4014. var v int32
  4015. for shift := uint(0); ; shift += 7 {
  4016. if shift >= 64 {
  4017. return ErrIntOverflowGenerated
  4018. }
  4019. if iNdEx >= l {
  4020. return io.ErrUnexpectedEOF
  4021. }
  4022. b := dAtA[iNdEx]
  4023. iNdEx++
  4024. v |= (int32(b) & 0x7F) << shift
  4025. if b < 0x80 {
  4026. break
  4027. }
  4028. }
  4029. m.RevisionHistoryLimit = &v
  4030. case 7:
  4031. if wireType != 0 {
  4032. return fmt.Errorf("proto: wrong wireType = %d for field Paused", wireType)
  4033. }
  4034. var v int
  4035. for shift := uint(0); ; shift += 7 {
  4036. if shift >= 64 {
  4037. return ErrIntOverflowGenerated
  4038. }
  4039. if iNdEx >= l {
  4040. return io.ErrUnexpectedEOF
  4041. }
  4042. b := dAtA[iNdEx]
  4043. iNdEx++
  4044. v |= (int(b) & 0x7F) << shift
  4045. if b < 0x80 {
  4046. break
  4047. }
  4048. }
  4049. m.Paused = bool(v != 0)
  4050. case 9:
  4051. if wireType != 0 {
  4052. return fmt.Errorf("proto: wrong wireType = %d for field ProgressDeadlineSeconds", wireType)
  4053. }
  4054. var v int32
  4055. for shift := uint(0); ; shift += 7 {
  4056. if shift >= 64 {
  4057. return ErrIntOverflowGenerated
  4058. }
  4059. if iNdEx >= l {
  4060. return io.ErrUnexpectedEOF
  4061. }
  4062. b := dAtA[iNdEx]
  4063. iNdEx++
  4064. v |= (int32(b) & 0x7F) << shift
  4065. if b < 0x80 {
  4066. break
  4067. }
  4068. }
  4069. m.ProgressDeadlineSeconds = &v
  4070. default:
  4071. iNdEx = preIndex
  4072. skippy, err := skipGenerated(dAtA[iNdEx:])
  4073. if err != nil {
  4074. return err
  4075. }
  4076. if skippy < 0 {
  4077. return ErrInvalidLengthGenerated
  4078. }
  4079. if (iNdEx + skippy) > l {
  4080. return io.ErrUnexpectedEOF
  4081. }
  4082. iNdEx += skippy
  4083. }
  4084. }
  4085. if iNdEx > l {
  4086. return io.ErrUnexpectedEOF
  4087. }
  4088. return nil
  4089. }
  4090. func (m *DeploymentStatus) Unmarshal(dAtA []byte) error {
  4091. l := len(dAtA)
  4092. iNdEx := 0
  4093. for iNdEx < l {
  4094. preIndex := iNdEx
  4095. var wire uint64
  4096. for shift := uint(0); ; shift += 7 {
  4097. if shift >= 64 {
  4098. return ErrIntOverflowGenerated
  4099. }
  4100. if iNdEx >= l {
  4101. return io.ErrUnexpectedEOF
  4102. }
  4103. b := dAtA[iNdEx]
  4104. iNdEx++
  4105. wire |= (uint64(b) & 0x7F) << shift
  4106. if b < 0x80 {
  4107. break
  4108. }
  4109. }
  4110. fieldNum := int32(wire >> 3)
  4111. wireType := int(wire & 0x7)
  4112. if wireType == 4 {
  4113. return fmt.Errorf("proto: DeploymentStatus: wiretype end group for non-group")
  4114. }
  4115. if fieldNum <= 0 {
  4116. return fmt.Errorf("proto: DeploymentStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  4117. }
  4118. switch fieldNum {
  4119. case 1:
  4120. if wireType != 0 {
  4121. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  4122. }
  4123. m.ObservedGeneration = 0
  4124. for shift := uint(0); ; shift += 7 {
  4125. if shift >= 64 {
  4126. return ErrIntOverflowGenerated
  4127. }
  4128. if iNdEx >= l {
  4129. return io.ErrUnexpectedEOF
  4130. }
  4131. b := dAtA[iNdEx]
  4132. iNdEx++
  4133. m.ObservedGeneration |= (int64(b) & 0x7F) << shift
  4134. if b < 0x80 {
  4135. break
  4136. }
  4137. }
  4138. case 2:
  4139. if wireType != 0 {
  4140. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  4141. }
  4142. m.Replicas = 0
  4143. for shift := uint(0); ; shift += 7 {
  4144. if shift >= 64 {
  4145. return ErrIntOverflowGenerated
  4146. }
  4147. if iNdEx >= l {
  4148. return io.ErrUnexpectedEOF
  4149. }
  4150. b := dAtA[iNdEx]
  4151. iNdEx++
  4152. m.Replicas |= (int32(b) & 0x7F) << shift
  4153. if b < 0x80 {
  4154. break
  4155. }
  4156. }
  4157. case 3:
  4158. if wireType != 0 {
  4159. return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType)
  4160. }
  4161. m.UpdatedReplicas = 0
  4162. for shift := uint(0); ; shift += 7 {
  4163. if shift >= 64 {
  4164. return ErrIntOverflowGenerated
  4165. }
  4166. if iNdEx >= l {
  4167. return io.ErrUnexpectedEOF
  4168. }
  4169. b := dAtA[iNdEx]
  4170. iNdEx++
  4171. m.UpdatedReplicas |= (int32(b) & 0x7F) << shift
  4172. if b < 0x80 {
  4173. break
  4174. }
  4175. }
  4176. case 4:
  4177. if wireType != 0 {
  4178. return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
  4179. }
  4180. m.AvailableReplicas = 0
  4181. for shift := uint(0); ; shift += 7 {
  4182. if shift >= 64 {
  4183. return ErrIntOverflowGenerated
  4184. }
  4185. if iNdEx >= l {
  4186. return io.ErrUnexpectedEOF
  4187. }
  4188. b := dAtA[iNdEx]
  4189. iNdEx++
  4190. m.AvailableReplicas |= (int32(b) & 0x7F) << shift
  4191. if b < 0x80 {
  4192. break
  4193. }
  4194. }
  4195. case 5:
  4196. if wireType != 0 {
  4197. return fmt.Errorf("proto: wrong wireType = %d for field UnavailableReplicas", wireType)
  4198. }
  4199. m.UnavailableReplicas = 0
  4200. for shift := uint(0); ; shift += 7 {
  4201. if shift >= 64 {
  4202. return ErrIntOverflowGenerated
  4203. }
  4204. if iNdEx >= l {
  4205. return io.ErrUnexpectedEOF
  4206. }
  4207. b := dAtA[iNdEx]
  4208. iNdEx++
  4209. m.UnavailableReplicas |= (int32(b) & 0x7F) << shift
  4210. if b < 0x80 {
  4211. break
  4212. }
  4213. }
  4214. case 6:
  4215. if wireType != 2 {
  4216. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  4217. }
  4218. var msglen int
  4219. for shift := uint(0); ; shift += 7 {
  4220. if shift >= 64 {
  4221. return ErrIntOverflowGenerated
  4222. }
  4223. if iNdEx >= l {
  4224. return io.ErrUnexpectedEOF
  4225. }
  4226. b := dAtA[iNdEx]
  4227. iNdEx++
  4228. msglen |= (int(b) & 0x7F) << shift
  4229. if b < 0x80 {
  4230. break
  4231. }
  4232. }
  4233. if msglen < 0 {
  4234. return ErrInvalidLengthGenerated
  4235. }
  4236. postIndex := iNdEx + msglen
  4237. if postIndex > l {
  4238. return io.ErrUnexpectedEOF
  4239. }
  4240. m.Conditions = append(m.Conditions, DeploymentCondition{})
  4241. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4242. return err
  4243. }
  4244. iNdEx = postIndex
  4245. case 7:
  4246. if wireType != 0 {
  4247. return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
  4248. }
  4249. m.ReadyReplicas = 0
  4250. for shift := uint(0); ; shift += 7 {
  4251. if shift >= 64 {
  4252. return ErrIntOverflowGenerated
  4253. }
  4254. if iNdEx >= l {
  4255. return io.ErrUnexpectedEOF
  4256. }
  4257. b := dAtA[iNdEx]
  4258. iNdEx++
  4259. m.ReadyReplicas |= (int32(b) & 0x7F) << shift
  4260. if b < 0x80 {
  4261. break
  4262. }
  4263. }
  4264. case 8:
  4265. if wireType != 0 {
  4266. return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
  4267. }
  4268. var v int32
  4269. for shift := uint(0); ; shift += 7 {
  4270. if shift >= 64 {
  4271. return ErrIntOverflowGenerated
  4272. }
  4273. if iNdEx >= l {
  4274. return io.ErrUnexpectedEOF
  4275. }
  4276. b := dAtA[iNdEx]
  4277. iNdEx++
  4278. v |= (int32(b) & 0x7F) << shift
  4279. if b < 0x80 {
  4280. break
  4281. }
  4282. }
  4283. m.CollisionCount = &v
  4284. default:
  4285. iNdEx = preIndex
  4286. skippy, err := skipGenerated(dAtA[iNdEx:])
  4287. if err != nil {
  4288. return err
  4289. }
  4290. if skippy < 0 {
  4291. return ErrInvalidLengthGenerated
  4292. }
  4293. if (iNdEx + skippy) > l {
  4294. return io.ErrUnexpectedEOF
  4295. }
  4296. iNdEx += skippy
  4297. }
  4298. }
  4299. if iNdEx > l {
  4300. return io.ErrUnexpectedEOF
  4301. }
  4302. return nil
  4303. }
  4304. func (m *DeploymentStrategy) Unmarshal(dAtA []byte) error {
  4305. l := len(dAtA)
  4306. iNdEx := 0
  4307. for iNdEx < l {
  4308. preIndex := iNdEx
  4309. var wire uint64
  4310. for shift := uint(0); ; shift += 7 {
  4311. if shift >= 64 {
  4312. return ErrIntOverflowGenerated
  4313. }
  4314. if iNdEx >= l {
  4315. return io.ErrUnexpectedEOF
  4316. }
  4317. b := dAtA[iNdEx]
  4318. iNdEx++
  4319. wire |= (uint64(b) & 0x7F) << shift
  4320. if b < 0x80 {
  4321. break
  4322. }
  4323. }
  4324. fieldNum := int32(wire >> 3)
  4325. wireType := int(wire & 0x7)
  4326. if wireType == 4 {
  4327. return fmt.Errorf("proto: DeploymentStrategy: wiretype end group for non-group")
  4328. }
  4329. if fieldNum <= 0 {
  4330. return fmt.Errorf("proto: DeploymentStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
  4331. }
  4332. switch fieldNum {
  4333. case 1:
  4334. if wireType != 2 {
  4335. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  4336. }
  4337. var stringLen uint64
  4338. for shift := uint(0); ; shift += 7 {
  4339. if shift >= 64 {
  4340. return ErrIntOverflowGenerated
  4341. }
  4342. if iNdEx >= l {
  4343. return io.ErrUnexpectedEOF
  4344. }
  4345. b := dAtA[iNdEx]
  4346. iNdEx++
  4347. stringLen |= (uint64(b) & 0x7F) << shift
  4348. if b < 0x80 {
  4349. break
  4350. }
  4351. }
  4352. intStringLen := int(stringLen)
  4353. if intStringLen < 0 {
  4354. return ErrInvalidLengthGenerated
  4355. }
  4356. postIndex := iNdEx + intStringLen
  4357. if postIndex > l {
  4358. return io.ErrUnexpectedEOF
  4359. }
  4360. m.Type = DeploymentStrategyType(dAtA[iNdEx:postIndex])
  4361. iNdEx = postIndex
  4362. case 2:
  4363. if wireType != 2 {
  4364. return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
  4365. }
  4366. var msglen int
  4367. for shift := uint(0); ; shift += 7 {
  4368. if shift >= 64 {
  4369. return ErrIntOverflowGenerated
  4370. }
  4371. if iNdEx >= l {
  4372. return io.ErrUnexpectedEOF
  4373. }
  4374. b := dAtA[iNdEx]
  4375. iNdEx++
  4376. msglen |= (int(b) & 0x7F) << shift
  4377. if b < 0x80 {
  4378. break
  4379. }
  4380. }
  4381. if msglen < 0 {
  4382. return ErrInvalidLengthGenerated
  4383. }
  4384. postIndex := iNdEx + msglen
  4385. if postIndex > l {
  4386. return io.ErrUnexpectedEOF
  4387. }
  4388. if m.RollingUpdate == nil {
  4389. m.RollingUpdate = &RollingUpdateDeployment{}
  4390. }
  4391. if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4392. return err
  4393. }
  4394. iNdEx = postIndex
  4395. default:
  4396. iNdEx = preIndex
  4397. skippy, err := skipGenerated(dAtA[iNdEx:])
  4398. if err != nil {
  4399. return err
  4400. }
  4401. if skippy < 0 {
  4402. return ErrInvalidLengthGenerated
  4403. }
  4404. if (iNdEx + skippy) > l {
  4405. return io.ErrUnexpectedEOF
  4406. }
  4407. iNdEx += skippy
  4408. }
  4409. }
  4410. if iNdEx > l {
  4411. return io.ErrUnexpectedEOF
  4412. }
  4413. return nil
  4414. }
  4415. func (m *ReplicaSet) Unmarshal(dAtA []byte) error {
  4416. l := len(dAtA)
  4417. iNdEx := 0
  4418. for iNdEx < l {
  4419. preIndex := iNdEx
  4420. var wire uint64
  4421. for shift := uint(0); ; shift += 7 {
  4422. if shift >= 64 {
  4423. return ErrIntOverflowGenerated
  4424. }
  4425. if iNdEx >= l {
  4426. return io.ErrUnexpectedEOF
  4427. }
  4428. b := dAtA[iNdEx]
  4429. iNdEx++
  4430. wire |= (uint64(b) & 0x7F) << shift
  4431. if b < 0x80 {
  4432. break
  4433. }
  4434. }
  4435. fieldNum := int32(wire >> 3)
  4436. wireType := int(wire & 0x7)
  4437. if wireType == 4 {
  4438. return fmt.Errorf("proto: ReplicaSet: wiretype end group for non-group")
  4439. }
  4440. if fieldNum <= 0 {
  4441. return fmt.Errorf("proto: ReplicaSet: illegal tag %d (wire type %d)", fieldNum, wire)
  4442. }
  4443. switch fieldNum {
  4444. case 1:
  4445. if wireType != 2 {
  4446. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  4447. }
  4448. var msglen int
  4449. for shift := uint(0); ; shift += 7 {
  4450. if shift >= 64 {
  4451. return ErrIntOverflowGenerated
  4452. }
  4453. if iNdEx >= l {
  4454. return io.ErrUnexpectedEOF
  4455. }
  4456. b := dAtA[iNdEx]
  4457. iNdEx++
  4458. msglen |= (int(b) & 0x7F) << shift
  4459. if b < 0x80 {
  4460. break
  4461. }
  4462. }
  4463. if msglen < 0 {
  4464. return ErrInvalidLengthGenerated
  4465. }
  4466. postIndex := iNdEx + msglen
  4467. if postIndex > l {
  4468. return io.ErrUnexpectedEOF
  4469. }
  4470. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4471. return err
  4472. }
  4473. iNdEx = postIndex
  4474. case 2:
  4475. if wireType != 2 {
  4476. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  4477. }
  4478. var msglen int
  4479. for shift := uint(0); ; shift += 7 {
  4480. if shift >= 64 {
  4481. return ErrIntOverflowGenerated
  4482. }
  4483. if iNdEx >= l {
  4484. return io.ErrUnexpectedEOF
  4485. }
  4486. b := dAtA[iNdEx]
  4487. iNdEx++
  4488. msglen |= (int(b) & 0x7F) << shift
  4489. if b < 0x80 {
  4490. break
  4491. }
  4492. }
  4493. if msglen < 0 {
  4494. return ErrInvalidLengthGenerated
  4495. }
  4496. postIndex := iNdEx + msglen
  4497. if postIndex > l {
  4498. return io.ErrUnexpectedEOF
  4499. }
  4500. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4501. return err
  4502. }
  4503. iNdEx = postIndex
  4504. case 3:
  4505. if wireType != 2 {
  4506. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  4507. }
  4508. var msglen int
  4509. for shift := uint(0); ; shift += 7 {
  4510. if shift >= 64 {
  4511. return ErrIntOverflowGenerated
  4512. }
  4513. if iNdEx >= l {
  4514. return io.ErrUnexpectedEOF
  4515. }
  4516. b := dAtA[iNdEx]
  4517. iNdEx++
  4518. msglen |= (int(b) & 0x7F) << shift
  4519. if b < 0x80 {
  4520. break
  4521. }
  4522. }
  4523. if msglen < 0 {
  4524. return ErrInvalidLengthGenerated
  4525. }
  4526. postIndex := iNdEx + msglen
  4527. if postIndex > l {
  4528. return io.ErrUnexpectedEOF
  4529. }
  4530. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4531. return err
  4532. }
  4533. iNdEx = postIndex
  4534. default:
  4535. iNdEx = preIndex
  4536. skippy, err := skipGenerated(dAtA[iNdEx:])
  4537. if err != nil {
  4538. return err
  4539. }
  4540. if skippy < 0 {
  4541. return ErrInvalidLengthGenerated
  4542. }
  4543. if (iNdEx + skippy) > l {
  4544. return io.ErrUnexpectedEOF
  4545. }
  4546. iNdEx += skippy
  4547. }
  4548. }
  4549. if iNdEx > l {
  4550. return io.ErrUnexpectedEOF
  4551. }
  4552. return nil
  4553. }
  4554. func (m *ReplicaSetCondition) Unmarshal(dAtA []byte) error {
  4555. l := len(dAtA)
  4556. iNdEx := 0
  4557. for iNdEx < l {
  4558. preIndex := iNdEx
  4559. var wire uint64
  4560. for shift := uint(0); ; shift += 7 {
  4561. if shift >= 64 {
  4562. return ErrIntOverflowGenerated
  4563. }
  4564. if iNdEx >= l {
  4565. return io.ErrUnexpectedEOF
  4566. }
  4567. b := dAtA[iNdEx]
  4568. iNdEx++
  4569. wire |= (uint64(b) & 0x7F) << shift
  4570. if b < 0x80 {
  4571. break
  4572. }
  4573. }
  4574. fieldNum := int32(wire >> 3)
  4575. wireType := int(wire & 0x7)
  4576. if wireType == 4 {
  4577. return fmt.Errorf("proto: ReplicaSetCondition: wiretype end group for non-group")
  4578. }
  4579. if fieldNum <= 0 {
  4580. return fmt.Errorf("proto: ReplicaSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  4581. }
  4582. switch fieldNum {
  4583. case 1:
  4584. if wireType != 2 {
  4585. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  4586. }
  4587. var stringLen uint64
  4588. for shift := uint(0); ; shift += 7 {
  4589. if shift >= 64 {
  4590. return ErrIntOverflowGenerated
  4591. }
  4592. if iNdEx >= l {
  4593. return io.ErrUnexpectedEOF
  4594. }
  4595. b := dAtA[iNdEx]
  4596. iNdEx++
  4597. stringLen |= (uint64(b) & 0x7F) << shift
  4598. if b < 0x80 {
  4599. break
  4600. }
  4601. }
  4602. intStringLen := int(stringLen)
  4603. if intStringLen < 0 {
  4604. return ErrInvalidLengthGenerated
  4605. }
  4606. postIndex := iNdEx + intStringLen
  4607. if postIndex > l {
  4608. return io.ErrUnexpectedEOF
  4609. }
  4610. m.Type = ReplicaSetConditionType(dAtA[iNdEx:postIndex])
  4611. iNdEx = postIndex
  4612. case 2:
  4613. if wireType != 2 {
  4614. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  4615. }
  4616. var stringLen uint64
  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. stringLen |= (uint64(b) & 0x7F) << shift
  4627. if b < 0x80 {
  4628. break
  4629. }
  4630. }
  4631. intStringLen := int(stringLen)
  4632. if intStringLen < 0 {
  4633. return ErrInvalidLengthGenerated
  4634. }
  4635. postIndex := iNdEx + intStringLen
  4636. if postIndex > l {
  4637. return io.ErrUnexpectedEOF
  4638. }
  4639. m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
  4640. iNdEx = postIndex
  4641. case 3:
  4642. if wireType != 2 {
  4643. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  4644. }
  4645. var msglen int
  4646. for shift := uint(0); ; shift += 7 {
  4647. if shift >= 64 {
  4648. return ErrIntOverflowGenerated
  4649. }
  4650. if iNdEx >= l {
  4651. return io.ErrUnexpectedEOF
  4652. }
  4653. b := dAtA[iNdEx]
  4654. iNdEx++
  4655. msglen |= (int(b) & 0x7F) << shift
  4656. if b < 0x80 {
  4657. break
  4658. }
  4659. }
  4660. if msglen < 0 {
  4661. return ErrInvalidLengthGenerated
  4662. }
  4663. postIndex := iNdEx + msglen
  4664. if postIndex > l {
  4665. return io.ErrUnexpectedEOF
  4666. }
  4667. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4668. return err
  4669. }
  4670. iNdEx = postIndex
  4671. case 4:
  4672. if wireType != 2 {
  4673. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  4674. }
  4675. var stringLen uint64
  4676. for shift := uint(0); ; shift += 7 {
  4677. if shift >= 64 {
  4678. return ErrIntOverflowGenerated
  4679. }
  4680. if iNdEx >= l {
  4681. return io.ErrUnexpectedEOF
  4682. }
  4683. b := dAtA[iNdEx]
  4684. iNdEx++
  4685. stringLen |= (uint64(b) & 0x7F) << shift
  4686. if b < 0x80 {
  4687. break
  4688. }
  4689. }
  4690. intStringLen := int(stringLen)
  4691. if intStringLen < 0 {
  4692. return ErrInvalidLengthGenerated
  4693. }
  4694. postIndex := iNdEx + intStringLen
  4695. if postIndex > l {
  4696. return io.ErrUnexpectedEOF
  4697. }
  4698. m.Reason = string(dAtA[iNdEx:postIndex])
  4699. iNdEx = postIndex
  4700. case 5:
  4701. if wireType != 2 {
  4702. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  4703. }
  4704. var stringLen uint64
  4705. for shift := uint(0); ; shift += 7 {
  4706. if shift >= 64 {
  4707. return ErrIntOverflowGenerated
  4708. }
  4709. if iNdEx >= l {
  4710. return io.ErrUnexpectedEOF
  4711. }
  4712. b := dAtA[iNdEx]
  4713. iNdEx++
  4714. stringLen |= (uint64(b) & 0x7F) << shift
  4715. if b < 0x80 {
  4716. break
  4717. }
  4718. }
  4719. intStringLen := int(stringLen)
  4720. if intStringLen < 0 {
  4721. return ErrInvalidLengthGenerated
  4722. }
  4723. postIndex := iNdEx + intStringLen
  4724. if postIndex > l {
  4725. return io.ErrUnexpectedEOF
  4726. }
  4727. m.Message = string(dAtA[iNdEx:postIndex])
  4728. iNdEx = postIndex
  4729. default:
  4730. iNdEx = preIndex
  4731. skippy, err := skipGenerated(dAtA[iNdEx:])
  4732. if err != nil {
  4733. return err
  4734. }
  4735. if skippy < 0 {
  4736. return ErrInvalidLengthGenerated
  4737. }
  4738. if (iNdEx + skippy) > l {
  4739. return io.ErrUnexpectedEOF
  4740. }
  4741. iNdEx += skippy
  4742. }
  4743. }
  4744. if iNdEx > l {
  4745. return io.ErrUnexpectedEOF
  4746. }
  4747. return nil
  4748. }
  4749. func (m *ReplicaSetList) Unmarshal(dAtA []byte) error {
  4750. l := len(dAtA)
  4751. iNdEx := 0
  4752. for iNdEx < l {
  4753. preIndex := iNdEx
  4754. var wire uint64
  4755. for shift := uint(0); ; shift += 7 {
  4756. if shift >= 64 {
  4757. return ErrIntOverflowGenerated
  4758. }
  4759. if iNdEx >= l {
  4760. return io.ErrUnexpectedEOF
  4761. }
  4762. b := dAtA[iNdEx]
  4763. iNdEx++
  4764. wire |= (uint64(b) & 0x7F) << shift
  4765. if b < 0x80 {
  4766. break
  4767. }
  4768. }
  4769. fieldNum := int32(wire >> 3)
  4770. wireType := int(wire & 0x7)
  4771. if wireType == 4 {
  4772. return fmt.Errorf("proto: ReplicaSetList: wiretype end group for non-group")
  4773. }
  4774. if fieldNum <= 0 {
  4775. return fmt.Errorf("proto: ReplicaSetList: illegal tag %d (wire type %d)", fieldNum, wire)
  4776. }
  4777. switch fieldNum {
  4778. case 1:
  4779. if wireType != 2 {
  4780. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  4781. }
  4782. var msglen int
  4783. for shift := uint(0); ; shift += 7 {
  4784. if shift >= 64 {
  4785. return ErrIntOverflowGenerated
  4786. }
  4787. if iNdEx >= l {
  4788. return io.ErrUnexpectedEOF
  4789. }
  4790. b := dAtA[iNdEx]
  4791. iNdEx++
  4792. msglen |= (int(b) & 0x7F) << shift
  4793. if b < 0x80 {
  4794. break
  4795. }
  4796. }
  4797. if msglen < 0 {
  4798. return ErrInvalidLengthGenerated
  4799. }
  4800. postIndex := iNdEx + msglen
  4801. if postIndex > l {
  4802. return io.ErrUnexpectedEOF
  4803. }
  4804. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4805. return err
  4806. }
  4807. iNdEx = postIndex
  4808. case 2:
  4809. if wireType != 2 {
  4810. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  4811. }
  4812. var msglen int
  4813. for shift := uint(0); ; shift += 7 {
  4814. if shift >= 64 {
  4815. return ErrIntOverflowGenerated
  4816. }
  4817. if iNdEx >= l {
  4818. return io.ErrUnexpectedEOF
  4819. }
  4820. b := dAtA[iNdEx]
  4821. iNdEx++
  4822. msglen |= (int(b) & 0x7F) << shift
  4823. if b < 0x80 {
  4824. break
  4825. }
  4826. }
  4827. if msglen < 0 {
  4828. return ErrInvalidLengthGenerated
  4829. }
  4830. postIndex := iNdEx + msglen
  4831. if postIndex > l {
  4832. return io.ErrUnexpectedEOF
  4833. }
  4834. m.Items = append(m.Items, ReplicaSet{})
  4835. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4836. return err
  4837. }
  4838. iNdEx = postIndex
  4839. default:
  4840. iNdEx = preIndex
  4841. skippy, err := skipGenerated(dAtA[iNdEx:])
  4842. if err != nil {
  4843. return err
  4844. }
  4845. if skippy < 0 {
  4846. return ErrInvalidLengthGenerated
  4847. }
  4848. if (iNdEx + skippy) > l {
  4849. return io.ErrUnexpectedEOF
  4850. }
  4851. iNdEx += skippy
  4852. }
  4853. }
  4854. if iNdEx > l {
  4855. return io.ErrUnexpectedEOF
  4856. }
  4857. return nil
  4858. }
  4859. func (m *ReplicaSetSpec) Unmarshal(dAtA []byte) error {
  4860. l := len(dAtA)
  4861. iNdEx := 0
  4862. for iNdEx < l {
  4863. preIndex := iNdEx
  4864. var wire uint64
  4865. for shift := uint(0); ; shift += 7 {
  4866. if shift >= 64 {
  4867. return ErrIntOverflowGenerated
  4868. }
  4869. if iNdEx >= l {
  4870. return io.ErrUnexpectedEOF
  4871. }
  4872. b := dAtA[iNdEx]
  4873. iNdEx++
  4874. wire |= (uint64(b) & 0x7F) << shift
  4875. if b < 0x80 {
  4876. break
  4877. }
  4878. }
  4879. fieldNum := int32(wire >> 3)
  4880. wireType := int(wire & 0x7)
  4881. if wireType == 4 {
  4882. return fmt.Errorf("proto: ReplicaSetSpec: wiretype end group for non-group")
  4883. }
  4884. if fieldNum <= 0 {
  4885. return fmt.Errorf("proto: ReplicaSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  4886. }
  4887. switch fieldNum {
  4888. case 1:
  4889. if wireType != 0 {
  4890. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  4891. }
  4892. var v int32
  4893. for shift := uint(0); ; shift += 7 {
  4894. if shift >= 64 {
  4895. return ErrIntOverflowGenerated
  4896. }
  4897. if iNdEx >= l {
  4898. return io.ErrUnexpectedEOF
  4899. }
  4900. b := dAtA[iNdEx]
  4901. iNdEx++
  4902. v |= (int32(b) & 0x7F) << shift
  4903. if b < 0x80 {
  4904. break
  4905. }
  4906. }
  4907. m.Replicas = &v
  4908. case 2:
  4909. if wireType != 2 {
  4910. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  4911. }
  4912. var msglen int
  4913. for shift := uint(0); ; shift += 7 {
  4914. if shift >= 64 {
  4915. return ErrIntOverflowGenerated
  4916. }
  4917. if iNdEx >= l {
  4918. return io.ErrUnexpectedEOF
  4919. }
  4920. b := dAtA[iNdEx]
  4921. iNdEx++
  4922. msglen |= (int(b) & 0x7F) << shift
  4923. if b < 0x80 {
  4924. break
  4925. }
  4926. }
  4927. if msglen < 0 {
  4928. return ErrInvalidLengthGenerated
  4929. }
  4930. postIndex := iNdEx + msglen
  4931. if postIndex > l {
  4932. return io.ErrUnexpectedEOF
  4933. }
  4934. if m.Selector == nil {
  4935. m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  4936. }
  4937. if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4938. return err
  4939. }
  4940. iNdEx = postIndex
  4941. case 3:
  4942. if wireType != 2 {
  4943. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  4944. }
  4945. var msglen int
  4946. for shift := uint(0); ; shift += 7 {
  4947. if shift >= 64 {
  4948. return ErrIntOverflowGenerated
  4949. }
  4950. if iNdEx >= l {
  4951. return io.ErrUnexpectedEOF
  4952. }
  4953. b := dAtA[iNdEx]
  4954. iNdEx++
  4955. msglen |= (int(b) & 0x7F) << shift
  4956. if b < 0x80 {
  4957. break
  4958. }
  4959. }
  4960. if msglen < 0 {
  4961. return ErrInvalidLengthGenerated
  4962. }
  4963. postIndex := iNdEx + msglen
  4964. if postIndex > l {
  4965. return io.ErrUnexpectedEOF
  4966. }
  4967. if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4968. return err
  4969. }
  4970. iNdEx = postIndex
  4971. case 4:
  4972. if wireType != 0 {
  4973. return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
  4974. }
  4975. m.MinReadySeconds = 0
  4976. for shift := uint(0); ; shift += 7 {
  4977. if shift >= 64 {
  4978. return ErrIntOverflowGenerated
  4979. }
  4980. if iNdEx >= l {
  4981. return io.ErrUnexpectedEOF
  4982. }
  4983. b := dAtA[iNdEx]
  4984. iNdEx++
  4985. m.MinReadySeconds |= (int32(b) & 0x7F) << shift
  4986. if b < 0x80 {
  4987. break
  4988. }
  4989. }
  4990. default:
  4991. iNdEx = preIndex
  4992. skippy, err := skipGenerated(dAtA[iNdEx:])
  4993. if err != nil {
  4994. return err
  4995. }
  4996. if skippy < 0 {
  4997. return ErrInvalidLengthGenerated
  4998. }
  4999. if (iNdEx + skippy) > l {
  5000. return io.ErrUnexpectedEOF
  5001. }
  5002. iNdEx += skippy
  5003. }
  5004. }
  5005. if iNdEx > l {
  5006. return io.ErrUnexpectedEOF
  5007. }
  5008. return nil
  5009. }
  5010. func (m *ReplicaSetStatus) Unmarshal(dAtA []byte) error {
  5011. l := len(dAtA)
  5012. iNdEx := 0
  5013. for iNdEx < l {
  5014. preIndex := iNdEx
  5015. var wire uint64
  5016. for shift := uint(0); ; shift += 7 {
  5017. if shift >= 64 {
  5018. return ErrIntOverflowGenerated
  5019. }
  5020. if iNdEx >= l {
  5021. return io.ErrUnexpectedEOF
  5022. }
  5023. b := dAtA[iNdEx]
  5024. iNdEx++
  5025. wire |= (uint64(b) & 0x7F) << shift
  5026. if b < 0x80 {
  5027. break
  5028. }
  5029. }
  5030. fieldNum := int32(wire >> 3)
  5031. wireType := int(wire & 0x7)
  5032. if wireType == 4 {
  5033. return fmt.Errorf("proto: ReplicaSetStatus: wiretype end group for non-group")
  5034. }
  5035. if fieldNum <= 0 {
  5036. return fmt.Errorf("proto: ReplicaSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  5037. }
  5038. switch fieldNum {
  5039. case 1:
  5040. if wireType != 0 {
  5041. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  5042. }
  5043. m.Replicas = 0
  5044. for shift := uint(0); ; shift += 7 {
  5045. if shift >= 64 {
  5046. return ErrIntOverflowGenerated
  5047. }
  5048. if iNdEx >= l {
  5049. return io.ErrUnexpectedEOF
  5050. }
  5051. b := dAtA[iNdEx]
  5052. iNdEx++
  5053. m.Replicas |= (int32(b) & 0x7F) << shift
  5054. if b < 0x80 {
  5055. break
  5056. }
  5057. }
  5058. case 2:
  5059. if wireType != 0 {
  5060. return fmt.Errorf("proto: wrong wireType = %d for field FullyLabeledReplicas", wireType)
  5061. }
  5062. m.FullyLabeledReplicas = 0
  5063. for shift := uint(0); ; shift += 7 {
  5064. if shift >= 64 {
  5065. return ErrIntOverflowGenerated
  5066. }
  5067. if iNdEx >= l {
  5068. return io.ErrUnexpectedEOF
  5069. }
  5070. b := dAtA[iNdEx]
  5071. iNdEx++
  5072. m.FullyLabeledReplicas |= (int32(b) & 0x7F) << shift
  5073. if b < 0x80 {
  5074. break
  5075. }
  5076. }
  5077. case 3:
  5078. if wireType != 0 {
  5079. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  5080. }
  5081. m.ObservedGeneration = 0
  5082. for shift := uint(0); ; shift += 7 {
  5083. if shift >= 64 {
  5084. return ErrIntOverflowGenerated
  5085. }
  5086. if iNdEx >= l {
  5087. return io.ErrUnexpectedEOF
  5088. }
  5089. b := dAtA[iNdEx]
  5090. iNdEx++
  5091. m.ObservedGeneration |= (int64(b) & 0x7F) << shift
  5092. if b < 0x80 {
  5093. break
  5094. }
  5095. }
  5096. case 4:
  5097. if wireType != 0 {
  5098. return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
  5099. }
  5100. m.ReadyReplicas = 0
  5101. for shift := uint(0); ; shift += 7 {
  5102. if shift >= 64 {
  5103. return ErrIntOverflowGenerated
  5104. }
  5105. if iNdEx >= l {
  5106. return io.ErrUnexpectedEOF
  5107. }
  5108. b := dAtA[iNdEx]
  5109. iNdEx++
  5110. m.ReadyReplicas |= (int32(b) & 0x7F) << shift
  5111. if b < 0x80 {
  5112. break
  5113. }
  5114. }
  5115. case 5:
  5116. if wireType != 0 {
  5117. return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
  5118. }
  5119. m.AvailableReplicas = 0
  5120. for shift := uint(0); ; shift += 7 {
  5121. if shift >= 64 {
  5122. return ErrIntOverflowGenerated
  5123. }
  5124. if iNdEx >= l {
  5125. return io.ErrUnexpectedEOF
  5126. }
  5127. b := dAtA[iNdEx]
  5128. iNdEx++
  5129. m.AvailableReplicas |= (int32(b) & 0x7F) << shift
  5130. if b < 0x80 {
  5131. break
  5132. }
  5133. }
  5134. case 6:
  5135. if wireType != 2 {
  5136. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  5137. }
  5138. var msglen int
  5139. for shift := uint(0); ; shift += 7 {
  5140. if shift >= 64 {
  5141. return ErrIntOverflowGenerated
  5142. }
  5143. if iNdEx >= l {
  5144. return io.ErrUnexpectedEOF
  5145. }
  5146. b := dAtA[iNdEx]
  5147. iNdEx++
  5148. msglen |= (int(b) & 0x7F) << shift
  5149. if b < 0x80 {
  5150. break
  5151. }
  5152. }
  5153. if msglen < 0 {
  5154. return ErrInvalidLengthGenerated
  5155. }
  5156. postIndex := iNdEx + msglen
  5157. if postIndex > l {
  5158. return io.ErrUnexpectedEOF
  5159. }
  5160. m.Conditions = append(m.Conditions, ReplicaSetCondition{})
  5161. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5162. return err
  5163. }
  5164. iNdEx = postIndex
  5165. default:
  5166. iNdEx = preIndex
  5167. skippy, err := skipGenerated(dAtA[iNdEx:])
  5168. if err != nil {
  5169. return err
  5170. }
  5171. if skippy < 0 {
  5172. return ErrInvalidLengthGenerated
  5173. }
  5174. if (iNdEx + skippy) > l {
  5175. return io.ErrUnexpectedEOF
  5176. }
  5177. iNdEx += skippy
  5178. }
  5179. }
  5180. if iNdEx > l {
  5181. return io.ErrUnexpectedEOF
  5182. }
  5183. return nil
  5184. }
  5185. func (m *RollingUpdateDaemonSet) Unmarshal(dAtA []byte) error {
  5186. l := len(dAtA)
  5187. iNdEx := 0
  5188. for iNdEx < l {
  5189. preIndex := iNdEx
  5190. var wire uint64
  5191. for shift := uint(0); ; shift += 7 {
  5192. if shift >= 64 {
  5193. return ErrIntOverflowGenerated
  5194. }
  5195. if iNdEx >= l {
  5196. return io.ErrUnexpectedEOF
  5197. }
  5198. b := dAtA[iNdEx]
  5199. iNdEx++
  5200. wire |= (uint64(b) & 0x7F) << shift
  5201. if b < 0x80 {
  5202. break
  5203. }
  5204. }
  5205. fieldNum := int32(wire >> 3)
  5206. wireType := int(wire & 0x7)
  5207. if wireType == 4 {
  5208. return fmt.Errorf("proto: RollingUpdateDaemonSet: wiretype end group for non-group")
  5209. }
  5210. if fieldNum <= 0 {
  5211. return fmt.Errorf("proto: RollingUpdateDaemonSet: illegal tag %d (wire type %d)", fieldNum, wire)
  5212. }
  5213. switch fieldNum {
  5214. case 1:
  5215. if wireType != 2 {
  5216. return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
  5217. }
  5218. var msglen int
  5219. for shift := uint(0); ; shift += 7 {
  5220. if shift >= 64 {
  5221. return ErrIntOverflowGenerated
  5222. }
  5223. if iNdEx >= l {
  5224. return io.ErrUnexpectedEOF
  5225. }
  5226. b := dAtA[iNdEx]
  5227. iNdEx++
  5228. msglen |= (int(b) & 0x7F) << shift
  5229. if b < 0x80 {
  5230. break
  5231. }
  5232. }
  5233. if msglen < 0 {
  5234. return ErrInvalidLengthGenerated
  5235. }
  5236. postIndex := iNdEx + msglen
  5237. if postIndex > l {
  5238. return io.ErrUnexpectedEOF
  5239. }
  5240. if m.MaxUnavailable == nil {
  5241. m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
  5242. }
  5243. if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5244. return err
  5245. }
  5246. iNdEx = postIndex
  5247. default:
  5248. iNdEx = preIndex
  5249. skippy, err := skipGenerated(dAtA[iNdEx:])
  5250. if err != nil {
  5251. return err
  5252. }
  5253. if skippy < 0 {
  5254. return ErrInvalidLengthGenerated
  5255. }
  5256. if (iNdEx + skippy) > l {
  5257. return io.ErrUnexpectedEOF
  5258. }
  5259. iNdEx += skippy
  5260. }
  5261. }
  5262. if iNdEx > l {
  5263. return io.ErrUnexpectedEOF
  5264. }
  5265. return nil
  5266. }
  5267. func (m *RollingUpdateDeployment) Unmarshal(dAtA []byte) error {
  5268. l := len(dAtA)
  5269. iNdEx := 0
  5270. for iNdEx < l {
  5271. preIndex := iNdEx
  5272. var wire uint64
  5273. for shift := uint(0); ; shift += 7 {
  5274. if shift >= 64 {
  5275. return ErrIntOverflowGenerated
  5276. }
  5277. if iNdEx >= l {
  5278. return io.ErrUnexpectedEOF
  5279. }
  5280. b := dAtA[iNdEx]
  5281. iNdEx++
  5282. wire |= (uint64(b) & 0x7F) << shift
  5283. if b < 0x80 {
  5284. break
  5285. }
  5286. }
  5287. fieldNum := int32(wire >> 3)
  5288. wireType := int(wire & 0x7)
  5289. if wireType == 4 {
  5290. return fmt.Errorf("proto: RollingUpdateDeployment: wiretype end group for non-group")
  5291. }
  5292. if fieldNum <= 0 {
  5293. return fmt.Errorf("proto: RollingUpdateDeployment: illegal tag %d (wire type %d)", fieldNum, wire)
  5294. }
  5295. switch fieldNum {
  5296. case 1:
  5297. if wireType != 2 {
  5298. return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
  5299. }
  5300. var msglen int
  5301. for shift := uint(0); ; shift += 7 {
  5302. if shift >= 64 {
  5303. return ErrIntOverflowGenerated
  5304. }
  5305. if iNdEx >= l {
  5306. return io.ErrUnexpectedEOF
  5307. }
  5308. b := dAtA[iNdEx]
  5309. iNdEx++
  5310. msglen |= (int(b) & 0x7F) << shift
  5311. if b < 0x80 {
  5312. break
  5313. }
  5314. }
  5315. if msglen < 0 {
  5316. return ErrInvalidLengthGenerated
  5317. }
  5318. postIndex := iNdEx + msglen
  5319. if postIndex > l {
  5320. return io.ErrUnexpectedEOF
  5321. }
  5322. if m.MaxUnavailable == nil {
  5323. m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
  5324. }
  5325. if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5326. return err
  5327. }
  5328. iNdEx = postIndex
  5329. case 2:
  5330. if wireType != 2 {
  5331. return fmt.Errorf("proto: wrong wireType = %d for field MaxSurge", wireType)
  5332. }
  5333. var msglen int
  5334. for shift := uint(0); ; shift += 7 {
  5335. if shift >= 64 {
  5336. return ErrIntOverflowGenerated
  5337. }
  5338. if iNdEx >= l {
  5339. return io.ErrUnexpectedEOF
  5340. }
  5341. b := dAtA[iNdEx]
  5342. iNdEx++
  5343. msglen |= (int(b) & 0x7F) << shift
  5344. if b < 0x80 {
  5345. break
  5346. }
  5347. }
  5348. if msglen < 0 {
  5349. return ErrInvalidLengthGenerated
  5350. }
  5351. postIndex := iNdEx + msglen
  5352. if postIndex > l {
  5353. return io.ErrUnexpectedEOF
  5354. }
  5355. if m.MaxSurge == nil {
  5356. m.MaxSurge = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
  5357. }
  5358. if err := m.MaxSurge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5359. return err
  5360. }
  5361. iNdEx = postIndex
  5362. default:
  5363. iNdEx = preIndex
  5364. skippy, err := skipGenerated(dAtA[iNdEx:])
  5365. if err != nil {
  5366. return err
  5367. }
  5368. if skippy < 0 {
  5369. return ErrInvalidLengthGenerated
  5370. }
  5371. if (iNdEx + skippy) > l {
  5372. return io.ErrUnexpectedEOF
  5373. }
  5374. iNdEx += skippy
  5375. }
  5376. }
  5377. if iNdEx > l {
  5378. return io.ErrUnexpectedEOF
  5379. }
  5380. return nil
  5381. }
  5382. func (m *RollingUpdateStatefulSetStrategy) Unmarshal(dAtA []byte) error {
  5383. l := len(dAtA)
  5384. iNdEx := 0
  5385. for iNdEx < l {
  5386. preIndex := iNdEx
  5387. var wire uint64
  5388. for shift := uint(0); ; shift += 7 {
  5389. if shift >= 64 {
  5390. return ErrIntOverflowGenerated
  5391. }
  5392. if iNdEx >= l {
  5393. return io.ErrUnexpectedEOF
  5394. }
  5395. b := dAtA[iNdEx]
  5396. iNdEx++
  5397. wire |= (uint64(b) & 0x7F) << shift
  5398. if b < 0x80 {
  5399. break
  5400. }
  5401. }
  5402. fieldNum := int32(wire >> 3)
  5403. wireType := int(wire & 0x7)
  5404. if wireType == 4 {
  5405. return fmt.Errorf("proto: RollingUpdateStatefulSetStrategy: wiretype end group for non-group")
  5406. }
  5407. if fieldNum <= 0 {
  5408. return fmt.Errorf("proto: RollingUpdateStatefulSetStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
  5409. }
  5410. switch fieldNum {
  5411. case 1:
  5412. if wireType != 0 {
  5413. return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType)
  5414. }
  5415. var v int32
  5416. for shift := uint(0); ; shift += 7 {
  5417. if shift >= 64 {
  5418. return ErrIntOverflowGenerated
  5419. }
  5420. if iNdEx >= l {
  5421. return io.ErrUnexpectedEOF
  5422. }
  5423. b := dAtA[iNdEx]
  5424. iNdEx++
  5425. v |= (int32(b) & 0x7F) << shift
  5426. if b < 0x80 {
  5427. break
  5428. }
  5429. }
  5430. m.Partition = &v
  5431. default:
  5432. iNdEx = preIndex
  5433. skippy, err := skipGenerated(dAtA[iNdEx:])
  5434. if err != nil {
  5435. return err
  5436. }
  5437. if skippy < 0 {
  5438. return ErrInvalidLengthGenerated
  5439. }
  5440. if (iNdEx + skippy) > l {
  5441. return io.ErrUnexpectedEOF
  5442. }
  5443. iNdEx += skippy
  5444. }
  5445. }
  5446. if iNdEx > l {
  5447. return io.ErrUnexpectedEOF
  5448. }
  5449. return nil
  5450. }
  5451. func (m *StatefulSet) Unmarshal(dAtA []byte) error {
  5452. l := len(dAtA)
  5453. iNdEx := 0
  5454. for iNdEx < l {
  5455. preIndex := iNdEx
  5456. var wire uint64
  5457. for shift := uint(0); ; shift += 7 {
  5458. if shift >= 64 {
  5459. return ErrIntOverflowGenerated
  5460. }
  5461. if iNdEx >= l {
  5462. return io.ErrUnexpectedEOF
  5463. }
  5464. b := dAtA[iNdEx]
  5465. iNdEx++
  5466. wire |= (uint64(b) & 0x7F) << shift
  5467. if b < 0x80 {
  5468. break
  5469. }
  5470. }
  5471. fieldNum := int32(wire >> 3)
  5472. wireType := int(wire & 0x7)
  5473. if wireType == 4 {
  5474. return fmt.Errorf("proto: StatefulSet: wiretype end group for non-group")
  5475. }
  5476. if fieldNum <= 0 {
  5477. return fmt.Errorf("proto: StatefulSet: illegal tag %d (wire type %d)", fieldNum, wire)
  5478. }
  5479. switch fieldNum {
  5480. case 1:
  5481. if wireType != 2 {
  5482. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  5483. }
  5484. var msglen 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. msglen |= (int(b) & 0x7F) << shift
  5495. if b < 0x80 {
  5496. break
  5497. }
  5498. }
  5499. if msglen < 0 {
  5500. return ErrInvalidLengthGenerated
  5501. }
  5502. postIndex := iNdEx + msglen
  5503. if postIndex > l {
  5504. return io.ErrUnexpectedEOF
  5505. }
  5506. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5507. return err
  5508. }
  5509. iNdEx = postIndex
  5510. case 2:
  5511. if wireType != 2 {
  5512. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  5513. }
  5514. var msglen int
  5515. for shift := uint(0); ; shift += 7 {
  5516. if shift >= 64 {
  5517. return ErrIntOverflowGenerated
  5518. }
  5519. if iNdEx >= l {
  5520. return io.ErrUnexpectedEOF
  5521. }
  5522. b := dAtA[iNdEx]
  5523. iNdEx++
  5524. msglen |= (int(b) & 0x7F) << shift
  5525. if b < 0x80 {
  5526. break
  5527. }
  5528. }
  5529. if msglen < 0 {
  5530. return ErrInvalidLengthGenerated
  5531. }
  5532. postIndex := iNdEx + msglen
  5533. if postIndex > l {
  5534. return io.ErrUnexpectedEOF
  5535. }
  5536. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5537. return err
  5538. }
  5539. iNdEx = postIndex
  5540. case 3:
  5541. if wireType != 2 {
  5542. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  5543. }
  5544. var msglen int
  5545. for shift := uint(0); ; shift += 7 {
  5546. if shift >= 64 {
  5547. return ErrIntOverflowGenerated
  5548. }
  5549. if iNdEx >= l {
  5550. return io.ErrUnexpectedEOF
  5551. }
  5552. b := dAtA[iNdEx]
  5553. iNdEx++
  5554. msglen |= (int(b) & 0x7F) << shift
  5555. if b < 0x80 {
  5556. break
  5557. }
  5558. }
  5559. if msglen < 0 {
  5560. return ErrInvalidLengthGenerated
  5561. }
  5562. postIndex := iNdEx + msglen
  5563. if postIndex > l {
  5564. return io.ErrUnexpectedEOF
  5565. }
  5566. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5567. return err
  5568. }
  5569. iNdEx = postIndex
  5570. default:
  5571. iNdEx = preIndex
  5572. skippy, err := skipGenerated(dAtA[iNdEx:])
  5573. if err != nil {
  5574. return err
  5575. }
  5576. if skippy < 0 {
  5577. return ErrInvalidLengthGenerated
  5578. }
  5579. if (iNdEx + skippy) > l {
  5580. return io.ErrUnexpectedEOF
  5581. }
  5582. iNdEx += skippy
  5583. }
  5584. }
  5585. if iNdEx > l {
  5586. return io.ErrUnexpectedEOF
  5587. }
  5588. return nil
  5589. }
  5590. func (m *StatefulSetCondition) Unmarshal(dAtA []byte) error {
  5591. l := len(dAtA)
  5592. iNdEx := 0
  5593. for iNdEx < l {
  5594. preIndex := iNdEx
  5595. var wire uint64
  5596. for shift := uint(0); ; shift += 7 {
  5597. if shift >= 64 {
  5598. return ErrIntOverflowGenerated
  5599. }
  5600. if iNdEx >= l {
  5601. return io.ErrUnexpectedEOF
  5602. }
  5603. b := dAtA[iNdEx]
  5604. iNdEx++
  5605. wire |= (uint64(b) & 0x7F) << shift
  5606. if b < 0x80 {
  5607. break
  5608. }
  5609. }
  5610. fieldNum := int32(wire >> 3)
  5611. wireType := int(wire & 0x7)
  5612. if wireType == 4 {
  5613. return fmt.Errorf("proto: StatefulSetCondition: wiretype end group for non-group")
  5614. }
  5615. if fieldNum <= 0 {
  5616. return fmt.Errorf("proto: StatefulSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  5617. }
  5618. switch fieldNum {
  5619. case 1:
  5620. if wireType != 2 {
  5621. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  5622. }
  5623. var stringLen uint64
  5624. for shift := uint(0); ; shift += 7 {
  5625. if shift >= 64 {
  5626. return ErrIntOverflowGenerated
  5627. }
  5628. if iNdEx >= l {
  5629. return io.ErrUnexpectedEOF
  5630. }
  5631. b := dAtA[iNdEx]
  5632. iNdEx++
  5633. stringLen |= (uint64(b) & 0x7F) << shift
  5634. if b < 0x80 {
  5635. break
  5636. }
  5637. }
  5638. intStringLen := int(stringLen)
  5639. if intStringLen < 0 {
  5640. return ErrInvalidLengthGenerated
  5641. }
  5642. postIndex := iNdEx + intStringLen
  5643. if postIndex > l {
  5644. return io.ErrUnexpectedEOF
  5645. }
  5646. m.Type = StatefulSetConditionType(dAtA[iNdEx:postIndex])
  5647. iNdEx = postIndex
  5648. case 2:
  5649. if wireType != 2 {
  5650. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  5651. }
  5652. var stringLen uint64
  5653. for shift := uint(0); ; shift += 7 {
  5654. if shift >= 64 {
  5655. return ErrIntOverflowGenerated
  5656. }
  5657. if iNdEx >= l {
  5658. return io.ErrUnexpectedEOF
  5659. }
  5660. b := dAtA[iNdEx]
  5661. iNdEx++
  5662. stringLen |= (uint64(b) & 0x7F) << shift
  5663. if b < 0x80 {
  5664. break
  5665. }
  5666. }
  5667. intStringLen := int(stringLen)
  5668. if intStringLen < 0 {
  5669. return ErrInvalidLengthGenerated
  5670. }
  5671. postIndex := iNdEx + intStringLen
  5672. if postIndex > l {
  5673. return io.ErrUnexpectedEOF
  5674. }
  5675. m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
  5676. iNdEx = postIndex
  5677. case 3:
  5678. if wireType != 2 {
  5679. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  5680. }
  5681. var msglen int
  5682. for shift := uint(0); ; shift += 7 {
  5683. if shift >= 64 {
  5684. return ErrIntOverflowGenerated
  5685. }
  5686. if iNdEx >= l {
  5687. return io.ErrUnexpectedEOF
  5688. }
  5689. b := dAtA[iNdEx]
  5690. iNdEx++
  5691. msglen |= (int(b) & 0x7F) << shift
  5692. if b < 0x80 {
  5693. break
  5694. }
  5695. }
  5696. if msglen < 0 {
  5697. return ErrInvalidLengthGenerated
  5698. }
  5699. postIndex := iNdEx + msglen
  5700. if postIndex > l {
  5701. return io.ErrUnexpectedEOF
  5702. }
  5703. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5704. return err
  5705. }
  5706. iNdEx = postIndex
  5707. case 4:
  5708. if wireType != 2 {
  5709. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  5710. }
  5711. var stringLen uint64
  5712. for shift := uint(0); ; shift += 7 {
  5713. if shift >= 64 {
  5714. return ErrIntOverflowGenerated
  5715. }
  5716. if iNdEx >= l {
  5717. return io.ErrUnexpectedEOF
  5718. }
  5719. b := dAtA[iNdEx]
  5720. iNdEx++
  5721. stringLen |= (uint64(b) & 0x7F) << shift
  5722. if b < 0x80 {
  5723. break
  5724. }
  5725. }
  5726. intStringLen := int(stringLen)
  5727. if intStringLen < 0 {
  5728. return ErrInvalidLengthGenerated
  5729. }
  5730. postIndex := iNdEx + intStringLen
  5731. if postIndex > l {
  5732. return io.ErrUnexpectedEOF
  5733. }
  5734. m.Reason = string(dAtA[iNdEx:postIndex])
  5735. iNdEx = postIndex
  5736. case 5:
  5737. if wireType != 2 {
  5738. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  5739. }
  5740. var stringLen uint64
  5741. for shift := uint(0); ; shift += 7 {
  5742. if shift >= 64 {
  5743. return ErrIntOverflowGenerated
  5744. }
  5745. if iNdEx >= l {
  5746. return io.ErrUnexpectedEOF
  5747. }
  5748. b := dAtA[iNdEx]
  5749. iNdEx++
  5750. stringLen |= (uint64(b) & 0x7F) << shift
  5751. if b < 0x80 {
  5752. break
  5753. }
  5754. }
  5755. intStringLen := int(stringLen)
  5756. if intStringLen < 0 {
  5757. return ErrInvalidLengthGenerated
  5758. }
  5759. postIndex := iNdEx + intStringLen
  5760. if postIndex > l {
  5761. return io.ErrUnexpectedEOF
  5762. }
  5763. m.Message = string(dAtA[iNdEx:postIndex])
  5764. iNdEx = postIndex
  5765. default:
  5766. iNdEx = preIndex
  5767. skippy, err := skipGenerated(dAtA[iNdEx:])
  5768. if err != nil {
  5769. return err
  5770. }
  5771. if skippy < 0 {
  5772. return ErrInvalidLengthGenerated
  5773. }
  5774. if (iNdEx + skippy) > l {
  5775. return io.ErrUnexpectedEOF
  5776. }
  5777. iNdEx += skippy
  5778. }
  5779. }
  5780. if iNdEx > l {
  5781. return io.ErrUnexpectedEOF
  5782. }
  5783. return nil
  5784. }
  5785. func (m *StatefulSetList) Unmarshal(dAtA []byte) error {
  5786. l := len(dAtA)
  5787. iNdEx := 0
  5788. for iNdEx < l {
  5789. preIndex := iNdEx
  5790. var wire 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. wire |= (uint64(b) & 0x7F) << shift
  5801. if b < 0x80 {
  5802. break
  5803. }
  5804. }
  5805. fieldNum := int32(wire >> 3)
  5806. wireType := int(wire & 0x7)
  5807. if wireType == 4 {
  5808. return fmt.Errorf("proto: StatefulSetList: wiretype end group for non-group")
  5809. }
  5810. if fieldNum <= 0 {
  5811. return fmt.Errorf("proto: StatefulSetList: illegal tag %d (wire type %d)", fieldNum, wire)
  5812. }
  5813. switch fieldNum {
  5814. case 1:
  5815. if wireType != 2 {
  5816. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  5817. }
  5818. var msglen int
  5819. for shift := uint(0); ; shift += 7 {
  5820. if shift >= 64 {
  5821. return ErrIntOverflowGenerated
  5822. }
  5823. if iNdEx >= l {
  5824. return io.ErrUnexpectedEOF
  5825. }
  5826. b := dAtA[iNdEx]
  5827. iNdEx++
  5828. msglen |= (int(b) & 0x7F) << shift
  5829. if b < 0x80 {
  5830. break
  5831. }
  5832. }
  5833. if msglen < 0 {
  5834. return ErrInvalidLengthGenerated
  5835. }
  5836. postIndex := iNdEx + msglen
  5837. if postIndex > l {
  5838. return io.ErrUnexpectedEOF
  5839. }
  5840. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5841. return err
  5842. }
  5843. iNdEx = postIndex
  5844. case 2:
  5845. if wireType != 2 {
  5846. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  5847. }
  5848. var msglen int
  5849. for shift := uint(0); ; shift += 7 {
  5850. if shift >= 64 {
  5851. return ErrIntOverflowGenerated
  5852. }
  5853. if iNdEx >= l {
  5854. return io.ErrUnexpectedEOF
  5855. }
  5856. b := dAtA[iNdEx]
  5857. iNdEx++
  5858. msglen |= (int(b) & 0x7F) << shift
  5859. if b < 0x80 {
  5860. break
  5861. }
  5862. }
  5863. if msglen < 0 {
  5864. return ErrInvalidLengthGenerated
  5865. }
  5866. postIndex := iNdEx + msglen
  5867. if postIndex > l {
  5868. return io.ErrUnexpectedEOF
  5869. }
  5870. m.Items = append(m.Items, StatefulSet{})
  5871. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5872. return err
  5873. }
  5874. iNdEx = postIndex
  5875. default:
  5876. iNdEx = preIndex
  5877. skippy, err := skipGenerated(dAtA[iNdEx:])
  5878. if err != nil {
  5879. return err
  5880. }
  5881. if skippy < 0 {
  5882. return ErrInvalidLengthGenerated
  5883. }
  5884. if (iNdEx + skippy) > l {
  5885. return io.ErrUnexpectedEOF
  5886. }
  5887. iNdEx += skippy
  5888. }
  5889. }
  5890. if iNdEx > l {
  5891. return io.ErrUnexpectedEOF
  5892. }
  5893. return nil
  5894. }
  5895. func (m *StatefulSetSpec) Unmarshal(dAtA []byte) error {
  5896. l := len(dAtA)
  5897. iNdEx := 0
  5898. for iNdEx < l {
  5899. preIndex := iNdEx
  5900. var wire uint64
  5901. for shift := uint(0); ; shift += 7 {
  5902. if shift >= 64 {
  5903. return ErrIntOverflowGenerated
  5904. }
  5905. if iNdEx >= l {
  5906. return io.ErrUnexpectedEOF
  5907. }
  5908. b := dAtA[iNdEx]
  5909. iNdEx++
  5910. wire |= (uint64(b) & 0x7F) << shift
  5911. if b < 0x80 {
  5912. break
  5913. }
  5914. }
  5915. fieldNum := int32(wire >> 3)
  5916. wireType := int(wire & 0x7)
  5917. if wireType == 4 {
  5918. return fmt.Errorf("proto: StatefulSetSpec: wiretype end group for non-group")
  5919. }
  5920. if fieldNum <= 0 {
  5921. return fmt.Errorf("proto: StatefulSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  5922. }
  5923. switch fieldNum {
  5924. case 1:
  5925. if wireType != 0 {
  5926. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  5927. }
  5928. var v int32
  5929. for shift := uint(0); ; shift += 7 {
  5930. if shift >= 64 {
  5931. return ErrIntOverflowGenerated
  5932. }
  5933. if iNdEx >= l {
  5934. return io.ErrUnexpectedEOF
  5935. }
  5936. b := dAtA[iNdEx]
  5937. iNdEx++
  5938. v |= (int32(b) & 0x7F) << shift
  5939. if b < 0x80 {
  5940. break
  5941. }
  5942. }
  5943. m.Replicas = &v
  5944. case 2:
  5945. if wireType != 2 {
  5946. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  5947. }
  5948. var msglen int
  5949. for shift := uint(0); ; shift += 7 {
  5950. if shift >= 64 {
  5951. return ErrIntOverflowGenerated
  5952. }
  5953. if iNdEx >= l {
  5954. return io.ErrUnexpectedEOF
  5955. }
  5956. b := dAtA[iNdEx]
  5957. iNdEx++
  5958. msglen |= (int(b) & 0x7F) << shift
  5959. if b < 0x80 {
  5960. break
  5961. }
  5962. }
  5963. if msglen < 0 {
  5964. return ErrInvalidLengthGenerated
  5965. }
  5966. postIndex := iNdEx + msglen
  5967. if postIndex > l {
  5968. return io.ErrUnexpectedEOF
  5969. }
  5970. if m.Selector == nil {
  5971. m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  5972. }
  5973. if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5974. return err
  5975. }
  5976. iNdEx = postIndex
  5977. case 3:
  5978. if wireType != 2 {
  5979. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  5980. }
  5981. var msglen int
  5982. for shift := uint(0); ; shift += 7 {
  5983. if shift >= 64 {
  5984. return ErrIntOverflowGenerated
  5985. }
  5986. if iNdEx >= l {
  5987. return io.ErrUnexpectedEOF
  5988. }
  5989. b := dAtA[iNdEx]
  5990. iNdEx++
  5991. msglen |= (int(b) & 0x7F) << shift
  5992. if b < 0x80 {
  5993. break
  5994. }
  5995. }
  5996. if msglen < 0 {
  5997. return ErrInvalidLengthGenerated
  5998. }
  5999. postIndex := iNdEx + msglen
  6000. if postIndex > l {
  6001. return io.ErrUnexpectedEOF
  6002. }
  6003. if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6004. return err
  6005. }
  6006. iNdEx = postIndex
  6007. case 4:
  6008. if wireType != 2 {
  6009. return fmt.Errorf("proto: wrong wireType = %d for field VolumeClaimTemplates", wireType)
  6010. }
  6011. var msglen int
  6012. for shift := uint(0); ; shift += 7 {
  6013. if shift >= 64 {
  6014. return ErrIntOverflowGenerated
  6015. }
  6016. if iNdEx >= l {
  6017. return io.ErrUnexpectedEOF
  6018. }
  6019. b := dAtA[iNdEx]
  6020. iNdEx++
  6021. msglen |= (int(b) & 0x7F) << shift
  6022. if b < 0x80 {
  6023. break
  6024. }
  6025. }
  6026. if msglen < 0 {
  6027. return ErrInvalidLengthGenerated
  6028. }
  6029. postIndex := iNdEx + msglen
  6030. if postIndex > l {
  6031. return io.ErrUnexpectedEOF
  6032. }
  6033. m.VolumeClaimTemplates = append(m.VolumeClaimTemplates, k8s_io_api_core_v1.PersistentVolumeClaim{})
  6034. if err := m.VolumeClaimTemplates[len(m.VolumeClaimTemplates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6035. return err
  6036. }
  6037. iNdEx = postIndex
  6038. case 5:
  6039. if wireType != 2 {
  6040. return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType)
  6041. }
  6042. var stringLen uint64
  6043. for shift := uint(0); ; shift += 7 {
  6044. if shift >= 64 {
  6045. return ErrIntOverflowGenerated
  6046. }
  6047. if iNdEx >= l {
  6048. return io.ErrUnexpectedEOF
  6049. }
  6050. b := dAtA[iNdEx]
  6051. iNdEx++
  6052. stringLen |= (uint64(b) & 0x7F) << shift
  6053. if b < 0x80 {
  6054. break
  6055. }
  6056. }
  6057. intStringLen := int(stringLen)
  6058. if intStringLen < 0 {
  6059. return ErrInvalidLengthGenerated
  6060. }
  6061. postIndex := iNdEx + intStringLen
  6062. if postIndex > l {
  6063. return io.ErrUnexpectedEOF
  6064. }
  6065. m.ServiceName = string(dAtA[iNdEx:postIndex])
  6066. iNdEx = postIndex
  6067. case 6:
  6068. if wireType != 2 {
  6069. return fmt.Errorf("proto: wrong wireType = %d for field PodManagementPolicy", wireType)
  6070. }
  6071. var stringLen uint64
  6072. for shift := uint(0); ; shift += 7 {
  6073. if shift >= 64 {
  6074. return ErrIntOverflowGenerated
  6075. }
  6076. if iNdEx >= l {
  6077. return io.ErrUnexpectedEOF
  6078. }
  6079. b := dAtA[iNdEx]
  6080. iNdEx++
  6081. stringLen |= (uint64(b) & 0x7F) << shift
  6082. if b < 0x80 {
  6083. break
  6084. }
  6085. }
  6086. intStringLen := int(stringLen)
  6087. if intStringLen < 0 {
  6088. return ErrInvalidLengthGenerated
  6089. }
  6090. postIndex := iNdEx + intStringLen
  6091. if postIndex > l {
  6092. return io.ErrUnexpectedEOF
  6093. }
  6094. m.PodManagementPolicy = PodManagementPolicyType(dAtA[iNdEx:postIndex])
  6095. iNdEx = postIndex
  6096. case 7:
  6097. if wireType != 2 {
  6098. return fmt.Errorf("proto: wrong wireType = %d for field UpdateStrategy", wireType)
  6099. }
  6100. var msglen int
  6101. for shift := uint(0); ; shift += 7 {
  6102. if shift >= 64 {
  6103. return ErrIntOverflowGenerated
  6104. }
  6105. if iNdEx >= l {
  6106. return io.ErrUnexpectedEOF
  6107. }
  6108. b := dAtA[iNdEx]
  6109. iNdEx++
  6110. msglen |= (int(b) & 0x7F) << shift
  6111. if b < 0x80 {
  6112. break
  6113. }
  6114. }
  6115. if msglen < 0 {
  6116. return ErrInvalidLengthGenerated
  6117. }
  6118. postIndex := iNdEx + msglen
  6119. if postIndex > l {
  6120. return io.ErrUnexpectedEOF
  6121. }
  6122. if err := m.UpdateStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6123. return err
  6124. }
  6125. iNdEx = postIndex
  6126. case 8:
  6127. if wireType != 0 {
  6128. return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
  6129. }
  6130. var v int32
  6131. for shift := uint(0); ; shift += 7 {
  6132. if shift >= 64 {
  6133. return ErrIntOverflowGenerated
  6134. }
  6135. if iNdEx >= l {
  6136. return io.ErrUnexpectedEOF
  6137. }
  6138. b := dAtA[iNdEx]
  6139. iNdEx++
  6140. v |= (int32(b) & 0x7F) << shift
  6141. if b < 0x80 {
  6142. break
  6143. }
  6144. }
  6145. m.RevisionHistoryLimit = &v
  6146. default:
  6147. iNdEx = preIndex
  6148. skippy, err := skipGenerated(dAtA[iNdEx:])
  6149. if err != nil {
  6150. return err
  6151. }
  6152. if skippy < 0 {
  6153. return ErrInvalidLengthGenerated
  6154. }
  6155. if (iNdEx + skippy) > l {
  6156. return io.ErrUnexpectedEOF
  6157. }
  6158. iNdEx += skippy
  6159. }
  6160. }
  6161. if iNdEx > l {
  6162. return io.ErrUnexpectedEOF
  6163. }
  6164. return nil
  6165. }
  6166. func (m *StatefulSetStatus) Unmarshal(dAtA []byte) error {
  6167. l := len(dAtA)
  6168. iNdEx := 0
  6169. for iNdEx < l {
  6170. preIndex := iNdEx
  6171. var wire uint64
  6172. for shift := uint(0); ; shift += 7 {
  6173. if shift >= 64 {
  6174. return ErrIntOverflowGenerated
  6175. }
  6176. if iNdEx >= l {
  6177. return io.ErrUnexpectedEOF
  6178. }
  6179. b := dAtA[iNdEx]
  6180. iNdEx++
  6181. wire |= (uint64(b) & 0x7F) << shift
  6182. if b < 0x80 {
  6183. break
  6184. }
  6185. }
  6186. fieldNum := int32(wire >> 3)
  6187. wireType := int(wire & 0x7)
  6188. if wireType == 4 {
  6189. return fmt.Errorf("proto: StatefulSetStatus: wiretype end group for non-group")
  6190. }
  6191. if fieldNum <= 0 {
  6192. return fmt.Errorf("proto: StatefulSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  6193. }
  6194. switch fieldNum {
  6195. case 1:
  6196. if wireType != 0 {
  6197. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  6198. }
  6199. m.ObservedGeneration = 0
  6200. for shift := uint(0); ; shift += 7 {
  6201. if shift >= 64 {
  6202. return ErrIntOverflowGenerated
  6203. }
  6204. if iNdEx >= l {
  6205. return io.ErrUnexpectedEOF
  6206. }
  6207. b := dAtA[iNdEx]
  6208. iNdEx++
  6209. m.ObservedGeneration |= (int64(b) & 0x7F) << shift
  6210. if b < 0x80 {
  6211. break
  6212. }
  6213. }
  6214. case 2:
  6215. if wireType != 0 {
  6216. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  6217. }
  6218. m.Replicas = 0
  6219. for shift := uint(0); ; shift += 7 {
  6220. if shift >= 64 {
  6221. return ErrIntOverflowGenerated
  6222. }
  6223. if iNdEx >= l {
  6224. return io.ErrUnexpectedEOF
  6225. }
  6226. b := dAtA[iNdEx]
  6227. iNdEx++
  6228. m.Replicas |= (int32(b) & 0x7F) << shift
  6229. if b < 0x80 {
  6230. break
  6231. }
  6232. }
  6233. case 3:
  6234. if wireType != 0 {
  6235. return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
  6236. }
  6237. m.ReadyReplicas = 0
  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. m.ReadyReplicas |= (int32(b) & 0x7F) << shift
  6248. if b < 0x80 {
  6249. break
  6250. }
  6251. }
  6252. case 4:
  6253. if wireType != 0 {
  6254. return fmt.Errorf("proto: wrong wireType = %d for field CurrentReplicas", wireType)
  6255. }
  6256. m.CurrentReplicas = 0
  6257. for shift := uint(0); ; shift += 7 {
  6258. if shift >= 64 {
  6259. return ErrIntOverflowGenerated
  6260. }
  6261. if iNdEx >= l {
  6262. return io.ErrUnexpectedEOF
  6263. }
  6264. b := dAtA[iNdEx]
  6265. iNdEx++
  6266. m.CurrentReplicas |= (int32(b) & 0x7F) << shift
  6267. if b < 0x80 {
  6268. break
  6269. }
  6270. }
  6271. case 5:
  6272. if wireType != 0 {
  6273. return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType)
  6274. }
  6275. m.UpdatedReplicas = 0
  6276. for shift := uint(0); ; shift += 7 {
  6277. if shift >= 64 {
  6278. return ErrIntOverflowGenerated
  6279. }
  6280. if iNdEx >= l {
  6281. return io.ErrUnexpectedEOF
  6282. }
  6283. b := dAtA[iNdEx]
  6284. iNdEx++
  6285. m.UpdatedReplicas |= (int32(b) & 0x7F) << shift
  6286. if b < 0x80 {
  6287. break
  6288. }
  6289. }
  6290. case 6:
  6291. if wireType != 2 {
  6292. return fmt.Errorf("proto: wrong wireType = %d for field CurrentRevision", wireType)
  6293. }
  6294. var stringLen uint64
  6295. for shift := uint(0); ; shift += 7 {
  6296. if shift >= 64 {
  6297. return ErrIntOverflowGenerated
  6298. }
  6299. if iNdEx >= l {
  6300. return io.ErrUnexpectedEOF
  6301. }
  6302. b := dAtA[iNdEx]
  6303. iNdEx++
  6304. stringLen |= (uint64(b) & 0x7F) << shift
  6305. if b < 0x80 {
  6306. break
  6307. }
  6308. }
  6309. intStringLen := int(stringLen)
  6310. if intStringLen < 0 {
  6311. return ErrInvalidLengthGenerated
  6312. }
  6313. postIndex := iNdEx + intStringLen
  6314. if postIndex > l {
  6315. return io.ErrUnexpectedEOF
  6316. }
  6317. m.CurrentRevision = string(dAtA[iNdEx:postIndex])
  6318. iNdEx = postIndex
  6319. case 7:
  6320. if wireType != 2 {
  6321. return fmt.Errorf("proto: wrong wireType = %d for field UpdateRevision", wireType)
  6322. }
  6323. var stringLen uint64
  6324. for shift := uint(0); ; shift += 7 {
  6325. if shift >= 64 {
  6326. return ErrIntOverflowGenerated
  6327. }
  6328. if iNdEx >= l {
  6329. return io.ErrUnexpectedEOF
  6330. }
  6331. b := dAtA[iNdEx]
  6332. iNdEx++
  6333. stringLen |= (uint64(b) & 0x7F) << shift
  6334. if b < 0x80 {
  6335. break
  6336. }
  6337. }
  6338. intStringLen := int(stringLen)
  6339. if intStringLen < 0 {
  6340. return ErrInvalidLengthGenerated
  6341. }
  6342. postIndex := iNdEx + intStringLen
  6343. if postIndex > l {
  6344. return io.ErrUnexpectedEOF
  6345. }
  6346. m.UpdateRevision = string(dAtA[iNdEx:postIndex])
  6347. iNdEx = postIndex
  6348. case 9:
  6349. if wireType != 0 {
  6350. return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
  6351. }
  6352. var v int32
  6353. for shift := uint(0); ; shift += 7 {
  6354. if shift >= 64 {
  6355. return ErrIntOverflowGenerated
  6356. }
  6357. if iNdEx >= l {
  6358. return io.ErrUnexpectedEOF
  6359. }
  6360. b := dAtA[iNdEx]
  6361. iNdEx++
  6362. v |= (int32(b) & 0x7F) << shift
  6363. if b < 0x80 {
  6364. break
  6365. }
  6366. }
  6367. m.CollisionCount = &v
  6368. case 10:
  6369. if wireType != 2 {
  6370. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  6371. }
  6372. var msglen int
  6373. for shift := uint(0); ; shift += 7 {
  6374. if shift >= 64 {
  6375. return ErrIntOverflowGenerated
  6376. }
  6377. if iNdEx >= l {
  6378. return io.ErrUnexpectedEOF
  6379. }
  6380. b := dAtA[iNdEx]
  6381. iNdEx++
  6382. msglen |= (int(b) & 0x7F) << shift
  6383. if b < 0x80 {
  6384. break
  6385. }
  6386. }
  6387. if msglen < 0 {
  6388. return ErrInvalidLengthGenerated
  6389. }
  6390. postIndex := iNdEx + msglen
  6391. if postIndex > l {
  6392. return io.ErrUnexpectedEOF
  6393. }
  6394. m.Conditions = append(m.Conditions, StatefulSetCondition{})
  6395. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6396. return err
  6397. }
  6398. iNdEx = postIndex
  6399. default:
  6400. iNdEx = preIndex
  6401. skippy, err := skipGenerated(dAtA[iNdEx:])
  6402. if err != nil {
  6403. return err
  6404. }
  6405. if skippy < 0 {
  6406. return ErrInvalidLengthGenerated
  6407. }
  6408. if (iNdEx + skippy) > l {
  6409. return io.ErrUnexpectedEOF
  6410. }
  6411. iNdEx += skippy
  6412. }
  6413. }
  6414. if iNdEx > l {
  6415. return io.ErrUnexpectedEOF
  6416. }
  6417. return nil
  6418. }
  6419. func (m *StatefulSetUpdateStrategy) Unmarshal(dAtA []byte) error {
  6420. l := len(dAtA)
  6421. iNdEx := 0
  6422. for iNdEx < l {
  6423. preIndex := iNdEx
  6424. var wire uint64
  6425. for shift := uint(0); ; shift += 7 {
  6426. if shift >= 64 {
  6427. return ErrIntOverflowGenerated
  6428. }
  6429. if iNdEx >= l {
  6430. return io.ErrUnexpectedEOF
  6431. }
  6432. b := dAtA[iNdEx]
  6433. iNdEx++
  6434. wire |= (uint64(b) & 0x7F) << shift
  6435. if b < 0x80 {
  6436. break
  6437. }
  6438. }
  6439. fieldNum := int32(wire >> 3)
  6440. wireType := int(wire & 0x7)
  6441. if wireType == 4 {
  6442. return fmt.Errorf("proto: StatefulSetUpdateStrategy: wiretype end group for non-group")
  6443. }
  6444. if fieldNum <= 0 {
  6445. return fmt.Errorf("proto: StatefulSetUpdateStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
  6446. }
  6447. switch fieldNum {
  6448. case 1:
  6449. if wireType != 2 {
  6450. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  6451. }
  6452. var stringLen uint64
  6453. for shift := uint(0); ; shift += 7 {
  6454. if shift >= 64 {
  6455. return ErrIntOverflowGenerated
  6456. }
  6457. if iNdEx >= l {
  6458. return io.ErrUnexpectedEOF
  6459. }
  6460. b := dAtA[iNdEx]
  6461. iNdEx++
  6462. stringLen |= (uint64(b) & 0x7F) << shift
  6463. if b < 0x80 {
  6464. break
  6465. }
  6466. }
  6467. intStringLen := int(stringLen)
  6468. if intStringLen < 0 {
  6469. return ErrInvalidLengthGenerated
  6470. }
  6471. postIndex := iNdEx + intStringLen
  6472. if postIndex > l {
  6473. return io.ErrUnexpectedEOF
  6474. }
  6475. m.Type = StatefulSetUpdateStrategyType(dAtA[iNdEx:postIndex])
  6476. iNdEx = postIndex
  6477. case 2:
  6478. if wireType != 2 {
  6479. return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
  6480. }
  6481. var msglen int
  6482. for shift := uint(0); ; shift += 7 {
  6483. if shift >= 64 {
  6484. return ErrIntOverflowGenerated
  6485. }
  6486. if iNdEx >= l {
  6487. return io.ErrUnexpectedEOF
  6488. }
  6489. b := dAtA[iNdEx]
  6490. iNdEx++
  6491. msglen |= (int(b) & 0x7F) << shift
  6492. if b < 0x80 {
  6493. break
  6494. }
  6495. }
  6496. if msglen < 0 {
  6497. return ErrInvalidLengthGenerated
  6498. }
  6499. postIndex := iNdEx + msglen
  6500. if postIndex > l {
  6501. return io.ErrUnexpectedEOF
  6502. }
  6503. if m.RollingUpdate == nil {
  6504. m.RollingUpdate = &RollingUpdateStatefulSetStrategy{}
  6505. }
  6506. if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6507. return err
  6508. }
  6509. iNdEx = postIndex
  6510. default:
  6511. iNdEx = preIndex
  6512. skippy, err := skipGenerated(dAtA[iNdEx:])
  6513. if err != nil {
  6514. return err
  6515. }
  6516. if skippy < 0 {
  6517. return ErrInvalidLengthGenerated
  6518. }
  6519. if (iNdEx + skippy) > l {
  6520. return io.ErrUnexpectedEOF
  6521. }
  6522. iNdEx += skippy
  6523. }
  6524. }
  6525. if iNdEx > l {
  6526. return io.ErrUnexpectedEOF
  6527. }
  6528. return nil
  6529. }
  6530. func skipGenerated(dAtA []byte) (n int, err error) {
  6531. l := len(dAtA)
  6532. iNdEx := 0
  6533. for iNdEx < l {
  6534. var wire uint64
  6535. for shift := uint(0); ; shift += 7 {
  6536. if shift >= 64 {
  6537. return 0, ErrIntOverflowGenerated
  6538. }
  6539. if iNdEx >= l {
  6540. return 0, io.ErrUnexpectedEOF
  6541. }
  6542. b := dAtA[iNdEx]
  6543. iNdEx++
  6544. wire |= (uint64(b) & 0x7F) << shift
  6545. if b < 0x80 {
  6546. break
  6547. }
  6548. }
  6549. wireType := int(wire & 0x7)
  6550. switch wireType {
  6551. case 0:
  6552. for shift := uint(0); ; shift += 7 {
  6553. if shift >= 64 {
  6554. return 0, ErrIntOverflowGenerated
  6555. }
  6556. if iNdEx >= l {
  6557. return 0, io.ErrUnexpectedEOF
  6558. }
  6559. iNdEx++
  6560. if dAtA[iNdEx-1] < 0x80 {
  6561. break
  6562. }
  6563. }
  6564. return iNdEx, nil
  6565. case 1:
  6566. iNdEx += 8
  6567. return iNdEx, nil
  6568. case 2:
  6569. var length int
  6570. for shift := uint(0); ; shift += 7 {
  6571. if shift >= 64 {
  6572. return 0, ErrIntOverflowGenerated
  6573. }
  6574. if iNdEx >= l {
  6575. return 0, io.ErrUnexpectedEOF
  6576. }
  6577. b := dAtA[iNdEx]
  6578. iNdEx++
  6579. length |= (int(b) & 0x7F) << shift
  6580. if b < 0x80 {
  6581. break
  6582. }
  6583. }
  6584. iNdEx += length
  6585. if length < 0 {
  6586. return 0, ErrInvalidLengthGenerated
  6587. }
  6588. return iNdEx, nil
  6589. case 3:
  6590. for {
  6591. var innerWire uint64
  6592. var start int = iNdEx
  6593. for shift := uint(0); ; shift += 7 {
  6594. if shift >= 64 {
  6595. return 0, ErrIntOverflowGenerated
  6596. }
  6597. if iNdEx >= l {
  6598. return 0, io.ErrUnexpectedEOF
  6599. }
  6600. b := dAtA[iNdEx]
  6601. iNdEx++
  6602. innerWire |= (uint64(b) & 0x7F) << shift
  6603. if b < 0x80 {
  6604. break
  6605. }
  6606. }
  6607. innerWireType := int(innerWire & 0x7)
  6608. if innerWireType == 4 {
  6609. break
  6610. }
  6611. next, err := skipGenerated(dAtA[start:])
  6612. if err != nil {
  6613. return 0, err
  6614. }
  6615. iNdEx = start + next
  6616. }
  6617. return iNdEx, nil
  6618. case 4:
  6619. return iNdEx, nil
  6620. case 5:
  6621. iNdEx += 4
  6622. return iNdEx, nil
  6623. default:
  6624. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  6625. }
  6626. }
  6627. panic("unreachable")
  6628. }
  6629. var (
  6630. ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
  6631. ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
  6632. )
  6633. func init() {
  6634. proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/apps/v1/generated.proto", fileDescriptorGenerated)
  6635. }
  6636. var fileDescriptorGenerated = []byte{
  6637. // 2037 bytes of a gzipped FileDescriptorProto
  6638. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcd, 0x6f, 0x24, 0x47,
  6639. 0x1d, 0x75, 0xcf, 0x87, 0x3d, 0x2e, 0xaf, 0xed, 0xdd, 0xb2, 0xb1, 0x27, 0xbb, 0x64, 0x66, 0x19,
  6640. 0x60, 0xe3, 0x64, 0xb3, 0x3d, 0xec, 0x66, 0x13, 0xa1, 0x2c, 0x02, 0x79, 0xc6, 0x21, 0x84, 0x78,
  6641. 0x6c, 0x53, 0x5e, 0xef, 0x61, 0x09, 0x12, 0xe5, 0xe9, 0xda, 0x71, 0xc7, 0xfd, 0xa5, 0xee, 0xea,
  6642. 0x61, 0x47, 0x5c, 0x10, 0x12, 0x9c, 0x38, 0xf0, 0x9f, 0x20, 0x84, 0xe0, 0x86, 0x22, 0xc4, 0x65,
  6643. 0x2f, 0x48, 0x11, 0x17, 0x72, 0xb2, 0xd8, 0xc9, 0x09, 0xa1, 0x1c, 0xb9, 0xe4, 0x02, 0xaa, 0xea,
  6644. 0xea, 0xef, 0x6a, 0xcf, 0xd8, 0x9b, 0x75, 0x50, 0x94, 0x9b, 0xa7, 0xea, 0xfd, 0x5e, 0xff, 0xaa,
  6645. 0xea, 0x57, 0xf5, 0x5e, 0x57, 0x1b, 0xdc, 0x3b, 0xfe, 0xb6, 0xa7, 0xea, 0x76, 0xfb, 0xd8, 0x3f,
  6646. 0x24, 0xae, 0x45, 0x28, 0xf1, 0xda, 0x43, 0x62, 0x69, 0xb6, 0xdb, 0x16, 0x1d, 0xd8, 0xd1, 0xdb,
  6647. 0xd8, 0x71, 0xbc, 0xf6, 0xf0, 0x76, 0x7b, 0x40, 0x2c, 0xe2, 0x62, 0x4a, 0x34, 0xd5, 0x71, 0x6d,
  6648. 0x6a, 0x43, 0x18, 0x60, 0x54, 0xec, 0xe8, 0x2a, 0xc3, 0xa8, 0xc3, 0xdb, 0x57, 0x6f, 0x0d, 0x74,
  6649. 0x7a, 0xe4, 0x1f, 0xaa, 0x7d, 0xdb, 0x6c, 0x0f, 0xec, 0x81, 0xdd, 0xe6, 0xd0, 0x43, 0xff, 0x11,
  6650. 0xff, 0xc5, 0x7f, 0xf0, 0xbf, 0x02, 0x8a, 0xab, 0xad, 0xc4, 0x63, 0xfa, 0xb6, 0x4b, 0x24, 0x8f,
  6651. 0xb9, 0x7a, 0x37, 0xc6, 0x98, 0xb8, 0x7f, 0xa4, 0x5b, 0xc4, 0x1d, 0xb5, 0x9d, 0xe3, 0x01, 0x6b,
  6652. 0xf0, 0xda, 0x26, 0xa1, 0x58, 0x16, 0xd5, 0x2e, 0x8a, 0x72, 0x7d, 0x8b, 0xea, 0x26, 0xc9, 0x05,
  6653. 0xbc, 0x31, 0x29, 0xc0, 0xeb, 0x1f, 0x11, 0x13, 0xe7, 0xe2, 0x5e, 0x2b, 0x8a, 0xf3, 0xa9, 0x6e,
  6654. 0xb4, 0x75, 0x8b, 0x7a, 0xd4, 0xcd, 0x06, 0xb5, 0xfe, 0xa3, 0x00, 0xd8, 0xb5, 0x2d, 0xea, 0xda,
  6655. 0x86, 0x41, 0x5c, 0x44, 0x86, 0xba, 0xa7, 0xdb, 0x16, 0xfc, 0x29, 0xa8, 0xb1, 0xf1, 0x68, 0x98,
  6656. 0xe2, 0xba, 0x72, 0x5d, 0xd9, 0x58, 0xb8, 0xf3, 0x2d, 0x35, 0x9e, 0xe4, 0x88, 0x5e, 0x75, 0x8e,
  6657. 0x07, 0xac, 0xc1, 0x53, 0x19, 0x5a, 0x1d, 0xde, 0x56, 0x77, 0x0f, 0xdf, 0x27, 0x7d, 0xda, 0x23,
  6658. 0x14, 0x77, 0xe0, 0x93, 0x93, 0xe6, 0xcc, 0xf8, 0xa4, 0x09, 0xe2, 0x36, 0x14, 0xb1, 0xc2, 0x5d,
  6659. 0x50, 0xe1, 0xec, 0x25, 0xce, 0x7e, 0xab, 0x90, 0x5d, 0x0c, 0x5a, 0x45, 0xf8, 0x67, 0x6f, 0x3d,
  6660. 0xa6, 0xc4, 0x62, 0xe9, 0x75, 0x2e, 0x09, 0xea, 0xca, 0x16, 0xa6, 0x18, 0x71, 0x22, 0xf8, 0x2a,
  6661. 0xa8, 0xb9, 0x22, 0xfd, 0x7a, 0xf9, 0xba, 0xb2, 0x51, 0xee, 0x5c, 0x16, 0xa8, 0x5a, 0x38, 0x2c,
  6662. 0x14, 0x21, 0x5a, 0x7f, 0x55, 0xc0, 0x5a, 0x7e, 0xdc, 0xdb, 0xba, 0x47, 0xe1, 0x7b, 0xb9, 0xb1,
  6663. 0xab, 0xd3, 0x8d, 0x9d, 0x45, 0xf3, 0x91, 0x47, 0x0f, 0x0e, 0x5b, 0x12, 0xe3, 0x7e, 0x17, 0x54,
  6664. 0x75, 0x4a, 0x4c, 0xaf, 0x5e, 0xba, 0x5e, 0xde, 0x58, 0xb8, 0x73, 0x43, 0xcd, 0xd7, 0xae, 0x9a,
  6665. 0x4f, 0xac, 0xb3, 0x28, 0x28, 0xab, 0xef, 0xb0, 0x60, 0x14, 0x70, 0xb4, 0xfe, 0xab, 0x80, 0xf9,
  6666. 0x2d, 0x4c, 0x4c, 0xdb, 0xda, 0x27, 0xf4, 0x02, 0x16, 0xad, 0x0b, 0x2a, 0x9e, 0x43, 0xfa, 0x62,
  6667. 0xd1, 0xbe, 0x26, 0xcb, 0x3d, 0x4a, 0x67, 0xdf, 0x21, 0xfd, 0x78, 0xa1, 0xd8, 0x2f, 0xc4, 0x83,
  6668. 0xe1, 0xbb, 0x60, 0xd6, 0xa3, 0x98, 0xfa, 0x1e, 0x5f, 0xa6, 0x85, 0x3b, 0x5f, 0x3f, 0x9d, 0x86,
  6669. 0x43, 0x3b, 0x4b, 0x82, 0x68, 0x36, 0xf8, 0x8d, 0x04, 0x45, 0xeb, 0x5f, 0x25, 0x00, 0x23, 0x6c,
  6670. 0xd7, 0xb6, 0x34, 0x9d, 0xb2, 0xfa, 0x7d, 0x13, 0x54, 0xe8, 0xc8, 0x21, 0x7c, 0x1a, 0xe6, 0x3b,
  6671. 0x37, 0xc2, 0x2c, 0xee, 0x8f, 0x1c, 0xf2, 0xe9, 0x49, 0x73, 0x2d, 0x1f, 0xc1, 0x7a, 0x10, 0x8f,
  6672. 0x81, 0xdb, 0x51, 0x7e, 0x25, 0x1e, 0x7d, 0x37, 0xfd, 0xe8, 0x4f, 0x4f, 0x9a, 0x92, 0xc3, 0x42,
  6673. 0x8d, 0x98, 0xd2, 0x09, 0xc2, 0x21, 0x80, 0x06, 0xf6, 0xe8, 0x7d, 0x17, 0x5b, 0x5e, 0xf0, 0x24,
  6674. 0xdd, 0x24, 0x62, 0xe4, 0xaf, 0x4c, 0xb7, 0x3c, 0x2c, 0xa2, 0x73, 0x55, 0x64, 0x01, 0xb7, 0x73,
  6675. 0x6c, 0x48, 0xf2, 0x04, 0x78, 0x03, 0xcc, 0xba, 0x04, 0x7b, 0xb6, 0x55, 0xaf, 0xf0, 0x51, 0x44,
  6676. 0x13, 0x88, 0x78, 0x2b, 0x12, 0xbd, 0xf0, 0x65, 0x30, 0x67, 0x12, 0xcf, 0xc3, 0x03, 0x52, 0xaf,
  6677. 0x72, 0xe0, 0xb2, 0x00, 0xce, 0xf5, 0x82, 0x66, 0x14, 0xf6, 0xb7, 0x7e, 0xaf, 0x80, 0xc5, 0x68,
  6678. 0xe6, 0x2e, 0x60, 0xab, 0x74, 0xd2, 0x5b, 0xe5, 0xc5, 0x53, 0xeb, 0xa4, 0x60, 0x87, 0x7c, 0x50,
  6679. 0x4e, 0xe4, 0xcc, 0x8a, 0x10, 0xfe, 0x04, 0xd4, 0x3c, 0x62, 0x90, 0x3e, 0xb5, 0x5d, 0x91, 0xf3,
  6680. 0x6b, 0x53, 0xe6, 0x8c, 0x0f, 0x89, 0xb1, 0x2f, 0x42, 0x3b, 0x97, 0x58, 0xd2, 0xe1, 0x2f, 0x14,
  6681. 0x51, 0xc2, 0x1f, 0x81, 0x1a, 0x25, 0xa6, 0x63, 0x60, 0x4a, 0xc4, 0x36, 0x49, 0xd5, 0x37, 0x2b,
  6682. 0x17, 0x46, 0xb6, 0x67, 0x6b, 0xf7, 0x05, 0x8c, 0x6f, 0x94, 0x68, 0x1e, 0xc2, 0x56, 0x14, 0xd1,
  6683. 0xc0, 0x63, 0xb0, 0xe4, 0x3b, 0x1a, 0x43, 0x52, 0x76, 0x74, 0x0f, 0x46, 0xa2, 0x7c, 0x6e, 0x9e,
  6684. 0x3a, 0x21, 0x07, 0xa9, 0x90, 0xce, 0x9a, 0x78, 0xc0, 0x52, 0xba, 0x1d, 0x65, 0xa8, 0xe1, 0x26,
  6685. 0x58, 0x36, 0x75, 0x0b, 0x11, 0xac, 0x8d, 0xf6, 0x49, 0xdf, 0xb6, 0x34, 0x8f, 0x17, 0x50, 0xb5,
  6686. 0xb3, 0x2e, 0x08, 0x96, 0x7b, 0xe9, 0x6e, 0x94, 0xc5, 0xc3, 0x6d, 0xb0, 0x1a, 0x9e, 0xb3, 0x3f,
  6687. 0xd0, 0x3d, 0x6a, 0xbb, 0xa3, 0x6d, 0xdd, 0xd4, 0x69, 0x7d, 0x96, 0xf3, 0xd4, 0xc7, 0x27, 0xcd,
  6688. 0x55, 0x24, 0xe9, 0x47, 0xd2, 0xa8, 0xd6, 0x6f, 0x66, 0xc1, 0x72, 0xe6, 0x34, 0x80, 0x0f, 0xc0,
  6689. 0x5a, 0xdf, 0x77, 0x5d, 0x62, 0xd1, 0x1d, 0xdf, 0x3c, 0x24, 0xee, 0x7e, 0xff, 0x88, 0x68, 0xbe,
  6690. 0x41, 0x34, 0xbe, 0xa2, 0xd5, 0x4e, 0x43, 0xe4, 0xba, 0xd6, 0x95, 0xa2, 0x50, 0x41, 0x34, 0xfc,
  6691. 0x21, 0x80, 0x16, 0x6f, 0xea, 0xe9, 0x9e, 0x17, 0x71, 0x96, 0x38, 0x67, 0xb4, 0x01, 0x77, 0x72,
  6692. 0x08, 0x24, 0x89, 0x62, 0x39, 0x6a, 0xc4, 0xd3, 0x5d, 0xa2, 0x65, 0x73, 0x2c, 0xa7, 0x73, 0xdc,
  6693. 0x92, 0xa2, 0x50, 0x41, 0x34, 0x7c, 0x1d, 0x2c, 0x04, 0x4f, 0xe3, 0x73, 0x2e, 0x16, 0x67, 0x45,
  6694. 0x90, 0x2d, 0xec, 0xc4, 0x5d, 0x28, 0x89, 0x63, 0x43, 0xb3, 0x0f, 0x3d, 0xe2, 0x0e, 0x89, 0xf6,
  6695. 0x76, 0xe0, 0x01, 0x98, 0x50, 0x56, 0xb9, 0x50, 0x46, 0x43, 0xdb, 0xcd, 0x21, 0x90, 0x24, 0x8a,
  6696. 0x0d, 0x2d, 0xa8, 0x9a, 0xdc, 0xd0, 0x66, 0xd3, 0x43, 0x3b, 0x90, 0xa2, 0x50, 0x41, 0x34, 0xab,
  6697. 0xbd, 0x20, 0xe5, 0xcd, 0x21, 0xd6, 0x0d, 0x7c, 0x68, 0x90, 0xfa, 0x5c, 0xba, 0xf6, 0x76, 0xd2,
  6698. 0xdd, 0x28, 0x8b, 0x87, 0x6f, 0x83, 0x2b, 0x41, 0xd3, 0x81, 0x85, 0x23, 0x92, 0x1a, 0x27, 0x79,
  6699. 0x41, 0x90, 0x5c, 0xd9, 0xc9, 0x02, 0x50, 0x3e, 0x06, 0xbe, 0x09, 0x96, 0xfa, 0xb6, 0x61, 0xf0,
  6700. 0x7a, 0xec, 0xda, 0xbe, 0x45, 0xeb, 0xf3, 0x9c, 0x05, 0xb2, 0x3d, 0xd4, 0x4d, 0xf5, 0xa0, 0x0c,
  6701. 0x12, 0x3e, 0x04, 0xa0, 0x1f, 0xca, 0x81, 0x57, 0x07, 0xc5, 0x42, 0x9f, 0xd7, 0xa1, 0x58, 0x80,
  6702. 0xa3, 0x26, 0x0f, 0x25, 0xd8, 0x5a, 0x1f, 0x28, 0x60, 0xbd, 0x60, 0x8f, 0xc3, 0xef, 0xa5, 0x54,
  6703. 0xef, 0x66, 0x46, 0xf5, 0xae, 0x15, 0x84, 0x25, 0xa4, 0xaf, 0x0f, 0x16, 0x99, 0xef, 0xd0, 0xad,
  6704. 0x41, 0x00, 0x11, 0x27, 0xd8, 0x2b, 0xb2, 0xdc, 0x51, 0x12, 0x18, 0x1f, 0xc3, 0x57, 0xc6, 0x27,
  6705. 0xcd, 0xc5, 0x54, 0x1f, 0x4a, 0x73, 0xb6, 0x7e, 0x59, 0x02, 0x60, 0x8b, 0x38, 0x86, 0x3d, 0x32,
  6706. 0x89, 0x75, 0x11, 0xae, 0x65, 0x2b, 0xe5, 0x5a, 0x5a, 0xd2, 0x85, 0x88, 0xf2, 0x29, 0xb4, 0x2d,
  6707. 0xdb, 0x19, 0xdb, 0xf2, 0x8d, 0x09, 0x3c, 0xa7, 0xfb, 0x96, 0x7f, 0x94, 0xc1, 0x4a, 0x0c, 0x8e,
  6708. 0x8d, 0xcb, 0xbd, 0xd4, 0x12, 0xbe, 0x94, 0x59, 0xc2, 0x75, 0x49, 0xc8, 0x73, 0x73, 0x2e, 0x9f,
  6709. 0xbd, 0x83, 0x80, 0xef, 0x83, 0x25, 0x66, 0x55, 0x82, 0x42, 0xe0, 0x46, 0x68, 0xf6, 0xcc, 0x46,
  6710. 0x28, 0x12, 0xb2, 0xed, 0x14, 0x13, 0xca, 0x30, 0x17, 0x18, 0xaf, 0xb9, 0xe7, 0x6d, 0xbc, 0x5a,
  6711. 0x7f, 0x50, 0xc0, 0x52, 0xbc, 0x4c, 0x17, 0x60, 0x93, 0xba, 0x69, 0x9b, 0xd4, 0x38, 0xbd, 0x2e,
  6712. 0x0b, 0x7c, 0xd2, 0xdf, 0x2b, 0xc9, 0xac, 0xb9, 0x51, 0xda, 0x60, 0x2f, 0x54, 0x8e, 0xa1, 0xf7,
  6713. 0xb1, 0x27, 0x64, 0xf5, 0x52, 0xf0, 0x32, 0x15, 0xb4, 0xa1, 0xa8, 0x37, 0x65, 0xa9, 0x4a, 0xcf,
  6714. 0xd7, 0x52, 0x95, 0x3f, 0x1b, 0x4b, 0x75, 0x1f, 0xd4, 0xbc, 0xd0, 0x4c, 0x55, 0x38, 0xe5, 0x8d,
  6715. 0x49, 0xdb, 0x59, 0xf8, 0xa8, 0x88, 0x35, 0x72, 0x50, 0x11, 0x93, 0xcc, 0x3b, 0x55, 0x3f, 0x4f,
  6716. 0xef, 0xc4, 0xb6, 0xb0, 0x83, 0x7d, 0x8f, 0x68, 0xbc, 0xee, 0x6b, 0xf1, 0x16, 0xde, 0xe3, 0xad,
  6717. 0x48, 0xf4, 0xc2, 0x03, 0xb0, 0xee, 0xb8, 0xf6, 0xc0, 0x25, 0x9e, 0xb7, 0x45, 0xb0, 0x66, 0xe8,
  6718. 0x16, 0x09, 0x07, 0x10, 0xa8, 0xde, 0xb5, 0xf1, 0x49, 0x73, 0x7d, 0x4f, 0x0e, 0x41, 0x45, 0xb1,
  6719. 0xad, 0x3f, 0x57, 0xc0, 0xe5, 0xec, 0x89, 0x58, 0x60, 0x44, 0x94, 0x73, 0x19, 0x91, 0x57, 0x13,
  6720. 0x25, 0x1a, 0xb8, 0xb4, 0xc4, 0x3b, 0x7f, 0xae, 0x4c, 0x37, 0xc1, 0xb2, 0x30, 0x1e, 0x61, 0xa7,
  6721. 0xb0, 0x62, 0xd1, 0xf2, 0x1c, 0xa4, 0xbb, 0x51, 0x16, 0xcf, 0xec, 0x45, 0xec, 0x1a, 0x42, 0x92,
  6722. 0x4a, 0xda, 0x5e, 0x6c, 0x66, 0x01, 0x28, 0x1f, 0x03, 0x7b, 0x60, 0xc5, 0xb7, 0xf2, 0x54, 0x41,
  6723. 0xb9, 0x5c, 0x13, 0x54, 0x2b, 0x07, 0x79, 0x08, 0x92, 0xc5, 0xc1, 0x1f, 0xa7, 0x1c, 0xc7, 0x2c,
  6724. 0x3f, 0x08, 0x5e, 0x3a, 0xbd, 0xa2, 0xa7, 0xb6, 0x1c, 0xf0, 0x1e, 0x58, 0x74, 0xb9, 0xa1, 0x0c,
  6725. 0xb3, 0x0c, 0x4c, 0xd9, 0x57, 0x44, 0xd8, 0x22, 0x4a, 0x76, 0xa2, 0x34, 0x56, 0xe2, 0xa3, 0x6a,
  6726. 0xd3, 0xfa, 0xa8, 0xd6, 0x9f, 0x14, 0x00, 0xf3, 0x5b, 0x70, 0xe2, 0xcb, 0x7d, 0x2e, 0x22, 0x21,
  6727. 0x91, 0x9a, 0xdc, 0xe1, 0xdc, 0x9c, 0xec, 0x70, 0xe2, 0x13, 0x74, 0x3a, 0x8b, 0x23, 0x66, 0xe0,
  6728. 0x62, 0x2e, 0x66, 0xa6, 0xb0, 0x38, 0x71, 0x3e, 0xcf, 0x66, 0x71, 0x12, 0x3c, 0xa7, 0x5b, 0x9c,
  6729. 0x7f, 0x97, 0xc0, 0x4a, 0x0c, 0x9e, 0xda, 0xe2, 0x48, 0x42, 0xbe, 0xbc, 0x9c, 0x99, 0x7c, 0x39,
  6730. 0xc3, 0x6c, 0x47, 0x3c, 0x75, 0xff, 0x27, 0xb6, 0x23, 0x4e, 0xa8, 0xc0, 0x76, 0xfc, 0xae, 0x94,
  6731. 0xcc, 0xfa, 0x0b, 0x6f, 0x3b, 0x9e, 0xfd, 0x72, 0xa5, 0xf5, 0x97, 0x32, 0xb8, 0x9c, 0xdd, 0x82,
  6732. 0x29, 0x1d, 0x54, 0x26, 0xea, 0xe0, 0x1e, 0x58, 0x7d, 0xe4, 0x1b, 0xc6, 0x88, 0x4f, 0x43, 0x42,
  6733. 0x0c, 0x03, 0x05, 0xfd, 0xaa, 0x88, 0x5c, 0xfd, 0xbe, 0x04, 0x83, 0xa4, 0x91, 0x05, 0x9a, 0x5e,
  6734. 0x3e, 0x97, 0xa6, 0xe7, 0xd4, 0xa6, 0x72, 0x06, 0xb5, 0x91, 0xea, 0x73, 0xf5, 0x1c, 0xfa, 0x3c,
  6735. 0xb5, 0xa0, 0x4a, 0x8e, 0xab, 0x89, 0xef, 0xf0, 0xbf, 0x56, 0xc0, 0x9a, 0xfc, 0xf5, 0x19, 0x1a,
  6736. 0x60, 0xc9, 0xc4, 0x8f, 0x93, 0x97, 0x17, 0x93, 0x04, 0xc3, 0xa7, 0xba, 0xa1, 0x06, 0x5f, 0x77,
  6737. 0xd4, 0x77, 0x2c, 0xba, 0xeb, 0xee, 0x53, 0x57, 0xb7, 0x06, 0x81, 0xc0, 0xf6, 0x52, 0x5c, 0x28,
  6738. 0xc3, 0xdd, 0xfa, 0x58, 0x01, 0xeb, 0x05, 0x2a, 0x77, 0xb1, 0x99, 0xc0, 0x87, 0xa0, 0x66, 0xe2,
  6739. 0xc7, 0xfb, 0xbe, 0x3b, 0x08, 0x25, 0xf9, 0xec, 0xcf, 0xe1, 0x1b, 0xb9, 0x27, 0x58, 0x50, 0xc4,
  6740. 0xd7, 0xda, 0x05, 0xd7, 0x53, 0x83, 0x64, 0x9b, 0x86, 0x3c, 0xf2, 0x0d, 0xbe, 0x7f, 0x84, 0xa7,
  6741. 0xb8, 0x09, 0xe6, 0x1d, 0xec, 0x52, 0x3d, 0x32, 0xa3, 0xd5, 0xce, 0xe2, 0xf8, 0xa4, 0x39, 0xbf,
  6742. 0x17, 0x36, 0xa2, 0xb8, 0xbf, 0xf5, 0xab, 0x12, 0x58, 0x48, 0x90, 0x5c, 0x80, 0xbe, 0xbf, 0x95,
  6743. 0xd2, 0x77, 0xe9, 0x17, 0x93, 0xe4, 0xa8, 0x8a, 0x04, 0xbe, 0x97, 0x11, 0xf8, 0x6f, 0x4e, 0x22,
  6744. 0x3a, 0x5d, 0xe1, 0x3f, 0x29, 0x81, 0xd5, 0x04, 0x3a, 0x96, 0xf8, 0xef, 0xa4, 0x24, 0x7e, 0x23,
  6745. 0x23, 0xf1, 0x75, 0x59, 0xcc, 0x97, 0x1a, 0x3f, 0x59, 0xe3, 0xff, 0xa8, 0x80, 0xe5, 0xc4, 0xdc,
  6746. 0x5d, 0x80, 0xc8, 0x6f, 0xa5, 0x45, 0xbe, 0x39, 0xa1, 0x5e, 0x0a, 0x54, 0xfe, 0x49, 0x35, 0x95,
  6747. 0xf7, 0x17, 0x5e, 0xe6, 0x7f, 0x0e, 0x56, 0x87, 0xb6, 0xe1, 0x9b, 0xa4, 0x6b, 0x60, 0xdd, 0x0c,
  6748. 0x01, 0x4c, 0xc9, 0xd8, 0x24, 0xbe, 0x2c, 0xa5, 0x27, 0xae, 0xa7, 0x7b, 0x94, 0x58, 0xf4, 0x41,
  6749. 0x1c, 0x19, 0x6b, 0xf1, 0x03, 0x09, 0x1d, 0x92, 0x3e, 0x04, 0xbe, 0x0e, 0x16, 0x98, 0xa6, 0xea,
  6750. 0x7d, 0xb2, 0x83, 0xcd, 0xb0, 0xa6, 0xa2, 0xef, 0x03, 0xfb, 0x71, 0x17, 0x4a, 0xe2, 0xe0, 0x11,
  6751. 0x58, 0x71, 0x6c, 0xad, 0x87, 0x2d, 0x3c, 0x20, 0xec, 0xfc, 0xdf, 0xb3, 0x0d, 0xbd, 0x3f, 0xe2,
  6752. 0xf7, 0x0e, 0xf3, 0x9d, 0x37, 0xc2, 0x17, 0xd2, 0xbd, 0x3c, 0x84, 0x79, 0x76, 0x49, 0x33, 0xdf,
  6753. 0xcf, 0x32, 0x4a, 0x68, 0xe6, 0x3e, 0x67, 0xcd, 0xe5, 0xfe, 0x07, 0x40, 0x56, 0x5c, 0xe7, 0xfc,
  6754. 0xa0, 0x55, 0x74, 0xa3, 0x52, 0x3b, 0xd7, 0xd7, 0xa8, 0x4f, 0x2a, 0xe0, 0x4a, 0xee, 0x80, 0xfc,
  6755. 0x1c, 0xef, 0x34, 0x72, 0x6e, 0xa9, 0x7c, 0x06, 0xb7, 0xb4, 0x09, 0x96, 0xc5, 0x87, 0xb0, 0x8c,
  6756. 0xd9, 0x8a, 0xec, 0x68, 0x37, 0xdd, 0x8d, 0xb2, 0x78, 0xd9, 0x9d, 0x4a, 0xf5, 0x8c, 0x77, 0x2a,
  6757. 0xc9, 0x2c, 0xc4, 0xff, 0x6f, 0x04, 0x55, 0x97, 0xcf, 0x42, 0xfc, 0x1b, 0x47, 0x16, 0x0f, 0xbf,
  6758. 0x1b, 0x96, 0x54, 0xc4, 0x30, 0xc7, 0x19, 0x32, 0x35, 0x12, 0x11, 0x64, 0xd0, 0xcf, 0xf4, 0xb1,
  6759. 0xe7, 0x3d, 0xc9, 0xc7, 0x9e, 0x8d, 0x09, 0xa5, 0x3c, 0xbd, 0x55, 0xfc, 0x9b, 0x02, 0x5e, 0x28,
  6760. 0xdc, 0x03, 0x70, 0x33, 0xa5, 0xb3, 0xb7, 0x32, 0x3a, 0xfb, 0x62, 0x61, 0x60, 0x42, 0x6c, 0x4d,
  6761. 0xf9, 0x85, 0xc8, 0xdd, 0x89, 0x17, 0x22, 0x12, 0x17, 0x35, 0xf9, 0x66, 0xa4, 0xb3, 0xf1, 0xe4,
  6762. 0x69, 0x63, 0xe6, 0xc3, 0xa7, 0x8d, 0x99, 0x8f, 0x9e, 0x36, 0x66, 0x7e, 0x31, 0x6e, 0x28, 0x4f,
  6763. 0xc6, 0x0d, 0xe5, 0xc3, 0x71, 0x43, 0xf9, 0x68, 0xdc, 0x50, 0xfe, 0x39, 0x6e, 0x28, 0xbf, 0xfd,
  6764. 0xb8, 0x31, 0xf3, 0xb0, 0x34, 0xbc, 0xfd, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbc, 0x6b, 0x01,
  6765. 0x7b, 0x12, 0x26, 0x00, 0x00,
  6766. }