generated.pb.go 133 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275
  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/v1beta1/generated.proto
  15. /*
  16. Package v1beta1 is a generated protocol buffer package.
  17. It is generated from these files:
  18. k8s.io/kubernetes/vendor/k8s.io/api/apps/v1beta1/generated.proto
  19. It has these top-level messages:
  20. ControllerRevision
  21. ControllerRevisionList
  22. Deployment
  23. DeploymentCondition
  24. DeploymentList
  25. DeploymentRollback
  26. DeploymentSpec
  27. DeploymentStatus
  28. DeploymentStrategy
  29. RollbackConfig
  30. RollingUpdateDeployment
  31. RollingUpdateStatefulSetStrategy
  32. Scale
  33. ScaleSpec
  34. ScaleStatus
  35. StatefulSet
  36. StatefulSetCondition
  37. StatefulSetList
  38. StatefulSetSpec
  39. StatefulSetStatus
  40. StatefulSetUpdateStrategy
  41. */
  42. package v1beta1
  43. import proto "github.com/gogo/protobuf/proto"
  44. import fmt "fmt"
  45. import math "math"
  46. import k8s_io_api_core_v1 "k8s.io/api/core/v1"
  47. import k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  48. import k8s_io_apimachinery_pkg_util_intstr "k8s.io/apimachinery/pkg/util/intstr"
  49. import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
  50. import strings "strings"
  51. import reflect "reflect"
  52. import io "io"
  53. // Reference imports to suppress errors if they are not otherwise used.
  54. var _ = proto.Marshal
  55. var _ = fmt.Errorf
  56. var _ = math.Inf
  57. // This is a compile-time assertion to ensure that this generated file
  58. // is compatible with the proto package it is being compiled against.
  59. // A compilation error at this line likely means your copy of the
  60. // proto package needs to be updated.
  61. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  62. func (m *ControllerRevision) Reset() { *m = ControllerRevision{} }
  63. func (*ControllerRevision) ProtoMessage() {}
  64. func (*ControllerRevision) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
  65. func (m *ControllerRevisionList) Reset() { *m = ControllerRevisionList{} }
  66. func (*ControllerRevisionList) ProtoMessage() {}
  67. func (*ControllerRevisionList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
  68. func (m *Deployment) Reset() { *m = Deployment{} }
  69. func (*Deployment) ProtoMessage() {}
  70. func (*Deployment) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
  71. func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} }
  72. func (*DeploymentCondition) ProtoMessage() {}
  73. func (*DeploymentCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
  74. func (m *DeploymentList) Reset() { *m = DeploymentList{} }
  75. func (*DeploymentList) ProtoMessage() {}
  76. func (*DeploymentList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
  77. func (m *DeploymentRollback) Reset() { *m = DeploymentRollback{} }
  78. func (*DeploymentRollback) ProtoMessage() {}
  79. func (*DeploymentRollback) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
  80. func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} }
  81. func (*DeploymentSpec) ProtoMessage() {}
  82. func (*DeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
  83. func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} }
  84. func (*DeploymentStatus) ProtoMessage() {}
  85. func (*DeploymentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
  86. func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} }
  87. func (*DeploymentStrategy) ProtoMessage() {}
  88. func (*DeploymentStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
  89. func (m *RollbackConfig) Reset() { *m = RollbackConfig{} }
  90. func (*RollbackConfig) ProtoMessage() {}
  91. func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
  92. func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} }
  93. func (*RollingUpdateDeployment) ProtoMessage() {}
  94. func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) {
  95. return fileDescriptorGenerated, []int{10}
  96. }
  97. func (m *RollingUpdateStatefulSetStrategy) Reset() { *m = RollingUpdateStatefulSetStrategy{} }
  98. func (*RollingUpdateStatefulSetStrategy) ProtoMessage() {}
  99. func (*RollingUpdateStatefulSetStrategy) Descriptor() ([]byte, []int) {
  100. return fileDescriptorGenerated, []int{11}
  101. }
  102. func (m *Scale) Reset() { *m = Scale{} }
  103. func (*Scale) ProtoMessage() {}
  104. func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
  105. func (m *ScaleSpec) Reset() { *m = ScaleSpec{} }
  106. func (*ScaleSpec) ProtoMessage() {}
  107. func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} }
  108. func (m *ScaleStatus) Reset() { *m = ScaleStatus{} }
  109. func (*ScaleStatus) ProtoMessage() {}
  110. func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
  111. func (m *StatefulSet) Reset() { *m = StatefulSet{} }
  112. func (*StatefulSet) ProtoMessage() {}
  113. func (*StatefulSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
  114. func (m *StatefulSetCondition) Reset() { *m = StatefulSetCondition{} }
  115. func (*StatefulSetCondition) ProtoMessage() {}
  116. func (*StatefulSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
  117. func (m *StatefulSetList) Reset() { *m = StatefulSetList{} }
  118. func (*StatefulSetList) ProtoMessage() {}
  119. func (*StatefulSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
  120. func (m *StatefulSetSpec) Reset() { *m = StatefulSetSpec{} }
  121. func (*StatefulSetSpec) ProtoMessage() {}
  122. func (*StatefulSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} }
  123. func (m *StatefulSetStatus) Reset() { *m = StatefulSetStatus{} }
  124. func (*StatefulSetStatus) ProtoMessage() {}
  125. func (*StatefulSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} }
  126. func (m *StatefulSetUpdateStrategy) Reset() { *m = StatefulSetUpdateStrategy{} }
  127. func (*StatefulSetUpdateStrategy) ProtoMessage() {}
  128. func (*StatefulSetUpdateStrategy) Descriptor() ([]byte, []int) {
  129. return fileDescriptorGenerated, []int{20}
  130. }
  131. func init() {
  132. proto.RegisterType((*ControllerRevision)(nil), "k8s.io.api.apps.v1beta1.ControllerRevision")
  133. proto.RegisterType((*ControllerRevisionList)(nil), "k8s.io.api.apps.v1beta1.ControllerRevisionList")
  134. proto.RegisterType((*Deployment)(nil), "k8s.io.api.apps.v1beta1.Deployment")
  135. proto.RegisterType((*DeploymentCondition)(nil), "k8s.io.api.apps.v1beta1.DeploymentCondition")
  136. proto.RegisterType((*DeploymentList)(nil), "k8s.io.api.apps.v1beta1.DeploymentList")
  137. proto.RegisterType((*DeploymentRollback)(nil), "k8s.io.api.apps.v1beta1.DeploymentRollback")
  138. proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.api.apps.v1beta1.DeploymentSpec")
  139. proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.api.apps.v1beta1.DeploymentStatus")
  140. proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.api.apps.v1beta1.DeploymentStrategy")
  141. proto.RegisterType((*RollbackConfig)(nil), "k8s.io.api.apps.v1beta1.RollbackConfig")
  142. proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.api.apps.v1beta1.RollingUpdateDeployment")
  143. proto.RegisterType((*RollingUpdateStatefulSetStrategy)(nil), "k8s.io.api.apps.v1beta1.RollingUpdateStatefulSetStrategy")
  144. proto.RegisterType((*Scale)(nil), "k8s.io.api.apps.v1beta1.Scale")
  145. proto.RegisterType((*ScaleSpec)(nil), "k8s.io.api.apps.v1beta1.ScaleSpec")
  146. proto.RegisterType((*ScaleStatus)(nil), "k8s.io.api.apps.v1beta1.ScaleStatus")
  147. proto.RegisterType((*StatefulSet)(nil), "k8s.io.api.apps.v1beta1.StatefulSet")
  148. proto.RegisterType((*StatefulSetCondition)(nil), "k8s.io.api.apps.v1beta1.StatefulSetCondition")
  149. proto.RegisterType((*StatefulSetList)(nil), "k8s.io.api.apps.v1beta1.StatefulSetList")
  150. proto.RegisterType((*StatefulSetSpec)(nil), "k8s.io.api.apps.v1beta1.StatefulSetSpec")
  151. proto.RegisterType((*StatefulSetStatus)(nil), "k8s.io.api.apps.v1beta1.StatefulSetStatus")
  152. proto.RegisterType((*StatefulSetUpdateStrategy)(nil), "k8s.io.api.apps.v1beta1.StatefulSetUpdateStrategy")
  153. }
  154. func (m *ControllerRevision) Marshal() (dAtA []byte, err error) {
  155. size := m.Size()
  156. dAtA = make([]byte, size)
  157. n, err := m.MarshalTo(dAtA)
  158. if err != nil {
  159. return nil, err
  160. }
  161. return dAtA[:n], nil
  162. }
  163. func (m *ControllerRevision) MarshalTo(dAtA []byte) (int, error) {
  164. var i int
  165. _ = i
  166. var l int
  167. _ = l
  168. dAtA[i] = 0xa
  169. i++
  170. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  171. n1, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  172. if err != nil {
  173. return 0, err
  174. }
  175. i += n1
  176. dAtA[i] = 0x12
  177. i++
  178. i = encodeVarintGenerated(dAtA, i, uint64(m.Data.Size()))
  179. n2, err := m.Data.MarshalTo(dAtA[i:])
  180. if err != nil {
  181. return 0, err
  182. }
  183. i += n2
  184. dAtA[i] = 0x18
  185. i++
  186. i = encodeVarintGenerated(dAtA, i, uint64(m.Revision))
  187. return i, nil
  188. }
  189. func (m *ControllerRevisionList) Marshal() (dAtA []byte, err error) {
  190. size := m.Size()
  191. dAtA = make([]byte, size)
  192. n, err := m.MarshalTo(dAtA)
  193. if err != nil {
  194. return nil, err
  195. }
  196. return dAtA[:n], nil
  197. }
  198. func (m *ControllerRevisionList) MarshalTo(dAtA []byte) (int, error) {
  199. var i int
  200. _ = i
  201. var l int
  202. _ = l
  203. dAtA[i] = 0xa
  204. i++
  205. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  206. n3, err := m.ListMeta.MarshalTo(dAtA[i:])
  207. if err != nil {
  208. return 0, err
  209. }
  210. i += n3
  211. if len(m.Items) > 0 {
  212. for _, msg := range m.Items {
  213. dAtA[i] = 0x12
  214. i++
  215. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  216. n, err := msg.MarshalTo(dAtA[i:])
  217. if err != nil {
  218. return 0, err
  219. }
  220. i += n
  221. }
  222. }
  223. return i, nil
  224. }
  225. func (m *Deployment) Marshal() (dAtA []byte, err error) {
  226. size := m.Size()
  227. dAtA = make([]byte, size)
  228. n, err := m.MarshalTo(dAtA)
  229. if err != nil {
  230. return nil, err
  231. }
  232. return dAtA[:n], nil
  233. }
  234. func (m *Deployment) MarshalTo(dAtA []byte) (int, error) {
  235. var i int
  236. _ = i
  237. var l int
  238. _ = l
  239. dAtA[i] = 0xa
  240. i++
  241. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  242. n4, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  243. if err != nil {
  244. return 0, err
  245. }
  246. i += n4
  247. dAtA[i] = 0x12
  248. i++
  249. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  250. n5, err := m.Spec.MarshalTo(dAtA[i:])
  251. if err != nil {
  252. return 0, err
  253. }
  254. i += n5
  255. dAtA[i] = 0x1a
  256. i++
  257. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  258. n6, err := m.Status.MarshalTo(dAtA[i:])
  259. if err != nil {
  260. return 0, err
  261. }
  262. i += n6
  263. return i, nil
  264. }
  265. func (m *DeploymentCondition) Marshal() (dAtA []byte, err error) {
  266. size := m.Size()
  267. dAtA = make([]byte, size)
  268. n, err := m.MarshalTo(dAtA)
  269. if err != nil {
  270. return nil, err
  271. }
  272. return dAtA[:n], nil
  273. }
  274. func (m *DeploymentCondition) MarshalTo(dAtA []byte) (int, error) {
  275. var i int
  276. _ = i
  277. var l int
  278. _ = l
  279. dAtA[i] = 0xa
  280. i++
  281. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  282. i += copy(dAtA[i:], m.Type)
  283. dAtA[i] = 0x12
  284. i++
  285. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  286. i += copy(dAtA[i:], m.Status)
  287. dAtA[i] = 0x22
  288. i++
  289. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  290. i += copy(dAtA[i:], m.Reason)
  291. dAtA[i] = 0x2a
  292. i++
  293. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  294. i += copy(dAtA[i:], m.Message)
  295. dAtA[i] = 0x32
  296. i++
  297. i = encodeVarintGenerated(dAtA, i, uint64(m.LastUpdateTime.Size()))
  298. n7, err := m.LastUpdateTime.MarshalTo(dAtA[i:])
  299. if err != nil {
  300. return 0, err
  301. }
  302. i += n7
  303. dAtA[i] = 0x3a
  304. i++
  305. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
  306. n8, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
  307. if err != nil {
  308. return 0, err
  309. }
  310. i += n8
  311. return i, nil
  312. }
  313. func (m *DeploymentList) Marshal() (dAtA []byte, err error) {
  314. size := m.Size()
  315. dAtA = make([]byte, size)
  316. n, err := m.MarshalTo(dAtA)
  317. if err != nil {
  318. return nil, err
  319. }
  320. return dAtA[:n], nil
  321. }
  322. func (m *DeploymentList) MarshalTo(dAtA []byte) (int, error) {
  323. var i int
  324. _ = i
  325. var l int
  326. _ = l
  327. dAtA[i] = 0xa
  328. i++
  329. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  330. n9, err := m.ListMeta.MarshalTo(dAtA[i:])
  331. if err != nil {
  332. return 0, err
  333. }
  334. i += n9
  335. if len(m.Items) > 0 {
  336. for _, msg := range m.Items {
  337. dAtA[i] = 0x12
  338. i++
  339. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  340. n, err := msg.MarshalTo(dAtA[i:])
  341. if err != nil {
  342. return 0, err
  343. }
  344. i += n
  345. }
  346. }
  347. return i, nil
  348. }
  349. func (m *DeploymentRollback) Marshal() (dAtA []byte, err error) {
  350. size := m.Size()
  351. dAtA = make([]byte, size)
  352. n, err := m.MarshalTo(dAtA)
  353. if err != nil {
  354. return nil, err
  355. }
  356. return dAtA[:n], nil
  357. }
  358. func (m *DeploymentRollback) MarshalTo(dAtA []byte) (int, error) {
  359. var i int
  360. _ = i
  361. var l int
  362. _ = l
  363. dAtA[i] = 0xa
  364. i++
  365. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
  366. i += copy(dAtA[i:], m.Name)
  367. if len(m.UpdatedAnnotations) > 0 {
  368. keysForUpdatedAnnotations := make([]string, 0, len(m.UpdatedAnnotations))
  369. for k := range m.UpdatedAnnotations {
  370. keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, string(k))
  371. }
  372. github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations)
  373. for _, k := range keysForUpdatedAnnotations {
  374. dAtA[i] = 0x12
  375. i++
  376. v := m.UpdatedAnnotations[string(k)]
  377. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  378. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  379. dAtA[i] = 0xa
  380. i++
  381. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  382. i += copy(dAtA[i:], k)
  383. dAtA[i] = 0x12
  384. i++
  385. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  386. i += copy(dAtA[i:], v)
  387. }
  388. }
  389. dAtA[i] = 0x1a
  390. i++
  391. i = encodeVarintGenerated(dAtA, i, uint64(m.RollbackTo.Size()))
  392. n10, err := m.RollbackTo.MarshalTo(dAtA[i:])
  393. if err != nil {
  394. return 0, err
  395. }
  396. i += n10
  397. return i, nil
  398. }
  399. func (m *DeploymentSpec) Marshal() (dAtA []byte, err error) {
  400. size := m.Size()
  401. dAtA = make([]byte, size)
  402. n, err := m.MarshalTo(dAtA)
  403. if err != nil {
  404. return nil, err
  405. }
  406. return dAtA[:n], nil
  407. }
  408. func (m *DeploymentSpec) MarshalTo(dAtA []byte) (int, error) {
  409. var i int
  410. _ = i
  411. var l int
  412. _ = l
  413. if m.Replicas != nil {
  414. dAtA[i] = 0x8
  415. i++
  416. i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
  417. }
  418. if m.Selector != nil {
  419. dAtA[i] = 0x12
  420. i++
  421. i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
  422. n11, err := m.Selector.MarshalTo(dAtA[i:])
  423. if err != nil {
  424. return 0, err
  425. }
  426. i += n11
  427. }
  428. dAtA[i] = 0x1a
  429. i++
  430. i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
  431. n12, err := m.Template.MarshalTo(dAtA[i:])
  432. if err != nil {
  433. return 0, err
  434. }
  435. i += n12
  436. dAtA[i] = 0x22
  437. i++
  438. i = encodeVarintGenerated(dAtA, i, uint64(m.Strategy.Size()))
  439. n13, err := m.Strategy.MarshalTo(dAtA[i:])
  440. if err != nil {
  441. return 0, err
  442. }
  443. i += n13
  444. dAtA[i] = 0x28
  445. i++
  446. i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
  447. if m.RevisionHistoryLimit != nil {
  448. dAtA[i] = 0x30
  449. i++
  450. i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
  451. }
  452. dAtA[i] = 0x38
  453. i++
  454. if m.Paused {
  455. dAtA[i] = 1
  456. } else {
  457. dAtA[i] = 0
  458. }
  459. i++
  460. if m.RollbackTo != nil {
  461. dAtA[i] = 0x42
  462. i++
  463. i = encodeVarintGenerated(dAtA, i, uint64(m.RollbackTo.Size()))
  464. n14, err := m.RollbackTo.MarshalTo(dAtA[i:])
  465. if err != nil {
  466. return 0, err
  467. }
  468. i += n14
  469. }
  470. if m.ProgressDeadlineSeconds != nil {
  471. dAtA[i] = 0x48
  472. i++
  473. i = encodeVarintGenerated(dAtA, i, uint64(*m.ProgressDeadlineSeconds))
  474. }
  475. return i, nil
  476. }
  477. func (m *DeploymentStatus) Marshal() (dAtA []byte, err error) {
  478. size := m.Size()
  479. dAtA = make([]byte, size)
  480. n, err := m.MarshalTo(dAtA)
  481. if err != nil {
  482. return nil, err
  483. }
  484. return dAtA[:n], nil
  485. }
  486. func (m *DeploymentStatus) MarshalTo(dAtA []byte) (int, error) {
  487. var i int
  488. _ = i
  489. var l int
  490. _ = l
  491. dAtA[i] = 0x8
  492. i++
  493. i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
  494. dAtA[i] = 0x10
  495. i++
  496. i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
  497. dAtA[i] = 0x18
  498. i++
  499. i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas))
  500. dAtA[i] = 0x20
  501. i++
  502. i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
  503. dAtA[i] = 0x28
  504. i++
  505. i = encodeVarintGenerated(dAtA, i, uint64(m.UnavailableReplicas))
  506. if len(m.Conditions) > 0 {
  507. for _, msg := range m.Conditions {
  508. dAtA[i] = 0x32
  509. i++
  510. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  511. n, err := msg.MarshalTo(dAtA[i:])
  512. if err != nil {
  513. return 0, err
  514. }
  515. i += n
  516. }
  517. }
  518. dAtA[i] = 0x38
  519. i++
  520. i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
  521. if m.CollisionCount != nil {
  522. dAtA[i] = 0x40
  523. i++
  524. i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
  525. }
  526. return i, nil
  527. }
  528. func (m *DeploymentStrategy) 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 *DeploymentStrategy) 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(len(m.Type)))
  545. i += copy(dAtA[i:], m.Type)
  546. if m.RollingUpdate != nil {
  547. dAtA[i] = 0x12
  548. i++
  549. i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size()))
  550. n15, err := m.RollingUpdate.MarshalTo(dAtA[i:])
  551. if err != nil {
  552. return 0, err
  553. }
  554. i += n15
  555. }
  556. return i, nil
  557. }
  558. func (m *RollbackConfig) Marshal() (dAtA []byte, err error) {
  559. size := m.Size()
  560. dAtA = make([]byte, size)
  561. n, err := m.MarshalTo(dAtA)
  562. if err != nil {
  563. return nil, err
  564. }
  565. return dAtA[:n], nil
  566. }
  567. func (m *RollbackConfig) MarshalTo(dAtA []byte) (int, error) {
  568. var i int
  569. _ = i
  570. var l int
  571. _ = l
  572. dAtA[i] = 0x8
  573. i++
  574. i = encodeVarintGenerated(dAtA, i, uint64(m.Revision))
  575. return i, nil
  576. }
  577. func (m *RollingUpdateDeployment) Marshal() (dAtA []byte, err error) {
  578. size := m.Size()
  579. dAtA = make([]byte, size)
  580. n, err := m.MarshalTo(dAtA)
  581. if err != nil {
  582. return nil, err
  583. }
  584. return dAtA[:n], nil
  585. }
  586. func (m *RollingUpdateDeployment) MarshalTo(dAtA []byte) (int, error) {
  587. var i int
  588. _ = i
  589. var l int
  590. _ = l
  591. if m.MaxUnavailable != nil {
  592. dAtA[i] = 0xa
  593. i++
  594. i = encodeVarintGenerated(dAtA, i, uint64(m.MaxUnavailable.Size()))
  595. n16, err := m.MaxUnavailable.MarshalTo(dAtA[i:])
  596. if err != nil {
  597. return 0, err
  598. }
  599. i += n16
  600. }
  601. if m.MaxSurge != nil {
  602. dAtA[i] = 0x12
  603. i++
  604. i = encodeVarintGenerated(dAtA, i, uint64(m.MaxSurge.Size()))
  605. n17, err := m.MaxSurge.MarshalTo(dAtA[i:])
  606. if err != nil {
  607. return 0, err
  608. }
  609. i += n17
  610. }
  611. return i, nil
  612. }
  613. func (m *RollingUpdateStatefulSetStrategy) Marshal() (dAtA []byte, err error) {
  614. size := m.Size()
  615. dAtA = make([]byte, size)
  616. n, err := m.MarshalTo(dAtA)
  617. if err != nil {
  618. return nil, err
  619. }
  620. return dAtA[:n], nil
  621. }
  622. func (m *RollingUpdateStatefulSetStrategy) MarshalTo(dAtA []byte) (int, error) {
  623. var i int
  624. _ = i
  625. var l int
  626. _ = l
  627. if m.Partition != nil {
  628. dAtA[i] = 0x8
  629. i++
  630. i = encodeVarintGenerated(dAtA, i, uint64(*m.Partition))
  631. }
  632. return i, nil
  633. }
  634. func (m *Scale) Marshal() (dAtA []byte, err error) {
  635. size := m.Size()
  636. dAtA = make([]byte, size)
  637. n, err := m.MarshalTo(dAtA)
  638. if err != nil {
  639. return nil, err
  640. }
  641. return dAtA[:n], nil
  642. }
  643. func (m *Scale) MarshalTo(dAtA []byte) (int, error) {
  644. var i int
  645. _ = i
  646. var l int
  647. _ = l
  648. dAtA[i] = 0xa
  649. i++
  650. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  651. n18, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  652. if err != nil {
  653. return 0, err
  654. }
  655. i += n18
  656. dAtA[i] = 0x12
  657. i++
  658. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  659. n19, err := m.Spec.MarshalTo(dAtA[i:])
  660. if err != nil {
  661. return 0, err
  662. }
  663. i += n19
  664. dAtA[i] = 0x1a
  665. i++
  666. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  667. n20, err := m.Status.MarshalTo(dAtA[i:])
  668. if err != nil {
  669. return 0, err
  670. }
  671. i += n20
  672. return i, nil
  673. }
  674. func (m *ScaleSpec) Marshal() (dAtA []byte, err error) {
  675. size := m.Size()
  676. dAtA = make([]byte, size)
  677. n, err := m.MarshalTo(dAtA)
  678. if err != nil {
  679. return nil, err
  680. }
  681. return dAtA[:n], nil
  682. }
  683. func (m *ScaleSpec) MarshalTo(dAtA []byte) (int, error) {
  684. var i int
  685. _ = i
  686. var l int
  687. _ = l
  688. dAtA[i] = 0x8
  689. i++
  690. i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
  691. return i, nil
  692. }
  693. func (m *ScaleStatus) Marshal() (dAtA []byte, err error) {
  694. size := m.Size()
  695. dAtA = make([]byte, size)
  696. n, err := m.MarshalTo(dAtA)
  697. if err != nil {
  698. return nil, err
  699. }
  700. return dAtA[:n], nil
  701. }
  702. func (m *ScaleStatus) MarshalTo(dAtA []byte) (int, error) {
  703. var i int
  704. _ = i
  705. var l int
  706. _ = l
  707. dAtA[i] = 0x8
  708. i++
  709. i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
  710. if len(m.Selector) > 0 {
  711. keysForSelector := make([]string, 0, len(m.Selector))
  712. for k := range m.Selector {
  713. keysForSelector = append(keysForSelector, string(k))
  714. }
  715. github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
  716. for _, k := range keysForSelector {
  717. dAtA[i] = 0x12
  718. i++
  719. v := m.Selector[string(k)]
  720. mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  721. i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
  722. dAtA[i] = 0xa
  723. i++
  724. i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
  725. i += copy(dAtA[i:], k)
  726. dAtA[i] = 0x12
  727. i++
  728. i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
  729. i += copy(dAtA[i:], v)
  730. }
  731. }
  732. dAtA[i] = 0x1a
  733. i++
  734. i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetSelector)))
  735. i += copy(dAtA[i:], m.TargetSelector)
  736. return i, nil
  737. }
  738. func (m *StatefulSet) Marshal() (dAtA []byte, err error) {
  739. size := m.Size()
  740. dAtA = make([]byte, size)
  741. n, err := m.MarshalTo(dAtA)
  742. if err != nil {
  743. return nil, err
  744. }
  745. return dAtA[:n], nil
  746. }
  747. func (m *StatefulSet) MarshalTo(dAtA []byte) (int, error) {
  748. var i int
  749. _ = i
  750. var l int
  751. _ = l
  752. dAtA[i] = 0xa
  753. i++
  754. i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
  755. n21, err := m.ObjectMeta.MarshalTo(dAtA[i:])
  756. if err != nil {
  757. return 0, err
  758. }
  759. i += n21
  760. dAtA[i] = 0x12
  761. i++
  762. i = encodeVarintGenerated(dAtA, i, uint64(m.Spec.Size()))
  763. n22, err := m.Spec.MarshalTo(dAtA[i:])
  764. if err != nil {
  765. return 0, err
  766. }
  767. i += n22
  768. dAtA[i] = 0x1a
  769. i++
  770. i = encodeVarintGenerated(dAtA, i, uint64(m.Status.Size()))
  771. n23, err := m.Status.MarshalTo(dAtA[i:])
  772. if err != nil {
  773. return 0, err
  774. }
  775. i += n23
  776. return i, nil
  777. }
  778. func (m *StatefulSetCondition) Marshal() (dAtA []byte, err error) {
  779. size := m.Size()
  780. dAtA = make([]byte, size)
  781. n, err := m.MarshalTo(dAtA)
  782. if err != nil {
  783. return nil, err
  784. }
  785. return dAtA[:n], nil
  786. }
  787. func (m *StatefulSetCondition) MarshalTo(dAtA []byte) (int, error) {
  788. var i int
  789. _ = i
  790. var l int
  791. _ = l
  792. dAtA[i] = 0xa
  793. i++
  794. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  795. i += copy(dAtA[i:], m.Type)
  796. dAtA[i] = 0x12
  797. i++
  798. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
  799. i += copy(dAtA[i:], m.Status)
  800. dAtA[i] = 0x1a
  801. i++
  802. i = encodeVarintGenerated(dAtA, i, uint64(m.LastTransitionTime.Size()))
  803. n24, err := m.LastTransitionTime.MarshalTo(dAtA[i:])
  804. if err != nil {
  805. return 0, err
  806. }
  807. i += n24
  808. dAtA[i] = 0x22
  809. i++
  810. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
  811. i += copy(dAtA[i:], m.Reason)
  812. dAtA[i] = 0x2a
  813. i++
  814. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
  815. i += copy(dAtA[i:], m.Message)
  816. return i, nil
  817. }
  818. func (m *StatefulSetList) Marshal() (dAtA []byte, err error) {
  819. size := m.Size()
  820. dAtA = make([]byte, size)
  821. n, err := m.MarshalTo(dAtA)
  822. if err != nil {
  823. return nil, err
  824. }
  825. return dAtA[:n], nil
  826. }
  827. func (m *StatefulSetList) MarshalTo(dAtA []byte) (int, error) {
  828. var i int
  829. _ = i
  830. var l int
  831. _ = l
  832. dAtA[i] = 0xa
  833. i++
  834. i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
  835. n25, err := m.ListMeta.MarshalTo(dAtA[i:])
  836. if err != nil {
  837. return 0, err
  838. }
  839. i += n25
  840. if len(m.Items) > 0 {
  841. for _, msg := range m.Items {
  842. dAtA[i] = 0x12
  843. i++
  844. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  845. n, err := msg.MarshalTo(dAtA[i:])
  846. if err != nil {
  847. return 0, err
  848. }
  849. i += n
  850. }
  851. }
  852. return i, nil
  853. }
  854. func (m *StatefulSetSpec) Marshal() (dAtA []byte, err error) {
  855. size := m.Size()
  856. dAtA = make([]byte, size)
  857. n, err := m.MarshalTo(dAtA)
  858. if err != nil {
  859. return nil, err
  860. }
  861. return dAtA[:n], nil
  862. }
  863. func (m *StatefulSetSpec) MarshalTo(dAtA []byte) (int, error) {
  864. var i int
  865. _ = i
  866. var l int
  867. _ = l
  868. if m.Replicas != nil {
  869. dAtA[i] = 0x8
  870. i++
  871. i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
  872. }
  873. if m.Selector != nil {
  874. dAtA[i] = 0x12
  875. i++
  876. i = encodeVarintGenerated(dAtA, i, uint64(m.Selector.Size()))
  877. n26, err := m.Selector.MarshalTo(dAtA[i:])
  878. if err != nil {
  879. return 0, err
  880. }
  881. i += n26
  882. }
  883. dAtA[i] = 0x1a
  884. i++
  885. i = encodeVarintGenerated(dAtA, i, uint64(m.Template.Size()))
  886. n27, err := m.Template.MarshalTo(dAtA[i:])
  887. if err != nil {
  888. return 0, err
  889. }
  890. i += n27
  891. if len(m.VolumeClaimTemplates) > 0 {
  892. for _, msg := range m.VolumeClaimTemplates {
  893. dAtA[i] = 0x22
  894. i++
  895. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  896. n, err := msg.MarshalTo(dAtA[i:])
  897. if err != nil {
  898. return 0, err
  899. }
  900. i += n
  901. }
  902. }
  903. dAtA[i] = 0x2a
  904. i++
  905. i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServiceName)))
  906. i += copy(dAtA[i:], m.ServiceName)
  907. dAtA[i] = 0x32
  908. i++
  909. i = encodeVarintGenerated(dAtA, i, uint64(len(m.PodManagementPolicy)))
  910. i += copy(dAtA[i:], m.PodManagementPolicy)
  911. dAtA[i] = 0x3a
  912. i++
  913. i = encodeVarintGenerated(dAtA, i, uint64(m.UpdateStrategy.Size()))
  914. n28, err := m.UpdateStrategy.MarshalTo(dAtA[i:])
  915. if err != nil {
  916. return 0, err
  917. }
  918. i += n28
  919. if m.RevisionHistoryLimit != nil {
  920. dAtA[i] = 0x40
  921. i++
  922. i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
  923. }
  924. return i, nil
  925. }
  926. func (m *StatefulSetStatus) Marshal() (dAtA []byte, err error) {
  927. size := m.Size()
  928. dAtA = make([]byte, size)
  929. n, err := m.MarshalTo(dAtA)
  930. if err != nil {
  931. return nil, err
  932. }
  933. return dAtA[:n], nil
  934. }
  935. func (m *StatefulSetStatus) MarshalTo(dAtA []byte) (int, error) {
  936. var i int
  937. _ = i
  938. var l int
  939. _ = l
  940. if m.ObservedGeneration != nil {
  941. dAtA[i] = 0x8
  942. i++
  943. i = encodeVarintGenerated(dAtA, i, uint64(*m.ObservedGeneration))
  944. }
  945. dAtA[i] = 0x10
  946. i++
  947. i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
  948. dAtA[i] = 0x18
  949. i++
  950. i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
  951. dAtA[i] = 0x20
  952. i++
  953. i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentReplicas))
  954. dAtA[i] = 0x28
  955. i++
  956. i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas))
  957. dAtA[i] = 0x32
  958. i++
  959. i = encodeVarintGenerated(dAtA, i, uint64(len(m.CurrentRevision)))
  960. i += copy(dAtA[i:], m.CurrentRevision)
  961. dAtA[i] = 0x3a
  962. i++
  963. i = encodeVarintGenerated(dAtA, i, uint64(len(m.UpdateRevision)))
  964. i += copy(dAtA[i:], m.UpdateRevision)
  965. if m.CollisionCount != nil {
  966. dAtA[i] = 0x48
  967. i++
  968. i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
  969. }
  970. if len(m.Conditions) > 0 {
  971. for _, msg := range m.Conditions {
  972. dAtA[i] = 0x52
  973. i++
  974. i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
  975. n, err := msg.MarshalTo(dAtA[i:])
  976. if err != nil {
  977. return 0, err
  978. }
  979. i += n
  980. }
  981. }
  982. return i, nil
  983. }
  984. func (m *StatefulSetUpdateStrategy) Marshal() (dAtA []byte, err error) {
  985. size := m.Size()
  986. dAtA = make([]byte, size)
  987. n, err := m.MarshalTo(dAtA)
  988. if err != nil {
  989. return nil, err
  990. }
  991. return dAtA[:n], nil
  992. }
  993. func (m *StatefulSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error) {
  994. var i int
  995. _ = i
  996. var l int
  997. _ = l
  998. dAtA[i] = 0xa
  999. i++
  1000. i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
  1001. i += copy(dAtA[i:], m.Type)
  1002. if m.RollingUpdate != nil {
  1003. dAtA[i] = 0x12
  1004. i++
  1005. i = encodeVarintGenerated(dAtA, i, uint64(m.RollingUpdate.Size()))
  1006. n29, err := m.RollingUpdate.MarshalTo(dAtA[i:])
  1007. if err != nil {
  1008. return 0, err
  1009. }
  1010. i += n29
  1011. }
  1012. return i, nil
  1013. }
  1014. func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
  1015. for v >= 1<<7 {
  1016. dAtA[offset] = uint8(v&0x7f | 0x80)
  1017. v >>= 7
  1018. offset++
  1019. }
  1020. dAtA[offset] = uint8(v)
  1021. return offset + 1
  1022. }
  1023. func (m *ControllerRevision) Size() (n int) {
  1024. var l int
  1025. _ = l
  1026. l = m.ObjectMeta.Size()
  1027. n += 1 + l + sovGenerated(uint64(l))
  1028. l = m.Data.Size()
  1029. n += 1 + l + sovGenerated(uint64(l))
  1030. n += 1 + sovGenerated(uint64(m.Revision))
  1031. return n
  1032. }
  1033. func (m *ControllerRevisionList) Size() (n int) {
  1034. var l int
  1035. _ = l
  1036. l = m.ListMeta.Size()
  1037. n += 1 + l + sovGenerated(uint64(l))
  1038. if len(m.Items) > 0 {
  1039. for _, e := range m.Items {
  1040. l = e.Size()
  1041. n += 1 + l + sovGenerated(uint64(l))
  1042. }
  1043. }
  1044. return n
  1045. }
  1046. func (m *Deployment) Size() (n int) {
  1047. var l int
  1048. _ = l
  1049. l = m.ObjectMeta.Size()
  1050. n += 1 + l + sovGenerated(uint64(l))
  1051. l = m.Spec.Size()
  1052. n += 1 + l + sovGenerated(uint64(l))
  1053. l = m.Status.Size()
  1054. n += 1 + l + sovGenerated(uint64(l))
  1055. return n
  1056. }
  1057. func (m *DeploymentCondition) Size() (n int) {
  1058. var l int
  1059. _ = l
  1060. l = len(m.Type)
  1061. n += 1 + l + sovGenerated(uint64(l))
  1062. l = len(m.Status)
  1063. n += 1 + l + sovGenerated(uint64(l))
  1064. l = len(m.Reason)
  1065. n += 1 + l + sovGenerated(uint64(l))
  1066. l = len(m.Message)
  1067. n += 1 + l + sovGenerated(uint64(l))
  1068. l = m.LastUpdateTime.Size()
  1069. n += 1 + l + sovGenerated(uint64(l))
  1070. l = m.LastTransitionTime.Size()
  1071. n += 1 + l + sovGenerated(uint64(l))
  1072. return n
  1073. }
  1074. func (m *DeploymentList) Size() (n int) {
  1075. var l int
  1076. _ = l
  1077. l = m.ListMeta.Size()
  1078. n += 1 + l + sovGenerated(uint64(l))
  1079. if len(m.Items) > 0 {
  1080. for _, e := range m.Items {
  1081. l = e.Size()
  1082. n += 1 + l + sovGenerated(uint64(l))
  1083. }
  1084. }
  1085. return n
  1086. }
  1087. func (m *DeploymentRollback) Size() (n int) {
  1088. var l int
  1089. _ = l
  1090. l = len(m.Name)
  1091. n += 1 + l + sovGenerated(uint64(l))
  1092. if len(m.UpdatedAnnotations) > 0 {
  1093. for k, v := range m.UpdatedAnnotations {
  1094. _ = k
  1095. _ = v
  1096. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  1097. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  1098. }
  1099. }
  1100. l = m.RollbackTo.Size()
  1101. n += 1 + l + sovGenerated(uint64(l))
  1102. return n
  1103. }
  1104. func (m *DeploymentSpec) Size() (n int) {
  1105. var l int
  1106. _ = l
  1107. if m.Replicas != nil {
  1108. n += 1 + sovGenerated(uint64(*m.Replicas))
  1109. }
  1110. if m.Selector != nil {
  1111. l = m.Selector.Size()
  1112. n += 1 + l + sovGenerated(uint64(l))
  1113. }
  1114. l = m.Template.Size()
  1115. n += 1 + l + sovGenerated(uint64(l))
  1116. l = m.Strategy.Size()
  1117. n += 1 + l + sovGenerated(uint64(l))
  1118. n += 1 + sovGenerated(uint64(m.MinReadySeconds))
  1119. if m.RevisionHistoryLimit != nil {
  1120. n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
  1121. }
  1122. n += 2
  1123. if m.RollbackTo != nil {
  1124. l = m.RollbackTo.Size()
  1125. n += 1 + l + sovGenerated(uint64(l))
  1126. }
  1127. if m.ProgressDeadlineSeconds != nil {
  1128. n += 1 + sovGenerated(uint64(*m.ProgressDeadlineSeconds))
  1129. }
  1130. return n
  1131. }
  1132. func (m *DeploymentStatus) Size() (n int) {
  1133. var l int
  1134. _ = l
  1135. n += 1 + sovGenerated(uint64(m.ObservedGeneration))
  1136. n += 1 + sovGenerated(uint64(m.Replicas))
  1137. n += 1 + sovGenerated(uint64(m.UpdatedReplicas))
  1138. n += 1 + sovGenerated(uint64(m.AvailableReplicas))
  1139. n += 1 + sovGenerated(uint64(m.UnavailableReplicas))
  1140. if len(m.Conditions) > 0 {
  1141. for _, e := range m.Conditions {
  1142. l = e.Size()
  1143. n += 1 + l + sovGenerated(uint64(l))
  1144. }
  1145. }
  1146. n += 1 + sovGenerated(uint64(m.ReadyReplicas))
  1147. if m.CollisionCount != nil {
  1148. n += 1 + sovGenerated(uint64(*m.CollisionCount))
  1149. }
  1150. return n
  1151. }
  1152. func (m *DeploymentStrategy) Size() (n int) {
  1153. var l int
  1154. _ = l
  1155. l = len(m.Type)
  1156. n += 1 + l + sovGenerated(uint64(l))
  1157. if m.RollingUpdate != nil {
  1158. l = m.RollingUpdate.Size()
  1159. n += 1 + l + sovGenerated(uint64(l))
  1160. }
  1161. return n
  1162. }
  1163. func (m *RollbackConfig) Size() (n int) {
  1164. var l int
  1165. _ = l
  1166. n += 1 + sovGenerated(uint64(m.Revision))
  1167. return n
  1168. }
  1169. func (m *RollingUpdateDeployment) Size() (n int) {
  1170. var l int
  1171. _ = l
  1172. if m.MaxUnavailable != nil {
  1173. l = m.MaxUnavailable.Size()
  1174. n += 1 + l + sovGenerated(uint64(l))
  1175. }
  1176. if m.MaxSurge != nil {
  1177. l = m.MaxSurge.Size()
  1178. n += 1 + l + sovGenerated(uint64(l))
  1179. }
  1180. return n
  1181. }
  1182. func (m *RollingUpdateStatefulSetStrategy) Size() (n int) {
  1183. var l int
  1184. _ = l
  1185. if m.Partition != nil {
  1186. n += 1 + sovGenerated(uint64(*m.Partition))
  1187. }
  1188. return n
  1189. }
  1190. func (m *Scale) Size() (n int) {
  1191. var l int
  1192. _ = l
  1193. l = m.ObjectMeta.Size()
  1194. n += 1 + l + sovGenerated(uint64(l))
  1195. l = m.Spec.Size()
  1196. n += 1 + l + sovGenerated(uint64(l))
  1197. l = m.Status.Size()
  1198. n += 1 + l + sovGenerated(uint64(l))
  1199. return n
  1200. }
  1201. func (m *ScaleSpec) Size() (n int) {
  1202. var l int
  1203. _ = l
  1204. n += 1 + sovGenerated(uint64(m.Replicas))
  1205. return n
  1206. }
  1207. func (m *ScaleStatus) Size() (n int) {
  1208. var l int
  1209. _ = l
  1210. n += 1 + sovGenerated(uint64(m.Replicas))
  1211. if len(m.Selector) > 0 {
  1212. for k, v := range m.Selector {
  1213. _ = k
  1214. _ = v
  1215. mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
  1216. n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
  1217. }
  1218. }
  1219. l = len(m.TargetSelector)
  1220. n += 1 + l + sovGenerated(uint64(l))
  1221. return n
  1222. }
  1223. func (m *StatefulSet) Size() (n int) {
  1224. var l int
  1225. _ = l
  1226. l = m.ObjectMeta.Size()
  1227. n += 1 + l + sovGenerated(uint64(l))
  1228. l = m.Spec.Size()
  1229. n += 1 + l + sovGenerated(uint64(l))
  1230. l = m.Status.Size()
  1231. n += 1 + l + sovGenerated(uint64(l))
  1232. return n
  1233. }
  1234. func (m *StatefulSetCondition) Size() (n int) {
  1235. var l int
  1236. _ = l
  1237. l = len(m.Type)
  1238. n += 1 + l + sovGenerated(uint64(l))
  1239. l = len(m.Status)
  1240. n += 1 + l + sovGenerated(uint64(l))
  1241. l = m.LastTransitionTime.Size()
  1242. n += 1 + l + sovGenerated(uint64(l))
  1243. l = len(m.Reason)
  1244. n += 1 + l + sovGenerated(uint64(l))
  1245. l = len(m.Message)
  1246. n += 1 + l + sovGenerated(uint64(l))
  1247. return n
  1248. }
  1249. func (m *StatefulSetList) Size() (n int) {
  1250. var l int
  1251. _ = l
  1252. l = m.ListMeta.Size()
  1253. n += 1 + l + sovGenerated(uint64(l))
  1254. if len(m.Items) > 0 {
  1255. for _, e := range m.Items {
  1256. l = e.Size()
  1257. n += 1 + l + sovGenerated(uint64(l))
  1258. }
  1259. }
  1260. return n
  1261. }
  1262. func (m *StatefulSetSpec) Size() (n int) {
  1263. var l int
  1264. _ = l
  1265. if m.Replicas != nil {
  1266. n += 1 + sovGenerated(uint64(*m.Replicas))
  1267. }
  1268. if m.Selector != nil {
  1269. l = m.Selector.Size()
  1270. n += 1 + l + sovGenerated(uint64(l))
  1271. }
  1272. l = m.Template.Size()
  1273. n += 1 + l + sovGenerated(uint64(l))
  1274. if len(m.VolumeClaimTemplates) > 0 {
  1275. for _, e := range m.VolumeClaimTemplates {
  1276. l = e.Size()
  1277. n += 1 + l + sovGenerated(uint64(l))
  1278. }
  1279. }
  1280. l = len(m.ServiceName)
  1281. n += 1 + l + sovGenerated(uint64(l))
  1282. l = len(m.PodManagementPolicy)
  1283. n += 1 + l + sovGenerated(uint64(l))
  1284. l = m.UpdateStrategy.Size()
  1285. n += 1 + l + sovGenerated(uint64(l))
  1286. if m.RevisionHistoryLimit != nil {
  1287. n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
  1288. }
  1289. return n
  1290. }
  1291. func (m *StatefulSetStatus) Size() (n int) {
  1292. var l int
  1293. _ = l
  1294. if m.ObservedGeneration != nil {
  1295. n += 1 + sovGenerated(uint64(*m.ObservedGeneration))
  1296. }
  1297. n += 1 + sovGenerated(uint64(m.Replicas))
  1298. n += 1 + sovGenerated(uint64(m.ReadyReplicas))
  1299. n += 1 + sovGenerated(uint64(m.CurrentReplicas))
  1300. n += 1 + sovGenerated(uint64(m.UpdatedReplicas))
  1301. l = len(m.CurrentRevision)
  1302. n += 1 + l + sovGenerated(uint64(l))
  1303. l = len(m.UpdateRevision)
  1304. n += 1 + l + sovGenerated(uint64(l))
  1305. if m.CollisionCount != nil {
  1306. n += 1 + sovGenerated(uint64(*m.CollisionCount))
  1307. }
  1308. if len(m.Conditions) > 0 {
  1309. for _, e := range m.Conditions {
  1310. l = e.Size()
  1311. n += 1 + l + sovGenerated(uint64(l))
  1312. }
  1313. }
  1314. return n
  1315. }
  1316. func (m *StatefulSetUpdateStrategy) Size() (n int) {
  1317. var l int
  1318. _ = l
  1319. l = len(m.Type)
  1320. n += 1 + l + sovGenerated(uint64(l))
  1321. if m.RollingUpdate != nil {
  1322. l = m.RollingUpdate.Size()
  1323. n += 1 + l + sovGenerated(uint64(l))
  1324. }
  1325. return n
  1326. }
  1327. func sovGenerated(x uint64) (n int) {
  1328. for {
  1329. n++
  1330. x >>= 7
  1331. if x == 0 {
  1332. break
  1333. }
  1334. }
  1335. return n
  1336. }
  1337. func sozGenerated(x uint64) (n int) {
  1338. return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1339. }
  1340. func (this *ControllerRevision) String() string {
  1341. if this == nil {
  1342. return "nil"
  1343. }
  1344. s := strings.Join([]string{`&ControllerRevision{`,
  1345. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  1346. `Data:` + strings.Replace(strings.Replace(this.Data.String(), "RawExtension", "k8s_io_apimachinery_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`,
  1347. `Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
  1348. `}`,
  1349. }, "")
  1350. return s
  1351. }
  1352. func (this *ControllerRevisionList) String() string {
  1353. if this == nil {
  1354. return "nil"
  1355. }
  1356. s := strings.Join([]string{`&ControllerRevisionList{`,
  1357. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  1358. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "ControllerRevision", "ControllerRevision", 1), `&`, ``, 1) + `,`,
  1359. `}`,
  1360. }, "")
  1361. return s
  1362. }
  1363. func (this *Deployment) String() string {
  1364. if this == nil {
  1365. return "nil"
  1366. }
  1367. s := strings.Join([]string{`&Deployment{`,
  1368. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  1369. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DeploymentSpec", "DeploymentSpec", 1), `&`, ``, 1) + `,`,
  1370. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DeploymentStatus", "DeploymentStatus", 1), `&`, ``, 1) + `,`,
  1371. `}`,
  1372. }, "")
  1373. return s
  1374. }
  1375. func (this *DeploymentCondition) String() string {
  1376. if this == nil {
  1377. return "nil"
  1378. }
  1379. s := strings.Join([]string{`&DeploymentCondition{`,
  1380. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  1381. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  1382. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  1383. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  1384. `LastUpdateTime:` + strings.Replace(strings.Replace(this.LastUpdateTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  1385. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  1386. `}`,
  1387. }, "")
  1388. return s
  1389. }
  1390. func (this *DeploymentList) String() string {
  1391. if this == nil {
  1392. return "nil"
  1393. }
  1394. s := strings.Join([]string{`&DeploymentList{`,
  1395. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  1396. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "Deployment", "Deployment", 1), `&`, ``, 1) + `,`,
  1397. `}`,
  1398. }, "")
  1399. return s
  1400. }
  1401. func (this *DeploymentRollback) String() string {
  1402. if this == nil {
  1403. return "nil"
  1404. }
  1405. keysForUpdatedAnnotations := make([]string, 0, len(this.UpdatedAnnotations))
  1406. for k := range this.UpdatedAnnotations {
  1407. keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, k)
  1408. }
  1409. github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations)
  1410. mapStringForUpdatedAnnotations := "map[string]string{"
  1411. for _, k := range keysForUpdatedAnnotations {
  1412. mapStringForUpdatedAnnotations += fmt.Sprintf("%v: %v,", k, this.UpdatedAnnotations[k])
  1413. }
  1414. mapStringForUpdatedAnnotations += "}"
  1415. s := strings.Join([]string{`&DeploymentRollback{`,
  1416. `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
  1417. `UpdatedAnnotations:` + mapStringForUpdatedAnnotations + `,`,
  1418. `RollbackTo:` + strings.Replace(strings.Replace(this.RollbackTo.String(), "RollbackConfig", "RollbackConfig", 1), `&`, ``, 1) + `,`,
  1419. `}`,
  1420. }, "")
  1421. return s
  1422. }
  1423. func (this *DeploymentSpec) String() string {
  1424. if this == nil {
  1425. return "nil"
  1426. }
  1427. s := strings.Join([]string{`&DeploymentSpec{`,
  1428. `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
  1429. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  1430. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  1431. `Strategy:` + strings.Replace(strings.Replace(this.Strategy.String(), "DeploymentStrategy", "DeploymentStrategy", 1), `&`, ``, 1) + `,`,
  1432. `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
  1433. `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
  1434. `Paused:` + fmt.Sprintf("%v", this.Paused) + `,`,
  1435. `RollbackTo:` + strings.Replace(fmt.Sprintf("%v", this.RollbackTo), "RollbackConfig", "RollbackConfig", 1) + `,`,
  1436. `ProgressDeadlineSeconds:` + valueToStringGenerated(this.ProgressDeadlineSeconds) + `,`,
  1437. `}`,
  1438. }, "")
  1439. return s
  1440. }
  1441. func (this *DeploymentStatus) String() string {
  1442. if this == nil {
  1443. return "nil"
  1444. }
  1445. s := strings.Join([]string{`&DeploymentStatus{`,
  1446. `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
  1447. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  1448. `UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`,
  1449. `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
  1450. `UnavailableReplicas:` + fmt.Sprintf("%v", this.UnavailableReplicas) + `,`,
  1451. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "DeploymentCondition", "DeploymentCondition", 1), `&`, ``, 1) + `,`,
  1452. `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
  1453. `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
  1454. `}`,
  1455. }, "")
  1456. return s
  1457. }
  1458. func (this *DeploymentStrategy) String() string {
  1459. if this == nil {
  1460. return "nil"
  1461. }
  1462. s := strings.Join([]string{`&DeploymentStrategy{`,
  1463. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  1464. `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateDeployment", "RollingUpdateDeployment", 1) + `,`,
  1465. `}`,
  1466. }, "")
  1467. return s
  1468. }
  1469. func (this *RollbackConfig) String() string {
  1470. if this == nil {
  1471. return "nil"
  1472. }
  1473. s := strings.Join([]string{`&RollbackConfig{`,
  1474. `Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
  1475. `}`,
  1476. }, "")
  1477. return s
  1478. }
  1479. func (this *RollingUpdateDeployment) String() string {
  1480. if this == nil {
  1481. return "nil"
  1482. }
  1483. s := strings.Join([]string{`&RollingUpdateDeployment{`,
  1484. `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
  1485. `MaxSurge:` + strings.Replace(fmt.Sprintf("%v", this.MaxSurge), "IntOrString", "k8s_io_apimachinery_pkg_util_intstr.IntOrString", 1) + `,`,
  1486. `}`,
  1487. }, "")
  1488. return s
  1489. }
  1490. func (this *RollingUpdateStatefulSetStrategy) String() string {
  1491. if this == nil {
  1492. return "nil"
  1493. }
  1494. s := strings.Join([]string{`&RollingUpdateStatefulSetStrategy{`,
  1495. `Partition:` + valueToStringGenerated(this.Partition) + `,`,
  1496. `}`,
  1497. }, "")
  1498. return s
  1499. }
  1500. func (this *Scale) String() string {
  1501. if this == nil {
  1502. return "nil"
  1503. }
  1504. s := strings.Join([]string{`&Scale{`,
  1505. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  1506. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ScaleSpec", "ScaleSpec", 1), `&`, ``, 1) + `,`,
  1507. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ScaleStatus", "ScaleStatus", 1), `&`, ``, 1) + `,`,
  1508. `}`,
  1509. }, "")
  1510. return s
  1511. }
  1512. func (this *ScaleSpec) String() string {
  1513. if this == nil {
  1514. return "nil"
  1515. }
  1516. s := strings.Join([]string{`&ScaleSpec{`,
  1517. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  1518. `}`,
  1519. }, "")
  1520. return s
  1521. }
  1522. func (this *ScaleStatus) String() string {
  1523. if this == nil {
  1524. return "nil"
  1525. }
  1526. keysForSelector := make([]string, 0, len(this.Selector))
  1527. for k := range this.Selector {
  1528. keysForSelector = append(keysForSelector, k)
  1529. }
  1530. github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
  1531. mapStringForSelector := "map[string]string{"
  1532. for _, k := range keysForSelector {
  1533. mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k])
  1534. }
  1535. mapStringForSelector += "}"
  1536. s := strings.Join([]string{`&ScaleStatus{`,
  1537. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  1538. `Selector:` + mapStringForSelector + `,`,
  1539. `TargetSelector:` + fmt.Sprintf("%v", this.TargetSelector) + `,`,
  1540. `}`,
  1541. }, "")
  1542. return s
  1543. }
  1544. func (this *StatefulSet) String() string {
  1545. if this == nil {
  1546. return "nil"
  1547. }
  1548. s := strings.Join([]string{`&StatefulSet{`,
  1549. `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
  1550. `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "StatefulSetSpec", "StatefulSetSpec", 1), `&`, ``, 1) + `,`,
  1551. `Status:` + strings.Replace(strings.Replace(this.Status.String(), "StatefulSetStatus", "StatefulSetStatus", 1), `&`, ``, 1) + `,`,
  1552. `}`,
  1553. }, "")
  1554. return s
  1555. }
  1556. func (this *StatefulSetCondition) String() string {
  1557. if this == nil {
  1558. return "nil"
  1559. }
  1560. s := strings.Join([]string{`&StatefulSetCondition{`,
  1561. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  1562. `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
  1563. `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_apimachinery_pkg_apis_meta_v1.Time", 1), `&`, ``, 1) + `,`,
  1564. `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
  1565. `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
  1566. `}`,
  1567. }, "")
  1568. return s
  1569. }
  1570. func (this *StatefulSetList) String() string {
  1571. if this == nil {
  1572. return "nil"
  1573. }
  1574. s := strings.Join([]string{`&StatefulSetList{`,
  1575. `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta", 1), `&`, ``, 1) + `,`,
  1576. `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "StatefulSet", "StatefulSet", 1), `&`, ``, 1) + `,`,
  1577. `}`,
  1578. }, "")
  1579. return s
  1580. }
  1581. func (this *StatefulSetSpec) String() string {
  1582. if this == nil {
  1583. return "nil"
  1584. }
  1585. s := strings.Join([]string{`&StatefulSetSpec{`,
  1586. `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
  1587. `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector", 1) + `,`,
  1588. `Template:` + strings.Replace(strings.Replace(this.Template.String(), "PodTemplateSpec", "k8s_io_api_core_v1.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
  1589. `VolumeClaimTemplates:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VolumeClaimTemplates), "PersistentVolumeClaim", "k8s_io_api_core_v1.PersistentVolumeClaim", 1), `&`, ``, 1) + `,`,
  1590. `ServiceName:` + fmt.Sprintf("%v", this.ServiceName) + `,`,
  1591. `PodManagementPolicy:` + fmt.Sprintf("%v", this.PodManagementPolicy) + `,`,
  1592. `UpdateStrategy:` + strings.Replace(strings.Replace(this.UpdateStrategy.String(), "StatefulSetUpdateStrategy", "StatefulSetUpdateStrategy", 1), `&`, ``, 1) + `,`,
  1593. `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
  1594. `}`,
  1595. }, "")
  1596. return s
  1597. }
  1598. func (this *StatefulSetStatus) String() string {
  1599. if this == nil {
  1600. return "nil"
  1601. }
  1602. s := strings.Join([]string{`&StatefulSetStatus{`,
  1603. `ObservedGeneration:` + valueToStringGenerated(this.ObservedGeneration) + `,`,
  1604. `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
  1605. `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
  1606. `CurrentReplicas:` + fmt.Sprintf("%v", this.CurrentReplicas) + `,`,
  1607. `UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`,
  1608. `CurrentRevision:` + fmt.Sprintf("%v", this.CurrentRevision) + `,`,
  1609. `UpdateRevision:` + fmt.Sprintf("%v", this.UpdateRevision) + `,`,
  1610. `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
  1611. `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "StatefulSetCondition", "StatefulSetCondition", 1), `&`, ``, 1) + `,`,
  1612. `}`,
  1613. }, "")
  1614. return s
  1615. }
  1616. func (this *StatefulSetUpdateStrategy) String() string {
  1617. if this == nil {
  1618. return "nil"
  1619. }
  1620. s := strings.Join([]string{`&StatefulSetUpdateStrategy{`,
  1621. `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
  1622. `RollingUpdate:` + strings.Replace(fmt.Sprintf("%v", this.RollingUpdate), "RollingUpdateStatefulSetStrategy", "RollingUpdateStatefulSetStrategy", 1) + `,`,
  1623. `}`,
  1624. }, "")
  1625. return s
  1626. }
  1627. func valueToStringGenerated(v interface{}) string {
  1628. rv := reflect.ValueOf(v)
  1629. if rv.IsNil() {
  1630. return "nil"
  1631. }
  1632. pv := reflect.Indirect(rv).Interface()
  1633. return fmt.Sprintf("*%v", pv)
  1634. }
  1635. func (m *ControllerRevision) Unmarshal(dAtA []byte) error {
  1636. l := len(dAtA)
  1637. iNdEx := 0
  1638. for iNdEx < l {
  1639. preIndex := iNdEx
  1640. var wire uint64
  1641. for shift := uint(0); ; shift += 7 {
  1642. if shift >= 64 {
  1643. return ErrIntOverflowGenerated
  1644. }
  1645. if iNdEx >= l {
  1646. return io.ErrUnexpectedEOF
  1647. }
  1648. b := dAtA[iNdEx]
  1649. iNdEx++
  1650. wire |= (uint64(b) & 0x7F) << shift
  1651. if b < 0x80 {
  1652. break
  1653. }
  1654. }
  1655. fieldNum := int32(wire >> 3)
  1656. wireType := int(wire & 0x7)
  1657. if wireType == 4 {
  1658. return fmt.Errorf("proto: ControllerRevision: wiretype end group for non-group")
  1659. }
  1660. if fieldNum <= 0 {
  1661. return fmt.Errorf("proto: ControllerRevision: illegal tag %d (wire type %d)", fieldNum, wire)
  1662. }
  1663. switch fieldNum {
  1664. case 1:
  1665. if wireType != 2 {
  1666. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  1667. }
  1668. var msglen int
  1669. for shift := uint(0); ; shift += 7 {
  1670. if shift >= 64 {
  1671. return ErrIntOverflowGenerated
  1672. }
  1673. if iNdEx >= l {
  1674. return io.ErrUnexpectedEOF
  1675. }
  1676. b := dAtA[iNdEx]
  1677. iNdEx++
  1678. msglen |= (int(b) & 0x7F) << shift
  1679. if b < 0x80 {
  1680. break
  1681. }
  1682. }
  1683. if msglen < 0 {
  1684. return ErrInvalidLengthGenerated
  1685. }
  1686. postIndex := iNdEx + msglen
  1687. if postIndex > l {
  1688. return io.ErrUnexpectedEOF
  1689. }
  1690. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1691. return err
  1692. }
  1693. iNdEx = postIndex
  1694. case 2:
  1695. if wireType != 2 {
  1696. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  1697. }
  1698. var msglen int
  1699. for shift := uint(0); ; shift += 7 {
  1700. if shift >= 64 {
  1701. return ErrIntOverflowGenerated
  1702. }
  1703. if iNdEx >= l {
  1704. return io.ErrUnexpectedEOF
  1705. }
  1706. b := dAtA[iNdEx]
  1707. iNdEx++
  1708. msglen |= (int(b) & 0x7F) << shift
  1709. if b < 0x80 {
  1710. break
  1711. }
  1712. }
  1713. if msglen < 0 {
  1714. return ErrInvalidLengthGenerated
  1715. }
  1716. postIndex := iNdEx + msglen
  1717. if postIndex > l {
  1718. return io.ErrUnexpectedEOF
  1719. }
  1720. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1721. return err
  1722. }
  1723. iNdEx = postIndex
  1724. case 3:
  1725. if wireType != 0 {
  1726. return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
  1727. }
  1728. m.Revision = 0
  1729. for shift := uint(0); ; shift += 7 {
  1730. if shift >= 64 {
  1731. return ErrIntOverflowGenerated
  1732. }
  1733. if iNdEx >= l {
  1734. return io.ErrUnexpectedEOF
  1735. }
  1736. b := dAtA[iNdEx]
  1737. iNdEx++
  1738. m.Revision |= (int64(b) & 0x7F) << shift
  1739. if b < 0x80 {
  1740. break
  1741. }
  1742. }
  1743. default:
  1744. iNdEx = preIndex
  1745. skippy, err := skipGenerated(dAtA[iNdEx:])
  1746. if err != nil {
  1747. return err
  1748. }
  1749. if skippy < 0 {
  1750. return ErrInvalidLengthGenerated
  1751. }
  1752. if (iNdEx + skippy) > l {
  1753. return io.ErrUnexpectedEOF
  1754. }
  1755. iNdEx += skippy
  1756. }
  1757. }
  1758. if iNdEx > l {
  1759. return io.ErrUnexpectedEOF
  1760. }
  1761. return nil
  1762. }
  1763. func (m *ControllerRevisionList) Unmarshal(dAtA []byte) error {
  1764. l := len(dAtA)
  1765. iNdEx := 0
  1766. for iNdEx < l {
  1767. preIndex := iNdEx
  1768. var wire uint64
  1769. for shift := uint(0); ; shift += 7 {
  1770. if shift >= 64 {
  1771. return ErrIntOverflowGenerated
  1772. }
  1773. if iNdEx >= l {
  1774. return io.ErrUnexpectedEOF
  1775. }
  1776. b := dAtA[iNdEx]
  1777. iNdEx++
  1778. wire |= (uint64(b) & 0x7F) << shift
  1779. if b < 0x80 {
  1780. break
  1781. }
  1782. }
  1783. fieldNum := int32(wire >> 3)
  1784. wireType := int(wire & 0x7)
  1785. if wireType == 4 {
  1786. return fmt.Errorf("proto: ControllerRevisionList: wiretype end group for non-group")
  1787. }
  1788. if fieldNum <= 0 {
  1789. return fmt.Errorf("proto: ControllerRevisionList: illegal tag %d (wire type %d)", fieldNum, wire)
  1790. }
  1791. switch fieldNum {
  1792. case 1:
  1793. if wireType != 2 {
  1794. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  1795. }
  1796. var msglen int
  1797. for shift := uint(0); ; shift += 7 {
  1798. if shift >= 64 {
  1799. return ErrIntOverflowGenerated
  1800. }
  1801. if iNdEx >= l {
  1802. return io.ErrUnexpectedEOF
  1803. }
  1804. b := dAtA[iNdEx]
  1805. iNdEx++
  1806. msglen |= (int(b) & 0x7F) << shift
  1807. if b < 0x80 {
  1808. break
  1809. }
  1810. }
  1811. if msglen < 0 {
  1812. return ErrInvalidLengthGenerated
  1813. }
  1814. postIndex := iNdEx + msglen
  1815. if postIndex > l {
  1816. return io.ErrUnexpectedEOF
  1817. }
  1818. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1819. return err
  1820. }
  1821. iNdEx = postIndex
  1822. case 2:
  1823. if wireType != 2 {
  1824. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  1825. }
  1826. var msglen int
  1827. for shift := uint(0); ; shift += 7 {
  1828. if shift >= 64 {
  1829. return ErrIntOverflowGenerated
  1830. }
  1831. if iNdEx >= l {
  1832. return io.ErrUnexpectedEOF
  1833. }
  1834. b := dAtA[iNdEx]
  1835. iNdEx++
  1836. msglen |= (int(b) & 0x7F) << shift
  1837. if b < 0x80 {
  1838. break
  1839. }
  1840. }
  1841. if msglen < 0 {
  1842. return ErrInvalidLengthGenerated
  1843. }
  1844. postIndex := iNdEx + msglen
  1845. if postIndex > l {
  1846. return io.ErrUnexpectedEOF
  1847. }
  1848. m.Items = append(m.Items, ControllerRevision{})
  1849. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1850. return err
  1851. }
  1852. iNdEx = postIndex
  1853. default:
  1854. iNdEx = preIndex
  1855. skippy, err := skipGenerated(dAtA[iNdEx:])
  1856. if err != nil {
  1857. return err
  1858. }
  1859. if skippy < 0 {
  1860. return ErrInvalidLengthGenerated
  1861. }
  1862. if (iNdEx + skippy) > l {
  1863. return io.ErrUnexpectedEOF
  1864. }
  1865. iNdEx += skippy
  1866. }
  1867. }
  1868. if iNdEx > l {
  1869. return io.ErrUnexpectedEOF
  1870. }
  1871. return nil
  1872. }
  1873. func (m *Deployment) Unmarshal(dAtA []byte) error {
  1874. l := len(dAtA)
  1875. iNdEx := 0
  1876. for iNdEx < l {
  1877. preIndex := iNdEx
  1878. var wire uint64
  1879. for shift := uint(0); ; shift += 7 {
  1880. if shift >= 64 {
  1881. return ErrIntOverflowGenerated
  1882. }
  1883. if iNdEx >= l {
  1884. return io.ErrUnexpectedEOF
  1885. }
  1886. b := dAtA[iNdEx]
  1887. iNdEx++
  1888. wire |= (uint64(b) & 0x7F) << shift
  1889. if b < 0x80 {
  1890. break
  1891. }
  1892. }
  1893. fieldNum := int32(wire >> 3)
  1894. wireType := int(wire & 0x7)
  1895. if wireType == 4 {
  1896. return fmt.Errorf("proto: Deployment: wiretype end group for non-group")
  1897. }
  1898. if fieldNum <= 0 {
  1899. return fmt.Errorf("proto: Deployment: illegal tag %d (wire type %d)", fieldNum, wire)
  1900. }
  1901. switch fieldNum {
  1902. case 1:
  1903. if wireType != 2 {
  1904. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  1905. }
  1906. var msglen int
  1907. for shift := uint(0); ; shift += 7 {
  1908. if shift >= 64 {
  1909. return ErrIntOverflowGenerated
  1910. }
  1911. if iNdEx >= l {
  1912. return io.ErrUnexpectedEOF
  1913. }
  1914. b := dAtA[iNdEx]
  1915. iNdEx++
  1916. msglen |= (int(b) & 0x7F) << shift
  1917. if b < 0x80 {
  1918. break
  1919. }
  1920. }
  1921. if msglen < 0 {
  1922. return ErrInvalidLengthGenerated
  1923. }
  1924. postIndex := iNdEx + msglen
  1925. if postIndex > l {
  1926. return io.ErrUnexpectedEOF
  1927. }
  1928. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1929. return err
  1930. }
  1931. iNdEx = postIndex
  1932. case 2:
  1933. if wireType != 2 {
  1934. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  1935. }
  1936. var msglen int
  1937. for shift := uint(0); ; shift += 7 {
  1938. if shift >= 64 {
  1939. return ErrIntOverflowGenerated
  1940. }
  1941. if iNdEx >= l {
  1942. return io.ErrUnexpectedEOF
  1943. }
  1944. b := dAtA[iNdEx]
  1945. iNdEx++
  1946. msglen |= (int(b) & 0x7F) << shift
  1947. if b < 0x80 {
  1948. break
  1949. }
  1950. }
  1951. if msglen < 0 {
  1952. return ErrInvalidLengthGenerated
  1953. }
  1954. postIndex := iNdEx + msglen
  1955. if postIndex > l {
  1956. return io.ErrUnexpectedEOF
  1957. }
  1958. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1959. return err
  1960. }
  1961. iNdEx = postIndex
  1962. case 3:
  1963. if wireType != 2 {
  1964. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  1965. }
  1966. var msglen int
  1967. for shift := uint(0); ; shift += 7 {
  1968. if shift >= 64 {
  1969. return ErrIntOverflowGenerated
  1970. }
  1971. if iNdEx >= l {
  1972. return io.ErrUnexpectedEOF
  1973. }
  1974. b := dAtA[iNdEx]
  1975. iNdEx++
  1976. msglen |= (int(b) & 0x7F) << shift
  1977. if b < 0x80 {
  1978. break
  1979. }
  1980. }
  1981. if msglen < 0 {
  1982. return ErrInvalidLengthGenerated
  1983. }
  1984. postIndex := iNdEx + msglen
  1985. if postIndex > l {
  1986. return io.ErrUnexpectedEOF
  1987. }
  1988. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1989. return err
  1990. }
  1991. iNdEx = postIndex
  1992. default:
  1993. iNdEx = preIndex
  1994. skippy, err := skipGenerated(dAtA[iNdEx:])
  1995. if err != nil {
  1996. return err
  1997. }
  1998. if skippy < 0 {
  1999. return ErrInvalidLengthGenerated
  2000. }
  2001. if (iNdEx + skippy) > l {
  2002. return io.ErrUnexpectedEOF
  2003. }
  2004. iNdEx += skippy
  2005. }
  2006. }
  2007. if iNdEx > l {
  2008. return io.ErrUnexpectedEOF
  2009. }
  2010. return nil
  2011. }
  2012. func (m *DeploymentCondition) Unmarshal(dAtA []byte) error {
  2013. l := len(dAtA)
  2014. iNdEx := 0
  2015. for iNdEx < l {
  2016. preIndex := iNdEx
  2017. var wire uint64
  2018. for shift := uint(0); ; shift += 7 {
  2019. if shift >= 64 {
  2020. return ErrIntOverflowGenerated
  2021. }
  2022. if iNdEx >= l {
  2023. return io.ErrUnexpectedEOF
  2024. }
  2025. b := dAtA[iNdEx]
  2026. iNdEx++
  2027. wire |= (uint64(b) & 0x7F) << shift
  2028. if b < 0x80 {
  2029. break
  2030. }
  2031. }
  2032. fieldNum := int32(wire >> 3)
  2033. wireType := int(wire & 0x7)
  2034. if wireType == 4 {
  2035. return fmt.Errorf("proto: DeploymentCondition: wiretype end group for non-group")
  2036. }
  2037. if fieldNum <= 0 {
  2038. return fmt.Errorf("proto: DeploymentCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  2039. }
  2040. switch fieldNum {
  2041. case 1:
  2042. if wireType != 2 {
  2043. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  2044. }
  2045. var stringLen uint64
  2046. for shift := uint(0); ; shift += 7 {
  2047. if shift >= 64 {
  2048. return ErrIntOverflowGenerated
  2049. }
  2050. if iNdEx >= l {
  2051. return io.ErrUnexpectedEOF
  2052. }
  2053. b := dAtA[iNdEx]
  2054. iNdEx++
  2055. stringLen |= (uint64(b) & 0x7F) << shift
  2056. if b < 0x80 {
  2057. break
  2058. }
  2059. }
  2060. intStringLen := int(stringLen)
  2061. if intStringLen < 0 {
  2062. return ErrInvalidLengthGenerated
  2063. }
  2064. postIndex := iNdEx + intStringLen
  2065. if postIndex > l {
  2066. return io.ErrUnexpectedEOF
  2067. }
  2068. m.Type = DeploymentConditionType(dAtA[iNdEx:postIndex])
  2069. iNdEx = postIndex
  2070. case 2:
  2071. if wireType != 2 {
  2072. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  2073. }
  2074. var stringLen uint64
  2075. for shift := uint(0); ; shift += 7 {
  2076. if shift >= 64 {
  2077. return ErrIntOverflowGenerated
  2078. }
  2079. if iNdEx >= l {
  2080. return io.ErrUnexpectedEOF
  2081. }
  2082. b := dAtA[iNdEx]
  2083. iNdEx++
  2084. stringLen |= (uint64(b) & 0x7F) << shift
  2085. if b < 0x80 {
  2086. break
  2087. }
  2088. }
  2089. intStringLen := int(stringLen)
  2090. if intStringLen < 0 {
  2091. return ErrInvalidLengthGenerated
  2092. }
  2093. postIndex := iNdEx + intStringLen
  2094. if postIndex > l {
  2095. return io.ErrUnexpectedEOF
  2096. }
  2097. m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
  2098. iNdEx = postIndex
  2099. case 4:
  2100. if wireType != 2 {
  2101. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  2102. }
  2103. var stringLen uint64
  2104. for shift := uint(0); ; shift += 7 {
  2105. if shift >= 64 {
  2106. return ErrIntOverflowGenerated
  2107. }
  2108. if iNdEx >= l {
  2109. return io.ErrUnexpectedEOF
  2110. }
  2111. b := dAtA[iNdEx]
  2112. iNdEx++
  2113. stringLen |= (uint64(b) & 0x7F) << shift
  2114. if b < 0x80 {
  2115. break
  2116. }
  2117. }
  2118. intStringLen := int(stringLen)
  2119. if intStringLen < 0 {
  2120. return ErrInvalidLengthGenerated
  2121. }
  2122. postIndex := iNdEx + intStringLen
  2123. if postIndex > l {
  2124. return io.ErrUnexpectedEOF
  2125. }
  2126. m.Reason = string(dAtA[iNdEx:postIndex])
  2127. iNdEx = postIndex
  2128. case 5:
  2129. if wireType != 2 {
  2130. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  2131. }
  2132. var stringLen uint64
  2133. for shift := uint(0); ; shift += 7 {
  2134. if shift >= 64 {
  2135. return ErrIntOverflowGenerated
  2136. }
  2137. if iNdEx >= l {
  2138. return io.ErrUnexpectedEOF
  2139. }
  2140. b := dAtA[iNdEx]
  2141. iNdEx++
  2142. stringLen |= (uint64(b) & 0x7F) << shift
  2143. if b < 0x80 {
  2144. break
  2145. }
  2146. }
  2147. intStringLen := int(stringLen)
  2148. if intStringLen < 0 {
  2149. return ErrInvalidLengthGenerated
  2150. }
  2151. postIndex := iNdEx + intStringLen
  2152. if postIndex > l {
  2153. return io.ErrUnexpectedEOF
  2154. }
  2155. m.Message = string(dAtA[iNdEx:postIndex])
  2156. iNdEx = postIndex
  2157. case 6:
  2158. if wireType != 2 {
  2159. return fmt.Errorf("proto: wrong wireType = %d for field LastUpdateTime", wireType)
  2160. }
  2161. var msglen int
  2162. for shift := uint(0); ; shift += 7 {
  2163. if shift >= 64 {
  2164. return ErrIntOverflowGenerated
  2165. }
  2166. if iNdEx >= l {
  2167. return io.ErrUnexpectedEOF
  2168. }
  2169. b := dAtA[iNdEx]
  2170. iNdEx++
  2171. msglen |= (int(b) & 0x7F) << shift
  2172. if b < 0x80 {
  2173. break
  2174. }
  2175. }
  2176. if msglen < 0 {
  2177. return ErrInvalidLengthGenerated
  2178. }
  2179. postIndex := iNdEx + msglen
  2180. if postIndex > l {
  2181. return io.ErrUnexpectedEOF
  2182. }
  2183. if err := m.LastUpdateTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2184. return err
  2185. }
  2186. iNdEx = postIndex
  2187. case 7:
  2188. if wireType != 2 {
  2189. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  2190. }
  2191. var msglen int
  2192. for shift := uint(0); ; shift += 7 {
  2193. if shift >= 64 {
  2194. return ErrIntOverflowGenerated
  2195. }
  2196. if iNdEx >= l {
  2197. return io.ErrUnexpectedEOF
  2198. }
  2199. b := dAtA[iNdEx]
  2200. iNdEx++
  2201. msglen |= (int(b) & 0x7F) << shift
  2202. if b < 0x80 {
  2203. break
  2204. }
  2205. }
  2206. if msglen < 0 {
  2207. return ErrInvalidLengthGenerated
  2208. }
  2209. postIndex := iNdEx + msglen
  2210. if postIndex > l {
  2211. return io.ErrUnexpectedEOF
  2212. }
  2213. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2214. return err
  2215. }
  2216. iNdEx = postIndex
  2217. default:
  2218. iNdEx = preIndex
  2219. skippy, err := skipGenerated(dAtA[iNdEx:])
  2220. if err != nil {
  2221. return err
  2222. }
  2223. if skippy < 0 {
  2224. return ErrInvalidLengthGenerated
  2225. }
  2226. if (iNdEx + skippy) > l {
  2227. return io.ErrUnexpectedEOF
  2228. }
  2229. iNdEx += skippy
  2230. }
  2231. }
  2232. if iNdEx > l {
  2233. return io.ErrUnexpectedEOF
  2234. }
  2235. return nil
  2236. }
  2237. func (m *DeploymentList) Unmarshal(dAtA []byte) error {
  2238. l := len(dAtA)
  2239. iNdEx := 0
  2240. for iNdEx < l {
  2241. preIndex := iNdEx
  2242. var wire uint64
  2243. for shift := uint(0); ; shift += 7 {
  2244. if shift >= 64 {
  2245. return ErrIntOverflowGenerated
  2246. }
  2247. if iNdEx >= l {
  2248. return io.ErrUnexpectedEOF
  2249. }
  2250. b := dAtA[iNdEx]
  2251. iNdEx++
  2252. wire |= (uint64(b) & 0x7F) << shift
  2253. if b < 0x80 {
  2254. break
  2255. }
  2256. }
  2257. fieldNum := int32(wire >> 3)
  2258. wireType := int(wire & 0x7)
  2259. if wireType == 4 {
  2260. return fmt.Errorf("proto: DeploymentList: wiretype end group for non-group")
  2261. }
  2262. if fieldNum <= 0 {
  2263. return fmt.Errorf("proto: DeploymentList: illegal tag %d (wire type %d)", fieldNum, wire)
  2264. }
  2265. switch fieldNum {
  2266. case 1:
  2267. if wireType != 2 {
  2268. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  2269. }
  2270. var msglen int
  2271. for shift := uint(0); ; shift += 7 {
  2272. if shift >= 64 {
  2273. return ErrIntOverflowGenerated
  2274. }
  2275. if iNdEx >= l {
  2276. return io.ErrUnexpectedEOF
  2277. }
  2278. b := dAtA[iNdEx]
  2279. iNdEx++
  2280. msglen |= (int(b) & 0x7F) << shift
  2281. if b < 0x80 {
  2282. break
  2283. }
  2284. }
  2285. if msglen < 0 {
  2286. return ErrInvalidLengthGenerated
  2287. }
  2288. postIndex := iNdEx + msglen
  2289. if postIndex > l {
  2290. return io.ErrUnexpectedEOF
  2291. }
  2292. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2293. return err
  2294. }
  2295. iNdEx = postIndex
  2296. case 2:
  2297. if wireType != 2 {
  2298. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  2299. }
  2300. var msglen int
  2301. for shift := uint(0); ; shift += 7 {
  2302. if shift >= 64 {
  2303. return ErrIntOverflowGenerated
  2304. }
  2305. if iNdEx >= l {
  2306. return io.ErrUnexpectedEOF
  2307. }
  2308. b := dAtA[iNdEx]
  2309. iNdEx++
  2310. msglen |= (int(b) & 0x7F) << shift
  2311. if b < 0x80 {
  2312. break
  2313. }
  2314. }
  2315. if msglen < 0 {
  2316. return ErrInvalidLengthGenerated
  2317. }
  2318. postIndex := iNdEx + msglen
  2319. if postIndex > l {
  2320. return io.ErrUnexpectedEOF
  2321. }
  2322. m.Items = append(m.Items, Deployment{})
  2323. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2324. return err
  2325. }
  2326. iNdEx = postIndex
  2327. default:
  2328. iNdEx = preIndex
  2329. skippy, err := skipGenerated(dAtA[iNdEx:])
  2330. if err != nil {
  2331. return err
  2332. }
  2333. if skippy < 0 {
  2334. return ErrInvalidLengthGenerated
  2335. }
  2336. if (iNdEx + skippy) > l {
  2337. return io.ErrUnexpectedEOF
  2338. }
  2339. iNdEx += skippy
  2340. }
  2341. }
  2342. if iNdEx > l {
  2343. return io.ErrUnexpectedEOF
  2344. }
  2345. return nil
  2346. }
  2347. func (m *DeploymentRollback) Unmarshal(dAtA []byte) error {
  2348. l := len(dAtA)
  2349. iNdEx := 0
  2350. for iNdEx < l {
  2351. preIndex := iNdEx
  2352. var wire uint64
  2353. for shift := uint(0); ; shift += 7 {
  2354. if shift >= 64 {
  2355. return ErrIntOverflowGenerated
  2356. }
  2357. if iNdEx >= l {
  2358. return io.ErrUnexpectedEOF
  2359. }
  2360. b := dAtA[iNdEx]
  2361. iNdEx++
  2362. wire |= (uint64(b) & 0x7F) << shift
  2363. if b < 0x80 {
  2364. break
  2365. }
  2366. }
  2367. fieldNum := int32(wire >> 3)
  2368. wireType := int(wire & 0x7)
  2369. if wireType == 4 {
  2370. return fmt.Errorf("proto: DeploymentRollback: wiretype end group for non-group")
  2371. }
  2372. if fieldNum <= 0 {
  2373. return fmt.Errorf("proto: DeploymentRollback: illegal tag %d (wire type %d)", fieldNum, wire)
  2374. }
  2375. switch fieldNum {
  2376. case 1:
  2377. if wireType != 2 {
  2378. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  2379. }
  2380. var stringLen uint64
  2381. for shift := uint(0); ; shift += 7 {
  2382. if shift >= 64 {
  2383. return ErrIntOverflowGenerated
  2384. }
  2385. if iNdEx >= l {
  2386. return io.ErrUnexpectedEOF
  2387. }
  2388. b := dAtA[iNdEx]
  2389. iNdEx++
  2390. stringLen |= (uint64(b) & 0x7F) << shift
  2391. if b < 0x80 {
  2392. break
  2393. }
  2394. }
  2395. intStringLen := int(stringLen)
  2396. if intStringLen < 0 {
  2397. return ErrInvalidLengthGenerated
  2398. }
  2399. postIndex := iNdEx + intStringLen
  2400. if postIndex > l {
  2401. return io.ErrUnexpectedEOF
  2402. }
  2403. m.Name = string(dAtA[iNdEx:postIndex])
  2404. iNdEx = postIndex
  2405. case 2:
  2406. if wireType != 2 {
  2407. return fmt.Errorf("proto: wrong wireType = %d for field UpdatedAnnotations", 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 m.UpdatedAnnotations == nil {
  2432. m.UpdatedAnnotations = make(map[string]string)
  2433. }
  2434. var mapkey string
  2435. var mapvalue string
  2436. for iNdEx < postIndex {
  2437. entryPreIndex := iNdEx
  2438. var wire uint64
  2439. for shift := uint(0); ; shift += 7 {
  2440. if shift >= 64 {
  2441. return ErrIntOverflowGenerated
  2442. }
  2443. if iNdEx >= l {
  2444. return io.ErrUnexpectedEOF
  2445. }
  2446. b := dAtA[iNdEx]
  2447. iNdEx++
  2448. wire |= (uint64(b) & 0x7F) << shift
  2449. if b < 0x80 {
  2450. break
  2451. }
  2452. }
  2453. fieldNum := int32(wire >> 3)
  2454. if fieldNum == 1 {
  2455. var stringLenmapkey uint64
  2456. for shift := uint(0); ; shift += 7 {
  2457. if shift >= 64 {
  2458. return ErrIntOverflowGenerated
  2459. }
  2460. if iNdEx >= l {
  2461. return io.ErrUnexpectedEOF
  2462. }
  2463. b := dAtA[iNdEx]
  2464. iNdEx++
  2465. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  2466. if b < 0x80 {
  2467. break
  2468. }
  2469. }
  2470. intStringLenmapkey := int(stringLenmapkey)
  2471. if intStringLenmapkey < 0 {
  2472. return ErrInvalidLengthGenerated
  2473. }
  2474. postStringIndexmapkey := iNdEx + intStringLenmapkey
  2475. if postStringIndexmapkey > l {
  2476. return io.ErrUnexpectedEOF
  2477. }
  2478. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  2479. iNdEx = postStringIndexmapkey
  2480. } else if fieldNum == 2 {
  2481. var stringLenmapvalue uint64
  2482. for shift := uint(0); ; shift += 7 {
  2483. if shift >= 64 {
  2484. return ErrIntOverflowGenerated
  2485. }
  2486. if iNdEx >= l {
  2487. return io.ErrUnexpectedEOF
  2488. }
  2489. b := dAtA[iNdEx]
  2490. iNdEx++
  2491. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  2492. if b < 0x80 {
  2493. break
  2494. }
  2495. }
  2496. intStringLenmapvalue := int(stringLenmapvalue)
  2497. if intStringLenmapvalue < 0 {
  2498. return ErrInvalidLengthGenerated
  2499. }
  2500. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  2501. if postStringIndexmapvalue > l {
  2502. return io.ErrUnexpectedEOF
  2503. }
  2504. mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  2505. iNdEx = postStringIndexmapvalue
  2506. } else {
  2507. iNdEx = entryPreIndex
  2508. skippy, err := skipGenerated(dAtA[iNdEx:])
  2509. if err != nil {
  2510. return err
  2511. }
  2512. if skippy < 0 {
  2513. return ErrInvalidLengthGenerated
  2514. }
  2515. if (iNdEx + skippy) > postIndex {
  2516. return io.ErrUnexpectedEOF
  2517. }
  2518. iNdEx += skippy
  2519. }
  2520. }
  2521. m.UpdatedAnnotations[mapkey] = mapvalue
  2522. iNdEx = postIndex
  2523. case 3:
  2524. if wireType != 2 {
  2525. return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
  2526. }
  2527. var msglen int
  2528. for shift := uint(0); ; shift += 7 {
  2529. if shift >= 64 {
  2530. return ErrIntOverflowGenerated
  2531. }
  2532. if iNdEx >= l {
  2533. return io.ErrUnexpectedEOF
  2534. }
  2535. b := dAtA[iNdEx]
  2536. iNdEx++
  2537. msglen |= (int(b) & 0x7F) << shift
  2538. if b < 0x80 {
  2539. break
  2540. }
  2541. }
  2542. if msglen < 0 {
  2543. return ErrInvalidLengthGenerated
  2544. }
  2545. postIndex := iNdEx + msglen
  2546. if postIndex > l {
  2547. return io.ErrUnexpectedEOF
  2548. }
  2549. if err := m.RollbackTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2550. return err
  2551. }
  2552. iNdEx = postIndex
  2553. default:
  2554. iNdEx = preIndex
  2555. skippy, err := skipGenerated(dAtA[iNdEx:])
  2556. if err != nil {
  2557. return err
  2558. }
  2559. if skippy < 0 {
  2560. return ErrInvalidLengthGenerated
  2561. }
  2562. if (iNdEx + skippy) > l {
  2563. return io.ErrUnexpectedEOF
  2564. }
  2565. iNdEx += skippy
  2566. }
  2567. }
  2568. if iNdEx > l {
  2569. return io.ErrUnexpectedEOF
  2570. }
  2571. return nil
  2572. }
  2573. func (m *DeploymentSpec) Unmarshal(dAtA []byte) error {
  2574. l := len(dAtA)
  2575. iNdEx := 0
  2576. for iNdEx < l {
  2577. preIndex := iNdEx
  2578. var wire uint64
  2579. for shift := uint(0); ; shift += 7 {
  2580. if shift >= 64 {
  2581. return ErrIntOverflowGenerated
  2582. }
  2583. if iNdEx >= l {
  2584. return io.ErrUnexpectedEOF
  2585. }
  2586. b := dAtA[iNdEx]
  2587. iNdEx++
  2588. wire |= (uint64(b) & 0x7F) << shift
  2589. if b < 0x80 {
  2590. break
  2591. }
  2592. }
  2593. fieldNum := int32(wire >> 3)
  2594. wireType := int(wire & 0x7)
  2595. if wireType == 4 {
  2596. return fmt.Errorf("proto: DeploymentSpec: wiretype end group for non-group")
  2597. }
  2598. if fieldNum <= 0 {
  2599. return fmt.Errorf("proto: DeploymentSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  2600. }
  2601. switch fieldNum {
  2602. case 1:
  2603. if wireType != 0 {
  2604. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  2605. }
  2606. var v int32
  2607. for shift := uint(0); ; shift += 7 {
  2608. if shift >= 64 {
  2609. return ErrIntOverflowGenerated
  2610. }
  2611. if iNdEx >= l {
  2612. return io.ErrUnexpectedEOF
  2613. }
  2614. b := dAtA[iNdEx]
  2615. iNdEx++
  2616. v |= (int32(b) & 0x7F) << shift
  2617. if b < 0x80 {
  2618. break
  2619. }
  2620. }
  2621. m.Replicas = &v
  2622. case 2:
  2623. if wireType != 2 {
  2624. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  2625. }
  2626. var msglen int
  2627. for shift := uint(0); ; shift += 7 {
  2628. if shift >= 64 {
  2629. return ErrIntOverflowGenerated
  2630. }
  2631. if iNdEx >= l {
  2632. return io.ErrUnexpectedEOF
  2633. }
  2634. b := dAtA[iNdEx]
  2635. iNdEx++
  2636. msglen |= (int(b) & 0x7F) << shift
  2637. if b < 0x80 {
  2638. break
  2639. }
  2640. }
  2641. if msglen < 0 {
  2642. return ErrInvalidLengthGenerated
  2643. }
  2644. postIndex := iNdEx + msglen
  2645. if postIndex > l {
  2646. return io.ErrUnexpectedEOF
  2647. }
  2648. if m.Selector == nil {
  2649. m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  2650. }
  2651. if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2652. return err
  2653. }
  2654. iNdEx = postIndex
  2655. case 3:
  2656. if wireType != 2 {
  2657. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  2658. }
  2659. var msglen int
  2660. for shift := uint(0); ; shift += 7 {
  2661. if shift >= 64 {
  2662. return ErrIntOverflowGenerated
  2663. }
  2664. if iNdEx >= l {
  2665. return io.ErrUnexpectedEOF
  2666. }
  2667. b := dAtA[iNdEx]
  2668. iNdEx++
  2669. msglen |= (int(b) & 0x7F) << shift
  2670. if b < 0x80 {
  2671. break
  2672. }
  2673. }
  2674. if msglen < 0 {
  2675. return ErrInvalidLengthGenerated
  2676. }
  2677. postIndex := iNdEx + msglen
  2678. if postIndex > l {
  2679. return io.ErrUnexpectedEOF
  2680. }
  2681. if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2682. return err
  2683. }
  2684. iNdEx = postIndex
  2685. case 4:
  2686. if wireType != 2 {
  2687. return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType)
  2688. }
  2689. var msglen int
  2690. for shift := uint(0); ; shift += 7 {
  2691. if shift >= 64 {
  2692. return ErrIntOverflowGenerated
  2693. }
  2694. if iNdEx >= l {
  2695. return io.ErrUnexpectedEOF
  2696. }
  2697. b := dAtA[iNdEx]
  2698. iNdEx++
  2699. msglen |= (int(b) & 0x7F) << shift
  2700. if b < 0x80 {
  2701. break
  2702. }
  2703. }
  2704. if msglen < 0 {
  2705. return ErrInvalidLengthGenerated
  2706. }
  2707. postIndex := iNdEx + msglen
  2708. if postIndex > l {
  2709. return io.ErrUnexpectedEOF
  2710. }
  2711. if err := m.Strategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2712. return err
  2713. }
  2714. iNdEx = postIndex
  2715. case 5:
  2716. if wireType != 0 {
  2717. return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
  2718. }
  2719. m.MinReadySeconds = 0
  2720. for shift := uint(0); ; shift += 7 {
  2721. if shift >= 64 {
  2722. return ErrIntOverflowGenerated
  2723. }
  2724. if iNdEx >= l {
  2725. return io.ErrUnexpectedEOF
  2726. }
  2727. b := dAtA[iNdEx]
  2728. iNdEx++
  2729. m.MinReadySeconds |= (int32(b) & 0x7F) << shift
  2730. if b < 0x80 {
  2731. break
  2732. }
  2733. }
  2734. case 6:
  2735. if wireType != 0 {
  2736. return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
  2737. }
  2738. var v int32
  2739. for shift := uint(0); ; shift += 7 {
  2740. if shift >= 64 {
  2741. return ErrIntOverflowGenerated
  2742. }
  2743. if iNdEx >= l {
  2744. return io.ErrUnexpectedEOF
  2745. }
  2746. b := dAtA[iNdEx]
  2747. iNdEx++
  2748. v |= (int32(b) & 0x7F) << shift
  2749. if b < 0x80 {
  2750. break
  2751. }
  2752. }
  2753. m.RevisionHistoryLimit = &v
  2754. case 7:
  2755. if wireType != 0 {
  2756. return fmt.Errorf("proto: wrong wireType = %d for field Paused", wireType)
  2757. }
  2758. var v int
  2759. for shift := uint(0); ; shift += 7 {
  2760. if shift >= 64 {
  2761. return ErrIntOverflowGenerated
  2762. }
  2763. if iNdEx >= l {
  2764. return io.ErrUnexpectedEOF
  2765. }
  2766. b := dAtA[iNdEx]
  2767. iNdEx++
  2768. v |= (int(b) & 0x7F) << shift
  2769. if b < 0x80 {
  2770. break
  2771. }
  2772. }
  2773. m.Paused = bool(v != 0)
  2774. case 8:
  2775. if wireType != 2 {
  2776. return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
  2777. }
  2778. var msglen int
  2779. for shift := uint(0); ; shift += 7 {
  2780. if shift >= 64 {
  2781. return ErrIntOverflowGenerated
  2782. }
  2783. if iNdEx >= l {
  2784. return io.ErrUnexpectedEOF
  2785. }
  2786. b := dAtA[iNdEx]
  2787. iNdEx++
  2788. msglen |= (int(b) & 0x7F) << shift
  2789. if b < 0x80 {
  2790. break
  2791. }
  2792. }
  2793. if msglen < 0 {
  2794. return ErrInvalidLengthGenerated
  2795. }
  2796. postIndex := iNdEx + msglen
  2797. if postIndex > l {
  2798. return io.ErrUnexpectedEOF
  2799. }
  2800. if m.RollbackTo == nil {
  2801. m.RollbackTo = &RollbackConfig{}
  2802. }
  2803. if err := m.RollbackTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2804. return err
  2805. }
  2806. iNdEx = postIndex
  2807. case 9:
  2808. if wireType != 0 {
  2809. return fmt.Errorf("proto: wrong wireType = %d for field ProgressDeadlineSeconds", wireType)
  2810. }
  2811. var v int32
  2812. for shift := uint(0); ; shift += 7 {
  2813. if shift >= 64 {
  2814. return ErrIntOverflowGenerated
  2815. }
  2816. if iNdEx >= l {
  2817. return io.ErrUnexpectedEOF
  2818. }
  2819. b := dAtA[iNdEx]
  2820. iNdEx++
  2821. v |= (int32(b) & 0x7F) << shift
  2822. if b < 0x80 {
  2823. break
  2824. }
  2825. }
  2826. m.ProgressDeadlineSeconds = &v
  2827. default:
  2828. iNdEx = preIndex
  2829. skippy, err := skipGenerated(dAtA[iNdEx:])
  2830. if err != nil {
  2831. return err
  2832. }
  2833. if skippy < 0 {
  2834. return ErrInvalidLengthGenerated
  2835. }
  2836. if (iNdEx + skippy) > l {
  2837. return io.ErrUnexpectedEOF
  2838. }
  2839. iNdEx += skippy
  2840. }
  2841. }
  2842. if iNdEx > l {
  2843. return io.ErrUnexpectedEOF
  2844. }
  2845. return nil
  2846. }
  2847. func (m *DeploymentStatus) Unmarshal(dAtA []byte) error {
  2848. l := len(dAtA)
  2849. iNdEx := 0
  2850. for iNdEx < l {
  2851. preIndex := iNdEx
  2852. var wire uint64
  2853. for shift := uint(0); ; shift += 7 {
  2854. if shift >= 64 {
  2855. return ErrIntOverflowGenerated
  2856. }
  2857. if iNdEx >= l {
  2858. return io.ErrUnexpectedEOF
  2859. }
  2860. b := dAtA[iNdEx]
  2861. iNdEx++
  2862. wire |= (uint64(b) & 0x7F) << shift
  2863. if b < 0x80 {
  2864. break
  2865. }
  2866. }
  2867. fieldNum := int32(wire >> 3)
  2868. wireType := int(wire & 0x7)
  2869. if wireType == 4 {
  2870. return fmt.Errorf("proto: DeploymentStatus: wiretype end group for non-group")
  2871. }
  2872. if fieldNum <= 0 {
  2873. return fmt.Errorf("proto: DeploymentStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  2874. }
  2875. switch fieldNum {
  2876. case 1:
  2877. if wireType != 0 {
  2878. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  2879. }
  2880. m.ObservedGeneration = 0
  2881. for shift := uint(0); ; shift += 7 {
  2882. if shift >= 64 {
  2883. return ErrIntOverflowGenerated
  2884. }
  2885. if iNdEx >= l {
  2886. return io.ErrUnexpectedEOF
  2887. }
  2888. b := dAtA[iNdEx]
  2889. iNdEx++
  2890. m.ObservedGeneration |= (int64(b) & 0x7F) << shift
  2891. if b < 0x80 {
  2892. break
  2893. }
  2894. }
  2895. case 2:
  2896. if wireType != 0 {
  2897. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  2898. }
  2899. m.Replicas = 0
  2900. for shift := uint(0); ; shift += 7 {
  2901. if shift >= 64 {
  2902. return ErrIntOverflowGenerated
  2903. }
  2904. if iNdEx >= l {
  2905. return io.ErrUnexpectedEOF
  2906. }
  2907. b := dAtA[iNdEx]
  2908. iNdEx++
  2909. m.Replicas |= (int32(b) & 0x7F) << shift
  2910. if b < 0x80 {
  2911. break
  2912. }
  2913. }
  2914. case 3:
  2915. if wireType != 0 {
  2916. return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType)
  2917. }
  2918. m.UpdatedReplicas = 0
  2919. for shift := uint(0); ; shift += 7 {
  2920. if shift >= 64 {
  2921. return ErrIntOverflowGenerated
  2922. }
  2923. if iNdEx >= l {
  2924. return io.ErrUnexpectedEOF
  2925. }
  2926. b := dAtA[iNdEx]
  2927. iNdEx++
  2928. m.UpdatedReplicas |= (int32(b) & 0x7F) << shift
  2929. if b < 0x80 {
  2930. break
  2931. }
  2932. }
  2933. case 4:
  2934. if wireType != 0 {
  2935. return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
  2936. }
  2937. m.AvailableReplicas = 0
  2938. for shift := uint(0); ; shift += 7 {
  2939. if shift >= 64 {
  2940. return ErrIntOverflowGenerated
  2941. }
  2942. if iNdEx >= l {
  2943. return io.ErrUnexpectedEOF
  2944. }
  2945. b := dAtA[iNdEx]
  2946. iNdEx++
  2947. m.AvailableReplicas |= (int32(b) & 0x7F) << shift
  2948. if b < 0x80 {
  2949. break
  2950. }
  2951. }
  2952. case 5:
  2953. if wireType != 0 {
  2954. return fmt.Errorf("proto: wrong wireType = %d for field UnavailableReplicas", wireType)
  2955. }
  2956. m.UnavailableReplicas = 0
  2957. for shift := uint(0); ; shift += 7 {
  2958. if shift >= 64 {
  2959. return ErrIntOverflowGenerated
  2960. }
  2961. if iNdEx >= l {
  2962. return io.ErrUnexpectedEOF
  2963. }
  2964. b := dAtA[iNdEx]
  2965. iNdEx++
  2966. m.UnavailableReplicas |= (int32(b) & 0x7F) << shift
  2967. if b < 0x80 {
  2968. break
  2969. }
  2970. }
  2971. case 6:
  2972. if wireType != 2 {
  2973. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  2974. }
  2975. var msglen int
  2976. for shift := uint(0); ; shift += 7 {
  2977. if shift >= 64 {
  2978. return ErrIntOverflowGenerated
  2979. }
  2980. if iNdEx >= l {
  2981. return io.ErrUnexpectedEOF
  2982. }
  2983. b := dAtA[iNdEx]
  2984. iNdEx++
  2985. msglen |= (int(b) & 0x7F) << shift
  2986. if b < 0x80 {
  2987. break
  2988. }
  2989. }
  2990. if msglen < 0 {
  2991. return ErrInvalidLengthGenerated
  2992. }
  2993. postIndex := iNdEx + msglen
  2994. if postIndex > l {
  2995. return io.ErrUnexpectedEOF
  2996. }
  2997. m.Conditions = append(m.Conditions, DeploymentCondition{})
  2998. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2999. return err
  3000. }
  3001. iNdEx = postIndex
  3002. case 7:
  3003. if wireType != 0 {
  3004. return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
  3005. }
  3006. m.ReadyReplicas = 0
  3007. for shift := uint(0); ; shift += 7 {
  3008. if shift >= 64 {
  3009. return ErrIntOverflowGenerated
  3010. }
  3011. if iNdEx >= l {
  3012. return io.ErrUnexpectedEOF
  3013. }
  3014. b := dAtA[iNdEx]
  3015. iNdEx++
  3016. m.ReadyReplicas |= (int32(b) & 0x7F) << shift
  3017. if b < 0x80 {
  3018. break
  3019. }
  3020. }
  3021. case 8:
  3022. if wireType != 0 {
  3023. return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
  3024. }
  3025. var v int32
  3026. for shift := uint(0); ; shift += 7 {
  3027. if shift >= 64 {
  3028. return ErrIntOverflowGenerated
  3029. }
  3030. if iNdEx >= l {
  3031. return io.ErrUnexpectedEOF
  3032. }
  3033. b := dAtA[iNdEx]
  3034. iNdEx++
  3035. v |= (int32(b) & 0x7F) << shift
  3036. if b < 0x80 {
  3037. break
  3038. }
  3039. }
  3040. m.CollisionCount = &v
  3041. default:
  3042. iNdEx = preIndex
  3043. skippy, err := skipGenerated(dAtA[iNdEx:])
  3044. if err != nil {
  3045. return err
  3046. }
  3047. if skippy < 0 {
  3048. return ErrInvalidLengthGenerated
  3049. }
  3050. if (iNdEx + skippy) > l {
  3051. return io.ErrUnexpectedEOF
  3052. }
  3053. iNdEx += skippy
  3054. }
  3055. }
  3056. if iNdEx > l {
  3057. return io.ErrUnexpectedEOF
  3058. }
  3059. return nil
  3060. }
  3061. func (m *DeploymentStrategy) Unmarshal(dAtA []byte) error {
  3062. l := len(dAtA)
  3063. iNdEx := 0
  3064. for iNdEx < l {
  3065. preIndex := iNdEx
  3066. var wire uint64
  3067. for shift := uint(0); ; shift += 7 {
  3068. if shift >= 64 {
  3069. return ErrIntOverflowGenerated
  3070. }
  3071. if iNdEx >= l {
  3072. return io.ErrUnexpectedEOF
  3073. }
  3074. b := dAtA[iNdEx]
  3075. iNdEx++
  3076. wire |= (uint64(b) & 0x7F) << shift
  3077. if b < 0x80 {
  3078. break
  3079. }
  3080. }
  3081. fieldNum := int32(wire >> 3)
  3082. wireType := int(wire & 0x7)
  3083. if wireType == 4 {
  3084. return fmt.Errorf("proto: DeploymentStrategy: wiretype end group for non-group")
  3085. }
  3086. if fieldNum <= 0 {
  3087. return fmt.Errorf("proto: DeploymentStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
  3088. }
  3089. switch fieldNum {
  3090. case 1:
  3091. if wireType != 2 {
  3092. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  3093. }
  3094. var stringLen uint64
  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. stringLen |= (uint64(b) & 0x7F) << shift
  3105. if b < 0x80 {
  3106. break
  3107. }
  3108. }
  3109. intStringLen := int(stringLen)
  3110. if intStringLen < 0 {
  3111. return ErrInvalidLengthGenerated
  3112. }
  3113. postIndex := iNdEx + intStringLen
  3114. if postIndex > l {
  3115. return io.ErrUnexpectedEOF
  3116. }
  3117. m.Type = DeploymentStrategyType(dAtA[iNdEx:postIndex])
  3118. iNdEx = postIndex
  3119. case 2:
  3120. if wireType != 2 {
  3121. return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
  3122. }
  3123. var msglen int
  3124. for shift := uint(0); ; shift += 7 {
  3125. if shift >= 64 {
  3126. return ErrIntOverflowGenerated
  3127. }
  3128. if iNdEx >= l {
  3129. return io.ErrUnexpectedEOF
  3130. }
  3131. b := dAtA[iNdEx]
  3132. iNdEx++
  3133. msglen |= (int(b) & 0x7F) << shift
  3134. if b < 0x80 {
  3135. break
  3136. }
  3137. }
  3138. if msglen < 0 {
  3139. return ErrInvalidLengthGenerated
  3140. }
  3141. postIndex := iNdEx + msglen
  3142. if postIndex > l {
  3143. return io.ErrUnexpectedEOF
  3144. }
  3145. if m.RollingUpdate == nil {
  3146. m.RollingUpdate = &RollingUpdateDeployment{}
  3147. }
  3148. if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3149. return err
  3150. }
  3151. iNdEx = postIndex
  3152. default:
  3153. iNdEx = preIndex
  3154. skippy, err := skipGenerated(dAtA[iNdEx:])
  3155. if err != nil {
  3156. return err
  3157. }
  3158. if skippy < 0 {
  3159. return ErrInvalidLengthGenerated
  3160. }
  3161. if (iNdEx + skippy) > l {
  3162. return io.ErrUnexpectedEOF
  3163. }
  3164. iNdEx += skippy
  3165. }
  3166. }
  3167. if iNdEx > l {
  3168. return io.ErrUnexpectedEOF
  3169. }
  3170. return nil
  3171. }
  3172. func (m *RollbackConfig) Unmarshal(dAtA []byte) error {
  3173. l := len(dAtA)
  3174. iNdEx := 0
  3175. for iNdEx < l {
  3176. preIndex := iNdEx
  3177. var wire uint64
  3178. for shift := uint(0); ; shift += 7 {
  3179. if shift >= 64 {
  3180. return ErrIntOverflowGenerated
  3181. }
  3182. if iNdEx >= l {
  3183. return io.ErrUnexpectedEOF
  3184. }
  3185. b := dAtA[iNdEx]
  3186. iNdEx++
  3187. wire |= (uint64(b) & 0x7F) << shift
  3188. if b < 0x80 {
  3189. break
  3190. }
  3191. }
  3192. fieldNum := int32(wire >> 3)
  3193. wireType := int(wire & 0x7)
  3194. if wireType == 4 {
  3195. return fmt.Errorf("proto: RollbackConfig: wiretype end group for non-group")
  3196. }
  3197. if fieldNum <= 0 {
  3198. return fmt.Errorf("proto: RollbackConfig: illegal tag %d (wire type %d)", fieldNum, wire)
  3199. }
  3200. switch fieldNum {
  3201. case 1:
  3202. if wireType != 0 {
  3203. return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
  3204. }
  3205. m.Revision = 0
  3206. for shift := uint(0); ; shift += 7 {
  3207. if shift >= 64 {
  3208. return ErrIntOverflowGenerated
  3209. }
  3210. if iNdEx >= l {
  3211. return io.ErrUnexpectedEOF
  3212. }
  3213. b := dAtA[iNdEx]
  3214. iNdEx++
  3215. m.Revision |= (int64(b) & 0x7F) << shift
  3216. if b < 0x80 {
  3217. break
  3218. }
  3219. }
  3220. default:
  3221. iNdEx = preIndex
  3222. skippy, err := skipGenerated(dAtA[iNdEx:])
  3223. if err != nil {
  3224. return err
  3225. }
  3226. if skippy < 0 {
  3227. return ErrInvalidLengthGenerated
  3228. }
  3229. if (iNdEx + skippy) > l {
  3230. return io.ErrUnexpectedEOF
  3231. }
  3232. iNdEx += skippy
  3233. }
  3234. }
  3235. if iNdEx > l {
  3236. return io.ErrUnexpectedEOF
  3237. }
  3238. return nil
  3239. }
  3240. func (m *RollingUpdateDeployment) Unmarshal(dAtA []byte) error {
  3241. l := len(dAtA)
  3242. iNdEx := 0
  3243. for iNdEx < l {
  3244. preIndex := iNdEx
  3245. var wire uint64
  3246. for shift := uint(0); ; shift += 7 {
  3247. if shift >= 64 {
  3248. return ErrIntOverflowGenerated
  3249. }
  3250. if iNdEx >= l {
  3251. return io.ErrUnexpectedEOF
  3252. }
  3253. b := dAtA[iNdEx]
  3254. iNdEx++
  3255. wire |= (uint64(b) & 0x7F) << shift
  3256. if b < 0x80 {
  3257. break
  3258. }
  3259. }
  3260. fieldNum := int32(wire >> 3)
  3261. wireType := int(wire & 0x7)
  3262. if wireType == 4 {
  3263. return fmt.Errorf("proto: RollingUpdateDeployment: wiretype end group for non-group")
  3264. }
  3265. if fieldNum <= 0 {
  3266. return fmt.Errorf("proto: RollingUpdateDeployment: illegal tag %d (wire type %d)", fieldNum, wire)
  3267. }
  3268. switch fieldNum {
  3269. case 1:
  3270. if wireType != 2 {
  3271. return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
  3272. }
  3273. var msglen int
  3274. for shift := uint(0); ; shift += 7 {
  3275. if shift >= 64 {
  3276. return ErrIntOverflowGenerated
  3277. }
  3278. if iNdEx >= l {
  3279. return io.ErrUnexpectedEOF
  3280. }
  3281. b := dAtA[iNdEx]
  3282. iNdEx++
  3283. msglen |= (int(b) & 0x7F) << shift
  3284. if b < 0x80 {
  3285. break
  3286. }
  3287. }
  3288. if msglen < 0 {
  3289. return ErrInvalidLengthGenerated
  3290. }
  3291. postIndex := iNdEx + msglen
  3292. if postIndex > l {
  3293. return io.ErrUnexpectedEOF
  3294. }
  3295. if m.MaxUnavailable == nil {
  3296. m.MaxUnavailable = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
  3297. }
  3298. if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3299. return err
  3300. }
  3301. iNdEx = postIndex
  3302. case 2:
  3303. if wireType != 2 {
  3304. return fmt.Errorf("proto: wrong wireType = %d for field MaxSurge", wireType)
  3305. }
  3306. var msglen int
  3307. for shift := uint(0); ; shift += 7 {
  3308. if shift >= 64 {
  3309. return ErrIntOverflowGenerated
  3310. }
  3311. if iNdEx >= l {
  3312. return io.ErrUnexpectedEOF
  3313. }
  3314. b := dAtA[iNdEx]
  3315. iNdEx++
  3316. msglen |= (int(b) & 0x7F) << shift
  3317. if b < 0x80 {
  3318. break
  3319. }
  3320. }
  3321. if msglen < 0 {
  3322. return ErrInvalidLengthGenerated
  3323. }
  3324. postIndex := iNdEx + msglen
  3325. if postIndex > l {
  3326. return io.ErrUnexpectedEOF
  3327. }
  3328. if m.MaxSurge == nil {
  3329. m.MaxSurge = &k8s_io_apimachinery_pkg_util_intstr.IntOrString{}
  3330. }
  3331. if err := m.MaxSurge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3332. return err
  3333. }
  3334. iNdEx = postIndex
  3335. default:
  3336. iNdEx = preIndex
  3337. skippy, err := skipGenerated(dAtA[iNdEx:])
  3338. if err != nil {
  3339. return err
  3340. }
  3341. if skippy < 0 {
  3342. return ErrInvalidLengthGenerated
  3343. }
  3344. if (iNdEx + skippy) > l {
  3345. return io.ErrUnexpectedEOF
  3346. }
  3347. iNdEx += skippy
  3348. }
  3349. }
  3350. if iNdEx > l {
  3351. return io.ErrUnexpectedEOF
  3352. }
  3353. return nil
  3354. }
  3355. func (m *RollingUpdateStatefulSetStrategy) Unmarshal(dAtA []byte) error {
  3356. l := len(dAtA)
  3357. iNdEx := 0
  3358. for iNdEx < l {
  3359. preIndex := iNdEx
  3360. var wire uint64
  3361. for shift := uint(0); ; shift += 7 {
  3362. if shift >= 64 {
  3363. return ErrIntOverflowGenerated
  3364. }
  3365. if iNdEx >= l {
  3366. return io.ErrUnexpectedEOF
  3367. }
  3368. b := dAtA[iNdEx]
  3369. iNdEx++
  3370. wire |= (uint64(b) & 0x7F) << shift
  3371. if b < 0x80 {
  3372. break
  3373. }
  3374. }
  3375. fieldNum := int32(wire >> 3)
  3376. wireType := int(wire & 0x7)
  3377. if wireType == 4 {
  3378. return fmt.Errorf("proto: RollingUpdateStatefulSetStrategy: wiretype end group for non-group")
  3379. }
  3380. if fieldNum <= 0 {
  3381. return fmt.Errorf("proto: RollingUpdateStatefulSetStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
  3382. }
  3383. switch fieldNum {
  3384. case 1:
  3385. if wireType != 0 {
  3386. return fmt.Errorf("proto: wrong wireType = %d for field Partition", wireType)
  3387. }
  3388. var v int32
  3389. for shift := uint(0); ; shift += 7 {
  3390. if shift >= 64 {
  3391. return ErrIntOverflowGenerated
  3392. }
  3393. if iNdEx >= l {
  3394. return io.ErrUnexpectedEOF
  3395. }
  3396. b := dAtA[iNdEx]
  3397. iNdEx++
  3398. v |= (int32(b) & 0x7F) << shift
  3399. if b < 0x80 {
  3400. break
  3401. }
  3402. }
  3403. m.Partition = &v
  3404. default:
  3405. iNdEx = preIndex
  3406. skippy, err := skipGenerated(dAtA[iNdEx:])
  3407. if err != nil {
  3408. return err
  3409. }
  3410. if skippy < 0 {
  3411. return ErrInvalidLengthGenerated
  3412. }
  3413. if (iNdEx + skippy) > l {
  3414. return io.ErrUnexpectedEOF
  3415. }
  3416. iNdEx += skippy
  3417. }
  3418. }
  3419. if iNdEx > l {
  3420. return io.ErrUnexpectedEOF
  3421. }
  3422. return nil
  3423. }
  3424. func (m *Scale) Unmarshal(dAtA []byte) error {
  3425. l := len(dAtA)
  3426. iNdEx := 0
  3427. for iNdEx < l {
  3428. preIndex := iNdEx
  3429. var wire uint64
  3430. for shift := uint(0); ; shift += 7 {
  3431. if shift >= 64 {
  3432. return ErrIntOverflowGenerated
  3433. }
  3434. if iNdEx >= l {
  3435. return io.ErrUnexpectedEOF
  3436. }
  3437. b := dAtA[iNdEx]
  3438. iNdEx++
  3439. wire |= (uint64(b) & 0x7F) << shift
  3440. if b < 0x80 {
  3441. break
  3442. }
  3443. }
  3444. fieldNum := int32(wire >> 3)
  3445. wireType := int(wire & 0x7)
  3446. if wireType == 4 {
  3447. return fmt.Errorf("proto: Scale: wiretype end group for non-group")
  3448. }
  3449. if fieldNum <= 0 {
  3450. return fmt.Errorf("proto: Scale: illegal tag %d (wire type %d)", fieldNum, wire)
  3451. }
  3452. switch fieldNum {
  3453. case 1:
  3454. if wireType != 2 {
  3455. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  3456. }
  3457. var msglen int
  3458. for shift := uint(0); ; shift += 7 {
  3459. if shift >= 64 {
  3460. return ErrIntOverflowGenerated
  3461. }
  3462. if iNdEx >= l {
  3463. return io.ErrUnexpectedEOF
  3464. }
  3465. b := dAtA[iNdEx]
  3466. iNdEx++
  3467. msglen |= (int(b) & 0x7F) << shift
  3468. if b < 0x80 {
  3469. break
  3470. }
  3471. }
  3472. if msglen < 0 {
  3473. return ErrInvalidLengthGenerated
  3474. }
  3475. postIndex := iNdEx + msglen
  3476. if postIndex > l {
  3477. return io.ErrUnexpectedEOF
  3478. }
  3479. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3480. return err
  3481. }
  3482. iNdEx = postIndex
  3483. case 2:
  3484. if wireType != 2 {
  3485. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  3486. }
  3487. var msglen int
  3488. for shift := uint(0); ; shift += 7 {
  3489. if shift >= 64 {
  3490. return ErrIntOverflowGenerated
  3491. }
  3492. if iNdEx >= l {
  3493. return io.ErrUnexpectedEOF
  3494. }
  3495. b := dAtA[iNdEx]
  3496. iNdEx++
  3497. msglen |= (int(b) & 0x7F) << shift
  3498. if b < 0x80 {
  3499. break
  3500. }
  3501. }
  3502. if msglen < 0 {
  3503. return ErrInvalidLengthGenerated
  3504. }
  3505. postIndex := iNdEx + msglen
  3506. if postIndex > l {
  3507. return io.ErrUnexpectedEOF
  3508. }
  3509. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3510. return err
  3511. }
  3512. iNdEx = postIndex
  3513. case 3:
  3514. if wireType != 2 {
  3515. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  3516. }
  3517. var msglen int
  3518. for shift := uint(0); ; shift += 7 {
  3519. if shift >= 64 {
  3520. return ErrIntOverflowGenerated
  3521. }
  3522. if iNdEx >= l {
  3523. return io.ErrUnexpectedEOF
  3524. }
  3525. b := dAtA[iNdEx]
  3526. iNdEx++
  3527. msglen |= (int(b) & 0x7F) << shift
  3528. if b < 0x80 {
  3529. break
  3530. }
  3531. }
  3532. if msglen < 0 {
  3533. return ErrInvalidLengthGenerated
  3534. }
  3535. postIndex := iNdEx + msglen
  3536. if postIndex > l {
  3537. return io.ErrUnexpectedEOF
  3538. }
  3539. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3540. return err
  3541. }
  3542. iNdEx = postIndex
  3543. default:
  3544. iNdEx = preIndex
  3545. skippy, err := skipGenerated(dAtA[iNdEx:])
  3546. if err != nil {
  3547. return err
  3548. }
  3549. if skippy < 0 {
  3550. return ErrInvalidLengthGenerated
  3551. }
  3552. if (iNdEx + skippy) > l {
  3553. return io.ErrUnexpectedEOF
  3554. }
  3555. iNdEx += skippy
  3556. }
  3557. }
  3558. if iNdEx > l {
  3559. return io.ErrUnexpectedEOF
  3560. }
  3561. return nil
  3562. }
  3563. func (m *ScaleSpec) Unmarshal(dAtA []byte) error {
  3564. l := len(dAtA)
  3565. iNdEx := 0
  3566. for iNdEx < l {
  3567. preIndex := iNdEx
  3568. var wire uint64
  3569. for shift := uint(0); ; shift += 7 {
  3570. if shift >= 64 {
  3571. return ErrIntOverflowGenerated
  3572. }
  3573. if iNdEx >= l {
  3574. return io.ErrUnexpectedEOF
  3575. }
  3576. b := dAtA[iNdEx]
  3577. iNdEx++
  3578. wire |= (uint64(b) & 0x7F) << shift
  3579. if b < 0x80 {
  3580. break
  3581. }
  3582. }
  3583. fieldNum := int32(wire >> 3)
  3584. wireType := int(wire & 0x7)
  3585. if wireType == 4 {
  3586. return fmt.Errorf("proto: ScaleSpec: wiretype end group for non-group")
  3587. }
  3588. if fieldNum <= 0 {
  3589. return fmt.Errorf("proto: ScaleSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  3590. }
  3591. switch fieldNum {
  3592. case 1:
  3593. if wireType != 0 {
  3594. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  3595. }
  3596. m.Replicas = 0
  3597. for shift := uint(0); ; shift += 7 {
  3598. if shift >= 64 {
  3599. return ErrIntOverflowGenerated
  3600. }
  3601. if iNdEx >= l {
  3602. return io.ErrUnexpectedEOF
  3603. }
  3604. b := dAtA[iNdEx]
  3605. iNdEx++
  3606. m.Replicas |= (int32(b) & 0x7F) << shift
  3607. if b < 0x80 {
  3608. break
  3609. }
  3610. }
  3611. default:
  3612. iNdEx = preIndex
  3613. skippy, err := skipGenerated(dAtA[iNdEx:])
  3614. if err != nil {
  3615. return err
  3616. }
  3617. if skippy < 0 {
  3618. return ErrInvalidLengthGenerated
  3619. }
  3620. if (iNdEx + skippy) > l {
  3621. return io.ErrUnexpectedEOF
  3622. }
  3623. iNdEx += skippy
  3624. }
  3625. }
  3626. if iNdEx > l {
  3627. return io.ErrUnexpectedEOF
  3628. }
  3629. return nil
  3630. }
  3631. func (m *ScaleStatus) Unmarshal(dAtA []byte) error {
  3632. l := len(dAtA)
  3633. iNdEx := 0
  3634. for iNdEx < l {
  3635. preIndex := iNdEx
  3636. var wire uint64
  3637. for shift := uint(0); ; shift += 7 {
  3638. if shift >= 64 {
  3639. return ErrIntOverflowGenerated
  3640. }
  3641. if iNdEx >= l {
  3642. return io.ErrUnexpectedEOF
  3643. }
  3644. b := dAtA[iNdEx]
  3645. iNdEx++
  3646. wire |= (uint64(b) & 0x7F) << shift
  3647. if b < 0x80 {
  3648. break
  3649. }
  3650. }
  3651. fieldNum := int32(wire >> 3)
  3652. wireType := int(wire & 0x7)
  3653. if wireType == 4 {
  3654. return fmt.Errorf("proto: ScaleStatus: wiretype end group for non-group")
  3655. }
  3656. if fieldNum <= 0 {
  3657. return fmt.Errorf("proto: ScaleStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  3658. }
  3659. switch fieldNum {
  3660. case 1:
  3661. if wireType != 0 {
  3662. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  3663. }
  3664. m.Replicas = 0
  3665. for shift := uint(0); ; shift += 7 {
  3666. if shift >= 64 {
  3667. return ErrIntOverflowGenerated
  3668. }
  3669. if iNdEx >= l {
  3670. return io.ErrUnexpectedEOF
  3671. }
  3672. b := dAtA[iNdEx]
  3673. iNdEx++
  3674. m.Replicas |= (int32(b) & 0x7F) << shift
  3675. if b < 0x80 {
  3676. break
  3677. }
  3678. }
  3679. case 2:
  3680. if wireType != 2 {
  3681. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  3682. }
  3683. var msglen int
  3684. for shift := uint(0); ; shift += 7 {
  3685. if shift >= 64 {
  3686. return ErrIntOverflowGenerated
  3687. }
  3688. if iNdEx >= l {
  3689. return io.ErrUnexpectedEOF
  3690. }
  3691. b := dAtA[iNdEx]
  3692. iNdEx++
  3693. msglen |= (int(b) & 0x7F) << shift
  3694. if b < 0x80 {
  3695. break
  3696. }
  3697. }
  3698. if msglen < 0 {
  3699. return ErrInvalidLengthGenerated
  3700. }
  3701. postIndex := iNdEx + msglen
  3702. if postIndex > l {
  3703. return io.ErrUnexpectedEOF
  3704. }
  3705. if m.Selector == nil {
  3706. m.Selector = make(map[string]string)
  3707. }
  3708. var mapkey string
  3709. var mapvalue string
  3710. for iNdEx < postIndex {
  3711. entryPreIndex := iNdEx
  3712. var wire uint64
  3713. for shift := uint(0); ; shift += 7 {
  3714. if shift >= 64 {
  3715. return ErrIntOverflowGenerated
  3716. }
  3717. if iNdEx >= l {
  3718. return io.ErrUnexpectedEOF
  3719. }
  3720. b := dAtA[iNdEx]
  3721. iNdEx++
  3722. wire |= (uint64(b) & 0x7F) << shift
  3723. if b < 0x80 {
  3724. break
  3725. }
  3726. }
  3727. fieldNum := int32(wire >> 3)
  3728. if fieldNum == 1 {
  3729. var stringLenmapkey uint64
  3730. for shift := uint(0); ; shift += 7 {
  3731. if shift >= 64 {
  3732. return ErrIntOverflowGenerated
  3733. }
  3734. if iNdEx >= l {
  3735. return io.ErrUnexpectedEOF
  3736. }
  3737. b := dAtA[iNdEx]
  3738. iNdEx++
  3739. stringLenmapkey |= (uint64(b) & 0x7F) << shift
  3740. if b < 0x80 {
  3741. break
  3742. }
  3743. }
  3744. intStringLenmapkey := int(stringLenmapkey)
  3745. if intStringLenmapkey < 0 {
  3746. return ErrInvalidLengthGenerated
  3747. }
  3748. postStringIndexmapkey := iNdEx + intStringLenmapkey
  3749. if postStringIndexmapkey > l {
  3750. return io.ErrUnexpectedEOF
  3751. }
  3752. mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  3753. iNdEx = postStringIndexmapkey
  3754. } else if fieldNum == 2 {
  3755. var stringLenmapvalue uint64
  3756. for shift := uint(0); ; shift += 7 {
  3757. if shift >= 64 {
  3758. return ErrIntOverflowGenerated
  3759. }
  3760. if iNdEx >= l {
  3761. return io.ErrUnexpectedEOF
  3762. }
  3763. b := dAtA[iNdEx]
  3764. iNdEx++
  3765. stringLenmapvalue |= (uint64(b) & 0x7F) << shift
  3766. if b < 0x80 {
  3767. break
  3768. }
  3769. }
  3770. intStringLenmapvalue := int(stringLenmapvalue)
  3771. if intStringLenmapvalue < 0 {
  3772. return ErrInvalidLengthGenerated
  3773. }
  3774. postStringIndexmapvalue := iNdEx + intStringLenmapvalue
  3775. if postStringIndexmapvalue > l {
  3776. return io.ErrUnexpectedEOF
  3777. }
  3778. mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
  3779. iNdEx = postStringIndexmapvalue
  3780. } else {
  3781. iNdEx = entryPreIndex
  3782. skippy, err := skipGenerated(dAtA[iNdEx:])
  3783. if err != nil {
  3784. return err
  3785. }
  3786. if skippy < 0 {
  3787. return ErrInvalidLengthGenerated
  3788. }
  3789. if (iNdEx + skippy) > postIndex {
  3790. return io.ErrUnexpectedEOF
  3791. }
  3792. iNdEx += skippy
  3793. }
  3794. }
  3795. m.Selector[mapkey] = mapvalue
  3796. iNdEx = postIndex
  3797. case 3:
  3798. if wireType != 2 {
  3799. return fmt.Errorf("proto: wrong wireType = %d for field TargetSelector", wireType)
  3800. }
  3801. var stringLen uint64
  3802. for shift := uint(0); ; shift += 7 {
  3803. if shift >= 64 {
  3804. return ErrIntOverflowGenerated
  3805. }
  3806. if iNdEx >= l {
  3807. return io.ErrUnexpectedEOF
  3808. }
  3809. b := dAtA[iNdEx]
  3810. iNdEx++
  3811. stringLen |= (uint64(b) & 0x7F) << shift
  3812. if b < 0x80 {
  3813. break
  3814. }
  3815. }
  3816. intStringLen := int(stringLen)
  3817. if intStringLen < 0 {
  3818. return ErrInvalidLengthGenerated
  3819. }
  3820. postIndex := iNdEx + intStringLen
  3821. if postIndex > l {
  3822. return io.ErrUnexpectedEOF
  3823. }
  3824. m.TargetSelector = string(dAtA[iNdEx:postIndex])
  3825. iNdEx = postIndex
  3826. default:
  3827. iNdEx = preIndex
  3828. skippy, err := skipGenerated(dAtA[iNdEx:])
  3829. if err != nil {
  3830. return err
  3831. }
  3832. if skippy < 0 {
  3833. return ErrInvalidLengthGenerated
  3834. }
  3835. if (iNdEx + skippy) > l {
  3836. return io.ErrUnexpectedEOF
  3837. }
  3838. iNdEx += skippy
  3839. }
  3840. }
  3841. if iNdEx > l {
  3842. return io.ErrUnexpectedEOF
  3843. }
  3844. return nil
  3845. }
  3846. func (m *StatefulSet) Unmarshal(dAtA []byte) error {
  3847. l := len(dAtA)
  3848. iNdEx := 0
  3849. for iNdEx < l {
  3850. preIndex := iNdEx
  3851. var wire uint64
  3852. for shift := uint(0); ; shift += 7 {
  3853. if shift >= 64 {
  3854. return ErrIntOverflowGenerated
  3855. }
  3856. if iNdEx >= l {
  3857. return io.ErrUnexpectedEOF
  3858. }
  3859. b := dAtA[iNdEx]
  3860. iNdEx++
  3861. wire |= (uint64(b) & 0x7F) << shift
  3862. if b < 0x80 {
  3863. break
  3864. }
  3865. }
  3866. fieldNum := int32(wire >> 3)
  3867. wireType := int(wire & 0x7)
  3868. if wireType == 4 {
  3869. return fmt.Errorf("proto: StatefulSet: wiretype end group for non-group")
  3870. }
  3871. if fieldNum <= 0 {
  3872. return fmt.Errorf("proto: StatefulSet: illegal tag %d (wire type %d)", fieldNum, wire)
  3873. }
  3874. switch fieldNum {
  3875. case 1:
  3876. if wireType != 2 {
  3877. return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
  3878. }
  3879. var msglen int
  3880. for shift := uint(0); ; shift += 7 {
  3881. if shift >= 64 {
  3882. return ErrIntOverflowGenerated
  3883. }
  3884. if iNdEx >= l {
  3885. return io.ErrUnexpectedEOF
  3886. }
  3887. b := dAtA[iNdEx]
  3888. iNdEx++
  3889. msglen |= (int(b) & 0x7F) << shift
  3890. if b < 0x80 {
  3891. break
  3892. }
  3893. }
  3894. if msglen < 0 {
  3895. return ErrInvalidLengthGenerated
  3896. }
  3897. postIndex := iNdEx + msglen
  3898. if postIndex > l {
  3899. return io.ErrUnexpectedEOF
  3900. }
  3901. if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3902. return err
  3903. }
  3904. iNdEx = postIndex
  3905. case 2:
  3906. if wireType != 2 {
  3907. return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
  3908. }
  3909. var msglen int
  3910. for shift := uint(0); ; shift += 7 {
  3911. if shift >= 64 {
  3912. return ErrIntOverflowGenerated
  3913. }
  3914. if iNdEx >= l {
  3915. return io.ErrUnexpectedEOF
  3916. }
  3917. b := dAtA[iNdEx]
  3918. iNdEx++
  3919. msglen |= (int(b) & 0x7F) << shift
  3920. if b < 0x80 {
  3921. break
  3922. }
  3923. }
  3924. if msglen < 0 {
  3925. return ErrInvalidLengthGenerated
  3926. }
  3927. postIndex := iNdEx + msglen
  3928. if postIndex > l {
  3929. return io.ErrUnexpectedEOF
  3930. }
  3931. if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3932. return err
  3933. }
  3934. iNdEx = postIndex
  3935. case 3:
  3936. if wireType != 2 {
  3937. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  3938. }
  3939. var msglen int
  3940. for shift := uint(0); ; shift += 7 {
  3941. if shift >= 64 {
  3942. return ErrIntOverflowGenerated
  3943. }
  3944. if iNdEx >= l {
  3945. return io.ErrUnexpectedEOF
  3946. }
  3947. b := dAtA[iNdEx]
  3948. iNdEx++
  3949. msglen |= (int(b) & 0x7F) << shift
  3950. if b < 0x80 {
  3951. break
  3952. }
  3953. }
  3954. if msglen < 0 {
  3955. return ErrInvalidLengthGenerated
  3956. }
  3957. postIndex := iNdEx + msglen
  3958. if postIndex > l {
  3959. return io.ErrUnexpectedEOF
  3960. }
  3961. if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3962. return err
  3963. }
  3964. iNdEx = postIndex
  3965. default:
  3966. iNdEx = preIndex
  3967. skippy, err := skipGenerated(dAtA[iNdEx:])
  3968. if err != nil {
  3969. return err
  3970. }
  3971. if skippy < 0 {
  3972. return ErrInvalidLengthGenerated
  3973. }
  3974. if (iNdEx + skippy) > l {
  3975. return io.ErrUnexpectedEOF
  3976. }
  3977. iNdEx += skippy
  3978. }
  3979. }
  3980. if iNdEx > l {
  3981. return io.ErrUnexpectedEOF
  3982. }
  3983. return nil
  3984. }
  3985. func (m *StatefulSetCondition) Unmarshal(dAtA []byte) error {
  3986. l := len(dAtA)
  3987. iNdEx := 0
  3988. for iNdEx < l {
  3989. preIndex := iNdEx
  3990. var wire uint64
  3991. for shift := uint(0); ; shift += 7 {
  3992. if shift >= 64 {
  3993. return ErrIntOverflowGenerated
  3994. }
  3995. if iNdEx >= l {
  3996. return io.ErrUnexpectedEOF
  3997. }
  3998. b := dAtA[iNdEx]
  3999. iNdEx++
  4000. wire |= (uint64(b) & 0x7F) << shift
  4001. if b < 0x80 {
  4002. break
  4003. }
  4004. }
  4005. fieldNum := int32(wire >> 3)
  4006. wireType := int(wire & 0x7)
  4007. if wireType == 4 {
  4008. return fmt.Errorf("proto: StatefulSetCondition: wiretype end group for non-group")
  4009. }
  4010. if fieldNum <= 0 {
  4011. return fmt.Errorf("proto: StatefulSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
  4012. }
  4013. switch fieldNum {
  4014. case 1:
  4015. if wireType != 2 {
  4016. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  4017. }
  4018. var stringLen uint64
  4019. for shift := uint(0); ; shift += 7 {
  4020. if shift >= 64 {
  4021. return ErrIntOverflowGenerated
  4022. }
  4023. if iNdEx >= l {
  4024. return io.ErrUnexpectedEOF
  4025. }
  4026. b := dAtA[iNdEx]
  4027. iNdEx++
  4028. stringLen |= (uint64(b) & 0x7F) << shift
  4029. if b < 0x80 {
  4030. break
  4031. }
  4032. }
  4033. intStringLen := int(stringLen)
  4034. if intStringLen < 0 {
  4035. return ErrInvalidLengthGenerated
  4036. }
  4037. postIndex := iNdEx + intStringLen
  4038. if postIndex > l {
  4039. return io.ErrUnexpectedEOF
  4040. }
  4041. m.Type = StatefulSetConditionType(dAtA[iNdEx:postIndex])
  4042. iNdEx = postIndex
  4043. case 2:
  4044. if wireType != 2 {
  4045. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  4046. }
  4047. var stringLen uint64
  4048. for shift := uint(0); ; shift += 7 {
  4049. if shift >= 64 {
  4050. return ErrIntOverflowGenerated
  4051. }
  4052. if iNdEx >= l {
  4053. return io.ErrUnexpectedEOF
  4054. }
  4055. b := dAtA[iNdEx]
  4056. iNdEx++
  4057. stringLen |= (uint64(b) & 0x7F) << shift
  4058. if b < 0x80 {
  4059. break
  4060. }
  4061. }
  4062. intStringLen := int(stringLen)
  4063. if intStringLen < 0 {
  4064. return ErrInvalidLengthGenerated
  4065. }
  4066. postIndex := iNdEx + intStringLen
  4067. if postIndex > l {
  4068. return io.ErrUnexpectedEOF
  4069. }
  4070. m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
  4071. iNdEx = postIndex
  4072. case 3:
  4073. if wireType != 2 {
  4074. return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
  4075. }
  4076. var msglen int
  4077. for shift := uint(0); ; shift += 7 {
  4078. if shift >= 64 {
  4079. return ErrIntOverflowGenerated
  4080. }
  4081. if iNdEx >= l {
  4082. return io.ErrUnexpectedEOF
  4083. }
  4084. b := dAtA[iNdEx]
  4085. iNdEx++
  4086. msglen |= (int(b) & 0x7F) << shift
  4087. if b < 0x80 {
  4088. break
  4089. }
  4090. }
  4091. if msglen < 0 {
  4092. return ErrInvalidLengthGenerated
  4093. }
  4094. postIndex := iNdEx + msglen
  4095. if postIndex > l {
  4096. return io.ErrUnexpectedEOF
  4097. }
  4098. if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4099. return err
  4100. }
  4101. iNdEx = postIndex
  4102. case 4:
  4103. if wireType != 2 {
  4104. return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
  4105. }
  4106. var stringLen uint64
  4107. for shift := uint(0); ; shift += 7 {
  4108. if shift >= 64 {
  4109. return ErrIntOverflowGenerated
  4110. }
  4111. if iNdEx >= l {
  4112. return io.ErrUnexpectedEOF
  4113. }
  4114. b := dAtA[iNdEx]
  4115. iNdEx++
  4116. stringLen |= (uint64(b) & 0x7F) << shift
  4117. if b < 0x80 {
  4118. break
  4119. }
  4120. }
  4121. intStringLen := int(stringLen)
  4122. if intStringLen < 0 {
  4123. return ErrInvalidLengthGenerated
  4124. }
  4125. postIndex := iNdEx + intStringLen
  4126. if postIndex > l {
  4127. return io.ErrUnexpectedEOF
  4128. }
  4129. m.Reason = string(dAtA[iNdEx:postIndex])
  4130. iNdEx = postIndex
  4131. case 5:
  4132. if wireType != 2 {
  4133. return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  4134. }
  4135. var stringLen uint64
  4136. for shift := uint(0); ; shift += 7 {
  4137. if shift >= 64 {
  4138. return ErrIntOverflowGenerated
  4139. }
  4140. if iNdEx >= l {
  4141. return io.ErrUnexpectedEOF
  4142. }
  4143. b := dAtA[iNdEx]
  4144. iNdEx++
  4145. stringLen |= (uint64(b) & 0x7F) << shift
  4146. if b < 0x80 {
  4147. break
  4148. }
  4149. }
  4150. intStringLen := int(stringLen)
  4151. if intStringLen < 0 {
  4152. return ErrInvalidLengthGenerated
  4153. }
  4154. postIndex := iNdEx + intStringLen
  4155. if postIndex > l {
  4156. return io.ErrUnexpectedEOF
  4157. }
  4158. m.Message = string(dAtA[iNdEx:postIndex])
  4159. iNdEx = postIndex
  4160. default:
  4161. iNdEx = preIndex
  4162. skippy, err := skipGenerated(dAtA[iNdEx:])
  4163. if err != nil {
  4164. return err
  4165. }
  4166. if skippy < 0 {
  4167. return ErrInvalidLengthGenerated
  4168. }
  4169. if (iNdEx + skippy) > l {
  4170. return io.ErrUnexpectedEOF
  4171. }
  4172. iNdEx += skippy
  4173. }
  4174. }
  4175. if iNdEx > l {
  4176. return io.ErrUnexpectedEOF
  4177. }
  4178. return nil
  4179. }
  4180. func (m *StatefulSetList) Unmarshal(dAtA []byte) error {
  4181. l := len(dAtA)
  4182. iNdEx := 0
  4183. for iNdEx < l {
  4184. preIndex := iNdEx
  4185. var wire uint64
  4186. for shift := uint(0); ; shift += 7 {
  4187. if shift >= 64 {
  4188. return ErrIntOverflowGenerated
  4189. }
  4190. if iNdEx >= l {
  4191. return io.ErrUnexpectedEOF
  4192. }
  4193. b := dAtA[iNdEx]
  4194. iNdEx++
  4195. wire |= (uint64(b) & 0x7F) << shift
  4196. if b < 0x80 {
  4197. break
  4198. }
  4199. }
  4200. fieldNum := int32(wire >> 3)
  4201. wireType := int(wire & 0x7)
  4202. if wireType == 4 {
  4203. return fmt.Errorf("proto: StatefulSetList: wiretype end group for non-group")
  4204. }
  4205. if fieldNum <= 0 {
  4206. return fmt.Errorf("proto: StatefulSetList: illegal tag %d (wire type %d)", fieldNum, wire)
  4207. }
  4208. switch fieldNum {
  4209. case 1:
  4210. if wireType != 2 {
  4211. return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
  4212. }
  4213. var msglen int
  4214. for shift := uint(0); ; shift += 7 {
  4215. if shift >= 64 {
  4216. return ErrIntOverflowGenerated
  4217. }
  4218. if iNdEx >= l {
  4219. return io.ErrUnexpectedEOF
  4220. }
  4221. b := dAtA[iNdEx]
  4222. iNdEx++
  4223. msglen |= (int(b) & 0x7F) << shift
  4224. if b < 0x80 {
  4225. break
  4226. }
  4227. }
  4228. if msglen < 0 {
  4229. return ErrInvalidLengthGenerated
  4230. }
  4231. postIndex := iNdEx + msglen
  4232. if postIndex > l {
  4233. return io.ErrUnexpectedEOF
  4234. }
  4235. if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4236. return err
  4237. }
  4238. iNdEx = postIndex
  4239. case 2:
  4240. if wireType != 2 {
  4241. return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
  4242. }
  4243. var msglen int
  4244. for shift := uint(0); ; shift += 7 {
  4245. if shift >= 64 {
  4246. return ErrIntOverflowGenerated
  4247. }
  4248. if iNdEx >= l {
  4249. return io.ErrUnexpectedEOF
  4250. }
  4251. b := dAtA[iNdEx]
  4252. iNdEx++
  4253. msglen |= (int(b) & 0x7F) << shift
  4254. if b < 0x80 {
  4255. break
  4256. }
  4257. }
  4258. if msglen < 0 {
  4259. return ErrInvalidLengthGenerated
  4260. }
  4261. postIndex := iNdEx + msglen
  4262. if postIndex > l {
  4263. return io.ErrUnexpectedEOF
  4264. }
  4265. m.Items = append(m.Items, StatefulSet{})
  4266. if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4267. return err
  4268. }
  4269. iNdEx = postIndex
  4270. default:
  4271. iNdEx = preIndex
  4272. skippy, err := skipGenerated(dAtA[iNdEx:])
  4273. if err != nil {
  4274. return err
  4275. }
  4276. if skippy < 0 {
  4277. return ErrInvalidLengthGenerated
  4278. }
  4279. if (iNdEx + skippy) > l {
  4280. return io.ErrUnexpectedEOF
  4281. }
  4282. iNdEx += skippy
  4283. }
  4284. }
  4285. if iNdEx > l {
  4286. return io.ErrUnexpectedEOF
  4287. }
  4288. return nil
  4289. }
  4290. func (m *StatefulSetSpec) Unmarshal(dAtA []byte) error {
  4291. l := len(dAtA)
  4292. iNdEx := 0
  4293. for iNdEx < l {
  4294. preIndex := iNdEx
  4295. var wire uint64
  4296. for shift := uint(0); ; shift += 7 {
  4297. if shift >= 64 {
  4298. return ErrIntOverflowGenerated
  4299. }
  4300. if iNdEx >= l {
  4301. return io.ErrUnexpectedEOF
  4302. }
  4303. b := dAtA[iNdEx]
  4304. iNdEx++
  4305. wire |= (uint64(b) & 0x7F) << shift
  4306. if b < 0x80 {
  4307. break
  4308. }
  4309. }
  4310. fieldNum := int32(wire >> 3)
  4311. wireType := int(wire & 0x7)
  4312. if wireType == 4 {
  4313. return fmt.Errorf("proto: StatefulSetSpec: wiretype end group for non-group")
  4314. }
  4315. if fieldNum <= 0 {
  4316. return fmt.Errorf("proto: StatefulSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
  4317. }
  4318. switch fieldNum {
  4319. case 1:
  4320. if wireType != 0 {
  4321. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  4322. }
  4323. var v int32
  4324. for shift := uint(0); ; shift += 7 {
  4325. if shift >= 64 {
  4326. return ErrIntOverflowGenerated
  4327. }
  4328. if iNdEx >= l {
  4329. return io.ErrUnexpectedEOF
  4330. }
  4331. b := dAtA[iNdEx]
  4332. iNdEx++
  4333. v |= (int32(b) & 0x7F) << shift
  4334. if b < 0x80 {
  4335. break
  4336. }
  4337. }
  4338. m.Replicas = &v
  4339. case 2:
  4340. if wireType != 2 {
  4341. return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
  4342. }
  4343. var msglen int
  4344. for shift := uint(0); ; shift += 7 {
  4345. if shift >= 64 {
  4346. return ErrIntOverflowGenerated
  4347. }
  4348. if iNdEx >= l {
  4349. return io.ErrUnexpectedEOF
  4350. }
  4351. b := dAtA[iNdEx]
  4352. iNdEx++
  4353. msglen |= (int(b) & 0x7F) << shift
  4354. if b < 0x80 {
  4355. break
  4356. }
  4357. }
  4358. if msglen < 0 {
  4359. return ErrInvalidLengthGenerated
  4360. }
  4361. postIndex := iNdEx + msglen
  4362. if postIndex > l {
  4363. return io.ErrUnexpectedEOF
  4364. }
  4365. if m.Selector == nil {
  4366. m.Selector = &k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{}
  4367. }
  4368. if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4369. return err
  4370. }
  4371. iNdEx = postIndex
  4372. case 3:
  4373. if wireType != 2 {
  4374. return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
  4375. }
  4376. var msglen int
  4377. for shift := uint(0); ; shift += 7 {
  4378. if shift >= 64 {
  4379. return ErrIntOverflowGenerated
  4380. }
  4381. if iNdEx >= l {
  4382. return io.ErrUnexpectedEOF
  4383. }
  4384. b := dAtA[iNdEx]
  4385. iNdEx++
  4386. msglen |= (int(b) & 0x7F) << shift
  4387. if b < 0x80 {
  4388. break
  4389. }
  4390. }
  4391. if msglen < 0 {
  4392. return ErrInvalidLengthGenerated
  4393. }
  4394. postIndex := iNdEx + msglen
  4395. if postIndex > l {
  4396. return io.ErrUnexpectedEOF
  4397. }
  4398. if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4399. return err
  4400. }
  4401. iNdEx = postIndex
  4402. case 4:
  4403. if wireType != 2 {
  4404. return fmt.Errorf("proto: wrong wireType = %d for field VolumeClaimTemplates", wireType)
  4405. }
  4406. var msglen int
  4407. for shift := uint(0); ; shift += 7 {
  4408. if shift >= 64 {
  4409. return ErrIntOverflowGenerated
  4410. }
  4411. if iNdEx >= l {
  4412. return io.ErrUnexpectedEOF
  4413. }
  4414. b := dAtA[iNdEx]
  4415. iNdEx++
  4416. msglen |= (int(b) & 0x7F) << shift
  4417. if b < 0x80 {
  4418. break
  4419. }
  4420. }
  4421. if msglen < 0 {
  4422. return ErrInvalidLengthGenerated
  4423. }
  4424. postIndex := iNdEx + msglen
  4425. if postIndex > l {
  4426. return io.ErrUnexpectedEOF
  4427. }
  4428. m.VolumeClaimTemplates = append(m.VolumeClaimTemplates, k8s_io_api_core_v1.PersistentVolumeClaim{})
  4429. if err := m.VolumeClaimTemplates[len(m.VolumeClaimTemplates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4430. return err
  4431. }
  4432. iNdEx = postIndex
  4433. case 5:
  4434. if wireType != 2 {
  4435. return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType)
  4436. }
  4437. var stringLen uint64
  4438. for shift := uint(0); ; shift += 7 {
  4439. if shift >= 64 {
  4440. return ErrIntOverflowGenerated
  4441. }
  4442. if iNdEx >= l {
  4443. return io.ErrUnexpectedEOF
  4444. }
  4445. b := dAtA[iNdEx]
  4446. iNdEx++
  4447. stringLen |= (uint64(b) & 0x7F) << shift
  4448. if b < 0x80 {
  4449. break
  4450. }
  4451. }
  4452. intStringLen := int(stringLen)
  4453. if intStringLen < 0 {
  4454. return ErrInvalidLengthGenerated
  4455. }
  4456. postIndex := iNdEx + intStringLen
  4457. if postIndex > l {
  4458. return io.ErrUnexpectedEOF
  4459. }
  4460. m.ServiceName = string(dAtA[iNdEx:postIndex])
  4461. iNdEx = postIndex
  4462. case 6:
  4463. if wireType != 2 {
  4464. return fmt.Errorf("proto: wrong wireType = %d for field PodManagementPolicy", wireType)
  4465. }
  4466. var stringLen uint64
  4467. for shift := uint(0); ; shift += 7 {
  4468. if shift >= 64 {
  4469. return ErrIntOverflowGenerated
  4470. }
  4471. if iNdEx >= l {
  4472. return io.ErrUnexpectedEOF
  4473. }
  4474. b := dAtA[iNdEx]
  4475. iNdEx++
  4476. stringLen |= (uint64(b) & 0x7F) << shift
  4477. if b < 0x80 {
  4478. break
  4479. }
  4480. }
  4481. intStringLen := int(stringLen)
  4482. if intStringLen < 0 {
  4483. return ErrInvalidLengthGenerated
  4484. }
  4485. postIndex := iNdEx + intStringLen
  4486. if postIndex > l {
  4487. return io.ErrUnexpectedEOF
  4488. }
  4489. m.PodManagementPolicy = PodManagementPolicyType(dAtA[iNdEx:postIndex])
  4490. iNdEx = postIndex
  4491. case 7:
  4492. if wireType != 2 {
  4493. return fmt.Errorf("proto: wrong wireType = %d for field UpdateStrategy", wireType)
  4494. }
  4495. var msglen int
  4496. for shift := uint(0); ; shift += 7 {
  4497. if shift >= 64 {
  4498. return ErrIntOverflowGenerated
  4499. }
  4500. if iNdEx >= l {
  4501. return io.ErrUnexpectedEOF
  4502. }
  4503. b := dAtA[iNdEx]
  4504. iNdEx++
  4505. msglen |= (int(b) & 0x7F) << shift
  4506. if b < 0x80 {
  4507. break
  4508. }
  4509. }
  4510. if msglen < 0 {
  4511. return ErrInvalidLengthGenerated
  4512. }
  4513. postIndex := iNdEx + msglen
  4514. if postIndex > l {
  4515. return io.ErrUnexpectedEOF
  4516. }
  4517. if err := m.UpdateStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4518. return err
  4519. }
  4520. iNdEx = postIndex
  4521. case 8:
  4522. if wireType != 0 {
  4523. return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
  4524. }
  4525. var v int32
  4526. for shift := uint(0); ; shift += 7 {
  4527. if shift >= 64 {
  4528. return ErrIntOverflowGenerated
  4529. }
  4530. if iNdEx >= l {
  4531. return io.ErrUnexpectedEOF
  4532. }
  4533. b := dAtA[iNdEx]
  4534. iNdEx++
  4535. v |= (int32(b) & 0x7F) << shift
  4536. if b < 0x80 {
  4537. break
  4538. }
  4539. }
  4540. m.RevisionHistoryLimit = &v
  4541. default:
  4542. iNdEx = preIndex
  4543. skippy, err := skipGenerated(dAtA[iNdEx:])
  4544. if err != nil {
  4545. return err
  4546. }
  4547. if skippy < 0 {
  4548. return ErrInvalidLengthGenerated
  4549. }
  4550. if (iNdEx + skippy) > l {
  4551. return io.ErrUnexpectedEOF
  4552. }
  4553. iNdEx += skippy
  4554. }
  4555. }
  4556. if iNdEx > l {
  4557. return io.ErrUnexpectedEOF
  4558. }
  4559. return nil
  4560. }
  4561. func (m *StatefulSetStatus) Unmarshal(dAtA []byte) error {
  4562. l := len(dAtA)
  4563. iNdEx := 0
  4564. for iNdEx < l {
  4565. preIndex := iNdEx
  4566. var wire uint64
  4567. for shift := uint(0); ; shift += 7 {
  4568. if shift >= 64 {
  4569. return ErrIntOverflowGenerated
  4570. }
  4571. if iNdEx >= l {
  4572. return io.ErrUnexpectedEOF
  4573. }
  4574. b := dAtA[iNdEx]
  4575. iNdEx++
  4576. wire |= (uint64(b) & 0x7F) << shift
  4577. if b < 0x80 {
  4578. break
  4579. }
  4580. }
  4581. fieldNum := int32(wire >> 3)
  4582. wireType := int(wire & 0x7)
  4583. if wireType == 4 {
  4584. return fmt.Errorf("proto: StatefulSetStatus: wiretype end group for non-group")
  4585. }
  4586. if fieldNum <= 0 {
  4587. return fmt.Errorf("proto: StatefulSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
  4588. }
  4589. switch fieldNum {
  4590. case 1:
  4591. if wireType != 0 {
  4592. return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
  4593. }
  4594. var v int64
  4595. for shift := uint(0); ; shift += 7 {
  4596. if shift >= 64 {
  4597. return ErrIntOverflowGenerated
  4598. }
  4599. if iNdEx >= l {
  4600. return io.ErrUnexpectedEOF
  4601. }
  4602. b := dAtA[iNdEx]
  4603. iNdEx++
  4604. v |= (int64(b) & 0x7F) << shift
  4605. if b < 0x80 {
  4606. break
  4607. }
  4608. }
  4609. m.ObservedGeneration = &v
  4610. case 2:
  4611. if wireType != 0 {
  4612. return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
  4613. }
  4614. m.Replicas = 0
  4615. for shift := uint(0); ; shift += 7 {
  4616. if shift >= 64 {
  4617. return ErrIntOverflowGenerated
  4618. }
  4619. if iNdEx >= l {
  4620. return io.ErrUnexpectedEOF
  4621. }
  4622. b := dAtA[iNdEx]
  4623. iNdEx++
  4624. m.Replicas |= (int32(b) & 0x7F) << shift
  4625. if b < 0x80 {
  4626. break
  4627. }
  4628. }
  4629. case 3:
  4630. if wireType != 0 {
  4631. return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
  4632. }
  4633. m.ReadyReplicas = 0
  4634. for shift := uint(0); ; shift += 7 {
  4635. if shift >= 64 {
  4636. return ErrIntOverflowGenerated
  4637. }
  4638. if iNdEx >= l {
  4639. return io.ErrUnexpectedEOF
  4640. }
  4641. b := dAtA[iNdEx]
  4642. iNdEx++
  4643. m.ReadyReplicas |= (int32(b) & 0x7F) << shift
  4644. if b < 0x80 {
  4645. break
  4646. }
  4647. }
  4648. case 4:
  4649. if wireType != 0 {
  4650. return fmt.Errorf("proto: wrong wireType = %d for field CurrentReplicas", wireType)
  4651. }
  4652. m.CurrentReplicas = 0
  4653. for shift := uint(0); ; shift += 7 {
  4654. if shift >= 64 {
  4655. return ErrIntOverflowGenerated
  4656. }
  4657. if iNdEx >= l {
  4658. return io.ErrUnexpectedEOF
  4659. }
  4660. b := dAtA[iNdEx]
  4661. iNdEx++
  4662. m.CurrentReplicas |= (int32(b) & 0x7F) << shift
  4663. if b < 0x80 {
  4664. break
  4665. }
  4666. }
  4667. case 5:
  4668. if wireType != 0 {
  4669. return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType)
  4670. }
  4671. m.UpdatedReplicas = 0
  4672. for shift := uint(0); ; shift += 7 {
  4673. if shift >= 64 {
  4674. return ErrIntOverflowGenerated
  4675. }
  4676. if iNdEx >= l {
  4677. return io.ErrUnexpectedEOF
  4678. }
  4679. b := dAtA[iNdEx]
  4680. iNdEx++
  4681. m.UpdatedReplicas |= (int32(b) & 0x7F) << shift
  4682. if b < 0x80 {
  4683. break
  4684. }
  4685. }
  4686. case 6:
  4687. if wireType != 2 {
  4688. return fmt.Errorf("proto: wrong wireType = %d for field CurrentRevision", wireType)
  4689. }
  4690. var stringLen uint64
  4691. for shift := uint(0); ; shift += 7 {
  4692. if shift >= 64 {
  4693. return ErrIntOverflowGenerated
  4694. }
  4695. if iNdEx >= l {
  4696. return io.ErrUnexpectedEOF
  4697. }
  4698. b := dAtA[iNdEx]
  4699. iNdEx++
  4700. stringLen |= (uint64(b) & 0x7F) << shift
  4701. if b < 0x80 {
  4702. break
  4703. }
  4704. }
  4705. intStringLen := int(stringLen)
  4706. if intStringLen < 0 {
  4707. return ErrInvalidLengthGenerated
  4708. }
  4709. postIndex := iNdEx + intStringLen
  4710. if postIndex > l {
  4711. return io.ErrUnexpectedEOF
  4712. }
  4713. m.CurrentRevision = string(dAtA[iNdEx:postIndex])
  4714. iNdEx = postIndex
  4715. case 7:
  4716. if wireType != 2 {
  4717. return fmt.Errorf("proto: wrong wireType = %d for field UpdateRevision", wireType)
  4718. }
  4719. var stringLen uint64
  4720. for shift := uint(0); ; shift += 7 {
  4721. if shift >= 64 {
  4722. return ErrIntOverflowGenerated
  4723. }
  4724. if iNdEx >= l {
  4725. return io.ErrUnexpectedEOF
  4726. }
  4727. b := dAtA[iNdEx]
  4728. iNdEx++
  4729. stringLen |= (uint64(b) & 0x7F) << shift
  4730. if b < 0x80 {
  4731. break
  4732. }
  4733. }
  4734. intStringLen := int(stringLen)
  4735. if intStringLen < 0 {
  4736. return ErrInvalidLengthGenerated
  4737. }
  4738. postIndex := iNdEx + intStringLen
  4739. if postIndex > l {
  4740. return io.ErrUnexpectedEOF
  4741. }
  4742. m.UpdateRevision = string(dAtA[iNdEx:postIndex])
  4743. iNdEx = postIndex
  4744. case 9:
  4745. if wireType != 0 {
  4746. return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
  4747. }
  4748. var v int32
  4749. for shift := uint(0); ; shift += 7 {
  4750. if shift >= 64 {
  4751. return ErrIntOverflowGenerated
  4752. }
  4753. if iNdEx >= l {
  4754. return io.ErrUnexpectedEOF
  4755. }
  4756. b := dAtA[iNdEx]
  4757. iNdEx++
  4758. v |= (int32(b) & 0x7F) << shift
  4759. if b < 0x80 {
  4760. break
  4761. }
  4762. }
  4763. m.CollisionCount = &v
  4764. case 10:
  4765. if wireType != 2 {
  4766. return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
  4767. }
  4768. var msglen int
  4769. for shift := uint(0); ; shift += 7 {
  4770. if shift >= 64 {
  4771. return ErrIntOverflowGenerated
  4772. }
  4773. if iNdEx >= l {
  4774. return io.ErrUnexpectedEOF
  4775. }
  4776. b := dAtA[iNdEx]
  4777. iNdEx++
  4778. msglen |= (int(b) & 0x7F) << shift
  4779. if b < 0x80 {
  4780. break
  4781. }
  4782. }
  4783. if msglen < 0 {
  4784. return ErrInvalidLengthGenerated
  4785. }
  4786. postIndex := iNdEx + msglen
  4787. if postIndex > l {
  4788. return io.ErrUnexpectedEOF
  4789. }
  4790. m.Conditions = append(m.Conditions, StatefulSetCondition{})
  4791. if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4792. return err
  4793. }
  4794. iNdEx = postIndex
  4795. default:
  4796. iNdEx = preIndex
  4797. skippy, err := skipGenerated(dAtA[iNdEx:])
  4798. if err != nil {
  4799. return err
  4800. }
  4801. if skippy < 0 {
  4802. return ErrInvalidLengthGenerated
  4803. }
  4804. if (iNdEx + skippy) > l {
  4805. return io.ErrUnexpectedEOF
  4806. }
  4807. iNdEx += skippy
  4808. }
  4809. }
  4810. if iNdEx > l {
  4811. return io.ErrUnexpectedEOF
  4812. }
  4813. return nil
  4814. }
  4815. func (m *StatefulSetUpdateStrategy) Unmarshal(dAtA []byte) error {
  4816. l := len(dAtA)
  4817. iNdEx := 0
  4818. for iNdEx < l {
  4819. preIndex := iNdEx
  4820. var wire uint64
  4821. for shift := uint(0); ; shift += 7 {
  4822. if shift >= 64 {
  4823. return ErrIntOverflowGenerated
  4824. }
  4825. if iNdEx >= l {
  4826. return io.ErrUnexpectedEOF
  4827. }
  4828. b := dAtA[iNdEx]
  4829. iNdEx++
  4830. wire |= (uint64(b) & 0x7F) << shift
  4831. if b < 0x80 {
  4832. break
  4833. }
  4834. }
  4835. fieldNum := int32(wire >> 3)
  4836. wireType := int(wire & 0x7)
  4837. if wireType == 4 {
  4838. return fmt.Errorf("proto: StatefulSetUpdateStrategy: wiretype end group for non-group")
  4839. }
  4840. if fieldNum <= 0 {
  4841. return fmt.Errorf("proto: StatefulSetUpdateStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
  4842. }
  4843. switch fieldNum {
  4844. case 1:
  4845. if wireType != 2 {
  4846. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  4847. }
  4848. var stringLen uint64
  4849. for shift := uint(0); ; shift += 7 {
  4850. if shift >= 64 {
  4851. return ErrIntOverflowGenerated
  4852. }
  4853. if iNdEx >= l {
  4854. return io.ErrUnexpectedEOF
  4855. }
  4856. b := dAtA[iNdEx]
  4857. iNdEx++
  4858. stringLen |= (uint64(b) & 0x7F) << shift
  4859. if b < 0x80 {
  4860. break
  4861. }
  4862. }
  4863. intStringLen := int(stringLen)
  4864. if intStringLen < 0 {
  4865. return ErrInvalidLengthGenerated
  4866. }
  4867. postIndex := iNdEx + intStringLen
  4868. if postIndex > l {
  4869. return io.ErrUnexpectedEOF
  4870. }
  4871. m.Type = StatefulSetUpdateStrategyType(dAtA[iNdEx:postIndex])
  4872. iNdEx = postIndex
  4873. case 2:
  4874. if wireType != 2 {
  4875. return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
  4876. }
  4877. var msglen int
  4878. for shift := uint(0); ; shift += 7 {
  4879. if shift >= 64 {
  4880. return ErrIntOverflowGenerated
  4881. }
  4882. if iNdEx >= l {
  4883. return io.ErrUnexpectedEOF
  4884. }
  4885. b := dAtA[iNdEx]
  4886. iNdEx++
  4887. msglen |= (int(b) & 0x7F) << shift
  4888. if b < 0x80 {
  4889. break
  4890. }
  4891. }
  4892. if msglen < 0 {
  4893. return ErrInvalidLengthGenerated
  4894. }
  4895. postIndex := iNdEx + msglen
  4896. if postIndex > l {
  4897. return io.ErrUnexpectedEOF
  4898. }
  4899. if m.RollingUpdate == nil {
  4900. m.RollingUpdate = &RollingUpdateStatefulSetStrategy{}
  4901. }
  4902. if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4903. return err
  4904. }
  4905. iNdEx = postIndex
  4906. default:
  4907. iNdEx = preIndex
  4908. skippy, err := skipGenerated(dAtA[iNdEx:])
  4909. if err != nil {
  4910. return err
  4911. }
  4912. if skippy < 0 {
  4913. return ErrInvalidLengthGenerated
  4914. }
  4915. if (iNdEx + skippy) > l {
  4916. return io.ErrUnexpectedEOF
  4917. }
  4918. iNdEx += skippy
  4919. }
  4920. }
  4921. if iNdEx > l {
  4922. return io.ErrUnexpectedEOF
  4923. }
  4924. return nil
  4925. }
  4926. func skipGenerated(dAtA []byte) (n int, err error) {
  4927. l := len(dAtA)
  4928. iNdEx := 0
  4929. for iNdEx < l {
  4930. var wire uint64
  4931. for shift := uint(0); ; shift += 7 {
  4932. if shift >= 64 {
  4933. return 0, ErrIntOverflowGenerated
  4934. }
  4935. if iNdEx >= l {
  4936. return 0, io.ErrUnexpectedEOF
  4937. }
  4938. b := dAtA[iNdEx]
  4939. iNdEx++
  4940. wire |= (uint64(b) & 0x7F) << shift
  4941. if b < 0x80 {
  4942. break
  4943. }
  4944. }
  4945. wireType := int(wire & 0x7)
  4946. switch wireType {
  4947. case 0:
  4948. for shift := uint(0); ; shift += 7 {
  4949. if shift >= 64 {
  4950. return 0, ErrIntOverflowGenerated
  4951. }
  4952. if iNdEx >= l {
  4953. return 0, io.ErrUnexpectedEOF
  4954. }
  4955. iNdEx++
  4956. if dAtA[iNdEx-1] < 0x80 {
  4957. break
  4958. }
  4959. }
  4960. return iNdEx, nil
  4961. case 1:
  4962. iNdEx += 8
  4963. return iNdEx, nil
  4964. case 2:
  4965. var length int
  4966. for shift := uint(0); ; shift += 7 {
  4967. if shift >= 64 {
  4968. return 0, ErrIntOverflowGenerated
  4969. }
  4970. if iNdEx >= l {
  4971. return 0, io.ErrUnexpectedEOF
  4972. }
  4973. b := dAtA[iNdEx]
  4974. iNdEx++
  4975. length |= (int(b) & 0x7F) << shift
  4976. if b < 0x80 {
  4977. break
  4978. }
  4979. }
  4980. iNdEx += length
  4981. if length < 0 {
  4982. return 0, ErrInvalidLengthGenerated
  4983. }
  4984. return iNdEx, nil
  4985. case 3:
  4986. for {
  4987. var innerWire uint64
  4988. var start int = iNdEx
  4989. for shift := uint(0); ; shift += 7 {
  4990. if shift >= 64 {
  4991. return 0, ErrIntOverflowGenerated
  4992. }
  4993. if iNdEx >= l {
  4994. return 0, io.ErrUnexpectedEOF
  4995. }
  4996. b := dAtA[iNdEx]
  4997. iNdEx++
  4998. innerWire |= (uint64(b) & 0x7F) << shift
  4999. if b < 0x80 {
  5000. break
  5001. }
  5002. }
  5003. innerWireType := int(innerWire & 0x7)
  5004. if innerWireType == 4 {
  5005. break
  5006. }
  5007. next, err := skipGenerated(dAtA[start:])
  5008. if err != nil {
  5009. return 0, err
  5010. }
  5011. iNdEx = start + next
  5012. }
  5013. return iNdEx, nil
  5014. case 4:
  5015. return iNdEx, nil
  5016. case 5:
  5017. iNdEx += 4
  5018. return iNdEx, nil
  5019. default:
  5020. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  5021. }
  5022. }
  5023. panic("unreachable")
  5024. }
  5025. var (
  5026. ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
  5027. ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
  5028. )
  5029. func init() {
  5030. proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/apps/v1beta1/generated.proto", fileDescriptorGenerated)
  5031. }
  5032. var fileDescriptorGenerated = []byte{
  5033. // 1859 bytes of a gzipped FileDescriptorProto
  5034. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0xcd, 0x6f, 0x24, 0x47,
  5035. 0x15, 0x77, 0x8f, 0x67, 0xec, 0xf1, 0x73, 0x3c, 0xde, 0x2d, 0x9b, 0xf5, 0xc4, 0x81, 0xb1, 0xd5,
  5036. 0x44, 0x89, 0xf3, 0xe1, 0x9e, 0xac, 0x13, 0xa2, 0x64, 0x17, 0x45, 0x78, 0xbc, 0x4b, 0xb2, 0x91,
  5037. 0x8d, 0x9d, 0xb2, 0x1d, 0x44, 0x00, 0x29, 0x35, 0x3d, 0xb5, 0xb3, 0x1d, 0xf7, 0x97, 0xba, 0x6b,
  5038. 0x86, 0x1d, 0x71, 0xe1, 0x0f, 0x40, 0x0a, 0x67, 0xfe, 0x0a, 0x8e, 0x08, 0x6e, 0x9c, 0xf6, 0x82,
  5039. 0x14, 0x71, 0x21, 0x27, 0x8b, 0x9d, 0x5c, 0x81, 0x1b, 0x97, 0x95, 0x90, 0x50, 0x55, 0x57, 0x7f,
  5040. 0x77, 0xdb, 0x6d, 0xa4, 0xf5, 0x21, 0xb7, 0xe9, 0x7a, 0xef, 0xfd, 0x5e, 0x7d, 0xbc, 0xaf, 0xdf,
  5041. 0xc0, 0x8f, 0xce, 0xde, 0xf3, 0x35, 0xc3, 0xe9, 0x9e, 0x8d, 0xfa, 0xd4, 0xb3, 0x29, 0xa3, 0x7e,
  5042. 0x77, 0x4c, 0xed, 0x81, 0xe3, 0x75, 0xa5, 0x80, 0xb8, 0x46, 0x97, 0xb8, 0xae, 0xdf, 0x1d, 0xdf,
  5043. 0xee, 0x53, 0x46, 0x6e, 0x77, 0x87, 0xd4, 0xa6, 0x1e, 0x61, 0x74, 0xa0, 0xb9, 0x9e, 0xc3, 0x1c,
  5044. 0xb4, 0x16, 0x28, 0x6a, 0xc4, 0x35, 0x34, 0xae, 0xa8, 0x49, 0xc5, 0xf5, 0xed, 0xa1, 0xc1, 0x1e,
  5045. 0x8d, 0xfa, 0x9a, 0xee, 0x58, 0xdd, 0xa1, 0x33, 0x74, 0xba, 0x42, 0xbf, 0x3f, 0x7a, 0x28, 0xbe,
  5046. 0xc4, 0x87, 0xf8, 0x15, 0xe0, 0xac, 0xab, 0x09, 0x87, 0xba, 0xe3, 0xd1, 0xee, 0x38, 0xe7, 0x6b,
  5047. 0xfd, 0x9d, 0x58, 0xc7, 0x22, 0xfa, 0x23, 0xc3, 0xa6, 0xde, 0xa4, 0xeb, 0x9e, 0x0d, 0xf9, 0x82,
  5048. 0xdf, 0xb5, 0x28, 0x23, 0x45, 0x56, 0xdd, 0x32, 0x2b, 0x6f, 0x64, 0x33, 0xc3, 0xa2, 0x39, 0x83,
  5049. 0x77, 0x2f, 0x33, 0xf0, 0xf5, 0x47, 0xd4, 0x22, 0x39, 0xbb, 0xb7, 0xcb, 0xec, 0x46, 0xcc, 0x30,
  5050. 0xbb, 0x86, 0xcd, 0x7c, 0xe6, 0x65, 0x8d, 0xd4, 0xff, 0x28, 0x80, 0xf6, 0x1c, 0x9b, 0x79, 0x8e,
  5051. 0x69, 0x52, 0x0f, 0xd3, 0xb1, 0xe1, 0x1b, 0x8e, 0x8d, 0x3e, 0x87, 0x26, 0x3f, 0xcf, 0x80, 0x30,
  5052. 0xd2, 0x56, 0x36, 0x95, 0xad, 0xc5, 0x9d, 0xb7, 0xb4, 0xf8, 0xa6, 0x23, 0x78, 0xcd, 0x3d, 0x1b,
  5053. 0xf2, 0x05, 0x5f, 0xe3, 0xda, 0xda, 0xf8, 0xb6, 0x76, 0xd8, 0xff, 0x82, 0xea, 0xec, 0x80, 0x32,
  5054. 0xd2, 0x43, 0x4f, 0xce, 0x37, 0x66, 0xa6, 0xe7, 0x1b, 0x10, 0xaf, 0xe1, 0x08, 0x15, 0x1d, 0x42,
  5055. 0x5d, 0xa0, 0xd7, 0x04, 0xfa, 0x76, 0x29, 0xba, 0x3c, 0xb4, 0x86, 0xc9, 0xaf, 0xee, 0x3f, 0x66,
  5056. 0xd4, 0xe6, 0xdb, 0xeb, 0xbd, 0x20, 0xa1, 0xeb, 0xf7, 0x08, 0x23, 0x58, 0x00, 0xa1, 0x37, 0xa1,
  5057. 0xe9, 0xc9, 0xed, 0xb7, 0x67, 0x37, 0x95, 0xad, 0xd9, 0xde, 0x0d, 0xa9, 0xd5, 0x0c, 0x8f, 0x85,
  5058. 0x23, 0x0d, 0xf5, 0x89, 0x02, 0xb7, 0xf2, 0xe7, 0xde, 0x37, 0x7c, 0x86, 0x7e, 0x91, 0x3b, 0xbb,
  5059. 0x56, 0xed, 0xec, 0xdc, 0x5a, 0x9c, 0x3c, 0x72, 0x1c, 0xae, 0x24, 0xce, 0x7d, 0x04, 0x0d, 0x83,
  5060. 0x51, 0xcb, 0x6f, 0xd7, 0x36, 0x67, 0xb7, 0x16, 0x77, 0xde, 0xd0, 0x4a, 0x02, 0x58, 0xcb, 0xef,
  5061. 0xae, 0xb7, 0x24, 0x71, 0x1b, 0x0f, 0x38, 0x02, 0x0e, 0x80, 0xd4, 0xdf, 0xd6, 0x00, 0xee, 0x51,
  5062. 0xd7, 0x74, 0x26, 0x16, 0xb5, 0xd9, 0x35, 0x3c, 0xdd, 0x03, 0xa8, 0xfb, 0x2e, 0xd5, 0xe5, 0xd3,
  5063. 0xbd, 0x5a, 0x7a, 0x82, 0x78, 0x53, 0xc7, 0x2e, 0xd5, 0xe3, 0x47, 0xe3, 0x5f, 0x58, 0x40, 0xa0,
  5064. 0x4f, 0x60, 0xce, 0x67, 0x84, 0x8d, 0x7c, 0xf1, 0x64, 0x8b, 0x3b, 0xaf, 0x55, 0x01, 0x13, 0x06,
  5065. 0xbd, 0x96, 0x84, 0x9b, 0x0b, 0xbe, 0xb1, 0x04, 0x52, 0xff, 0x3e, 0x0b, 0x2b, 0xb1, 0xf2, 0x9e,
  5066. 0x63, 0x0f, 0x0c, 0xc6, 0x43, 0xfa, 0x2e, 0xd4, 0xd9, 0xc4, 0xa5, 0xe2, 0x4e, 0x16, 0x7a, 0xaf,
  5067. 0x86, 0x9b, 0x39, 0x99, 0xb8, 0xf4, 0xd9, 0xf9, 0xc6, 0x5a, 0x81, 0x09, 0x17, 0x61, 0x61, 0x84,
  5068. 0xf6, 0xa3, 0x7d, 0xd6, 0x84, 0xf9, 0x3b, 0x69, 0xe7, 0xcf, 0xce, 0x37, 0x0a, 0x0a, 0x88, 0x16,
  5069. 0x21, 0xa5, 0xb7, 0x88, 0x5e, 0x81, 0x39, 0x8f, 0x12, 0xdf, 0xb1, 0xdb, 0x75, 0x81, 0x16, 0x1d,
  5070. 0x05, 0x8b, 0x55, 0x2c, 0xa5, 0xe8, 0x35, 0x98, 0xb7, 0xa8, 0xef, 0x93, 0x21, 0x6d, 0x37, 0x84,
  5071. 0xe2, 0xb2, 0x54, 0x9c, 0x3f, 0x08, 0x96, 0x71, 0x28, 0x47, 0x5f, 0x40, 0xcb, 0x24, 0x3e, 0x3b,
  5072. 0x75, 0x07, 0x84, 0xd1, 0x13, 0xc3, 0xa2, 0xed, 0x39, 0x71, 0xa1, 0xaf, 0x57, 0x7b, 0x7b, 0x6e,
  5073. 0xd1, 0xbb, 0x25, 0xd1, 0x5b, 0xfb, 0x29, 0x24, 0x9c, 0x41, 0x46, 0x63, 0x40, 0x7c, 0xe5, 0xc4,
  5074. 0x23, 0xb6, 0x1f, 0x5c, 0x14, 0xf7, 0x37, 0x7f, 0x65, 0x7f, 0xeb, 0xd2, 0x1f, 0xda, 0xcf, 0xa1,
  5075. 0xe1, 0x02, 0x0f, 0xea, 0x1f, 0x15, 0x68, 0xc5, 0xcf, 0x74, 0x0d, 0xb9, 0xfa, 0x51, 0x3a, 0x57,
  5076. 0xbf, 0x5f, 0x21, 0x38, 0x4b, 0x72, 0xf4, 0x9f, 0x35, 0x40, 0xb1, 0x12, 0x76, 0x4c, 0xb3, 0x4f,
  5077. 0xf4, 0x33, 0xb4, 0x09, 0x75, 0x9b, 0x58, 0x61, 0x4c, 0x46, 0x09, 0xf2, 0x13, 0x62, 0x51, 0x2c,
  5078. 0x24, 0xe8, 0x4b, 0x05, 0xd0, 0x48, 0x5c, 0xfd, 0x60, 0xd7, 0xb6, 0x1d, 0x46, 0xf8, 0x6d, 0x84,
  5079. 0x1b, 0xda, 0xab, 0xb0, 0xa1, 0xd0, 0x97, 0x76, 0x9a, 0x43, 0xb9, 0x6f, 0x33, 0x6f, 0x12, 0xbf,
  5080. 0x42, 0x5e, 0x01, 0x17, 0xb8, 0x46, 0x3f, 0x07, 0xf0, 0x24, 0xe6, 0x89, 0x23, 0xd3, 0xb6, 0xbc,
  5081. 0x06, 0x84, 0xee, 0xf7, 0x1c, 0xfb, 0xa1, 0x31, 0x8c, 0x0b, 0x0b, 0x8e, 0x20, 0x70, 0x02, 0x6e,
  5082. 0xfd, 0x3e, 0xac, 0x95, 0xec, 0x13, 0xdd, 0x80, 0xd9, 0x33, 0x3a, 0x09, 0xae, 0x0a, 0xf3, 0x9f,
  5083. 0x68, 0x15, 0x1a, 0x63, 0x62, 0x8e, 0x68, 0x90, 0x93, 0x38, 0xf8, 0xb8, 0x53, 0x7b, 0x4f, 0x51,
  5084. 0xff, 0xd0, 0x48, 0x46, 0x0a, 0xaf, 0x37, 0x68, 0x8b, 0xb7, 0x07, 0xd7, 0x34, 0x74, 0xe2, 0x0b,
  5085. 0x8c, 0x46, 0xef, 0x85, 0xa0, 0x35, 0x04, 0x6b, 0x38, 0x92, 0xa2, 0x5f, 0x42, 0xd3, 0xa7, 0x26,
  5086. 0xd5, 0x99, 0xe3, 0xc9, 0x12, 0xf7, 0x76, 0xc5, 0x98, 0x22, 0x7d, 0x6a, 0x1e, 0x4b, 0xd3, 0x00,
  5087. 0x3e, 0xfc, 0xc2, 0x11, 0x24, 0xfa, 0x04, 0x9a, 0x8c, 0x5a, 0xae, 0x49, 0x18, 0x95, 0xb7, 0x97,
  5088. 0x8a, 0x2b, 0x5e, 0x3b, 0x38, 0xd8, 0x91, 0x33, 0x38, 0x91, 0x6a, 0xa2, 0x7a, 0x46, 0x71, 0x1a,
  5089. 0xae, 0xe2, 0x08, 0x06, 0xfd, 0x0c, 0x9a, 0x3e, 0xe3, 0x5d, 0x7d, 0x38, 0x11, 0x15, 0xe5, 0xa2,
  5090. 0xb6, 0x92, 0xac, 0xa3, 0x81, 0x49, 0x0c, 0x1d, 0xae, 0xe0, 0x08, 0x0e, 0xed, 0xc2, 0xb2, 0x65,
  5091. 0xd8, 0x98, 0x92, 0xc1, 0xe4, 0x98, 0xea, 0x8e, 0x3d, 0xf0, 0x45, 0x29, 0x6a, 0xf4, 0xd6, 0xa4,
  5092. 0xd1, 0xf2, 0x41, 0x5a, 0x8c, 0xb3, 0xfa, 0x68, 0x1f, 0x56, 0xc3, 0xb6, 0xfb, 0x91, 0xe1, 0x33,
  5093. 0xc7, 0x9b, 0xec, 0x1b, 0x96, 0xc1, 0x44, 0x81, 0x6a, 0xf4, 0xda, 0xd3, 0xf3, 0x8d, 0x55, 0x5c,
  5094. 0x20, 0xc7, 0x85, 0x56, 0xbc, 0x76, 0xba, 0x64, 0xe4, 0xd3, 0x81, 0x28, 0x38, 0xcd, 0xb8, 0x76,
  5095. 0x1e, 0x89, 0x55, 0x2c, 0xa5, 0xe8, 0xa7, 0xa9, 0x30, 0x6d, 0x5e, 0x2d, 0x4c, 0x5b, 0xe5, 0x21,
  5096. 0x8a, 0x4e, 0x61, 0xcd, 0xf5, 0x9c, 0xa1, 0x47, 0x7d, 0xff, 0x1e, 0x25, 0x03, 0xd3, 0xb0, 0x69,
  5097. 0x78, 0x33, 0x0b, 0xe2, 0x44, 0x2f, 0x4d, 0xcf, 0x37, 0xd6, 0x8e, 0x8a, 0x55, 0x70, 0x99, 0xad,
  5098. 0xfa, 0x97, 0x3a, 0xdc, 0xc8, 0xf6, 0x38, 0xf4, 0x31, 0x20, 0xa7, 0xef, 0x53, 0x6f, 0x4c, 0x07,
  5099. 0x1f, 0x06, 0x83, 0x1b, 0x9f, 0x6e, 0x14, 0x31, 0xdd, 0x44, 0x79, 0x7b, 0x98, 0xd3, 0xc0, 0x05,
  5100. 0x56, 0xc1, 0x7c, 0x24, 0x13, 0xa0, 0x26, 0x36, 0x9a, 0x98, 0x8f, 0x72, 0x49, 0xb0, 0x0b, 0xcb,
  5101. 0x32, 0xf7, 0x43, 0xa1, 0x08, 0xd6, 0xc4, 0xbb, 0x9f, 0xa6, 0xc5, 0x38, 0xab, 0x8f, 0x3e, 0x84,
  5102. 0x9b, 0x64, 0x4c, 0x0c, 0x93, 0xf4, 0x4d, 0x1a, 0x81, 0xd4, 0x05, 0xc8, 0x8b, 0x12, 0xe4, 0xe6,
  5103. 0x6e, 0x56, 0x01, 0xe7, 0x6d, 0xd0, 0x01, 0xac, 0x8c, 0xec, 0x3c, 0x54, 0x10, 0x87, 0x2f, 0x49,
  5104. 0xa8, 0x95, 0xd3, 0xbc, 0x0a, 0x2e, 0xb2, 0x43, 0x9f, 0x03, 0xe8, 0x61, 0x63, 0xf6, 0xdb, 0x73,
  5105. 0xa2, 0x92, 0xbe, 0x59, 0x21, 0x5f, 0xa2, 0x6e, 0x1e, 0x57, 0xb1, 0x68, 0xc9, 0xc7, 0x09, 0x4c,
  5106. 0x74, 0x17, 0x96, 0x3c, 0x9e, 0x01, 0xd1, 0x56, 0xe7, 0xc5, 0x56, 0xbf, 0x23, 0xcd, 0x96, 0x70,
  5107. 0x52, 0x88, 0xd3, 0xba, 0xe8, 0x0e, 0xb4, 0x74, 0xc7, 0x34, 0x45, 0xe4, 0xef, 0x39, 0x23, 0x9b,
  5108. 0x89, 0xe0, 0x6d, 0xf4, 0x10, 0xef, 0xcc, 0x7b, 0x29, 0x09, 0xce, 0x68, 0xaa, 0x7f, 0x56, 0x92,
  5109. 0x6d, 0x26, 0x4c, 0x67, 0x74, 0x27, 0x35, 0xfa, 0xbc, 0x92, 0x19, 0x7d, 0x6e, 0xe5, 0x2d, 0x12,
  5110. 0x93, 0x8f, 0x01, 0x4b, 0x3c, 0xf8, 0x0d, 0x7b, 0x18, 0x3c, 0xb8, 0x2c, 0x89, 0x6f, 0x5d, 0x98,
  5111. 0x4a, 0x91, 0x76, 0xa2, 0x31, 0xde, 0x14, 0x27, 0x4f, 0x0a, 0x71, 0x1a, 0x59, 0xfd, 0x00, 0x5a,
  5112. 0xe9, 0x3c, 0x4c, 0xcd, 0xf4, 0xca, 0xa5, 0x33, 0xfd, 0x37, 0x0a, 0xac, 0x95, 0x78, 0x47, 0x26,
  5113. 0xb4, 0x2c, 0xf2, 0x38, 0x11, 0x23, 0x97, 0xce, 0xc6, 0x9c, 0x35, 0x69, 0x01, 0x6b, 0xd2, 0x1e,
  5114. 0xd8, 0xec, 0xd0, 0x3b, 0x66, 0x9e, 0x61, 0x0f, 0x83, 0x77, 0x38, 0x48, 0x61, 0xe1, 0x0c, 0x36,
  5115. 0xfa, 0x0c, 0x9a, 0x16, 0x79, 0x7c, 0x3c, 0xf2, 0x86, 0x45, 0xf7, 0x55, 0xcd, 0x8f, 0xe8, 0x1f,
  5116. 0x07, 0x12, 0x05, 0x47, 0x78, 0xea, 0x21, 0x6c, 0xa6, 0x0e, 0xc9, 0x4b, 0x05, 0x7d, 0x38, 0x32,
  5117. 0x8f, 0x69, 0xfc, 0xe0, 0x6f, 0xc0, 0x82, 0x4b, 0x3c, 0x66, 0x44, 0xe5, 0xa2, 0xd1, 0x5b, 0x9a,
  5118. 0x9e, 0x6f, 0x2c, 0x1c, 0x85, 0x8b, 0x38, 0x96, 0xab, 0xff, 0x55, 0xa0, 0x71, 0xac, 0x13, 0x93,
  5119. 0x5e, 0x03, 0x75, 0xb8, 0x97, 0xa2, 0x0e, 0x6a, 0x69, 0x10, 0x89, 0xfd, 0x94, 0xb2, 0x86, 0xfd,
  5120. 0x0c, 0x6b, 0x78, 0xf9, 0x12, 0x9c, 0x8b, 0x09, 0xc3, 0xfb, 0xb0, 0x10, 0xb9, 0x4b, 0x55, 0x49,
  5121. 0xe5, 0xb2, 0x2a, 0xa9, 0xfe, 0xbe, 0x06, 0x8b, 0x09, 0x17, 0x57, 0xb3, 0xe6, 0xd7, 0x9d, 0x18,
  5122. 0x34, 0x78, 0x19, 0xda, 0xa9, 0x72, 0x10, 0x2d, 0x1c, 0x2a, 0x82, 0xf9, 0x2d, 0xee, 0xde, 0xf9,
  5123. 0x59, 0xe3, 0x03, 0x68, 0x31, 0xe2, 0x0d, 0x29, 0x0b, 0x65, 0xe2, 0xc2, 0x16, 0xe2, 0x49, 0xff,
  5124. 0x24, 0x25, 0xc5, 0x19, 0xed, 0xf5, 0xbb, 0xb0, 0x94, 0x72, 0x76, 0xa5, 0x21, 0xec, 0x4b, 0x7e,
  5125. 0x39, 0x71, 0x70, 0x5e, 0x43, 0x74, 0x7d, 0x9c, 0x8a, 0xae, 0xad, 0xf2, 0xcb, 0x4c, 0xa4, 0x4c,
  5126. 0x59, 0x8c, 0xe1, 0x4c, 0x8c, 0xbd, 0x5e, 0x09, 0xed, 0xe2, 0x48, 0xfb, 0x57, 0x0d, 0x56, 0x13,
  5127. 0xda, 0x31, 0x37, 0xfd, 0x61, 0xaa, 0x40, 0x6f, 0x65, 0x0a, 0x74, 0xbb, 0xc8, 0xe6, 0xb9, 0x91,
  5128. 0xd3, 0x62, 0x76, 0x37, 0xfb, 0xbc, 0xd9, 0xdd, 0x73, 0x20, 0xc5, 0xea, 0x9f, 0x14, 0x58, 0x4e,
  5129. 0xdc, 0xdd, 0x35, 0x30, 0xc6, 0x07, 0x69, 0xc6, 0xf8, 0x72, 0x95, 0xa0, 0x29, 0xa1, 0x8c, 0x7f,
  5130. 0x6d, 0xa4, 0x36, 0xff, 0xad, 0x27, 0x31, 0xbf, 0x86, 0xd5, 0xb1, 0x63, 0x8e, 0x2c, 0xba, 0x67,
  5131. 0x12, 0xc3, 0x0a, 0x15, 0xf8, 0xc4, 0x38, 0x9b, 0xfd, 0x63, 0x28, 0x82, 0xa7, 0x9e, 0x6f, 0xf8,
  5132. 0x8c, 0xda, 0xec, 0xd3, 0xd8, 0xb2, 0xf7, 0x5d, 0xe9, 0x64, 0xf5, 0xd3, 0x02, 0x38, 0x5c, 0xe8,
  5133. 0x04, 0xfd, 0x00, 0x16, 0xf9, 0xc0, 0x6c, 0xe8, 0x94, 0x73, 0x6f, 0x19, 0x58, 0x2b, 0x12, 0x68,
  5134. 0xf1, 0x38, 0x16, 0xe1, 0xa4, 0x1e, 0x7a, 0x04, 0x2b, 0xae, 0x33, 0x38, 0x20, 0x36, 0x19, 0x52,
  5135. 0x3e, 0x66, 0x1c, 0x39, 0xa6, 0xa1, 0x4f, 0x04, 0xb3, 0x59, 0xe8, 0xbd, 0x1b, 0x4e, 0xa6, 0x47,
  5136. 0x79, 0x95, 0x67, 0x9c, 0x22, 0xe4, 0x97, 0x45, 0x52, 0x17, 0x41, 0x22, 0x0f, 0x5a, 0x23, 0xd9,
  5137. 0xee, 0x25, 0xd1, 0x0b, 0xfe, 0x6f, 0xd9, 0xa9, 0x12, 0x61, 0xa7, 0x29, 0xcb, 0xb8, 0xfa, 0xa7,
  5138. 0xd7, 0x71, 0xc6, 0x43, 0x29, 0x71, 0x6b, 0xfe, 0x3f, 0xc4, 0x4d, 0xfd, 0x77, 0x1d, 0x6e, 0xe6,
  5139. 0x4a, 0x25, 0xfa, 0xf1, 0x05, 0x0c, 0xe7, 0xd6, 0x73, 0x63, 0x37, 0xb9, 0x01, 0x7d, 0xf6, 0x0a,
  5140. 0x03, 0xfa, 0x2e, 0x2c, 0xeb, 0x23, 0xcf, 0xa3, 0x36, 0xcb, 0xb0, 0x9a, 0x88, 0x1a, 0xed, 0xa5,
  5141. 0xc5, 0x38, 0xab, 0x5f, 0xc4, 0xae, 0x1a, 0x57, 0x64, 0x57, 0xc9, 0x5d, 0xc8, 0x09, 0x39, 0x08,
  5142. 0xbb, 0xfc, 0x2e, 0xe4, 0xa0, 0x9c, 0xd5, 0xe7, 0xd3, 0x41, 0x80, 0x1a, 0x21, 0xcc, 0xa7, 0xa7,
  5143. 0x83, 0xd3, 0x94, 0x14, 0x67, 0xb4, 0x0b, 0x98, 0xca, 0x42, 0x55, 0xa6, 0x82, 0x48, 0x8a, 0x84,
  5144. 0x81, 0xc8, 0xf1, 0xed, 0x2a, 0xb1, 0x5c, 0x99, 0x85, 0xa9, 0x7f, 0x53, 0xe0, 0xc5, 0xd2, 0x24,
  5145. 0x40, 0xbb, 0xa9, 0x96, 0xbb, 0x9d, 0x69, 0xb9, 0xdf, 0x2b, 0x35, 0x4c, 0xf4, 0x5d, 0xaf, 0x98,
  5146. 0x1a, 0xbd, 0x5f, 0x8d, 0x1a, 0x15, 0xcc, 0xed, 0x97, 0x73, 0xa4, 0xde, 0xf6, 0x93, 0xa7, 0x9d,
  5147. 0x99, 0xaf, 0x9e, 0x76, 0x66, 0xbe, 0x7e, 0xda, 0x99, 0xf9, 0xcd, 0xb4, 0xa3, 0x3c, 0x99, 0x76,
  5148. 0x94, 0xaf, 0xa6, 0x1d, 0xe5, 0xeb, 0x69, 0x47, 0xf9, 0xc7, 0xb4, 0xa3, 0xfc, 0xee, 0x9b, 0xce,
  5149. 0xcc, 0x67, 0xf3, 0xd2, 0xe3, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xe9, 0x89, 0x29, 0x5c, 0x61,
  5150. 0x1b, 0x00, 0x00,
  5151. }