generated.pb.go 189 KB

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