generated.pb.go 211 KB

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