generated.pb.go 306 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477
  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/extensions/v1beta1/generated.proto
  15. /*
  16. Package v1beta1 is a generated protocol buffer package.
  17. It is generated from these files:
  18. k8s.io/kubernetes/vendor/k8s.io/api/extensions/v1beta1/generated.proto
  19. It has these top-level messages:
  20. AllowedCSIDriver
  21. AllowedFlexVolume
  22. AllowedHostPath
  23. DaemonSet
  24. DaemonSetCondition
  25. DaemonSetList
  26. DaemonSetSpec
  27. DaemonSetStatus
  28. DaemonSetUpdateStrategy
  29. Deployment
  30. DeploymentCondition
  31. DeploymentList
  32. DeploymentRollback
  33. DeploymentSpec
  34. DeploymentStatus
  35. DeploymentStrategy
  36. FSGroupStrategyOptions
  37. HTTPIngressPath
  38. HTTPIngressRuleValue
  39. HostPortRange
  40. IDRange
  41. IPBlock
  42. Ingress
  43. IngressBackend
  44. IngressList
  45. IngressRule
  46. IngressRuleValue
  47. IngressSpec
  48. IngressStatus
  49. IngressTLS
  50. NetworkPolicy
  51. NetworkPolicyEgressRule
  52. NetworkPolicyIngressRule
  53. NetworkPolicyList
  54. NetworkPolicyPeer
  55. NetworkPolicyPort
  56. NetworkPolicySpec
  57. PodSecurityPolicy
  58. PodSecurityPolicyList
  59. PodSecurityPolicySpec
  60. ReplicaSet
  61. ReplicaSetCondition
  62. ReplicaSetList
  63. ReplicaSetSpec
  64. ReplicaSetStatus
  65. ReplicationControllerDummy
  66. RollbackConfig
  67. RollingUpdateDaemonSet
  68. RollingUpdateDeployment
  69. RunAsGroupStrategyOptions
  70. RunAsUserStrategyOptions
  71. SELinuxStrategyOptions
  72. Scale
  73. ScaleSpec
  74. ScaleStatus
  75. SupplementalGroupsStrategyOptions
  76. */
  77. package v1beta1
  78. import proto "github.com/gogo/protobuf/proto"
  79. import fmt "fmt"
  80. import math "math"
  81. import k8s_io_api_core_v1 "k8s.io/api/core/v1"
  82. import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  83. import k8s_io_apimachinery_pkg_util_intstr "k8s.io/apimachinery/pkg/util/intstr"
  84. import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
  85. import strings "strings"
  86. import reflect "reflect"
  87. import io "io"
  88. // Reference imports to suppress errors if they are not otherwise used.
  89. var _ = proto.Marshal
  90. var _ = fmt.Errorf
  91. var _ = math.Inf
  92. // This is a compile-time assertion to ensure that this generated file
  93. // is compatible with the proto package it is being compiled against.
  94. // A compilation error at this line likely means your copy of the
  95. // proto package needs to be updated.
  96. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  97. func (m *AllowedCSIDriver) Reset() { *m = AllowedCSIDriver{} }
  98. func (*AllowedCSIDriver) ProtoMessage() {}
  99. func (*AllowedCSIDriver) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
  100. func (m *AllowedFlexVolume) Reset() { *m = AllowedFlexVolume{} }
  101. func (*AllowedFlexVolume) ProtoMessage() {}
  102. func (*AllowedFlexVolume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
  103. func (m *AllowedHostPath) Reset() { *m = AllowedHostPath{} }
  104. func (*AllowedHostPath) ProtoMessage() {}
  105. func (*AllowedHostPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
  106. func (m *DaemonSet) Reset() { *m = DaemonSet{} }
  107. func (*DaemonSet) ProtoMessage() {}
  108. func (*DaemonSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
  109. func (m *DaemonSetCondition) Reset() { *m = DaemonSetCondition{} }
  110. func (*DaemonSetCondition) ProtoMessage() {}
  111. func (*DaemonSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
  112. func (m *DaemonSetList) Reset() { *m = DaemonSetList{} }
  113. func (*DaemonSetList) ProtoMessage() {}
  114. func (*DaemonSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
  115. func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} }
  116. func (*DaemonSetSpec) ProtoMessage() {}
  117. func (*DaemonSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
  118. func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} }
  119. func (*DaemonSetStatus) ProtoMessage() {}
  120. func (*DaemonSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
  121. func (m *DaemonSetUpdateStrategy) Reset() { *m = DaemonSetUpdateStrategy{} }
  122. func (*DaemonSetUpdateStrategy) ProtoMessage() {}
  123. func (*DaemonSetUpdateStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
  124. func (m *Deployment) Reset() { *m = Deployment{} }
  125. func (*Deployment) ProtoMessage() {}
  126. func (*Deployment) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
  127. func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} }
  128. func (*DeploymentCondition) ProtoMessage() {}
  129. func (*DeploymentCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} }
  130. func (m *DeploymentList) Reset() { *m = DeploymentList{} }
  131. func (*DeploymentList) ProtoMessage() {}
  132. func (*DeploymentList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
  133. func (m *DeploymentRollback) Reset() { *m = DeploymentRollback{} }
  134. func (*DeploymentRollback) ProtoMessage() {}
  135. func (*DeploymentRollback) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
  136. func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} }
  137. func (*DeploymentSpec) ProtoMessage() {}
  138. func (*DeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} }
  139. func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} }
  140. func (*DeploymentStatus) ProtoMessage() {}
  141. func (*DeploymentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
  142. func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} }
  143. func (*DeploymentStrategy) ProtoMessage() {}
  144. func (*DeploymentStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
  145. func (m *FSGroupStrategyOptions) Reset() { *m = FSGroupStrategyOptions{} }
  146. func (*FSGroupStrategyOptions) ProtoMessage() {}
  147. func (*FSGroupStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
  148. func (m *HTTPIngressPath) Reset() { *m = HTTPIngressPath{} }
  149. func (*HTTPIngressPath) ProtoMessage() {}
  150. func (*HTTPIngressPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
  151. func (m *HTTPIngressRuleValue) Reset() { *m = HTTPIngressRuleValue{} }
  152. func (*HTTPIngressRuleValue) ProtoMessage() {}
  153. func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} }
  154. func (m *HostPortRange) Reset() { *m = HostPortRange{} }
  155. func (*HostPortRange) ProtoMessage() {}
  156. func (*HostPortRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} }
  157. func (m *IDRange) Reset() { *m = IDRange{} }
  158. func (*IDRange) ProtoMessage() {}
  159. func (*IDRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} }
  160. func (m *IPBlock) Reset() { *m = IPBlock{} }
  161. func (*IPBlock) ProtoMessage() {}
  162. func (*IPBlock) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} }
  163. func (m *Ingress) Reset() { *m = Ingress{} }
  164. func (*Ingress) ProtoMessage() {}
  165. func (*Ingress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} }
  166. func (m *IngressBackend) Reset() { *m = IngressBackend{} }
  167. func (*IngressBackend) ProtoMessage() {}
  168. func (*IngressBackend) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} }
  169. func (m *IngressList) Reset() { *m = IngressList{} }
  170. func (*IngressList) ProtoMessage() {}
  171. func (*IngressList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} }
  172. func (m *IngressRule) Reset() { *m = IngressRule{} }
  173. func (*IngressRule) ProtoMessage() {}
  174. func (*IngressRule) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} }
  175. func (m *IngressRuleValue) Reset() { *m = IngressRuleValue{} }
  176. func (*IngressRuleValue) ProtoMessage() {}
  177. func (*IngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} }
  178. func (m *IngressSpec) Reset() { *m = IngressSpec{} }
  179. func (*IngressSpec) ProtoMessage() {}
  180. func (*IngressSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} }
  181. func (m *IngressStatus) Reset() { *m = IngressStatus{} }
  182. func (*IngressStatus) ProtoMessage() {}
  183. func (*IngressStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} }
  184. func (m *IngressTLS) Reset() { *m = IngressTLS{} }
  185. func (*IngressTLS) ProtoMessage() {}
  186. func (*IngressTLS) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} }
  187. func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} }
  188. func (*NetworkPolicy) ProtoMessage() {}
  189. func (*NetworkPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} }
  190. func (m *NetworkPolicyEgressRule) Reset() { *m = NetworkPolicyEgressRule{} }
  191. func (*NetworkPolicyEgressRule) ProtoMessage() {}
  192. func (*NetworkPolicyEgressRule) Descriptor() ([]byte, []int) {
  193. return fileDescriptorGenerated, []int{31}
  194. }
  195. func (m *NetworkPolicyIngressRule) Reset() { *m = NetworkPolicyIngressRule{} }
  196. func (*NetworkPolicyIngressRule) ProtoMessage() {}
  197. func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) {
  198. return fileDescriptorGenerated, []int{32}
  199. }
  200. func (m *NetworkPolicyList) Reset() { *m = NetworkPolicyList{} }
  201. func (*NetworkPolicyList) ProtoMessage() {}
  202. func (*NetworkPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} }
  203. func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} }
  204. func (*NetworkPolicyPeer) ProtoMessage() {}
  205. func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} }
  206. func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} }
  207. func (*NetworkPolicyPort) ProtoMessage() {}
  208. func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} }
  209. func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} }
  210. func (*NetworkPolicySpec) ProtoMessage() {}
  211. func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} }
  212. func (m *PodSecurityPolicy) Reset() { *m = PodSecurityPolicy{} }
  213. func (*PodSecurityPolicy) ProtoMessage() {}
  214. func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} }
  215. func (m *PodSecurityPolicyList) Reset() { *m = PodSecurityPolicyList{} }
  216. func (*PodSecurityPolicyList) ProtoMessage() {}
  217. func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} }
  218. func (m *PodSecurityPolicySpec) Reset() { *m = PodSecurityPolicySpec{} }
  219. func (*PodSecurityPolicySpec) ProtoMessage() {}
  220. func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} }
  221. func (m *ReplicaSet) Reset() { *m = ReplicaSet{} }
  222. func (*ReplicaSet) ProtoMessage() {}
  223. func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{40} }
  224. func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} }
  225. func (*ReplicaSetCondition) ProtoMessage() {}
  226. func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} }
  227. func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} }
  228. func (*ReplicaSetList) ProtoMessage() {}
  229. func (*ReplicaSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} }
  230. func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} }
  231. func (*ReplicaSetSpec) ProtoMessage() {}
  232. func (*ReplicaSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} }
  233. func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} }
  234. func (*ReplicaSetStatus) ProtoMessage() {}
  235. func (*ReplicaSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} }
  236. func (m *ReplicationControllerDummy) Reset() { *m = ReplicationControllerDummy{} }
  237. func (*ReplicationControllerDummy) ProtoMessage() {}
  238. func (*ReplicationControllerDummy) Descriptor() ([]byte, []int) {
  239. return fileDescriptorGenerated, []int{45}
  240. }
  241. func (m *RollbackConfig) Reset() { *m = RollbackConfig{} }
  242. func (*RollbackConfig) ProtoMessage() {}
  243. func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} }
  244. func (m *RollingUpdateDaemonSet) Reset() { *m = RollingUpdateDaemonSet{} }
  245. func (*RollingUpdateDaemonSet) ProtoMessage() {}
  246. func (*RollingUpdateDaemonSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} }
  247. func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} }
  248. func (*RollingUpdateDeployment) ProtoMessage() {}
  249. func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) {
  250. return fileDescriptorGenerated, []int{48}
  251. }
  252. func (m *RunAsGroupStrategyOptions) Reset() { *m = RunAsGroupStrategyOptions{} }
  253. func (*RunAsGroupStrategyOptions) ProtoMessage() {}
  254. func (*RunAsGroupStrategyOptions) Descriptor() ([]byte, []int) {
  255. return fileDescriptorGenerated, []int{49}
  256. }
  257. func (m *RunAsUserStrategyOptions) Reset() { *m = RunAsUserStrategyOptions{} }
  258. func (*RunAsUserStrategyOptions) ProtoMessage() {}
  259. func (*RunAsUserStrategyOptions) Descriptor() ([]byte, []int) {
  260. return fileDescriptorGenerated, []int{50}
  261. }
  262. func (m *SELinuxStrategyOptions) Reset() { *m = SELinuxStrategyOptions{} }
  263. func (*SELinuxStrategyOptions) ProtoMessage() {}
  264. func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} }
  265. func (m *Scale) Reset() { *m = Scale{} }
  266. func (*Scale) ProtoMessage() {}
  267. func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} }
  268. func (m *ScaleSpec) Reset() { *m = ScaleSpec{} }
  269. func (*ScaleSpec) ProtoMessage() {}
  270. func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{53} }
  271. func (m *ScaleStatus) Reset() { *m = ScaleStatus{} }
  272. func (*ScaleStatus) ProtoMessage() {}
  273. func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{54} }
  274. func (m *SupplementalGroupsStrategyOptions) Reset() { *m = SupplementalGroupsStrategyOptions{} }
  275. func (*SupplementalGroupsStrategyOptions) ProtoMessage() {}
  276. func (*SupplementalGroupsStrategyOptions) Descriptor() ([]byte, []int) {
  277. return fileDescriptorGenerated, []int{55}
  278. }
  279. func init() {
  280. proto.RegisterType((*AllowedCSIDriver)(nil), "k8s.io.api.extensions.v1beta1.AllowedCSIDriver")
  281. proto.RegisterType((*AllowedFlexVolume)(nil), "k8s.io.api.extensions.v1beta1.AllowedFlexVolume")
  282. proto.RegisterType((*AllowedHostPath)(nil), "k8s.io.api.extensions.v1beta1.AllowedHostPath")
  283. proto.RegisterType((*DaemonSet)(nil), "k8s.io.api.extensions.v1beta1.DaemonSet")
  284. proto.RegisterType((*DaemonSetCondition)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetCondition")
  285. proto.RegisterType((*DaemonSetList)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetList")
  286. proto.RegisterType((*DaemonSetSpec)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetSpec")
  287. proto.RegisterType((*DaemonSetStatus)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetStatus")
  288. proto.RegisterType((*DaemonSetUpdateStrategy)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetUpdateStrategy")
  289. proto.RegisterType((*Deployment)(nil), "k8s.io.api.extensions.v1beta1.Deployment")
  290. proto.RegisterType((*DeploymentCondition)(nil), "k8s.io.api.extensions.v1beta1.DeploymentCondition")
  291. proto.RegisterType((*DeploymentList)(nil), "k8s.io.api.extensions.v1beta1.DeploymentList")
  292. proto.RegisterType((*DeploymentRollback)(nil), "k8s.io.api.extensions.v1beta1.DeploymentRollback")
  293. proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.api.extensions.v1beta1.DeploymentSpec")
  294. proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.api.extensions.v1beta1.DeploymentStatus")
  295. proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.api.extensions.v1beta1.DeploymentStrategy")
  296. proto.RegisterType((*FSGroupStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.FSGroupStrategyOptions")
  297. proto.RegisterType((*HTTPIngressPath)(nil), "k8s.io.api.extensions.v1beta1.HTTPIngressPath")
  298. proto.RegisterType((*HTTPIngressRuleValue)(nil), "k8s.io.api.extensions.v1beta1.HTTPIngressRuleValue")
  299. proto.RegisterType((*HostPortRange)(nil), "k8s.io.api.extensions.v1beta1.HostPortRange")
  300. proto.RegisterType((*IDRange)(nil), "k8s.io.api.extensions.v1beta1.IDRange")
  301. proto.RegisterType((*IPBlock)(nil), "k8s.io.api.extensions.v1beta1.IPBlock")
  302. proto.RegisterType((*Ingress)(nil), "k8s.io.api.extensions.v1beta1.Ingress")
  303. proto.RegisterType((*IngressBackend)(nil), "k8s.io.api.extensions.v1beta1.IngressBackend")
  304. proto.RegisterType((*IngressList)(nil), "k8s.io.api.extensions.v1beta1.IngressList")
  305. proto.RegisterType((*IngressRule)(nil), "k8s.io.api.extensions.v1beta1.IngressRule")
  306. proto.RegisterType((*IngressRuleValue)(nil), "k8s.io.api.extensions.v1beta1.IngressRuleValue")
  307. proto.RegisterType((*IngressSpec)(nil), "k8s.io.api.extensions.v1beta1.IngressSpec")
  308. proto.RegisterType((*IngressStatus)(nil), "k8s.io.api.extensions.v1beta1.IngressStatus")
  309. proto.RegisterType((*IngressTLS)(nil), "k8s.io.api.extensions.v1beta1.IngressTLS")
  310. proto.RegisterType((*NetworkPolicy)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicy")
  311. proto.RegisterType((*NetworkPolicyEgressRule)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyEgressRule")
  312. proto.RegisterType((*NetworkPolicyIngressRule)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyIngressRule")
  313. proto.RegisterType((*NetworkPolicyList)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyList")
  314. proto.RegisterType((*NetworkPolicyPeer)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyPeer")
  315. proto.RegisterType((*NetworkPolicyPort)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyPort")
  316. proto.RegisterType((*NetworkPolicySpec)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicySpec")
  317. proto.RegisterType((*PodSecurityPolicy)(nil), "k8s.io.api.extensions.v1beta1.PodSecurityPolicy")
  318. proto.RegisterType((*PodSecurityPolicyList)(nil), "k8s.io.api.extensions.v1beta1.PodSecurityPolicyList")
  319. proto.RegisterType((*PodSecurityPolicySpec)(nil), "k8s.io.api.extensions.v1beta1.PodSecurityPolicySpec")
  320. proto.RegisterType((*ReplicaSet)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSet")
  321. proto.RegisterType((*ReplicaSetCondition)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetCondition")
  322. proto.RegisterType((*ReplicaSetList)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetList")
  323. proto.RegisterType((*ReplicaSetSpec)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetSpec")
  324. proto.RegisterType((*ReplicaSetStatus)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetStatus")
  325. proto.RegisterType((*ReplicationControllerDummy)(nil), "k8s.io.api.extensions.v1beta1.ReplicationControllerDummy")
  326. proto.RegisterType((*RollbackConfig)(nil), "k8s.io.api.extensions.v1beta1.RollbackConfig")
  327. proto.RegisterType((*RollingUpdateDaemonSet)(nil), "k8s.io.api.extensions.v1beta1.RollingUpdateDaemonSet")
  328. proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.api.extensions.v1beta1.RollingUpdateDeployment")
  329. proto.RegisterType((*RunAsGroupStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.RunAsGroupStrategyOptions")
  330. proto.RegisterType((*RunAsUserStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.RunAsUserStrategyOptions")
  331. proto.RegisterType((*SELinuxStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.SELinuxStrategyOptions")
  332. proto.RegisterType((*Scale)(nil), "k8s.io.api.extensions.v1beta1.Scale")
  333. proto.RegisterType((*ScaleSpec)(nil), "k8s.io.api.extensions.v1beta1.ScaleSpec")
  334. proto.RegisterType((*ScaleStatus)(nil), "k8s.io.api.extensions.v1beta1.ScaleStatus")
  335. proto.RegisterType((*SupplementalGroupsStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.SupplementalGroupsStrategyOptions")
  336. }
  337. func (m *AllowedCSIDriver) Marshal() (dAtA []byte, err error) {
  338. size := m.Size()
  339. dAtA = make([]byte, size)
  340. n, err := m.MarshalTo(dAtA)
  341. if err != nil {
  342. return nil, err
  343. }
  344. return dAtA[:n], nil
  345. }
  346. func (m *AllowedCSIDriver) MarshalTo(dAtA []byte) (int, error) {
  347. var i int
  348. _ = i
  349. var l int
  350. _ = l
  351. dAtA[i] = 0xa
  352. i++
  353. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  354. i += copy(dAtA[i:], m.Name)
  355. return i, nil
  356. }
  357. func (m *AllowedFlexVolume) Marshal() (dAtA []byte, err error) {
  358. size := m.Size()
  359. dAtA = make([]byte, size)
  360. n, err := m.MarshalTo(dAtA)
  361. if err != nil {
  362. return nil, err
  363. }
  364. return dAtA[:n], nil
  365. }
  366. func (m *AllowedFlexVolume) MarshalTo(dAtA []byte) (int, error) {
  367. var i int
  368. _ = i
  369. var l int
  370. _ = l
  371. dAtA[i] = 0xa
  372. i++
  373. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Driver)))
  374. i += copy(dAtA[i:], m.Driver)
  375. return i, nil
  376. }
  377. func (m *AllowedHostPath) Marshal() (dAtA []byte, err error) {
  378. size := m.Size()
  379. dAtA = make([]byte, size)
  380. n, err := m.MarshalTo(dAtA)
  381. if err != nil {
  382. return nil, err
  383. }
  384. return dAtA[:n], nil
  385. }
  386. func (m *AllowedHostPath) MarshalTo(dAtA []byte) (int, error) {
  387. var i int
  388. _ = i
  389. var l int
  390. _ = l
  391. dAtA[i] = 0xa
  392. i++
  393. i = encodeVarintGenerated(dAtA, i, uint64(len(m.PathPrefix)))
  394. i += copy(dAtA[i:], m.PathPrefix)
  395. dAtA[i] = 0x10
  396. i++
  397. if m.ReadOnly {
  398. dAtA[i] = 1
  399. } else {
  400. dAtA[i] = 0
  401. }
  402. i++
  403. return i, nil
  404. }
  405. func (m *DaemonSet) Marshal() (dAtA []byte, err error) {
  406. size := m.Size()
  407. dAtA = make([]byte, size)
  408. n, err := m.MarshalTo(dAtA)
  409. if err != nil {
  410. return nil, err
  411. }
  412. return dAtA[:n], nil
  413. }
  414. func (m *DaemonSet) MarshalTo(dAtA []byte) (int, error) {
  415. var i int
  416. _ = i
  417. var l int
  418. _ = l
  419. dAtA[i] = 0xa
  420. i++
  421. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  422. n1, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  423. if err != nil {
  424. return 0, err
  425. }
  426. i += n1
  427. dAtA[i] = 0x12
  428. i++
  429. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  430. n2, err := m.Spec.MarshalTo(dAtA[i:])
  431. if err != nil {
  432. return 0, err
  433. }
  434. i += n2
  435. dAtA[i] = 0x1a
  436. i++
  437. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  438. n3, err := m.Status.MarshalTo(dAtA[i:])
  439. if err != nil {
  440. return 0, err
  441. }
  442. i += n3
  443. return i, nil
  444. }
  445. func (m *DaemonSetCondition) Marshal() (dAtA []byte, err error) {
  446. size := m.Size()
  447. dAtA = make([]byte, size)
  448. n, err := m.MarshalTo(dAtA)
  449. if err != nil {
  450. return nil, err
  451. }
  452. return dAtA[:n], nil
  453. }
  454. func (m *DaemonSetCondition) MarshalTo(dAtA []byte) (int, error) {
  455. var i int
  456. _ = i
  457. var l int
  458. _ = l
  459. dAtA[i] = 0xa
  460. i++
  461. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  462. i += copy(dAtA[i:], m.Type)
  463. dAtA[i] = 0x12
  464. i++
  465. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  466. i += copy(dAtA[i:], m.Status)
  467. dAtA[i] = 0x1a
  468. i++
  469. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
  470. n4, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
  471. if err != nil {
  472. return 0, err
  473. }
  474. i += n4
  475. dAtA[i] = 0x22
  476. i++
  477. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  478. i += copy(dAtA[i:], m.Reason)
  479. dAtA[i] = 0x2a
  480. i++
  481. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  482. i += copy(dAtA[i:], m.Message)
  483. return i, nil
  484. }
  485. func (m *DaemonSetList) Marshal() (dAtA []byte, err error) {
  486. size := m.Size()
  487. dAtA = make([]byte, size)
  488. n, err := m.MarshalTo(dAtA)
  489. if err != nil {
  490. return nil, err
  491. }
  492. return dAtA[:n], nil
  493. }
  494. func (m *DaemonSetList) MarshalTo(dAtA []byte) (int, error) {
  495. var i int
  496. _ = i
  497. var l int
  498. _ = l
  499. dAtA[i] = 0xa
  500. i++
  501. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  502. n5, err := m.ListMeta.MarshalTo(dAtA[i:])
  503. if err != nil {
  504. return 0, err
  505. }
  506. i += n5
  507. if len(m.Items) > 0 {
  508. for _, msg := range m.Items {
  509. dAtA[i] = 0x12
  510. i++
  511. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  512. n, err := msg.MarshalTo(dAtA[i:])
  513. if err != nil {
  514. return 0, err
  515. }
  516. i += n
  517. }
  518. }
  519. return i, nil
  520. }
  521. func (m *DaemonSetSpec) Marshal() (dAtA []byte, err error) {
  522. size := m.Size()
  523. dAtA = make([]byte, size)
  524. n, err := m.MarshalTo(dAtA)
  525. if err != nil {
  526. return nil, err
  527. }
  528. return dAtA[:n], nil
  529. }
  530. func (m *DaemonSetSpec) MarshalTo(dAtA []byte) (int, error) {
  531. var i int
  532. _ = i
  533. var l int
  534. _ = l
  535. if m.Selector != nil {
  536. dAtA[i] = 0xa
  537. i++
  538. i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
  539. n6, err := m.Selector.MarshalTo(dAtA[i:])
  540. if err != nil {
  541. return 0, err
  542. }
  543. i += n6
  544. }
  545. dAtA[i] = 0x12
  546. i++
  547. i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
  548. n7, err := m.Template.MarshalTo(dAtA[i:])
  549. if err != nil {
  550. return 0, err
  551. }
  552. i += n7
  553. dAtA[i] = 0x1a
  554. i++
  555. i = encodeVarintGenerated(dAtA, i, uint64(m.UpdateStrategy.Size()))
  556. n8, err := m.UpdateStrategy.MarshalTo(dAtA[i:])
  557. if err != nil {
  558. return 0, err
  559. }
  560. i += n8
  561. dAtA[i] = 0x20
  562. i++
  563. i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
  564. dAtA[i] = 0x28
  565. i++
  566. i = encodeVarintGenerated(dAtA, i, uint64(m.TemplateGeneration))
  567. if m.RevisionHistoryLimit != nil {
  568. dAtA[i] = 0x30
  569. i++
  570. i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
  571. }
  572. return i, nil
  573. }
  574. func (m *DaemonSetStatus) Marshal() (dAtA []byte, err error) {
  575. size := m.Size()
  576. dAtA = make([]byte, size)
  577. n, err := m.MarshalTo(dAtA)
  578. if err != nil {
  579. return nil, err
  580. }
  581. return dAtA[:n], nil
  582. }
  583. func (m *DaemonSetStatus) MarshalTo(dAtA []byte) (int, error) {
  584. var i int
  585. _ = i
  586. var l int
  587. _ = l
  588. dAtA[i] = 0x8
  589. i++
  590. i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentNumberScheduled))
  591. dAtA[i] = 0x10
  592. i++
  593. i = encodeVarintGenerated(dAtA, i, uint64(m.NumberMisscheduled))
  594. dAtA[i] = 0x18
  595. i++
  596. i = encodeVarintGenerated(dAtA, i, uint64(m.DesiredNumberScheduled))
  597. dAtA[i] = 0x20
  598. i++
  599. i = encodeVarintGenerated(dAtA, i, uint64(m.NumberReady))
  600. dAtA[i] = 0x28
  601. i++
  602. i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
  603. dAtA[i] = 0x30
  604. i++
  605. i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedNumberScheduled))
  606. dAtA[i] = 0x38
  607. i++
  608. i = encodeVarintGenerated(dAtA, i, uint64(m.NumberAvailable))
  609. dAtA[i] = 0x40
  610. i++
  611. i = encodeVarintGenerated(dAtA, i, uint64(m.NumberUnavailable))
  612. if m.CollisionCount != nil {
  613. dAtA[i] = 0x48
  614. i++
  615. i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
  616. }
  617. if len(m.Conditions) > 0 {
  618. for _, msg := range m.Conditions {
  619. dAtA[i] = 0x52
  620. i++
  621. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  622. n, err := msg.MarshalTo(dAtA[i:])
  623. if err != nil {
  624. return 0, err
  625. }
  626. i += n
  627. }
  628. }
  629. return i, nil
  630. }
  631. func (m *DaemonSetUpdateStrategy) Marshal() (dAtA []byte, err error) {
  632. size := m.Size()
  633. dAtA = make([]byte, size)
  634. n, err := m.MarshalTo(dAtA)
  635. if err != nil {
  636. return nil, err
  637. }
  638. return dAtA[:n], nil
  639. }
  640. func (m *DaemonSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error) {
  641. var i int
  642. _ = i
  643. var l int
  644. _ = l
  645. dAtA[i] = 0xa
  646. i++
  647. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  648. i += copy(dAtA[i:], m.Type)
  649. if m.RollingUpdate != nil {
  650. dAtA[i] = 0x12
  651. i++
  652. i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size()))
  653. n9, err := m.RollingUpdate.MarshalTo(dAtA[i:])
  654. if err != nil {
  655. return 0, err
  656. }
  657. i += n9
  658. }
  659. return i, nil
  660. }
  661. func (m *Deployment) Marshal() (dAtA []byte, err error) {
  662. size := m.Size()
  663. dAtA = make([]byte, size)
  664. n, err := m.MarshalTo(dAtA)
  665. if err != nil {
  666. return nil, err
  667. }
  668. return dAtA[:n], nil
  669. }
  670. func (m *Deployment) MarshalTo(dAtA []byte) (int, error) {
  671. var i int
  672. _ = i
  673. var l int
  674. _ = l
  675. dAtA[i] = 0xa
  676. i++
  677. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  678. n10, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  679. if err != nil {
  680. return 0, err
  681. }
  682. i += n10
  683. dAtA[i] = 0x12
  684. i++
  685. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  686. n11, err := m.Spec.MarshalTo(dAtA[i:])
  687. if err != nil {
  688. return 0, err
  689. }
  690. i += n11
  691. dAtA[i] = 0x1a
  692. i++
  693. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  694. n12, err := m.Status.MarshalTo(dAtA[i:])
  695. if err != nil {
  696. return 0, err
  697. }
  698. i += n12
  699. return i, nil
  700. }
  701. func (m *DeploymentCondition) Marshal() (dAtA []byte, err error) {
  702. size := m.Size()
  703. dAtA = make([]byte, size)
  704. n, err := m.MarshalTo(dAtA)
  705. if err != nil {
  706. return nil, err
  707. }
  708. return dAtA[:n], nil
  709. }
  710. func (m *DeploymentCondition) MarshalTo(dAtA []byte) (int, error) {
  711. var i int
  712. _ = i
  713. var l int
  714. _ = l
  715. dAtA[i] = 0xa
  716. i++
  717. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  718. i += copy(dAtA[i:], m.Type)
  719. dAtA[i] = 0x12
  720. i++
  721. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  722. i += copy(dAtA[i:], m.Status)
  723. dAtA[i] = 0x22
  724. i++
  725. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  726. i += copy(dAtA[i:], m.Reason)
  727. dAtA[i] = 0x2a
  728. i++
  729. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  730. i += copy(dAtA[i:], m.Message)
  731. dAtA[i] = 0x32
  732. i++
  733. i = encodeVarintGenerated(dAtA, i, uint64(m.LastUpdateTime.Size()))
  734. n13, err := m.LastUpdateTime.MarshalTo(dAtA[i:])
  735. if err != nil {
  736. return 0, err
  737. }
  738. i += n13
  739. dAtA[i] = 0x3a
  740. i++
  741. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
  742. n14, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
  743. if err != nil {
  744. return 0, err
  745. }
  746. i += n14
  747. return i, nil
  748. }
  749. func (m *DeploymentList) Marshal() (dAtA []byte, err error) {
  750. size := m.Size()
  751. dAtA = make([]byte, size)
  752. n, err := m.MarshalTo(dAtA)
  753. if err != nil {
  754. return nil, err
  755. }
  756. return dAtA[:n], nil
  757. }
  758. func (m *DeploymentList) MarshalTo(dAtA []byte) (int, error) {
  759. var i int
  760. _ = i
  761. var l int
  762. _ = l
  763. dAtA[i] = 0xa
  764. i++
  765. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  766. n15, err := m.ListMeta.MarshalTo(dAtA[i:])
  767. if err != nil {
  768. return 0, err
  769. }
  770. i += n15
  771. if len(m.Items) > 0 {
  772. for _, msg := range m.Items {
  773. dAtA[i] = 0x12
  774. i++
  775. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  776. n, err := msg.MarshalTo(dAtA[i:])
  777. if err != nil {
  778. return 0, err
  779. }
  780. i += n
  781. }
  782. }
  783. return i, nil
  784. }
  785. func (m *DeploymentRollback) 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 *DeploymentRollback) 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(len(m.Name)))
  802. i += copy(dAtA[i:], m.Name)
  803. if len(m.UpdatedAnnotations) > 0 {
  804. keysForUpdatedAnnotations := make([]string, 0, len(m.UpdatedAnnotations))
  805. for k := range m.UpdatedAnnotations {
  806. keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, string(k))
  807. }
  808. github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations)
  809. for _, k := range keysForUpdatedAnnotations {
  810. dAtA[i] = 0x12
  811. i++
  812. v := m.UpdatedAnnotations[string(k)]
  813. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  814. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  815. dAtA[i] = 0xa
  816. i++
  817. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  818. i += copy(dAtA[i:], k)
  819. dAtA[i] = 0x12
  820. i++
  821. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  822. i += copy(dAtA[i:], v)
  823. }
  824. }
  825. dAtA[i] = 0x1a
  826. i++
  827. i = encodeVarintGenerated(dAtA, i, uint64(m.RollbackTo.Size()))
  828. n16, err := m.RollbackTo.MarshalTo(dAtA[i:])
  829. if err != nil {
  830. return 0, err
  831. }
  832. i += n16
  833. return i, nil
  834. }
  835. func (m *DeploymentSpec) Marshal() (dAtA []byte, err error) {
  836. size := m.Size()
  837. dAtA = make([]byte, size)
  838. n, err := m.MarshalTo(dAtA)
  839. if err != nil {
  840. return nil, err
  841. }
  842. return dAtA[:n], nil
  843. }
  844. func (m *DeploymentSpec) MarshalTo(dAtA []byte) (int, error) {
  845. var i int
  846. _ = i
  847. var l int
  848. _ = l
  849. if m.Replicas != nil {
  850. dAtA[i] = 0x8
  851. i++
  852. i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
  853. }
  854. if m.Selector != nil {
  855. dAtA[i] = 0x12
  856. i++
  857. i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
  858. n17, err := m.Selector.MarshalTo(dAtA[i:])
  859. if err != nil {
  860. return 0, err
  861. }
  862. i += n17
  863. }
  864. dAtA[i] = 0x1a
  865. i++
  866. i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
  867. n18, err := m.Template.MarshalTo(dAtA[i:])
  868. if err != nil {
  869. return 0, err
  870. }
  871. i += n18
  872. dAtA[i] = 0x22
  873. i++
  874. i = encodeVarintGenerated(dAtA, i, uint64(m.Strategy.Size()))
  875. n19, err := m.Strategy.MarshalTo(dAtA[i:])
  876. if err != nil {
  877. return 0, err
  878. }
  879. i += n19
  880. dAtA[i] = 0x28
  881. i++
  882. i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
  883. if m.RevisionHistoryLimit != nil {
  884. dAtA[i] = 0x30
  885. i++
  886. i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
  887. }
  888. dAtA[i] = 0x38
  889. i++
  890. if m.Paused {
  891. dAtA[i] = 1
  892. } else {
  893. dAtA[i] = 0
  894. }
  895. i++
  896. if m.RollbackTo != nil {
  897. dAtA[i] = 0x42
  898. i++
  899. i = encodeVarintGenerated(dAtA, i, uint64(m.RollbackTo.Size()))
  900. n20, err := m.RollbackTo.MarshalTo(dAtA[i:])
  901. if err != nil {
  902. return 0, err
  903. }
  904. i += n20
  905. }
  906. if m.ProgressDeadlineSeconds != nil {
  907. dAtA[i] = 0x48
  908. i++
  909. i = encodeVarintGenerated(dAtA, i, uint64(*m.ProgressDeadlineSeconds))
  910. }
  911. return i, nil
  912. }
  913. func (m *DeploymentStatus) Marshal() (dAtA []byte, err error) {
  914. size := m.Size()
  915. dAtA = make([]byte, size)
  916. n, err := m.MarshalTo(dAtA)
  917. if err != nil {
  918. return nil, err
  919. }
  920. return dAtA[:n], nil
  921. }
  922. func (m *DeploymentStatus) MarshalTo(dAtA []byte) (int, error) {
  923. var i int
  924. _ = i
  925. var l int
  926. _ = l
  927. dAtA[i] = 0x8
  928. i++
  929. i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
  930. dAtA[i] = 0x10
  931. i++
  932. i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
  933. dAtA[i] = 0x18
  934. i++
  935. i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas))
  936. dAtA[i] = 0x20
  937. i++
  938. i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
  939. dAtA[i] = 0x28
  940. i++
  941. i = encodeVarintGenerated(dAtA, i, uint64(m.UnavailableReplicas))
  942. if len(m.Conditions) > 0 {
  943. for _, msg := range m.Conditions {
  944. dAtA[i] = 0x32
  945. i++
  946. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  947. n, err := msg.MarshalTo(dAtA[i:])
  948. if err != nil {
  949. return 0, err
  950. }
  951. i += n
  952. }
  953. }
  954. dAtA[i] = 0x38
  955. i++
  956. i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
  957. if m.CollisionCount != nil {
  958. dAtA[i] = 0x40
  959. i++
  960. i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
  961. }
  962. return i, nil
  963. }
  964. func (m *DeploymentStrategy) Marshal() (dAtA []byte, err error) {
  965. size := m.Size()
  966. dAtA = make([]byte, size)
  967. n, err := m.MarshalTo(dAtA)
  968. if err != nil {
  969. return nil, err
  970. }
  971. return dAtA[:n], nil
  972. }
  973. func (m *DeploymentStrategy) MarshalTo(dAtA []byte) (int, error) {
  974. var i int
  975. _ = i
  976. var l int
  977. _ = l
  978. dAtA[i] = 0xa
  979. i++
  980. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  981. i += copy(dAtA[i:], m.Type)
  982. if m.RollingUpdate != nil {
  983. dAtA[i] = 0x12
  984. i++
  985. i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size()))
  986. n21, err := m.RollingUpdate.MarshalTo(dAtA[i:])
  987. if err != nil {
  988. return 0, err
  989. }
  990. i += n21
  991. }
  992. return i, nil
  993. }
  994. func (m *FSGroupStrategyOptions) Marshal() (dAtA []byte, err error) {
  995. size := m.Size()
  996. dAtA = make([]byte, size)
  997. n, err := m.MarshalTo(dAtA)
  998. if err != nil {
  999. return nil, err
  1000. }
  1001. return dAtA[:n], nil
  1002. }
  1003. func (m *FSGroupStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
  1004. var i int
  1005. _ = i
  1006. var l int
  1007. _ = l
  1008. dAtA[i] = 0xa
  1009. i++
  1010. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
  1011. i += copy(dAtA[i:], m.Rule)
  1012. if len(m.Ranges) > 0 {
  1013. for _, msg := range m.Ranges {
  1014. dAtA[i] = 0x12
  1015. i++
  1016. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1017. n, err := msg.MarshalTo(dAtA[i:])
  1018. if err != nil {
  1019. return 0, err
  1020. }
  1021. i += n
  1022. }
  1023. }
  1024. return i, nil
  1025. }
  1026. func (m *HTTPIngressPath) Marshal() (dAtA []byte, err error) {
  1027. size := m.Size()
  1028. dAtA = make([]byte, size)
  1029. n, err := m.MarshalTo(dAtA)
  1030. if err != nil {
  1031. return nil, err
  1032. }
  1033. return dAtA[:n], nil
  1034. }
  1035. func (m *HTTPIngressPath) MarshalTo(dAtA []byte) (int, error) {
  1036. var i int
  1037. _ = i
  1038. var l int
  1039. _ = l
  1040. dAtA[i] = 0xa
  1041. i++
  1042. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
  1043. i += copy(dAtA[i:], m.Path)
  1044. dAtA[i] = 0x12
  1045. i++
  1046. i = encodeVarintGenerated(dAtA, i, uint64(m.Backend.Size()))
  1047. n22, err := m.Backend.MarshalTo(dAtA[i:])
  1048. if err != nil {
  1049. return 0, err
  1050. }
  1051. i += n22
  1052. return i, nil
  1053. }
  1054. func (m *HTTPIngressRuleValue) Marshal() (dAtA []byte, err error) {
  1055. size := m.Size()
  1056. dAtA = make([]byte, size)
  1057. n, err := m.MarshalTo(dAtA)
  1058. if err != nil {
  1059. return nil, err
  1060. }
  1061. return dAtA[:n], nil
  1062. }
  1063. func (m *HTTPIngressRuleValue) MarshalTo(dAtA []byte) (int, error) {
  1064. var i int
  1065. _ = i
  1066. var l int
  1067. _ = l
  1068. if len(m.Paths) > 0 {
  1069. for _, msg := range m.Paths {
  1070. dAtA[i] = 0xa
  1071. i++
  1072. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1073. n, err := msg.MarshalTo(dAtA[i:])
  1074. if err != nil {
  1075. return 0, err
  1076. }
  1077. i += n
  1078. }
  1079. }
  1080. return i, nil
  1081. }
  1082. func (m *HostPortRange) Marshal() (dAtA []byte, err error) {
  1083. size := m.Size()
  1084. dAtA = make([]byte, size)
  1085. n, err := m.MarshalTo(dAtA)
  1086. if err != nil {
  1087. return nil, err
  1088. }
  1089. return dAtA[:n], nil
  1090. }
  1091. func (m *HostPortRange) MarshalTo(dAtA []byte) (int, error) {
  1092. var i int
  1093. _ = i
  1094. var l int
  1095. _ = l
  1096. dAtA[i] = 0x8
  1097. i++
  1098. i = encodeVarintGenerated(dAtA, i, uint64(m.Min))
  1099. dAtA[i] = 0x10
  1100. i++
  1101. i = encodeVarintGenerated(dAtA, i, uint64(m.Max))
  1102. return i, nil
  1103. }
  1104. func (m *IDRange) Marshal() (dAtA []byte, err error) {
  1105. size := m.Size()
  1106. dAtA = make([]byte, size)
  1107. n, err := m.MarshalTo(dAtA)
  1108. if err != nil {
  1109. return nil, err
  1110. }
  1111. return dAtA[:n], nil
  1112. }
  1113. func (m *IDRange) MarshalTo(dAtA []byte) (int, error) {
  1114. var i int
  1115. _ = i
  1116. var l int
  1117. _ = l
  1118. dAtA[i] = 0x8
  1119. i++
  1120. i = encodeVarintGenerated(dAtA, i, uint64(m.Min))
  1121. dAtA[i] = 0x10
  1122. i++
  1123. i = encodeVarintGenerated(dAtA, i, uint64(m.Max))
  1124. return i, nil
  1125. }
  1126. func (m *IPBlock) Marshal() (dAtA []byte, err error) {
  1127. size := m.Size()
  1128. dAtA = make([]byte, size)
  1129. n, err := m.MarshalTo(dAtA)
  1130. if err != nil {
  1131. return nil, err
  1132. }
  1133. return dAtA[:n], nil
  1134. }
  1135. func (m *IPBlock) MarshalTo(dAtA []byte) (int, error) {
  1136. var i int
  1137. _ = i
  1138. var l int
  1139. _ = l
  1140. dAtA[i] = 0xa
  1141. i++
  1142. i = encodeVarintGenerated(dAtA, i, uint64(len(m.CIDR)))
  1143. i += copy(dAtA[i:], m.CIDR)
  1144. if len(m.Except) > 0 {
  1145. for _, s := range m.Except {
  1146. dAtA[i] = 0x12
  1147. i++
  1148. l = len(s)
  1149. for l >= 1<<7 {
  1150. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1151. l >>= 7
  1152. i++
  1153. }
  1154. dAtA[i] = uint8(l)
  1155. i++
  1156. i += copy(dAtA[i:], s)
  1157. }
  1158. }
  1159. return i, nil
  1160. }
  1161. func (m *Ingress) Marshal() (dAtA []byte, err error) {
  1162. size := m.Size()
  1163. dAtA = make([]byte, size)
  1164. n, err := m.MarshalTo(dAtA)
  1165. if err != nil {
  1166. return nil, err
  1167. }
  1168. return dAtA[:n], nil
  1169. }
  1170. func (m *Ingress) MarshalTo(dAtA []byte) (int, error) {
  1171. var i int
  1172. _ = i
  1173. var l int
  1174. _ = l
  1175. dAtA[i] = 0xa
  1176. i++
  1177. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  1178. n23, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  1179. if err != nil {
  1180. return 0, err
  1181. }
  1182. i += n23
  1183. dAtA[i] = 0x12
  1184. i++
  1185. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  1186. n24, err := m.Spec.MarshalTo(dAtA[i:])
  1187. if err != nil {
  1188. return 0, err
  1189. }
  1190. i += n24
  1191. dAtA[i] = 0x1a
  1192. i++
  1193. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  1194. n25, err := m.Status.MarshalTo(dAtA[i:])
  1195. if err != nil {
  1196. return 0, err
  1197. }
  1198. i += n25
  1199. return i, nil
  1200. }
  1201. func (m *IngressBackend) Marshal() (dAtA []byte, err error) {
  1202. size := m.Size()
  1203. dAtA = make([]byte, size)
  1204. n, err := m.MarshalTo(dAtA)
  1205. if err != nil {
  1206. return nil, err
  1207. }
  1208. return dAtA[:n], nil
  1209. }
  1210. func (m *IngressBackend) MarshalTo(dAtA []byte) (int, error) {
  1211. var i int
  1212. _ = i
  1213. var l int
  1214. _ = l
  1215. dAtA[i] = 0xa
  1216. i++
  1217. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServiceName)))
  1218. i += copy(dAtA[i:], m.ServiceName)
  1219. dAtA[i] = 0x12
  1220. i++
  1221. i = encodeVarintGenerated(dAtA, i, uint64(m.ServicePort.Size()))
  1222. n26, err := m.ServicePort.MarshalTo(dAtA[i:])
  1223. if err != nil {
  1224. return 0, err
  1225. }
  1226. i += n26
  1227. return i, nil
  1228. }
  1229. func (m *IngressList) Marshal() (dAtA []byte, err error) {
  1230. size := m.Size()
  1231. dAtA = make([]byte, size)
  1232. n, err := m.MarshalTo(dAtA)
  1233. if err != nil {
  1234. return nil, err
  1235. }
  1236. return dAtA[:n], nil
  1237. }
  1238. func (m *IngressList) MarshalTo(dAtA []byte) (int, error) {
  1239. var i int
  1240. _ = i
  1241. var l int
  1242. _ = l
  1243. dAtA[i] = 0xa
  1244. i++
  1245. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  1246. n27, err := m.ListMeta.MarshalTo(dAtA[i:])
  1247. if err != nil {
  1248. return 0, err
  1249. }
  1250. i += n27
  1251. if len(m.Items) > 0 {
  1252. for _, msg := range m.Items {
  1253. dAtA[i] = 0x12
  1254. i++
  1255. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1256. n, err := msg.MarshalTo(dAtA[i:])
  1257. if err != nil {
  1258. return 0, err
  1259. }
  1260. i += n
  1261. }
  1262. }
  1263. return i, nil
  1264. }
  1265. func (m *IngressRule) Marshal() (dAtA []byte, err error) {
  1266. size := m.Size()
  1267. dAtA = make([]byte, size)
  1268. n, err := m.MarshalTo(dAtA)
  1269. if err != nil {
  1270. return nil, err
  1271. }
  1272. return dAtA[:n], nil
  1273. }
  1274. func (m *IngressRule) MarshalTo(dAtA []byte) (int, error) {
  1275. var i int
  1276. _ = i
  1277. var l int
  1278. _ = l
  1279. dAtA[i] = 0xa
  1280. i++
  1281. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Host)))
  1282. i += copy(dAtA[i:], m.Host)
  1283. dAtA[i] = 0x12
  1284. i++
  1285. i = encodeVarintGenerated(dAtA, i, uint64(m.IngressRuleValue.Size()))
  1286. n28, err := m.IngressRuleValue.MarshalTo(dAtA[i:])
  1287. if err != nil {
  1288. return 0, err
  1289. }
  1290. i += n28
  1291. return i, nil
  1292. }
  1293. func (m *IngressRuleValue) Marshal() (dAtA []byte, err error) {
  1294. size := m.Size()
  1295. dAtA = make([]byte, size)
  1296. n, err := m.MarshalTo(dAtA)
  1297. if err != nil {
  1298. return nil, err
  1299. }
  1300. return dAtA[:n], nil
  1301. }
  1302. func (m *IngressRuleValue) MarshalTo(dAtA []byte) (int, error) {
  1303. var i int
  1304. _ = i
  1305. var l int
  1306. _ = l
  1307. if m.HTTP != nil {
  1308. dAtA[i] = 0xa
  1309. i++
  1310. i = encodeVarintGenerated(dAtA, i, uint64(m.HTTP.Size()))
  1311. n29, err := m.HTTP.MarshalTo(dAtA[i:])
  1312. if err != nil {
  1313. return 0, err
  1314. }
  1315. i += n29
  1316. }
  1317. return i, nil
  1318. }
  1319. func (m *IngressSpec) Marshal() (dAtA []byte, err error) {
  1320. size := m.Size()
  1321. dAtA = make([]byte, size)
  1322. n, err := m.MarshalTo(dAtA)
  1323. if err != nil {
  1324. return nil, err
  1325. }
  1326. return dAtA[:n], nil
  1327. }
  1328. func (m *IngressSpec) MarshalTo(dAtA []byte) (int, error) {
  1329. var i int
  1330. _ = i
  1331. var l int
  1332. _ = l
  1333. if m.Backend != nil {
  1334. dAtA[i] = 0xa
  1335. i++
  1336. i = encodeVarintGenerated(dAtA, i, uint64(m.Backend.Size()))
  1337. n30, err := m.Backend.MarshalTo(dAtA[i:])
  1338. if err != nil {
  1339. return 0, err
  1340. }
  1341. i += n30
  1342. }
  1343. if len(m.TLS) > 0 {
  1344. for _, msg := range m.TLS {
  1345. dAtA[i] = 0x12
  1346. i++
  1347. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1348. n, err := msg.MarshalTo(dAtA[i:])
  1349. if err != nil {
  1350. return 0, err
  1351. }
  1352. i += n
  1353. }
  1354. }
  1355. if len(m.Rules) > 0 {
  1356. for _, msg := range m.Rules {
  1357. dAtA[i] = 0x1a
  1358. i++
  1359. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1360. n, err := msg.MarshalTo(dAtA[i:])
  1361. if err != nil {
  1362. return 0, err
  1363. }
  1364. i += n
  1365. }
  1366. }
  1367. return i, nil
  1368. }
  1369. func (m *IngressStatus) Marshal() (dAtA []byte, err error) {
  1370. size := m.Size()
  1371. dAtA = make([]byte, size)
  1372. n, err := m.MarshalTo(dAtA)
  1373. if err != nil {
  1374. return nil, err
  1375. }
  1376. return dAtA[:n], nil
  1377. }
  1378. func (m *IngressStatus) MarshalTo(dAtA []byte) (int, error) {
  1379. var i int
  1380. _ = i
  1381. var l int
  1382. _ = l
  1383. dAtA[i] = 0xa
  1384. i++
  1385. i = encodeVarintGenerated(dAtA, i, uint64(m.LoadBalancer.Size()))
  1386. n31, err := m.LoadBalancer.MarshalTo(dAtA[i:])
  1387. if err != nil {
  1388. return 0, err
  1389. }
  1390. i += n31
  1391. return i, nil
  1392. }
  1393. func (m *IngressTLS) Marshal() (dAtA []byte, err error) {
  1394. size := m.Size()
  1395. dAtA = make([]byte, size)
  1396. n, err := m.MarshalTo(dAtA)
  1397. if err != nil {
  1398. return nil, err
  1399. }
  1400. return dAtA[:n], nil
  1401. }
  1402. func (m *IngressTLS) MarshalTo(dAtA []byte) (int, error) {
  1403. var i int
  1404. _ = i
  1405. var l int
  1406. _ = l
  1407. if len(m.Hosts) > 0 {
  1408. for _, s := range m.Hosts {
  1409. dAtA[i] = 0xa
  1410. i++
  1411. l = len(s)
  1412. for l >= 1<<7 {
  1413. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1414. l >>= 7
  1415. i++
  1416. }
  1417. dAtA[i] = uint8(l)
  1418. i++
  1419. i += copy(dAtA[i:], s)
  1420. }
  1421. }
  1422. dAtA[i] = 0x12
  1423. i++
  1424. i = encodeVarintGenerated(dAtA, i, uint64(len(m.SecretName)))
  1425. i += copy(dAtA[i:], m.SecretName)
  1426. return i, nil
  1427. }
  1428. func (m *NetworkPolicy) Marshal() (dAtA []byte, err error) {
  1429. size := m.Size()
  1430. dAtA = make([]byte, size)
  1431. n, err := m.MarshalTo(dAtA)
  1432. if err != nil {
  1433. return nil, err
  1434. }
  1435. return dAtA[:n], nil
  1436. }
  1437. func (m *NetworkPolicy) MarshalTo(dAtA []byte) (int, error) {
  1438. var i int
  1439. _ = i
  1440. var l int
  1441. _ = l
  1442. dAtA[i] = 0xa
  1443. i++
  1444. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  1445. n32, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  1446. if err != nil {
  1447. return 0, err
  1448. }
  1449. i += n32
  1450. dAtA[i] = 0x12
  1451. i++
  1452. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  1453. n33, err := m.Spec.MarshalTo(dAtA[i:])
  1454. if err != nil {
  1455. return 0, err
  1456. }
  1457. i += n33
  1458. return i, nil
  1459. }
  1460. func (m *NetworkPolicyEgressRule) Marshal() (dAtA []byte, err error) {
  1461. size := m.Size()
  1462. dAtA = make([]byte, size)
  1463. n, err := m.MarshalTo(dAtA)
  1464. if err != nil {
  1465. return nil, err
  1466. }
  1467. return dAtA[:n], nil
  1468. }
  1469. func (m *NetworkPolicyEgressRule) MarshalTo(dAtA []byte) (int, error) {
  1470. var i int
  1471. _ = i
  1472. var l int
  1473. _ = l
  1474. if len(m.Ports) > 0 {
  1475. for _, msg := range m.Ports {
  1476. dAtA[i] = 0xa
  1477. i++
  1478. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1479. n, err := msg.MarshalTo(dAtA[i:])
  1480. if err != nil {
  1481. return 0, err
  1482. }
  1483. i += n
  1484. }
  1485. }
  1486. if len(m.To) > 0 {
  1487. for _, msg := range m.To {
  1488. dAtA[i] = 0x12
  1489. i++
  1490. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1491. n, err := msg.MarshalTo(dAtA[i:])
  1492. if err != nil {
  1493. return 0, err
  1494. }
  1495. i += n
  1496. }
  1497. }
  1498. return i, nil
  1499. }
  1500. func (m *NetworkPolicyIngressRule) Marshal() (dAtA []byte, err error) {
  1501. size := m.Size()
  1502. dAtA = make([]byte, size)
  1503. n, err := m.MarshalTo(dAtA)
  1504. if err != nil {
  1505. return nil, err
  1506. }
  1507. return dAtA[:n], nil
  1508. }
  1509. func (m *NetworkPolicyIngressRule) MarshalTo(dAtA []byte) (int, error) {
  1510. var i int
  1511. _ = i
  1512. var l int
  1513. _ = l
  1514. if len(m.Ports) > 0 {
  1515. for _, msg := range m.Ports {
  1516. dAtA[i] = 0xa
  1517. i++
  1518. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1519. n, err := msg.MarshalTo(dAtA[i:])
  1520. if err != nil {
  1521. return 0, err
  1522. }
  1523. i += n
  1524. }
  1525. }
  1526. if len(m.From) > 0 {
  1527. for _, msg := range m.From {
  1528. dAtA[i] = 0x12
  1529. i++
  1530. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1531. n, err := msg.MarshalTo(dAtA[i:])
  1532. if err != nil {
  1533. return 0, err
  1534. }
  1535. i += n
  1536. }
  1537. }
  1538. return i, nil
  1539. }
  1540. func (m *NetworkPolicyList) Marshal() (dAtA []byte, err error) {
  1541. size := m.Size()
  1542. dAtA = make([]byte, size)
  1543. n, err := m.MarshalTo(dAtA)
  1544. if err != nil {
  1545. return nil, err
  1546. }
  1547. return dAtA[:n], nil
  1548. }
  1549. func (m *NetworkPolicyList) MarshalTo(dAtA []byte) (int, error) {
  1550. var i int
  1551. _ = i
  1552. var l int
  1553. _ = l
  1554. dAtA[i] = 0xa
  1555. i++
  1556. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  1557. n34, err := m.ListMeta.MarshalTo(dAtA[i:])
  1558. if err != nil {
  1559. return 0, err
  1560. }
  1561. i += n34
  1562. if len(m.Items) > 0 {
  1563. for _, msg := range m.Items {
  1564. dAtA[i] = 0x12
  1565. i++
  1566. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1567. n, err := msg.MarshalTo(dAtA[i:])
  1568. if err != nil {
  1569. return 0, err
  1570. }
  1571. i += n
  1572. }
  1573. }
  1574. return i, nil
  1575. }
  1576. func (m *NetworkPolicyPeer) Marshal() (dAtA []byte, err error) {
  1577. size := m.Size()
  1578. dAtA = make([]byte, size)
  1579. n, err := m.MarshalTo(dAtA)
  1580. if err != nil {
  1581. return nil, err
  1582. }
  1583. return dAtA[:n], nil
  1584. }
  1585. func (m *NetworkPolicyPeer) MarshalTo(dAtA []byte) (int, error) {
  1586. var i int
  1587. _ = i
  1588. var l int
  1589. _ = l
  1590. if m.PodSelector != nil {
  1591. dAtA[i] = 0xa
  1592. i++
  1593. i = encodeVarintGenerated(dAtA, i, uint64(m.PodSelector.Size()))
  1594. n35, err := m.PodSelector.MarshalTo(dAtA[i:])
  1595. if err != nil {
  1596. return 0, err
  1597. }
  1598. i += n35
  1599. }
  1600. if m.NamespaceSelector != nil {
  1601. dAtA[i] = 0x12
  1602. i++
  1603. i = encodeVarintGenerated(dAtA, i, uint64(m.NamespaceSelector.Size()))
  1604. n36, err := m.NamespaceSelector.MarshalTo(dAtA[i:])
  1605. if err != nil {
  1606. return 0, err
  1607. }
  1608. i += n36
  1609. }
  1610. if m.IPBlock != nil {
  1611. dAtA[i] = 0x1a
  1612. i++
  1613. i = encodeVarintGenerated(dAtA, i, uint64(m.IPBlock.Size()))
  1614. n37, err := m.IPBlock.MarshalTo(dAtA[i:])
  1615. if err != nil {
  1616. return 0, err
  1617. }
  1618. i += n37
  1619. }
  1620. return i, nil
  1621. }
  1622. func (m *NetworkPolicyPort) Marshal() (dAtA []byte, err error) {
  1623. size := m.Size()
  1624. dAtA = make([]byte, size)
  1625. n, err := m.MarshalTo(dAtA)
  1626. if err != nil {
  1627. return nil, err
  1628. }
  1629. return dAtA[:n], nil
  1630. }
  1631. func (m *NetworkPolicyPort) MarshalTo(dAtA []byte) (int, error) {
  1632. var i int
  1633. _ = i
  1634. var l int
  1635. _ = l
  1636. if m.Protocol != nil {
  1637. dAtA[i] = 0xa
  1638. i++
  1639. i = encodeVarintGenerated(dAtA, i, uint64(len(*m.Protocol)))
  1640. i += copy(dAtA[i:], *m.Protocol)
  1641. }
  1642. if m.Port != nil {
  1643. dAtA[i] = 0x12
  1644. i++
  1645. i = encodeVarintGenerated(dAtA, i, uint64(m.Port.Size()))
  1646. n38, err := m.Port.MarshalTo(dAtA[i:])
  1647. if err != nil {
  1648. return 0, err
  1649. }
  1650. i += n38
  1651. }
  1652. return i, nil
  1653. }
  1654. func (m *NetworkPolicySpec) Marshal() (dAtA []byte, err error) {
  1655. size := m.Size()
  1656. dAtA = make([]byte, size)
  1657. n, err := m.MarshalTo(dAtA)
  1658. if err != nil {
  1659. return nil, err
  1660. }
  1661. return dAtA[:n], nil
  1662. }
  1663. func (m *NetworkPolicySpec) MarshalTo(dAtA []byte) (int, error) {
  1664. var i int
  1665. _ = i
  1666. var l int
  1667. _ = l
  1668. dAtA[i] = 0xa
  1669. i++
  1670. i = encodeVarintGenerated(dAtA, i, uint64(m.PodSelector.Size()))
  1671. n39, err := m.PodSelector.MarshalTo(dAtA[i:])
  1672. if err != nil {
  1673. return 0, err
  1674. }
  1675. i += n39
  1676. if len(m.Ingress) > 0 {
  1677. for _, msg := range m.Ingress {
  1678. dAtA[i] = 0x12
  1679. i++
  1680. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1681. n, err := msg.MarshalTo(dAtA[i:])
  1682. if err != nil {
  1683. return 0, err
  1684. }
  1685. i += n
  1686. }
  1687. }
  1688. if len(m.Egress) > 0 {
  1689. for _, msg := range m.Egress {
  1690. dAtA[i] = 0x1a
  1691. i++
  1692. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1693. n, err := msg.MarshalTo(dAtA[i:])
  1694. if err != nil {
  1695. return 0, err
  1696. }
  1697. i += n
  1698. }
  1699. }
  1700. if len(m.PolicyTypes) > 0 {
  1701. for _, s := range m.PolicyTypes {
  1702. dAtA[i] = 0x22
  1703. i++
  1704. l = len(s)
  1705. for l >= 1<<7 {
  1706. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1707. l >>= 7
  1708. i++
  1709. }
  1710. dAtA[i] = uint8(l)
  1711. i++
  1712. i += copy(dAtA[i:], s)
  1713. }
  1714. }
  1715. return i, nil
  1716. }
  1717. func (m *PodSecurityPolicy) Marshal() (dAtA []byte, err error) {
  1718. size := m.Size()
  1719. dAtA = make([]byte, size)
  1720. n, err := m.MarshalTo(dAtA)
  1721. if err != nil {
  1722. return nil, err
  1723. }
  1724. return dAtA[:n], nil
  1725. }
  1726. func (m *PodSecurityPolicy) MarshalTo(dAtA []byte) (int, error) {
  1727. var i int
  1728. _ = i
  1729. var l int
  1730. _ = l
  1731. dAtA[i] = 0xa
  1732. i++
  1733. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  1734. n40, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  1735. if err != nil {
  1736. return 0, err
  1737. }
  1738. i += n40
  1739. dAtA[i] = 0x12
  1740. i++
  1741. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  1742. n41, err := m.Spec.MarshalTo(dAtA[i:])
  1743. if err != nil {
  1744. return 0, err
  1745. }
  1746. i += n41
  1747. return i, nil
  1748. }
  1749. func (m *PodSecurityPolicyList) Marshal() (dAtA []byte, err error) {
  1750. size := m.Size()
  1751. dAtA = make([]byte, size)
  1752. n, err := m.MarshalTo(dAtA)
  1753. if err != nil {
  1754. return nil, err
  1755. }
  1756. return dAtA[:n], nil
  1757. }
  1758. func (m *PodSecurityPolicyList) MarshalTo(dAtA []byte) (int, error) {
  1759. var i int
  1760. _ = i
  1761. var l int
  1762. _ = l
  1763. dAtA[i] = 0xa
  1764. i++
  1765. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  1766. n42, err := m.ListMeta.MarshalTo(dAtA[i:])
  1767. if err != nil {
  1768. return 0, err
  1769. }
  1770. i += n42
  1771. if len(m.Items) > 0 {
  1772. for _, msg := range m.Items {
  1773. dAtA[i] = 0x12
  1774. i++
  1775. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1776. n, err := msg.MarshalTo(dAtA[i:])
  1777. if err != nil {
  1778. return 0, err
  1779. }
  1780. i += n
  1781. }
  1782. }
  1783. return i, nil
  1784. }
  1785. func (m *PodSecurityPolicySpec) Marshal() (dAtA []byte, err error) {
  1786. size := m.Size()
  1787. dAtA = make([]byte, size)
  1788. n, err := m.MarshalTo(dAtA)
  1789. if err != nil {
  1790. return nil, err
  1791. }
  1792. return dAtA[:n], nil
  1793. }
  1794. func (m *PodSecurityPolicySpec) MarshalTo(dAtA []byte) (int, error) {
  1795. var i int
  1796. _ = i
  1797. var l int
  1798. _ = l
  1799. dAtA[i] = 0x8
  1800. i++
  1801. if m.Privileged {
  1802. dAtA[i] = 1
  1803. } else {
  1804. dAtA[i] = 0
  1805. }
  1806. i++
  1807. if len(m.DefaultAddCapabilities) > 0 {
  1808. for _, s := range m.DefaultAddCapabilities {
  1809. dAtA[i] = 0x12
  1810. i++
  1811. l = len(s)
  1812. for l >= 1<<7 {
  1813. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1814. l >>= 7
  1815. i++
  1816. }
  1817. dAtA[i] = uint8(l)
  1818. i++
  1819. i += copy(dAtA[i:], s)
  1820. }
  1821. }
  1822. if len(m.RequiredDropCapabilities) > 0 {
  1823. for _, s := range m.RequiredDropCapabilities {
  1824. dAtA[i] = 0x1a
  1825. i++
  1826. l = len(s)
  1827. for l >= 1<<7 {
  1828. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1829. l >>= 7
  1830. i++
  1831. }
  1832. dAtA[i] = uint8(l)
  1833. i++
  1834. i += copy(dAtA[i:], s)
  1835. }
  1836. }
  1837. if len(m.AllowedCapabilities) > 0 {
  1838. for _, s := range m.AllowedCapabilities {
  1839. dAtA[i] = 0x22
  1840. i++
  1841. l = len(s)
  1842. for l >= 1<<7 {
  1843. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1844. l >>= 7
  1845. i++
  1846. }
  1847. dAtA[i] = uint8(l)
  1848. i++
  1849. i += copy(dAtA[i:], s)
  1850. }
  1851. }
  1852. if len(m.Volumes) > 0 {
  1853. for _, s := range m.Volumes {
  1854. dAtA[i] = 0x2a
  1855. i++
  1856. l = len(s)
  1857. for l >= 1<<7 {
  1858. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1859. l >>= 7
  1860. i++
  1861. }
  1862. dAtA[i] = uint8(l)
  1863. i++
  1864. i += copy(dAtA[i:], s)
  1865. }
  1866. }
  1867. dAtA[i] = 0x30
  1868. i++
  1869. if m.HostNetwork {
  1870. dAtA[i] = 1
  1871. } else {
  1872. dAtA[i] = 0
  1873. }
  1874. i++
  1875. if len(m.HostPorts) > 0 {
  1876. for _, msg := range m.HostPorts {
  1877. dAtA[i] = 0x3a
  1878. i++
  1879. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1880. n, err := msg.MarshalTo(dAtA[i:])
  1881. if err != nil {
  1882. return 0, err
  1883. }
  1884. i += n
  1885. }
  1886. }
  1887. dAtA[i] = 0x40
  1888. i++
  1889. if m.HostPID {
  1890. dAtA[i] = 1
  1891. } else {
  1892. dAtA[i] = 0
  1893. }
  1894. i++
  1895. dAtA[i] = 0x48
  1896. i++
  1897. if m.HostIPC {
  1898. dAtA[i] = 1
  1899. } else {
  1900. dAtA[i] = 0
  1901. }
  1902. i++
  1903. dAtA[i] = 0x52
  1904. i++
  1905. i = encodeVarintGenerated(dAtA, i, uint64(m.SELinux.Size()))
  1906. n43, err := m.SELinux.MarshalTo(dAtA[i:])
  1907. if err != nil {
  1908. return 0, err
  1909. }
  1910. i += n43
  1911. dAtA[i] = 0x5a
  1912. i++
  1913. i = encodeVarintGenerated(dAtA, i, uint64(m.RunAsUser.Size()))
  1914. n44, err := m.RunAsUser.MarshalTo(dAtA[i:])
  1915. if err != nil {
  1916. return 0, err
  1917. }
  1918. i += n44
  1919. dAtA[i] = 0x62
  1920. i++
  1921. i = encodeVarintGenerated(dAtA, i, uint64(m.SupplementalGroups.Size()))
  1922. n45, err := m.SupplementalGroups.MarshalTo(dAtA[i:])
  1923. if err != nil {
  1924. return 0, err
  1925. }
  1926. i += n45
  1927. dAtA[i] = 0x6a
  1928. i++
  1929. i = encodeVarintGenerated(dAtA, i, uint64(m.FSGroup.Size()))
  1930. n46, err := m.FSGroup.MarshalTo(dAtA[i:])
  1931. if err != nil {
  1932. return 0, err
  1933. }
  1934. i += n46
  1935. dAtA[i] = 0x70
  1936. i++
  1937. if m.ReadOnlyRootFilesystem {
  1938. dAtA[i] = 1
  1939. } else {
  1940. dAtA[i] = 0
  1941. }
  1942. i++
  1943. if m.DefaultAllowPrivilegeEscalation != nil {
  1944. dAtA[i] = 0x78
  1945. i++
  1946. if *m.DefaultAllowPrivilegeEscalation {
  1947. dAtA[i] = 1
  1948. } else {
  1949. dAtA[i] = 0
  1950. }
  1951. i++
  1952. }
  1953. if m.AllowPrivilegeEscalation != nil {
  1954. dAtA[i] = 0x80
  1955. i++
  1956. dAtA[i] = 0x1
  1957. i++
  1958. if *m.AllowPrivilegeEscalation {
  1959. dAtA[i] = 1
  1960. } else {
  1961. dAtA[i] = 0
  1962. }
  1963. i++
  1964. }
  1965. if len(m.AllowedHostPaths) > 0 {
  1966. for _, msg := range m.AllowedHostPaths {
  1967. dAtA[i] = 0x8a
  1968. i++
  1969. dAtA[i] = 0x1
  1970. i++
  1971. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1972. n, err := msg.MarshalTo(dAtA[i:])
  1973. if err != nil {
  1974. return 0, err
  1975. }
  1976. i += n
  1977. }
  1978. }
  1979. if len(m.AllowedFlexVolumes) > 0 {
  1980. for _, msg := range m.AllowedFlexVolumes {
  1981. dAtA[i] = 0x92
  1982. i++
  1983. dAtA[i] = 0x1
  1984. i++
  1985. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  1986. n, err := msg.MarshalTo(dAtA[i:])
  1987. if err != nil {
  1988. return 0, err
  1989. }
  1990. i += n
  1991. }
  1992. }
  1993. if len(m.AllowedUnsafeSysctls) > 0 {
  1994. for _, s := range m.AllowedUnsafeSysctls {
  1995. dAtA[i] = 0x9a
  1996. i++
  1997. dAtA[i] = 0x1
  1998. i++
  1999. l = len(s)
  2000. for l >= 1<<7 {
  2001. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  2002. l >>= 7
  2003. i++
  2004. }
  2005. dAtA[i] = uint8(l)
  2006. i++
  2007. i += copy(dAtA[i:], s)
  2008. }
  2009. }
  2010. if len(m.ForbiddenSysctls) > 0 {
  2011. for _, s := range m.ForbiddenSysctls {
  2012. dAtA[i] = 0xa2
  2013. i++
  2014. dAtA[i] = 0x1
  2015. i++
  2016. l = len(s)
  2017. for l >= 1<<7 {
  2018. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  2019. l >>= 7
  2020. i++
  2021. }
  2022. dAtA[i] = uint8(l)
  2023. i++
  2024. i += copy(dAtA[i:], s)
  2025. }
  2026. }
  2027. if len(m.AllowedProcMountTypes) > 0 {
  2028. for _, s := range m.AllowedProcMountTypes {
  2029. dAtA[i] = 0xaa
  2030. i++
  2031. dAtA[i] = 0x1
  2032. i++
  2033. l = len(s)
  2034. for l >= 1<<7 {
  2035. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  2036. l >>= 7
  2037. i++
  2038. }
  2039. dAtA[i] = uint8(l)
  2040. i++
  2041. i += copy(dAtA[i:], s)
  2042. }
  2043. }
  2044. if m.RunAsGroup != nil {
  2045. dAtA[i] = 0xb2
  2046. i++
  2047. dAtA[i] = 0x1
  2048. i++
  2049. i = encodeVarintGenerated(dAtA, i, uint64(m.RunAsGroup.Size()))
  2050. n47, err := m.RunAsGroup.MarshalTo(dAtA[i:])
  2051. if err != nil {
  2052. return 0, err
  2053. }
  2054. i += n47
  2055. }
  2056. if len(m.AllowedCSIDrivers) > 0 {
  2057. for _, msg := range m.AllowedCSIDrivers {
  2058. dAtA[i] = 0xba
  2059. i++
  2060. dAtA[i] = 0x1
  2061. i++
  2062. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2063. n, err := msg.MarshalTo(dAtA[i:])
  2064. if err != nil {
  2065. return 0, err
  2066. }
  2067. i += n
  2068. }
  2069. }
  2070. return i, nil
  2071. }
  2072. func (m *ReplicaSet) Marshal() (dAtA []byte, err error) {
  2073. size := m.Size()
  2074. dAtA = make([]byte, size)
  2075. n, err := m.MarshalTo(dAtA)
  2076. if err != nil {
  2077. return nil, err
  2078. }
  2079. return dAtA[:n], nil
  2080. }
  2081. func (m *ReplicaSet) MarshalTo(dAtA []byte) (int, error) {
  2082. var i int
  2083. _ = i
  2084. var l int
  2085. _ = l
  2086. dAtA[i] = 0xa
  2087. i++
  2088. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  2089. n48, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  2090. if err != nil {
  2091. return 0, err
  2092. }
  2093. i += n48
  2094. dAtA[i] = 0x12
  2095. i++
  2096. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  2097. n49, err := m.Spec.MarshalTo(dAtA[i:])
  2098. if err != nil {
  2099. return 0, err
  2100. }
  2101. i += n49
  2102. dAtA[i] = 0x1a
  2103. i++
  2104. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  2105. n50, err := m.Status.MarshalTo(dAtA[i:])
  2106. if err != nil {
  2107. return 0, err
  2108. }
  2109. i += n50
  2110. return i, nil
  2111. }
  2112. func (m *ReplicaSetCondition) Marshal() (dAtA []byte, err error) {
  2113. size := m.Size()
  2114. dAtA = make([]byte, size)
  2115. n, err := m.MarshalTo(dAtA)
  2116. if err != nil {
  2117. return nil, err
  2118. }
  2119. return dAtA[:n], nil
  2120. }
  2121. func (m *ReplicaSetCondition) MarshalTo(dAtA []byte) (int, error) {
  2122. var i int
  2123. _ = i
  2124. var l int
  2125. _ = l
  2126. dAtA[i] = 0xa
  2127. i++
  2128. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  2129. i += copy(dAtA[i:], m.Type)
  2130. dAtA[i] = 0x12
  2131. i++
  2132. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  2133. i += copy(dAtA[i:], m.Status)
  2134. dAtA[i] = 0x1a
  2135. i++
  2136. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
  2137. n51, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
  2138. if err != nil {
  2139. return 0, err
  2140. }
  2141. i += n51
  2142. dAtA[i] = 0x22
  2143. i++
  2144. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  2145. i += copy(dAtA[i:], m.Reason)
  2146. dAtA[i] = 0x2a
  2147. i++
  2148. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  2149. i += copy(dAtA[i:], m.Message)
  2150. return i, nil
  2151. }
  2152. func (m *ReplicaSetList) Marshal() (dAtA []byte, err error) {
  2153. size := m.Size()
  2154. dAtA = make([]byte, size)
  2155. n, err := m.MarshalTo(dAtA)
  2156. if err != nil {
  2157. return nil, err
  2158. }
  2159. return dAtA[:n], nil
  2160. }
  2161. func (m *ReplicaSetList) MarshalTo(dAtA []byte) (int, error) {
  2162. var i int
  2163. _ = i
  2164. var l int
  2165. _ = l
  2166. dAtA[i] = 0xa
  2167. i++
  2168. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  2169. n52, err := m.ListMeta.MarshalTo(dAtA[i:])
  2170. if err != nil {
  2171. return 0, err
  2172. }
  2173. i += n52
  2174. if len(m.Items) > 0 {
  2175. for _, msg := range m.Items {
  2176. dAtA[i] = 0x12
  2177. i++
  2178. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2179. n, err := msg.MarshalTo(dAtA[i:])
  2180. if err != nil {
  2181. return 0, err
  2182. }
  2183. i += n
  2184. }
  2185. }
  2186. return i, nil
  2187. }
  2188. func (m *ReplicaSetSpec) Marshal() (dAtA []byte, err error) {
  2189. size := m.Size()
  2190. dAtA = make([]byte, size)
  2191. n, err := m.MarshalTo(dAtA)
  2192. if err != nil {
  2193. return nil, err
  2194. }
  2195. return dAtA[:n], nil
  2196. }
  2197. func (m *ReplicaSetSpec) MarshalTo(dAtA []byte) (int, error) {
  2198. var i int
  2199. _ = i
  2200. var l int
  2201. _ = l
  2202. if m.Replicas != nil {
  2203. dAtA[i] = 0x8
  2204. i++
  2205. i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
  2206. }
  2207. if m.Selector != nil {
  2208. dAtA[i] = 0x12
  2209. i++
  2210. i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
  2211. n53, err := m.Selector.MarshalTo(dAtA[i:])
  2212. if err != nil {
  2213. return 0, err
  2214. }
  2215. i += n53
  2216. }
  2217. dAtA[i] = 0x1a
  2218. i++
  2219. i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
  2220. n54, err := m.Template.MarshalTo(dAtA[i:])
  2221. if err != nil {
  2222. return 0, err
  2223. }
  2224. i += n54
  2225. dAtA[i] = 0x20
  2226. i++
  2227. i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
  2228. return i, nil
  2229. }
  2230. func (m *ReplicaSetStatus) Marshal() (dAtA []byte, err error) {
  2231. size := m.Size()
  2232. dAtA = make([]byte, size)
  2233. n, err := m.MarshalTo(dAtA)
  2234. if err != nil {
  2235. return nil, err
  2236. }
  2237. return dAtA[:n], nil
  2238. }
  2239. func (m *ReplicaSetStatus) MarshalTo(dAtA []byte) (int, error) {
  2240. var i int
  2241. _ = i
  2242. var l int
  2243. _ = l
  2244. dAtA[i] = 0x8
  2245. i++
  2246. i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
  2247. dAtA[i] = 0x10
  2248. i++
  2249. i = encodeVarintGenerated(dAtA, i, uint64(m.FullyLabeledReplicas))
  2250. dAtA[i] = 0x18
  2251. i++
  2252. i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
  2253. dAtA[i] = 0x20
  2254. i++
  2255. i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
  2256. dAtA[i] = 0x28
  2257. i++
  2258. i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
  2259. if len(m.Conditions) > 0 {
  2260. for _, msg := range m.Conditions {
  2261. dAtA[i] = 0x32
  2262. i++
  2263. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2264. n, err := msg.MarshalTo(dAtA[i:])
  2265. if err != nil {
  2266. return 0, err
  2267. }
  2268. i += n
  2269. }
  2270. }
  2271. return i, nil
  2272. }
  2273. func (m *ReplicationControllerDummy) Marshal() (dAtA []byte, err error) {
  2274. size := m.Size()
  2275. dAtA = make([]byte, size)
  2276. n, err := m.MarshalTo(dAtA)
  2277. if err != nil {
  2278. return nil, err
  2279. }
  2280. return dAtA[:n], nil
  2281. }
  2282. func (m *ReplicationControllerDummy) MarshalTo(dAtA []byte) (int, error) {
  2283. var i int
  2284. _ = i
  2285. var l int
  2286. _ = l
  2287. return i, nil
  2288. }
  2289. func (m *RollbackConfig) Marshal() (dAtA []byte, err error) {
  2290. size := m.Size()
  2291. dAtA = make([]byte, size)
  2292. n, err := m.MarshalTo(dAtA)
  2293. if err != nil {
  2294. return nil, err
  2295. }
  2296. return dAtA[:n], nil
  2297. }
  2298. func (m *RollbackConfig) MarshalTo(dAtA []byte) (int, error) {
  2299. var i int
  2300. _ = i
  2301. var l int
  2302. _ = l
  2303. dAtA[i] = 0x8
  2304. i++
  2305. i = encodeVarintGenerated(dAtA, i, uint64(m.Revision))
  2306. return i, nil
  2307. }
  2308. func (m *RollingUpdateDaemonSet) Marshal() (dAtA []byte, err error) {
  2309. size := m.Size()
  2310. dAtA = make([]byte, size)
  2311. n, err := m.MarshalTo(dAtA)
  2312. if err != nil {
  2313. return nil, err
  2314. }
  2315. return dAtA[:n], nil
  2316. }
  2317. func (m *RollingUpdateDaemonSet) MarshalTo(dAtA []byte) (int, error) {
  2318. var i int
  2319. _ = i
  2320. var l int
  2321. _ = l
  2322. if m.MaxUnavailable != nil {
  2323. dAtA[i] = 0xa
  2324. i++
  2325. i = encodeVarintGenerated(dAtA, i, uint64(m.MaxUnavailable.Size()))
  2326. n55, err := m.MaxUnavailable.MarshalTo(dAtA[i:])
  2327. if err != nil {
  2328. return 0, err
  2329. }
  2330. i += n55
  2331. }
  2332. return i, nil
  2333. }
  2334. func (m *RollingUpdateDeployment) Marshal() (dAtA []byte, err error) {
  2335. size := m.Size()
  2336. dAtA = make([]byte, size)
  2337. n, err := m.MarshalTo(dAtA)
  2338. if err != nil {
  2339. return nil, err
  2340. }
  2341. return dAtA[:n], nil
  2342. }
  2343. func (m *RollingUpdateDeployment) MarshalTo(dAtA []byte) (int, error) {
  2344. var i int
  2345. _ = i
  2346. var l int
  2347. _ = l
  2348. if m.MaxUnavailable != nil {
  2349. dAtA[i] = 0xa
  2350. i++
  2351. i = encodeVarintGenerated(dAtA, i, uint64(m.MaxUnavailable.Size()))
  2352. n56, err := m.MaxUnavailable.MarshalTo(dAtA[i:])
  2353. if err != nil {
  2354. return 0, err
  2355. }
  2356. i += n56
  2357. }
  2358. if m.MaxSurge != nil {
  2359. dAtA[i] = 0x12
  2360. i++
  2361. i = encodeVarintGenerated(dAtA, i, uint64(m.MaxSurge.Size()))
  2362. n57, err := m.MaxSurge.MarshalTo(dAtA[i:])
  2363. if err != nil {
  2364. return 0, err
  2365. }
  2366. i += n57
  2367. }
  2368. return i, nil
  2369. }
  2370. func (m *RunAsGroupStrategyOptions) Marshal() (dAtA []byte, err error) {
  2371. size := m.Size()
  2372. dAtA = make([]byte, size)
  2373. n, err := m.MarshalTo(dAtA)
  2374. if err != nil {
  2375. return nil, err
  2376. }
  2377. return dAtA[:n], nil
  2378. }
  2379. func (m *RunAsGroupStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
  2380. var i int
  2381. _ = i
  2382. var l int
  2383. _ = l
  2384. dAtA[i] = 0xa
  2385. i++
  2386. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
  2387. i += copy(dAtA[i:], m.Rule)
  2388. if len(m.Ranges) > 0 {
  2389. for _, msg := range m.Ranges {
  2390. dAtA[i] = 0x12
  2391. i++
  2392. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2393. n, err := msg.MarshalTo(dAtA[i:])
  2394. if err != nil {
  2395. return 0, err
  2396. }
  2397. i += n
  2398. }
  2399. }
  2400. return i, nil
  2401. }
  2402. func (m *RunAsUserStrategyOptions) Marshal() (dAtA []byte, err error) {
  2403. size := m.Size()
  2404. dAtA = make([]byte, size)
  2405. n, err := m.MarshalTo(dAtA)
  2406. if err != nil {
  2407. return nil, err
  2408. }
  2409. return dAtA[:n], nil
  2410. }
  2411. func (m *RunAsUserStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
  2412. var i int
  2413. _ = i
  2414. var l int
  2415. _ = l
  2416. dAtA[i] = 0xa
  2417. i++
  2418. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
  2419. i += copy(dAtA[i:], m.Rule)
  2420. if len(m.Ranges) > 0 {
  2421. for _, msg := range m.Ranges {
  2422. dAtA[i] = 0x12
  2423. i++
  2424. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2425. n, err := msg.MarshalTo(dAtA[i:])
  2426. if err != nil {
  2427. return 0, err
  2428. }
  2429. i += n
  2430. }
  2431. }
  2432. return i, nil
  2433. }
  2434. func (m *SELinuxStrategyOptions) Marshal() (dAtA []byte, err error) {
  2435. size := m.Size()
  2436. dAtA = make([]byte, size)
  2437. n, err := m.MarshalTo(dAtA)
  2438. if err != nil {
  2439. return nil, err
  2440. }
  2441. return dAtA[:n], nil
  2442. }
  2443. func (m *SELinuxStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
  2444. var i int
  2445. _ = i
  2446. var l int
  2447. _ = l
  2448. dAtA[i] = 0xa
  2449. i++
  2450. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
  2451. i += copy(dAtA[i:], m.Rule)
  2452. if m.SELinuxOptions != nil {
  2453. dAtA[i] = 0x12
  2454. i++
  2455. i = encodeVarintGenerated(dAtA, i, uint64(m.SELinuxOptions.Size()))
  2456. n58, err := m.SELinuxOptions.MarshalTo(dAtA[i:])
  2457. if err != nil {
  2458. return 0, err
  2459. }
  2460. i += n58
  2461. }
  2462. return i, nil
  2463. }
  2464. func (m *Scale) Marshal() (dAtA []byte, err error) {
  2465. size := m.Size()
  2466. dAtA = make([]byte, size)
  2467. n, err := m.MarshalTo(dAtA)
  2468. if err != nil {
  2469. return nil, err
  2470. }
  2471. return dAtA[:n], nil
  2472. }
  2473. func (m *Scale) MarshalTo(dAtA []byte) (int, error) {
  2474. var i int
  2475. _ = i
  2476. var l int
  2477. _ = l
  2478. dAtA[i] = 0xa
  2479. i++
  2480. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  2481. n59, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  2482. if err != nil {
  2483. return 0, err
  2484. }
  2485. i += n59
  2486. dAtA[i] = 0x12
  2487. i++
  2488. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  2489. n60, err := m.Spec.MarshalTo(dAtA[i:])
  2490. if err != nil {
  2491. return 0, err
  2492. }
  2493. i += n60
  2494. dAtA[i] = 0x1a
  2495. i++
  2496. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  2497. n61, err := m.Status.MarshalTo(dAtA[i:])
  2498. if err != nil {
  2499. return 0, err
  2500. }
  2501. i += n61
  2502. return i, nil
  2503. }
  2504. func (m *ScaleSpec) Marshal() (dAtA []byte, err error) {
  2505. size := m.Size()
  2506. dAtA = make([]byte, size)
  2507. n, err := m.MarshalTo(dAtA)
  2508. if err != nil {
  2509. return nil, err
  2510. }
  2511. return dAtA[:n], nil
  2512. }
  2513. func (m *ScaleSpec) MarshalTo(dAtA []byte) (int, error) {
  2514. var i int
  2515. _ = i
  2516. var l int
  2517. _ = l
  2518. dAtA[i] = 0x8
  2519. i++
  2520. i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
  2521. return i, nil
  2522. }
  2523. func (m *ScaleStatus) Marshal() (dAtA []byte, err error) {
  2524. size := m.Size()
  2525. dAtA = make([]byte, size)
  2526. n, err := m.MarshalTo(dAtA)
  2527. if err != nil {
  2528. return nil, err
  2529. }
  2530. return dAtA[:n], nil
  2531. }
  2532. func (m *ScaleStatus) MarshalTo(dAtA []byte) (int, error) {
  2533. var i int
  2534. _ = i
  2535. var l int
  2536. _ = l
  2537. dAtA[i] = 0x8
  2538. i++
  2539. i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
  2540. if len(m.Selector) > 0 {
  2541. keysForSelector := make([]string, 0, len(m.Selector))
  2542. for k := range m.Selector {
  2543. keysForSelector = append(keysForSelector, string(k))
  2544. }
  2545. github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
  2546. for _, k := range keysForSelector {
  2547. dAtA[i] = 0x12
  2548. i++
  2549. v := m.Selector[string(k)]
  2550. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  2551. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  2552. dAtA[i] = 0xa
  2553. i++
  2554. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  2555. i += copy(dAtA[i:], k)
  2556. dAtA[i] = 0x12
  2557. i++
  2558. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  2559. i += copy(dAtA[i:], v)
  2560. }
  2561. }
  2562. dAtA[i] = 0x1a
  2563. i++
  2564. i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetSelector)))
  2565. i += copy(dAtA[i:], m.TargetSelector)
  2566. return i, nil
  2567. }
  2568. func (m *SupplementalGroupsStrategyOptions) Marshal() (dAtA []byte, err error) {
  2569. size := m.Size()
  2570. dAtA = make([]byte, size)
  2571. n, err := m.MarshalTo(dAtA)
  2572. if err != nil {
  2573. return nil, err
  2574. }
  2575. return dAtA[:n], nil
  2576. }
  2577. func (m *SupplementalGroupsStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
  2578. var i int
  2579. _ = i
  2580. var l int
  2581. _ = l
  2582. dAtA[i] = 0xa
  2583. i++
  2584. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
  2585. i += copy(dAtA[i:], m.Rule)
  2586. if len(m.Ranges) > 0 {
  2587. for _, msg := range m.Ranges {
  2588. dAtA[i] = 0x12
  2589. i++
  2590. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  2591. n, err := msg.MarshalTo(dAtA[i:])
  2592. if err != nil {
  2593. return 0, err
  2594. }
  2595. i += n
  2596. }
  2597. }
  2598. return i, nil
  2599. }
  2600. func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
  2601. for v >= 1<<7 {
  2602. dAtA[offset] = uint8(v&0x7f | 0x80)
  2603. v >>= 7
  2604. offset++
  2605. }
  2606. dAtA[offset] = uint8(v)
  2607. return offset + 1
  2608. }
  2609. func (m *AllowedCSIDriver) Size() (n int) {
  2610. var l int
  2611. _ = l
  2612. l = len(m.Name)
  2613. n += 1 + l + sovGenerated(uint64(l))
  2614. return n
  2615. }
  2616. func (m *AllowedFlexVolume) Size() (n int) {
  2617. var l int
  2618. _ = l
  2619. l = len(m.Driver)
  2620. n += 1 + l + sovGenerated(uint64(l))
  2621. return n
  2622. }
  2623. func (m *AllowedHostPath) Size() (n int) {
  2624. var l int
  2625. _ = l
  2626. l = len(m.PathPrefix)
  2627. n += 1 + l + sovGenerated(uint64(l))
  2628. n += 2
  2629. return n
  2630. }
  2631. func (m *DaemonSet) Size() (n int) {
  2632. var l int
  2633. _ = l
  2634. l = m.ObjectMeta.Size()
  2635. n += 1 + l + sovGenerated(uint64(l))
  2636. l = m.Spec.Size()
  2637. n += 1 + l + sovGenerated(uint64(l))
  2638. l = m.Status.Size()
  2639. n += 1 + l + sovGenerated(uint64(l))
  2640. return n
  2641. }
  2642. func (m *DaemonSetCondition) Size() (n int) {
  2643. var l int
  2644. _ = l
  2645. l = len(m.Type)
  2646. n += 1 + l + sovGenerated(uint64(l))
  2647. l = len(m.Status)
  2648. n += 1 + l + sovGenerated(uint64(l))
  2649. l = m.LastTransitionTime.Size()
  2650. n += 1 + l + sovGenerated(uint64(l))
  2651. l = len(m.Reason)
  2652. n += 1 + l + sovGenerated(uint64(l))
  2653. l = len(m.Message)
  2654. n += 1 + l + sovGenerated(uint64(l))
  2655. return n
  2656. }
  2657. func (m *DaemonSetList) Size() (n int) {
  2658. var l int
  2659. _ = l
  2660. l = m.ListMeta.Size()
  2661. n += 1 + l + sovGenerated(uint64(l))
  2662. if len(m.Items) > 0 {
  2663. for _, e := range m.Items {
  2664. l = e.Size()
  2665. n += 1 + l + sovGenerated(uint64(l))
  2666. }
  2667. }
  2668. return n
  2669. }
  2670. func (m *DaemonSetSpec) Size() (n int) {
  2671. var l int
  2672. _ = l
  2673. if m.Selector != nil {
  2674. l = m.Selector.Size()
  2675. n += 1 + l + sovGenerated(uint64(l))
  2676. }
  2677. l = m.Template.Size()
  2678. n += 1 + l + sovGenerated(uint64(l))
  2679. l = m.UpdateStrategy.Size()
  2680. n += 1 + l + sovGenerated(uint64(l))
  2681. n += 1 + sovGenerated(uint64(m.MinReadySeconds))
  2682. n += 1 + sovGenerated(uint64(m.TemplateGeneration))
  2683. if m.RevisionHistoryLimit != nil {
  2684. n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
  2685. }
  2686. return n
  2687. }
  2688. func (m *DaemonSetStatus) Size() (n int) {
  2689. var l int
  2690. _ = l
  2691. n += 1 + sovGenerated(uint64(m.CurrentNumberScheduled))
  2692. n += 1 + sovGenerated(uint64(m.NumberMisscheduled))
  2693. n += 1 + sovGenerated(uint64(m.DesiredNumberScheduled))
  2694. n += 1 + sovGenerated(uint64(m.NumberReady))
  2695. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  2696. n += 1 + sovGenerated(uint64(m.UpdatedNumberScheduled))
  2697. n += 1 + sovGenerated(uint64(m.NumberAvailable))
  2698. n += 1 + sovGenerated(uint64(m.NumberUnavailable))
  2699. if m.CollisionCount != nil {
  2700. n += 1 + sovGenerated(uint64(*m.CollisionCount))
  2701. }
  2702. if len(m.Conditions) > 0 {
  2703. for _, e := range m.Conditions {
  2704. l = e.Size()
  2705. n += 1 + l + sovGenerated(uint64(l))
  2706. }
  2707. }
  2708. return n
  2709. }
  2710. func (m *DaemonSetUpdateStrategy) Size() (n int) {
  2711. var l int
  2712. _ = l
  2713. l = len(m.Type)
  2714. n += 1 + l + sovGenerated(uint64(l))
  2715. if m.RollingUpdate != nil {
  2716. l = m.RollingUpdate.Size()
  2717. n += 1 + l + sovGenerated(uint64(l))
  2718. }
  2719. return n
  2720. }
  2721. func (m *Deployment) Size() (n int) {
  2722. var l int
  2723. _ = l
  2724. l = m.ObjectMeta.Size()
  2725. n += 1 + l + sovGenerated(uint64(l))
  2726. l = m.Spec.Size()
  2727. n += 1 + l + sovGenerated(uint64(l))
  2728. l = m.Status.Size()
  2729. n += 1 + l + sovGenerated(uint64(l))
  2730. return n
  2731. }
  2732. func (m *DeploymentCondition) Size() (n int) {
  2733. var l int
  2734. _ = l
  2735. l = len(m.Type)
  2736. n += 1 + l + sovGenerated(uint64(l))
  2737. l = len(m.Status)
  2738. n += 1 + l + sovGenerated(uint64(l))
  2739. l = len(m.Reason)
  2740. n += 1 + l + sovGenerated(uint64(l))
  2741. l = len(m.Message)
  2742. n += 1 + l + sovGenerated(uint64(l))
  2743. l = m.LastUpdateTime.Size()
  2744. n += 1 + l + sovGenerated(uint64(l))
  2745. l = m.LastTransitionTime.Size()
  2746. n += 1 + l + sovGenerated(uint64(l))
  2747. return n
  2748. }
  2749. func (m *DeploymentList) Size() (n int) {
  2750. var l int
  2751. _ = l
  2752. l = m.ListMeta.Size()
  2753. n += 1 + l + sovGenerated(uint64(l))
  2754. if len(m.Items) > 0 {
  2755. for _, e := range m.Items {
  2756. l = e.Size()
  2757. n += 1 + l + sovGenerated(uint64(l))
  2758. }
  2759. }
  2760. return n
  2761. }
  2762. func (m *DeploymentRollback) Size() (n int) {
  2763. var l int
  2764. _ = l
  2765. l = len(m.Name)
  2766. n += 1 + l + sovGenerated(uint64(l))
  2767. if len(m.UpdatedAnnotations) > 0 {
  2768. for k, v := range m.UpdatedAnnotations {
  2769. _ = k
  2770. _ = v
  2771. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  2772. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  2773. }
  2774. }
  2775. l = m.RollbackTo.Size()
  2776. n += 1 + l + sovGenerated(uint64(l))
  2777. return n
  2778. }
  2779. func (m *DeploymentSpec) Size() (n int) {
  2780. var l int
  2781. _ = l
  2782. if m.Replicas != nil {
  2783. n += 1 + sovGenerated(uint64(*m.Replicas))
  2784. }
  2785. if m.Selector != nil {
  2786. l = m.Selector.Size()
  2787. n += 1 + l + sovGenerated(uint64(l))
  2788. }
  2789. l = m.Template.Size()
  2790. n += 1 + l + sovGenerated(uint64(l))
  2791. l = m.Strategy.Size()
  2792. n += 1 + l + sovGenerated(uint64(l))
  2793. n += 1 + sovGenerated(uint64(m.MinReadySeconds))
  2794. if m.RevisionHistoryLimit != nil {
  2795. n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
  2796. }
  2797. n += 2
  2798. if m.RollbackTo != nil {
  2799. l = m.RollbackTo.Size()
  2800. n += 1 + l + sovGenerated(uint64(l))
  2801. }
  2802. if m.ProgressDeadlineSeconds != nil {
  2803. n += 1 + sovGenerated(uint64(*m.ProgressDeadlineSeconds))
  2804. }
  2805. return n
  2806. }
  2807. func (m *DeploymentStatus) Size() (n int) {
  2808. var l int
  2809. _ = l
  2810. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  2811. n += 1 + sovGenerated(uint64(m.Replicas))
  2812. n += 1 + sovGenerated(uint64(m.UpdatedReplicas))
  2813. n += 1 + sovGenerated(uint64(m.AvailableReplicas))
  2814. n += 1 + sovGenerated(uint64(m.UnavailableReplicas))
  2815. if len(m.Conditions) > 0 {
  2816. for _, e := range m.Conditions {
  2817. l = e.Size()
  2818. n += 1 + l + sovGenerated(uint64(l))
  2819. }
  2820. }
  2821. n += 1 + sovGenerated(uint64(m.ReadyReplicas))
  2822. if m.CollisionCount != nil {
  2823. n += 1 + sovGenerated(uint64(*m.CollisionCount))
  2824. }
  2825. return n
  2826. }
  2827. func (m *DeploymentStrategy) Size() (n int) {
  2828. var l int
  2829. _ = l
  2830. l = len(m.Type)
  2831. n += 1 + l + sovGenerated(uint64(l))
  2832. if m.RollingUpdate != nil {
  2833. l = m.RollingUpdate.Size()
  2834. n += 1 + l + sovGenerated(uint64(l))
  2835. }
  2836. return n
  2837. }
  2838. func (m *FSGroupStrategyOptions) Size() (n int) {
  2839. var l int
  2840. _ = l
  2841. l = len(m.Rule)
  2842. n += 1 + l + sovGenerated(uint64(l))
  2843. if len(m.Ranges) > 0 {
  2844. for _, e := range m.Ranges {
  2845. l = e.Size()
  2846. n += 1 + l + sovGenerated(uint64(l))
  2847. }
  2848. }
  2849. return n
  2850. }
  2851. func (m *HTTPIngressPath) Size() (n int) {
  2852. var l int
  2853. _ = l
  2854. l = len(m.Path)
  2855. n += 1 + l + sovGenerated(uint64(l))
  2856. l = m.Backend.Size()
  2857. n += 1 + l + sovGenerated(uint64(l))
  2858. return n
  2859. }
  2860. func (m *HTTPIngressRuleValue) Size() (n int) {
  2861. var l int
  2862. _ = l
  2863. if len(m.Paths) > 0 {
  2864. for _, e := range m.Paths {
  2865. l = e.Size()
  2866. n += 1 + l + sovGenerated(uint64(l))
  2867. }
  2868. }
  2869. return n
  2870. }
  2871. func (m *HostPortRange) Size() (n int) {
  2872. var l int
  2873. _ = l
  2874. n += 1 + sovGenerated(uint64(m.Min))
  2875. n += 1 + sovGenerated(uint64(m.Max))
  2876. return n
  2877. }
  2878. func (m *IDRange) Size() (n int) {
  2879. var l int
  2880. _ = l
  2881. n += 1 + sovGenerated(uint64(m.Min))
  2882. n += 1 + sovGenerated(uint64(m.Max))
  2883. return n
  2884. }
  2885. func (m *IPBlock) Size() (n int) {
  2886. var l int
  2887. _ = l
  2888. l = len(m.CIDR)
  2889. n += 1 + l + sovGenerated(uint64(l))
  2890. if len(m.Except) > 0 {
  2891. for _, s := range m.Except {
  2892. l = len(s)
  2893. n += 1 + l + sovGenerated(uint64(l))
  2894. }
  2895. }
  2896. return n
  2897. }
  2898. func (m *Ingress) Size() (n int) {
  2899. var l int
  2900. _ = l
  2901. l = m.ObjectMeta.Size()
  2902. n += 1 + l + sovGenerated(uint64(l))
  2903. l = m.Spec.Size()
  2904. n += 1 + l + sovGenerated(uint64(l))
  2905. l = m.Status.Size()
  2906. n += 1 + l + sovGenerated(uint64(l))
  2907. return n
  2908. }
  2909. func (m *IngressBackend) Size() (n int) {
  2910. var l int
  2911. _ = l
  2912. l = len(m.ServiceName)
  2913. n += 1 + l + sovGenerated(uint64(l))
  2914. l = m.ServicePort.Size()
  2915. n += 1 + l + sovGenerated(uint64(l))
  2916. return n
  2917. }
  2918. func (m *IngressList) Size() (n int) {
  2919. var l int
  2920. _ = l
  2921. l = m.ListMeta.Size()
  2922. n += 1 + l + sovGenerated(uint64(l))
  2923. if len(m.Items) > 0 {
  2924. for _, e := range m.Items {
  2925. l = e.Size()
  2926. n += 1 + l + sovGenerated(uint64(l))
  2927. }
  2928. }
  2929. return n
  2930. }
  2931. func (m *IngressRule) Size() (n int) {
  2932. var l int
  2933. _ = l
  2934. l = len(m.Host)
  2935. n += 1 + l + sovGenerated(uint64(l))
  2936. l = m.IngressRuleValue.Size()
  2937. n += 1 + l + sovGenerated(uint64(l))
  2938. return n
  2939. }
  2940. func (m *IngressRuleValue) Size() (n int) {
  2941. var l int
  2942. _ = l
  2943. if m.HTTP != nil {
  2944. l = m.HTTP.Size()
  2945. n += 1 + l + sovGenerated(uint64(l))
  2946. }
  2947. return n
  2948. }
  2949. func (m *IngressSpec) Size() (n int) {
  2950. var l int
  2951. _ = l
  2952. if m.Backend != nil {
  2953. l = m.Backend.Size()
  2954. n += 1 + l + sovGenerated(uint64(l))
  2955. }
  2956. if len(m.TLS) > 0 {
  2957. for _, e := range m.TLS {
  2958. l = e.Size()
  2959. n += 1 + l + sovGenerated(uint64(l))
  2960. }
  2961. }
  2962. if len(m.Rules) > 0 {
  2963. for _, e := range m.Rules {
  2964. l = e.Size()
  2965. n += 1 + l + sovGenerated(uint64(l))
  2966. }
  2967. }
  2968. return n
  2969. }
  2970. func (m *IngressStatus) Size() (n int) {
  2971. var l int
  2972. _ = l
  2973. l = m.LoadBalancer.Size()
  2974. n += 1 + l + sovGenerated(uint64(l))
  2975. return n
  2976. }
  2977. func (m *IngressTLS) Size() (n int) {
  2978. var l int
  2979. _ = l
  2980. if len(m.Hosts) > 0 {
  2981. for _, s := range m.Hosts {
  2982. l = len(s)
  2983. n += 1 + l + sovGenerated(uint64(l))
  2984. }
  2985. }
  2986. l = len(m.SecretName)
  2987. n += 1 + l + sovGenerated(uint64(l))
  2988. return n
  2989. }
  2990. func (m *NetworkPolicy) Size() (n int) {
  2991. var l int
  2992. _ = l
  2993. l = m.ObjectMeta.Size()
  2994. n += 1 + l + sovGenerated(uint64(l))
  2995. l = m.Spec.Size()
  2996. n += 1 + l + sovGenerated(uint64(l))
  2997. return n
  2998. }
  2999. func (m *NetworkPolicyEgressRule) Size() (n int) {
  3000. var l int
  3001. _ = l
  3002. if len(m.Ports) > 0 {
  3003. for _, e := range m.Ports {
  3004. l = e.Size()
  3005. n += 1 + l + sovGenerated(uint64(l))
  3006. }
  3007. }
  3008. if len(m.To) > 0 {
  3009. for _, e := range m.To {
  3010. l = e.Size()
  3011. n += 1 + l + sovGenerated(uint64(l))
  3012. }
  3013. }
  3014. return n
  3015. }
  3016. func (m *NetworkPolicyIngressRule) Size() (n int) {
  3017. var l int
  3018. _ = l
  3019. if len(m.Ports) > 0 {
  3020. for _, e := range m.Ports {
  3021. l = e.Size()
  3022. n += 1 + l + sovGenerated(uint64(l))
  3023. }
  3024. }
  3025. if len(m.From) > 0 {
  3026. for _, e := range m.From {
  3027. l = e.Size()
  3028. n += 1 + l + sovGenerated(uint64(l))
  3029. }
  3030. }
  3031. return n
  3032. }
  3033. func (m *NetworkPolicyList) Size() (n int) {
  3034. var l int
  3035. _ = l
  3036. l = m.ListMeta.Size()
  3037. n += 1 + l + sovGenerated(uint64(l))
  3038. if len(m.Items) > 0 {
  3039. for _, e := range m.Items {
  3040. l = e.Size()
  3041. n += 1 + l + sovGenerated(uint64(l))
  3042. }
  3043. }
  3044. return n
  3045. }
  3046. func (m *NetworkPolicyPeer) Size() (n int) {
  3047. var l int
  3048. _ = l
  3049. if m.PodSelector != nil {
  3050. l = m.PodSelector.Size()
  3051. n += 1 + l + sovGenerated(uint64(l))
  3052. }
  3053. if m.NamespaceSelector != nil {
  3054. l = m.NamespaceSelector.Size()
  3055. n += 1 + l + sovGenerated(uint64(l))
  3056. }
  3057. if m.IPBlock != nil {
  3058. l = m.IPBlock.Size()
  3059. n += 1 + l + sovGenerated(uint64(l))
  3060. }
  3061. return n
  3062. }
  3063. func (m *NetworkPolicyPort) Size() (n int) {
  3064. var l int
  3065. _ = l
  3066. if m.Protocol != nil {
  3067. l = len(*m.Protocol)
  3068. n += 1 + l + sovGenerated(uint64(l))
  3069. }
  3070. if m.Port != nil {
  3071. l = m.Port.Size()
  3072. n += 1 + l + sovGenerated(uint64(l))
  3073. }
  3074. return n
  3075. }
  3076. func (m *NetworkPolicySpec) Size() (n int) {
  3077. var l int
  3078. _ = l
  3079. l = m.PodSelector.Size()
  3080. n += 1 + l + sovGenerated(uint64(l))
  3081. if len(m.Ingress) > 0 {
  3082. for _, e := range m.Ingress {
  3083. l = e.Size()
  3084. n += 1 + l + sovGenerated(uint64(l))
  3085. }
  3086. }
  3087. if len(m.Egress) > 0 {
  3088. for _, e := range m.Egress {
  3089. l = e.Size()
  3090. n += 1 + l + sovGenerated(uint64(l))
  3091. }
  3092. }
  3093. if len(m.PolicyTypes) > 0 {
  3094. for _, s := range m.PolicyTypes {
  3095. l = len(s)
  3096. n += 1 + l + sovGenerated(uint64(l))
  3097. }
  3098. }
  3099. return n
  3100. }
  3101. func (m *PodSecurityPolicy) Size() (n int) {
  3102. var l int
  3103. _ = l
  3104. l = m.ObjectMeta.Size()
  3105. n += 1 + l + sovGenerated(uint64(l))
  3106. l = m.Spec.Size()
  3107. n += 1 + l + sovGenerated(uint64(l))
  3108. return n
  3109. }
  3110. func (m *PodSecurityPolicyList) Size() (n int) {
  3111. var l int
  3112. _ = l
  3113. l = m.ListMeta.Size()
  3114. n += 1 + l + sovGenerated(uint64(l))
  3115. if len(m.Items) > 0 {
  3116. for _, e := range m.Items {
  3117. l = e.Size()
  3118. n += 1 + l + sovGenerated(uint64(l))
  3119. }
  3120. }
  3121. return n
  3122. }
  3123. func (m *PodSecurityPolicySpec) Size() (n int) {
  3124. var l int
  3125. _ = l
  3126. n += 2
  3127. if len(m.DefaultAddCapabilities) > 0 {
  3128. for _, s := range m.DefaultAddCapabilities {
  3129. l = len(s)
  3130. n += 1 + l + sovGenerated(uint64(l))
  3131. }
  3132. }
  3133. if len(m.RequiredDropCapabilities) > 0 {
  3134. for _, s := range m.RequiredDropCapabilities {
  3135. l = len(s)
  3136. n += 1 + l + sovGenerated(uint64(l))
  3137. }
  3138. }
  3139. if len(m.AllowedCapabilities) > 0 {
  3140. for _, s := range m.AllowedCapabilities {
  3141. l = len(s)
  3142. n += 1 + l + sovGenerated(uint64(l))
  3143. }
  3144. }
  3145. if len(m.Volumes) > 0 {
  3146. for _, s := range m.Volumes {
  3147. l = len(s)
  3148. n += 1 + l + sovGenerated(uint64(l))
  3149. }
  3150. }
  3151. n += 2
  3152. if len(m.HostPorts) > 0 {
  3153. for _, e := range m.HostPorts {
  3154. l = e.Size()
  3155. n += 1 + l + sovGenerated(uint64(l))
  3156. }
  3157. }
  3158. n += 2
  3159. n += 2
  3160. l = m.SELinux.Size()
  3161. n += 1 + l + sovGenerated(uint64(l))
  3162. l = m.RunAsUser.Size()
  3163. n += 1 + l + sovGenerated(uint64(l))
  3164. l = m.SupplementalGroups.Size()
  3165. n += 1 + l + sovGenerated(uint64(l))
  3166. l = m.FSGroup.Size()
  3167. n += 1 + l + sovGenerated(uint64(l))
  3168. n += 2
  3169. if m.DefaultAllowPrivilegeEscalation != nil {
  3170. n += 2
  3171. }
  3172. if m.AllowPrivilegeEscalation != nil {
  3173. n += 3
  3174. }
  3175. if len(m.AllowedHostPaths) > 0 {
  3176. for _, e := range m.AllowedHostPaths {
  3177. l = e.Size()
  3178. n += 2 + l + sovGenerated(uint64(l))
  3179. }
  3180. }
  3181. if len(m.AllowedFlexVolumes) > 0 {
  3182. for _, e := range m.AllowedFlexVolumes {
  3183. l = e.Size()
  3184. n += 2 + l + sovGenerated(uint64(l))
  3185. }
  3186. }
  3187. if len(m.AllowedUnsafeSysctls) > 0 {
  3188. for _, s := range m.AllowedUnsafeSysctls {
  3189. l = len(s)
  3190. n += 2 + l + sovGenerated(uint64(l))
  3191. }
  3192. }
  3193. if len(m.ForbiddenSysctls) > 0 {
  3194. for _, s := range m.ForbiddenSysctls {
  3195. l = len(s)
  3196. n += 2 + l + sovGenerated(uint64(l))
  3197. }
  3198. }
  3199. if len(m.AllowedProcMountTypes) > 0 {
  3200. for _, s := range m.AllowedProcMountTypes {
  3201. l = len(s)
  3202. n += 2 + l + sovGenerated(uint64(l))
  3203. }
  3204. }
  3205. if m.RunAsGroup != nil {
  3206. l = m.RunAsGroup.Size()
  3207. n += 2 + l + sovGenerated(uint64(l))
  3208. }
  3209. if len(m.AllowedCSIDrivers) > 0 {
  3210. for _, e := range m.AllowedCSIDrivers {
  3211. l = e.Size()
  3212. n += 2 + l + sovGenerated(uint64(l))
  3213. }
  3214. }
  3215. return n
  3216. }
  3217. func (m *ReplicaSet) Size() (n int) {
  3218. var l int
  3219. _ = l
  3220. l = m.ObjectMeta.Size()
  3221. n += 1 + l + sovGenerated(uint64(l))
  3222. l = m.Spec.Size()
  3223. n += 1 + l + sovGenerated(uint64(l))
  3224. l = m.Status.Size()
  3225. n += 1 + l + sovGenerated(uint64(l))
  3226. return n
  3227. }
  3228. func (m *ReplicaSetCondition) Size() (n int) {
  3229. var l int
  3230. _ = l
  3231. l = len(m.Type)
  3232. n += 1 + l + sovGenerated(uint64(l))
  3233. l = len(m.Status)
  3234. n += 1 + l + sovGenerated(uint64(l))
  3235. l = m.LastTransitionTime.Size()
  3236. n += 1 + l + sovGenerated(uint64(l))
  3237. l = len(m.Reason)
  3238. n += 1 + l + sovGenerated(uint64(l))
  3239. l = len(m.Message)
  3240. n += 1 + l + sovGenerated(uint64(l))
  3241. return n
  3242. }
  3243. func (m *ReplicaSetList) Size() (n int) {
  3244. var l int
  3245. _ = l
  3246. l = m.ListMeta.Size()
  3247. n += 1 + l + sovGenerated(uint64(l))
  3248. if len(m.Items) > 0 {
  3249. for _, e := range m.Items {
  3250. l = e.Size()
  3251. n += 1 + l + sovGenerated(uint64(l))
  3252. }
  3253. }
  3254. return n
  3255. }
  3256. func (m *ReplicaSetSpec) Size() (n int) {
  3257. var l int
  3258. _ = l
  3259. if m.Replicas != nil {
  3260. n += 1 + sovGenerated(uint64(*m.Replicas))
  3261. }
  3262. if m.Selector != nil {
  3263. l = m.Selector.Size()
  3264. n += 1 + l + sovGenerated(uint64(l))
  3265. }
  3266. l = m.Template.Size()
  3267. n += 1 + l + sovGenerated(uint64(l))
  3268. n += 1 + sovGenerated(uint64(m.MinReadySeconds))
  3269. return n
  3270. }
  3271. func (m *ReplicaSetStatus) Size() (n int) {
  3272. var l int
  3273. _ = l
  3274. n += 1 + sovGenerated(uint64(m.Replicas))
  3275. n += 1 + sovGenerated(uint64(m.FullyLabeledReplicas))
  3276. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  3277. n += 1 + sovGenerated(uint64(m.ReadyReplicas))
  3278. n += 1 + sovGenerated(uint64(m.AvailableReplicas))
  3279. if len(m.Conditions) > 0 {
  3280. for _, e := range m.Conditions {
  3281. l = e.Size()
  3282. n += 1 + l + sovGenerated(uint64(l))
  3283. }
  3284. }
  3285. return n
  3286. }
  3287. func (m *ReplicationControllerDummy) Size() (n int) {
  3288. var l int
  3289. _ = l
  3290. return n
  3291. }
  3292. func (m *RollbackConfig) Size() (n int) {
  3293. var l int
  3294. _ = l
  3295. n += 1 + sovGenerated(uint64(m.Revision))
  3296. return n
  3297. }
  3298. func (m *RollingUpdateDaemonSet) Size() (n int) {
  3299. var l int
  3300. _ = l
  3301. if m.MaxUnavailable != nil {
  3302. l = m.MaxUnavailable.Size()
  3303. n += 1 + l + sovGenerated(uint64(l))
  3304. }
  3305. return n
  3306. }
  3307. func (m *RollingUpdateDeployment) Size() (n int) {
  3308. var l int
  3309. _ = l
  3310. if m.MaxUnavailable != nil {
  3311. l = m.MaxUnavailable.Size()
  3312. n += 1 + l + sovGenerated(uint64(l))
  3313. }
  3314. if m.MaxSurge != nil {
  3315. l = m.MaxSurge.Size()
  3316. n += 1 + l + sovGenerated(uint64(l))
  3317. }
  3318. return n
  3319. }
  3320. func (m *RunAsGroupStrategyOptions) Size() (n int) {
  3321. var l int
  3322. _ = l
  3323. l = len(m.Rule)
  3324. n += 1 + l + sovGenerated(uint64(l))
  3325. if len(m.Ranges) > 0 {
  3326. for _, e := range m.Ranges {
  3327. l = e.Size()
  3328. n += 1 + l + sovGenerated(uint64(l))
  3329. }
  3330. }
  3331. return n
  3332. }
  3333. func (m *RunAsUserStrategyOptions) Size() (n int) {
  3334. var l int
  3335. _ = l
  3336. l = len(m.Rule)
  3337. n += 1 + l + sovGenerated(uint64(l))
  3338. if len(m.Ranges) > 0 {
  3339. for _, e := range m.Ranges {
  3340. l = e.Size()
  3341. n += 1 + l + sovGenerated(uint64(l))
  3342. }
  3343. }
  3344. return n
  3345. }
  3346. func (m *SELinuxStrategyOptions) Size() (n int) {
  3347. var l int
  3348. _ = l
  3349. l = len(m.Rule)
  3350. n += 1 + l + sovGenerated(uint64(l))
  3351. if m.SELinuxOptions != nil {
  3352. l = m.SELinuxOptions.Size()
  3353. n += 1 + l + sovGenerated(uint64(l))
  3354. }
  3355. return n
  3356. }
  3357. func (m *Scale) Size() (n int) {
  3358. var l int
  3359. _ = l
  3360. l = m.ObjectMeta.Size()
  3361. n += 1 + l + sovGenerated(uint64(l))
  3362. l = m.Spec.Size()
  3363. n += 1 + l + sovGenerated(uint64(l))
  3364. l = m.Status.Size()
  3365. n += 1 + l + sovGenerated(uint64(l))
  3366. return n
  3367. }
  3368. func (m *ScaleSpec) Size() (n int) {
  3369. var l int
  3370. _ = l
  3371. n += 1 + sovGenerated(uint64(m.Replicas))
  3372. return n
  3373. }
  3374. func (m *ScaleStatus) Size() (n int) {
  3375. var l int
  3376. _ = l
  3377. n += 1 + sovGenerated(uint64(m.Replicas))
  3378. if len(m.Selector) > 0 {
  3379. for k, v := range m.Selector {
  3380. _ = k
  3381. _ = v
  3382. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  3383. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  3384. }
  3385. }
  3386. l = len(m.TargetSelector)
  3387. n += 1 + l + sovGenerated(uint64(l))
  3388. return n
  3389. }
  3390. func (m *SupplementalGroupsStrategyOptions) Size() (n int) {
  3391. var l int
  3392. _ = l
  3393. l = len(m.Rule)
  3394. n += 1 + l + sovGenerated(uint64(l))
  3395. if len(m.Ranges) > 0 {
  3396. for _, e := range m.Ranges {
  3397. l = e.Size()
  3398. n += 1 + l + sovGenerated(uint64(l))
  3399. }
  3400. }
  3401. return n
  3402. }
  3403. func sovGenerated(x uint64) (n int) {
  3404. for {
  3405. n++
  3406. x >>= 7
  3407. if x == 0 {
  3408. break
  3409. }
  3410. }
  3411. return n
  3412. }
  3413. func sozGenerated(x uint64) (n int) {
  3414. return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  3415. }
  3416. func (this *AllowedCSIDriver) String() string {
  3417. if this == nil {
  3418. return "nil"
  3419. }
  3420. s := strings.Join([]string{`&AllowedCSIDriver{`,
  3421. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  3422. `}`,
  3423. }, "")
  3424. return s
  3425. }
  3426. func (this *AllowedFlexVolume) String() string {
  3427. if this == nil {
  3428. return "nil"
  3429. }
  3430. s := strings.Join([]string{`&AllowedFlexVolume{`,
  3431. `Driver:` + fmt.Sprintf("%v", this.Driver) + `,`,
  3432. `}`,
  3433. }, "")
  3434. return s
  3435. }
  3436. func (this *AllowedHostPath) String() string {
  3437. if this == nil {
  3438. return "nil"
  3439. }
  3440. s := strings.Join([]string{`&AllowedHostPath{`,
  3441. `PathPrefix:` + fmt.Sprintf("%v", this.PathPrefix) + `,`,
  3442. `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
  3443. `}`,
  3444. }, "")
  3445. return s
  3446. }
  3447. func (this *DaemonSet) String() string {
  3448. if this == nil {
  3449. return "nil"
  3450. }
  3451. s := strings.Join([]string{`&DaemonSet{`,
  3452. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  3453. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DaemonSetSpec", "DaemonSetSpec", 1), `&`, ``, 1) + `,`,
  3454. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DaemonSetStatus", "DaemonSetStatus", 1), `&`, ``, 1) + `,`,
  3455. `}`,
  3456. }, "")
  3457. return s
  3458. }
  3459. func (this *DaemonSetCondition) String() string {
  3460. if this == nil {
  3461. return "nil"
  3462. }
  3463. s := strings.Join([]string{`&DaemonSetCondition{`,
  3464. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  3465. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  3466. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  3467. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  3468. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  3469. `}`,
  3470. }, "")
  3471. return s
  3472. }
  3473. func (this *DaemonSetList) String() string {
  3474. if this == nil {
  3475. return "nil"
  3476. }
  3477. s := strings.Join([]string{`&DaemonSetList{`,
  3478. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  3479. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "DaemonSet", "DaemonSet", 1), `&`, ``, 1) + `,`,
  3480. `}`,
  3481. }, "")
  3482. return s
  3483. }
  3484. func (this *DaemonSetSpec) String() string {
  3485. if this == nil {
  3486. return "nil"
  3487. }
  3488. s := strings.Join([]string{`&DaemonSetSpec{`,
  3489. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  3490. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  3491. `UpdateStrategy:` + strings.Replace(strings.Replace(this.UpdateStrategy.String(), "DaemonSetUpdateStrategy", "DaemonSetUpdateStrategy", 1), `&`, ``, 1) + `,`,
  3492. `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
  3493. `TemplateGeneration:` + fmt.Sprintf("%v", this.TemplateGeneration) + `,`,
  3494. `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
  3495. `}`,
  3496. }, "")
  3497. return s
  3498. }
  3499. func (this *DaemonSetStatus) String() string {
  3500. if this == nil {
  3501. return "nil"
  3502. }
  3503. s := strings.Join([]string{`&DaemonSetStatus{`,
  3504. `CurrentNumberScheduled:` + fmt.Sprintf("%v", this.CurrentNumberScheduled) + `,`,
  3505. `NumberMisscheduled:` + fmt.Sprintf("%v", this.NumberMisscheduled) + `,`,
  3506. `DesiredNumberScheduled:` + fmt.Sprintf("%v", this.DesiredNumberScheduled) + `,`,
  3507. `NumberReady:` + fmt.Sprintf("%v", this.NumberReady) + `,`,
  3508. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  3509. `UpdatedNumberScheduled:` + fmt.Sprintf("%v", this.UpdatedNumberScheduled) + `,`,
  3510. `NumberAvailable:` + fmt.Sprintf("%v", this.NumberAvailable) + `,`,
  3511. `NumberUnavailable:` + fmt.Sprintf("%v", this.NumberUnavailable) + `,`,
  3512. `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
  3513. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "DaemonSetCondition", "DaemonSetCondition", 1), `&`, ``, 1) + `,`,
  3514. `}`,
  3515. }, "")
  3516. return s
  3517. }
  3518. func (this *DaemonSetUpdateStrategy) String() string {
  3519. if this == nil {
  3520. return "nil"
  3521. }
  3522. s := strings.Join([]string{`&DaemonSetUpdateStrategy{`,
  3523. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  3524. `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateDaemonSet", "RollingUpdateDaemonSet", 1) + `,`,
  3525. `}`,
  3526. }, "")
  3527. return s
  3528. }
  3529. func (this *Deployment) String() string {
  3530. if this == nil {
  3531. return "nil"
  3532. }
  3533. s := strings.Join([]string{`&Deployment{`,
  3534. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  3535. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DeploymentSpec", "DeploymentSpec", 1), `&`, ``, 1) + `,`,
  3536. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DeploymentStatus", "DeploymentStatus", 1), `&`, ``, 1) + `,`,
  3537. `}`,
  3538. }, "")
  3539. return s
  3540. }
  3541. func (this *DeploymentCondition) String() string {
  3542. if this == nil {
  3543. return "nil"
  3544. }
  3545. s := strings.Join([]string{`&DeploymentCondition{`,
  3546. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  3547. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  3548. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  3549. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  3550. `LastUpdateTime:` + strings.Replace(strings.Replace(this.LastUpdateTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  3551. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  3552. `}`,
  3553. }, "")
  3554. return s
  3555. }
  3556. func (this *DeploymentList) String() string {
  3557. if this == nil {
  3558. return "nil"
  3559. }
  3560. s := strings.Join([]string{`&DeploymentList{`,
  3561. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  3562. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Deployment", "Deployment", 1), `&`, ``, 1) + `,`,
  3563. `}`,
  3564. }, "")
  3565. return s
  3566. }
  3567. func (this *DeploymentRollback) String() string {
  3568. if this == nil {
  3569. return "nil"
  3570. }
  3571. keysForUpdatedAnnotations := make([]string, 0, len(this.UpdatedAnnotations))
  3572. for k := range this.UpdatedAnnotations {
  3573. keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, k)
  3574. }
  3575. github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations)
  3576. mapStringForUpdatedAnnotations := "map[string]string{"
  3577. for _, k := range keysForUpdatedAnnotations {
  3578. mapStringForUpdatedAnnotations += fmt.Sprintf("%v: %v,", k, this.UpdatedAnnotations[k])
  3579. }
  3580. mapStringForUpdatedAnnotations += "}"
  3581. s := strings.Join([]string{`&DeploymentRollback{`,
  3582. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  3583. `UpdatedAnnotations:` + mapStringForUpdatedAnnotations + `,`,
  3584. `RollbackTo:` + strings.Replace(strings.Replace(this.RollbackTo.String(), "RollbackConfig", "RollbackConfig", 1), `&`, ``, 1) + `,`,
  3585. `}`,
  3586. }, "")
  3587. return s
  3588. }
  3589. func (this *DeploymentSpec) String() string {
  3590. if this == nil {
  3591. return "nil"
  3592. }
  3593. s := strings.Join([]string{`&DeploymentSpec{`,
  3594. `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
  3595. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  3596. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  3597. `Strategy:` + strings.Replace(strings.Replace(this.Strategy.String(), "DeploymentStrategy", "DeploymentStrategy", 1), `&`, ``, 1) + `,`,
  3598. `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
  3599. `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
  3600. `Paused:` + fmt.Sprintf("%v", this.Paused) + `,`,
  3601. `RollbackTo:` + strings.Replace(fmt.Sprintf("%v", this.RollbackTo), "RollbackConfig", "RollbackConfig", 1) + `,`,
  3602. `ProgressDeadlineSeconds:` + valueToStringGenerated(this.ProgressDeadlineSeconds) + `,`,
  3603. `}`,
  3604. }, "")
  3605. return s
  3606. }
  3607. func (this *DeploymentStatus) String() string {
  3608. if this == nil {
  3609. return "nil"
  3610. }
  3611. s := strings.Join([]string{`&DeploymentStatus{`,
  3612. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  3613. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  3614. `UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`,
  3615. `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
  3616. `UnavailableReplicas:` + fmt.Sprintf("%v", this.UnavailableReplicas) + `,`,
  3617. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "DeploymentCondition", "DeploymentCondition", 1), `&`, ``, 1) + `,`,
  3618. `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
  3619. `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
  3620. `}`,
  3621. }, "")
  3622. return s
  3623. }
  3624. func (this *DeploymentStrategy) String() string {
  3625. if this == nil {
  3626. return "nil"
  3627. }
  3628. s := strings.Join([]string{`&DeploymentStrategy{`,
  3629. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  3630. `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateDeployment", "RollingUpdateDeployment", 1) + `,`,
  3631. `}`,
  3632. }, "")
  3633. return s
  3634. }
  3635. func (this *FSGroupStrategyOptions) String() string {
  3636. if this == nil {
  3637. return "nil"
  3638. }
  3639. s := strings.Join([]string{`&FSGroupStrategyOptions{`,
  3640. `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
  3641. `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
  3642. `}`,
  3643. }, "")
  3644. return s
  3645. }
  3646. func (this *HTTPIngressPath) String() string {
  3647. if this == nil {
  3648. return "nil"
  3649. }
  3650. s := strings.Join([]string{`&HTTPIngressPath{`,
  3651. `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
  3652. `Backend:` + strings.Replace(strings.Replace(this.Backend.String(), "IngressBackend", "IngressBackend", 1), `&`, ``, 1) + `,`,
  3653. `}`,
  3654. }, "")
  3655. return s
  3656. }
  3657. func (this *HTTPIngressRuleValue) String() string {
  3658. if this == nil {
  3659. return "nil"
  3660. }
  3661. s := strings.Join([]string{`&HTTPIngressRuleValue{`,
  3662. `Paths:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Paths), "HTTPIngressPath", "HTTPIngressPath", 1), `&`, ``, 1) + `,`,
  3663. `}`,
  3664. }, "")
  3665. return s
  3666. }
  3667. func (this *HostPortRange) String() string {
  3668. if this == nil {
  3669. return "nil"
  3670. }
  3671. s := strings.Join([]string{`&HostPortRange{`,
  3672. `Min:` + fmt.Sprintf("%v", this.Min) + `,`,
  3673. `Max:` + fmt.Sprintf("%v", this.Max) + `,`,
  3674. `}`,
  3675. }, "")
  3676. return s
  3677. }
  3678. func (this *IDRange) String() string {
  3679. if this == nil {
  3680. return "nil"
  3681. }
  3682. s := strings.Join([]string{`&IDRange{`,
  3683. `Min:` + fmt.Sprintf("%v", this.Min) + `,`,
  3684. `Max:` + fmt.Sprintf("%v", this.Max) + `,`,
  3685. `}`,
  3686. }, "")
  3687. return s
  3688. }
  3689. func (this *IPBlock) String() string {
  3690. if this == nil {
  3691. return "nil"
  3692. }
  3693. s := strings.Join([]string{`&IPBlock{`,
  3694. `CIDR:` + fmt.Sprintf("%v", this.CIDR) + `,`,
  3695. `Except:` + fmt.Sprintf("%v", this.Except) + `,`,
  3696. `}`,
  3697. }, "")
  3698. return s
  3699. }
  3700. func (this *Ingress) String() string {
  3701. if this == nil {
  3702. return "nil"
  3703. }
  3704. s := strings.Join([]string{`&Ingress{`,
  3705. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  3706. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "IngressSpec", "IngressSpec", 1), `&`, ``, 1) + `,`,
  3707. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "IngressStatus", "IngressStatus", 1), `&`, ``, 1) + `,`,
  3708. `}`,
  3709. }, "")
  3710. return s
  3711. }
  3712. func (this *IngressBackend) String() string {
  3713. if this == nil {
  3714. return "nil"
  3715. }
  3716. s := strings.Join([]string{`&IngressBackend{`,
  3717. `ServiceName:` + fmt.Sprintf("%v", this.ServiceName) + `,`,
  3718. `ServicePort:` + strings.Replace(strings.Replace(this.ServicePort.String(), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1), `&`, ``, 1) + `,`,
  3719. `}`,
  3720. }, "")
  3721. return s
  3722. }
  3723. func (this *IngressList) String() string {
  3724. if this == nil {
  3725. return "nil"
  3726. }
  3727. s := strings.Join([]string{`&IngressList{`,
  3728. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  3729. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Ingress", "Ingress", 1), `&`, ``, 1) + `,`,
  3730. `}`,
  3731. }, "")
  3732. return s
  3733. }
  3734. func (this *IngressRule) String() string {
  3735. if this == nil {
  3736. return "nil"
  3737. }
  3738. s := strings.Join([]string{`&IngressRule{`,
  3739. `Host:` + fmt.Sprintf("%v", this.Host) + `,`,
  3740. `IngressRuleValue:` + strings.Replace(strings.Replace(this.IngressRuleValue.String(), "IngressRuleValue", "IngressRuleValue", 1), `&`, ``, 1) + `,`,
  3741. `}`,
  3742. }, "")
  3743. return s
  3744. }
  3745. func (this *IngressRuleValue) String() string {
  3746. if this == nil {
  3747. return "nil"
  3748. }
  3749. s := strings.Join([]string{`&IngressRuleValue{`,
  3750. `HTTP:` + strings.Replace(fmt.Sprintf("%v", this.HTTP), "HTTPIngressRuleValue", "HTTPIngressRuleValue", 1) + `,`,
  3751. `}`,
  3752. }, "")
  3753. return s
  3754. }
  3755. func (this *IngressSpec) String() string {
  3756. if this == nil {
  3757. return "nil"
  3758. }
  3759. s := strings.Join([]string{`&IngressSpec{`,
  3760. `Backend:` + strings.Replace(fmt.Sprintf("%v", this.Backend), "IngressBackend", "IngressBackend", 1) + `,`,
  3761. `TLS:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.TLS), "IngressTLS", "IngressTLS", 1), `&`, ``, 1) + `,`,
  3762. `Rules:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Rules), "IngressRule", "IngressRule", 1), `&`, ``, 1) + `,`,
  3763. `}`,
  3764. }, "")
  3765. return s
  3766. }
  3767. func (this *IngressStatus) String() string {
  3768. if this == nil {
  3769. return "nil"
  3770. }
  3771. s := strings.Join([]string{`&IngressStatus{`,
  3772. `LoadBalancer:` + strings.Replace(strings.Replace(this.LoadBalancer.String(), "LoadBalancerStatus", "k8s_io_api_core_v1.LoadBalancerStatus", 1), `&`, ``, 1) + `,`,
  3773. `}`,
  3774. }, "")
  3775. return s
  3776. }
  3777. func (this *IngressTLS) String() string {
  3778. if this == nil {
  3779. return "nil"
  3780. }
  3781. s := strings.Join([]string{`&IngressTLS{`,
  3782. `Hosts:` + fmt.Sprintf("%v", this.Hosts) + `,`,
  3783. `SecretName:` + fmt.Sprintf("%v", this.SecretName) + `,`,
  3784. `}`,
  3785. }, "")
  3786. return s
  3787. }
  3788. func (this *NetworkPolicy) String() string {
  3789. if this == nil {
  3790. return "nil"
  3791. }
  3792. s := strings.Join([]string{`&NetworkPolicy{`,
  3793. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  3794. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "NetworkPolicySpec", "NetworkPolicySpec", 1), `&`, ``, 1) + `,`,
  3795. `}`,
  3796. }, "")
  3797. return s
  3798. }
  3799. func (this *NetworkPolicyEgressRule) String() string {
  3800. if this == nil {
  3801. return "nil"
  3802. }
  3803. s := strings.Join([]string{`&NetworkPolicyEgressRule{`,
  3804. `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "NetworkPolicyPort", "NetworkPolicyPort", 1), `&`, ``, 1) + `,`,
  3805. `To:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.To), "NetworkPolicyPeer", "NetworkPolicyPeer", 1), `&`, ``, 1) + `,`,
  3806. `}`,
  3807. }, "")
  3808. return s
  3809. }
  3810. func (this *NetworkPolicyIngressRule) String() string {
  3811. if this == nil {
  3812. return "nil"
  3813. }
  3814. s := strings.Join([]string{`&NetworkPolicyIngressRule{`,
  3815. `Ports:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ports), "NetworkPolicyPort", "NetworkPolicyPort", 1), `&`, ``, 1) + `,`,
  3816. `From:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.From), "NetworkPolicyPeer", "NetworkPolicyPeer", 1), `&`, ``, 1) + `,`,
  3817. `}`,
  3818. }, "")
  3819. return s
  3820. }
  3821. func (this *NetworkPolicyList) String() string {
  3822. if this == nil {
  3823. return "nil"
  3824. }
  3825. s := strings.Join([]string{`&NetworkPolicyList{`,
  3826. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  3827. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "NetworkPolicy", "NetworkPolicy", 1), `&`, ``, 1) + `,`,
  3828. `}`,
  3829. }, "")
  3830. return s
  3831. }
  3832. func (this *NetworkPolicyPeer) String() string {
  3833. if this == nil {
  3834. return "nil"
  3835. }
  3836. s := strings.Join([]string{`&NetworkPolicyPeer{`,
  3837. `PodSelector:` + strings.Replace(fmt.Sprintf("%v", this.PodSelector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  3838. `NamespaceSelector:` + strings.Replace(fmt.Sprintf("%v", this.NamespaceSelector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  3839. `IPBlock:` + strings.Replace(fmt.Sprintf("%v", this.IPBlock), "IPBlock", "IPBlock", 1) + `,`,
  3840. `}`,
  3841. }, "")
  3842. return s
  3843. }
  3844. func (this *NetworkPolicyPort) String() string {
  3845. if this == nil {
  3846. return "nil"
  3847. }
  3848. s := strings.Join([]string{`&NetworkPolicyPort{`,
  3849. `Protocol:` + valueToStringGenerated(this.Protocol) + `,`,
  3850. `Port:` + strings.Replace(fmt.Sprintf("%v", this.Port), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
  3851. `}`,
  3852. }, "")
  3853. return s
  3854. }
  3855. func (this *NetworkPolicySpec) String() string {
  3856. if this == nil {
  3857. return "nil"
  3858. }
  3859. s := strings.Join([]string{`&NetworkPolicySpec{`,
  3860. `PodSelector:` + strings.Replace(strings.Replace(this.PodSelector.String(), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1), `&`, ``, 1) + `,`,
  3861. `Ingress:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ingress), "NetworkPolicyIngressRule", "NetworkPolicyIngressRule", 1), `&`, ``, 1) + `,`,
  3862. `Egress:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Egress), "NetworkPolicyEgressRule", "NetworkPolicyEgressRule", 1), `&`, ``, 1) + `,`,
  3863. `PolicyTypes:` + fmt.Sprintf("%v", this.PolicyTypes) + `,`,
  3864. `}`,
  3865. }, "")
  3866. return s
  3867. }
  3868. func (this *PodSecurityPolicy) String() string {
  3869. if this == nil {
  3870. return "nil"
  3871. }
  3872. s := strings.Join([]string{`&PodSecurityPolicy{`,
  3873. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  3874. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodSecurityPolicySpec", "PodSecurityPolicySpec", 1), `&`, ``, 1) + `,`,
  3875. `}`,
  3876. }, "")
  3877. return s
  3878. }
  3879. func (this *PodSecurityPolicyList) String() string {
  3880. if this == nil {
  3881. return "nil"
  3882. }
  3883. s := strings.Join([]string{`&PodSecurityPolicyList{`,
  3884. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  3885. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "PodSecurityPolicy", "PodSecurityPolicy", 1), `&`, ``, 1) + `,`,
  3886. `}`,
  3887. }, "")
  3888. return s
  3889. }
  3890. func (this *PodSecurityPolicySpec) String() string {
  3891. if this == nil {
  3892. return "nil"
  3893. }
  3894. s := strings.Join([]string{`&PodSecurityPolicySpec{`,
  3895. `Privileged:` + fmt.Sprintf("%v", this.Privileged) + `,`,
  3896. `DefaultAddCapabilities:` + fmt.Sprintf("%v", this.DefaultAddCapabilities) + `,`,
  3897. `RequiredDropCapabilities:` + fmt.Sprintf("%v", this.RequiredDropCapabilities) + `,`,
  3898. `AllowedCapabilities:` + fmt.Sprintf("%v", this.AllowedCapabilities) + `,`,
  3899. `Volumes:` + fmt.Sprintf("%v", this.Volumes) + `,`,
  3900. `HostNetwork:` + fmt.Sprintf("%v", this.HostNetwork) + `,`,
  3901. `HostPorts:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.HostPorts), "HostPortRange", "HostPortRange", 1), `&`, ``, 1) + `,`,
  3902. `HostPID:` + fmt.Sprintf("%v", this.HostPID) + `,`,
  3903. `HostIPC:` + fmt.Sprintf("%v", this.HostIPC) + `,`,
  3904. `SELinux:` + strings.Replace(strings.Replace(this.SELinux.String(), "SELinuxStrategyOptions", "SELinuxStrategyOptions", 1), `&`, ``, 1) + `,`,
  3905. `RunAsUser:` + strings.Replace(strings.Replace(this.RunAsUser.String(), "RunAsUserStrategyOptions", "RunAsUserStrategyOptions", 1), `&`, ``, 1) + `,`,
  3906. `SupplementalGroups:` + strings.Replace(strings.Replace(this.SupplementalGroups.String(), "SupplementalGroupsStrategyOptions", "SupplementalGroupsStrategyOptions", 1), `&`, ``, 1) + `,`,
  3907. `FSGroup:` + strings.Replace(strings.Replace(this.FSGroup.String(), "FSGroupStrategyOptions", "FSGroupStrategyOptions", 1), `&`, ``, 1) + `,`,
  3908. `ReadOnlyRootFilesystem:` + fmt.Sprintf("%v", this.ReadOnlyRootFilesystem) + `,`,
  3909. `DefaultAllowPrivilegeEscalation:` + valueToStringGenerated(this.DefaultAllowPrivilegeEscalation) + `,`,
  3910. `AllowPrivilegeEscalation:` + valueToStringGenerated(this.AllowPrivilegeEscalation) + `,`,
  3911. `AllowedHostPaths:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.AllowedHostPaths), "AllowedHostPath", "AllowedHostPath", 1), `&`, ``, 1) + `,`,
  3912. `AllowedFlexVolumes:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.AllowedFlexVolumes), "AllowedFlexVolume", "AllowedFlexVolume", 1), `&`, ``, 1) + `,`,
  3913. `AllowedUnsafeSysctls:` + fmt.Sprintf("%v", this.AllowedUnsafeSysctls) + `,`,
  3914. `ForbiddenSysctls:` + fmt.Sprintf("%v", this.ForbiddenSysctls) + `,`,
  3915. `AllowedProcMountTypes:` + fmt.Sprintf("%v", this.AllowedProcMountTypes) + `,`,
  3916. `RunAsGroup:` + strings.Replace(fmt.Sprintf("%v", this.RunAsGroup), "RunAsGroupStrategyOptions", "RunAsGroupStrategyOptions", 1) + `,`,
  3917. `AllowedCSIDrivers:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.AllowedCSIDrivers), "AllowedCSIDriver", "AllowedCSIDriver", 1), `&`, ``, 1) + `,`,
  3918. `}`,
  3919. }, "")
  3920. return s
  3921. }
  3922. func (this *ReplicaSet) String() string {
  3923. if this == nil {
  3924. return "nil"
  3925. }
  3926. s := strings.Join([]string{`&ReplicaSet{`,
  3927. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  3928. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ReplicaSetSpec", "ReplicaSetSpec", 1), `&`, ``, 1) + `,`,
  3929. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ReplicaSetStatus", "ReplicaSetStatus", 1), `&`, ``, 1) + `,`,
  3930. `}`,
  3931. }, "")
  3932. return s
  3933. }
  3934. func (this *ReplicaSetCondition) String() string {
  3935. if this == nil {
  3936. return "nil"
  3937. }
  3938. s := strings.Join([]string{`&ReplicaSetCondition{`,
  3939. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  3940. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  3941. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  3942. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  3943. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  3944. `}`,
  3945. }, "")
  3946. return s
  3947. }
  3948. func (this *ReplicaSetList) String() string {
  3949. if this == nil {
  3950. return "nil"
  3951. }
  3952. s := strings.Join([]string{`&ReplicaSetList{`,
  3953. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  3954. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ReplicaSet", "ReplicaSet", 1), `&`, ``, 1) + `,`,
  3955. `}`,
  3956. }, "")
  3957. return s
  3958. }
  3959. func (this *ReplicaSetSpec) String() string {
  3960. if this == nil {
  3961. return "nil"
  3962. }
  3963. s := strings.Join([]string{`&ReplicaSetSpec{`,
  3964. `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
  3965. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  3966. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  3967. `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
  3968. `}`,
  3969. }, "")
  3970. return s
  3971. }
  3972. func (this *ReplicaSetStatus) String() string {
  3973. if this == nil {
  3974. return "nil"
  3975. }
  3976. s := strings.Join([]string{`&ReplicaSetStatus{`,
  3977. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  3978. `FullyLabeledReplicas:` + fmt.Sprintf("%v", this.FullyLabeledReplicas) + `,`,
  3979. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  3980. `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
  3981. `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
  3982. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "ReplicaSetCondition", "ReplicaSetCondition", 1), `&`, ``, 1) + `,`,
  3983. `}`,
  3984. }, "")
  3985. return s
  3986. }
  3987. func (this *ReplicationControllerDummy) String() string {
  3988. if this == nil {
  3989. return "nil"
  3990. }
  3991. s := strings.Join([]string{`&ReplicationControllerDummy{`,
  3992. `}`,
  3993. }, "")
  3994. return s
  3995. }
  3996. func (this *RollbackConfig) String() string {
  3997. if this == nil {
  3998. return "nil"
  3999. }
  4000. s := strings.Join([]string{`&RollbackConfig{`,
  4001. `Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
  4002. `}`,
  4003. }, "")
  4004. return s
  4005. }
  4006. func (this *RollingUpdateDaemonSet) String() string {
  4007. if this == nil {
  4008. return "nil"
  4009. }
  4010. s := strings.Join([]string{`&RollingUpdateDaemonSet{`,
  4011. `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
  4012. `}`,
  4013. }, "")
  4014. return s
  4015. }
  4016. func (this *RollingUpdateDeployment) String() string {
  4017. if this == nil {
  4018. return "nil"
  4019. }
  4020. s := strings.Join([]string{`&RollingUpdateDeployment{`,
  4021. `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
  4022. `MaxSurge:` + strings.Replace(fmt.Sprintf("%v", this.MaxSurge), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
  4023. `}`,
  4024. }, "")
  4025. return s
  4026. }
  4027. func (this *RunAsGroupStrategyOptions) String() string {
  4028. if this == nil {
  4029. return "nil"
  4030. }
  4031. s := strings.Join([]string{`&RunAsGroupStrategyOptions{`,
  4032. `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
  4033. `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
  4034. `}`,
  4035. }, "")
  4036. return s
  4037. }
  4038. func (this *RunAsUserStrategyOptions) String() string {
  4039. if this == nil {
  4040. return "nil"
  4041. }
  4042. s := strings.Join([]string{`&RunAsUserStrategyOptions{`,
  4043. `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
  4044. `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
  4045. `}`,
  4046. }, "")
  4047. return s
  4048. }
  4049. func (this *SELinuxStrategyOptions) String() string {
  4050. if this == nil {
  4051. return "nil"
  4052. }
  4053. s := strings.Join([]string{`&SELinuxStrategyOptions{`,
  4054. `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
  4055. `SELinuxOptions:` + strings.Replace(fmt.Sprintf("%v", this.SELinuxOptions), "SELinuxOptions", "k8s_io_api_core_v1.SELinuxOptions", 1) + `,`,
  4056. `}`,
  4057. }, "")
  4058. return s
  4059. }
  4060. func (this *Scale) String() string {
  4061. if this == nil {
  4062. return "nil"
  4063. }
  4064. s := strings.Join([]string{`&Scale{`,
  4065. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  4066. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ScaleSpec", "ScaleSpec", 1), `&`, ``, 1) + `,`,
  4067. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ScaleStatus", "ScaleStatus", 1), `&`, ``, 1) + `,`,
  4068. `}`,
  4069. }, "")
  4070. return s
  4071. }
  4072. func (this *ScaleSpec) String() string {
  4073. if this == nil {
  4074. return "nil"
  4075. }
  4076. s := strings.Join([]string{`&ScaleSpec{`,
  4077. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  4078. `}`,
  4079. }, "")
  4080. return s
  4081. }
  4082. func (this *ScaleStatus) String() string {
  4083. if this == nil {
  4084. return "nil"
  4085. }
  4086. keysForSelector := make([]string, 0, len(this.Selector))
  4087. for k := range this.Selector {
  4088. keysForSelector = append(keysForSelector, k)
  4089. }
  4090. github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
  4091. mapStringForSelector := "map[string]string{"
  4092. for _, k := range keysForSelector {
  4093. mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k])
  4094. }
  4095. mapStringForSelector += "}"
  4096. s := strings.Join([]string{`&ScaleStatus{`,
  4097. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  4098. `Selector:` + mapStringForSelector + `,`,
  4099. `TargetSelector:` + fmt.Sprintf("%v", this.TargetSelector) + `,`,
  4100. `}`,
  4101. }, "")
  4102. return s
  4103. }
  4104. func (this *SupplementalGroupsStrategyOptions) String() string {
  4105. if this == nil {
  4106. return "nil"
  4107. }
  4108. s := strings.Join([]string{`&SupplementalGroupsStrategyOptions{`,
  4109. `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
  4110. `Ranges:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Ranges), "IDRange", "IDRange", 1), `&`, ``, 1) + `,`,
  4111. `}`,
  4112. }, "")
  4113. return s
  4114. }
  4115. func valueToStringGenerated(v interface{}) string {
  4116. rv := reflect.ValueOf(v)
  4117. if rv.IsNil() {
  4118. return "nil"
  4119. }
  4120. pv := reflect.Indirect(rv).Interface()
  4121. return fmt.Sprintf("*%v", pv)
  4122. }
  4123. func (m *AllowedCSIDriver) Unmarshal(dAtA []byte) error {
  4124. l := len(dAtA)
  4125. iNdEx := 0
  4126. for iNdEx < l {
  4127. preIndex := iNdEx
  4128. var wire uint64
  4129. for shift := uint(0); ; shift += 7 {
  4130. if shift >= 64 {
  4131. return ErrIntOverflowGenerated
  4132. }
  4133. if iNdEx >= l {
  4134. return io.ErrUnexpectedEOF
  4135. }
  4136. b := dAtA[iNdEx]
  4137. iNdEx++
  4138. wire |= (uint64(b) & 0x7F) << shift
  4139. if b < 0x80 {
  4140. break
  4141. }
  4142. }
  4143. fieldNum := int32(wire >> 3)
  4144. wireType := int(wire & 0x7)
  4145. if wireType == 4 {
  4146. return fmt.Errorf("proto: AllowedCSIDriver: wiretype end group for non-group")
  4147. }
  4148. if fieldNum <= 0 {
  4149. return fmt.Errorf("proto: AllowedCSIDriver: illegal tag %d (wire type %d)", fieldNum, wire)
  4150. }
  4151. switch fieldNum {
  4152. case 1:
  4153. if wireType != 2 {
  4154. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  4155. }
  4156. var stringLen uint64
  4157. for shift := uint(0); ; shift += 7 {
  4158. if shift >= 64 {
  4159. return ErrIntOverflowGenerated
  4160. }
  4161. if iNdEx >= l {
  4162. return io.ErrUnexpectedEOF
  4163. }
  4164. b := dAtA[iNdEx]
  4165. iNdEx++
  4166. stringLen |= (uint64(b) & 0x7F) << shift
  4167. if b < 0x80 {
  4168. break
  4169. }
  4170. }
  4171. intStringLen := int(stringLen)
  4172. if intStringLen < 0 {
  4173. return ErrInvalidLengthGenerated
  4174. }
  4175. postIndex := iNdEx + intStringLen
  4176. if postIndex > l {
  4177. return io.ErrUnexpectedEOF
  4178. }
  4179. m.Name = string(dAtA[iNdEx:postIndex])
  4180. iNdEx = postIndex
  4181. default:
  4182. iNdEx = preIndex
  4183. skippy, err := skipGenerated(dAtA[iNdEx:])
  4184. if err != nil {
  4185. return err
  4186. }
  4187. if skippy < 0 {
  4188. return ErrInvalidLengthGenerated
  4189. }
  4190. if (iNdEx + skippy) > l {
  4191. return io.ErrUnexpectedEOF
  4192. }
  4193. iNdEx += skippy
  4194. }
  4195. }
  4196. if iNdEx > l {
  4197. return io.ErrUnexpectedEOF
  4198. }
  4199. return nil
  4200. }
  4201. func (m *AllowedFlexVolume) Unmarshal(dAtA []byte) error {
  4202. l := len(dAtA)
  4203. iNdEx := 0
  4204. for iNdEx < l {
  4205. preIndex := iNdEx
  4206. var wire uint64
  4207. for shift := uint(0); ; shift += 7 {
  4208. if shift >= 64 {
  4209. return ErrIntOverflowGenerated
  4210. }
  4211. if iNdEx >= l {
  4212. return io.ErrUnexpectedEOF
  4213. }
  4214. b := dAtA[iNdEx]
  4215. iNdEx++
  4216. wire |= (uint64(b) & 0x7F) << shift
  4217. if b < 0x80 {
  4218. break
  4219. }
  4220. }
  4221. fieldNum := int32(wire >> 3)
  4222. wireType := int(wire & 0x7)
  4223. if wireType == 4 {
  4224. return fmt.Errorf("proto: AllowedFlexVolume: wiretype end group for non-group")
  4225. }
  4226. if fieldNum <= 0 {
  4227. return fmt.Errorf("proto: AllowedFlexVolume: illegal tag %d (wire type %d)", fieldNum, wire)
  4228. }
  4229. switch fieldNum {
  4230. case 1:
  4231. if wireType != 2 {
  4232. return fmt.Errorf("proto: wrong wireType = %d for field Driver", wireType)
  4233. }
  4234. var stringLen uint64
  4235. for shift := uint(0); ; shift += 7 {
  4236. if shift >= 64 {
  4237. return ErrIntOverflowGenerated
  4238. }
  4239. if iNdEx >= l {
  4240. return io.ErrUnexpectedEOF
  4241. }
  4242. b := dAtA[iNdEx]
  4243. iNdEx++
  4244. stringLen |= (uint64(b) & 0x7F) << shift
  4245. if b < 0x80 {
  4246. break
  4247. }
  4248. }
  4249. intStringLen := int(stringLen)
  4250. if intStringLen < 0 {
  4251. return ErrInvalidLengthGenerated
  4252. }
  4253. postIndex := iNdEx + intStringLen
  4254. if postIndex > l {
  4255. return io.ErrUnexpectedEOF
  4256. }
  4257. m.Driver = string(dAtA[iNdEx:postIndex])
  4258. iNdEx = postIndex
  4259. default:
  4260. iNdEx = preIndex
  4261. skippy, err := skipGenerated(dAtA[iNdEx:])
  4262. if err != nil {
  4263. return err
  4264. }
  4265. if skippy < 0 {
  4266. return ErrInvalidLengthGenerated
  4267. }
  4268. if (iNdEx + skippy) > l {
  4269. return io.ErrUnexpectedEOF
  4270. }
  4271. iNdEx += skippy
  4272. }
  4273. }
  4274. if iNdEx > l {
  4275. return io.ErrUnexpectedEOF
  4276. }
  4277. return nil
  4278. }
  4279. func (m *AllowedHostPath) Unmarshal(dAtA []byte) error {
  4280. l := len(dAtA)
  4281. iNdEx := 0
  4282. for iNdEx < l {
  4283. preIndex := iNdEx
  4284. var wire uint64
  4285. for shift := uint(0); ; shift += 7 {
  4286. if shift >= 64 {
  4287. return ErrIntOverflowGenerated
  4288. }
  4289. if iNdEx >= l {
  4290. return io.ErrUnexpectedEOF
  4291. }
  4292. b := dAtA[iNdEx]
  4293. iNdEx++
  4294. wire |= (uint64(b) & 0x7F) << shift
  4295. if b < 0x80 {
  4296. break
  4297. }
  4298. }
  4299. fieldNum := int32(wire >> 3)
  4300. wireType := int(wire & 0x7)
  4301. if wireType == 4 {
  4302. return fmt.Errorf("proto: AllowedHostPath: wiretype end group for non-group")
  4303. }
  4304. if fieldNum <= 0 {
  4305. return fmt.Errorf("proto: AllowedHostPath: illegal tag %d (wire type %d)", fieldNum, wire)
  4306. }
  4307. switch fieldNum {
  4308. case 1:
  4309. if wireType != 2 {
  4310. return fmt.Errorf("proto: wrong wireType = %d for field PathPrefix", wireType)
  4311. }
  4312. var stringLen uint64
  4313. for shift := uint(0); ; shift += 7 {
  4314. if shift >= 64 {
  4315. return ErrIntOverflowGenerated
  4316. }
  4317. if iNdEx >= l {
  4318. return io.ErrUnexpectedEOF
  4319. }
  4320. b := dAtA[iNdEx]
  4321. iNdEx++
  4322. stringLen |= (uint64(b) & 0x7F) << shift
  4323. if b < 0x80 {
  4324. break
  4325. }
  4326. }
  4327. intStringLen := int(stringLen)
  4328. if intStringLen < 0 {
  4329. return ErrInvalidLengthGenerated
  4330. }
  4331. postIndex := iNdEx + intStringLen
  4332. if postIndex > l {
  4333. return io.ErrUnexpectedEOF
  4334. }
  4335. m.PathPrefix = string(dAtA[iNdEx:postIndex])
  4336. iNdEx = postIndex
  4337. case 2:
  4338. if wireType != 0 {
  4339. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
  4340. }
  4341. var v int
  4342. for shift := uint(0); ; shift += 7 {
  4343. if shift >= 64 {
  4344. return ErrIntOverflowGenerated
  4345. }
  4346. if iNdEx >= l {
  4347. return io.ErrUnexpectedEOF
  4348. }
  4349. b := dAtA[iNdEx]
  4350. iNdEx++
  4351. v |= (int(b) & 0x7F) << shift
  4352. if b < 0x80 {
  4353. break
  4354. }
  4355. }
  4356. m.ReadOnly = bool(v != 0)
  4357. default:
  4358. iNdEx = preIndex
  4359. skippy, err := skipGenerated(dAtA[iNdEx:])
  4360. if err != nil {
  4361. return err
  4362. }
  4363. if skippy < 0 {
  4364. return ErrInvalidLengthGenerated
  4365. }
  4366. if (iNdEx + skippy) > l {
  4367. return io.ErrUnexpectedEOF
  4368. }
  4369. iNdEx += skippy
  4370. }
  4371. }
  4372. if iNdEx > l {
  4373. return io.ErrUnexpectedEOF
  4374. }
  4375. return nil
  4376. }
  4377. func (m *DaemonSet) Unmarshal(dAtA []byte) error {
  4378. l := len(dAtA)
  4379. iNdEx := 0
  4380. for iNdEx < l {
  4381. preIndex := iNdEx
  4382. var wire uint64
  4383. for shift := uint(0); ; shift += 7 {
  4384. if shift >= 64 {
  4385. return ErrIntOverflowGenerated
  4386. }
  4387. if iNdEx >= l {
  4388. return io.ErrUnexpectedEOF
  4389. }
  4390. b := dAtA[iNdEx]
  4391. iNdEx++
  4392. wire |= (uint64(b) & 0x7F) << shift
  4393. if b < 0x80 {
  4394. break
  4395. }
  4396. }
  4397. fieldNum := int32(wire >> 3)
  4398. wireType := int(wire & 0x7)
  4399. if wireType == 4 {
  4400. return fmt.Errorf("proto: DaemonSet: wiretype end group for non-group")
  4401. }
  4402. if fieldNum <= 0 {
  4403. return fmt.Errorf("proto: DaemonSet: illegal tag %d (wire type %d)", fieldNum, wire)
  4404. }
  4405. switch fieldNum {
  4406. case 1:
  4407. if wireType != 2 {
  4408. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  4409. }
  4410. var msglen int
  4411. for shift := uint(0); ; shift += 7 {
  4412. if shift >= 64 {
  4413. return ErrIntOverflowGenerated
  4414. }
  4415. if iNdEx >= l {
  4416. return io.ErrUnexpectedEOF
  4417. }
  4418. b := dAtA[iNdEx]
  4419. iNdEx++
  4420. msglen |= (int(b) & 0x7F) << shift
  4421. if b < 0x80 {
  4422. break
  4423. }
  4424. }
  4425. if msglen < 0 {
  4426. return ErrInvalidLengthGenerated
  4427. }
  4428. postIndex := iNdEx + msglen
  4429. if postIndex > l {
  4430. return io.ErrUnexpectedEOF
  4431. }
  4432. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4433. return err
  4434. }
  4435. iNdEx = postIndex
  4436. case 2:
  4437. if wireType != 2 {
  4438. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  4439. }
  4440. var msglen int
  4441. for shift := uint(0); ; shift += 7 {
  4442. if shift >= 64 {
  4443. return ErrIntOverflowGenerated
  4444. }
  4445. if iNdEx >= l {
  4446. return io.ErrUnexpectedEOF
  4447. }
  4448. b := dAtA[iNdEx]
  4449. iNdEx++
  4450. msglen |= (int(b) & 0x7F) << shift
  4451. if b < 0x80 {
  4452. break
  4453. }
  4454. }
  4455. if msglen < 0 {
  4456. return ErrInvalidLengthGenerated
  4457. }
  4458. postIndex := iNdEx + msglen
  4459. if postIndex > l {
  4460. return io.ErrUnexpectedEOF
  4461. }
  4462. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4463. return err
  4464. }
  4465. iNdEx = postIndex
  4466. case 3:
  4467. if wireType != 2 {
  4468. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  4469. }
  4470. var msglen int
  4471. for shift := uint(0); ; shift += 7 {
  4472. if shift >= 64 {
  4473. return ErrIntOverflowGenerated
  4474. }
  4475. if iNdEx >= l {
  4476. return io.ErrUnexpectedEOF
  4477. }
  4478. b := dAtA[iNdEx]
  4479. iNdEx++
  4480. msglen |= (int(b) & 0x7F) << shift
  4481. if b < 0x80 {
  4482. break
  4483. }
  4484. }
  4485. if msglen < 0 {
  4486. return ErrInvalidLengthGenerated
  4487. }
  4488. postIndex := iNdEx + msglen
  4489. if postIndex > l {
  4490. return io.ErrUnexpectedEOF
  4491. }
  4492. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4493. return err
  4494. }
  4495. iNdEx = postIndex
  4496. default:
  4497. iNdEx = preIndex
  4498. skippy, err := skipGenerated(dAtA[iNdEx:])
  4499. if err != nil {
  4500. return err
  4501. }
  4502. if skippy < 0 {
  4503. return ErrInvalidLengthGenerated
  4504. }
  4505. if (iNdEx + skippy) > l {
  4506. return io.ErrUnexpectedEOF
  4507. }
  4508. iNdEx += skippy
  4509. }
  4510. }
  4511. if iNdEx > l {
  4512. return io.ErrUnexpectedEOF
  4513. }
  4514. return nil
  4515. }
  4516. func (m *DaemonSetCondition) Unmarshal(dAtA []byte) error {
  4517. l := len(dAtA)
  4518. iNdEx := 0
  4519. for iNdEx < l {
  4520. preIndex := iNdEx
  4521. var wire uint64
  4522. for shift := uint(0); ; shift += 7 {
  4523. if shift >= 64 {
  4524. return ErrIntOverflowGenerated
  4525. }
  4526. if iNdEx >= l {
  4527. return io.ErrUnexpectedEOF
  4528. }
  4529. b := dAtA[iNdEx]
  4530. iNdEx++
  4531. wire |= (uint64(b) & 0x7F) << shift
  4532. if b < 0x80 {
  4533. break
  4534. }
  4535. }
  4536. fieldNum := int32(wire >> 3)
  4537. wireType := int(wire & 0x7)
  4538. if wireType == 4 {
  4539. return fmt.Errorf("proto: DaemonSetCondition: wiretype end group for non-group")
  4540. }
  4541. if fieldNum <= 0 {
  4542. return fmt.Errorf("proto: DaemonSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  4543. }
  4544. switch fieldNum {
  4545. case 1:
  4546. if wireType != 2 {
  4547. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  4548. }
  4549. var stringLen uint64
  4550. for shift := uint(0); ; shift += 7 {
  4551. if shift >= 64 {
  4552. return ErrIntOverflowGenerated
  4553. }
  4554. if iNdEx >= l {
  4555. return io.ErrUnexpectedEOF
  4556. }
  4557. b := dAtA[iNdEx]
  4558. iNdEx++
  4559. stringLen |= (uint64(b) & 0x7F) << shift
  4560. if b < 0x80 {
  4561. break
  4562. }
  4563. }
  4564. intStringLen := int(stringLen)
  4565. if intStringLen < 0 {
  4566. return ErrInvalidLengthGenerated
  4567. }
  4568. postIndex := iNdEx + intStringLen
  4569. if postIndex > l {
  4570. return io.ErrUnexpectedEOF
  4571. }
  4572. m.Type = DaemonSetConditionType(dAtA[iNdEx:postIndex])
  4573. iNdEx = postIndex
  4574. case 2:
  4575. if wireType != 2 {
  4576. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  4577. }
  4578. var stringLen uint64
  4579. for shift := uint(0); ; shift += 7 {
  4580. if shift >= 64 {
  4581. return ErrIntOverflowGenerated
  4582. }
  4583. if iNdEx >= l {
  4584. return io.ErrUnexpectedEOF
  4585. }
  4586. b := dAtA[iNdEx]
  4587. iNdEx++
  4588. stringLen |= (uint64(b) & 0x7F) << shift
  4589. if b < 0x80 {
  4590. break
  4591. }
  4592. }
  4593. intStringLen := int(stringLen)
  4594. if intStringLen < 0 {
  4595. return ErrInvalidLengthGenerated
  4596. }
  4597. postIndex := iNdEx + intStringLen
  4598. if postIndex > l {
  4599. return io.ErrUnexpectedEOF
  4600. }
  4601. m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
  4602. iNdEx = postIndex
  4603. case 3:
  4604. if wireType != 2 {
  4605. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  4606. }
  4607. var msglen int
  4608. for shift := uint(0); ; shift += 7 {
  4609. if shift >= 64 {
  4610. return ErrIntOverflowGenerated
  4611. }
  4612. if iNdEx >= l {
  4613. return io.ErrUnexpectedEOF
  4614. }
  4615. b := dAtA[iNdEx]
  4616. iNdEx++
  4617. msglen |= (int(b) & 0x7F) << shift
  4618. if b < 0x80 {
  4619. break
  4620. }
  4621. }
  4622. if msglen < 0 {
  4623. return ErrInvalidLengthGenerated
  4624. }
  4625. postIndex := iNdEx + msglen
  4626. if postIndex > l {
  4627. return io.ErrUnexpectedEOF
  4628. }
  4629. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4630. return err
  4631. }
  4632. iNdEx = postIndex
  4633. case 4:
  4634. if wireType != 2 {
  4635. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  4636. }
  4637. var stringLen uint64
  4638. for shift := uint(0); ; shift += 7 {
  4639. if shift >= 64 {
  4640. return ErrIntOverflowGenerated
  4641. }
  4642. if iNdEx >= l {
  4643. return io.ErrUnexpectedEOF
  4644. }
  4645. b := dAtA[iNdEx]
  4646. iNdEx++
  4647. stringLen |= (uint64(b) & 0x7F) << shift
  4648. if b < 0x80 {
  4649. break
  4650. }
  4651. }
  4652. intStringLen := int(stringLen)
  4653. if intStringLen < 0 {
  4654. return ErrInvalidLengthGenerated
  4655. }
  4656. postIndex := iNdEx + intStringLen
  4657. if postIndex > l {
  4658. return io.ErrUnexpectedEOF
  4659. }
  4660. m.Reason = string(dAtA[iNdEx:postIndex])
  4661. iNdEx = postIndex
  4662. case 5:
  4663. if wireType != 2 {
  4664. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  4665. }
  4666. var stringLen uint64
  4667. for shift := uint(0); ; shift += 7 {
  4668. if shift >= 64 {
  4669. return ErrIntOverflowGenerated
  4670. }
  4671. if iNdEx >= l {
  4672. return io.ErrUnexpectedEOF
  4673. }
  4674. b := dAtA[iNdEx]
  4675. iNdEx++
  4676. stringLen |= (uint64(b) & 0x7F) << shift
  4677. if b < 0x80 {
  4678. break
  4679. }
  4680. }
  4681. intStringLen := int(stringLen)
  4682. if intStringLen < 0 {
  4683. return ErrInvalidLengthGenerated
  4684. }
  4685. postIndex := iNdEx + intStringLen
  4686. if postIndex > l {
  4687. return io.ErrUnexpectedEOF
  4688. }
  4689. m.Message = string(dAtA[iNdEx:postIndex])
  4690. iNdEx = postIndex
  4691. default:
  4692. iNdEx = preIndex
  4693. skippy, err := skipGenerated(dAtA[iNdEx:])
  4694. if err != nil {
  4695. return err
  4696. }
  4697. if skippy < 0 {
  4698. return ErrInvalidLengthGenerated
  4699. }
  4700. if (iNdEx + skippy) > l {
  4701. return io.ErrUnexpectedEOF
  4702. }
  4703. iNdEx += skippy
  4704. }
  4705. }
  4706. if iNdEx > l {
  4707. return io.ErrUnexpectedEOF
  4708. }
  4709. return nil
  4710. }
  4711. func (m *DaemonSetList) Unmarshal(dAtA []byte) error {
  4712. l := len(dAtA)
  4713. iNdEx := 0
  4714. for iNdEx < l {
  4715. preIndex := iNdEx
  4716. var wire uint64
  4717. for shift := uint(0); ; shift += 7 {
  4718. if shift >= 64 {
  4719. return ErrIntOverflowGenerated
  4720. }
  4721. if iNdEx >= l {
  4722. return io.ErrUnexpectedEOF
  4723. }
  4724. b := dAtA[iNdEx]
  4725. iNdEx++
  4726. wire |= (uint64(b) & 0x7F) << shift
  4727. if b < 0x80 {
  4728. break
  4729. }
  4730. }
  4731. fieldNum := int32(wire >> 3)
  4732. wireType := int(wire & 0x7)
  4733. if wireType == 4 {
  4734. return fmt.Errorf("proto: DaemonSetList: wiretype end group for non-group")
  4735. }
  4736. if fieldNum <= 0 {
  4737. return fmt.Errorf("proto: DaemonSetList: illegal tag %d (wire type %d)", fieldNum, wire)
  4738. }
  4739. switch fieldNum {
  4740. case 1:
  4741. if wireType != 2 {
  4742. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  4743. }
  4744. var msglen int
  4745. for shift := uint(0); ; shift += 7 {
  4746. if shift >= 64 {
  4747. return ErrIntOverflowGenerated
  4748. }
  4749. if iNdEx >= l {
  4750. return io.ErrUnexpectedEOF
  4751. }
  4752. b := dAtA[iNdEx]
  4753. iNdEx++
  4754. msglen |= (int(b) & 0x7F) << shift
  4755. if b < 0x80 {
  4756. break
  4757. }
  4758. }
  4759. if msglen < 0 {
  4760. return ErrInvalidLengthGenerated
  4761. }
  4762. postIndex := iNdEx + msglen
  4763. if postIndex > l {
  4764. return io.ErrUnexpectedEOF
  4765. }
  4766. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4767. return err
  4768. }
  4769. iNdEx = postIndex
  4770. case 2:
  4771. if wireType != 2 {
  4772. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  4773. }
  4774. var msglen int
  4775. for shift := uint(0); ; shift += 7 {
  4776. if shift >= 64 {
  4777. return ErrIntOverflowGenerated
  4778. }
  4779. if iNdEx >= l {
  4780. return io.ErrUnexpectedEOF
  4781. }
  4782. b := dAtA[iNdEx]
  4783. iNdEx++
  4784. msglen |= (int(b) & 0x7F) << shift
  4785. if b < 0x80 {
  4786. break
  4787. }
  4788. }
  4789. if msglen < 0 {
  4790. return ErrInvalidLengthGenerated
  4791. }
  4792. postIndex := iNdEx + msglen
  4793. if postIndex > l {
  4794. return io.ErrUnexpectedEOF
  4795. }
  4796. m.Items = append(m.Items, DaemonSet{})
  4797. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4798. return err
  4799. }
  4800. iNdEx = postIndex
  4801. default:
  4802. iNdEx = preIndex
  4803. skippy, err := skipGenerated(dAtA[iNdEx:])
  4804. if err != nil {
  4805. return err
  4806. }
  4807. if skippy < 0 {
  4808. return ErrInvalidLengthGenerated
  4809. }
  4810. if (iNdEx + skippy) > l {
  4811. return io.ErrUnexpectedEOF
  4812. }
  4813. iNdEx += skippy
  4814. }
  4815. }
  4816. if iNdEx > l {
  4817. return io.ErrUnexpectedEOF
  4818. }
  4819. return nil
  4820. }
  4821. func (m *DaemonSetSpec) Unmarshal(dAtA []byte) error {
  4822. l := len(dAtA)
  4823. iNdEx := 0
  4824. for iNdEx < l {
  4825. preIndex := iNdEx
  4826. var wire uint64
  4827. for shift := uint(0); ; shift += 7 {
  4828. if shift >= 64 {
  4829. return ErrIntOverflowGenerated
  4830. }
  4831. if iNdEx >= l {
  4832. return io.ErrUnexpectedEOF
  4833. }
  4834. b := dAtA[iNdEx]
  4835. iNdEx++
  4836. wire |= (uint64(b) & 0x7F) << shift
  4837. if b < 0x80 {
  4838. break
  4839. }
  4840. }
  4841. fieldNum := int32(wire >> 3)
  4842. wireType := int(wire & 0x7)
  4843. if wireType == 4 {
  4844. return fmt.Errorf("proto: DaemonSetSpec: wiretype end group for non-group")
  4845. }
  4846. if fieldNum <= 0 {
  4847. return fmt.Errorf("proto: DaemonSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  4848. }
  4849. switch fieldNum {
  4850. case 1:
  4851. if wireType != 2 {
  4852. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  4853. }
  4854. var msglen int
  4855. for shift := uint(0); ; shift += 7 {
  4856. if shift >= 64 {
  4857. return ErrIntOverflowGenerated
  4858. }
  4859. if iNdEx >= l {
  4860. return io.ErrUnexpectedEOF
  4861. }
  4862. b := dAtA[iNdEx]
  4863. iNdEx++
  4864. msglen |= (int(b) & 0x7F) << shift
  4865. if b < 0x80 {
  4866. break
  4867. }
  4868. }
  4869. if msglen < 0 {
  4870. return ErrInvalidLengthGenerated
  4871. }
  4872. postIndex := iNdEx + msglen
  4873. if postIndex > l {
  4874. return io.ErrUnexpectedEOF
  4875. }
  4876. if m.Selector == nil {
  4877. m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  4878. }
  4879. if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4880. return err
  4881. }
  4882. iNdEx = postIndex
  4883. case 2:
  4884. if wireType != 2 {
  4885. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  4886. }
  4887. var msglen int
  4888. for shift := uint(0); ; shift += 7 {
  4889. if shift >= 64 {
  4890. return ErrIntOverflowGenerated
  4891. }
  4892. if iNdEx >= l {
  4893. return io.ErrUnexpectedEOF
  4894. }
  4895. b := dAtA[iNdEx]
  4896. iNdEx++
  4897. msglen |= (int(b) & 0x7F) << shift
  4898. if b < 0x80 {
  4899. break
  4900. }
  4901. }
  4902. if msglen < 0 {
  4903. return ErrInvalidLengthGenerated
  4904. }
  4905. postIndex := iNdEx + msglen
  4906. if postIndex > l {
  4907. return io.ErrUnexpectedEOF
  4908. }
  4909. if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4910. return err
  4911. }
  4912. iNdEx = postIndex
  4913. case 3:
  4914. if wireType != 2 {
  4915. return fmt.Errorf("proto: wrong wireType = %d for field UpdateStrategy", wireType)
  4916. }
  4917. var msglen int
  4918. for shift := uint(0); ; shift += 7 {
  4919. if shift >= 64 {
  4920. return ErrIntOverflowGenerated
  4921. }
  4922. if iNdEx >= l {
  4923. return io.ErrUnexpectedEOF
  4924. }
  4925. b := dAtA[iNdEx]
  4926. iNdEx++
  4927. msglen |= (int(b) & 0x7F) << shift
  4928. if b < 0x80 {
  4929. break
  4930. }
  4931. }
  4932. if msglen < 0 {
  4933. return ErrInvalidLengthGenerated
  4934. }
  4935. postIndex := iNdEx + msglen
  4936. if postIndex > l {
  4937. return io.ErrUnexpectedEOF
  4938. }
  4939. if err := m.UpdateStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4940. return err
  4941. }
  4942. iNdEx = postIndex
  4943. case 4:
  4944. if wireType != 0 {
  4945. return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
  4946. }
  4947. m.MinReadySeconds = 0
  4948. for shift := uint(0); ; shift += 7 {
  4949. if shift >= 64 {
  4950. return ErrIntOverflowGenerated
  4951. }
  4952. if iNdEx >= l {
  4953. return io.ErrUnexpectedEOF
  4954. }
  4955. b := dAtA[iNdEx]
  4956. iNdEx++
  4957. m.MinReadySeconds |= (int32(b) & 0x7F) << shift
  4958. if b < 0x80 {
  4959. break
  4960. }
  4961. }
  4962. case 5:
  4963. if wireType != 0 {
  4964. return fmt.Errorf("proto: wrong wireType = %d for field TemplateGeneration", wireType)
  4965. }
  4966. m.TemplateGeneration = 0
  4967. for shift := uint(0); ; shift += 7 {
  4968. if shift >= 64 {
  4969. return ErrIntOverflowGenerated
  4970. }
  4971. if iNdEx >= l {
  4972. return io.ErrUnexpectedEOF
  4973. }
  4974. b := dAtA[iNdEx]
  4975. iNdEx++
  4976. m.TemplateGeneration |= (int64(b) & 0x7F) << shift
  4977. if b < 0x80 {
  4978. break
  4979. }
  4980. }
  4981. case 6:
  4982. if wireType != 0 {
  4983. return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
  4984. }
  4985. var v int32
  4986. for shift := uint(0); ; shift += 7 {
  4987. if shift >= 64 {
  4988. return ErrIntOverflowGenerated
  4989. }
  4990. if iNdEx >= l {
  4991. return io.ErrUnexpectedEOF
  4992. }
  4993. b := dAtA[iNdEx]
  4994. iNdEx++
  4995. v |= (int32(b) & 0x7F) << shift
  4996. if b < 0x80 {
  4997. break
  4998. }
  4999. }
  5000. m.RevisionHistoryLimit = &v
  5001. default:
  5002. iNdEx = preIndex
  5003. skippy, err := skipGenerated(dAtA[iNdEx:])
  5004. if err != nil {
  5005. return err
  5006. }
  5007. if skippy < 0 {
  5008. return ErrInvalidLengthGenerated
  5009. }
  5010. if (iNdEx + skippy) > l {
  5011. return io.ErrUnexpectedEOF
  5012. }
  5013. iNdEx += skippy
  5014. }
  5015. }
  5016. if iNdEx > l {
  5017. return io.ErrUnexpectedEOF
  5018. }
  5019. return nil
  5020. }
  5021. func (m *DaemonSetStatus) Unmarshal(dAtA []byte) error {
  5022. l := len(dAtA)
  5023. iNdEx := 0
  5024. for iNdEx < l {
  5025. preIndex := iNdEx
  5026. var wire uint64
  5027. for shift := uint(0); ; shift += 7 {
  5028. if shift >= 64 {
  5029. return ErrIntOverflowGenerated
  5030. }
  5031. if iNdEx >= l {
  5032. return io.ErrUnexpectedEOF
  5033. }
  5034. b := dAtA[iNdEx]
  5035. iNdEx++
  5036. wire |= (uint64(b) & 0x7F) << shift
  5037. if b < 0x80 {
  5038. break
  5039. }
  5040. }
  5041. fieldNum := int32(wire >> 3)
  5042. wireType := int(wire & 0x7)
  5043. if wireType == 4 {
  5044. return fmt.Errorf("proto: DaemonSetStatus: wiretype end group for non-group")
  5045. }
  5046. if fieldNum <= 0 {
  5047. return fmt.Errorf("proto: DaemonSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  5048. }
  5049. switch fieldNum {
  5050. case 1:
  5051. if wireType != 0 {
  5052. return fmt.Errorf("proto: wrong wireType = %d for field CurrentNumberScheduled", wireType)
  5053. }
  5054. m.CurrentNumberScheduled = 0
  5055. for shift := uint(0); ; shift += 7 {
  5056. if shift >= 64 {
  5057. return ErrIntOverflowGenerated
  5058. }
  5059. if iNdEx >= l {
  5060. return io.ErrUnexpectedEOF
  5061. }
  5062. b := dAtA[iNdEx]
  5063. iNdEx++
  5064. m.CurrentNumberScheduled |= (int32(b) & 0x7F) << shift
  5065. if b < 0x80 {
  5066. break
  5067. }
  5068. }
  5069. case 2:
  5070. if wireType != 0 {
  5071. return fmt.Errorf("proto: wrong wireType = %d for field NumberMisscheduled", wireType)
  5072. }
  5073. m.NumberMisscheduled = 0
  5074. for shift := uint(0); ; shift += 7 {
  5075. if shift >= 64 {
  5076. return ErrIntOverflowGenerated
  5077. }
  5078. if iNdEx >= l {
  5079. return io.ErrUnexpectedEOF
  5080. }
  5081. b := dAtA[iNdEx]
  5082. iNdEx++
  5083. m.NumberMisscheduled |= (int32(b) & 0x7F) << shift
  5084. if b < 0x80 {
  5085. break
  5086. }
  5087. }
  5088. case 3:
  5089. if wireType != 0 {
  5090. return fmt.Errorf("proto: wrong wireType = %d for field DesiredNumberScheduled", wireType)
  5091. }
  5092. m.DesiredNumberScheduled = 0
  5093. for shift := uint(0); ; shift += 7 {
  5094. if shift >= 64 {
  5095. return ErrIntOverflowGenerated
  5096. }
  5097. if iNdEx >= l {
  5098. return io.ErrUnexpectedEOF
  5099. }
  5100. b := dAtA[iNdEx]
  5101. iNdEx++
  5102. m.DesiredNumberScheduled |= (int32(b) & 0x7F) << shift
  5103. if b < 0x80 {
  5104. break
  5105. }
  5106. }
  5107. case 4:
  5108. if wireType != 0 {
  5109. return fmt.Errorf("proto: wrong wireType = %d for field NumberReady", wireType)
  5110. }
  5111. m.NumberReady = 0
  5112. for shift := uint(0); ; shift += 7 {
  5113. if shift >= 64 {
  5114. return ErrIntOverflowGenerated
  5115. }
  5116. if iNdEx >= l {
  5117. return io.ErrUnexpectedEOF
  5118. }
  5119. b := dAtA[iNdEx]
  5120. iNdEx++
  5121. m.NumberReady |= (int32(b) & 0x7F) << shift
  5122. if b < 0x80 {
  5123. break
  5124. }
  5125. }
  5126. case 5:
  5127. if wireType != 0 {
  5128. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  5129. }
  5130. m.ObservedGeneration = 0
  5131. for shift := uint(0); ; shift += 7 {
  5132. if shift >= 64 {
  5133. return ErrIntOverflowGenerated
  5134. }
  5135. if iNdEx >= l {
  5136. return io.ErrUnexpectedEOF
  5137. }
  5138. b := dAtA[iNdEx]
  5139. iNdEx++
  5140. m.ObservedGeneration |= (int64(b) & 0x7F) << shift
  5141. if b < 0x80 {
  5142. break
  5143. }
  5144. }
  5145. case 6:
  5146. if wireType != 0 {
  5147. return fmt.Errorf("proto: wrong wireType = %d for field UpdatedNumberScheduled", wireType)
  5148. }
  5149. m.UpdatedNumberScheduled = 0
  5150. for shift := uint(0); ; shift += 7 {
  5151. if shift >= 64 {
  5152. return ErrIntOverflowGenerated
  5153. }
  5154. if iNdEx >= l {
  5155. return io.ErrUnexpectedEOF
  5156. }
  5157. b := dAtA[iNdEx]
  5158. iNdEx++
  5159. m.UpdatedNumberScheduled |= (int32(b) & 0x7F) << shift
  5160. if b < 0x80 {
  5161. break
  5162. }
  5163. }
  5164. case 7:
  5165. if wireType != 0 {
  5166. return fmt.Errorf("proto: wrong wireType = %d for field NumberAvailable", wireType)
  5167. }
  5168. m.NumberAvailable = 0
  5169. for shift := uint(0); ; shift += 7 {
  5170. if shift >= 64 {
  5171. return ErrIntOverflowGenerated
  5172. }
  5173. if iNdEx >= l {
  5174. return io.ErrUnexpectedEOF
  5175. }
  5176. b := dAtA[iNdEx]
  5177. iNdEx++
  5178. m.NumberAvailable |= (int32(b) & 0x7F) << shift
  5179. if b < 0x80 {
  5180. break
  5181. }
  5182. }
  5183. case 8:
  5184. if wireType != 0 {
  5185. return fmt.Errorf("proto: wrong wireType = %d for field NumberUnavailable", wireType)
  5186. }
  5187. m.NumberUnavailable = 0
  5188. for shift := uint(0); ; shift += 7 {
  5189. if shift >= 64 {
  5190. return ErrIntOverflowGenerated
  5191. }
  5192. if iNdEx >= l {
  5193. return io.ErrUnexpectedEOF
  5194. }
  5195. b := dAtA[iNdEx]
  5196. iNdEx++
  5197. m.NumberUnavailable |= (int32(b) & 0x7F) << shift
  5198. if b < 0x80 {
  5199. break
  5200. }
  5201. }
  5202. case 9:
  5203. if wireType != 0 {
  5204. return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
  5205. }
  5206. var v int32
  5207. for shift := uint(0); ; shift += 7 {
  5208. if shift >= 64 {
  5209. return ErrIntOverflowGenerated
  5210. }
  5211. if iNdEx >= l {
  5212. return io.ErrUnexpectedEOF
  5213. }
  5214. b := dAtA[iNdEx]
  5215. iNdEx++
  5216. v |= (int32(b) & 0x7F) << shift
  5217. if b < 0x80 {
  5218. break
  5219. }
  5220. }
  5221. m.CollisionCount = &v
  5222. case 10:
  5223. if wireType != 2 {
  5224. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  5225. }
  5226. var msglen int
  5227. for shift := uint(0); ; shift += 7 {
  5228. if shift >= 64 {
  5229. return ErrIntOverflowGenerated
  5230. }
  5231. if iNdEx >= l {
  5232. return io.ErrUnexpectedEOF
  5233. }
  5234. b := dAtA[iNdEx]
  5235. iNdEx++
  5236. msglen |= (int(b) & 0x7F) << shift
  5237. if b < 0x80 {
  5238. break
  5239. }
  5240. }
  5241. if msglen < 0 {
  5242. return ErrInvalidLengthGenerated
  5243. }
  5244. postIndex := iNdEx + msglen
  5245. if postIndex > l {
  5246. return io.ErrUnexpectedEOF
  5247. }
  5248. m.Conditions = append(m.Conditions, DaemonSetCondition{})
  5249. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5250. return err
  5251. }
  5252. iNdEx = postIndex
  5253. default:
  5254. iNdEx = preIndex
  5255. skippy, err := skipGenerated(dAtA[iNdEx:])
  5256. if err != nil {
  5257. return err
  5258. }
  5259. if skippy < 0 {
  5260. return ErrInvalidLengthGenerated
  5261. }
  5262. if (iNdEx + skippy) > l {
  5263. return io.ErrUnexpectedEOF
  5264. }
  5265. iNdEx += skippy
  5266. }
  5267. }
  5268. if iNdEx > l {
  5269. return io.ErrUnexpectedEOF
  5270. }
  5271. return nil
  5272. }
  5273. func (m *DaemonSetUpdateStrategy) Unmarshal(dAtA []byte) error {
  5274. l := len(dAtA)
  5275. iNdEx := 0
  5276. for iNdEx < l {
  5277. preIndex := iNdEx
  5278. var wire uint64
  5279. for shift := uint(0); ; shift += 7 {
  5280. if shift >= 64 {
  5281. return ErrIntOverflowGenerated
  5282. }
  5283. if iNdEx >= l {
  5284. return io.ErrUnexpectedEOF
  5285. }
  5286. b := dAtA[iNdEx]
  5287. iNdEx++
  5288. wire |= (uint64(b) & 0x7F) << shift
  5289. if b < 0x80 {
  5290. break
  5291. }
  5292. }
  5293. fieldNum := int32(wire >> 3)
  5294. wireType := int(wire & 0x7)
  5295. if wireType == 4 {
  5296. return fmt.Errorf("proto: DaemonSetUpdateStrategy: wiretype end group for non-group")
  5297. }
  5298. if fieldNum <= 0 {
  5299. return fmt.Errorf("proto: DaemonSetUpdateStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
  5300. }
  5301. switch fieldNum {
  5302. case 1:
  5303. if wireType != 2 {
  5304. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  5305. }
  5306. var stringLen uint64
  5307. for shift := uint(0); ; shift += 7 {
  5308. if shift >= 64 {
  5309. return ErrIntOverflowGenerated
  5310. }
  5311. if iNdEx >= l {
  5312. return io.ErrUnexpectedEOF
  5313. }
  5314. b := dAtA[iNdEx]
  5315. iNdEx++
  5316. stringLen |= (uint64(b) & 0x7F) << shift
  5317. if b < 0x80 {
  5318. break
  5319. }
  5320. }
  5321. intStringLen := int(stringLen)
  5322. if intStringLen < 0 {
  5323. return ErrInvalidLengthGenerated
  5324. }
  5325. postIndex := iNdEx + intStringLen
  5326. if postIndex > l {
  5327. return io.ErrUnexpectedEOF
  5328. }
  5329. m.Type = DaemonSetUpdateStrategyType(dAtA[iNdEx:postIndex])
  5330. iNdEx = postIndex
  5331. case 2:
  5332. if wireType != 2 {
  5333. return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
  5334. }
  5335. var msglen int
  5336. for shift := uint(0); ; shift += 7 {
  5337. if shift >= 64 {
  5338. return ErrIntOverflowGenerated
  5339. }
  5340. if iNdEx >= l {
  5341. return io.ErrUnexpectedEOF
  5342. }
  5343. b := dAtA[iNdEx]
  5344. iNdEx++
  5345. msglen |= (int(b) & 0x7F) << shift
  5346. if b < 0x80 {
  5347. break
  5348. }
  5349. }
  5350. if msglen < 0 {
  5351. return ErrInvalidLengthGenerated
  5352. }
  5353. postIndex := iNdEx + msglen
  5354. if postIndex > l {
  5355. return io.ErrUnexpectedEOF
  5356. }
  5357. if m.RollingUpdate == nil {
  5358. m.RollingUpdate = &RollingUpdateDaemonSet{}
  5359. }
  5360. if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5361. return err
  5362. }
  5363. iNdEx = postIndex
  5364. default:
  5365. iNdEx = preIndex
  5366. skippy, err := skipGenerated(dAtA[iNdEx:])
  5367. if err != nil {
  5368. return err
  5369. }
  5370. if skippy < 0 {
  5371. return ErrInvalidLengthGenerated
  5372. }
  5373. if (iNdEx + skippy) > l {
  5374. return io.ErrUnexpectedEOF
  5375. }
  5376. iNdEx += skippy
  5377. }
  5378. }
  5379. if iNdEx > l {
  5380. return io.ErrUnexpectedEOF
  5381. }
  5382. return nil
  5383. }
  5384. func (m *Deployment) Unmarshal(dAtA []byte) error {
  5385. l := len(dAtA)
  5386. iNdEx := 0
  5387. for iNdEx < l {
  5388. preIndex := iNdEx
  5389. var wire uint64
  5390. for shift := uint(0); ; shift += 7 {
  5391. if shift >= 64 {
  5392. return ErrIntOverflowGenerated
  5393. }
  5394. if iNdEx >= l {
  5395. return io.ErrUnexpectedEOF
  5396. }
  5397. b := dAtA[iNdEx]
  5398. iNdEx++
  5399. wire |= (uint64(b) & 0x7F) << shift
  5400. if b < 0x80 {
  5401. break
  5402. }
  5403. }
  5404. fieldNum := int32(wire >> 3)
  5405. wireType := int(wire & 0x7)
  5406. if wireType == 4 {
  5407. return fmt.Errorf("proto: Deployment: wiretype end group for non-group")
  5408. }
  5409. if fieldNum <= 0 {
  5410. return fmt.Errorf("proto: Deployment: illegal tag %d (wire type %d)", fieldNum, wire)
  5411. }
  5412. switch fieldNum {
  5413. case 1:
  5414. if wireType != 2 {
  5415. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  5416. }
  5417. var msglen int
  5418. for shift := uint(0); ; shift += 7 {
  5419. if shift >= 64 {
  5420. return ErrIntOverflowGenerated
  5421. }
  5422. if iNdEx >= l {
  5423. return io.ErrUnexpectedEOF
  5424. }
  5425. b := dAtA[iNdEx]
  5426. iNdEx++
  5427. msglen |= (int(b) & 0x7F) << shift
  5428. if b < 0x80 {
  5429. break
  5430. }
  5431. }
  5432. if msglen < 0 {
  5433. return ErrInvalidLengthGenerated
  5434. }
  5435. postIndex := iNdEx + msglen
  5436. if postIndex > l {
  5437. return io.ErrUnexpectedEOF
  5438. }
  5439. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5440. return err
  5441. }
  5442. iNdEx = postIndex
  5443. case 2:
  5444. if wireType != 2 {
  5445. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  5446. }
  5447. var msglen int
  5448. for shift := uint(0); ; shift += 7 {
  5449. if shift >= 64 {
  5450. return ErrIntOverflowGenerated
  5451. }
  5452. if iNdEx >= l {
  5453. return io.ErrUnexpectedEOF
  5454. }
  5455. b := dAtA[iNdEx]
  5456. iNdEx++
  5457. msglen |= (int(b) & 0x7F) << shift
  5458. if b < 0x80 {
  5459. break
  5460. }
  5461. }
  5462. if msglen < 0 {
  5463. return ErrInvalidLengthGenerated
  5464. }
  5465. postIndex := iNdEx + msglen
  5466. if postIndex > l {
  5467. return io.ErrUnexpectedEOF
  5468. }
  5469. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5470. return err
  5471. }
  5472. iNdEx = postIndex
  5473. case 3:
  5474. if wireType != 2 {
  5475. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  5476. }
  5477. var msglen int
  5478. for shift := uint(0); ; shift += 7 {
  5479. if shift >= 64 {
  5480. return ErrIntOverflowGenerated
  5481. }
  5482. if iNdEx >= l {
  5483. return io.ErrUnexpectedEOF
  5484. }
  5485. b := dAtA[iNdEx]
  5486. iNdEx++
  5487. msglen |= (int(b) & 0x7F) << shift
  5488. if b < 0x80 {
  5489. break
  5490. }
  5491. }
  5492. if msglen < 0 {
  5493. return ErrInvalidLengthGenerated
  5494. }
  5495. postIndex := iNdEx + msglen
  5496. if postIndex > l {
  5497. return io.ErrUnexpectedEOF
  5498. }
  5499. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5500. return err
  5501. }
  5502. iNdEx = postIndex
  5503. default:
  5504. iNdEx = preIndex
  5505. skippy, err := skipGenerated(dAtA[iNdEx:])
  5506. if err != nil {
  5507. return err
  5508. }
  5509. if skippy < 0 {
  5510. return ErrInvalidLengthGenerated
  5511. }
  5512. if (iNdEx + skippy) > l {
  5513. return io.ErrUnexpectedEOF
  5514. }
  5515. iNdEx += skippy
  5516. }
  5517. }
  5518. if iNdEx > l {
  5519. return io.ErrUnexpectedEOF
  5520. }
  5521. return nil
  5522. }
  5523. func (m *DeploymentCondition) Unmarshal(dAtA []byte) error {
  5524. l := len(dAtA)
  5525. iNdEx := 0
  5526. for iNdEx < l {
  5527. preIndex := iNdEx
  5528. var wire uint64
  5529. for shift := uint(0); ; shift += 7 {
  5530. if shift >= 64 {
  5531. return ErrIntOverflowGenerated
  5532. }
  5533. if iNdEx >= l {
  5534. return io.ErrUnexpectedEOF
  5535. }
  5536. b := dAtA[iNdEx]
  5537. iNdEx++
  5538. wire |= (uint64(b) & 0x7F) << shift
  5539. if b < 0x80 {
  5540. break
  5541. }
  5542. }
  5543. fieldNum := int32(wire >> 3)
  5544. wireType := int(wire & 0x7)
  5545. if wireType == 4 {
  5546. return fmt.Errorf("proto: DeploymentCondition: wiretype end group for non-group")
  5547. }
  5548. if fieldNum <= 0 {
  5549. return fmt.Errorf("proto: DeploymentCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  5550. }
  5551. switch fieldNum {
  5552. case 1:
  5553. if wireType != 2 {
  5554. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  5555. }
  5556. var stringLen uint64
  5557. for shift := uint(0); ; shift += 7 {
  5558. if shift >= 64 {
  5559. return ErrIntOverflowGenerated
  5560. }
  5561. if iNdEx >= l {
  5562. return io.ErrUnexpectedEOF
  5563. }
  5564. b := dAtA[iNdEx]
  5565. iNdEx++
  5566. stringLen |= (uint64(b) & 0x7F) << shift
  5567. if b < 0x80 {
  5568. break
  5569. }
  5570. }
  5571. intStringLen := int(stringLen)
  5572. if intStringLen < 0 {
  5573. return ErrInvalidLengthGenerated
  5574. }
  5575. postIndex := iNdEx + intStringLen
  5576. if postIndex > l {
  5577. return io.ErrUnexpectedEOF
  5578. }
  5579. m.Type = DeploymentConditionType(dAtA[iNdEx:postIndex])
  5580. iNdEx = postIndex
  5581. case 2:
  5582. if wireType != 2 {
  5583. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  5584. }
  5585. var stringLen uint64
  5586. for shift := uint(0); ; shift += 7 {
  5587. if shift >= 64 {
  5588. return ErrIntOverflowGenerated
  5589. }
  5590. if iNdEx >= l {
  5591. return io.ErrUnexpectedEOF
  5592. }
  5593. b := dAtA[iNdEx]
  5594. iNdEx++
  5595. stringLen |= (uint64(b) & 0x7F) << shift
  5596. if b < 0x80 {
  5597. break
  5598. }
  5599. }
  5600. intStringLen := int(stringLen)
  5601. if intStringLen < 0 {
  5602. return ErrInvalidLengthGenerated
  5603. }
  5604. postIndex := iNdEx + intStringLen
  5605. if postIndex > l {
  5606. return io.ErrUnexpectedEOF
  5607. }
  5608. m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
  5609. iNdEx = postIndex
  5610. case 4:
  5611. if wireType != 2 {
  5612. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  5613. }
  5614. var stringLen uint64
  5615. for shift := uint(0); ; shift += 7 {
  5616. if shift >= 64 {
  5617. return ErrIntOverflowGenerated
  5618. }
  5619. if iNdEx >= l {
  5620. return io.ErrUnexpectedEOF
  5621. }
  5622. b := dAtA[iNdEx]
  5623. iNdEx++
  5624. stringLen |= (uint64(b) & 0x7F) << shift
  5625. if b < 0x80 {
  5626. break
  5627. }
  5628. }
  5629. intStringLen := int(stringLen)
  5630. if intStringLen < 0 {
  5631. return ErrInvalidLengthGenerated
  5632. }
  5633. postIndex := iNdEx + intStringLen
  5634. if postIndex > l {
  5635. return io.ErrUnexpectedEOF
  5636. }
  5637. m.Reason = string(dAtA[iNdEx:postIndex])
  5638. iNdEx = postIndex
  5639. case 5:
  5640. if wireType != 2 {
  5641. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  5642. }
  5643. var stringLen uint64
  5644. for shift := uint(0); ; shift += 7 {
  5645. if shift >= 64 {
  5646. return ErrIntOverflowGenerated
  5647. }
  5648. if iNdEx >= l {
  5649. return io.ErrUnexpectedEOF
  5650. }
  5651. b := dAtA[iNdEx]
  5652. iNdEx++
  5653. stringLen |= (uint64(b) & 0x7F) << shift
  5654. if b < 0x80 {
  5655. break
  5656. }
  5657. }
  5658. intStringLen := int(stringLen)
  5659. if intStringLen < 0 {
  5660. return ErrInvalidLengthGenerated
  5661. }
  5662. postIndex := iNdEx + intStringLen
  5663. if postIndex > l {
  5664. return io.ErrUnexpectedEOF
  5665. }
  5666. m.Message = string(dAtA[iNdEx:postIndex])
  5667. iNdEx = postIndex
  5668. case 6:
  5669. if wireType != 2 {
  5670. return fmt.Errorf("proto: wrong wireType = %d for field LastUpdateTime", wireType)
  5671. }
  5672. var msglen int
  5673. for shift := uint(0); ; shift += 7 {
  5674. if shift >= 64 {
  5675. return ErrIntOverflowGenerated
  5676. }
  5677. if iNdEx >= l {
  5678. return io.ErrUnexpectedEOF
  5679. }
  5680. b := dAtA[iNdEx]
  5681. iNdEx++
  5682. msglen |= (int(b) & 0x7F) << shift
  5683. if b < 0x80 {
  5684. break
  5685. }
  5686. }
  5687. if msglen < 0 {
  5688. return ErrInvalidLengthGenerated
  5689. }
  5690. postIndex := iNdEx + msglen
  5691. if postIndex > l {
  5692. return io.ErrUnexpectedEOF
  5693. }
  5694. if err := m.LastUpdateTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5695. return err
  5696. }
  5697. iNdEx = postIndex
  5698. case 7:
  5699. if wireType != 2 {
  5700. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  5701. }
  5702. var msglen int
  5703. for shift := uint(0); ; shift += 7 {
  5704. if shift >= 64 {
  5705. return ErrIntOverflowGenerated
  5706. }
  5707. if iNdEx >= l {
  5708. return io.ErrUnexpectedEOF
  5709. }
  5710. b := dAtA[iNdEx]
  5711. iNdEx++
  5712. msglen |= (int(b) & 0x7F) << shift
  5713. if b < 0x80 {
  5714. break
  5715. }
  5716. }
  5717. if msglen < 0 {
  5718. return ErrInvalidLengthGenerated
  5719. }
  5720. postIndex := iNdEx + msglen
  5721. if postIndex > l {
  5722. return io.ErrUnexpectedEOF
  5723. }
  5724. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5725. return err
  5726. }
  5727. iNdEx = postIndex
  5728. default:
  5729. iNdEx = preIndex
  5730. skippy, err := skipGenerated(dAtA[iNdEx:])
  5731. if err != nil {
  5732. return err
  5733. }
  5734. if skippy < 0 {
  5735. return ErrInvalidLengthGenerated
  5736. }
  5737. if (iNdEx + skippy) > l {
  5738. return io.ErrUnexpectedEOF
  5739. }
  5740. iNdEx += skippy
  5741. }
  5742. }
  5743. if iNdEx > l {
  5744. return io.ErrUnexpectedEOF
  5745. }
  5746. return nil
  5747. }
  5748. func (m *DeploymentList) Unmarshal(dAtA []byte) error {
  5749. l := len(dAtA)
  5750. iNdEx := 0
  5751. for iNdEx < l {
  5752. preIndex := iNdEx
  5753. var wire uint64
  5754. for shift := uint(0); ; shift += 7 {
  5755. if shift >= 64 {
  5756. return ErrIntOverflowGenerated
  5757. }
  5758. if iNdEx >= l {
  5759. return io.ErrUnexpectedEOF
  5760. }
  5761. b := dAtA[iNdEx]
  5762. iNdEx++
  5763. wire |= (uint64(b) & 0x7F) << shift
  5764. if b < 0x80 {
  5765. break
  5766. }
  5767. }
  5768. fieldNum := int32(wire >> 3)
  5769. wireType := int(wire & 0x7)
  5770. if wireType == 4 {
  5771. return fmt.Errorf("proto: DeploymentList: wiretype end group for non-group")
  5772. }
  5773. if fieldNum <= 0 {
  5774. return fmt.Errorf("proto: DeploymentList: illegal tag %d (wire type %d)", fieldNum, wire)
  5775. }
  5776. switch fieldNum {
  5777. case 1:
  5778. if wireType != 2 {
  5779. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  5780. }
  5781. var msglen int
  5782. for shift := uint(0); ; shift += 7 {
  5783. if shift >= 64 {
  5784. return ErrIntOverflowGenerated
  5785. }
  5786. if iNdEx >= l {
  5787. return io.ErrUnexpectedEOF
  5788. }
  5789. b := dAtA[iNdEx]
  5790. iNdEx++
  5791. msglen |= (int(b) & 0x7F) << shift
  5792. if b < 0x80 {
  5793. break
  5794. }
  5795. }
  5796. if msglen < 0 {
  5797. return ErrInvalidLengthGenerated
  5798. }
  5799. postIndex := iNdEx + msglen
  5800. if postIndex > l {
  5801. return io.ErrUnexpectedEOF
  5802. }
  5803. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5804. return err
  5805. }
  5806. iNdEx = postIndex
  5807. case 2:
  5808. if wireType != 2 {
  5809. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  5810. }
  5811. var msglen int
  5812. for shift := uint(0); ; shift += 7 {
  5813. if shift >= 64 {
  5814. return ErrIntOverflowGenerated
  5815. }
  5816. if iNdEx >= l {
  5817. return io.ErrUnexpectedEOF
  5818. }
  5819. b := dAtA[iNdEx]
  5820. iNdEx++
  5821. msglen |= (int(b) & 0x7F) << shift
  5822. if b < 0x80 {
  5823. break
  5824. }
  5825. }
  5826. if msglen < 0 {
  5827. return ErrInvalidLengthGenerated
  5828. }
  5829. postIndex := iNdEx + msglen
  5830. if postIndex > l {
  5831. return io.ErrUnexpectedEOF
  5832. }
  5833. m.Items = append(m.Items, Deployment{})
  5834. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5835. return err
  5836. }
  5837. iNdEx = postIndex
  5838. default:
  5839. iNdEx = preIndex
  5840. skippy, err := skipGenerated(dAtA[iNdEx:])
  5841. if err != nil {
  5842. return err
  5843. }
  5844. if skippy < 0 {
  5845. return ErrInvalidLengthGenerated
  5846. }
  5847. if (iNdEx + skippy) > l {
  5848. return io.ErrUnexpectedEOF
  5849. }
  5850. iNdEx += skippy
  5851. }
  5852. }
  5853. if iNdEx > l {
  5854. return io.ErrUnexpectedEOF
  5855. }
  5856. return nil
  5857. }
  5858. func (m *DeploymentRollback) Unmarshal(dAtA []byte) error {
  5859. l := len(dAtA)
  5860. iNdEx := 0
  5861. for iNdEx < l {
  5862. preIndex := iNdEx
  5863. var wire uint64
  5864. for shift := uint(0); ; shift += 7 {
  5865. if shift >= 64 {
  5866. return ErrIntOverflowGenerated
  5867. }
  5868. if iNdEx >= l {
  5869. return io.ErrUnexpectedEOF
  5870. }
  5871. b := dAtA[iNdEx]
  5872. iNdEx++
  5873. wire |= (uint64(b) & 0x7F) << shift
  5874. if b < 0x80 {
  5875. break
  5876. }
  5877. }
  5878. fieldNum := int32(wire >> 3)
  5879. wireType := int(wire & 0x7)
  5880. if wireType == 4 {
  5881. return fmt.Errorf("proto: DeploymentRollback: wiretype end group for non-group")
  5882. }
  5883. if fieldNum <= 0 {
  5884. return fmt.Errorf("proto: DeploymentRollback: illegal tag %d (wire type %d)", fieldNum, wire)
  5885. }
  5886. switch fieldNum {
  5887. case 1:
  5888. if wireType != 2 {
  5889. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  5890. }
  5891. var stringLen uint64
  5892. for shift := uint(0); ; shift += 7 {
  5893. if shift >= 64 {
  5894. return ErrIntOverflowGenerated
  5895. }
  5896. if iNdEx >= l {
  5897. return io.ErrUnexpectedEOF
  5898. }
  5899. b := dAtA[iNdEx]
  5900. iNdEx++
  5901. stringLen |= (uint64(b) & 0x7F) << shift
  5902. if b < 0x80 {
  5903. break
  5904. }
  5905. }
  5906. intStringLen := int(stringLen)
  5907. if intStringLen < 0 {
  5908. return ErrInvalidLengthGenerated
  5909. }
  5910. postIndex := iNdEx + intStringLen
  5911. if postIndex > l {
  5912. return io.ErrUnexpectedEOF
  5913. }
  5914. m.Name = string(dAtA[iNdEx:postIndex])
  5915. iNdEx = postIndex
  5916. case 2:
  5917. if wireType != 2 {
  5918. return fmt.Errorf("proto: wrong wireType = %d for field UpdatedAnnotations", wireType)
  5919. }
  5920. var msglen int
  5921. for shift := uint(0); ; shift += 7 {
  5922. if shift >= 64 {
  5923. return ErrIntOverflowGenerated
  5924. }
  5925. if iNdEx >= l {
  5926. return io.ErrUnexpectedEOF
  5927. }
  5928. b := dAtA[iNdEx]
  5929. iNdEx++
  5930. msglen |= (int(b) & 0x7F) << shift
  5931. if b < 0x80 {
  5932. break
  5933. }
  5934. }
  5935. if msglen < 0 {
  5936. return ErrInvalidLengthGenerated
  5937. }
  5938. postIndex := iNdEx + msglen
  5939. if postIndex > l {
  5940. return io.ErrUnexpectedEOF
  5941. }
  5942. if m.UpdatedAnnotations == nil {
  5943. m.UpdatedAnnotations = make(map[string]string)
  5944. }
  5945. var mapkey string
  5946. var mapvalue string
  5947. for iNdEx < postIndex {
  5948. entryPreIndex := iNdEx
  5949. var wire uint64
  5950. for shift := uint(0); ; shift += 7 {
  5951. if shift >= 64 {
  5952. return ErrIntOverflowGenerated
  5953. }
  5954. if iNdEx >= l {
  5955. return io.ErrUnexpectedEOF
  5956. }
  5957. b := dAtA[iNdEx]
  5958. iNdEx++
  5959. wire |= (uint64(b) & 0x7F) << shift
  5960. if b < 0x80 {
  5961. break
  5962. }
  5963. }
  5964. fieldNum := int32(wire >> 3)
  5965. if fieldNum == 1 {
  5966. var stringLenmapkey uint64
  5967. for shift := uint(0); ; shift += 7 {
  5968. if shift >= 64 {
  5969. return ErrIntOverflowGenerated
  5970. }
  5971. if iNdEx >= l {
  5972. return io.ErrUnexpectedEOF
  5973. }
  5974. b := dAtA[iNdEx]
  5975. iNdEx++
  5976. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  5977. if b < 0x80 {
  5978. break
  5979. }
  5980. }
  5981. intStringLenmapkey := int(stringLenmapkey)
  5982. if intStringLenmapkey < 0 {
  5983. return ErrInvalidLengthGenerated
  5984. }
  5985. postStringIndexmapkey := iNdEx + intStringLenmapkey
  5986. if postStringIndexmapkey > l {
  5987. return io.ErrUnexpectedEOF
  5988. }
  5989. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  5990. iNdEx = postStringIndexmapkey
  5991. } else if fieldNum == 2 {
  5992. var stringLenmapvalue uint64
  5993. for shift := uint(0); ; shift += 7 {
  5994. if shift >= 64 {
  5995. return ErrIntOverflowGenerated
  5996. }
  5997. if iNdEx >= l {
  5998. return io.ErrUnexpectedEOF
  5999. }
  6000. b := dAtA[iNdEx]
  6001. iNdEx++
  6002. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  6003. if b < 0x80 {
  6004. break
  6005. }
  6006. }
  6007. intStringLenmapvalue := int(stringLenmapvalue)
  6008. if intStringLenmapvalue < 0 {
  6009. return ErrInvalidLengthGenerated
  6010. }
  6011. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  6012. if postStringIndexmapvalue > l {
  6013. return io.ErrUnexpectedEOF
  6014. }
  6015. mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  6016. iNdEx = postStringIndexmapvalue
  6017. } else {
  6018. iNdEx = entryPreIndex
  6019. skippy, err := skipGenerated(dAtA[iNdEx:])
  6020. if err != nil {
  6021. return err
  6022. }
  6023. if skippy < 0 {
  6024. return ErrInvalidLengthGenerated
  6025. }
  6026. if (iNdEx + skippy) > postIndex {
  6027. return io.ErrUnexpectedEOF
  6028. }
  6029. iNdEx += skippy
  6030. }
  6031. }
  6032. m.UpdatedAnnotations[mapkey] = mapvalue
  6033. iNdEx = postIndex
  6034. case 3:
  6035. if wireType != 2 {
  6036. return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
  6037. }
  6038. var msglen int
  6039. for shift := uint(0); ; shift += 7 {
  6040. if shift >= 64 {
  6041. return ErrIntOverflowGenerated
  6042. }
  6043. if iNdEx >= l {
  6044. return io.ErrUnexpectedEOF
  6045. }
  6046. b := dAtA[iNdEx]
  6047. iNdEx++
  6048. msglen |= (int(b) & 0x7F) << shift
  6049. if b < 0x80 {
  6050. break
  6051. }
  6052. }
  6053. if msglen < 0 {
  6054. return ErrInvalidLengthGenerated
  6055. }
  6056. postIndex := iNdEx + msglen
  6057. if postIndex > l {
  6058. return io.ErrUnexpectedEOF
  6059. }
  6060. if err := m.RollbackTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6061. return err
  6062. }
  6063. iNdEx = postIndex
  6064. default:
  6065. iNdEx = preIndex
  6066. skippy, err := skipGenerated(dAtA[iNdEx:])
  6067. if err != nil {
  6068. return err
  6069. }
  6070. if skippy < 0 {
  6071. return ErrInvalidLengthGenerated
  6072. }
  6073. if (iNdEx + skippy) > l {
  6074. return io.ErrUnexpectedEOF
  6075. }
  6076. iNdEx += skippy
  6077. }
  6078. }
  6079. if iNdEx > l {
  6080. return io.ErrUnexpectedEOF
  6081. }
  6082. return nil
  6083. }
  6084. func (m *DeploymentSpec) Unmarshal(dAtA []byte) error {
  6085. l := len(dAtA)
  6086. iNdEx := 0
  6087. for iNdEx < l {
  6088. preIndex := iNdEx
  6089. var wire uint64
  6090. for shift := uint(0); ; shift += 7 {
  6091. if shift >= 64 {
  6092. return ErrIntOverflowGenerated
  6093. }
  6094. if iNdEx >= l {
  6095. return io.ErrUnexpectedEOF
  6096. }
  6097. b := dAtA[iNdEx]
  6098. iNdEx++
  6099. wire |= (uint64(b) & 0x7F) << shift
  6100. if b < 0x80 {
  6101. break
  6102. }
  6103. }
  6104. fieldNum := int32(wire >> 3)
  6105. wireType := int(wire & 0x7)
  6106. if wireType == 4 {
  6107. return fmt.Errorf("proto: DeploymentSpec: wiretype end group for non-group")
  6108. }
  6109. if fieldNum <= 0 {
  6110. return fmt.Errorf("proto: DeploymentSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  6111. }
  6112. switch fieldNum {
  6113. case 1:
  6114. if wireType != 0 {
  6115. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  6116. }
  6117. var v int32
  6118. for shift := uint(0); ; shift += 7 {
  6119. if shift >= 64 {
  6120. return ErrIntOverflowGenerated
  6121. }
  6122. if iNdEx >= l {
  6123. return io.ErrUnexpectedEOF
  6124. }
  6125. b := dAtA[iNdEx]
  6126. iNdEx++
  6127. v |= (int32(b) & 0x7F) << shift
  6128. if b < 0x80 {
  6129. break
  6130. }
  6131. }
  6132. m.Replicas = &v
  6133. case 2:
  6134. if wireType != 2 {
  6135. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  6136. }
  6137. var msglen int
  6138. for shift := uint(0); ; shift += 7 {
  6139. if shift >= 64 {
  6140. return ErrIntOverflowGenerated
  6141. }
  6142. if iNdEx >= l {
  6143. return io.ErrUnexpectedEOF
  6144. }
  6145. b := dAtA[iNdEx]
  6146. iNdEx++
  6147. msglen |= (int(b) & 0x7F) << shift
  6148. if b < 0x80 {
  6149. break
  6150. }
  6151. }
  6152. if msglen < 0 {
  6153. return ErrInvalidLengthGenerated
  6154. }
  6155. postIndex := iNdEx + msglen
  6156. if postIndex > l {
  6157. return io.ErrUnexpectedEOF
  6158. }
  6159. if m.Selector == nil {
  6160. m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  6161. }
  6162. if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6163. return err
  6164. }
  6165. iNdEx = postIndex
  6166. case 3:
  6167. if wireType != 2 {
  6168. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  6169. }
  6170. var msglen int
  6171. for shift := uint(0); ; shift += 7 {
  6172. if shift >= 64 {
  6173. return ErrIntOverflowGenerated
  6174. }
  6175. if iNdEx >= l {
  6176. return io.ErrUnexpectedEOF
  6177. }
  6178. b := dAtA[iNdEx]
  6179. iNdEx++
  6180. msglen |= (int(b) & 0x7F) << shift
  6181. if b < 0x80 {
  6182. break
  6183. }
  6184. }
  6185. if msglen < 0 {
  6186. return ErrInvalidLengthGenerated
  6187. }
  6188. postIndex := iNdEx + msglen
  6189. if postIndex > l {
  6190. return io.ErrUnexpectedEOF
  6191. }
  6192. if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6193. return err
  6194. }
  6195. iNdEx = postIndex
  6196. case 4:
  6197. if wireType != 2 {
  6198. return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType)
  6199. }
  6200. var msglen int
  6201. for shift := uint(0); ; shift += 7 {
  6202. if shift >= 64 {
  6203. return ErrIntOverflowGenerated
  6204. }
  6205. if iNdEx >= l {
  6206. return io.ErrUnexpectedEOF
  6207. }
  6208. b := dAtA[iNdEx]
  6209. iNdEx++
  6210. msglen |= (int(b) & 0x7F) << shift
  6211. if b < 0x80 {
  6212. break
  6213. }
  6214. }
  6215. if msglen < 0 {
  6216. return ErrInvalidLengthGenerated
  6217. }
  6218. postIndex := iNdEx + msglen
  6219. if postIndex > l {
  6220. return io.ErrUnexpectedEOF
  6221. }
  6222. if err := m.Strategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6223. return err
  6224. }
  6225. iNdEx = postIndex
  6226. case 5:
  6227. if wireType != 0 {
  6228. return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
  6229. }
  6230. m.MinReadySeconds = 0
  6231. for shift := uint(0); ; shift += 7 {
  6232. if shift >= 64 {
  6233. return ErrIntOverflowGenerated
  6234. }
  6235. if iNdEx >= l {
  6236. return io.ErrUnexpectedEOF
  6237. }
  6238. b := dAtA[iNdEx]
  6239. iNdEx++
  6240. m.MinReadySeconds |= (int32(b) & 0x7F) << shift
  6241. if b < 0x80 {
  6242. break
  6243. }
  6244. }
  6245. case 6:
  6246. if wireType != 0 {
  6247. return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
  6248. }
  6249. var v int32
  6250. for shift := uint(0); ; shift += 7 {
  6251. if shift >= 64 {
  6252. return ErrIntOverflowGenerated
  6253. }
  6254. if iNdEx >= l {
  6255. return io.ErrUnexpectedEOF
  6256. }
  6257. b := dAtA[iNdEx]
  6258. iNdEx++
  6259. v |= (int32(b) & 0x7F) << shift
  6260. if b < 0x80 {
  6261. break
  6262. }
  6263. }
  6264. m.RevisionHistoryLimit = &v
  6265. case 7:
  6266. if wireType != 0 {
  6267. return fmt.Errorf("proto: wrong wireType = %d for field Paused", wireType)
  6268. }
  6269. var v int
  6270. for shift := uint(0); ; shift += 7 {
  6271. if shift >= 64 {
  6272. return ErrIntOverflowGenerated
  6273. }
  6274. if iNdEx >= l {
  6275. return io.ErrUnexpectedEOF
  6276. }
  6277. b := dAtA[iNdEx]
  6278. iNdEx++
  6279. v |= (int(b) & 0x7F) << shift
  6280. if b < 0x80 {
  6281. break
  6282. }
  6283. }
  6284. m.Paused = bool(v != 0)
  6285. case 8:
  6286. if wireType != 2 {
  6287. return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
  6288. }
  6289. var msglen int
  6290. for shift := uint(0); ; shift += 7 {
  6291. if shift >= 64 {
  6292. return ErrIntOverflowGenerated
  6293. }
  6294. if iNdEx >= l {
  6295. return io.ErrUnexpectedEOF
  6296. }
  6297. b := dAtA[iNdEx]
  6298. iNdEx++
  6299. msglen |= (int(b) & 0x7F) << shift
  6300. if b < 0x80 {
  6301. break
  6302. }
  6303. }
  6304. if msglen < 0 {
  6305. return ErrInvalidLengthGenerated
  6306. }
  6307. postIndex := iNdEx + msglen
  6308. if postIndex > l {
  6309. return io.ErrUnexpectedEOF
  6310. }
  6311. if m.RollbackTo == nil {
  6312. m.RollbackTo = &RollbackConfig{}
  6313. }
  6314. if err := m.RollbackTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6315. return err
  6316. }
  6317. iNdEx = postIndex
  6318. case 9:
  6319. if wireType != 0 {
  6320. return fmt.Errorf("proto: wrong wireType = %d for field ProgressDeadlineSeconds", wireType)
  6321. }
  6322. var v int32
  6323. for shift := uint(0); ; shift += 7 {
  6324. if shift >= 64 {
  6325. return ErrIntOverflowGenerated
  6326. }
  6327. if iNdEx >= l {
  6328. return io.ErrUnexpectedEOF
  6329. }
  6330. b := dAtA[iNdEx]
  6331. iNdEx++
  6332. v |= (int32(b) & 0x7F) << shift
  6333. if b < 0x80 {
  6334. break
  6335. }
  6336. }
  6337. m.ProgressDeadlineSeconds = &v
  6338. default:
  6339. iNdEx = preIndex
  6340. skippy, err := skipGenerated(dAtA[iNdEx:])
  6341. if err != nil {
  6342. return err
  6343. }
  6344. if skippy < 0 {
  6345. return ErrInvalidLengthGenerated
  6346. }
  6347. if (iNdEx + skippy) > l {
  6348. return io.ErrUnexpectedEOF
  6349. }
  6350. iNdEx += skippy
  6351. }
  6352. }
  6353. if iNdEx > l {
  6354. return io.ErrUnexpectedEOF
  6355. }
  6356. return nil
  6357. }
  6358. func (m *DeploymentStatus) Unmarshal(dAtA []byte) error {
  6359. l := len(dAtA)
  6360. iNdEx := 0
  6361. for iNdEx < l {
  6362. preIndex := iNdEx
  6363. var wire uint64
  6364. for shift := uint(0); ; shift += 7 {
  6365. if shift >= 64 {
  6366. return ErrIntOverflowGenerated
  6367. }
  6368. if iNdEx >= l {
  6369. return io.ErrUnexpectedEOF
  6370. }
  6371. b := dAtA[iNdEx]
  6372. iNdEx++
  6373. wire |= (uint64(b) & 0x7F) << shift
  6374. if b < 0x80 {
  6375. break
  6376. }
  6377. }
  6378. fieldNum := int32(wire >> 3)
  6379. wireType := int(wire & 0x7)
  6380. if wireType == 4 {
  6381. return fmt.Errorf("proto: DeploymentStatus: wiretype end group for non-group")
  6382. }
  6383. if fieldNum <= 0 {
  6384. return fmt.Errorf("proto: DeploymentStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  6385. }
  6386. switch fieldNum {
  6387. case 1:
  6388. if wireType != 0 {
  6389. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  6390. }
  6391. m.ObservedGeneration = 0
  6392. for shift := uint(0); ; shift += 7 {
  6393. if shift >= 64 {
  6394. return ErrIntOverflowGenerated
  6395. }
  6396. if iNdEx >= l {
  6397. return io.ErrUnexpectedEOF
  6398. }
  6399. b := dAtA[iNdEx]
  6400. iNdEx++
  6401. m.ObservedGeneration |= (int64(b) & 0x7F) << shift
  6402. if b < 0x80 {
  6403. break
  6404. }
  6405. }
  6406. case 2:
  6407. if wireType != 0 {
  6408. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  6409. }
  6410. m.Replicas = 0
  6411. for shift := uint(0); ; shift += 7 {
  6412. if shift >= 64 {
  6413. return ErrIntOverflowGenerated
  6414. }
  6415. if iNdEx >= l {
  6416. return io.ErrUnexpectedEOF
  6417. }
  6418. b := dAtA[iNdEx]
  6419. iNdEx++
  6420. m.Replicas |= (int32(b) & 0x7F) << shift
  6421. if b < 0x80 {
  6422. break
  6423. }
  6424. }
  6425. case 3:
  6426. if wireType != 0 {
  6427. return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType)
  6428. }
  6429. m.UpdatedReplicas = 0
  6430. for shift := uint(0); ; shift += 7 {
  6431. if shift >= 64 {
  6432. return ErrIntOverflowGenerated
  6433. }
  6434. if iNdEx >= l {
  6435. return io.ErrUnexpectedEOF
  6436. }
  6437. b := dAtA[iNdEx]
  6438. iNdEx++
  6439. m.UpdatedReplicas |= (int32(b) & 0x7F) << shift
  6440. if b < 0x80 {
  6441. break
  6442. }
  6443. }
  6444. case 4:
  6445. if wireType != 0 {
  6446. return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
  6447. }
  6448. m.AvailableReplicas = 0
  6449. for shift := uint(0); ; shift += 7 {
  6450. if shift >= 64 {
  6451. return ErrIntOverflowGenerated
  6452. }
  6453. if iNdEx >= l {
  6454. return io.ErrUnexpectedEOF
  6455. }
  6456. b := dAtA[iNdEx]
  6457. iNdEx++
  6458. m.AvailableReplicas |= (int32(b) & 0x7F) << shift
  6459. if b < 0x80 {
  6460. break
  6461. }
  6462. }
  6463. case 5:
  6464. if wireType != 0 {
  6465. return fmt.Errorf("proto: wrong wireType = %d for field UnavailableReplicas", wireType)
  6466. }
  6467. m.UnavailableReplicas = 0
  6468. for shift := uint(0); ; shift += 7 {
  6469. if shift >= 64 {
  6470. return ErrIntOverflowGenerated
  6471. }
  6472. if iNdEx >= l {
  6473. return io.ErrUnexpectedEOF
  6474. }
  6475. b := dAtA[iNdEx]
  6476. iNdEx++
  6477. m.UnavailableReplicas |= (int32(b) & 0x7F) << shift
  6478. if b < 0x80 {
  6479. break
  6480. }
  6481. }
  6482. case 6:
  6483. if wireType != 2 {
  6484. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  6485. }
  6486. var msglen int
  6487. for shift := uint(0); ; shift += 7 {
  6488. if shift >= 64 {
  6489. return ErrIntOverflowGenerated
  6490. }
  6491. if iNdEx >= l {
  6492. return io.ErrUnexpectedEOF
  6493. }
  6494. b := dAtA[iNdEx]
  6495. iNdEx++
  6496. msglen |= (int(b) & 0x7F) << shift
  6497. if b < 0x80 {
  6498. break
  6499. }
  6500. }
  6501. if msglen < 0 {
  6502. return ErrInvalidLengthGenerated
  6503. }
  6504. postIndex := iNdEx + msglen
  6505. if postIndex > l {
  6506. return io.ErrUnexpectedEOF
  6507. }
  6508. m.Conditions = append(m.Conditions, DeploymentCondition{})
  6509. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6510. return err
  6511. }
  6512. iNdEx = postIndex
  6513. case 7:
  6514. if wireType != 0 {
  6515. return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
  6516. }
  6517. m.ReadyReplicas = 0
  6518. for shift := uint(0); ; shift += 7 {
  6519. if shift >= 64 {
  6520. return ErrIntOverflowGenerated
  6521. }
  6522. if iNdEx >= l {
  6523. return io.ErrUnexpectedEOF
  6524. }
  6525. b := dAtA[iNdEx]
  6526. iNdEx++
  6527. m.ReadyReplicas |= (int32(b) & 0x7F) << shift
  6528. if b < 0x80 {
  6529. break
  6530. }
  6531. }
  6532. case 8:
  6533. if wireType != 0 {
  6534. return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
  6535. }
  6536. var v int32
  6537. for shift := uint(0); ; shift += 7 {
  6538. if shift >= 64 {
  6539. return ErrIntOverflowGenerated
  6540. }
  6541. if iNdEx >= l {
  6542. return io.ErrUnexpectedEOF
  6543. }
  6544. b := dAtA[iNdEx]
  6545. iNdEx++
  6546. v |= (int32(b) & 0x7F) << shift
  6547. if b < 0x80 {
  6548. break
  6549. }
  6550. }
  6551. m.CollisionCount = &v
  6552. default:
  6553. iNdEx = preIndex
  6554. skippy, err := skipGenerated(dAtA[iNdEx:])
  6555. if err != nil {
  6556. return err
  6557. }
  6558. if skippy < 0 {
  6559. return ErrInvalidLengthGenerated
  6560. }
  6561. if (iNdEx + skippy) > l {
  6562. return io.ErrUnexpectedEOF
  6563. }
  6564. iNdEx += skippy
  6565. }
  6566. }
  6567. if iNdEx > l {
  6568. return io.ErrUnexpectedEOF
  6569. }
  6570. return nil
  6571. }
  6572. func (m *DeploymentStrategy) Unmarshal(dAtA []byte) error {
  6573. l := len(dAtA)
  6574. iNdEx := 0
  6575. for iNdEx < l {
  6576. preIndex := iNdEx
  6577. var wire uint64
  6578. for shift := uint(0); ; shift += 7 {
  6579. if shift >= 64 {
  6580. return ErrIntOverflowGenerated
  6581. }
  6582. if iNdEx >= l {
  6583. return io.ErrUnexpectedEOF
  6584. }
  6585. b := dAtA[iNdEx]
  6586. iNdEx++
  6587. wire |= (uint64(b) & 0x7F) << shift
  6588. if b < 0x80 {
  6589. break
  6590. }
  6591. }
  6592. fieldNum := int32(wire >> 3)
  6593. wireType := int(wire & 0x7)
  6594. if wireType == 4 {
  6595. return fmt.Errorf("proto: DeploymentStrategy: wiretype end group for non-group")
  6596. }
  6597. if fieldNum <= 0 {
  6598. return fmt.Errorf("proto: DeploymentStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
  6599. }
  6600. switch fieldNum {
  6601. case 1:
  6602. if wireType != 2 {
  6603. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  6604. }
  6605. var stringLen uint64
  6606. for shift := uint(0); ; shift += 7 {
  6607. if shift >= 64 {
  6608. return ErrIntOverflowGenerated
  6609. }
  6610. if iNdEx >= l {
  6611. return io.ErrUnexpectedEOF
  6612. }
  6613. b := dAtA[iNdEx]
  6614. iNdEx++
  6615. stringLen |= (uint64(b) & 0x7F) << shift
  6616. if b < 0x80 {
  6617. break
  6618. }
  6619. }
  6620. intStringLen := int(stringLen)
  6621. if intStringLen < 0 {
  6622. return ErrInvalidLengthGenerated
  6623. }
  6624. postIndex := iNdEx + intStringLen
  6625. if postIndex > l {
  6626. return io.ErrUnexpectedEOF
  6627. }
  6628. m.Type = DeploymentStrategyType(dAtA[iNdEx:postIndex])
  6629. iNdEx = postIndex
  6630. case 2:
  6631. if wireType != 2 {
  6632. return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
  6633. }
  6634. var msglen int
  6635. for shift := uint(0); ; shift += 7 {
  6636. if shift >= 64 {
  6637. return ErrIntOverflowGenerated
  6638. }
  6639. if iNdEx >= l {
  6640. return io.ErrUnexpectedEOF
  6641. }
  6642. b := dAtA[iNdEx]
  6643. iNdEx++
  6644. msglen |= (int(b) & 0x7F) << shift
  6645. if b < 0x80 {
  6646. break
  6647. }
  6648. }
  6649. if msglen < 0 {
  6650. return ErrInvalidLengthGenerated
  6651. }
  6652. postIndex := iNdEx + msglen
  6653. if postIndex > l {
  6654. return io.ErrUnexpectedEOF
  6655. }
  6656. if m.RollingUpdate == nil {
  6657. m.RollingUpdate = &RollingUpdateDeployment{}
  6658. }
  6659. if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6660. return err
  6661. }
  6662. iNdEx = postIndex
  6663. default:
  6664. iNdEx = preIndex
  6665. skippy, err := skipGenerated(dAtA[iNdEx:])
  6666. if err != nil {
  6667. return err
  6668. }
  6669. if skippy < 0 {
  6670. return ErrInvalidLengthGenerated
  6671. }
  6672. if (iNdEx + skippy) > l {
  6673. return io.ErrUnexpectedEOF
  6674. }
  6675. iNdEx += skippy
  6676. }
  6677. }
  6678. if iNdEx > l {
  6679. return io.ErrUnexpectedEOF
  6680. }
  6681. return nil
  6682. }
  6683. func (m *FSGroupStrategyOptions) Unmarshal(dAtA []byte) error {
  6684. l := len(dAtA)
  6685. iNdEx := 0
  6686. for iNdEx < l {
  6687. preIndex := iNdEx
  6688. var wire uint64
  6689. for shift := uint(0); ; shift += 7 {
  6690. if shift >= 64 {
  6691. return ErrIntOverflowGenerated
  6692. }
  6693. if iNdEx >= l {
  6694. return io.ErrUnexpectedEOF
  6695. }
  6696. b := dAtA[iNdEx]
  6697. iNdEx++
  6698. wire |= (uint64(b) & 0x7F) << shift
  6699. if b < 0x80 {
  6700. break
  6701. }
  6702. }
  6703. fieldNum := int32(wire >> 3)
  6704. wireType := int(wire & 0x7)
  6705. if wireType == 4 {
  6706. return fmt.Errorf("proto: FSGroupStrategyOptions: wiretype end group for non-group")
  6707. }
  6708. if fieldNum <= 0 {
  6709. return fmt.Errorf("proto: FSGroupStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  6710. }
  6711. switch fieldNum {
  6712. case 1:
  6713. if wireType != 2 {
  6714. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  6715. }
  6716. var stringLen uint64
  6717. for shift := uint(0); ; shift += 7 {
  6718. if shift >= 64 {
  6719. return ErrIntOverflowGenerated
  6720. }
  6721. if iNdEx >= l {
  6722. return io.ErrUnexpectedEOF
  6723. }
  6724. b := dAtA[iNdEx]
  6725. iNdEx++
  6726. stringLen |= (uint64(b) & 0x7F) << shift
  6727. if b < 0x80 {
  6728. break
  6729. }
  6730. }
  6731. intStringLen := int(stringLen)
  6732. if intStringLen < 0 {
  6733. return ErrInvalidLengthGenerated
  6734. }
  6735. postIndex := iNdEx + intStringLen
  6736. if postIndex > l {
  6737. return io.ErrUnexpectedEOF
  6738. }
  6739. m.Rule = FSGroupStrategyType(dAtA[iNdEx:postIndex])
  6740. iNdEx = postIndex
  6741. case 2:
  6742. if wireType != 2 {
  6743. return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
  6744. }
  6745. var msglen int
  6746. for shift := uint(0); ; shift += 7 {
  6747. if shift >= 64 {
  6748. return ErrIntOverflowGenerated
  6749. }
  6750. if iNdEx >= l {
  6751. return io.ErrUnexpectedEOF
  6752. }
  6753. b := dAtA[iNdEx]
  6754. iNdEx++
  6755. msglen |= (int(b) & 0x7F) << shift
  6756. if b < 0x80 {
  6757. break
  6758. }
  6759. }
  6760. if msglen < 0 {
  6761. return ErrInvalidLengthGenerated
  6762. }
  6763. postIndex := iNdEx + msglen
  6764. if postIndex > l {
  6765. return io.ErrUnexpectedEOF
  6766. }
  6767. m.Ranges = append(m.Ranges, IDRange{})
  6768. if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6769. return err
  6770. }
  6771. iNdEx = postIndex
  6772. default:
  6773. iNdEx = preIndex
  6774. skippy, err := skipGenerated(dAtA[iNdEx:])
  6775. if err != nil {
  6776. return err
  6777. }
  6778. if skippy < 0 {
  6779. return ErrInvalidLengthGenerated
  6780. }
  6781. if (iNdEx + skippy) > l {
  6782. return io.ErrUnexpectedEOF
  6783. }
  6784. iNdEx += skippy
  6785. }
  6786. }
  6787. if iNdEx > l {
  6788. return io.ErrUnexpectedEOF
  6789. }
  6790. return nil
  6791. }
  6792. func (m *HTTPIngressPath) Unmarshal(dAtA []byte) error {
  6793. l := len(dAtA)
  6794. iNdEx := 0
  6795. for iNdEx < l {
  6796. preIndex := iNdEx
  6797. var wire uint64
  6798. for shift := uint(0); ; shift += 7 {
  6799. if shift >= 64 {
  6800. return ErrIntOverflowGenerated
  6801. }
  6802. if iNdEx >= l {
  6803. return io.ErrUnexpectedEOF
  6804. }
  6805. b := dAtA[iNdEx]
  6806. iNdEx++
  6807. wire |= (uint64(b) & 0x7F) << shift
  6808. if b < 0x80 {
  6809. break
  6810. }
  6811. }
  6812. fieldNum := int32(wire >> 3)
  6813. wireType := int(wire & 0x7)
  6814. if wireType == 4 {
  6815. return fmt.Errorf("proto: HTTPIngressPath: wiretype end group for non-group")
  6816. }
  6817. if fieldNum <= 0 {
  6818. return fmt.Errorf("proto: HTTPIngressPath: illegal tag %d (wire type %d)", fieldNum, wire)
  6819. }
  6820. switch fieldNum {
  6821. case 1:
  6822. if wireType != 2 {
  6823. return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  6824. }
  6825. var stringLen uint64
  6826. for shift := uint(0); ; shift += 7 {
  6827. if shift >= 64 {
  6828. return ErrIntOverflowGenerated
  6829. }
  6830. if iNdEx >= l {
  6831. return io.ErrUnexpectedEOF
  6832. }
  6833. b := dAtA[iNdEx]
  6834. iNdEx++
  6835. stringLen |= (uint64(b) & 0x7F) << shift
  6836. if b < 0x80 {
  6837. break
  6838. }
  6839. }
  6840. intStringLen := int(stringLen)
  6841. if intStringLen < 0 {
  6842. return ErrInvalidLengthGenerated
  6843. }
  6844. postIndex := iNdEx + intStringLen
  6845. if postIndex > l {
  6846. return io.ErrUnexpectedEOF
  6847. }
  6848. m.Path = string(dAtA[iNdEx:postIndex])
  6849. iNdEx = postIndex
  6850. case 2:
  6851. if wireType != 2 {
  6852. return fmt.Errorf("proto: wrong wireType = %d for field Backend", wireType)
  6853. }
  6854. var msglen int
  6855. for shift := uint(0); ; shift += 7 {
  6856. if shift >= 64 {
  6857. return ErrIntOverflowGenerated
  6858. }
  6859. if iNdEx >= l {
  6860. return io.ErrUnexpectedEOF
  6861. }
  6862. b := dAtA[iNdEx]
  6863. iNdEx++
  6864. msglen |= (int(b) & 0x7F) << shift
  6865. if b < 0x80 {
  6866. break
  6867. }
  6868. }
  6869. if msglen < 0 {
  6870. return ErrInvalidLengthGenerated
  6871. }
  6872. postIndex := iNdEx + msglen
  6873. if postIndex > l {
  6874. return io.ErrUnexpectedEOF
  6875. }
  6876. if err := m.Backend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6877. return err
  6878. }
  6879. iNdEx = postIndex
  6880. default:
  6881. iNdEx = preIndex
  6882. skippy, err := skipGenerated(dAtA[iNdEx:])
  6883. if err != nil {
  6884. return err
  6885. }
  6886. if skippy < 0 {
  6887. return ErrInvalidLengthGenerated
  6888. }
  6889. if (iNdEx + skippy) > l {
  6890. return io.ErrUnexpectedEOF
  6891. }
  6892. iNdEx += skippy
  6893. }
  6894. }
  6895. if iNdEx > l {
  6896. return io.ErrUnexpectedEOF
  6897. }
  6898. return nil
  6899. }
  6900. func (m *HTTPIngressRuleValue) Unmarshal(dAtA []byte) error {
  6901. l := len(dAtA)
  6902. iNdEx := 0
  6903. for iNdEx < l {
  6904. preIndex := iNdEx
  6905. var wire uint64
  6906. for shift := uint(0); ; shift += 7 {
  6907. if shift >= 64 {
  6908. return ErrIntOverflowGenerated
  6909. }
  6910. if iNdEx >= l {
  6911. return io.ErrUnexpectedEOF
  6912. }
  6913. b := dAtA[iNdEx]
  6914. iNdEx++
  6915. wire |= (uint64(b) & 0x7F) << shift
  6916. if b < 0x80 {
  6917. break
  6918. }
  6919. }
  6920. fieldNum := int32(wire >> 3)
  6921. wireType := int(wire & 0x7)
  6922. if wireType == 4 {
  6923. return fmt.Errorf("proto: HTTPIngressRuleValue: wiretype end group for non-group")
  6924. }
  6925. if fieldNum <= 0 {
  6926. return fmt.Errorf("proto: HTTPIngressRuleValue: illegal tag %d (wire type %d)", fieldNum, wire)
  6927. }
  6928. switch fieldNum {
  6929. case 1:
  6930. if wireType != 2 {
  6931. return fmt.Errorf("proto: wrong wireType = %d for field Paths", wireType)
  6932. }
  6933. var msglen int
  6934. for shift := uint(0); ; shift += 7 {
  6935. if shift >= 64 {
  6936. return ErrIntOverflowGenerated
  6937. }
  6938. if iNdEx >= l {
  6939. return io.ErrUnexpectedEOF
  6940. }
  6941. b := dAtA[iNdEx]
  6942. iNdEx++
  6943. msglen |= (int(b) & 0x7F) << shift
  6944. if b < 0x80 {
  6945. break
  6946. }
  6947. }
  6948. if msglen < 0 {
  6949. return ErrInvalidLengthGenerated
  6950. }
  6951. postIndex := iNdEx + msglen
  6952. if postIndex > l {
  6953. return io.ErrUnexpectedEOF
  6954. }
  6955. m.Paths = append(m.Paths, HTTPIngressPath{})
  6956. if err := m.Paths[len(m.Paths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6957. return err
  6958. }
  6959. iNdEx = postIndex
  6960. default:
  6961. iNdEx = preIndex
  6962. skippy, err := skipGenerated(dAtA[iNdEx:])
  6963. if err != nil {
  6964. return err
  6965. }
  6966. if skippy < 0 {
  6967. return ErrInvalidLengthGenerated
  6968. }
  6969. if (iNdEx + skippy) > l {
  6970. return io.ErrUnexpectedEOF
  6971. }
  6972. iNdEx += skippy
  6973. }
  6974. }
  6975. if iNdEx > l {
  6976. return io.ErrUnexpectedEOF
  6977. }
  6978. return nil
  6979. }
  6980. func (m *HostPortRange) Unmarshal(dAtA []byte) error {
  6981. l := len(dAtA)
  6982. iNdEx := 0
  6983. for iNdEx < l {
  6984. preIndex := iNdEx
  6985. var wire uint64
  6986. for shift := uint(0); ; shift += 7 {
  6987. if shift >= 64 {
  6988. return ErrIntOverflowGenerated
  6989. }
  6990. if iNdEx >= l {
  6991. return io.ErrUnexpectedEOF
  6992. }
  6993. b := dAtA[iNdEx]
  6994. iNdEx++
  6995. wire |= (uint64(b) & 0x7F) << shift
  6996. if b < 0x80 {
  6997. break
  6998. }
  6999. }
  7000. fieldNum := int32(wire >> 3)
  7001. wireType := int(wire & 0x7)
  7002. if wireType == 4 {
  7003. return fmt.Errorf("proto: HostPortRange: wiretype end group for non-group")
  7004. }
  7005. if fieldNum <= 0 {
  7006. return fmt.Errorf("proto: HostPortRange: illegal tag %d (wire type %d)", fieldNum, wire)
  7007. }
  7008. switch fieldNum {
  7009. case 1:
  7010. if wireType != 0 {
  7011. return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
  7012. }
  7013. m.Min = 0
  7014. for shift := uint(0); ; shift += 7 {
  7015. if shift >= 64 {
  7016. return ErrIntOverflowGenerated
  7017. }
  7018. if iNdEx >= l {
  7019. return io.ErrUnexpectedEOF
  7020. }
  7021. b := dAtA[iNdEx]
  7022. iNdEx++
  7023. m.Min |= (int32(b) & 0x7F) << shift
  7024. if b < 0x80 {
  7025. break
  7026. }
  7027. }
  7028. case 2:
  7029. if wireType != 0 {
  7030. return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
  7031. }
  7032. m.Max = 0
  7033. for shift := uint(0); ; shift += 7 {
  7034. if shift >= 64 {
  7035. return ErrIntOverflowGenerated
  7036. }
  7037. if iNdEx >= l {
  7038. return io.ErrUnexpectedEOF
  7039. }
  7040. b := dAtA[iNdEx]
  7041. iNdEx++
  7042. m.Max |= (int32(b) & 0x7F) << shift
  7043. if b < 0x80 {
  7044. break
  7045. }
  7046. }
  7047. default:
  7048. iNdEx = preIndex
  7049. skippy, err := skipGenerated(dAtA[iNdEx:])
  7050. if err != nil {
  7051. return err
  7052. }
  7053. if skippy < 0 {
  7054. return ErrInvalidLengthGenerated
  7055. }
  7056. if (iNdEx + skippy) > l {
  7057. return io.ErrUnexpectedEOF
  7058. }
  7059. iNdEx += skippy
  7060. }
  7061. }
  7062. if iNdEx > l {
  7063. return io.ErrUnexpectedEOF
  7064. }
  7065. return nil
  7066. }
  7067. func (m *IDRange) Unmarshal(dAtA []byte) error {
  7068. l := len(dAtA)
  7069. iNdEx := 0
  7070. for iNdEx < l {
  7071. preIndex := iNdEx
  7072. var wire uint64
  7073. for shift := uint(0); ; shift += 7 {
  7074. if shift >= 64 {
  7075. return ErrIntOverflowGenerated
  7076. }
  7077. if iNdEx >= l {
  7078. return io.ErrUnexpectedEOF
  7079. }
  7080. b := dAtA[iNdEx]
  7081. iNdEx++
  7082. wire |= (uint64(b) & 0x7F) << shift
  7083. if b < 0x80 {
  7084. break
  7085. }
  7086. }
  7087. fieldNum := int32(wire >> 3)
  7088. wireType := int(wire & 0x7)
  7089. if wireType == 4 {
  7090. return fmt.Errorf("proto: IDRange: wiretype end group for non-group")
  7091. }
  7092. if fieldNum <= 0 {
  7093. return fmt.Errorf("proto: IDRange: illegal tag %d (wire type %d)", fieldNum, wire)
  7094. }
  7095. switch fieldNum {
  7096. case 1:
  7097. if wireType != 0 {
  7098. return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
  7099. }
  7100. m.Min = 0
  7101. for shift := uint(0); ; shift += 7 {
  7102. if shift >= 64 {
  7103. return ErrIntOverflowGenerated
  7104. }
  7105. if iNdEx >= l {
  7106. return io.ErrUnexpectedEOF
  7107. }
  7108. b := dAtA[iNdEx]
  7109. iNdEx++
  7110. m.Min |= (int64(b) & 0x7F) << shift
  7111. if b < 0x80 {
  7112. break
  7113. }
  7114. }
  7115. case 2:
  7116. if wireType != 0 {
  7117. return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
  7118. }
  7119. m.Max = 0
  7120. for shift := uint(0); ; shift += 7 {
  7121. if shift >= 64 {
  7122. return ErrIntOverflowGenerated
  7123. }
  7124. if iNdEx >= l {
  7125. return io.ErrUnexpectedEOF
  7126. }
  7127. b := dAtA[iNdEx]
  7128. iNdEx++
  7129. m.Max |= (int64(b) & 0x7F) << shift
  7130. if b < 0x80 {
  7131. break
  7132. }
  7133. }
  7134. default:
  7135. iNdEx = preIndex
  7136. skippy, err := skipGenerated(dAtA[iNdEx:])
  7137. if err != nil {
  7138. return err
  7139. }
  7140. if skippy < 0 {
  7141. return ErrInvalidLengthGenerated
  7142. }
  7143. if (iNdEx + skippy) > l {
  7144. return io.ErrUnexpectedEOF
  7145. }
  7146. iNdEx += skippy
  7147. }
  7148. }
  7149. if iNdEx > l {
  7150. return io.ErrUnexpectedEOF
  7151. }
  7152. return nil
  7153. }
  7154. func (m *IPBlock) Unmarshal(dAtA []byte) error {
  7155. l := len(dAtA)
  7156. iNdEx := 0
  7157. for iNdEx < l {
  7158. preIndex := iNdEx
  7159. var wire uint64
  7160. for shift := uint(0); ; shift += 7 {
  7161. if shift >= 64 {
  7162. return ErrIntOverflowGenerated
  7163. }
  7164. if iNdEx >= l {
  7165. return io.ErrUnexpectedEOF
  7166. }
  7167. b := dAtA[iNdEx]
  7168. iNdEx++
  7169. wire |= (uint64(b) & 0x7F) << shift
  7170. if b < 0x80 {
  7171. break
  7172. }
  7173. }
  7174. fieldNum := int32(wire >> 3)
  7175. wireType := int(wire & 0x7)
  7176. if wireType == 4 {
  7177. return fmt.Errorf("proto: IPBlock: wiretype end group for non-group")
  7178. }
  7179. if fieldNum <= 0 {
  7180. return fmt.Errorf("proto: IPBlock: illegal tag %d (wire type %d)", fieldNum, wire)
  7181. }
  7182. switch fieldNum {
  7183. case 1:
  7184. if wireType != 2 {
  7185. return fmt.Errorf("proto: wrong wireType = %d for field CIDR", wireType)
  7186. }
  7187. var stringLen uint64
  7188. for shift := uint(0); ; shift += 7 {
  7189. if shift >= 64 {
  7190. return ErrIntOverflowGenerated
  7191. }
  7192. if iNdEx >= l {
  7193. return io.ErrUnexpectedEOF
  7194. }
  7195. b := dAtA[iNdEx]
  7196. iNdEx++
  7197. stringLen |= (uint64(b) & 0x7F) << shift
  7198. if b < 0x80 {
  7199. break
  7200. }
  7201. }
  7202. intStringLen := int(stringLen)
  7203. if intStringLen < 0 {
  7204. return ErrInvalidLengthGenerated
  7205. }
  7206. postIndex := iNdEx + intStringLen
  7207. if postIndex > l {
  7208. return io.ErrUnexpectedEOF
  7209. }
  7210. m.CIDR = string(dAtA[iNdEx:postIndex])
  7211. iNdEx = postIndex
  7212. case 2:
  7213. if wireType != 2 {
  7214. return fmt.Errorf("proto: wrong wireType = %d for field Except", wireType)
  7215. }
  7216. var stringLen uint64
  7217. for shift := uint(0); ; shift += 7 {
  7218. if shift >= 64 {
  7219. return ErrIntOverflowGenerated
  7220. }
  7221. if iNdEx >= l {
  7222. return io.ErrUnexpectedEOF
  7223. }
  7224. b := dAtA[iNdEx]
  7225. iNdEx++
  7226. stringLen |= (uint64(b) & 0x7F) << shift
  7227. if b < 0x80 {
  7228. break
  7229. }
  7230. }
  7231. intStringLen := int(stringLen)
  7232. if intStringLen < 0 {
  7233. return ErrInvalidLengthGenerated
  7234. }
  7235. postIndex := iNdEx + intStringLen
  7236. if postIndex > l {
  7237. return io.ErrUnexpectedEOF
  7238. }
  7239. m.Except = append(m.Except, string(dAtA[iNdEx:postIndex]))
  7240. iNdEx = postIndex
  7241. default:
  7242. iNdEx = preIndex
  7243. skippy, err := skipGenerated(dAtA[iNdEx:])
  7244. if err != nil {
  7245. return err
  7246. }
  7247. if skippy < 0 {
  7248. return ErrInvalidLengthGenerated
  7249. }
  7250. if (iNdEx + skippy) > l {
  7251. return io.ErrUnexpectedEOF
  7252. }
  7253. iNdEx += skippy
  7254. }
  7255. }
  7256. if iNdEx > l {
  7257. return io.ErrUnexpectedEOF
  7258. }
  7259. return nil
  7260. }
  7261. func (m *Ingress) Unmarshal(dAtA []byte) error {
  7262. l := len(dAtA)
  7263. iNdEx := 0
  7264. for iNdEx < l {
  7265. preIndex := iNdEx
  7266. var wire uint64
  7267. for shift := uint(0); ; shift += 7 {
  7268. if shift >= 64 {
  7269. return ErrIntOverflowGenerated
  7270. }
  7271. if iNdEx >= l {
  7272. return io.ErrUnexpectedEOF
  7273. }
  7274. b := dAtA[iNdEx]
  7275. iNdEx++
  7276. wire |= (uint64(b) & 0x7F) << shift
  7277. if b < 0x80 {
  7278. break
  7279. }
  7280. }
  7281. fieldNum := int32(wire >> 3)
  7282. wireType := int(wire & 0x7)
  7283. if wireType == 4 {
  7284. return fmt.Errorf("proto: Ingress: wiretype end group for non-group")
  7285. }
  7286. if fieldNum <= 0 {
  7287. return fmt.Errorf("proto: Ingress: illegal tag %d (wire type %d)", fieldNum, wire)
  7288. }
  7289. switch fieldNum {
  7290. case 1:
  7291. if wireType != 2 {
  7292. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  7293. }
  7294. var msglen int
  7295. for shift := uint(0); ; shift += 7 {
  7296. if shift >= 64 {
  7297. return ErrIntOverflowGenerated
  7298. }
  7299. if iNdEx >= l {
  7300. return io.ErrUnexpectedEOF
  7301. }
  7302. b := dAtA[iNdEx]
  7303. iNdEx++
  7304. msglen |= (int(b) & 0x7F) << shift
  7305. if b < 0x80 {
  7306. break
  7307. }
  7308. }
  7309. if msglen < 0 {
  7310. return ErrInvalidLengthGenerated
  7311. }
  7312. postIndex := iNdEx + msglen
  7313. if postIndex > l {
  7314. return io.ErrUnexpectedEOF
  7315. }
  7316. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7317. return err
  7318. }
  7319. iNdEx = postIndex
  7320. case 2:
  7321. if wireType != 2 {
  7322. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  7323. }
  7324. var msglen int
  7325. for shift := uint(0); ; shift += 7 {
  7326. if shift >= 64 {
  7327. return ErrIntOverflowGenerated
  7328. }
  7329. if iNdEx >= l {
  7330. return io.ErrUnexpectedEOF
  7331. }
  7332. b := dAtA[iNdEx]
  7333. iNdEx++
  7334. msglen |= (int(b) & 0x7F) << shift
  7335. if b < 0x80 {
  7336. break
  7337. }
  7338. }
  7339. if msglen < 0 {
  7340. return ErrInvalidLengthGenerated
  7341. }
  7342. postIndex := iNdEx + msglen
  7343. if postIndex > l {
  7344. return io.ErrUnexpectedEOF
  7345. }
  7346. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7347. return err
  7348. }
  7349. iNdEx = postIndex
  7350. case 3:
  7351. if wireType != 2 {
  7352. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  7353. }
  7354. var msglen int
  7355. for shift := uint(0); ; shift += 7 {
  7356. if shift >= 64 {
  7357. return ErrIntOverflowGenerated
  7358. }
  7359. if iNdEx >= l {
  7360. return io.ErrUnexpectedEOF
  7361. }
  7362. b := dAtA[iNdEx]
  7363. iNdEx++
  7364. msglen |= (int(b) & 0x7F) << shift
  7365. if b < 0x80 {
  7366. break
  7367. }
  7368. }
  7369. if msglen < 0 {
  7370. return ErrInvalidLengthGenerated
  7371. }
  7372. postIndex := iNdEx + msglen
  7373. if postIndex > l {
  7374. return io.ErrUnexpectedEOF
  7375. }
  7376. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7377. return err
  7378. }
  7379. iNdEx = postIndex
  7380. default:
  7381. iNdEx = preIndex
  7382. skippy, err := skipGenerated(dAtA[iNdEx:])
  7383. if err != nil {
  7384. return err
  7385. }
  7386. if skippy < 0 {
  7387. return ErrInvalidLengthGenerated
  7388. }
  7389. if (iNdEx + skippy) > l {
  7390. return io.ErrUnexpectedEOF
  7391. }
  7392. iNdEx += skippy
  7393. }
  7394. }
  7395. if iNdEx > l {
  7396. return io.ErrUnexpectedEOF
  7397. }
  7398. return nil
  7399. }
  7400. func (m *IngressBackend) Unmarshal(dAtA []byte) error {
  7401. l := len(dAtA)
  7402. iNdEx := 0
  7403. for iNdEx < l {
  7404. preIndex := iNdEx
  7405. var wire uint64
  7406. for shift := uint(0); ; shift += 7 {
  7407. if shift >= 64 {
  7408. return ErrIntOverflowGenerated
  7409. }
  7410. if iNdEx >= l {
  7411. return io.ErrUnexpectedEOF
  7412. }
  7413. b := dAtA[iNdEx]
  7414. iNdEx++
  7415. wire |= (uint64(b) & 0x7F) << shift
  7416. if b < 0x80 {
  7417. break
  7418. }
  7419. }
  7420. fieldNum := int32(wire >> 3)
  7421. wireType := int(wire & 0x7)
  7422. if wireType == 4 {
  7423. return fmt.Errorf("proto: IngressBackend: wiretype end group for non-group")
  7424. }
  7425. if fieldNum <= 0 {
  7426. return fmt.Errorf("proto: IngressBackend: illegal tag %d (wire type %d)", fieldNum, wire)
  7427. }
  7428. switch fieldNum {
  7429. case 1:
  7430. if wireType != 2 {
  7431. return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType)
  7432. }
  7433. var stringLen uint64
  7434. for shift := uint(0); ; shift += 7 {
  7435. if shift >= 64 {
  7436. return ErrIntOverflowGenerated
  7437. }
  7438. if iNdEx >= l {
  7439. return io.ErrUnexpectedEOF
  7440. }
  7441. b := dAtA[iNdEx]
  7442. iNdEx++
  7443. stringLen |= (uint64(b) & 0x7F) << shift
  7444. if b < 0x80 {
  7445. break
  7446. }
  7447. }
  7448. intStringLen := int(stringLen)
  7449. if intStringLen < 0 {
  7450. return ErrInvalidLengthGenerated
  7451. }
  7452. postIndex := iNdEx + intStringLen
  7453. if postIndex > l {
  7454. return io.ErrUnexpectedEOF
  7455. }
  7456. m.ServiceName = string(dAtA[iNdEx:postIndex])
  7457. iNdEx = postIndex
  7458. case 2:
  7459. if wireType != 2 {
  7460. return fmt.Errorf("proto: wrong wireType = %d for field ServicePort", wireType)
  7461. }
  7462. var msglen int
  7463. for shift := uint(0); ; shift += 7 {
  7464. if shift >= 64 {
  7465. return ErrIntOverflowGenerated
  7466. }
  7467. if iNdEx >= l {
  7468. return io.ErrUnexpectedEOF
  7469. }
  7470. b := dAtA[iNdEx]
  7471. iNdEx++
  7472. msglen |= (int(b) & 0x7F) << shift
  7473. if b < 0x80 {
  7474. break
  7475. }
  7476. }
  7477. if msglen < 0 {
  7478. return ErrInvalidLengthGenerated
  7479. }
  7480. postIndex := iNdEx + msglen
  7481. if postIndex > l {
  7482. return io.ErrUnexpectedEOF
  7483. }
  7484. if err := m.ServicePort.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7485. return err
  7486. }
  7487. iNdEx = postIndex
  7488. default:
  7489. iNdEx = preIndex
  7490. skippy, err := skipGenerated(dAtA[iNdEx:])
  7491. if err != nil {
  7492. return err
  7493. }
  7494. if skippy < 0 {
  7495. return ErrInvalidLengthGenerated
  7496. }
  7497. if (iNdEx + skippy) > l {
  7498. return io.ErrUnexpectedEOF
  7499. }
  7500. iNdEx += skippy
  7501. }
  7502. }
  7503. if iNdEx > l {
  7504. return io.ErrUnexpectedEOF
  7505. }
  7506. return nil
  7507. }
  7508. func (m *IngressList) Unmarshal(dAtA []byte) error {
  7509. l := len(dAtA)
  7510. iNdEx := 0
  7511. for iNdEx < l {
  7512. preIndex := iNdEx
  7513. var wire uint64
  7514. for shift := uint(0); ; shift += 7 {
  7515. if shift >= 64 {
  7516. return ErrIntOverflowGenerated
  7517. }
  7518. if iNdEx >= l {
  7519. return io.ErrUnexpectedEOF
  7520. }
  7521. b := dAtA[iNdEx]
  7522. iNdEx++
  7523. wire |= (uint64(b) & 0x7F) << shift
  7524. if b < 0x80 {
  7525. break
  7526. }
  7527. }
  7528. fieldNum := int32(wire >> 3)
  7529. wireType := int(wire & 0x7)
  7530. if wireType == 4 {
  7531. return fmt.Errorf("proto: IngressList: wiretype end group for non-group")
  7532. }
  7533. if fieldNum <= 0 {
  7534. return fmt.Errorf("proto: IngressList: illegal tag %d (wire type %d)", fieldNum, wire)
  7535. }
  7536. switch fieldNum {
  7537. case 1:
  7538. if wireType != 2 {
  7539. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  7540. }
  7541. var msglen int
  7542. for shift := uint(0); ; shift += 7 {
  7543. if shift >= 64 {
  7544. return ErrIntOverflowGenerated
  7545. }
  7546. if iNdEx >= l {
  7547. return io.ErrUnexpectedEOF
  7548. }
  7549. b := dAtA[iNdEx]
  7550. iNdEx++
  7551. msglen |= (int(b) & 0x7F) << shift
  7552. if b < 0x80 {
  7553. break
  7554. }
  7555. }
  7556. if msglen < 0 {
  7557. return ErrInvalidLengthGenerated
  7558. }
  7559. postIndex := iNdEx + msglen
  7560. if postIndex > l {
  7561. return io.ErrUnexpectedEOF
  7562. }
  7563. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7564. return err
  7565. }
  7566. iNdEx = postIndex
  7567. case 2:
  7568. if wireType != 2 {
  7569. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  7570. }
  7571. var msglen int
  7572. for shift := uint(0); ; shift += 7 {
  7573. if shift >= 64 {
  7574. return ErrIntOverflowGenerated
  7575. }
  7576. if iNdEx >= l {
  7577. return io.ErrUnexpectedEOF
  7578. }
  7579. b := dAtA[iNdEx]
  7580. iNdEx++
  7581. msglen |= (int(b) & 0x7F) << shift
  7582. if b < 0x80 {
  7583. break
  7584. }
  7585. }
  7586. if msglen < 0 {
  7587. return ErrInvalidLengthGenerated
  7588. }
  7589. postIndex := iNdEx + msglen
  7590. if postIndex > l {
  7591. return io.ErrUnexpectedEOF
  7592. }
  7593. m.Items = append(m.Items, Ingress{})
  7594. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7595. return err
  7596. }
  7597. iNdEx = postIndex
  7598. default:
  7599. iNdEx = preIndex
  7600. skippy, err := skipGenerated(dAtA[iNdEx:])
  7601. if err != nil {
  7602. return err
  7603. }
  7604. if skippy < 0 {
  7605. return ErrInvalidLengthGenerated
  7606. }
  7607. if (iNdEx + skippy) > l {
  7608. return io.ErrUnexpectedEOF
  7609. }
  7610. iNdEx += skippy
  7611. }
  7612. }
  7613. if iNdEx > l {
  7614. return io.ErrUnexpectedEOF
  7615. }
  7616. return nil
  7617. }
  7618. func (m *IngressRule) Unmarshal(dAtA []byte) error {
  7619. l := len(dAtA)
  7620. iNdEx := 0
  7621. for iNdEx < l {
  7622. preIndex := iNdEx
  7623. var wire uint64
  7624. for shift := uint(0); ; shift += 7 {
  7625. if shift >= 64 {
  7626. return ErrIntOverflowGenerated
  7627. }
  7628. if iNdEx >= l {
  7629. return io.ErrUnexpectedEOF
  7630. }
  7631. b := dAtA[iNdEx]
  7632. iNdEx++
  7633. wire |= (uint64(b) & 0x7F) << shift
  7634. if b < 0x80 {
  7635. break
  7636. }
  7637. }
  7638. fieldNum := int32(wire >> 3)
  7639. wireType := int(wire & 0x7)
  7640. if wireType == 4 {
  7641. return fmt.Errorf("proto: IngressRule: wiretype end group for non-group")
  7642. }
  7643. if fieldNum <= 0 {
  7644. return fmt.Errorf("proto: IngressRule: illegal tag %d (wire type %d)", fieldNum, wire)
  7645. }
  7646. switch fieldNum {
  7647. case 1:
  7648. if wireType != 2 {
  7649. return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
  7650. }
  7651. var stringLen uint64
  7652. for shift := uint(0); ; shift += 7 {
  7653. if shift >= 64 {
  7654. return ErrIntOverflowGenerated
  7655. }
  7656. if iNdEx >= l {
  7657. return io.ErrUnexpectedEOF
  7658. }
  7659. b := dAtA[iNdEx]
  7660. iNdEx++
  7661. stringLen |= (uint64(b) & 0x7F) << shift
  7662. if b < 0x80 {
  7663. break
  7664. }
  7665. }
  7666. intStringLen := int(stringLen)
  7667. if intStringLen < 0 {
  7668. return ErrInvalidLengthGenerated
  7669. }
  7670. postIndex := iNdEx + intStringLen
  7671. if postIndex > l {
  7672. return io.ErrUnexpectedEOF
  7673. }
  7674. m.Host = string(dAtA[iNdEx:postIndex])
  7675. iNdEx = postIndex
  7676. case 2:
  7677. if wireType != 2 {
  7678. return fmt.Errorf("proto: wrong wireType = %d for field IngressRuleValue", wireType)
  7679. }
  7680. var msglen int
  7681. for shift := uint(0); ; shift += 7 {
  7682. if shift >= 64 {
  7683. return ErrIntOverflowGenerated
  7684. }
  7685. if iNdEx >= l {
  7686. return io.ErrUnexpectedEOF
  7687. }
  7688. b := dAtA[iNdEx]
  7689. iNdEx++
  7690. msglen |= (int(b) & 0x7F) << shift
  7691. if b < 0x80 {
  7692. break
  7693. }
  7694. }
  7695. if msglen < 0 {
  7696. return ErrInvalidLengthGenerated
  7697. }
  7698. postIndex := iNdEx + msglen
  7699. if postIndex > l {
  7700. return io.ErrUnexpectedEOF
  7701. }
  7702. if err := m.IngressRuleValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7703. return err
  7704. }
  7705. iNdEx = postIndex
  7706. default:
  7707. iNdEx = preIndex
  7708. skippy, err := skipGenerated(dAtA[iNdEx:])
  7709. if err != nil {
  7710. return err
  7711. }
  7712. if skippy < 0 {
  7713. return ErrInvalidLengthGenerated
  7714. }
  7715. if (iNdEx + skippy) > l {
  7716. return io.ErrUnexpectedEOF
  7717. }
  7718. iNdEx += skippy
  7719. }
  7720. }
  7721. if iNdEx > l {
  7722. return io.ErrUnexpectedEOF
  7723. }
  7724. return nil
  7725. }
  7726. func (m *IngressRuleValue) Unmarshal(dAtA []byte) error {
  7727. l := len(dAtA)
  7728. iNdEx := 0
  7729. for iNdEx < l {
  7730. preIndex := iNdEx
  7731. var wire uint64
  7732. for shift := uint(0); ; shift += 7 {
  7733. if shift >= 64 {
  7734. return ErrIntOverflowGenerated
  7735. }
  7736. if iNdEx >= l {
  7737. return io.ErrUnexpectedEOF
  7738. }
  7739. b := dAtA[iNdEx]
  7740. iNdEx++
  7741. wire |= (uint64(b) & 0x7F) << shift
  7742. if b < 0x80 {
  7743. break
  7744. }
  7745. }
  7746. fieldNum := int32(wire >> 3)
  7747. wireType := int(wire & 0x7)
  7748. if wireType == 4 {
  7749. return fmt.Errorf("proto: IngressRuleValue: wiretype end group for non-group")
  7750. }
  7751. if fieldNum <= 0 {
  7752. return fmt.Errorf("proto: IngressRuleValue: illegal tag %d (wire type %d)", fieldNum, wire)
  7753. }
  7754. switch fieldNum {
  7755. case 1:
  7756. if wireType != 2 {
  7757. return fmt.Errorf("proto: wrong wireType = %d for field HTTP", wireType)
  7758. }
  7759. var msglen int
  7760. for shift := uint(0); ; shift += 7 {
  7761. if shift >= 64 {
  7762. return ErrIntOverflowGenerated
  7763. }
  7764. if iNdEx >= l {
  7765. return io.ErrUnexpectedEOF
  7766. }
  7767. b := dAtA[iNdEx]
  7768. iNdEx++
  7769. msglen |= (int(b) & 0x7F) << shift
  7770. if b < 0x80 {
  7771. break
  7772. }
  7773. }
  7774. if msglen < 0 {
  7775. return ErrInvalidLengthGenerated
  7776. }
  7777. postIndex := iNdEx + msglen
  7778. if postIndex > l {
  7779. return io.ErrUnexpectedEOF
  7780. }
  7781. if m.HTTP == nil {
  7782. m.HTTP = &HTTPIngressRuleValue{}
  7783. }
  7784. if err := m.HTTP.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7785. return err
  7786. }
  7787. iNdEx = postIndex
  7788. default:
  7789. iNdEx = preIndex
  7790. skippy, err := skipGenerated(dAtA[iNdEx:])
  7791. if err != nil {
  7792. return err
  7793. }
  7794. if skippy < 0 {
  7795. return ErrInvalidLengthGenerated
  7796. }
  7797. if (iNdEx + skippy) > l {
  7798. return io.ErrUnexpectedEOF
  7799. }
  7800. iNdEx += skippy
  7801. }
  7802. }
  7803. if iNdEx > l {
  7804. return io.ErrUnexpectedEOF
  7805. }
  7806. return nil
  7807. }
  7808. func (m *IngressSpec) Unmarshal(dAtA []byte) error {
  7809. l := len(dAtA)
  7810. iNdEx := 0
  7811. for iNdEx < l {
  7812. preIndex := iNdEx
  7813. var wire uint64
  7814. for shift := uint(0); ; shift += 7 {
  7815. if shift >= 64 {
  7816. return ErrIntOverflowGenerated
  7817. }
  7818. if iNdEx >= l {
  7819. return io.ErrUnexpectedEOF
  7820. }
  7821. b := dAtA[iNdEx]
  7822. iNdEx++
  7823. wire |= (uint64(b) & 0x7F) << shift
  7824. if b < 0x80 {
  7825. break
  7826. }
  7827. }
  7828. fieldNum := int32(wire >> 3)
  7829. wireType := int(wire & 0x7)
  7830. if wireType == 4 {
  7831. return fmt.Errorf("proto: IngressSpec: wiretype end group for non-group")
  7832. }
  7833. if fieldNum <= 0 {
  7834. return fmt.Errorf("proto: IngressSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  7835. }
  7836. switch fieldNum {
  7837. case 1:
  7838. if wireType != 2 {
  7839. return fmt.Errorf("proto: wrong wireType = %d for field Backend", wireType)
  7840. }
  7841. var msglen int
  7842. for shift := uint(0); ; shift += 7 {
  7843. if shift >= 64 {
  7844. return ErrIntOverflowGenerated
  7845. }
  7846. if iNdEx >= l {
  7847. return io.ErrUnexpectedEOF
  7848. }
  7849. b := dAtA[iNdEx]
  7850. iNdEx++
  7851. msglen |= (int(b) & 0x7F) << shift
  7852. if b < 0x80 {
  7853. break
  7854. }
  7855. }
  7856. if msglen < 0 {
  7857. return ErrInvalidLengthGenerated
  7858. }
  7859. postIndex := iNdEx + msglen
  7860. if postIndex > l {
  7861. return io.ErrUnexpectedEOF
  7862. }
  7863. if m.Backend == nil {
  7864. m.Backend = &IngressBackend{}
  7865. }
  7866. if err := m.Backend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7867. return err
  7868. }
  7869. iNdEx = postIndex
  7870. case 2:
  7871. if wireType != 2 {
  7872. return fmt.Errorf("proto: wrong wireType = %d for field TLS", wireType)
  7873. }
  7874. var msglen int
  7875. for shift := uint(0); ; shift += 7 {
  7876. if shift >= 64 {
  7877. return ErrIntOverflowGenerated
  7878. }
  7879. if iNdEx >= l {
  7880. return io.ErrUnexpectedEOF
  7881. }
  7882. b := dAtA[iNdEx]
  7883. iNdEx++
  7884. msglen |= (int(b) & 0x7F) << shift
  7885. if b < 0x80 {
  7886. break
  7887. }
  7888. }
  7889. if msglen < 0 {
  7890. return ErrInvalidLengthGenerated
  7891. }
  7892. postIndex := iNdEx + msglen
  7893. if postIndex > l {
  7894. return io.ErrUnexpectedEOF
  7895. }
  7896. m.TLS = append(m.TLS, IngressTLS{})
  7897. if err := m.TLS[len(m.TLS)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7898. return err
  7899. }
  7900. iNdEx = postIndex
  7901. case 3:
  7902. if wireType != 2 {
  7903. return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType)
  7904. }
  7905. var msglen int
  7906. for shift := uint(0); ; shift += 7 {
  7907. if shift >= 64 {
  7908. return ErrIntOverflowGenerated
  7909. }
  7910. if iNdEx >= l {
  7911. return io.ErrUnexpectedEOF
  7912. }
  7913. b := dAtA[iNdEx]
  7914. iNdEx++
  7915. msglen |= (int(b) & 0x7F) << shift
  7916. if b < 0x80 {
  7917. break
  7918. }
  7919. }
  7920. if msglen < 0 {
  7921. return ErrInvalidLengthGenerated
  7922. }
  7923. postIndex := iNdEx + msglen
  7924. if postIndex > l {
  7925. return io.ErrUnexpectedEOF
  7926. }
  7927. m.Rules = append(m.Rules, IngressRule{})
  7928. if err := m.Rules[len(m.Rules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  7929. return err
  7930. }
  7931. iNdEx = postIndex
  7932. default:
  7933. iNdEx = preIndex
  7934. skippy, err := skipGenerated(dAtA[iNdEx:])
  7935. if err != nil {
  7936. return err
  7937. }
  7938. if skippy < 0 {
  7939. return ErrInvalidLengthGenerated
  7940. }
  7941. if (iNdEx + skippy) > l {
  7942. return io.ErrUnexpectedEOF
  7943. }
  7944. iNdEx += skippy
  7945. }
  7946. }
  7947. if iNdEx > l {
  7948. return io.ErrUnexpectedEOF
  7949. }
  7950. return nil
  7951. }
  7952. func (m *IngressStatus) Unmarshal(dAtA []byte) error {
  7953. l := len(dAtA)
  7954. iNdEx := 0
  7955. for iNdEx < l {
  7956. preIndex := iNdEx
  7957. var wire uint64
  7958. for shift := uint(0); ; shift += 7 {
  7959. if shift >= 64 {
  7960. return ErrIntOverflowGenerated
  7961. }
  7962. if iNdEx >= l {
  7963. return io.ErrUnexpectedEOF
  7964. }
  7965. b := dAtA[iNdEx]
  7966. iNdEx++
  7967. wire |= (uint64(b) & 0x7F) << shift
  7968. if b < 0x80 {
  7969. break
  7970. }
  7971. }
  7972. fieldNum := int32(wire >> 3)
  7973. wireType := int(wire & 0x7)
  7974. if wireType == 4 {
  7975. return fmt.Errorf("proto: IngressStatus: wiretype end group for non-group")
  7976. }
  7977. if fieldNum <= 0 {
  7978. return fmt.Errorf("proto: IngressStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  7979. }
  7980. switch fieldNum {
  7981. case 1:
  7982. if wireType != 2 {
  7983. return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancer", wireType)
  7984. }
  7985. var msglen int
  7986. for shift := uint(0); ; shift += 7 {
  7987. if shift >= 64 {
  7988. return ErrIntOverflowGenerated
  7989. }
  7990. if iNdEx >= l {
  7991. return io.ErrUnexpectedEOF
  7992. }
  7993. b := dAtA[iNdEx]
  7994. iNdEx++
  7995. msglen |= (int(b) & 0x7F) << shift
  7996. if b < 0x80 {
  7997. break
  7998. }
  7999. }
  8000. if msglen < 0 {
  8001. return ErrInvalidLengthGenerated
  8002. }
  8003. postIndex := iNdEx + msglen
  8004. if postIndex > l {
  8005. return io.ErrUnexpectedEOF
  8006. }
  8007. if err := m.LoadBalancer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8008. return err
  8009. }
  8010. iNdEx = postIndex
  8011. default:
  8012. iNdEx = preIndex
  8013. skippy, err := skipGenerated(dAtA[iNdEx:])
  8014. if err != nil {
  8015. return err
  8016. }
  8017. if skippy < 0 {
  8018. return ErrInvalidLengthGenerated
  8019. }
  8020. if (iNdEx + skippy) > l {
  8021. return io.ErrUnexpectedEOF
  8022. }
  8023. iNdEx += skippy
  8024. }
  8025. }
  8026. if iNdEx > l {
  8027. return io.ErrUnexpectedEOF
  8028. }
  8029. return nil
  8030. }
  8031. func (m *IngressTLS) Unmarshal(dAtA []byte) error {
  8032. l := len(dAtA)
  8033. iNdEx := 0
  8034. for iNdEx < l {
  8035. preIndex := iNdEx
  8036. var wire uint64
  8037. for shift := uint(0); ; shift += 7 {
  8038. if shift >= 64 {
  8039. return ErrIntOverflowGenerated
  8040. }
  8041. if iNdEx >= l {
  8042. return io.ErrUnexpectedEOF
  8043. }
  8044. b := dAtA[iNdEx]
  8045. iNdEx++
  8046. wire |= (uint64(b) & 0x7F) << shift
  8047. if b < 0x80 {
  8048. break
  8049. }
  8050. }
  8051. fieldNum := int32(wire >> 3)
  8052. wireType := int(wire & 0x7)
  8053. if wireType == 4 {
  8054. return fmt.Errorf("proto: IngressTLS: wiretype end group for non-group")
  8055. }
  8056. if fieldNum <= 0 {
  8057. return fmt.Errorf("proto: IngressTLS: illegal tag %d (wire type %d)", fieldNum, wire)
  8058. }
  8059. switch fieldNum {
  8060. case 1:
  8061. if wireType != 2 {
  8062. return fmt.Errorf("proto: wrong wireType = %d for field Hosts", wireType)
  8063. }
  8064. var stringLen uint64
  8065. for shift := uint(0); ; shift += 7 {
  8066. if shift >= 64 {
  8067. return ErrIntOverflowGenerated
  8068. }
  8069. if iNdEx >= l {
  8070. return io.ErrUnexpectedEOF
  8071. }
  8072. b := dAtA[iNdEx]
  8073. iNdEx++
  8074. stringLen |= (uint64(b) & 0x7F) << shift
  8075. if b < 0x80 {
  8076. break
  8077. }
  8078. }
  8079. intStringLen := int(stringLen)
  8080. if intStringLen < 0 {
  8081. return ErrInvalidLengthGenerated
  8082. }
  8083. postIndex := iNdEx + intStringLen
  8084. if postIndex > l {
  8085. return io.ErrUnexpectedEOF
  8086. }
  8087. m.Hosts = append(m.Hosts, string(dAtA[iNdEx:postIndex]))
  8088. iNdEx = postIndex
  8089. case 2:
  8090. if wireType != 2 {
  8091. return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType)
  8092. }
  8093. var stringLen uint64
  8094. for shift := uint(0); ; shift += 7 {
  8095. if shift >= 64 {
  8096. return ErrIntOverflowGenerated
  8097. }
  8098. if iNdEx >= l {
  8099. return io.ErrUnexpectedEOF
  8100. }
  8101. b := dAtA[iNdEx]
  8102. iNdEx++
  8103. stringLen |= (uint64(b) & 0x7F) << shift
  8104. if b < 0x80 {
  8105. break
  8106. }
  8107. }
  8108. intStringLen := int(stringLen)
  8109. if intStringLen < 0 {
  8110. return ErrInvalidLengthGenerated
  8111. }
  8112. postIndex := iNdEx + intStringLen
  8113. if postIndex > l {
  8114. return io.ErrUnexpectedEOF
  8115. }
  8116. m.SecretName = string(dAtA[iNdEx:postIndex])
  8117. iNdEx = postIndex
  8118. default:
  8119. iNdEx = preIndex
  8120. skippy, err := skipGenerated(dAtA[iNdEx:])
  8121. if err != nil {
  8122. return err
  8123. }
  8124. if skippy < 0 {
  8125. return ErrInvalidLengthGenerated
  8126. }
  8127. if (iNdEx + skippy) > l {
  8128. return io.ErrUnexpectedEOF
  8129. }
  8130. iNdEx += skippy
  8131. }
  8132. }
  8133. if iNdEx > l {
  8134. return io.ErrUnexpectedEOF
  8135. }
  8136. return nil
  8137. }
  8138. func (m *NetworkPolicy) Unmarshal(dAtA []byte) error {
  8139. l := len(dAtA)
  8140. iNdEx := 0
  8141. for iNdEx < l {
  8142. preIndex := iNdEx
  8143. var wire uint64
  8144. for shift := uint(0); ; shift += 7 {
  8145. if shift >= 64 {
  8146. return ErrIntOverflowGenerated
  8147. }
  8148. if iNdEx >= l {
  8149. return io.ErrUnexpectedEOF
  8150. }
  8151. b := dAtA[iNdEx]
  8152. iNdEx++
  8153. wire |= (uint64(b) & 0x7F) << shift
  8154. if b < 0x80 {
  8155. break
  8156. }
  8157. }
  8158. fieldNum := int32(wire >> 3)
  8159. wireType := int(wire & 0x7)
  8160. if wireType == 4 {
  8161. return fmt.Errorf("proto: NetworkPolicy: wiretype end group for non-group")
  8162. }
  8163. if fieldNum <= 0 {
  8164. return fmt.Errorf("proto: NetworkPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
  8165. }
  8166. switch fieldNum {
  8167. case 1:
  8168. if wireType != 2 {
  8169. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  8170. }
  8171. var msglen int
  8172. for shift := uint(0); ; shift += 7 {
  8173. if shift >= 64 {
  8174. return ErrIntOverflowGenerated
  8175. }
  8176. if iNdEx >= l {
  8177. return io.ErrUnexpectedEOF
  8178. }
  8179. b := dAtA[iNdEx]
  8180. iNdEx++
  8181. msglen |= (int(b) & 0x7F) << shift
  8182. if b < 0x80 {
  8183. break
  8184. }
  8185. }
  8186. if msglen < 0 {
  8187. return ErrInvalidLengthGenerated
  8188. }
  8189. postIndex := iNdEx + msglen
  8190. if postIndex > l {
  8191. return io.ErrUnexpectedEOF
  8192. }
  8193. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8194. return err
  8195. }
  8196. iNdEx = postIndex
  8197. case 2:
  8198. if wireType != 2 {
  8199. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  8200. }
  8201. var msglen int
  8202. for shift := uint(0); ; shift += 7 {
  8203. if shift >= 64 {
  8204. return ErrIntOverflowGenerated
  8205. }
  8206. if iNdEx >= l {
  8207. return io.ErrUnexpectedEOF
  8208. }
  8209. b := dAtA[iNdEx]
  8210. iNdEx++
  8211. msglen |= (int(b) & 0x7F) << shift
  8212. if b < 0x80 {
  8213. break
  8214. }
  8215. }
  8216. if msglen < 0 {
  8217. return ErrInvalidLengthGenerated
  8218. }
  8219. postIndex := iNdEx + msglen
  8220. if postIndex > l {
  8221. return io.ErrUnexpectedEOF
  8222. }
  8223. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8224. return err
  8225. }
  8226. iNdEx = postIndex
  8227. default:
  8228. iNdEx = preIndex
  8229. skippy, err := skipGenerated(dAtA[iNdEx:])
  8230. if err != nil {
  8231. return err
  8232. }
  8233. if skippy < 0 {
  8234. return ErrInvalidLengthGenerated
  8235. }
  8236. if (iNdEx + skippy) > l {
  8237. return io.ErrUnexpectedEOF
  8238. }
  8239. iNdEx += skippy
  8240. }
  8241. }
  8242. if iNdEx > l {
  8243. return io.ErrUnexpectedEOF
  8244. }
  8245. return nil
  8246. }
  8247. func (m *NetworkPolicyEgressRule) Unmarshal(dAtA []byte) error {
  8248. l := len(dAtA)
  8249. iNdEx := 0
  8250. for iNdEx < l {
  8251. preIndex := iNdEx
  8252. var wire uint64
  8253. for shift := uint(0); ; shift += 7 {
  8254. if shift >= 64 {
  8255. return ErrIntOverflowGenerated
  8256. }
  8257. if iNdEx >= l {
  8258. return io.ErrUnexpectedEOF
  8259. }
  8260. b := dAtA[iNdEx]
  8261. iNdEx++
  8262. wire |= (uint64(b) & 0x7F) << shift
  8263. if b < 0x80 {
  8264. break
  8265. }
  8266. }
  8267. fieldNum := int32(wire >> 3)
  8268. wireType := int(wire & 0x7)
  8269. if wireType == 4 {
  8270. return fmt.Errorf("proto: NetworkPolicyEgressRule: wiretype end group for non-group")
  8271. }
  8272. if fieldNum <= 0 {
  8273. return fmt.Errorf("proto: NetworkPolicyEgressRule: illegal tag %d (wire type %d)", fieldNum, wire)
  8274. }
  8275. switch fieldNum {
  8276. case 1:
  8277. if wireType != 2 {
  8278. return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
  8279. }
  8280. var msglen int
  8281. for shift := uint(0); ; shift += 7 {
  8282. if shift >= 64 {
  8283. return ErrIntOverflowGenerated
  8284. }
  8285. if iNdEx >= l {
  8286. return io.ErrUnexpectedEOF
  8287. }
  8288. b := dAtA[iNdEx]
  8289. iNdEx++
  8290. msglen |= (int(b) & 0x7F) << shift
  8291. if b < 0x80 {
  8292. break
  8293. }
  8294. }
  8295. if msglen < 0 {
  8296. return ErrInvalidLengthGenerated
  8297. }
  8298. postIndex := iNdEx + msglen
  8299. if postIndex > l {
  8300. return io.ErrUnexpectedEOF
  8301. }
  8302. m.Ports = append(m.Ports, NetworkPolicyPort{})
  8303. if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8304. return err
  8305. }
  8306. iNdEx = postIndex
  8307. case 2:
  8308. if wireType != 2 {
  8309. return fmt.Errorf("proto: wrong wireType = %d for field To", wireType)
  8310. }
  8311. var msglen int
  8312. for shift := uint(0); ; shift += 7 {
  8313. if shift >= 64 {
  8314. return ErrIntOverflowGenerated
  8315. }
  8316. if iNdEx >= l {
  8317. return io.ErrUnexpectedEOF
  8318. }
  8319. b := dAtA[iNdEx]
  8320. iNdEx++
  8321. msglen |= (int(b) & 0x7F) << shift
  8322. if b < 0x80 {
  8323. break
  8324. }
  8325. }
  8326. if msglen < 0 {
  8327. return ErrInvalidLengthGenerated
  8328. }
  8329. postIndex := iNdEx + msglen
  8330. if postIndex > l {
  8331. return io.ErrUnexpectedEOF
  8332. }
  8333. m.To = append(m.To, NetworkPolicyPeer{})
  8334. if err := m.To[len(m.To)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8335. return err
  8336. }
  8337. iNdEx = postIndex
  8338. default:
  8339. iNdEx = preIndex
  8340. skippy, err := skipGenerated(dAtA[iNdEx:])
  8341. if err != nil {
  8342. return err
  8343. }
  8344. if skippy < 0 {
  8345. return ErrInvalidLengthGenerated
  8346. }
  8347. if (iNdEx + skippy) > l {
  8348. return io.ErrUnexpectedEOF
  8349. }
  8350. iNdEx += skippy
  8351. }
  8352. }
  8353. if iNdEx > l {
  8354. return io.ErrUnexpectedEOF
  8355. }
  8356. return nil
  8357. }
  8358. func (m *NetworkPolicyIngressRule) Unmarshal(dAtA []byte) error {
  8359. l := len(dAtA)
  8360. iNdEx := 0
  8361. for iNdEx < l {
  8362. preIndex := iNdEx
  8363. var wire uint64
  8364. for shift := uint(0); ; shift += 7 {
  8365. if shift >= 64 {
  8366. return ErrIntOverflowGenerated
  8367. }
  8368. if iNdEx >= l {
  8369. return io.ErrUnexpectedEOF
  8370. }
  8371. b := dAtA[iNdEx]
  8372. iNdEx++
  8373. wire |= (uint64(b) & 0x7F) << shift
  8374. if b < 0x80 {
  8375. break
  8376. }
  8377. }
  8378. fieldNum := int32(wire >> 3)
  8379. wireType := int(wire & 0x7)
  8380. if wireType == 4 {
  8381. return fmt.Errorf("proto: NetworkPolicyIngressRule: wiretype end group for non-group")
  8382. }
  8383. if fieldNum <= 0 {
  8384. return fmt.Errorf("proto: NetworkPolicyIngressRule: illegal tag %d (wire type %d)", fieldNum, wire)
  8385. }
  8386. switch fieldNum {
  8387. case 1:
  8388. if wireType != 2 {
  8389. return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
  8390. }
  8391. var msglen int
  8392. for shift := uint(0); ; shift += 7 {
  8393. if shift >= 64 {
  8394. return ErrIntOverflowGenerated
  8395. }
  8396. if iNdEx >= l {
  8397. return io.ErrUnexpectedEOF
  8398. }
  8399. b := dAtA[iNdEx]
  8400. iNdEx++
  8401. msglen |= (int(b) & 0x7F) << shift
  8402. if b < 0x80 {
  8403. break
  8404. }
  8405. }
  8406. if msglen < 0 {
  8407. return ErrInvalidLengthGenerated
  8408. }
  8409. postIndex := iNdEx + msglen
  8410. if postIndex > l {
  8411. return io.ErrUnexpectedEOF
  8412. }
  8413. m.Ports = append(m.Ports, NetworkPolicyPort{})
  8414. if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8415. return err
  8416. }
  8417. iNdEx = postIndex
  8418. case 2:
  8419. if wireType != 2 {
  8420. return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
  8421. }
  8422. var msglen int
  8423. for shift := uint(0); ; shift += 7 {
  8424. if shift >= 64 {
  8425. return ErrIntOverflowGenerated
  8426. }
  8427. if iNdEx >= l {
  8428. return io.ErrUnexpectedEOF
  8429. }
  8430. b := dAtA[iNdEx]
  8431. iNdEx++
  8432. msglen |= (int(b) & 0x7F) << shift
  8433. if b < 0x80 {
  8434. break
  8435. }
  8436. }
  8437. if msglen < 0 {
  8438. return ErrInvalidLengthGenerated
  8439. }
  8440. postIndex := iNdEx + msglen
  8441. if postIndex > l {
  8442. return io.ErrUnexpectedEOF
  8443. }
  8444. m.From = append(m.From, NetworkPolicyPeer{})
  8445. if err := m.From[len(m.From)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8446. return err
  8447. }
  8448. iNdEx = postIndex
  8449. default:
  8450. iNdEx = preIndex
  8451. skippy, err := skipGenerated(dAtA[iNdEx:])
  8452. if err != nil {
  8453. return err
  8454. }
  8455. if skippy < 0 {
  8456. return ErrInvalidLengthGenerated
  8457. }
  8458. if (iNdEx + skippy) > l {
  8459. return io.ErrUnexpectedEOF
  8460. }
  8461. iNdEx += skippy
  8462. }
  8463. }
  8464. if iNdEx > l {
  8465. return io.ErrUnexpectedEOF
  8466. }
  8467. return nil
  8468. }
  8469. func (m *NetworkPolicyList) Unmarshal(dAtA []byte) error {
  8470. l := len(dAtA)
  8471. iNdEx := 0
  8472. for iNdEx < l {
  8473. preIndex := iNdEx
  8474. var wire uint64
  8475. for shift := uint(0); ; shift += 7 {
  8476. if shift >= 64 {
  8477. return ErrIntOverflowGenerated
  8478. }
  8479. if iNdEx >= l {
  8480. return io.ErrUnexpectedEOF
  8481. }
  8482. b := dAtA[iNdEx]
  8483. iNdEx++
  8484. wire |= (uint64(b) & 0x7F) << shift
  8485. if b < 0x80 {
  8486. break
  8487. }
  8488. }
  8489. fieldNum := int32(wire >> 3)
  8490. wireType := int(wire & 0x7)
  8491. if wireType == 4 {
  8492. return fmt.Errorf("proto: NetworkPolicyList: wiretype end group for non-group")
  8493. }
  8494. if fieldNum <= 0 {
  8495. return fmt.Errorf("proto: NetworkPolicyList: illegal tag %d (wire type %d)", fieldNum, wire)
  8496. }
  8497. switch fieldNum {
  8498. case 1:
  8499. if wireType != 2 {
  8500. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  8501. }
  8502. var msglen int
  8503. for shift := uint(0); ; shift += 7 {
  8504. if shift >= 64 {
  8505. return ErrIntOverflowGenerated
  8506. }
  8507. if iNdEx >= l {
  8508. return io.ErrUnexpectedEOF
  8509. }
  8510. b := dAtA[iNdEx]
  8511. iNdEx++
  8512. msglen |= (int(b) & 0x7F) << shift
  8513. if b < 0x80 {
  8514. break
  8515. }
  8516. }
  8517. if msglen < 0 {
  8518. return ErrInvalidLengthGenerated
  8519. }
  8520. postIndex := iNdEx + msglen
  8521. if postIndex > l {
  8522. return io.ErrUnexpectedEOF
  8523. }
  8524. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8525. return err
  8526. }
  8527. iNdEx = postIndex
  8528. case 2:
  8529. if wireType != 2 {
  8530. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  8531. }
  8532. var msglen int
  8533. for shift := uint(0); ; shift += 7 {
  8534. if shift >= 64 {
  8535. return ErrIntOverflowGenerated
  8536. }
  8537. if iNdEx >= l {
  8538. return io.ErrUnexpectedEOF
  8539. }
  8540. b := dAtA[iNdEx]
  8541. iNdEx++
  8542. msglen |= (int(b) & 0x7F) << shift
  8543. if b < 0x80 {
  8544. break
  8545. }
  8546. }
  8547. if msglen < 0 {
  8548. return ErrInvalidLengthGenerated
  8549. }
  8550. postIndex := iNdEx + msglen
  8551. if postIndex > l {
  8552. return io.ErrUnexpectedEOF
  8553. }
  8554. m.Items = append(m.Items, NetworkPolicy{})
  8555. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8556. return err
  8557. }
  8558. iNdEx = postIndex
  8559. default:
  8560. iNdEx = preIndex
  8561. skippy, err := skipGenerated(dAtA[iNdEx:])
  8562. if err != nil {
  8563. return err
  8564. }
  8565. if skippy < 0 {
  8566. return ErrInvalidLengthGenerated
  8567. }
  8568. if (iNdEx + skippy) > l {
  8569. return io.ErrUnexpectedEOF
  8570. }
  8571. iNdEx += skippy
  8572. }
  8573. }
  8574. if iNdEx > l {
  8575. return io.ErrUnexpectedEOF
  8576. }
  8577. return nil
  8578. }
  8579. func (m *NetworkPolicyPeer) Unmarshal(dAtA []byte) error {
  8580. l := len(dAtA)
  8581. iNdEx := 0
  8582. for iNdEx < l {
  8583. preIndex := iNdEx
  8584. var wire uint64
  8585. for shift := uint(0); ; shift += 7 {
  8586. if shift >= 64 {
  8587. return ErrIntOverflowGenerated
  8588. }
  8589. if iNdEx >= l {
  8590. return io.ErrUnexpectedEOF
  8591. }
  8592. b := dAtA[iNdEx]
  8593. iNdEx++
  8594. wire |= (uint64(b) & 0x7F) << shift
  8595. if b < 0x80 {
  8596. break
  8597. }
  8598. }
  8599. fieldNum := int32(wire >> 3)
  8600. wireType := int(wire & 0x7)
  8601. if wireType == 4 {
  8602. return fmt.Errorf("proto: NetworkPolicyPeer: wiretype end group for non-group")
  8603. }
  8604. if fieldNum <= 0 {
  8605. return fmt.Errorf("proto: NetworkPolicyPeer: illegal tag %d (wire type %d)", fieldNum, wire)
  8606. }
  8607. switch fieldNum {
  8608. case 1:
  8609. if wireType != 2 {
  8610. return fmt.Errorf("proto: wrong wireType = %d for field PodSelector", wireType)
  8611. }
  8612. var msglen int
  8613. for shift := uint(0); ; shift += 7 {
  8614. if shift >= 64 {
  8615. return ErrIntOverflowGenerated
  8616. }
  8617. if iNdEx >= l {
  8618. return io.ErrUnexpectedEOF
  8619. }
  8620. b := dAtA[iNdEx]
  8621. iNdEx++
  8622. msglen |= (int(b) & 0x7F) << shift
  8623. if b < 0x80 {
  8624. break
  8625. }
  8626. }
  8627. if msglen < 0 {
  8628. return ErrInvalidLengthGenerated
  8629. }
  8630. postIndex := iNdEx + msglen
  8631. if postIndex > l {
  8632. return io.ErrUnexpectedEOF
  8633. }
  8634. if m.PodSelector == nil {
  8635. m.PodSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  8636. }
  8637. if err := m.PodSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8638. return err
  8639. }
  8640. iNdEx = postIndex
  8641. case 2:
  8642. if wireType != 2 {
  8643. return fmt.Errorf("proto: wrong wireType = %d for field NamespaceSelector", wireType)
  8644. }
  8645. var msglen int
  8646. for shift := uint(0); ; shift += 7 {
  8647. if shift >= 64 {
  8648. return ErrIntOverflowGenerated
  8649. }
  8650. if iNdEx >= l {
  8651. return io.ErrUnexpectedEOF
  8652. }
  8653. b := dAtA[iNdEx]
  8654. iNdEx++
  8655. msglen |= (int(b) & 0x7F) << shift
  8656. if b < 0x80 {
  8657. break
  8658. }
  8659. }
  8660. if msglen < 0 {
  8661. return ErrInvalidLengthGenerated
  8662. }
  8663. postIndex := iNdEx + msglen
  8664. if postIndex > l {
  8665. return io.ErrUnexpectedEOF
  8666. }
  8667. if m.NamespaceSelector == nil {
  8668. m.NamespaceSelector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  8669. }
  8670. if err := m.NamespaceSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8671. return err
  8672. }
  8673. iNdEx = postIndex
  8674. case 3:
  8675. if wireType != 2 {
  8676. return fmt.Errorf("proto: wrong wireType = %d for field IPBlock", wireType)
  8677. }
  8678. var msglen int
  8679. for shift := uint(0); ; shift += 7 {
  8680. if shift >= 64 {
  8681. return ErrIntOverflowGenerated
  8682. }
  8683. if iNdEx >= l {
  8684. return io.ErrUnexpectedEOF
  8685. }
  8686. b := dAtA[iNdEx]
  8687. iNdEx++
  8688. msglen |= (int(b) & 0x7F) << shift
  8689. if b < 0x80 {
  8690. break
  8691. }
  8692. }
  8693. if msglen < 0 {
  8694. return ErrInvalidLengthGenerated
  8695. }
  8696. postIndex := iNdEx + msglen
  8697. if postIndex > l {
  8698. return io.ErrUnexpectedEOF
  8699. }
  8700. if m.IPBlock == nil {
  8701. m.IPBlock = &IPBlock{}
  8702. }
  8703. if err := m.IPBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8704. return err
  8705. }
  8706. iNdEx = postIndex
  8707. default:
  8708. iNdEx = preIndex
  8709. skippy, err := skipGenerated(dAtA[iNdEx:])
  8710. if err != nil {
  8711. return err
  8712. }
  8713. if skippy < 0 {
  8714. return ErrInvalidLengthGenerated
  8715. }
  8716. if (iNdEx + skippy) > l {
  8717. return io.ErrUnexpectedEOF
  8718. }
  8719. iNdEx += skippy
  8720. }
  8721. }
  8722. if iNdEx > l {
  8723. return io.ErrUnexpectedEOF
  8724. }
  8725. return nil
  8726. }
  8727. func (m *NetworkPolicyPort) Unmarshal(dAtA []byte) error {
  8728. l := len(dAtA)
  8729. iNdEx := 0
  8730. for iNdEx < l {
  8731. preIndex := iNdEx
  8732. var wire uint64
  8733. for shift := uint(0); ; shift += 7 {
  8734. if shift >= 64 {
  8735. return ErrIntOverflowGenerated
  8736. }
  8737. if iNdEx >= l {
  8738. return io.ErrUnexpectedEOF
  8739. }
  8740. b := dAtA[iNdEx]
  8741. iNdEx++
  8742. wire |= (uint64(b) & 0x7F) << shift
  8743. if b < 0x80 {
  8744. break
  8745. }
  8746. }
  8747. fieldNum := int32(wire >> 3)
  8748. wireType := int(wire & 0x7)
  8749. if wireType == 4 {
  8750. return fmt.Errorf("proto: NetworkPolicyPort: wiretype end group for non-group")
  8751. }
  8752. if fieldNum <= 0 {
  8753. return fmt.Errorf("proto: NetworkPolicyPort: illegal tag %d (wire type %d)", fieldNum, wire)
  8754. }
  8755. switch fieldNum {
  8756. case 1:
  8757. if wireType != 2 {
  8758. return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
  8759. }
  8760. var stringLen uint64
  8761. for shift := uint(0); ; shift += 7 {
  8762. if shift >= 64 {
  8763. return ErrIntOverflowGenerated
  8764. }
  8765. if iNdEx >= l {
  8766. return io.ErrUnexpectedEOF
  8767. }
  8768. b := dAtA[iNdEx]
  8769. iNdEx++
  8770. stringLen |= (uint64(b) & 0x7F) << shift
  8771. if b < 0x80 {
  8772. break
  8773. }
  8774. }
  8775. intStringLen := int(stringLen)
  8776. if intStringLen < 0 {
  8777. return ErrInvalidLengthGenerated
  8778. }
  8779. postIndex := iNdEx + intStringLen
  8780. if postIndex > l {
  8781. return io.ErrUnexpectedEOF
  8782. }
  8783. s := k8s_io_api_core_v1.Protocol(dAtA[iNdEx:postIndex])
  8784. m.Protocol = &s
  8785. iNdEx = postIndex
  8786. case 2:
  8787. if wireType != 2 {
  8788. return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
  8789. }
  8790. var msglen int
  8791. for shift := uint(0); ; shift += 7 {
  8792. if shift >= 64 {
  8793. return ErrIntOverflowGenerated
  8794. }
  8795. if iNdEx >= l {
  8796. return io.ErrUnexpectedEOF
  8797. }
  8798. b := dAtA[iNdEx]
  8799. iNdEx++
  8800. msglen |= (int(b) & 0x7F) << shift
  8801. if b < 0x80 {
  8802. break
  8803. }
  8804. }
  8805. if msglen < 0 {
  8806. return ErrInvalidLengthGenerated
  8807. }
  8808. postIndex := iNdEx + msglen
  8809. if postIndex > l {
  8810. return io.ErrUnexpectedEOF
  8811. }
  8812. if m.Port == nil {
  8813. m.Port = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
  8814. }
  8815. if err := m.Port.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8816. return err
  8817. }
  8818. iNdEx = postIndex
  8819. default:
  8820. iNdEx = preIndex
  8821. skippy, err := skipGenerated(dAtA[iNdEx:])
  8822. if err != nil {
  8823. return err
  8824. }
  8825. if skippy < 0 {
  8826. return ErrInvalidLengthGenerated
  8827. }
  8828. if (iNdEx + skippy) > l {
  8829. return io.ErrUnexpectedEOF
  8830. }
  8831. iNdEx += skippy
  8832. }
  8833. }
  8834. if iNdEx > l {
  8835. return io.ErrUnexpectedEOF
  8836. }
  8837. return nil
  8838. }
  8839. func (m *NetworkPolicySpec) Unmarshal(dAtA []byte) error {
  8840. l := len(dAtA)
  8841. iNdEx := 0
  8842. for iNdEx < l {
  8843. preIndex := iNdEx
  8844. var wire uint64
  8845. for shift := uint(0); ; shift += 7 {
  8846. if shift >= 64 {
  8847. return ErrIntOverflowGenerated
  8848. }
  8849. if iNdEx >= l {
  8850. return io.ErrUnexpectedEOF
  8851. }
  8852. b := dAtA[iNdEx]
  8853. iNdEx++
  8854. wire |= (uint64(b) & 0x7F) << shift
  8855. if b < 0x80 {
  8856. break
  8857. }
  8858. }
  8859. fieldNum := int32(wire >> 3)
  8860. wireType := int(wire & 0x7)
  8861. if wireType == 4 {
  8862. return fmt.Errorf("proto: NetworkPolicySpec: wiretype end group for non-group")
  8863. }
  8864. if fieldNum <= 0 {
  8865. return fmt.Errorf("proto: NetworkPolicySpec: illegal tag %d (wire type %d)", fieldNum, wire)
  8866. }
  8867. switch fieldNum {
  8868. case 1:
  8869. if wireType != 2 {
  8870. return fmt.Errorf("proto: wrong wireType = %d for field PodSelector", wireType)
  8871. }
  8872. var msglen int
  8873. for shift := uint(0); ; shift += 7 {
  8874. if shift >= 64 {
  8875. return ErrIntOverflowGenerated
  8876. }
  8877. if iNdEx >= l {
  8878. return io.ErrUnexpectedEOF
  8879. }
  8880. b := dAtA[iNdEx]
  8881. iNdEx++
  8882. msglen |= (int(b) & 0x7F) << shift
  8883. if b < 0x80 {
  8884. break
  8885. }
  8886. }
  8887. if msglen < 0 {
  8888. return ErrInvalidLengthGenerated
  8889. }
  8890. postIndex := iNdEx + msglen
  8891. if postIndex > l {
  8892. return io.ErrUnexpectedEOF
  8893. }
  8894. if err := m.PodSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8895. return err
  8896. }
  8897. iNdEx = postIndex
  8898. case 2:
  8899. if wireType != 2 {
  8900. return fmt.Errorf("proto: wrong wireType = %d for field Ingress", wireType)
  8901. }
  8902. var msglen int
  8903. for shift := uint(0); ; shift += 7 {
  8904. if shift >= 64 {
  8905. return ErrIntOverflowGenerated
  8906. }
  8907. if iNdEx >= l {
  8908. return io.ErrUnexpectedEOF
  8909. }
  8910. b := dAtA[iNdEx]
  8911. iNdEx++
  8912. msglen |= (int(b) & 0x7F) << shift
  8913. if b < 0x80 {
  8914. break
  8915. }
  8916. }
  8917. if msglen < 0 {
  8918. return ErrInvalidLengthGenerated
  8919. }
  8920. postIndex := iNdEx + msglen
  8921. if postIndex > l {
  8922. return io.ErrUnexpectedEOF
  8923. }
  8924. m.Ingress = append(m.Ingress, NetworkPolicyIngressRule{})
  8925. if err := m.Ingress[len(m.Ingress)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8926. return err
  8927. }
  8928. iNdEx = postIndex
  8929. case 3:
  8930. if wireType != 2 {
  8931. return fmt.Errorf("proto: wrong wireType = %d for field Egress", wireType)
  8932. }
  8933. var msglen int
  8934. for shift := uint(0); ; shift += 7 {
  8935. if shift >= 64 {
  8936. return ErrIntOverflowGenerated
  8937. }
  8938. if iNdEx >= l {
  8939. return io.ErrUnexpectedEOF
  8940. }
  8941. b := dAtA[iNdEx]
  8942. iNdEx++
  8943. msglen |= (int(b) & 0x7F) << shift
  8944. if b < 0x80 {
  8945. break
  8946. }
  8947. }
  8948. if msglen < 0 {
  8949. return ErrInvalidLengthGenerated
  8950. }
  8951. postIndex := iNdEx + msglen
  8952. if postIndex > l {
  8953. return io.ErrUnexpectedEOF
  8954. }
  8955. m.Egress = append(m.Egress, NetworkPolicyEgressRule{})
  8956. if err := m.Egress[len(m.Egress)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8957. return err
  8958. }
  8959. iNdEx = postIndex
  8960. case 4:
  8961. if wireType != 2 {
  8962. return fmt.Errorf("proto: wrong wireType = %d for field PolicyTypes", wireType)
  8963. }
  8964. var stringLen uint64
  8965. for shift := uint(0); ; shift += 7 {
  8966. if shift >= 64 {
  8967. return ErrIntOverflowGenerated
  8968. }
  8969. if iNdEx >= l {
  8970. return io.ErrUnexpectedEOF
  8971. }
  8972. b := dAtA[iNdEx]
  8973. iNdEx++
  8974. stringLen |= (uint64(b) & 0x7F) << shift
  8975. if b < 0x80 {
  8976. break
  8977. }
  8978. }
  8979. intStringLen := int(stringLen)
  8980. if intStringLen < 0 {
  8981. return ErrInvalidLengthGenerated
  8982. }
  8983. postIndex := iNdEx + intStringLen
  8984. if postIndex > l {
  8985. return io.ErrUnexpectedEOF
  8986. }
  8987. m.PolicyTypes = append(m.PolicyTypes, PolicyType(dAtA[iNdEx:postIndex]))
  8988. iNdEx = postIndex
  8989. default:
  8990. iNdEx = preIndex
  8991. skippy, err := skipGenerated(dAtA[iNdEx:])
  8992. if err != nil {
  8993. return err
  8994. }
  8995. if skippy < 0 {
  8996. return ErrInvalidLengthGenerated
  8997. }
  8998. if (iNdEx + skippy) > l {
  8999. return io.ErrUnexpectedEOF
  9000. }
  9001. iNdEx += skippy
  9002. }
  9003. }
  9004. if iNdEx > l {
  9005. return io.ErrUnexpectedEOF
  9006. }
  9007. return nil
  9008. }
  9009. func (m *PodSecurityPolicy) Unmarshal(dAtA []byte) error {
  9010. l := len(dAtA)
  9011. iNdEx := 0
  9012. for iNdEx < l {
  9013. preIndex := iNdEx
  9014. var wire uint64
  9015. for shift := uint(0); ; shift += 7 {
  9016. if shift >= 64 {
  9017. return ErrIntOverflowGenerated
  9018. }
  9019. if iNdEx >= l {
  9020. return io.ErrUnexpectedEOF
  9021. }
  9022. b := dAtA[iNdEx]
  9023. iNdEx++
  9024. wire |= (uint64(b) & 0x7F) << shift
  9025. if b < 0x80 {
  9026. break
  9027. }
  9028. }
  9029. fieldNum := int32(wire >> 3)
  9030. wireType := int(wire & 0x7)
  9031. if wireType == 4 {
  9032. return fmt.Errorf("proto: PodSecurityPolicy: wiretype end group for non-group")
  9033. }
  9034. if fieldNum <= 0 {
  9035. return fmt.Errorf("proto: PodSecurityPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
  9036. }
  9037. switch fieldNum {
  9038. case 1:
  9039. if wireType != 2 {
  9040. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  9041. }
  9042. var msglen int
  9043. for shift := uint(0); ; shift += 7 {
  9044. if shift >= 64 {
  9045. return ErrIntOverflowGenerated
  9046. }
  9047. if iNdEx >= l {
  9048. return io.ErrUnexpectedEOF
  9049. }
  9050. b := dAtA[iNdEx]
  9051. iNdEx++
  9052. msglen |= (int(b) & 0x7F) << shift
  9053. if b < 0x80 {
  9054. break
  9055. }
  9056. }
  9057. if msglen < 0 {
  9058. return ErrInvalidLengthGenerated
  9059. }
  9060. postIndex := iNdEx + msglen
  9061. if postIndex > l {
  9062. return io.ErrUnexpectedEOF
  9063. }
  9064. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9065. return err
  9066. }
  9067. iNdEx = postIndex
  9068. case 2:
  9069. if wireType != 2 {
  9070. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  9071. }
  9072. var msglen int
  9073. for shift := uint(0); ; shift += 7 {
  9074. if shift >= 64 {
  9075. return ErrIntOverflowGenerated
  9076. }
  9077. if iNdEx >= l {
  9078. return io.ErrUnexpectedEOF
  9079. }
  9080. b := dAtA[iNdEx]
  9081. iNdEx++
  9082. msglen |= (int(b) & 0x7F) << shift
  9083. if b < 0x80 {
  9084. break
  9085. }
  9086. }
  9087. if msglen < 0 {
  9088. return ErrInvalidLengthGenerated
  9089. }
  9090. postIndex := iNdEx + msglen
  9091. if postIndex > l {
  9092. return io.ErrUnexpectedEOF
  9093. }
  9094. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9095. return err
  9096. }
  9097. iNdEx = postIndex
  9098. default:
  9099. iNdEx = preIndex
  9100. skippy, err := skipGenerated(dAtA[iNdEx:])
  9101. if err != nil {
  9102. return err
  9103. }
  9104. if skippy < 0 {
  9105. return ErrInvalidLengthGenerated
  9106. }
  9107. if (iNdEx + skippy) > l {
  9108. return io.ErrUnexpectedEOF
  9109. }
  9110. iNdEx += skippy
  9111. }
  9112. }
  9113. if iNdEx > l {
  9114. return io.ErrUnexpectedEOF
  9115. }
  9116. return nil
  9117. }
  9118. func (m *PodSecurityPolicyList) Unmarshal(dAtA []byte) error {
  9119. l := len(dAtA)
  9120. iNdEx := 0
  9121. for iNdEx < l {
  9122. preIndex := iNdEx
  9123. var wire uint64
  9124. for shift := uint(0); ; shift += 7 {
  9125. if shift >= 64 {
  9126. return ErrIntOverflowGenerated
  9127. }
  9128. if iNdEx >= l {
  9129. return io.ErrUnexpectedEOF
  9130. }
  9131. b := dAtA[iNdEx]
  9132. iNdEx++
  9133. wire |= (uint64(b) & 0x7F) << shift
  9134. if b < 0x80 {
  9135. break
  9136. }
  9137. }
  9138. fieldNum := int32(wire >> 3)
  9139. wireType := int(wire & 0x7)
  9140. if wireType == 4 {
  9141. return fmt.Errorf("proto: PodSecurityPolicyList: wiretype end group for non-group")
  9142. }
  9143. if fieldNum <= 0 {
  9144. return fmt.Errorf("proto: PodSecurityPolicyList: illegal tag %d (wire type %d)", fieldNum, wire)
  9145. }
  9146. switch fieldNum {
  9147. case 1:
  9148. if wireType != 2 {
  9149. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  9150. }
  9151. var msglen int
  9152. for shift := uint(0); ; shift += 7 {
  9153. if shift >= 64 {
  9154. return ErrIntOverflowGenerated
  9155. }
  9156. if iNdEx >= l {
  9157. return io.ErrUnexpectedEOF
  9158. }
  9159. b := dAtA[iNdEx]
  9160. iNdEx++
  9161. msglen |= (int(b) & 0x7F) << shift
  9162. if b < 0x80 {
  9163. break
  9164. }
  9165. }
  9166. if msglen < 0 {
  9167. return ErrInvalidLengthGenerated
  9168. }
  9169. postIndex := iNdEx + msglen
  9170. if postIndex > l {
  9171. return io.ErrUnexpectedEOF
  9172. }
  9173. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9174. return err
  9175. }
  9176. iNdEx = postIndex
  9177. case 2:
  9178. if wireType != 2 {
  9179. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  9180. }
  9181. var msglen int
  9182. for shift := uint(0); ; shift += 7 {
  9183. if shift >= 64 {
  9184. return ErrIntOverflowGenerated
  9185. }
  9186. if iNdEx >= l {
  9187. return io.ErrUnexpectedEOF
  9188. }
  9189. b := dAtA[iNdEx]
  9190. iNdEx++
  9191. msglen |= (int(b) & 0x7F) << shift
  9192. if b < 0x80 {
  9193. break
  9194. }
  9195. }
  9196. if msglen < 0 {
  9197. return ErrInvalidLengthGenerated
  9198. }
  9199. postIndex := iNdEx + msglen
  9200. if postIndex > l {
  9201. return io.ErrUnexpectedEOF
  9202. }
  9203. m.Items = append(m.Items, PodSecurityPolicy{})
  9204. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9205. return err
  9206. }
  9207. iNdEx = postIndex
  9208. default:
  9209. iNdEx = preIndex
  9210. skippy, err := skipGenerated(dAtA[iNdEx:])
  9211. if err != nil {
  9212. return err
  9213. }
  9214. if skippy < 0 {
  9215. return ErrInvalidLengthGenerated
  9216. }
  9217. if (iNdEx + skippy) > l {
  9218. return io.ErrUnexpectedEOF
  9219. }
  9220. iNdEx += skippy
  9221. }
  9222. }
  9223. if iNdEx > l {
  9224. return io.ErrUnexpectedEOF
  9225. }
  9226. return nil
  9227. }
  9228. func (m *PodSecurityPolicySpec) Unmarshal(dAtA []byte) error {
  9229. l := len(dAtA)
  9230. iNdEx := 0
  9231. for iNdEx < l {
  9232. preIndex := iNdEx
  9233. var wire uint64
  9234. for shift := uint(0); ; shift += 7 {
  9235. if shift >= 64 {
  9236. return ErrIntOverflowGenerated
  9237. }
  9238. if iNdEx >= l {
  9239. return io.ErrUnexpectedEOF
  9240. }
  9241. b := dAtA[iNdEx]
  9242. iNdEx++
  9243. wire |= (uint64(b) & 0x7F) << shift
  9244. if b < 0x80 {
  9245. break
  9246. }
  9247. }
  9248. fieldNum := int32(wire >> 3)
  9249. wireType := int(wire & 0x7)
  9250. if wireType == 4 {
  9251. return fmt.Errorf("proto: PodSecurityPolicySpec: wiretype end group for non-group")
  9252. }
  9253. if fieldNum <= 0 {
  9254. return fmt.Errorf("proto: PodSecurityPolicySpec: illegal tag %d (wire type %d)", fieldNum, wire)
  9255. }
  9256. switch fieldNum {
  9257. case 1:
  9258. if wireType != 0 {
  9259. return fmt.Errorf("proto: wrong wireType = %d for field Privileged", wireType)
  9260. }
  9261. var v int
  9262. for shift := uint(0); ; shift += 7 {
  9263. if shift >= 64 {
  9264. return ErrIntOverflowGenerated
  9265. }
  9266. if iNdEx >= l {
  9267. return io.ErrUnexpectedEOF
  9268. }
  9269. b := dAtA[iNdEx]
  9270. iNdEx++
  9271. v |= (int(b) & 0x7F) << shift
  9272. if b < 0x80 {
  9273. break
  9274. }
  9275. }
  9276. m.Privileged = bool(v != 0)
  9277. case 2:
  9278. if wireType != 2 {
  9279. return fmt.Errorf("proto: wrong wireType = %d for field DefaultAddCapabilities", wireType)
  9280. }
  9281. var stringLen uint64
  9282. for shift := uint(0); ; shift += 7 {
  9283. if shift >= 64 {
  9284. return ErrIntOverflowGenerated
  9285. }
  9286. if iNdEx >= l {
  9287. return io.ErrUnexpectedEOF
  9288. }
  9289. b := dAtA[iNdEx]
  9290. iNdEx++
  9291. stringLen |= (uint64(b) & 0x7F) << shift
  9292. if b < 0x80 {
  9293. break
  9294. }
  9295. }
  9296. intStringLen := int(stringLen)
  9297. if intStringLen < 0 {
  9298. return ErrInvalidLengthGenerated
  9299. }
  9300. postIndex := iNdEx + intStringLen
  9301. if postIndex > l {
  9302. return io.ErrUnexpectedEOF
  9303. }
  9304. m.DefaultAddCapabilities = append(m.DefaultAddCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex]))
  9305. iNdEx = postIndex
  9306. case 3:
  9307. if wireType != 2 {
  9308. return fmt.Errorf("proto: wrong wireType = %d for field RequiredDropCapabilities", wireType)
  9309. }
  9310. var stringLen uint64
  9311. for shift := uint(0); ; shift += 7 {
  9312. if shift >= 64 {
  9313. return ErrIntOverflowGenerated
  9314. }
  9315. if iNdEx >= l {
  9316. return io.ErrUnexpectedEOF
  9317. }
  9318. b := dAtA[iNdEx]
  9319. iNdEx++
  9320. stringLen |= (uint64(b) & 0x7F) << shift
  9321. if b < 0x80 {
  9322. break
  9323. }
  9324. }
  9325. intStringLen := int(stringLen)
  9326. if intStringLen < 0 {
  9327. return ErrInvalidLengthGenerated
  9328. }
  9329. postIndex := iNdEx + intStringLen
  9330. if postIndex > l {
  9331. return io.ErrUnexpectedEOF
  9332. }
  9333. m.RequiredDropCapabilities = append(m.RequiredDropCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex]))
  9334. iNdEx = postIndex
  9335. case 4:
  9336. if wireType != 2 {
  9337. return fmt.Errorf("proto: wrong wireType = %d for field AllowedCapabilities", wireType)
  9338. }
  9339. var stringLen uint64
  9340. for shift := uint(0); ; shift += 7 {
  9341. if shift >= 64 {
  9342. return ErrIntOverflowGenerated
  9343. }
  9344. if iNdEx >= l {
  9345. return io.ErrUnexpectedEOF
  9346. }
  9347. b := dAtA[iNdEx]
  9348. iNdEx++
  9349. stringLen |= (uint64(b) & 0x7F) << shift
  9350. if b < 0x80 {
  9351. break
  9352. }
  9353. }
  9354. intStringLen := int(stringLen)
  9355. if intStringLen < 0 {
  9356. return ErrInvalidLengthGenerated
  9357. }
  9358. postIndex := iNdEx + intStringLen
  9359. if postIndex > l {
  9360. return io.ErrUnexpectedEOF
  9361. }
  9362. m.AllowedCapabilities = append(m.AllowedCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex]))
  9363. iNdEx = postIndex
  9364. case 5:
  9365. if wireType != 2 {
  9366. return fmt.Errorf("proto: wrong wireType = %d for field Volumes", wireType)
  9367. }
  9368. var stringLen uint64
  9369. for shift := uint(0); ; shift += 7 {
  9370. if shift >= 64 {
  9371. return ErrIntOverflowGenerated
  9372. }
  9373. if iNdEx >= l {
  9374. return io.ErrUnexpectedEOF
  9375. }
  9376. b := dAtA[iNdEx]
  9377. iNdEx++
  9378. stringLen |= (uint64(b) & 0x7F) << shift
  9379. if b < 0x80 {
  9380. break
  9381. }
  9382. }
  9383. intStringLen := int(stringLen)
  9384. if intStringLen < 0 {
  9385. return ErrInvalidLengthGenerated
  9386. }
  9387. postIndex := iNdEx + intStringLen
  9388. if postIndex > l {
  9389. return io.ErrUnexpectedEOF
  9390. }
  9391. m.Volumes = append(m.Volumes, FSType(dAtA[iNdEx:postIndex]))
  9392. iNdEx = postIndex
  9393. case 6:
  9394. if wireType != 0 {
  9395. return fmt.Errorf("proto: wrong wireType = %d for field HostNetwork", wireType)
  9396. }
  9397. var v int
  9398. for shift := uint(0); ; shift += 7 {
  9399. if shift >= 64 {
  9400. return ErrIntOverflowGenerated
  9401. }
  9402. if iNdEx >= l {
  9403. return io.ErrUnexpectedEOF
  9404. }
  9405. b := dAtA[iNdEx]
  9406. iNdEx++
  9407. v |= (int(b) & 0x7F) << shift
  9408. if b < 0x80 {
  9409. break
  9410. }
  9411. }
  9412. m.HostNetwork = bool(v != 0)
  9413. case 7:
  9414. if wireType != 2 {
  9415. return fmt.Errorf("proto: wrong wireType = %d for field HostPorts", wireType)
  9416. }
  9417. var msglen int
  9418. for shift := uint(0); ; shift += 7 {
  9419. if shift >= 64 {
  9420. return ErrIntOverflowGenerated
  9421. }
  9422. if iNdEx >= l {
  9423. return io.ErrUnexpectedEOF
  9424. }
  9425. b := dAtA[iNdEx]
  9426. iNdEx++
  9427. msglen |= (int(b) & 0x7F) << shift
  9428. if b < 0x80 {
  9429. break
  9430. }
  9431. }
  9432. if msglen < 0 {
  9433. return ErrInvalidLengthGenerated
  9434. }
  9435. postIndex := iNdEx + msglen
  9436. if postIndex > l {
  9437. return io.ErrUnexpectedEOF
  9438. }
  9439. m.HostPorts = append(m.HostPorts, HostPortRange{})
  9440. if err := m.HostPorts[len(m.HostPorts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9441. return err
  9442. }
  9443. iNdEx = postIndex
  9444. case 8:
  9445. if wireType != 0 {
  9446. return fmt.Errorf("proto: wrong wireType = %d for field HostPID", wireType)
  9447. }
  9448. var v int
  9449. for shift := uint(0); ; shift += 7 {
  9450. if shift >= 64 {
  9451. return ErrIntOverflowGenerated
  9452. }
  9453. if iNdEx >= l {
  9454. return io.ErrUnexpectedEOF
  9455. }
  9456. b := dAtA[iNdEx]
  9457. iNdEx++
  9458. v |= (int(b) & 0x7F) << shift
  9459. if b < 0x80 {
  9460. break
  9461. }
  9462. }
  9463. m.HostPID = bool(v != 0)
  9464. case 9:
  9465. if wireType != 0 {
  9466. return fmt.Errorf("proto: wrong wireType = %d for field HostIPC", wireType)
  9467. }
  9468. var v int
  9469. for shift := uint(0); ; shift += 7 {
  9470. if shift >= 64 {
  9471. return ErrIntOverflowGenerated
  9472. }
  9473. if iNdEx >= l {
  9474. return io.ErrUnexpectedEOF
  9475. }
  9476. b := dAtA[iNdEx]
  9477. iNdEx++
  9478. v |= (int(b) & 0x7F) << shift
  9479. if b < 0x80 {
  9480. break
  9481. }
  9482. }
  9483. m.HostIPC = bool(v != 0)
  9484. case 10:
  9485. if wireType != 2 {
  9486. return fmt.Errorf("proto: wrong wireType = %d for field SELinux", wireType)
  9487. }
  9488. var msglen int
  9489. for shift := uint(0); ; shift += 7 {
  9490. if shift >= 64 {
  9491. return ErrIntOverflowGenerated
  9492. }
  9493. if iNdEx >= l {
  9494. return io.ErrUnexpectedEOF
  9495. }
  9496. b := dAtA[iNdEx]
  9497. iNdEx++
  9498. msglen |= (int(b) & 0x7F) << shift
  9499. if b < 0x80 {
  9500. break
  9501. }
  9502. }
  9503. if msglen < 0 {
  9504. return ErrInvalidLengthGenerated
  9505. }
  9506. postIndex := iNdEx + msglen
  9507. if postIndex > l {
  9508. return io.ErrUnexpectedEOF
  9509. }
  9510. if err := m.SELinux.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9511. return err
  9512. }
  9513. iNdEx = postIndex
  9514. case 11:
  9515. if wireType != 2 {
  9516. return fmt.Errorf("proto: wrong wireType = %d for field RunAsUser", wireType)
  9517. }
  9518. var msglen int
  9519. for shift := uint(0); ; shift += 7 {
  9520. if shift >= 64 {
  9521. return ErrIntOverflowGenerated
  9522. }
  9523. if iNdEx >= l {
  9524. return io.ErrUnexpectedEOF
  9525. }
  9526. b := dAtA[iNdEx]
  9527. iNdEx++
  9528. msglen |= (int(b) & 0x7F) << shift
  9529. if b < 0x80 {
  9530. break
  9531. }
  9532. }
  9533. if msglen < 0 {
  9534. return ErrInvalidLengthGenerated
  9535. }
  9536. postIndex := iNdEx + msglen
  9537. if postIndex > l {
  9538. return io.ErrUnexpectedEOF
  9539. }
  9540. if err := m.RunAsUser.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9541. return err
  9542. }
  9543. iNdEx = postIndex
  9544. case 12:
  9545. if wireType != 2 {
  9546. return fmt.Errorf("proto: wrong wireType = %d for field SupplementalGroups", wireType)
  9547. }
  9548. var msglen int
  9549. for shift := uint(0); ; shift += 7 {
  9550. if shift >= 64 {
  9551. return ErrIntOverflowGenerated
  9552. }
  9553. if iNdEx >= l {
  9554. return io.ErrUnexpectedEOF
  9555. }
  9556. b := dAtA[iNdEx]
  9557. iNdEx++
  9558. msglen |= (int(b) & 0x7F) << shift
  9559. if b < 0x80 {
  9560. break
  9561. }
  9562. }
  9563. if msglen < 0 {
  9564. return ErrInvalidLengthGenerated
  9565. }
  9566. postIndex := iNdEx + msglen
  9567. if postIndex > l {
  9568. return io.ErrUnexpectedEOF
  9569. }
  9570. if err := m.SupplementalGroups.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9571. return err
  9572. }
  9573. iNdEx = postIndex
  9574. case 13:
  9575. if wireType != 2 {
  9576. return fmt.Errorf("proto: wrong wireType = %d for field FSGroup", wireType)
  9577. }
  9578. var msglen int
  9579. for shift := uint(0); ; shift += 7 {
  9580. if shift >= 64 {
  9581. return ErrIntOverflowGenerated
  9582. }
  9583. if iNdEx >= l {
  9584. return io.ErrUnexpectedEOF
  9585. }
  9586. b := dAtA[iNdEx]
  9587. iNdEx++
  9588. msglen |= (int(b) & 0x7F) << shift
  9589. if b < 0x80 {
  9590. break
  9591. }
  9592. }
  9593. if msglen < 0 {
  9594. return ErrInvalidLengthGenerated
  9595. }
  9596. postIndex := iNdEx + msglen
  9597. if postIndex > l {
  9598. return io.ErrUnexpectedEOF
  9599. }
  9600. if err := m.FSGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9601. return err
  9602. }
  9603. iNdEx = postIndex
  9604. case 14:
  9605. if wireType != 0 {
  9606. return fmt.Errorf("proto: wrong wireType = %d for field ReadOnlyRootFilesystem", wireType)
  9607. }
  9608. var v int
  9609. for shift := uint(0); ; shift += 7 {
  9610. if shift >= 64 {
  9611. return ErrIntOverflowGenerated
  9612. }
  9613. if iNdEx >= l {
  9614. return io.ErrUnexpectedEOF
  9615. }
  9616. b := dAtA[iNdEx]
  9617. iNdEx++
  9618. v |= (int(b) & 0x7F) << shift
  9619. if b < 0x80 {
  9620. break
  9621. }
  9622. }
  9623. m.ReadOnlyRootFilesystem = bool(v != 0)
  9624. case 15:
  9625. if wireType != 0 {
  9626. return fmt.Errorf("proto: wrong wireType = %d for field DefaultAllowPrivilegeEscalation", wireType)
  9627. }
  9628. var v int
  9629. for shift := uint(0); ; shift += 7 {
  9630. if shift >= 64 {
  9631. return ErrIntOverflowGenerated
  9632. }
  9633. if iNdEx >= l {
  9634. return io.ErrUnexpectedEOF
  9635. }
  9636. b := dAtA[iNdEx]
  9637. iNdEx++
  9638. v |= (int(b) & 0x7F) << shift
  9639. if b < 0x80 {
  9640. break
  9641. }
  9642. }
  9643. b := bool(v != 0)
  9644. m.DefaultAllowPrivilegeEscalation = &b
  9645. case 16:
  9646. if wireType != 0 {
  9647. return fmt.Errorf("proto: wrong wireType = %d for field AllowPrivilegeEscalation", wireType)
  9648. }
  9649. var v int
  9650. for shift := uint(0); ; shift += 7 {
  9651. if shift >= 64 {
  9652. return ErrIntOverflowGenerated
  9653. }
  9654. if iNdEx >= l {
  9655. return io.ErrUnexpectedEOF
  9656. }
  9657. b := dAtA[iNdEx]
  9658. iNdEx++
  9659. v |= (int(b) & 0x7F) << shift
  9660. if b < 0x80 {
  9661. break
  9662. }
  9663. }
  9664. b := bool(v != 0)
  9665. m.AllowPrivilegeEscalation = &b
  9666. case 17:
  9667. if wireType != 2 {
  9668. return fmt.Errorf("proto: wrong wireType = %d for field AllowedHostPaths", wireType)
  9669. }
  9670. var msglen int
  9671. for shift := uint(0); ; shift += 7 {
  9672. if shift >= 64 {
  9673. return ErrIntOverflowGenerated
  9674. }
  9675. if iNdEx >= l {
  9676. return io.ErrUnexpectedEOF
  9677. }
  9678. b := dAtA[iNdEx]
  9679. iNdEx++
  9680. msglen |= (int(b) & 0x7F) << shift
  9681. if b < 0x80 {
  9682. break
  9683. }
  9684. }
  9685. if msglen < 0 {
  9686. return ErrInvalidLengthGenerated
  9687. }
  9688. postIndex := iNdEx + msglen
  9689. if postIndex > l {
  9690. return io.ErrUnexpectedEOF
  9691. }
  9692. m.AllowedHostPaths = append(m.AllowedHostPaths, AllowedHostPath{})
  9693. if err := m.AllowedHostPaths[len(m.AllowedHostPaths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9694. return err
  9695. }
  9696. iNdEx = postIndex
  9697. case 18:
  9698. if wireType != 2 {
  9699. return fmt.Errorf("proto: wrong wireType = %d for field AllowedFlexVolumes", wireType)
  9700. }
  9701. var msglen int
  9702. for shift := uint(0); ; shift += 7 {
  9703. if shift >= 64 {
  9704. return ErrIntOverflowGenerated
  9705. }
  9706. if iNdEx >= l {
  9707. return io.ErrUnexpectedEOF
  9708. }
  9709. b := dAtA[iNdEx]
  9710. iNdEx++
  9711. msglen |= (int(b) & 0x7F) << shift
  9712. if b < 0x80 {
  9713. break
  9714. }
  9715. }
  9716. if msglen < 0 {
  9717. return ErrInvalidLengthGenerated
  9718. }
  9719. postIndex := iNdEx + msglen
  9720. if postIndex > l {
  9721. return io.ErrUnexpectedEOF
  9722. }
  9723. m.AllowedFlexVolumes = append(m.AllowedFlexVolumes, AllowedFlexVolume{})
  9724. if err := m.AllowedFlexVolumes[len(m.AllowedFlexVolumes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9725. return err
  9726. }
  9727. iNdEx = postIndex
  9728. case 19:
  9729. if wireType != 2 {
  9730. return fmt.Errorf("proto: wrong wireType = %d for field AllowedUnsafeSysctls", wireType)
  9731. }
  9732. var stringLen uint64
  9733. for shift := uint(0); ; shift += 7 {
  9734. if shift >= 64 {
  9735. return ErrIntOverflowGenerated
  9736. }
  9737. if iNdEx >= l {
  9738. return io.ErrUnexpectedEOF
  9739. }
  9740. b := dAtA[iNdEx]
  9741. iNdEx++
  9742. stringLen |= (uint64(b) & 0x7F) << shift
  9743. if b < 0x80 {
  9744. break
  9745. }
  9746. }
  9747. intStringLen := int(stringLen)
  9748. if intStringLen < 0 {
  9749. return ErrInvalidLengthGenerated
  9750. }
  9751. postIndex := iNdEx + intStringLen
  9752. if postIndex > l {
  9753. return io.ErrUnexpectedEOF
  9754. }
  9755. m.AllowedUnsafeSysctls = append(m.AllowedUnsafeSysctls, string(dAtA[iNdEx:postIndex]))
  9756. iNdEx = postIndex
  9757. case 20:
  9758. if wireType != 2 {
  9759. return fmt.Errorf("proto: wrong wireType = %d for field ForbiddenSysctls", wireType)
  9760. }
  9761. var stringLen uint64
  9762. for shift := uint(0); ; shift += 7 {
  9763. if shift >= 64 {
  9764. return ErrIntOverflowGenerated
  9765. }
  9766. if iNdEx >= l {
  9767. return io.ErrUnexpectedEOF
  9768. }
  9769. b := dAtA[iNdEx]
  9770. iNdEx++
  9771. stringLen |= (uint64(b) & 0x7F) << shift
  9772. if b < 0x80 {
  9773. break
  9774. }
  9775. }
  9776. intStringLen := int(stringLen)
  9777. if intStringLen < 0 {
  9778. return ErrInvalidLengthGenerated
  9779. }
  9780. postIndex := iNdEx + intStringLen
  9781. if postIndex > l {
  9782. return io.ErrUnexpectedEOF
  9783. }
  9784. m.ForbiddenSysctls = append(m.ForbiddenSysctls, string(dAtA[iNdEx:postIndex]))
  9785. iNdEx = postIndex
  9786. case 21:
  9787. if wireType != 2 {
  9788. return fmt.Errorf("proto: wrong wireType = %d for field AllowedProcMountTypes", wireType)
  9789. }
  9790. var stringLen uint64
  9791. for shift := uint(0); ; shift += 7 {
  9792. if shift >= 64 {
  9793. return ErrIntOverflowGenerated
  9794. }
  9795. if iNdEx >= l {
  9796. return io.ErrUnexpectedEOF
  9797. }
  9798. b := dAtA[iNdEx]
  9799. iNdEx++
  9800. stringLen |= (uint64(b) & 0x7F) << shift
  9801. if b < 0x80 {
  9802. break
  9803. }
  9804. }
  9805. intStringLen := int(stringLen)
  9806. if intStringLen < 0 {
  9807. return ErrInvalidLengthGenerated
  9808. }
  9809. postIndex := iNdEx + intStringLen
  9810. if postIndex > l {
  9811. return io.ErrUnexpectedEOF
  9812. }
  9813. m.AllowedProcMountTypes = append(m.AllowedProcMountTypes, k8s_io_api_core_v1.ProcMountType(dAtA[iNdEx:postIndex]))
  9814. iNdEx = postIndex
  9815. case 22:
  9816. if wireType != 2 {
  9817. return fmt.Errorf("proto: wrong wireType = %d for field RunAsGroup", wireType)
  9818. }
  9819. var msglen int
  9820. for shift := uint(0); ; shift += 7 {
  9821. if shift >= 64 {
  9822. return ErrIntOverflowGenerated
  9823. }
  9824. if iNdEx >= l {
  9825. return io.ErrUnexpectedEOF
  9826. }
  9827. b := dAtA[iNdEx]
  9828. iNdEx++
  9829. msglen |= (int(b) & 0x7F) << shift
  9830. if b < 0x80 {
  9831. break
  9832. }
  9833. }
  9834. if msglen < 0 {
  9835. return ErrInvalidLengthGenerated
  9836. }
  9837. postIndex := iNdEx + msglen
  9838. if postIndex > l {
  9839. return io.ErrUnexpectedEOF
  9840. }
  9841. if m.RunAsGroup == nil {
  9842. m.RunAsGroup = &RunAsGroupStrategyOptions{}
  9843. }
  9844. if err := m.RunAsGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9845. return err
  9846. }
  9847. iNdEx = postIndex
  9848. case 23:
  9849. if wireType != 2 {
  9850. return fmt.Errorf("proto: wrong wireType = %d for field AllowedCSIDrivers", wireType)
  9851. }
  9852. var msglen int
  9853. for shift := uint(0); ; shift += 7 {
  9854. if shift >= 64 {
  9855. return ErrIntOverflowGenerated
  9856. }
  9857. if iNdEx >= l {
  9858. return io.ErrUnexpectedEOF
  9859. }
  9860. b := dAtA[iNdEx]
  9861. iNdEx++
  9862. msglen |= (int(b) & 0x7F) << shift
  9863. if b < 0x80 {
  9864. break
  9865. }
  9866. }
  9867. if msglen < 0 {
  9868. return ErrInvalidLengthGenerated
  9869. }
  9870. postIndex := iNdEx + msglen
  9871. if postIndex > l {
  9872. return io.ErrUnexpectedEOF
  9873. }
  9874. m.AllowedCSIDrivers = append(m.AllowedCSIDrivers, AllowedCSIDriver{})
  9875. if err := m.AllowedCSIDrivers[len(m.AllowedCSIDrivers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9876. return err
  9877. }
  9878. iNdEx = postIndex
  9879. default:
  9880. iNdEx = preIndex
  9881. skippy, err := skipGenerated(dAtA[iNdEx:])
  9882. if err != nil {
  9883. return err
  9884. }
  9885. if skippy < 0 {
  9886. return ErrInvalidLengthGenerated
  9887. }
  9888. if (iNdEx + skippy) > l {
  9889. return io.ErrUnexpectedEOF
  9890. }
  9891. iNdEx += skippy
  9892. }
  9893. }
  9894. if iNdEx > l {
  9895. return io.ErrUnexpectedEOF
  9896. }
  9897. return nil
  9898. }
  9899. func (m *ReplicaSet) Unmarshal(dAtA []byte) error {
  9900. l := len(dAtA)
  9901. iNdEx := 0
  9902. for iNdEx < l {
  9903. preIndex := iNdEx
  9904. var wire uint64
  9905. for shift := uint(0); ; shift += 7 {
  9906. if shift >= 64 {
  9907. return ErrIntOverflowGenerated
  9908. }
  9909. if iNdEx >= l {
  9910. return io.ErrUnexpectedEOF
  9911. }
  9912. b := dAtA[iNdEx]
  9913. iNdEx++
  9914. wire |= (uint64(b) & 0x7F) << shift
  9915. if b < 0x80 {
  9916. break
  9917. }
  9918. }
  9919. fieldNum := int32(wire >> 3)
  9920. wireType := int(wire & 0x7)
  9921. if wireType == 4 {
  9922. return fmt.Errorf("proto: ReplicaSet: wiretype end group for non-group")
  9923. }
  9924. if fieldNum <= 0 {
  9925. return fmt.Errorf("proto: ReplicaSet: illegal tag %d (wire type %d)", fieldNum, wire)
  9926. }
  9927. switch fieldNum {
  9928. case 1:
  9929. if wireType != 2 {
  9930. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  9931. }
  9932. var msglen int
  9933. for shift := uint(0); ; shift += 7 {
  9934. if shift >= 64 {
  9935. return ErrIntOverflowGenerated
  9936. }
  9937. if iNdEx >= l {
  9938. return io.ErrUnexpectedEOF
  9939. }
  9940. b := dAtA[iNdEx]
  9941. iNdEx++
  9942. msglen |= (int(b) & 0x7F) << shift
  9943. if b < 0x80 {
  9944. break
  9945. }
  9946. }
  9947. if msglen < 0 {
  9948. return ErrInvalidLengthGenerated
  9949. }
  9950. postIndex := iNdEx + msglen
  9951. if postIndex > l {
  9952. return io.ErrUnexpectedEOF
  9953. }
  9954. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9955. return err
  9956. }
  9957. iNdEx = postIndex
  9958. case 2:
  9959. if wireType != 2 {
  9960. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  9961. }
  9962. var msglen int
  9963. for shift := uint(0); ; shift += 7 {
  9964. if shift >= 64 {
  9965. return ErrIntOverflowGenerated
  9966. }
  9967. if iNdEx >= l {
  9968. return io.ErrUnexpectedEOF
  9969. }
  9970. b := dAtA[iNdEx]
  9971. iNdEx++
  9972. msglen |= (int(b) & 0x7F) << shift
  9973. if b < 0x80 {
  9974. break
  9975. }
  9976. }
  9977. if msglen < 0 {
  9978. return ErrInvalidLengthGenerated
  9979. }
  9980. postIndex := iNdEx + msglen
  9981. if postIndex > l {
  9982. return io.ErrUnexpectedEOF
  9983. }
  9984. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9985. return err
  9986. }
  9987. iNdEx = postIndex
  9988. case 3:
  9989. if wireType != 2 {
  9990. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  9991. }
  9992. var msglen int
  9993. for shift := uint(0); ; shift += 7 {
  9994. if shift >= 64 {
  9995. return ErrIntOverflowGenerated
  9996. }
  9997. if iNdEx >= l {
  9998. return io.ErrUnexpectedEOF
  9999. }
  10000. b := dAtA[iNdEx]
  10001. iNdEx++
  10002. msglen |= (int(b) & 0x7F) << shift
  10003. if b < 0x80 {
  10004. break
  10005. }
  10006. }
  10007. if msglen < 0 {
  10008. return ErrInvalidLengthGenerated
  10009. }
  10010. postIndex := iNdEx + msglen
  10011. if postIndex > l {
  10012. return io.ErrUnexpectedEOF
  10013. }
  10014. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10015. return err
  10016. }
  10017. iNdEx = postIndex
  10018. default:
  10019. iNdEx = preIndex
  10020. skippy, err := skipGenerated(dAtA[iNdEx:])
  10021. if err != nil {
  10022. return err
  10023. }
  10024. if skippy < 0 {
  10025. return ErrInvalidLengthGenerated
  10026. }
  10027. if (iNdEx + skippy) > l {
  10028. return io.ErrUnexpectedEOF
  10029. }
  10030. iNdEx += skippy
  10031. }
  10032. }
  10033. if iNdEx > l {
  10034. return io.ErrUnexpectedEOF
  10035. }
  10036. return nil
  10037. }
  10038. func (m *ReplicaSetCondition) Unmarshal(dAtA []byte) error {
  10039. l := len(dAtA)
  10040. iNdEx := 0
  10041. for iNdEx < l {
  10042. preIndex := iNdEx
  10043. var wire uint64
  10044. for shift := uint(0); ; shift += 7 {
  10045. if shift >= 64 {
  10046. return ErrIntOverflowGenerated
  10047. }
  10048. if iNdEx >= l {
  10049. return io.ErrUnexpectedEOF
  10050. }
  10051. b := dAtA[iNdEx]
  10052. iNdEx++
  10053. wire |= (uint64(b) & 0x7F) << shift
  10054. if b < 0x80 {
  10055. break
  10056. }
  10057. }
  10058. fieldNum := int32(wire >> 3)
  10059. wireType := int(wire & 0x7)
  10060. if wireType == 4 {
  10061. return fmt.Errorf("proto: ReplicaSetCondition: wiretype end group for non-group")
  10062. }
  10063. if fieldNum <= 0 {
  10064. return fmt.Errorf("proto: ReplicaSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  10065. }
  10066. switch fieldNum {
  10067. case 1:
  10068. if wireType != 2 {
  10069. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  10070. }
  10071. var stringLen uint64
  10072. for shift := uint(0); ; shift += 7 {
  10073. if shift >= 64 {
  10074. return ErrIntOverflowGenerated
  10075. }
  10076. if iNdEx >= l {
  10077. return io.ErrUnexpectedEOF
  10078. }
  10079. b := dAtA[iNdEx]
  10080. iNdEx++
  10081. stringLen |= (uint64(b) & 0x7F) << shift
  10082. if b < 0x80 {
  10083. break
  10084. }
  10085. }
  10086. intStringLen := int(stringLen)
  10087. if intStringLen < 0 {
  10088. return ErrInvalidLengthGenerated
  10089. }
  10090. postIndex := iNdEx + intStringLen
  10091. if postIndex > l {
  10092. return io.ErrUnexpectedEOF
  10093. }
  10094. m.Type = ReplicaSetConditionType(dAtA[iNdEx:postIndex])
  10095. iNdEx = postIndex
  10096. case 2:
  10097. if wireType != 2 {
  10098. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  10099. }
  10100. var stringLen uint64
  10101. for shift := uint(0); ; shift += 7 {
  10102. if shift >= 64 {
  10103. return ErrIntOverflowGenerated
  10104. }
  10105. if iNdEx >= l {
  10106. return io.ErrUnexpectedEOF
  10107. }
  10108. b := dAtA[iNdEx]
  10109. iNdEx++
  10110. stringLen |= (uint64(b) & 0x7F) << shift
  10111. if b < 0x80 {
  10112. break
  10113. }
  10114. }
  10115. intStringLen := int(stringLen)
  10116. if intStringLen < 0 {
  10117. return ErrInvalidLengthGenerated
  10118. }
  10119. postIndex := iNdEx + intStringLen
  10120. if postIndex > l {
  10121. return io.ErrUnexpectedEOF
  10122. }
  10123. m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
  10124. iNdEx = postIndex
  10125. case 3:
  10126. if wireType != 2 {
  10127. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  10128. }
  10129. var msglen int
  10130. for shift := uint(0); ; shift += 7 {
  10131. if shift >= 64 {
  10132. return ErrIntOverflowGenerated
  10133. }
  10134. if iNdEx >= l {
  10135. return io.ErrUnexpectedEOF
  10136. }
  10137. b := dAtA[iNdEx]
  10138. iNdEx++
  10139. msglen |= (int(b) & 0x7F) << shift
  10140. if b < 0x80 {
  10141. break
  10142. }
  10143. }
  10144. if msglen < 0 {
  10145. return ErrInvalidLengthGenerated
  10146. }
  10147. postIndex := iNdEx + msglen
  10148. if postIndex > l {
  10149. return io.ErrUnexpectedEOF
  10150. }
  10151. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10152. return err
  10153. }
  10154. iNdEx = postIndex
  10155. case 4:
  10156. if wireType != 2 {
  10157. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  10158. }
  10159. var stringLen uint64
  10160. for shift := uint(0); ; shift += 7 {
  10161. if shift >= 64 {
  10162. return ErrIntOverflowGenerated
  10163. }
  10164. if iNdEx >= l {
  10165. return io.ErrUnexpectedEOF
  10166. }
  10167. b := dAtA[iNdEx]
  10168. iNdEx++
  10169. stringLen |= (uint64(b) & 0x7F) << shift
  10170. if b < 0x80 {
  10171. break
  10172. }
  10173. }
  10174. intStringLen := int(stringLen)
  10175. if intStringLen < 0 {
  10176. return ErrInvalidLengthGenerated
  10177. }
  10178. postIndex := iNdEx + intStringLen
  10179. if postIndex > l {
  10180. return io.ErrUnexpectedEOF
  10181. }
  10182. m.Reason = string(dAtA[iNdEx:postIndex])
  10183. iNdEx = postIndex
  10184. case 5:
  10185. if wireType != 2 {
  10186. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  10187. }
  10188. var stringLen uint64
  10189. for shift := uint(0); ; shift += 7 {
  10190. if shift >= 64 {
  10191. return ErrIntOverflowGenerated
  10192. }
  10193. if iNdEx >= l {
  10194. return io.ErrUnexpectedEOF
  10195. }
  10196. b := dAtA[iNdEx]
  10197. iNdEx++
  10198. stringLen |= (uint64(b) & 0x7F) << shift
  10199. if b < 0x80 {
  10200. break
  10201. }
  10202. }
  10203. intStringLen := int(stringLen)
  10204. if intStringLen < 0 {
  10205. return ErrInvalidLengthGenerated
  10206. }
  10207. postIndex := iNdEx + intStringLen
  10208. if postIndex > l {
  10209. return io.ErrUnexpectedEOF
  10210. }
  10211. m.Message = string(dAtA[iNdEx:postIndex])
  10212. iNdEx = postIndex
  10213. default:
  10214. iNdEx = preIndex
  10215. skippy, err := skipGenerated(dAtA[iNdEx:])
  10216. if err != nil {
  10217. return err
  10218. }
  10219. if skippy < 0 {
  10220. return ErrInvalidLengthGenerated
  10221. }
  10222. if (iNdEx + skippy) > l {
  10223. return io.ErrUnexpectedEOF
  10224. }
  10225. iNdEx += skippy
  10226. }
  10227. }
  10228. if iNdEx > l {
  10229. return io.ErrUnexpectedEOF
  10230. }
  10231. return nil
  10232. }
  10233. func (m *ReplicaSetList) Unmarshal(dAtA []byte) error {
  10234. l := len(dAtA)
  10235. iNdEx := 0
  10236. for iNdEx < l {
  10237. preIndex := iNdEx
  10238. var wire uint64
  10239. for shift := uint(0); ; shift += 7 {
  10240. if shift >= 64 {
  10241. return ErrIntOverflowGenerated
  10242. }
  10243. if iNdEx >= l {
  10244. return io.ErrUnexpectedEOF
  10245. }
  10246. b := dAtA[iNdEx]
  10247. iNdEx++
  10248. wire |= (uint64(b) & 0x7F) << shift
  10249. if b < 0x80 {
  10250. break
  10251. }
  10252. }
  10253. fieldNum := int32(wire >> 3)
  10254. wireType := int(wire & 0x7)
  10255. if wireType == 4 {
  10256. return fmt.Errorf("proto: ReplicaSetList: wiretype end group for non-group")
  10257. }
  10258. if fieldNum <= 0 {
  10259. return fmt.Errorf("proto: ReplicaSetList: illegal tag %d (wire type %d)", fieldNum, wire)
  10260. }
  10261. switch fieldNum {
  10262. case 1:
  10263. if wireType != 2 {
  10264. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  10265. }
  10266. var msglen int
  10267. for shift := uint(0); ; shift += 7 {
  10268. if shift >= 64 {
  10269. return ErrIntOverflowGenerated
  10270. }
  10271. if iNdEx >= l {
  10272. return io.ErrUnexpectedEOF
  10273. }
  10274. b := dAtA[iNdEx]
  10275. iNdEx++
  10276. msglen |= (int(b) & 0x7F) << shift
  10277. if b < 0x80 {
  10278. break
  10279. }
  10280. }
  10281. if msglen < 0 {
  10282. return ErrInvalidLengthGenerated
  10283. }
  10284. postIndex := iNdEx + msglen
  10285. if postIndex > l {
  10286. return io.ErrUnexpectedEOF
  10287. }
  10288. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10289. return err
  10290. }
  10291. iNdEx = postIndex
  10292. case 2:
  10293. if wireType != 2 {
  10294. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  10295. }
  10296. var msglen int
  10297. for shift := uint(0); ; shift += 7 {
  10298. if shift >= 64 {
  10299. return ErrIntOverflowGenerated
  10300. }
  10301. if iNdEx >= l {
  10302. return io.ErrUnexpectedEOF
  10303. }
  10304. b := dAtA[iNdEx]
  10305. iNdEx++
  10306. msglen |= (int(b) & 0x7F) << shift
  10307. if b < 0x80 {
  10308. break
  10309. }
  10310. }
  10311. if msglen < 0 {
  10312. return ErrInvalidLengthGenerated
  10313. }
  10314. postIndex := iNdEx + msglen
  10315. if postIndex > l {
  10316. return io.ErrUnexpectedEOF
  10317. }
  10318. m.Items = append(m.Items, ReplicaSet{})
  10319. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10320. return err
  10321. }
  10322. iNdEx = postIndex
  10323. default:
  10324. iNdEx = preIndex
  10325. skippy, err := skipGenerated(dAtA[iNdEx:])
  10326. if err != nil {
  10327. return err
  10328. }
  10329. if skippy < 0 {
  10330. return ErrInvalidLengthGenerated
  10331. }
  10332. if (iNdEx + skippy) > l {
  10333. return io.ErrUnexpectedEOF
  10334. }
  10335. iNdEx += skippy
  10336. }
  10337. }
  10338. if iNdEx > l {
  10339. return io.ErrUnexpectedEOF
  10340. }
  10341. return nil
  10342. }
  10343. func (m *ReplicaSetSpec) Unmarshal(dAtA []byte) error {
  10344. l := len(dAtA)
  10345. iNdEx := 0
  10346. for iNdEx < l {
  10347. preIndex := iNdEx
  10348. var wire uint64
  10349. for shift := uint(0); ; shift += 7 {
  10350. if shift >= 64 {
  10351. return ErrIntOverflowGenerated
  10352. }
  10353. if iNdEx >= l {
  10354. return io.ErrUnexpectedEOF
  10355. }
  10356. b := dAtA[iNdEx]
  10357. iNdEx++
  10358. wire |= (uint64(b) & 0x7F) << shift
  10359. if b < 0x80 {
  10360. break
  10361. }
  10362. }
  10363. fieldNum := int32(wire >> 3)
  10364. wireType := int(wire & 0x7)
  10365. if wireType == 4 {
  10366. return fmt.Errorf("proto: ReplicaSetSpec: wiretype end group for non-group")
  10367. }
  10368. if fieldNum <= 0 {
  10369. return fmt.Errorf("proto: ReplicaSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  10370. }
  10371. switch fieldNum {
  10372. case 1:
  10373. if wireType != 0 {
  10374. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  10375. }
  10376. var v int32
  10377. for shift := uint(0); ; shift += 7 {
  10378. if shift >= 64 {
  10379. return ErrIntOverflowGenerated
  10380. }
  10381. if iNdEx >= l {
  10382. return io.ErrUnexpectedEOF
  10383. }
  10384. b := dAtA[iNdEx]
  10385. iNdEx++
  10386. v |= (int32(b) & 0x7F) << shift
  10387. if b < 0x80 {
  10388. break
  10389. }
  10390. }
  10391. m.Replicas = &v
  10392. case 2:
  10393. if wireType != 2 {
  10394. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  10395. }
  10396. var msglen int
  10397. for shift := uint(0); ; shift += 7 {
  10398. if shift >= 64 {
  10399. return ErrIntOverflowGenerated
  10400. }
  10401. if iNdEx >= l {
  10402. return io.ErrUnexpectedEOF
  10403. }
  10404. b := dAtA[iNdEx]
  10405. iNdEx++
  10406. msglen |= (int(b) & 0x7F) << shift
  10407. if b < 0x80 {
  10408. break
  10409. }
  10410. }
  10411. if msglen < 0 {
  10412. return ErrInvalidLengthGenerated
  10413. }
  10414. postIndex := iNdEx + msglen
  10415. if postIndex > l {
  10416. return io.ErrUnexpectedEOF
  10417. }
  10418. if m.Selector == nil {
  10419. m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  10420. }
  10421. if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10422. return err
  10423. }
  10424. iNdEx = postIndex
  10425. case 3:
  10426. if wireType != 2 {
  10427. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  10428. }
  10429. var msglen int
  10430. for shift := uint(0); ; shift += 7 {
  10431. if shift >= 64 {
  10432. return ErrIntOverflowGenerated
  10433. }
  10434. if iNdEx >= l {
  10435. return io.ErrUnexpectedEOF
  10436. }
  10437. b := dAtA[iNdEx]
  10438. iNdEx++
  10439. msglen |= (int(b) & 0x7F) << shift
  10440. if b < 0x80 {
  10441. break
  10442. }
  10443. }
  10444. if msglen < 0 {
  10445. return ErrInvalidLengthGenerated
  10446. }
  10447. postIndex := iNdEx + msglen
  10448. if postIndex > l {
  10449. return io.ErrUnexpectedEOF
  10450. }
  10451. if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10452. return err
  10453. }
  10454. iNdEx = postIndex
  10455. case 4:
  10456. if wireType != 0 {
  10457. return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
  10458. }
  10459. m.MinReadySeconds = 0
  10460. for shift := uint(0); ; shift += 7 {
  10461. if shift >= 64 {
  10462. return ErrIntOverflowGenerated
  10463. }
  10464. if iNdEx >= l {
  10465. return io.ErrUnexpectedEOF
  10466. }
  10467. b := dAtA[iNdEx]
  10468. iNdEx++
  10469. m.MinReadySeconds |= (int32(b) & 0x7F) << shift
  10470. if b < 0x80 {
  10471. break
  10472. }
  10473. }
  10474. default:
  10475. iNdEx = preIndex
  10476. skippy, err := skipGenerated(dAtA[iNdEx:])
  10477. if err != nil {
  10478. return err
  10479. }
  10480. if skippy < 0 {
  10481. return ErrInvalidLengthGenerated
  10482. }
  10483. if (iNdEx + skippy) > l {
  10484. return io.ErrUnexpectedEOF
  10485. }
  10486. iNdEx += skippy
  10487. }
  10488. }
  10489. if iNdEx > l {
  10490. return io.ErrUnexpectedEOF
  10491. }
  10492. return nil
  10493. }
  10494. func (m *ReplicaSetStatus) Unmarshal(dAtA []byte) error {
  10495. l := len(dAtA)
  10496. iNdEx := 0
  10497. for iNdEx < l {
  10498. preIndex := iNdEx
  10499. var wire uint64
  10500. for shift := uint(0); ; shift += 7 {
  10501. if shift >= 64 {
  10502. return ErrIntOverflowGenerated
  10503. }
  10504. if iNdEx >= l {
  10505. return io.ErrUnexpectedEOF
  10506. }
  10507. b := dAtA[iNdEx]
  10508. iNdEx++
  10509. wire |= (uint64(b) & 0x7F) << shift
  10510. if b < 0x80 {
  10511. break
  10512. }
  10513. }
  10514. fieldNum := int32(wire >> 3)
  10515. wireType := int(wire & 0x7)
  10516. if wireType == 4 {
  10517. return fmt.Errorf("proto: ReplicaSetStatus: wiretype end group for non-group")
  10518. }
  10519. if fieldNum <= 0 {
  10520. return fmt.Errorf("proto: ReplicaSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  10521. }
  10522. switch fieldNum {
  10523. case 1:
  10524. if wireType != 0 {
  10525. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  10526. }
  10527. m.Replicas = 0
  10528. for shift := uint(0); ; shift += 7 {
  10529. if shift >= 64 {
  10530. return ErrIntOverflowGenerated
  10531. }
  10532. if iNdEx >= l {
  10533. return io.ErrUnexpectedEOF
  10534. }
  10535. b := dAtA[iNdEx]
  10536. iNdEx++
  10537. m.Replicas |= (int32(b) & 0x7F) << shift
  10538. if b < 0x80 {
  10539. break
  10540. }
  10541. }
  10542. case 2:
  10543. if wireType != 0 {
  10544. return fmt.Errorf("proto: wrong wireType = %d for field FullyLabeledReplicas", wireType)
  10545. }
  10546. m.FullyLabeledReplicas = 0
  10547. for shift := uint(0); ; shift += 7 {
  10548. if shift >= 64 {
  10549. return ErrIntOverflowGenerated
  10550. }
  10551. if iNdEx >= l {
  10552. return io.ErrUnexpectedEOF
  10553. }
  10554. b := dAtA[iNdEx]
  10555. iNdEx++
  10556. m.FullyLabeledReplicas |= (int32(b) & 0x7F) << shift
  10557. if b < 0x80 {
  10558. break
  10559. }
  10560. }
  10561. case 3:
  10562. if wireType != 0 {
  10563. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  10564. }
  10565. m.ObservedGeneration = 0
  10566. for shift := uint(0); ; shift += 7 {
  10567. if shift >= 64 {
  10568. return ErrIntOverflowGenerated
  10569. }
  10570. if iNdEx >= l {
  10571. return io.ErrUnexpectedEOF
  10572. }
  10573. b := dAtA[iNdEx]
  10574. iNdEx++
  10575. m.ObservedGeneration |= (int64(b) & 0x7F) << shift
  10576. if b < 0x80 {
  10577. break
  10578. }
  10579. }
  10580. case 4:
  10581. if wireType != 0 {
  10582. return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
  10583. }
  10584. m.ReadyReplicas = 0
  10585. for shift := uint(0); ; shift += 7 {
  10586. if shift >= 64 {
  10587. return ErrIntOverflowGenerated
  10588. }
  10589. if iNdEx >= l {
  10590. return io.ErrUnexpectedEOF
  10591. }
  10592. b := dAtA[iNdEx]
  10593. iNdEx++
  10594. m.ReadyReplicas |= (int32(b) & 0x7F) << shift
  10595. if b < 0x80 {
  10596. break
  10597. }
  10598. }
  10599. case 5:
  10600. if wireType != 0 {
  10601. return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
  10602. }
  10603. m.AvailableReplicas = 0
  10604. for shift := uint(0); ; shift += 7 {
  10605. if shift >= 64 {
  10606. return ErrIntOverflowGenerated
  10607. }
  10608. if iNdEx >= l {
  10609. return io.ErrUnexpectedEOF
  10610. }
  10611. b := dAtA[iNdEx]
  10612. iNdEx++
  10613. m.AvailableReplicas |= (int32(b) & 0x7F) << shift
  10614. if b < 0x80 {
  10615. break
  10616. }
  10617. }
  10618. case 6:
  10619. if wireType != 2 {
  10620. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  10621. }
  10622. var msglen int
  10623. for shift := uint(0); ; shift += 7 {
  10624. if shift >= 64 {
  10625. return ErrIntOverflowGenerated
  10626. }
  10627. if iNdEx >= l {
  10628. return io.ErrUnexpectedEOF
  10629. }
  10630. b := dAtA[iNdEx]
  10631. iNdEx++
  10632. msglen |= (int(b) & 0x7F) << shift
  10633. if b < 0x80 {
  10634. break
  10635. }
  10636. }
  10637. if msglen < 0 {
  10638. return ErrInvalidLengthGenerated
  10639. }
  10640. postIndex := iNdEx + msglen
  10641. if postIndex > l {
  10642. return io.ErrUnexpectedEOF
  10643. }
  10644. m.Conditions = append(m.Conditions, ReplicaSetCondition{})
  10645. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10646. return err
  10647. }
  10648. iNdEx = postIndex
  10649. default:
  10650. iNdEx = preIndex
  10651. skippy, err := skipGenerated(dAtA[iNdEx:])
  10652. if err != nil {
  10653. return err
  10654. }
  10655. if skippy < 0 {
  10656. return ErrInvalidLengthGenerated
  10657. }
  10658. if (iNdEx + skippy) > l {
  10659. return io.ErrUnexpectedEOF
  10660. }
  10661. iNdEx += skippy
  10662. }
  10663. }
  10664. if iNdEx > l {
  10665. return io.ErrUnexpectedEOF
  10666. }
  10667. return nil
  10668. }
  10669. func (m *ReplicationControllerDummy) Unmarshal(dAtA []byte) error {
  10670. l := len(dAtA)
  10671. iNdEx := 0
  10672. for iNdEx < l {
  10673. preIndex := iNdEx
  10674. var wire uint64
  10675. for shift := uint(0); ; shift += 7 {
  10676. if shift >= 64 {
  10677. return ErrIntOverflowGenerated
  10678. }
  10679. if iNdEx >= l {
  10680. return io.ErrUnexpectedEOF
  10681. }
  10682. b := dAtA[iNdEx]
  10683. iNdEx++
  10684. wire |= (uint64(b) & 0x7F) << shift
  10685. if b < 0x80 {
  10686. break
  10687. }
  10688. }
  10689. fieldNum := int32(wire >> 3)
  10690. wireType := int(wire & 0x7)
  10691. if wireType == 4 {
  10692. return fmt.Errorf("proto: ReplicationControllerDummy: wiretype end group for non-group")
  10693. }
  10694. if fieldNum <= 0 {
  10695. return fmt.Errorf("proto: ReplicationControllerDummy: illegal tag %d (wire type %d)", fieldNum, wire)
  10696. }
  10697. switch fieldNum {
  10698. default:
  10699. iNdEx = preIndex
  10700. skippy, err := skipGenerated(dAtA[iNdEx:])
  10701. if err != nil {
  10702. return err
  10703. }
  10704. if skippy < 0 {
  10705. return ErrInvalidLengthGenerated
  10706. }
  10707. if (iNdEx + skippy) > l {
  10708. return io.ErrUnexpectedEOF
  10709. }
  10710. iNdEx += skippy
  10711. }
  10712. }
  10713. if iNdEx > l {
  10714. return io.ErrUnexpectedEOF
  10715. }
  10716. return nil
  10717. }
  10718. func (m *RollbackConfig) Unmarshal(dAtA []byte) error {
  10719. l := len(dAtA)
  10720. iNdEx := 0
  10721. for iNdEx < l {
  10722. preIndex := iNdEx
  10723. var wire uint64
  10724. for shift := uint(0); ; shift += 7 {
  10725. if shift >= 64 {
  10726. return ErrIntOverflowGenerated
  10727. }
  10728. if iNdEx >= l {
  10729. return io.ErrUnexpectedEOF
  10730. }
  10731. b := dAtA[iNdEx]
  10732. iNdEx++
  10733. wire |= (uint64(b) & 0x7F) << shift
  10734. if b < 0x80 {
  10735. break
  10736. }
  10737. }
  10738. fieldNum := int32(wire >> 3)
  10739. wireType := int(wire & 0x7)
  10740. if wireType == 4 {
  10741. return fmt.Errorf("proto: RollbackConfig: wiretype end group for non-group")
  10742. }
  10743. if fieldNum <= 0 {
  10744. return fmt.Errorf("proto: RollbackConfig: illegal tag %d (wire type %d)", fieldNum, wire)
  10745. }
  10746. switch fieldNum {
  10747. case 1:
  10748. if wireType != 0 {
  10749. return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
  10750. }
  10751. m.Revision = 0
  10752. for shift := uint(0); ; shift += 7 {
  10753. if shift >= 64 {
  10754. return ErrIntOverflowGenerated
  10755. }
  10756. if iNdEx >= l {
  10757. return io.ErrUnexpectedEOF
  10758. }
  10759. b := dAtA[iNdEx]
  10760. iNdEx++
  10761. m.Revision |= (int64(b) & 0x7F) << shift
  10762. if b < 0x80 {
  10763. break
  10764. }
  10765. }
  10766. default:
  10767. iNdEx = preIndex
  10768. skippy, err := skipGenerated(dAtA[iNdEx:])
  10769. if err != nil {
  10770. return err
  10771. }
  10772. if skippy < 0 {
  10773. return ErrInvalidLengthGenerated
  10774. }
  10775. if (iNdEx + skippy) > l {
  10776. return io.ErrUnexpectedEOF
  10777. }
  10778. iNdEx += skippy
  10779. }
  10780. }
  10781. if iNdEx > l {
  10782. return io.ErrUnexpectedEOF
  10783. }
  10784. return nil
  10785. }
  10786. func (m *RollingUpdateDaemonSet) Unmarshal(dAtA []byte) error {
  10787. l := len(dAtA)
  10788. iNdEx := 0
  10789. for iNdEx < l {
  10790. preIndex := iNdEx
  10791. var wire uint64
  10792. for shift := uint(0); ; shift += 7 {
  10793. if shift >= 64 {
  10794. return ErrIntOverflowGenerated
  10795. }
  10796. if iNdEx >= l {
  10797. return io.ErrUnexpectedEOF
  10798. }
  10799. b := dAtA[iNdEx]
  10800. iNdEx++
  10801. wire |= (uint64(b) & 0x7F) << shift
  10802. if b < 0x80 {
  10803. break
  10804. }
  10805. }
  10806. fieldNum := int32(wire >> 3)
  10807. wireType := int(wire & 0x7)
  10808. if wireType == 4 {
  10809. return fmt.Errorf("proto: RollingUpdateDaemonSet: wiretype end group for non-group")
  10810. }
  10811. if fieldNum <= 0 {
  10812. return fmt.Errorf("proto: RollingUpdateDaemonSet: illegal tag %d (wire type %d)", fieldNum, wire)
  10813. }
  10814. switch fieldNum {
  10815. case 1:
  10816. if wireType != 2 {
  10817. return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
  10818. }
  10819. var msglen int
  10820. for shift := uint(0); ; shift += 7 {
  10821. if shift >= 64 {
  10822. return ErrIntOverflowGenerated
  10823. }
  10824. if iNdEx >= l {
  10825. return io.ErrUnexpectedEOF
  10826. }
  10827. b := dAtA[iNdEx]
  10828. iNdEx++
  10829. msglen |= (int(b) & 0x7F) << shift
  10830. if b < 0x80 {
  10831. break
  10832. }
  10833. }
  10834. if msglen < 0 {
  10835. return ErrInvalidLengthGenerated
  10836. }
  10837. postIndex := iNdEx + msglen
  10838. if postIndex > l {
  10839. return io.ErrUnexpectedEOF
  10840. }
  10841. if m.MaxUnavailable == nil {
  10842. m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
  10843. }
  10844. if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10845. return err
  10846. }
  10847. iNdEx = postIndex
  10848. default:
  10849. iNdEx = preIndex
  10850. skippy, err := skipGenerated(dAtA[iNdEx:])
  10851. if err != nil {
  10852. return err
  10853. }
  10854. if skippy < 0 {
  10855. return ErrInvalidLengthGenerated
  10856. }
  10857. if (iNdEx + skippy) > l {
  10858. return io.ErrUnexpectedEOF
  10859. }
  10860. iNdEx += skippy
  10861. }
  10862. }
  10863. if iNdEx > l {
  10864. return io.ErrUnexpectedEOF
  10865. }
  10866. return nil
  10867. }
  10868. func (m *RollingUpdateDeployment) Unmarshal(dAtA []byte) error {
  10869. l := len(dAtA)
  10870. iNdEx := 0
  10871. for iNdEx < l {
  10872. preIndex := iNdEx
  10873. var wire uint64
  10874. for shift := uint(0); ; shift += 7 {
  10875. if shift >= 64 {
  10876. return ErrIntOverflowGenerated
  10877. }
  10878. if iNdEx >= l {
  10879. return io.ErrUnexpectedEOF
  10880. }
  10881. b := dAtA[iNdEx]
  10882. iNdEx++
  10883. wire |= (uint64(b) & 0x7F) << shift
  10884. if b < 0x80 {
  10885. break
  10886. }
  10887. }
  10888. fieldNum := int32(wire >> 3)
  10889. wireType := int(wire & 0x7)
  10890. if wireType == 4 {
  10891. return fmt.Errorf("proto: RollingUpdateDeployment: wiretype end group for non-group")
  10892. }
  10893. if fieldNum <= 0 {
  10894. return fmt.Errorf("proto: RollingUpdateDeployment: illegal tag %d (wire type %d)", fieldNum, wire)
  10895. }
  10896. switch fieldNum {
  10897. case 1:
  10898. if wireType != 2 {
  10899. return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
  10900. }
  10901. var msglen int
  10902. for shift := uint(0); ; shift += 7 {
  10903. if shift >= 64 {
  10904. return ErrIntOverflowGenerated
  10905. }
  10906. if iNdEx >= l {
  10907. return io.ErrUnexpectedEOF
  10908. }
  10909. b := dAtA[iNdEx]
  10910. iNdEx++
  10911. msglen |= (int(b) & 0x7F) << shift
  10912. if b < 0x80 {
  10913. break
  10914. }
  10915. }
  10916. if msglen < 0 {
  10917. return ErrInvalidLengthGenerated
  10918. }
  10919. postIndex := iNdEx + msglen
  10920. if postIndex > l {
  10921. return io.ErrUnexpectedEOF
  10922. }
  10923. if m.MaxUnavailable == nil {
  10924. m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
  10925. }
  10926. if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10927. return err
  10928. }
  10929. iNdEx = postIndex
  10930. case 2:
  10931. if wireType != 2 {
  10932. return fmt.Errorf("proto: wrong wireType = %d for field MaxSurge", wireType)
  10933. }
  10934. var msglen int
  10935. for shift := uint(0); ; shift += 7 {
  10936. if shift >= 64 {
  10937. return ErrIntOverflowGenerated
  10938. }
  10939. if iNdEx >= l {
  10940. return io.ErrUnexpectedEOF
  10941. }
  10942. b := dAtA[iNdEx]
  10943. iNdEx++
  10944. msglen |= (int(b) & 0x7F) << shift
  10945. if b < 0x80 {
  10946. break
  10947. }
  10948. }
  10949. if msglen < 0 {
  10950. return ErrInvalidLengthGenerated
  10951. }
  10952. postIndex := iNdEx + msglen
  10953. if postIndex > l {
  10954. return io.ErrUnexpectedEOF
  10955. }
  10956. if m.MaxSurge == nil {
  10957. m.MaxSurge = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
  10958. }
  10959. if err := m.MaxSurge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  10960. return err
  10961. }
  10962. iNdEx = postIndex
  10963. default:
  10964. iNdEx = preIndex
  10965. skippy, err := skipGenerated(dAtA[iNdEx:])
  10966. if err != nil {
  10967. return err
  10968. }
  10969. if skippy < 0 {
  10970. return ErrInvalidLengthGenerated
  10971. }
  10972. if (iNdEx + skippy) > l {
  10973. return io.ErrUnexpectedEOF
  10974. }
  10975. iNdEx += skippy
  10976. }
  10977. }
  10978. if iNdEx > l {
  10979. return io.ErrUnexpectedEOF
  10980. }
  10981. return nil
  10982. }
  10983. func (m *RunAsGroupStrategyOptions) Unmarshal(dAtA []byte) error {
  10984. l := len(dAtA)
  10985. iNdEx := 0
  10986. for iNdEx < l {
  10987. preIndex := iNdEx
  10988. var wire uint64
  10989. for shift := uint(0); ; shift += 7 {
  10990. if shift >= 64 {
  10991. return ErrIntOverflowGenerated
  10992. }
  10993. if iNdEx >= l {
  10994. return io.ErrUnexpectedEOF
  10995. }
  10996. b := dAtA[iNdEx]
  10997. iNdEx++
  10998. wire |= (uint64(b) & 0x7F) << shift
  10999. if b < 0x80 {
  11000. break
  11001. }
  11002. }
  11003. fieldNum := int32(wire >> 3)
  11004. wireType := int(wire & 0x7)
  11005. if wireType == 4 {
  11006. return fmt.Errorf("proto: RunAsGroupStrategyOptions: wiretype end group for non-group")
  11007. }
  11008. if fieldNum <= 0 {
  11009. return fmt.Errorf("proto: RunAsGroupStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  11010. }
  11011. switch fieldNum {
  11012. case 1:
  11013. if wireType != 2 {
  11014. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  11015. }
  11016. var stringLen uint64
  11017. for shift := uint(0); ; shift += 7 {
  11018. if shift >= 64 {
  11019. return ErrIntOverflowGenerated
  11020. }
  11021. if iNdEx >= l {
  11022. return io.ErrUnexpectedEOF
  11023. }
  11024. b := dAtA[iNdEx]
  11025. iNdEx++
  11026. stringLen |= (uint64(b) & 0x7F) << shift
  11027. if b < 0x80 {
  11028. break
  11029. }
  11030. }
  11031. intStringLen := int(stringLen)
  11032. if intStringLen < 0 {
  11033. return ErrInvalidLengthGenerated
  11034. }
  11035. postIndex := iNdEx + intStringLen
  11036. if postIndex > l {
  11037. return io.ErrUnexpectedEOF
  11038. }
  11039. m.Rule = RunAsGroupStrategy(dAtA[iNdEx:postIndex])
  11040. iNdEx = postIndex
  11041. case 2:
  11042. if wireType != 2 {
  11043. return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
  11044. }
  11045. var msglen int
  11046. for shift := uint(0); ; shift += 7 {
  11047. if shift >= 64 {
  11048. return ErrIntOverflowGenerated
  11049. }
  11050. if iNdEx >= l {
  11051. return io.ErrUnexpectedEOF
  11052. }
  11053. b := dAtA[iNdEx]
  11054. iNdEx++
  11055. msglen |= (int(b) & 0x7F) << shift
  11056. if b < 0x80 {
  11057. break
  11058. }
  11059. }
  11060. if msglen < 0 {
  11061. return ErrInvalidLengthGenerated
  11062. }
  11063. postIndex := iNdEx + msglen
  11064. if postIndex > l {
  11065. return io.ErrUnexpectedEOF
  11066. }
  11067. m.Ranges = append(m.Ranges, IDRange{})
  11068. if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  11069. return err
  11070. }
  11071. iNdEx = postIndex
  11072. default:
  11073. iNdEx = preIndex
  11074. skippy, err := skipGenerated(dAtA[iNdEx:])
  11075. if err != nil {
  11076. return err
  11077. }
  11078. if skippy < 0 {
  11079. return ErrInvalidLengthGenerated
  11080. }
  11081. if (iNdEx + skippy) > l {
  11082. return io.ErrUnexpectedEOF
  11083. }
  11084. iNdEx += skippy
  11085. }
  11086. }
  11087. if iNdEx > l {
  11088. return io.ErrUnexpectedEOF
  11089. }
  11090. return nil
  11091. }
  11092. func (m *RunAsUserStrategyOptions) Unmarshal(dAtA []byte) error {
  11093. l := len(dAtA)
  11094. iNdEx := 0
  11095. for iNdEx < l {
  11096. preIndex := iNdEx
  11097. var wire uint64
  11098. for shift := uint(0); ; shift += 7 {
  11099. if shift >= 64 {
  11100. return ErrIntOverflowGenerated
  11101. }
  11102. if iNdEx >= l {
  11103. return io.ErrUnexpectedEOF
  11104. }
  11105. b := dAtA[iNdEx]
  11106. iNdEx++
  11107. wire |= (uint64(b) & 0x7F) << shift
  11108. if b < 0x80 {
  11109. break
  11110. }
  11111. }
  11112. fieldNum := int32(wire >> 3)
  11113. wireType := int(wire & 0x7)
  11114. if wireType == 4 {
  11115. return fmt.Errorf("proto: RunAsUserStrategyOptions: wiretype end group for non-group")
  11116. }
  11117. if fieldNum <= 0 {
  11118. return fmt.Errorf("proto: RunAsUserStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  11119. }
  11120. switch fieldNum {
  11121. case 1:
  11122. if wireType != 2 {
  11123. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  11124. }
  11125. var stringLen uint64
  11126. for shift := uint(0); ; shift += 7 {
  11127. if shift >= 64 {
  11128. return ErrIntOverflowGenerated
  11129. }
  11130. if iNdEx >= l {
  11131. return io.ErrUnexpectedEOF
  11132. }
  11133. b := dAtA[iNdEx]
  11134. iNdEx++
  11135. stringLen |= (uint64(b) & 0x7F) << shift
  11136. if b < 0x80 {
  11137. break
  11138. }
  11139. }
  11140. intStringLen := int(stringLen)
  11141. if intStringLen < 0 {
  11142. return ErrInvalidLengthGenerated
  11143. }
  11144. postIndex := iNdEx + intStringLen
  11145. if postIndex > l {
  11146. return io.ErrUnexpectedEOF
  11147. }
  11148. m.Rule = RunAsUserStrategy(dAtA[iNdEx:postIndex])
  11149. iNdEx = postIndex
  11150. case 2:
  11151. if wireType != 2 {
  11152. return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
  11153. }
  11154. var msglen int
  11155. for shift := uint(0); ; shift += 7 {
  11156. if shift >= 64 {
  11157. return ErrIntOverflowGenerated
  11158. }
  11159. if iNdEx >= l {
  11160. return io.ErrUnexpectedEOF
  11161. }
  11162. b := dAtA[iNdEx]
  11163. iNdEx++
  11164. msglen |= (int(b) & 0x7F) << shift
  11165. if b < 0x80 {
  11166. break
  11167. }
  11168. }
  11169. if msglen < 0 {
  11170. return ErrInvalidLengthGenerated
  11171. }
  11172. postIndex := iNdEx + msglen
  11173. if postIndex > l {
  11174. return io.ErrUnexpectedEOF
  11175. }
  11176. m.Ranges = append(m.Ranges, IDRange{})
  11177. if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  11178. return err
  11179. }
  11180. iNdEx = postIndex
  11181. default:
  11182. iNdEx = preIndex
  11183. skippy, err := skipGenerated(dAtA[iNdEx:])
  11184. if err != nil {
  11185. return err
  11186. }
  11187. if skippy < 0 {
  11188. return ErrInvalidLengthGenerated
  11189. }
  11190. if (iNdEx + skippy) > l {
  11191. return io.ErrUnexpectedEOF
  11192. }
  11193. iNdEx += skippy
  11194. }
  11195. }
  11196. if iNdEx > l {
  11197. return io.ErrUnexpectedEOF
  11198. }
  11199. return nil
  11200. }
  11201. func (m *SELinuxStrategyOptions) Unmarshal(dAtA []byte) error {
  11202. l := len(dAtA)
  11203. iNdEx := 0
  11204. for iNdEx < l {
  11205. preIndex := iNdEx
  11206. var wire uint64
  11207. for shift := uint(0); ; shift += 7 {
  11208. if shift >= 64 {
  11209. return ErrIntOverflowGenerated
  11210. }
  11211. if iNdEx >= l {
  11212. return io.ErrUnexpectedEOF
  11213. }
  11214. b := dAtA[iNdEx]
  11215. iNdEx++
  11216. wire |= (uint64(b) & 0x7F) << shift
  11217. if b < 0x80 {
  11218. break
  11219. }
  11220. }
  11221. fieldNum := int32(wire >> 3)
  11222. wireType := int(wire & 0x7)
  11223. if wireType == 4 {
  11224. return fmt.Errorf("proto: SELinuxStrategyOptions: wiretype end group for non-group")
  11225. }
  11226. if fieldNum <= 0 {
  11227. return fmt.Errorf("proto: SELinuxStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  11228. }
  11229. switch fieldNum {
  11230. case 1:
  11231. if wireType != 2 {
  11232. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  11233. }
  11234. var stringLen uint64
  11235. for shift := uint(0); ; shift += 7 {
  11236. if shift >= 64 {
  11237. return ErrIntOverflowGenerated
  11238. }
  11239. if iNdEx >= l {
  11240. return io.ErrUnexpectedEOF
  11241. }
  11242. b := dAtA[iNdEx]
  11243. iNdEx++
  11244. stringLen |= (uint64(b) & 0x7F) << shift
  11245. if b < 0x80 {
  11246. break
  11247. }
  11248. }
  11249. intStringLen := int(stringLen)
  11250. if intStringLen < 0 {
  11251. return ErrInvalidLengthGenerated
  11252. }
  11253. postIndex := iNdEx + intStringLen
  11254. if postIndex > l {
  11255. return io.ErrUnexpectedEOF
  11256. }
  11257. m.Rule = SELinuxStrategy(dAtA[iNdEx:postIndex])
  11258. iNdEx = postIndex
  11259. case 2:
  11260. if wireType != 2 {
  11261. return fmt.Errorf("proto: wrong wireType = %d for field SELinuxOptions", wireType)
  11262. }
  11263. var msglen int
  11264. for shift := uint(0); ; shift += 7 {
  11265. if shift >= 64 {
  11266. return ErrIntOverflowGenerated
  11267. }
  11268. if iNdEx >= l {
  11269. return io.ErrUnexpectedEOF
  11270. }
  11271. b := dAtA[iNdEx]
  11272. iNdEx++
  11273. msglen |= (int(b) & 0x7F) << shift
  11274. if b < 0x80 {
  11275. break
  11276. }
  11277. }
  11278. if msglen < 0 {
  11279. return ErrInvalidLengthGenerated
  11280. }
  11281. postIndex := iNdEx + msglen
  11282. if postIndex > l {
  11283. return io.ErrUnexpectedEOF
  11284. }
  11285. if m.SELinuxOptions == nil {
  11286. m.SELinuxOptions = &k8s_io_api_core_v1.SELinuxOptions{}
  11287. }
  11288. if err := m.SELinuxOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  11289. return err
  11290. }
  11291. iNdEx = postIndex
  11292. default:
  11293. iNdEx = preIndex
  11294. skippy, err := skipGenerated(dAtA[iNdEx:])
  11295. if err != nil {
  11296. return err
  11297. }
  11298. if skippy < 0 {
  11299. return ErrInvalidLengthGenerated
  11300. }
  11301. if (iNdEx + skippy) > l {
  11302. return io.ErrUnexpectedEOF
  11303. }
  11304. iNdEx += skippy
  11305. }
  11306. }
  11307. if iNdEx > l {
  11308. return io.ErrUnexpectedEOF
  11309. }
  11310. return nil
  11311. }
  11312. func (m *Scale) Unmarshal(dAtA []byte) error {
  11313. l := len(dAtA)
  11314. iNdEx := 0
  11315. for iNdEx < l {
  11316. preIndex := iNdEx
  11317. var wire uint64
  11318. for shift := uint(0); ; shift += 7 {
  11319. if shift >= 64 {
  11320. return ErrIntOverflowGenerated
  11321. }
  11322. if iNdEx >= l {
  11323. return io.ErrUnexpectedEOF
  11324. }
  11325. b := dAtA[iNdEx]
  11326. iNdEx++
  11327. wire |= (uint64(b) & 0x7F) << shift
  11328. if b < 0x80 {
  11329. break
  11330. }
  11331. }
  11332. fieldNum := int32(wire >> 3)
  11333. wireType := int(wire & 0x7)
  11334. if wireType == 4 {
  11335. return fmt.Errorf("proto: Scale: wiretype end group for non-group")
  11336. }
  11337. if fieldNum <= 0 {
  11338. return fmt.Errorf("proto: Scale: illegal tag %d (wire type %d)", fieldNum, wire)
  11339. }
  11340. switch fieldNum {
  11341. case 1:
  11342. if wireType != 2 {
  11343. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  11344. }
  11345. var msglen int
  11346. for shift := uint(0); ; shift += 7 {
  11347. if shift >= 64 {
  11348. return ErrIntOverflowGenerated
  11349. }
  11350. if iNdEx >= l {
  11351. return io.ErrUnexpectedEOF
  11352. }
  11353. b := dAtA[iNdEx]
  11354. iNdEx++
  11355. msglen |= (int(b) & 0x7F) << shift
  11356. if b < 0x80 {
  11357. break
  11358. }
  11359. }
  11360. if msglen < 0 {
  11361. return ErrInvalidLengthGenerated
  11362. }
  11363. postIndex := iNdEx + msglen
  11364. if postIndex > l {
  11365. return io.ErrUnexpectedEOF
  11366. }
  11367. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  11368. return err
  11369. }
  11370. iNdEx = postIndex
  11371. case 2:
  11372. if wireType != 2 {
  11373. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  11374. }
  11375. var msglen int
  11376. for shift := uint(0); ; shift += 7 {
  11377. if shift >= 64 {
  11378. return ErrIntOverflowGenerated
  11379. }
  11380. if iNdEx >= l {
  11381. return io.ErrUnexpectedEOF
  11382. }
  11383. b := dAtA[iNdEx]
  11384. iNdEx++
  11385. msglen |= (int(b) & 0x7F) << shift
  11386. if b < 0x80 {
  11387. break
  11388. }
  11389. }
  11390. if msglen < 0 {
  11391. return ErrInvalidLengthGenerated
  11392. }
  11393. postIndex := iNdEx + msglen
  11394. if postIndex > l {
  11395. return io.ErrUnexpectedEOF
  11396. }
  11397. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  11398. return err
  11399. }
  11400. iNdEx = postIndex
  11401. case 3:
  11402. if wireType != 2 {
  11403. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  11404. }
  11405. var msglen int
  11406. for shift := uint(0); ; shift += 7 {
  11407. if shift >= 64 {
  11408. return ErrIntOverflowGenerated
  11409. }
  11410. if iNdEx >= l {
  11411. return io.ErrUnexpectedEOF
  11412. }
  11413. b := dAtA[iNdEx]
  11414. iNdEx++
  11415. msglen |= (int(b) & 0x7F) << shift
  11416. if b < 0x80 {
  11417. break
  11418. }
  11419. }
  11420. if msglen < 0 {
  11421. return ErrInvalidLengthGenerated
  11422. }
  11423. postIndex := iNdEx + msglen
  11424. if postIndex > l {
  11425. return io.ErrUnexpectedEOF
  11426. }
  11427. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  11428. return err
  11429. }
  11430. iNdEx = postIndex
  11431. default:
  11432. iNdEx = preIndex
  11433. skippy, err := skipGenerated(dAtA[iNdEx:])
  11434. if err != nil {
  11435. return err
  11436. }
  11437. if skippy < 0 {
  11438. return ErrInvalidLengthGenerated
  11439. }
  11440. if (iNdEx + skippy) > l {
  11441. return io.ErrUnexpectedEOF
  11442. }
  11443. iNdEx += skippy
  11444. }
  11445. }
  11446. if iNdEx > l {
  11447. return io.ErrUnexpectedEOF
  11448. }
  11449. return nil
  11450. }
  11451. func (m *ScaleSpec) Unmarshal(dAtA []byte) error {
  11452. l := len(dAtA)
  11453. iNdEx := 0
  11454. for iNdEx < l {
  11455. preIndex := iNdEx
  11456. var wire uint64
  11457. for shift := uint(0); ; shift += 7 {
  11458. if shift >= 64 {
  11459. return ErrIntOverflowGenerated
  11460. }
  11461. if iNdEx >= l {
  11462. return io.ErrUnexpectedEOF
  11463. }
  11464. b := dAtA[iNdEx]
  11465. iNdEx++
  11466. wire |= (uint64(b) & 0x7F) << shift
  11467. if b < 0x80 {
  11468. break
  11469. }
  11470. }
  11471. fieldNum := int32(wire >> 3)
  11472. wireType := int(wire & 0x7)
  11473. if wireType == 4 {
  11474. return fmt.Errorf("proto: ScaleSpec: wiretype end group for non-group")
  11475. }
  11476. if fieldNum <= 0 {
  11477. return fmt.Errorf("proto: ScaleSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  11478. }
  11479. switch fieldNum {
  11480. case 1:
  11481. if wireType != 0 {
  11482. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  11483. }
  11484. m.Replicas = 0
  11485. for shift := uint(0); ; shift += 7 {
  11486. if shift >= 64 {
  11487. return ErrIntOverflowGenerated
  11488. }
  11489. if iNdEx >= l {
  11490. return io.ErrUnexpectedEOF
  11491. }
  11492. b := dAtA[iNdEx]
  11493. iNdEx++
  11494. m.Replicas |= (int32(b) & 0x7F) << shift
  11495. if b < 0x80 {
  11496. break
  11497. }
  11498. }
  11499. default:
  11500. iNdEx = preIndex
  11501. skippy, err := skipGenerated(dAtA[iNdEx:])
  11502. if err != nil {
  11503. return err
  11504. }
  11505. if skippy < 0 {
  11506. return ErrInvalidLengthGenerated
  11507. }
  11508. if (iNdEx + skippy) > l {
  11509. return io.ErrUnexpectedEOF
  11510. }
  11511. iNdEx += skippy
  11512. }
  11513. }
  11514. if iNdEx > l {
  11515. return io.ErrUnexpectedEOF
  11516. }
  11517. return nil
  11518. }
  11519. func (m *ScaleStatus) Unmarshal(dAtA []byte) error {
  11520. l := len(dAtA)
  11521. iNdEx := 0
  11522. for iNdEx < l {
  11523. preIndex := iNdEx
  11524. var wire uint64
  11525. for shift := uint(0); ; shift += 7 {
  11526. if shift >= 64 {
  11527. return ErrIntOverflowGenerated
  11528. }
  11529. if iNdEx >= l {
  11530. return io.ErrUnexpectedEOF
  11531. }
  11532. b := dAtA[iNdEx]
  11533. iNdEx++
  11534. wire |= (uint64(b) & 0x7F) << shift
  11535. if b < 0x80 {
  11536. break
  11537. }
  11538. }
  11539. fieldNum := int32(wire >> 3)
  11540. wireType := int(wire & 0x7)
  11541. if wireType == 4 {
  11542. return fmt.Errorf("proto: ScaleStatus: wiretype end group for non-group")
  11543. }
  11544. if fieldNum <= 0 {
  11545. return fmt.Errorf("proto: ScaleStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  11546. }
  11547. switch fieldNum {
  11548. case 1:
  11549. if wireType != 0 {
  11550. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  11551. }
  11552. m.Replicas = 0
  11553. for shift := uint(0); ; shift += 7 {
  11554. if shift >= 64 {
  11555. return ErrIntOverflowGenerated
  11556. }
  11557. if iNdEx >= l {
  11558. return io.ErrUnexpectedEOF
  11559. }
  11560. b := dAtA[iNdEx]
  11561. iNdEx++
  11562. m.Replicas |= (int32(b) & 0x7F) << shift
  11563. if b < 0x80 {
  11564. break
  11565. }
  11566. }
  11567. case 2:
  11568. if wireType != 2 {
  11569. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  11570. }
  11571. var msglen int
  11572. for shift := uint(0); ; shift += 7 {
  11573. if shift >= 64 {
  11574. return ErrIntOverflowGenerated
  11575. }
  11576. if iNdEx >= l {
  11577. return io.ErrUnexpectedEOF
  11578. }
  11579. b := dAtA[iNdEx]
  11580. iNdEx++
  11581. msglen |= (int(b) & 0x7F) << shift
  11582. if b < 0x80 {
  11583. break
  11584. }
  11585. }
  11586. if msglen < 0 {
  11587. return ErrInvalidLengthGenerated
  11588. }
  11589. postIndex := iNdEx + msglen
  11590. if postIndex > l {
  11591. return io.ErrUnexpectedEOF
  11592. }
  11593. if m.Selector == nil {
  11594. m.Selector = make(map[string]string)
  11595. }
  11596. var mapkey string
  11597. var mapvalue string
  11598. for iNdEx < postIndex {
  11599. entryPreIndex := iNdEx
  11600. var wire uint64
  11601. for shift := uint(0); ; shift += 7 {
  11602. if shift >= 64 {
  11603. return ErrIntOverflowGenerated
  11604. }
  11605. if iNdEx >= l {
  11606. return io.ErrUnexpectedEOF
  11607. }
  11608. b := dAtA[iNdEx]
  11609. iNdEx++
  11610. wire |= (uint64(b) & 0x7F) << shift
  11611. if b < 0x80 {
  11612. break
  11613. }
  11614. }
  11615. fieldNum := int32(wire >> 3)
  11616. if fieldNum == 1 {
  11617. var stringLenmapkey uint64
  11618. for shift := uint(0); ; shift += 7 {
  11619. if shift >= 64 {
  11620. return ErrIntOverflowGenerated
  11621. }
  11622. if iNdEx >= l {
  11623. return io.ErrUnexpectedEOF
  11624. }
  11625. b := dAtA[iNdEx]
  11626. iNdEx++
  11627. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  11628. if b < 0x80 {
  11629. break
  11630. }
  11631. }
  11632. intStringLenmapkey := int(stringLenmapkey)
  11633. if intStringLenmapkey < 0 {
  11634. return ErrInvalidLengthGenerated
  11635. }
  11636. postStringIndexmapkey := iNdEx + intStringLenmapkey
  11637. if postStringIndexmapkey > l {
  11638. return io.ErrUnexpectedEOF
  11639. }
  11640. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  11641. iNdEx = postStringIndexmapkey
  11642. } else if fieldNum == 2 {
  11643. var stringLenmapvalue uint64
  11644. for shift := uint(0); ; shift += 7 {
  11645. if shift >= 64 {
  11646. return ErrIntOverflowGenerated
  11647. }
  11648. if iNdEx >= l {
  11649. return io.ErrUnexpectedEOF
  11650. }
  11651. b := dAtA[iNdEx]
  11652. iNdEx++
  11653. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  11654. if b < 0x80 {
  11655. break
  11656. }
  11657. }
  11658. intStringLenmapvalue := int(stringLenmapvalue)
  11659. if intStringLenmapvalue < 0 {
  11660. return ErrInvalidLengthGenerated
  11661. }
  11662. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  11663. if postStringIndexmapvalue > l {
  11664. return io.ErrUnexpectedEOF
  11665. }
  11666. mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  11667. iNdEx = postStringIndexmapvalue
  11668. } else {
  11669. iNdEx = entryPreIndex
  11670. skippy, err := skipGenerated(dAtA[iNdEx:])
  11671. if err != nil {
  11672. return err
  11673. }
  11674. if skippy < 0 {
  11675. return ErrInvalidLengthGenerated
  11676. }
  11677. if (iNdEx + skippy) > postIndex {
  11678. return io.ErrUnexpectedEOF
  11679. }
  11680. iNdEx += skippy
  11681. }
  11682. }
  11683. m.Selector[mapkey] = mapvalue
  11684. iNdEx = postIndex
  11685. case 3:
  11686. if wireType != 2 {
  11687. return fmt.Errorf("proto: wrong wireType = %d for field TargetSelector", wireType)
  11688. }
  11689. var stringLen uint64
  11690. for shift := uint(0); ; shift += 7 {
  11691. if shift >= 64 {
  11692. return ErrIntOverflowGenerated
  11693. }
  11694. if iNdEx >= l {
  11695. return io.ErrUnexpectedEOF
  11696. }
  11697. b := dAtA[iNdEx]
  11698. iNdEx++
  11699. stringLen |= (uint64(b) & 0x7F) << shift
  11700. if b < 0x80 {
  11701. break
  11702. }
  11703. }
  11704. intStringLen := int(stringLen)
  11705. if intStringLen < 0 {
  11706. return ErrInvalidLengthGenerated
  11707. }
  11708. postIndex := iNdEx + intStringLen
  11709. if postIndex > l {
  11710. return io.ErrUnexpectedEOF
  11711. }
  11712. m.TargetSelector = string(dAtA[iNdEx:postIndex])
  11713. iNdEx = postIndex
  11714. default:
  11715. iNdEx = preIndex
  11716. skippy, err := skipGenerated(dAtA[iNdEx:])
  11717. if err != nil {
  11718. return err
  11719. }
  11720. if skippy < 0 {
  11721. return ErrInvalidLengthGenerated
  11722. }
  11723. if (iNdEx + skippy) > l {
  11724. return io.ErrUnexpectedEOF
  11725. }
  11726. iNdEx += skippy
  11727. }
  11728. }
  11729. if iNdEx > l {
  11730. return io.ErrUnexpectedEOF
  11731. }
  11732. return nil
  11733. }
  11734. func (m *SupplementalGroupsStrategyOptions) Unmarshal(dAtA []byte) error {
  11735. l := len(dAtA)
  11736. iNdEx := 0
  11737. for iNdEx < l {
  11738. preIndex := iNdEx
  11739. var wire uint64
  11740. for shift := uint(0); ; shift += 7 {
  11741. if shift >= 64 {
  11742. return ErrIntOverflowGenerated
  11743. }
  11744. if iNdEx >= l {
  11745. return io.ErrUnexpectedEOF
  11746. }
  11747. b := dAtA[iNdEx]
  11748. iNdEx++
  11749. wire |= (uint64(b) & 0x7F) << shift
  11750. if b < 0x80 {
  11751. break
  11752. }
  11753. }
  11754. fieldNum := int32(wire >> 3)
  11755. wireType := int(wire & 0x7)
  11756. if wireType == 4 {
  11757. return fmt.Errorf("proto: SupplementalGroupsStrategyOptions: wiretype end group for non-group")
  11758. }
  11759. if fieldNum <= 0 {
  11760. return fmt.Errorf("proto: SupplementalGroupsStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
  11761. }
  11762. switch fieldNum {
  11763. case 1:
  11764. if wireType != 2 {
  11765. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  11766. }
  11767. var stringLen uint64
  11768. for shift := uint(0); ; shift += 7 {
  11769. if shift >= 64 {
  11770. return ErrIntOverflowGenerated
  11771. }
  11772. if iNdEx >= l {
  11773. return io.ErrUnexpectedEOF
  11774. }
  11775. b := dAtA[iNdEx]
  11776. iNdEx++
  11777. stringLen |= (uint64(b) & 0x7F) << shift
  11778. if b < 0x80 {
  11779. break
  11780. }
  11781. }
  11782. intStringLen := int(stringLen)
  11783. if intStringLen < 0 {
  11784. return ErrInvalidLengthGenerated
  11785. }
  11786. postIndex := iNdEx + intStringLen
  11787. if postIndex > l {
  11788. return io.ErrUnexpectedEOF
  11789. }
  11790. m.Rule = SupplementalGroupsStrategyType(dAtA[iNdEx:postIndex])
  11791. iNdEx = postIndex
  11792. case 2:
  11793. if wireType != 2 {
  11794. return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
  11795. }
  11796. var msglen int
  11797. for shift := uint(0); ; shift += 7 {
  11798. if shift >= 64 {
  11799. return ErrIntOverflowGenerated
  11800. }
  11801. if iNdEx >= l {
  11802. return io.ErrUnexpectedEOF
  11803. }
  11804. b := dAtA[iNdEx]
  11805. iNdEx++
  11806. msglen |= (int(b) & 0x7F) << shift
  11807. if b < 0x80 {
  11808. break
  11809. }
  11810. }
  11811. if msglen < 0 {
  11812. return ErrInvalidLengthGenerated
  11813. }
  11814. postIndex := iNdEx + msglen
  11815. if postIndex > l {
  11816. return io.ErrUnexpectedEOF
  11817. }
  11818. m.Ranges = append(m.Ranges, IDRange{})
  11819. if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  11820. return err
  11821. }
  11822. iNdEx = postIndex
  11823. default:
  11824. iNdEx = preIndex
  11825. skippy, err := skipGenerated(dAtA[iNdEx:])
  11826. if err != nil {
  11827. return err
  11828. }
  11829. if skippy < 0 {
  11830. return ErrInvalidLengthGenerated
  11831. }
  11832. if (iNdEx + skippy) > l {
  11833. return io.ErrUnexpectedEOF
  11834. }
  11835. iNdEx += skippy
  11836. }
  11837. }
  11838. if iNdEx > l {
  11839. return io.ErrUnexpectedEOF
  11840. }
  11841. return nil
  11842. }
  11843. func skipGenerated(dAtA []byte) (n int, err error) {
  11844. l := len(dAtA)
  11845. iNdEx := 0
  11846. for iNdEx < l {
  11847. var wire uint64
  11848. for shift := uint(0); ; shift += 7 {
  11849. if shift >= 64 {
  11850. return 0, ErrIntOverflowGenerated
  11851. }
  11852. if iNdEx >= l {
  11853. return 0, io.ErrUnexpectedEOF
  11854. }
  11855. b := dAtA[iNdEx]
  11856. iNdEx++
  11857. wire |= (uint64(b) & 0x7F) << shift
  11858. if b < 0x80 {
  11859. break
  11860. }
  11861. }
  11862. wireType := int(wire & 0x7)
  11863. switch wireType {
  11864. case 0:
  11865. for shift := uint(0); ; shift += 7 {
  11866. if shift >= 64 {
  11867. return 0, ErrIntOverflowGenerated
  11868. }
  11869. if iNdEx >= l {
  11870. return 0, io.ErrUnexpectedEOF
  11871. }
  11872. iNdEx++
  11873. if dAtA[iNdEx-1] < 0x80 {
  11874. break
  11875. }
  11876. }
  11877. return iNdEx, nil
  11878. case 1:
  11879. iNdEx += 8
  11880. return iNdEx, nil
  11881. case 2:
  11882. var length int
  11883. for shift := uint(0); ; shift += 7 {
  11884. if shift >= 64 {
  11885. return 0, ErrIntOverflowGenerated
  11886. }
  11887. if iNdEx >= l {
  11888. return 0, io.ErrUnexpectedEOF
  11889. }
  11890. b := dAtA[iNdEx]
  11891. iNdEx++
  11892. length |= (int(b) & 0x7F) << shift
  11893. if b < 0x80 {
  11894. break
  11895. }
  11896. }
  11897. iNdEx += length
  11898. if length < 0 {
  11899. return 0, ErrInvalidLengthGenerated
  11900. }
  11901. return iNdEx, nil
  11902. case 3:
  11903. for {
  11904. var innerWire uint64
  11905. var start int = iNdEx
  11906. for shift := uint(0); ; shift += 7 {
  11907. if shift >= 64 {
  11908. return 0, ErrIntOverflowGenerated
  11909. }
  11910. if iNdEx >= l {
  11911. return 0, io.ErrUnexpectedEOF
  11912. }
  11913. b := dAtA[iNdEx]
  11914. iNdEx++
  11915. innerWire |= (uint64(b) & 0x7F) << shift
  11916. if b < 0x80 {
  11917. break
  11918. }
  11919. }
  11920. innerWireType := int(innerWire & 0x7)
  11921. if innerWireType == 4 {
  11922. break
  11923. }
  11924. next, err := skipGenerated(dAtA[start:])
  11925. if err != nil {
  11926. return 0, err
  11927. }
  11928. iNdEx = start + next
  11929. }
  11930. return iNdEx, nil
  11931. case 4:
  11932. return iNdEx, nil
  11933. case 5:
  11934. iNdEx += 4
  11935. return iNdEx, nil
  11936. default:
  11937. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  11938. }
  11939. }
  11940. panic("unreachable")
  11941. }
  11942. var (
  11943. ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
  11944. ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
  11945. )
  11946. func init() {
  11947. proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/extensions/v1beta1/generated.proto", fileDescriptorGenerated)
  11948. }
  11949. var fileDescriptorGenerated = []byte{
  11950. // 3622 bytes of a gzipped FileDescriptorProto
  11951. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0xcd, 0x6f, 0x1c, 0x47,
  11952. 0x76, 0x57, 0xcf, 0x0c, 0x39, 0xc3, 0x47, 0xf1, 0xab, 0x48, 0x91, 0x63, 0xc9, 0xe2, 0xc8, 0x6d,
  11953. 0x40, 0x91, 0x1d, 0x69, 0xc6, 0x92, 0x25, 0x59, 0xb1, 0x10, 0xdb, 0x1c, 0x52, 0x94, 0xe8, 0xf0,
  11954. 0x63, 0x5c, 0x43, 0x2a, 0x86, 0x11, 0x3b, 0x6e, 0xce, 0x14, 0x87, 0x2d, 0xf6, 0x74, 0xb7, 0xbb,
  11955. 0x6b, 0x68, 0x0e, 0x90, 0x43, 0x0e, 0x41, 0x80, 0x00, 0x09, 0x92, 0x8b, 0x93, 0x1c, 0x63, 0x04,
  11956. 0xc8, 0x29, 0x41, 0x72, 0xcb, 0x1e, 0x0c, 0x03, 0x0b, 0x78, 0x01, 0x61, 0xe1, 0x05, 0x7c, 0x5b,
  11957. 0x9f, 0x88, 0x35, 0x7d, 0x5a, 0xec, 0x3f, 0xb0, 0xd0, 0x61, 0x77, 0x51, 0xd5, 0xd5, 0xdf, 0xdd,
  11958. 0x9a, 0x26, 0x2d, 0x11, 0x8b, 0xc5, 0xde, 0x38, 0xf5, 0xde, 0xfb, 0xbd, 0x57, 0x55, 0xaf, 0xde,
  11959. 0x7b, 0x5d, 0xf5, 0x08, 0xcb, 0x7b, 0x77, 0xec, 0xaa, 0x6a, 0xd4, 0xf6, 0x7a, 0xdb, 0xc4, 0xd2,
  11960. 0x09, 0x25, 0x76, 0x6d, 0x9f, 0xe8, 0x6d, 0xc3, 0xaa, 0x09, 0x82, 0x62, 0xaa, 0x35, 0x72, 0x40,
  11961. 0x89, 0x6e, 0xab, 0x86, 0x6e, 0xd7, 0xf6, 0xaf, 0x6f, 0x13, 0xaa, 0x5c, 0xaf, 0x75, 0x88, 0x4e,
  11962. 0x2c, 0x85, 0x92, 0x76, 0xd5, 0xb4, 0x0c, 0x6a, 0xa0, 0x8b, 0x0e, 0x7b, 0x55, 0x31, 0xd5, 0xaa,
  11963. 0xcf, 0x5e, 0x15, 0xec, 0xe7, 0xaf, 0x75, 0x54, 0xba, 0xdb, 0xdb, 0xae, 0xb6, 0x8c, 0x6e, 0xad,
  11964. 0x63, 0x74, 0x8c, 0x1a, 0x97, 0xda, 0xee, 0xed, 0xf0, 0x5f, 0xfc, 0x07, 0xff, 0xcb, 0x41, 0x3b,
  11965. 0x2f, 0x07, 0x94, 0xb7, 0x0c, 0x8b, 0xd4, 0xf6, 0x63, 0x1a, 0xcf, 0xdf, 0xf4, 0x79, 0xba, 0x4a,
  11966. 0x6b, 0x57, 0xd5, 0x89, 0xd5, 0xaf, 0x99, 0x7b, 0x1d, 0x36, 0x60, 0xd7, 0xba, 0x84, 0x2a, 0x49,
  11967. 0x52, 0xb5, 0x34, 0x29, 0xab, 0xa7, 0x53, 0xb5, 0x4b, 0x62, 0x02, 0xb7, 0x07, 0x09, 0xd8, 0xad,
  11968. 0x5d, 0xd2, 0x55, 0x62, 0x72, 0xaf, 0xa7, 0xc9, 0xf5, 0xa8, 0xaa, 0xd5, 0x54, 0x9d, 0xda, 0xd4,
  11969. 0x8a, 0x0a, 0xc9, 0x37, 0x61, 0x72, 0x41, 0xd3, 0x8c, 0x4f, 0x49, 0x7b, 0xb1, 0xb9, 0xb2, 0x64,
  11970. 0xa9, 0xfb, 0xc4, 0x42, 0x97, 0xa0, 0xa0, 0x2b, 0x5d, 0x52, 0x96, 0x2e, 0x49, 0x57, 0x46, 0xea,
  11971. 0x67, 0x1f, 0x1f, 0x56, 0xce, 0x1c, 0x1d, 0x56, 0x0a, 0xeb, 0x4a, 0x97, 0x60, 0x4e, 0x91, 0xef,
  11972. 0xc2, 0x94, 0x90, 0x5a, 0xd6, 0xc8, 0xc1, 0x43, 0x43, 0xeb, 0x75, 0x09, 0xba, 0x0c, 0xc3, 0x6d,
  11973. 0x0e, 0x20, 0x04, 0xc7, 0x85, 0xe0, 0xb0, 0x03, 0x8b, 0x05, 0x55, 0xb6, 0x61, 0x42, 0x08, 0x3f,
  11974. 0x30, 0x6c, 0xda, 0x50, 0xe8, 0x2e, 0xba, 0x01, 0x60, 0x2a, 0x74, 0xb7, 0x61, 0x91, 0x1d, 0xf5,
  11975. 0x40, 0x88, 0x23, 0x21, 0x0e, 0x0d, 0x8f, 0x82, 0x03, 0x5c, 0xe8, 0x2a, 0x94, 0x2c, 0xa2, 0xb4,
  11976. 0x37, 0x74, 0xad, 0x5f, 0xce, 0x5d, 0x92, 0xae, 0x94, 0xea, 0x93, 0x42, 0xa2, 0x84, 0xc5, 0x38,
  11977. 0xf6, 0x38, 0xe4, 0xcf, 0x72, 0x30, 0xb2, 0xa4, 0x90, 0xae, 0xa1, 0x37, 0x09, 0x45, 0x1f, 0x43,
  11978. 0x89, 0x6d, 0x57, 0x5b, 0xa1, 0x0a, 0xd7, 0x36, 0x7a, 0xe3, 0xb5, 0xaa, 0xef, 0x4e, 0xde, 0xea,
  11979. 0x55, 0xcd, 0xbd, 0x0e, 0x1b, 0xb0, 0xab, 0x8c, 0xbb, 0xba, 0x7f, 0xbd, 0xba, 0xb1, 0xfd, 0x88,
  11980. 0xb4, 0xe8, 0x1a, 0xa1, 0x8a, 0x6f, 0x9f, 0x3f, 0x86, 0x3d, 0x54, 0xb4, 0x0e, 0x05, 0xdb, 0x24,
  11981. 0x2d, 0x6e, 0xd9, 0xe8, 0x8d, 0xab, 0xd5, 0xa7, 0x3a, 0x6b, 0xd5, 0xb3, 0xac, 0x69, 0x92, 0x96,
  11982. 0xbf, 0xe2, 0xec, 0x17, 0xe6, 0x38, 0xe8, 0x21, 0x0c, 0xdb, 0x54, 0xa1, 0x3d, 0xbb, 0x9c, 0xe7,
  11983. 0x88, 0xd5, 0xcc, 0x88, 0x5c, 0xca, 0xdf, 0x0c, 0xe7, 0x37, 0x16, 0x68, 0xf2, 0x2f, 0x73, 0x80,
  11984. 0x3c, 0xde, 0x45, 0x43, 0x6f, 0xab, 0x54, 0x35, 0x74, 0xf4, 0x26, 0x14, 0x68, 0xdf, 0x74, 0x5d,
  11985. 0xe0, 0xb2, 0x6b, 0xd0, 0x66, 0xdf, 0x24, 0x4f, 0x0e, 0x2b, 0xb3, 0x71, 0x09, 0x46, 0xc1, 0x5c,
  11986. 0x06, 0xad, 0x7a, 0xa6, 0xe6, 0xb8, 0xf4, 0xcd, 0xb0, 0xea, 0x27, 0x87, 0x95, 0x84, 0xc3, 0x56,
  11987. 0xf5, 0x90, 0xc2, 0x06, 0xa2, 0x7d, 0x40, 0x9a, 0x62, 0xd3, 0x4d, 0x4b, 0xd1, 0x6d, 0x47, 0x93,
  11988. 0xda, 0x25, 0x62, 0x11, 0x5e, 0xcd, 0xb6, 0x69, 0x4c, 0xa2, 0x7e, 0x5e, 0x58, 0x81, 0x56, 0x63,
  11989. 0x68, 0x38, 0x41, 0x03, 0xf3, 0x66, 0x8b, 0x28, 0xb6, 0xa1, 0x97, 0x0b, 0x61, 0x6f, 0xc6, 0x7c,
  11990. 0x14, 0x0b, 0x2a, 0x7a, 0x05, 0x8a, 0x5d, 0x62, 0xdb, 0x4a, 0x87, 0x94, 0x87, 0x38, 0xe3, 0x84,
  11991. 0x60, 0x2c, 0xae, 0x39, 0xc3, 0xd8, 0xa5, 0xcb, 0x5f, 0x48, 0x30, 0xe6, 0xad, 0xdc, 0xaa, 0x6a,
  11992. 0x53, 0xf4, 0x57, 0x31, 0x3f, 0xac, 0x66, 0x9b, 0x12, 0x93, 0xe6, 0x5e, 0xe8, 0xf9, 0xbc, 0x3b,
  11993. 0x12, 0xf0, 0xc1, 0x35, 0x18, 0x52, 0x29, 0xe9, 0xb2, 0x7d, 0xc8, 0x5f, 0x19, 0xbd, 0x71, 0x25,
  11994. 0xab, 0xcb, 0xd4, 0xc7, 0x04, 0xe8, 0xd0, 0x0a, 0x13, 0xc7, 0x0e, 0x8a, 0xfc, 0xaf, 0x85, 0x80,
  11995. 0xf9, 0xcc, 0x35, 0xd1, 0x87, 0x50, 0xb2, 0x89, 0x46, 0x5a, 0xd4, 0xb0, 0x84, 0xf9, 0xaf, 0x67,
  11996. 0x34, 0x5f, 0xd9, 0x26, 0x5a, 0x53, 0x88, 0xd6, 0xcf, 0x32, 0xfb, 0xdd, 0x5f, 0xd8, 0x83, 0x44,
  11997. 0xef, 0x41, 0x89, 0x92, 0xae, 0xa9, 0x29, 0x94, 0x88, 0x73, 0xf4, 0x72, 0x70, 0x0a, 0xcc, 0x73,
  11998. 0x18, 0x58, 0xc3, 0x68, 0x6f, 0x0a, 0x36, 0x7e, 0x7c, 0xbc, 0x25, 0x71, 0x47, 0xb1, 0x07, 0x83,
  11999. 0xf6, 0x61, 0xbc, 0x67, 0xb6, 0x19, 0x27, 0x65, 0x51, 0xb0, 0xd3, 0x17, 0x9e, 0x74, 0x3b, 0xeb,
  12000. 0xda, 0x6c, 0x85, 0xa4, 0xeb, 0xb3, 0x42, 0xd7, 0x78, 0x78, 0x1c, 0x47, 0xb4, 0xa0, 0x05, 0x98,
  12001. 0xe8, 0xaa, 0x3a, 0x8b, 0x4b, 0xfd, 0x26, 0x69, 0x19, 0x7a, 0xdb, 0xe6, 0x6e, 0x35, 0x54, 0x9f,
  12002. 0x13, 0x00, 0x13, 0x6b, 0x61, 0x32, 0x8e, 0xf2, 0xa3, 0x77, 0x01, 0xb9, 0xd3, 0xb8, 0xef, 0x04,
  12003. 0x71, 0xd5, 0xd0, 0xb9, 0xcf, 0xe5, 0x7d, 0xe7, 0xde, 0x8c, 0x71, 0xe0, 0x04, 0x29, 0xb4, 0x0a,
  12004. 0x33, 0x16, 0xd9, 0x57, 0xd9, 0x1c, 0x1f, 0xa8, 0x36, 0x35, 0xac, 0xfe, 0xaa, 0xda, 0x55, 0x69,
  12005. 0x79, 0x98, 0xdb, 0x54, 0x3e, 0x3a, 0xac, 0xcc, 0xe0, 0x04, 0x3a, 0x4e, 0x94, 0x92, 0xff, 0x6d,
  12006. 0x18, 0x26, 0x22, 0xf1, 0x06, 0x3d, 0x84, 0xd9, 0x56, 0xcf, 0xb2, 0x88, 0x4e, 0xd7, 0x7b, 0xdd,
  12007. 0x6d, 0x62, 0x35, 0x5b, 0xbb, 0xa4, 0xdd, 0xd3, 0x48, 0x9b, 0x3b, 0xca, 0x50, 0x7d, 0x5e, 0x58,
  12008. 0x3c, 0xbb, 0x98, 0xc8, 0x85, 0x53, 0xa4, 0xd9, 0x2a, 0xe8, 0x7c, 0x68, 0x4d, 0xb5, 0x6d, 0x0f,
  12009. 0x33, 0xc7, 0x31, 0xbd, 0x55, 0x58, 0x8f, 0x71, 0xe0, 0x04, 0x29, 0x66, 0x63, 0x9b, 0xd8, 0xaa,
  12010. 0x45, 0xda, 0x51, 0x1b, 0xf3, 0x61, 0x1b, 0x97, 0x12, 0xb9, 0x70, 0x8a, 0x34, 0xba, 0x05, 0xa3,
  12011. 0x8e, 0x36, 0xbe, 0x7f, 0x62, 0xa3, 0xa7, 0x05, 0xd8, 0xe8, 0xba, 0x4f, 0xc2, 0x41, 0x3e, 0x36,
  12012. 0x35, 0x63, 0xdb, 0x26, 0xd6, 0x3e, 0x69, 0xa7, 0x6f, 0xf0, 0x46, 0x8c, 0x03, 0x27, 0x48, 0xb1,
  12013. 0xa9, 0x39, 0x1e, 0x18, 0x9b, 0xda, 0x70, 0x78, 0x6a, 0x5b, 0x89, 0x5c, 0x38, 0x45, 0x9a, 0xf9,
  12014. 0xb1, 0x63, 0xf2, 0xc2, 0xbe, 0xa2, 0x6a, 0xca, 0xb6, 0x46, 0xca, 0xc5, 0xb0, 0x1f, 0xaf, 0x87,
  12015. 0xc9, 0x38, 0xca, 0x8f, 0xee, 0xc3, 0x94, 0x33, 0xb4, 0xa5, 0x2b, 0x1e, 0x48, 0x89, 0x83, 0xbc,
  12016. 0x20, 0x40, 0xa6, 0xd6, 0xa3, 0x0c, 0x38, 0x2e, 0x83, 0xde, 0x84, 0xf1, 0x96, 0xa1, 0x69, 0xdc,
  12017. 0x1f, 0x17, 0x8d, 0x9e, 0x4e, 0xcb, 0x23, 0x1c, 0x05, 0xb1, 0xf3, 0xb8, 0x18, 0xa2, 0xe0, 0x08,
  12018. 0x27, 0x22, 0x00, 0x2d, 0x37, 0xe1, 0xd8, 0x65, 0xe0, 0xf1, 0xf1, 0x7a, 0xd6, 0x18, 0xe0, 0xa5,
  12019. 0x2a, 0xbf, 0x06, 0xf0, 0x86, 0x6c, 0x1c, 0x00, 0x96, 0x7f, 0x2a, 0xc1, 0x5c, 0x4a, 0xe8, 0x40,
  12020. 0x6f, 0x87, 0x52, 0xec, 0x9f, 0x46, 0x52, 0xec, 0x85, 0x14, 0xb1, 0x40, 0x9e, 0xd5, 0x61, 0xcc,
  12021. 0x62, 0xb3, 0xd2, 0x3b, 0x0e, 0x8b, 0x88, 0x91, 0xb7, 0x06, 0x4c, 0x03, 0x07, 0x65, 0xfc, 0x98,
  12022. 0x3f, 0x75, 0x74, 0x58, 0x19, 0x0b, 0xd1, 0x70, 0x18, 0x5e, 0xfe, 0xf7, 0x1c, 0xc0, 0x12, 0x31,
  12023. 0x35, 0xa3, 0xdf, 0x25, 0xfa, 0x69, 0xd4, 0x50, 0x1b, 0xa1, 0x1a, 0xea, 0xda, 0xa0, 0xed, 0xf1,
  12024. 0x4c, 0x4b, 0x2d, 0xa2, 0xfe, 0x32, 0x52, 0x44, 0xd5, 0xb2, 0x43, 0x3e, 0xbd, 0x8a, 0xfa, 0x79,
  12025. 0x1e, 0xa6, 0x7d, 0x66, 0xbf, 0x8c, 0xba, 0x1b, 0xda, 0xe3, 0x3f, 0x89, 0xec, 0xf1, 0x5c, 0x82,
  12026. 0xc8, 0x73, 0xab, 0xa3, 0x9e, 0x7d, 0x3d, 0x83, 0x1e, 0xc1, 0x38, 0x2b, 0x9c, 0x1c, 0xf7, 0xe0,
  12027. 0x65, 0xd9, 0xf0, 0xb1, 0xcb, 0x32, 0x2f, 0x81, 0xae, 0x86, 0x90, 0x70, 0x04, 0x39, 0xa5, 0x0c,
  12028. 0x2c, 0x3e, 0xef, 0x32, 0x50, 0xfe, 0x52, 0x82, 0x71, 0x7f, 0x9b, 0x4e, 0xa1, 0x68, 0x5b, 0x0f,
  12029. 0x17, 0x6d, 0xaf, 0x64, 0x76, 0xd1, 0x94, 0xaa, 0xed, 0xd7, 0xac, 0xc0, 0xf7, 0x98, 0xd8, 0x01,
  12030. 0xdf, 0x56, 0x5a, 0x7b, 0x83, 0xbf, 0xf1, 0xd0, 0x67, 0x12, 0x20, 0x91, 0x05, 0x16, 0x74, 0xdd,
  12031. 0xa0, 0x8a, 0x13, 0x2b, 0x1d, 0xb3, 0x56, 0x32, 0x9b, 0xe5, 0x6a, 0xac, 0x6e, 0xc5, 0xb0, 0xee,
  12032. 0xe9, 0xd4, 0xea, 0xfb, 0x3b, 0x12, 0x67, 0xc0, 0x09, 0x06, 0x20, 0x05, 0xc0, 0x12, 0x98, 0x9b,
  12033. 0x86, 0x38, 0xc8, 0xd7, 0x32, 0xc4, 0x3c, 0x26, 0xb0, 0x68, 0xe8, 0x3b, 0x6a, 0xc7, 0x0f, 0x3b,
  12034. 0xd8, 0x03, 0xc2, 0x01, 0xd0, 0xf3, 0xf7, 0x60, 0x2e, 0xc5, 0x5a, 0x34, 0x09, 0xf9, 0x3d, 0xd2,
  12035. 0x77, 0x96, 0x0d, 0xb3, 0x3f, 0xd1, 0x0c, 0x0c, 0xed, 0x2b, 0x5a, 0xcf, 0x09, 0xbf, 0x23, 0xd8,
  12036. 0xf9, 0xf1, 0x66, 0xee, 0x8e, 0x24, 0x7f, 0x31, 0x14, 0xf4, 0x1d, 0x5e, 0x31, 0x5f, 0x61, 0x1f,
  12037. 0xad, 0xa6, 0xa6, 0xb6, 0x14, 0x5b, 0x14, 0x42, 0x67, 0x9d, 0x0f, 0x56, 0x67, 0x0c, 0x7b, 0xd4,
  12038. 0x50, 0x6d, 0x9d, 0x7b, 0xbe, 0xb5, 0x75, 0xfe, 0xd9, 0xd4, 0xd6, 0x7f, 0x0d, 0x25, 0xdb, 0xad,
  12039. 0xaa, 0x0b, 0x1c, 0xf2, 0xfa, 0x31, 0xe2, 0xab, 0x28, 0xa8, 0x3d, 0x05, 0x5e, 0x29, 0xed, 0x81,
  12040. 0x26, 0x15, 0xd1, 0x43, 0xc7, 0x2c, 0xa2, 0x9f, 0x69, 0xe1, 0xcb, 0x62, 0xaa, 0xa9, 0xf4, 0x6c,
  12041. 0xd2, 0xe6, 0x81, 0xa8, 0xe4, 0xc7, 0xd4, 0x06, 0x1f, 0xc5, 0x82, 0x8a, 0x3e, 0x0c, 0xb9, 0x6c,
  12042. 0xe9, 0x24, 0x2e, 0x3b, 0x9e, 0xee, 0xae, 0x68, 0x0b, 0xe6, 0x4c, 0xcb, 0xe8, 0x58, 0xc4, 0xb6,
  12043. 0x97, 0x88, 0xd2, 0xd6, 0x54, 0x9d, 0xb8, 0xeb, 0xe3, 0x54, 0x44, 0x17, 0x8e, 0x0e, 0x2b, 0x73,
  12044. 0x8d, 0x64, 0x16, 0x9c, 0x26, 0x2b, 0x3f, 0x2e, 0xc0, 0x64, 0x34, 0x03, 0xa6, 0x14, 0xa9, 0xd2,
  12045. 0x89, 0x8a, 0xd4, 0xab, 0x81, 0xc3, 0xe0, 0x54, 0xf0, 0x81, 0x1b, 0x9c, 0xd8, 0x81, 0x58, 0x80,
  12046. 0x09, 0x11, 0x0d, 0x5c, 0xa2, 0x28, 0xd3, 0xbd, 0xdd, 0xdf, 0x0a, 0x93, 0x71, 0x94, 0x9f, 0x95,
  12047. 0x9e, 0x7e, 0x45, 0xe9, 0x82, 0x14, 0xc2, 0xa5, 0xe7, 0x42, 0x94, 0x01, 0xc7, 0x65, 0xd0, 0x1a,
  12048. 0x4c, 0xf7, 0xf4, 0x38, 0x94, 0xe3, 0x8d, 0x17, 0x04, 0xd4, 0xf4, 0x56, 0x9c, 0x05, 0x27, 0xc9,
  12049. 0xa1, 0x9d, 0x50, 0x35, 0x3a, 0xcc, 0x23, 0xec, 0x8d, 0xcc, 0x67, 0x27, 0x73, 0x39, 0x8a, 0xee,
  12050. 0xc2, 0x98, 0xc5, 0xbf, 0x3b, 0x5c, 0x83, 0x9d, 0xda, 0xfd, 0x9c, 0x10, 0x1b, 0xc3, 0x41, 0x22,
  12051. 0x0e, 0xf3, 0x26, 0x94, 0xdb, 0xa5, 0xac, 0xe5, 0xb6, 0xfc, 0x63, 0x29, 0x98, 0x84, 0xbc, 0x12,
  12052. 0x78, 0xd0, 0x2d, 0x53, 0x4c, 0x22, 0x50, 0x1d, 0x19, 0xc9, 0xd5, 0xef, 0xed, 0x63, 0x55, 0xbf,
  12053. 0x7e, 0xf2, 0x1c, 0x5c, 0xfe, 0x7e, 0x2e, 0xc1, 0xec, 0x72, 0xf3, 0xbe, 0x65, 0xf4, 0x4c, 0xd7,
  12054. 0x9c, 0x0d, 0xd3, 0x59, 0xd7, 0x37, 0xa0, 0x60, 0xf5, 0x34, 0x77, 0x1e, 0x2f, 0xbb, 0xf3, 0xc0,
  12055. 0x3d, 0x8d, 0xcd, 0x63, 0x3a, 0x22, 0xe5, 0x4c, 0x82, 0x09, 0xa0, 0x75, 0x18, 0xb6, 0x14, 0xbd,
  12056. 0x43, 0xdc, 0xb4, 0x7a, 0x79, 0x80, 0xf5, 0x2b, 0x4b, 0x98, 0xb1, 0x07, 0x8a, 0x37, 0x2e, 0x8d,
  12057. 0x05, 0x8a, 0xfc, 0x4f, 0x12, 0x4c, 0x3c, 0xd8, 0xdc, 0x6c, 0xac, 0xe8, 0xfc, 0x44, 0xf3, 0xbb,
  12058. 0xd5, 0x4b, 0x50, 0x30, 0x15, 0xba, 0x1b, 0xcd, 0xf4, 0x8c, 0x86, 0x39, 0x05, 0xbd, 0x0f, 0x45,
  12059. 0x16, 0x49, 0x88, 0xde, 0xce, 0x58, 0x6a, 0x0b, 0xf8, 0xba, 0x23, 0xe4, 0x57, 0x88, 0x62, 0x00,
  12060. 0xbb, 0x70, 0xf2, 0x1e, 0xcc, 0x04, 0xcc, 0x61, 0xeb, 0xf1, 0x90, 0x65, 0x47, 0xd4, 0x84, 0x21,
  12061. 0xa6, 0x99, 0xe5, 0xc0, 0x7c, 0x86, 0xcb, 0xcc, 0xc8, 0x94, 0xfc, 0x4a, 0x87, 0xfd, 0xb2, 0xb1,
  12062. 0x83, 0x25, 0xaf, 0xc1, 0x18, 0xbf, 0x50, 0x36, 0x2c, 0xca, 0x97, 0x05, 0x5d, 0x84, 0x7c, 0x57,
  12063. 0xd5, 0x45, 0x9e, 0x1d, 0x15, 0x32, 0x79, 0x96, 0x23, 0xd8, 0x38, 0x27, 0x2b, 0x07, 0x22, 0xf2,
  12064. 0xf8, 0x64, 0xe5, 0x00, 0xb3, 0x71, 0xf9, 0x3e, 0x14, 0xc5, 0x72, 0x07, 0x81, 0xf2, 0x4f, 0x07,
  12065. 0xca, 0x27, 0x00, 0x6d, 0x40, 0x71, 0xa5, 0x51, 0xd7, 0x0c, 0xa7, 0xea, 0x6a, 0xa9, 0x6d, 0x2b,
  12066. 0xba, 0x17, 0x8b, 0x2b, 0x4b, 0x18, 0x73, 0x0a, 0x92, 0x61, 0x98, 0x1c, 0xb4, 0x88, 0x49, 0xb9,
  12067. 0x47, 0x8c, 0xd4, 0x81, 0xed, 0xf2, 0x3d, 0x3e, 0x82, 0x05, 0x45, 0xfe, 0xe7, 0x1c, 0x14, 0xc5,
  12068. 0x72, 0x9c, 0xc2, 0x57, 0xd8, 0x6a, 0xe8, 0x2b, 0xec, 0xd5, 0x6c, 0xae, 0x91, 0xfa, 0x09, 0xb6,
  12069. 0x19, 0xf9, 0x04, 0xbb, 0x9a, 0x11, 0xef, 0xe9, 0xdf, 0x5f, 0xff, 0x27, 0xc1, 0x78, 0xd8, 0x29,
  12070. 0xd1, 0x2d, 0x18, 0x65, 0x09, 0x47, 0x6d, 0x91, 0x75, 0xbf, 0xce, 0xf5, 0x2e, 0x61, 0x9a, 0x3e,
  12071. 0x09, 0x07, 0xf9, 0x50, 0xc7, 0x13, 0x63, 0x7e, 0x24, 0x26, 0x9d, 0xbe, 0xa4, 0x3d, 0xaa, 0x6a,
  12072. 0x55, 0xe7, 0x69, 0xa5, 0xba, 0xa2, 0xd3, 0x0d, 0xab, 0x49, 0x2d, 0x55, 0xef, 0xc4, 0x14, 0x71,
  12073. 0xa7, 0x0c, 0x22, 0xcb, 0x3f, 0x92, 0x60, 0x54, 0x98, 0x7c, 0x0a, 0x5f, 0x15, 0x7f, 0x11, 0xfe,
  12074. 0xaa, 0xb8, 0x9c, 0xf1, 0x80, 0x27, 0x7f, 0x52, 0xfc, 0x97, 0x6f, 0x3a, 0x3b, 0xd2, 0xcc, 0xab,
  12075. 0x77, 0x0d, 0x9b, 0x46, 0xbd, 0x9a, 0x1d, 0x46, 0xcc, 0x29, 0xa8, 0x07, 0x93, 0x6a, 0x24, 0x06,
  12076. 0x88, 0xa5, 0xad, 0x65, 0xb3, 0xc4, 0x13, 0xab, 0x97, 0x05, 0xfc, 0x64, 0x94, 0x82, 0x63, 0x2a,
  12077. 0x64, 0x02, 0x31, 0x2e, 0xf4, 0x1e, 0x14, 0x76, 0x29, 0x35, 0x13, 0xee, 0xab, 0x07, 0x44, 0x1e,
  12078. 0xdf, 0x84, 0x12, 0x9f, 0xdd, 0xe6, 0x66, 0x03, 0x73, 0x28, 0xf9, 0x37, 0xfe, 0x7a, 0x34, 0x1d,
  12079. 0x1f, 0xf7, 0xe2, 0xa9, 0x74, 0x92, 0x78, 0x3a, 0x9a, 0x14, 0x4b, 0xd1, 0x03, 0xc8, 0x53, 0x2d,
  12080. 0xeb, 0x67, 0xa1, 0x40, 0xdc, 0x5c, 0x6d, 0xfa, 0x01, 0x69, 0x73, 0xb5, 0x89, 0x19, 0x04, 0xda,
  12081. 0x80, 0x21, 0x96, 0x7d, 0xd8, 0x11, 0xcc, 0x67, 0x3f, 0xd2, 0x6c, 0xfe, 0xbe, 0x43, 0xb0, 0x5f,
  12082. 0x36, 0x76, 0x70, 0xe4, 0x4f, 0x60, 0x2c, 0x74, 0x4e, 0xd1, 0xc7, 0x70, 0x56, 0x33, 0x94, 0x76,
  12083. 0x5d, 0xd1, 0x14, 0xbd, 0x45, 0xdc, 0xc7, 0x81, 0xcb, 0x49, 0x5f, 0x18, 0xab, 0x01, 0x3e, 0x71,
  12084. 0xca, 0x67, 0x84, 0x92, 0xb3, 0x41, 0x1a, 0x0e, 0x21, 0xca, 0x0a, 0x80, 0x3f, 0x47, 0x54, 0x81,
  12085. 0x21, 0xe6, 0x67, 0x4e, 0x3e, 0x19, 0xa9, 0x8f, 0x30, 0x0b, 0x99, 0xfb, 0xd9, 0xd8, 0x19, 0x47,
  12086. 0x37, 0x00, 0x6c, 0xd2, 0xb2, 0x08, 0xe5, 0xc1, 0x20, 0x17, 0x7e, 0x60, 0x6c, 0x7a, 0x14, 0x1c,
  12087. 0xe0, 0x92, 0x7f, 0x22, 0xc1, 0xd8, 0x3a, 0xa1, 0x9f, 0x1a, 0xd6, 0x5e, 0xc3, 0xd0, 0xd4, 0x56,
  12088. 0xff, 0x14, 0x82, 0x2d, 0x0e, 0x05, 0xdb, 0xd7, 0x06, 0xec, 0x4c, 0xc8, 0xba, 0xb4, 0x90, 0x2b,
  12089. 0x7f, 0x29, 0xc1, 0x5c, 0x88, 0xf3, 0x9e, 0x7f, 0x74, 0xb7, 0x60, 0xc8, 0x34, 0x2c, 0xea, 0x26,
  12090. 0xe2, 0x63, 0x29, 0x64, 0x61, 0x2c, 0x90, 0x8a, 0x19, 0x0c, 0x76, 0xd0, 0xd0, 0x2a, 0xe4, 0xa8,
  12091. 0x21, 0x5c, 0xf5, 0x78, 0x98, 0x84, 0x58, 0x75, 0x10, 0x98, 0xb9, 0x4d, 0x03, 0xe7, 0xa8, 0xc1,
  12092. 0x36, 0xa2, 0x1c, 0xe2, 0x0a, 0x06, 0x9f, 0xe7, 0x34, 0x03, 0x0c, 0x85, 0x1d, 0xcb, 0xe8, 0x9e,
  12093. 0x78, 0x0e, 0xde, 0x46, 0x2c, 0x5b, 0x46, 0x17, 0x73, 0x2c, 0xf9, 0x2b, 0x09, 0xa6, 0x42, 0x9c,
  12094. 0xa7, 0x10, 0xf8, 0xdf, 0x0b, 0x07, 0xfe, 0xab, 0xc7, 0x99, 0x48, 0x4a, 0xf8, 0xff, 0x2a, 0x17,
  12095. 0x99, 0x06, 0x9b, 0x30, 0xda, 0x81, 0x51, 0xd3, 0x68, 0x37, 0x9f, 0xc1, 0x73, 0xe0, 0x04, 0xcb,
  12096. 0x9b, 0x0d, 0x1f, 0x0b, 0x07, 0x81, 0xd1, 0x01, 0x4c, 0xe9, 0x4a, 0x97, 0xd8, 0xa6, 0xd2, 0x22,
  12097. 0xcd, 0x67, 0x70, 0x41, 0x72, 0x8e, 0xbf, 0x37, 0x44, 0x11, 0x71, 0x5c, 0x09, 0x5a, 0x83, 0xa2,
  12098. 0x6a, 0xf2, 0x3a, 0x4e, 0xd4, 0x2e, 0x03, 0xb3, 0xa8, 0x53, 0xf5, 0x39, 0xf1, 0x5c, 0xfc, 0xc0,
  12099. 0x2e, 0x86, 0xfc, 0xdf, 0x51, 0x6f, 0x60, 0xfe, 0x87, 0xee, 0x43, 0x89, 0x37, 0x66, 0xb4, 0x0c,
  12100. 0xcd, 0x7d, 0x19, 0x60, 0x3b, 0xdb, 0x10, 0x63, 0x4f, 0x0e, 0x2b, 0x17, 0x12, 0x2e, 0x7d, 0x5d,
  12101. 0x32, 0xf6, 0x84, 0xd1, 0x3a, 0x14, 0xcc, 0x1f, 0x52, 0xc1, 0xf0, 0x24, 0xc7, 0xcb, 0x16, 0x8e,
  12102. 0x23, 0xff, 0x5d, 0x3e, 0x62, 0x2e, 0x4f, 0x75, 0x8f, 0x9e, 0xd9, 0xae, 0x7b, 0x15, 0x53, 0xea,
  12103. 0xce, 0x6f, 0x43, 0x51, 0x64, 0x78, 0xe1, 0xcc, 0x6f, 0x1c, 0xc7, 0x99, 0x83, 0x59, 0xcc, 0xfb,
  12104. 0x60, 0x71, 0x07, 0x5d, 0x60, 0xf4, 0x11, 0x0c, 0x13, 0x47, 0x85, 0x93, 0x1b, 0x6f, 0x1f, 0x47,
  12105. 0x85, 0x1f, 0x57, 0xfd, 0x42, 0x55, 0x8c, 0x09, 0x54, 0xf4, 0x36, 0x5b, 0x2f, 0xc6, 0xcb, 0x3e,
  12106. 0x02, 0xed, 0x72, 0x81, 0xa7, 0xab, 0x8b, 0xce, 0xb4, 0xbd, 0xe1, 0x27, 0x87, 0x15, 0xf0, 0x7f,
  12107. 0xe2, 0xa0, 0x84, 0xfc, 0x33, 0x09, 0xa6, 0xf8, 0x0a, 0xb5, 0x7a, 0x96, 0x4a, 0xfb, 0xa7, 0x96,
  12108. 0x98, 0x1e, 0x86, 0x12, 0xd3, 0xcd, 0x01, 0xcb, 0x12, 0xb3, 0x30, 0x35, 0x39, 0x7d, 0x2d, 0xc1,
  12109. 0xb9, 0x18, 0xf7, 0x29, 0xc4, 0xc5, 0xad, 0x70, 0x5c, 0x7c, 0xed, 0xb8, 0x13, 0x4a, 0x89, 0x8d,
  12110. 0xbf, 0x9d, 0x4c, 0x98, 0x0e, 0x3f, 0x29, 0x37, 0x00, 0x4c, 0x4b, 0xdd, 0x57, 0x35, 0xd2, 0x11,
  12111. 0x8f, 0xe0, 0xa5, 0x40, 0x8b, 0x93, 0x47, 0xc1, 0x01, 0x2e, 0x64, 0xc3, 0x6c, 0x9b, 0xec, 0x28,
  12112. 0x3d, 0x8d, 0x2e, 0xb4, 0xdb, 0x8b, 0x8a, 0xa9, 0x6c, 0xab, 0x9a, 0x4a, 0x55, 0x71, 0x5d, 0x30,
  12113. 0x52, 0xbf, 0xeb, 0x3c, 0x4e, 0x27, 0x71, 0x3c, 0x39, 0xac, 0x5c, 0x4c, 0x7a, 0x1d, 0x72, 0x59,
  12114. 0xfa, 0x38, 0x05, 0x1a, 0xf5, 0xa1, 0x6c, 0x91, 0x4f, 0x7a, 0xaa, 0x45, 0xda, 0x4b, 0x96, 0x61,
  12115. 0x86, 0xd4, 0xe6, 0xb9, 0xda, 0x3f, 0x3f, 0x3a, 0xac, 0x94, 0x71, 0x0a, 0xcf, 0x60, 0xc5, 0xa9,
  12116. 0xf0, 0xe8, 0x11, 0x4c, 0x2b, 0xa2, 0x19, 0x2d, 0xa8, 0xd5, 0x39, 0x25, 0x77, 0x8e, 0x0e, 0x2b,
  12117. 0xd3, 0x0b, 0x71, 0xf2, 0x60, 0x85, 0x49, 0xa0, 0xa8, 0x06, 0xc5, 0x7d, 0xde, 0xb7, 0x66, 0x97,
  12118. 0x87, 0x38, 0x3e, 0x4b, 0x04, 0x45, 0xa7, 0x95, 0x8d, 0x61, 0x0e, 0x2f, 0x37, 0xf9, 0xe9, 0x73,
  12119. 0xb9, 0xd8, 0x07, 0x25, 0xab, 0x25, 0xc5, 0x89, 0xe7, 0x37, 0xc6, 0x25, 0x3f, 0x6a, 0x3d, 0xf0,
  12120. 0x49, 0x38, 0xc8, 0x87, 0x3e, 0x84, 0x91, 0x5d, 0x71, 0x2b, 0x61, 0x97, 0x8b, 0x99, 0x92, 0x70,
  12121. 0xe8, 0x16, 0xa3, 0x3e, 0x25, 0x54, 0x8c, 0xb8, 0xc3, 0x36, 0xf6, 0x11, 0xd1, 0x2b, 0x50, 0xe4,
  12122. 0x3f, 0x56, 0x96, 0xf8, 0x75, 0x5c, 0xc9, 0x8f, 0x6d, 0x0f, 0x9c, 0x61, 0xec, 0xd2, 0x5d, 0xd6,
  12123. 0x95, 0xc6, 0x22, 0xbf, 0x16, 0x8e, 0xb0, 0xae, 0x34, 0x16, 0xb1, 0x4b, 0x47, 0x1f, 0x43, 0xd1,
  12124. 0x26, 0xab, 0xaa, 0xde, 0x3b, 0x28, 0x43, 0xa6, 0x47, 0xe5, 0xe6, 0x3d, 0xce, 0x1d, 0xb9, 0x18,
  12125. 0xf3, 0x35, 0x08, 0x3a, 0x76, 0x61, 0xd1, 0x2e, 0x8c, 0x58, 0x3d, 0x7d, 0xc1, 0xde, 0xb2, 0x89,
  12126. 0x55, 0x1e, 0xe5, 0x3a, 0x06, 0x85, 0x73, 0xec, 0xf2, 0x47, 0xb5, 0x78, 0x2b, 0xe4, 0x71, 0x60,
  12127. 0x1f, 0x1c, 0xfd, 0xa3, 0x04, 0xc8, 0xee, 0x99, 0xa6, 0x46, 0xba, 0x44, 0xa7, 0x8a, 0xc6, 0xef,
  12128. 0xe2, 0xec, 0xf2, 0x59, 0xae, 0xf3, 0x9d, 0x41, 0xf3, 0x8a, 0x09, 0x46, 0x95, 0x7b, 0x97, 0xde,
  12129. 0x71, 0x56, 0x9c, 0xa0, 0x97, 0x2d, 0xed, 0x8e, 0xcd, 0xff, 0x2e, 0x8f, 0x65, 0x5a, 0xda, 0xe4,
  12130. 0x3b, 0x47, 0x7f, 0x69, 0x05, 0x1d, 0xbb, 0xb0, 0xe8, 0x21, 0xcc, 0xba, 0x6d, 0x8f, 0xd8, 0x30,
  12131. 0xe8, 0xb2, 0xaa, 0x11, 0xbb, 0x6f, 0x53, 0xd2, 0x2d, 0x8f, 0xf3, 0x6d, 0xf7, 0x7a, 0x3f, 0x70,
  12132. 0x22, 0x17, 0x4e, 0x91, 0x46, 0x5d, 0xa8, 0xb8, 0x21, 0x83, 0x9d, 0x27, 0x2f, 0x66, 0xdd, 0xb3,
  12133. 0x5b, 0x8a, 0xe6, 0xbc, 0x03, 0x4c, 0x70, 0x05, 0x2f, 0x1f, 0x1d, 0x56, 0x2a, 0x4b, 0x4f, 0x67,
  12134. 0xc5, 0x83, 0xb0, 0xd0, 0xfb, 0x50, 0x56, 0xd2, 0xf4, 0x4c, 0x72, 0x3d, 0x2f, 0xb2, 0x38, 0x94,
  12135. 0xaa, 0x20, 0x55, 0x1a, 0x51, 0x98, 0x54, 0xc2, 0x0d, 0xa8, 0x76, 0x79, 0x2a, 0xd3, 0x45, 0x64,
  12136. 0xa4, 0x6f, 0xd5, 0xbf, 0x8c, 0x88, 0x10, 0x6c, 0x1c, 0xd3, 0x80, 0xfe, 0x06, 0x90, 0x12, 0xed,
  12137. 0x99, 0xb5, 0xcb, 0x28, 0x53, 0xfa, 0x89, 0x35, 0xdb, 0xfa, 0x6e, 0x17, 0x23, 0xd9, 0x38, 0x41,
  12138. 0x0f, 0x5a, 0x85, 0x19, 0x31, 0xba, 0xa5, 0xdb, 0xca, 0x0e, 0x69, 0xf6, 0xed, 0x16, 0xd5, 0xec,
  12139. 0xf2, 0x34, 0x8f, 0x7d, 0xfc, 0xe1, 0x6b, 0x21, 0x81, 0x8e, 0x13, 0xa5, 0xd0, 0x3b, 0x30, 0xb9,
  12140. 0x63, 0x58, 0xdb, 0x6a, 0xbb, 0x4d, 0x74, 0x17, 0x69, 0x86, 0x23, 0xcd, 0xb0, 0xd5, 0x58, 0x8e,
  12141. 0xd0, 0x70, 0x8c, 0x1b, 0xd9, 0x70, 0x4e, 0x20, 0x37, 0x2c, 0xa3, 0xb5, 0x66, 0xf4, 0x74, 0xea,
  12142. 0x94, 0x44, 0xe7, 0xbc, 0x14, 0x73, 0x6e, 0x21, 0x89, 0xe1, 0xc9, 0x61, 0xe5, 0x52, 0x72, 0x05,
  12143. 0xec, 0x33, 0xe1, 0x64, 0x6c, 0xb4, 0x0b, 0xc0, 0xe3, 0x82, 0x73, 0xfc, 0x66, 0xf9, 0xf1, 0xbb,
  12144. 0x93, 0x25, 0xea, 0x24, 0x9e, 0x40, 0xe7, 0x49, 0xce, 0x23, 0xe3, 0x00, 0x36, 0xfb, 0x4a, 0x51,
  12145. 0x22, 0x6d, 0xd5, 0x76, 0x79, 0x8e, 0xef, 0x75, 0x2d, 0xdb, 0x5e, 0x7b, 0x72, 0x81, 0xa7, 0xa9,
  12146. 0x28, 0x22, 0x8e, 0x2b, 0xe1, 0x5d, 0x3a, 0xe2, 0xcd, 0xe6, 0x74, 0x3a, 0x9d, 0x8f, 0xd7, 0xa5,
  12147. 0xe3, 0x9b, 0xf6, 0xcc, 0xba, 0x74, 0x02, 0x90, 0x4f, 0xbf, 0x25, 0xfe, 0x55, 0x0e, 0xa6, 0x7d,
  12148. 0xe6, 0xcc, 0x5d, 0x3a, 0x09, 0x22, 0x7f, 0xec, 0x76, 0x1e, 0xdc, 0xed, 0xfc, 0xa5, 0x04, 0xe3,
  12149. 0xfe, 0xd2, 0xfd, 0xfe, 0x75, 0xce, 0xf8, 0xb6, 0xa5, 0xd4, 0xf2, 0xff, 0x9b, 0x0b, 0x4e, 0xe0,
  12150. 0x0f, 0xbe, 0x7d, 0xe3, 0x87, 0xb7, 0x28, 0xcb, 0x5f, 0xe7, 0x61, 0x32, 0x7a, 0x1a, 0x43, 0xaf,
  12151. 0xfc, 0xd2, 0xc0, 0x57, 0xfe, 0x06, 0xcc, 0xec, 0xf4, 0x34, 0xad, 0xcf, 0x97, 0x21, 0xf0, 0xd4,
  12152. 0xef, 0xbc, 0xd2, 0xbd, 0x28, 0x24, 0x67, 0x96, 0x13, 0x78, 0x70, 0xa2, 0x64, 0x4a, 0xc7, 0x42,
  12153. 0xfe, 0x44, 0x1d, 0x0b, 0xb1, 0x07, 0xf4, 0xc2, 0x31, 0x1e, 0xd0, 0x13, 0xbb, 0x0f, 0x86, 0x4e,
  12154. 0xd0, 0x7d, 0x70, 0x92, 0x76, 0x81, 0x84, 0x20, 0x36, 0xb0, 0x7b, 0xf5, 0x45, 0x38, 0x2f, 0xc4,
  12155. 0x28, 0x7f, 0xc9, 0xd7, 0xa9, 0x65, 0x68, 0x1a, 0xb1, 0x96, 0x7a, 0xdd, 0x6e, 0x5f, 0x7e, 0x0b,
  12156. 0xc6, 0xc3, 0x3d, 0x2a, 0xce, 0x4e, 0x3b, 0x6d, 0x32, 0xe2, 0xad, 0x34, 0xb0, 0xd3, 0xce, 0x38,
  12157. 0xf6, 0x38, 0xe4, 0xbf, 0x97, 0x60, 0x36, 0xb9, 0x17, 0x15, 0x69, 0x30, 0xde, 0x55, 0x0e, 0x82,
  12158. 0xfd, 0xc1, 0xd2, 0x09, 0x6f, 0xb1, 0x78, 0x73, 0xc2, 0x5a, 0x08, 0x0b, 0x47, 0xb0, 0xe5, 0xef,
  12159. 0x25, 0x98, 0x4b, 0x69, 0x0b, 0x38, 0x5d, 0x4b, 0xd0, 0x07, 0x50, 0xea, 0x2a, 0x07, 0xcd, 0x9e,
  12160. 0xd5, 0x21, 0x27, 0xbe, 0xb7, 0xe3, 0x11, 0x63, 0x4d, 0xa0, 0x60, 0x0f, 0x4f, 0xfe, 0x4f, 0x09,
  12161. 0x5e, 0x48, 0xad, 0x65, 0xd0, 0xed, 0x50, 0x07, 0x83, 0x1c, 0xe9, 0x60, 0x40, 0x71, 0xc1, 0xe7,
  12162. 0xd4, 0xc0, 0xf0, 0xb9, 0x04, 0xe5, 0xb4, 0xef, 0x3c, 0x74, 0x2b, 0x64, 0xe4, 0x4b, 0x11, 0x23,
  12163. 0xa7, 0x62, 0x72, 0xcf, 0xc9, 0xc6, 0xff, 0x91, 0x60, 0x36, 0xf9, 0x7b, 0x17, 0xbd, 0x1e, 0xb2,
  12164. 0xb0, 0x12, 0xb1, 0x70, 0x22, 0x22, 0x25, 0xec, 0xfb, 0x08, 0xc6, 0xc5, 0x57, 0xb1, 0x80, 0x11,
  12165. 0x7b, 0x2f, 0x27, 0x45, 0x74, 0x01, 0xe1, 0xd6, 0xa0, 0xdc, 0xab, 0xc2, 0x63, 0x38, 0x82, 0x26,
  12166. 0xff, 0x43, 0x0e, 0x86, 0x9a, 0x2d, 0x45, 0x23, 0xa7, 0x50, 0x0c, 0xbe, 0x1b, 0x2a, 0x06, 0x07,
  12167. 0xfd, 0xc7, 0x11, 0xb7, 0x2a, 0xb5, 0x0e, 0xc4, 0x91, 0x3a, 0xf0, 0xd5, 0x4c, 0x68, 0x4f, 0x2f,
  12168. 0x01, 0xff, 0x0c, 0x46, 0x3c, 0xa5, 0xc7, 0xcb, 0x4c, 0xf2, 0x7f, 0xe4, 0x60, 0x34, 0xa0, 0xe2,
  12169. 0x98, 0x79, 0x6d, 0x27, 0x54, 0x0f, 0xe4, 0x33, 0x7c, 0x78, 0x04, 0x74, 0x55, 0xdd, 0x0a, 0xc0,
  12170. 0xe9, 0x98, 0xf5, 0x7b, 0x24, 0xe3, 0x85, 0xc1, 0x5b, 0x30, 0x4e, 0x15, 0xab, 0x43, 0xa8, 0x77,
  12171. 0x27, 0x9f, 0xe7, 0xbe, 0xe8, 0xf5, 0x59, 0x6f, 0x86, 0xa8, 0x38, 0xc2, 0x7d, 0xfe, 0x2e, 0x8c,
  12172. 0x85, 0x94, 0x1d, 0xab, 0xe1, 0xf5, 0xff, 0x25, 0x78, 0x69, 0xe0, 0x8d, 0x09, 0xaa, 0x87, 0x0e,
  12173. 0x49, 0x35, 0x72, 0x48, 0xe6, 0xd3, 0x01, 0x9e, 0x5f, 0xe3, 0x54, 0xfd, 0xda, 0xe3, 0xef, 0xe6,
  12174. 0xcf, 0x7c, 0xf3, 0xdd, 0xfc, 0x99, 0x6f, 0xbf, 0x9b, 0x3f, 0xf3, 0xb7, 0x47, 0xf3, 0xd2, 0xe3,
  12175. 0xa3, 0x79, 0xe9, 0x9b, 0xa3, 0x79, 0xe9, 0xdb, 0xa3, 0x79, 0xe9, 0x17, 0x47, 0xf3, 0xd2, 0xbf,
  12176. 0x7c, 0x3f, 0x7f, 0xe6, 0x83, 0xa2, 0x80, 0xfb, 0x5d, 0x00, 0x00, 0x00, 0xff, 0xff, 0x66, 0xf0,
  12177. 0x40, 0xcd, 0xc4, 0x3c, 0x00, 0x00,
  12178. }