123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112 |
- // Code generated by protoc-gen-gogo. DO NOT EDIT.
- // source: rpcpb/rpc.proto
- /*
- Package rpcpb is a generated protocol buffer package.
- It is generated from these files:
- rpcpb/rpc.proto
- It has these top-level messages:
- Request
- SnapshotInfo
- Response
- Member
- Tester
- Etcd
- */
- package rpcpb
- import proto "github.com/golang/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import _ "github.com/gogo/protobuf/gogoproto"
- import context "golang.org/x/net/context"
- import grpc "google.golang.org/grpc"
- import io "io"
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
- type Operation int32
- const (
- // NOT_STARTED is the agent status before etcd first start.
- Operation_NOT_STARTED Operation = 0
- // INITIAL_START_ETCD is only called to start etcd, the very first time.
- Operation_INITIAL_START_ETCD Operation = 10
- // RESTART_ETCD is sent to restart killed etcd.
- Operation_RESTART_ETCD Operation = 11
- // SIGTERM_ETCD pauses etcd process while keeping data directories
- // and previous etcd configurations.
- Operation_SIGTERM_ETCD Operation = 20
- // SIGQUIT_ETCD_AND_REMOVE_DATA kills etcd process and removes all data
- // directories to simulate destroying the whole machine.
- Operation_SIGQUIT_ETCD_AND_REMOVE_DATA Operation = 21
- // SAVE_SNAPSHOT is sent to trigger local member to download its snapshot
- // onto its local disk with the specified path from tester.
- Operation_SAVE_SNAPSHOT Operation = 30
- // RESTORE_RESTART_FROM_SNAPSHOT is sent to trigger local member to
- // restore a cluster from existing snapshot from disk, and restart
- // an etcd instance from recovered data.
- Operation_RESTORE_RESTART_FROM_SNAPSHOT Operation = 31
- // RESTART_FROM_SNAPSHOT is sent to trigger local member to restart
- // and join an existing cluster that has been recovered from a snapshot.
- // Local member joins this cluster with fresh data.
- Operation_RESTART_FROM_SNAPSHOT Operation = 32
- // SIGQUIT_ETCD_AND_ARCHIVE_DATA is sent when consistency check failed,
- // thus need to archive etcd data directories.
- Operation_SIGQUIT_ETCD_AND_ARCHIVE_DATA Operation = 40
- // SIGQUIT_ETCD_AND_REMOVE_DATA_AND_STOP_AGENT destroys etcd process,
- // etcd data, and agent server.
- Operation_SIGQUIT_ETCD_AND_REMOVE_DATA_AND_STOP_AGENT Operation = 41
- // BLACKHOLE_PEER_PORT_TX_RX drops all outgoing/incoming packets from/to
- // the peer port on target member's peer port.
- Operation_BLACKHOLE_PEER_PORT_TX_RX Operation = 100
- // UNBLACKHOLE_PEER_PORT_TX_RX removes outgoing/incoming packet dropping.
- Operation_UNBLACKHOLE_PEER_PORT_TX_RX Operation = 101
- // DELAY_PEER_PORT_TX_RX delays all outgoing/incoming packets from/to
- // the peer port on target member's peer port.
- Operation_DELAY_PEER_PORT_TX_RX Operation = 200
- // UNDELAY_PEER_PORT_TX_RX removes all outgoing/incoming delays.
- Operation_UNDELAY_PEER_PORT_TX_RX Operation = 201
- )
- var Operation_name = map[int32]string{
- 0: "NOT_STARTED",
- 10: "INITIAL_START_ETCD",
- 11: "RESTART_ETCD",
- 20: "SIGTERM_ETCD",
- 21: "SIGQUIT_ETCD_AND_REMOVE_DATA",
- 30: "SAVE_SNAPSHOT",
- 31: "RESTORE_RESTART_FROM_SNAPSHOT",
- 32: "RESTART_FROM_SNAPSHOT",
- 40: "SIGQUIT_ETCD_AND_ARCHIVE_DATA",
- 41: "SIGQUIT_ETCD_AND_REMOVE_DATA_AND_STOP_AGENT",
- 100: "BLACKHOLE_PEER_PORT_TX_RX",
- 101: "UNBLACKHOLE_PEER_PORT_TX_RX",
- 200: "DELAY_PEER_PORT_TX_RX",
- 201: "UNDELAY_PEER_PORT_TX_RX",
- }
- var Operation_value = map[string]int32{
- "NOT_STARTED": 0,
- "INITIAL_START_ETCD": 10,
- "RESTART_ETCD": 11,
- "SIGTERM_ETCD": 20,
- "SIGQUIT_ETCD_AND_REMOVE_DATA": 21,
- "SAVE_SNAPSHOT": 30,
- "RESTORE_RESTART_FROM_SNAPSHOT": 31,
- "RESTART_FROM_SNAPSHOT": 32,
- "SIGQUIT_ETCD_AND_ARCHIVE_DATA": 40,
- "SIGQUIT_ETCD_AND_REMOVE_DATA_AND_STOP_AGENT": 41,
- "BLACKHOLE_PEER_PORT_TX_RX": 100,
- "UNBLACKHOLE_PEER_PORT_TX_RX": 101,
- "DELAY_PEER_PORT_TX_RX": 200,
- "UNDELAY_PEER_PORT_TX_RX": 201,
- }
- func (x Operation) String() string {
- return proto.EnumName(Operation_name, int32(x))
- }
- func (Operation) EnumDescriptor() ([]byte, []int) { return fileDescriptorRpc, []int{0} }
- // Case defines various system faults or test case in distributed systems,
- // in order to verify correct behavior of etcd servers and clients.
- type Case int32
- const (
- // SIGTERM_ONE_FOLLOWER stops a randomly chosen follower (non-leader)
- // but does not delete its data directories on disk for next restart.
- // It waits "delay-ms" before recovering this failure.
- // The expected behavior is that the follower comes back online
- // and rejoins the cluster, and then each member continues to process
- // client requests ('Put' request that requires Raft consensus).
- Case_SIGTERM_ONE_FOLLOWER Case = 0
- // SIGTERM_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT stops a randomly chosen
- // follower but does not delete its data directories on disk for next
- // restart. And waits until most up-to-date node (leader) applies the
- // snapshot count of entries since the stop operation.
- // The expected behavior is that the follower comes back online and
- // rejoins the cluster, and then active leader sends snapshot
- // to the follower to force it to follow the leader's log.
- // As always, after recovery, each member must be able to process
- // client requests.
- Case_SIGTERM_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT Case = 1
- // SIGTERM_LEADER stops the active leader node but does not delete its
- // data directories on disk for next restart. Then it waits "delay-ms"
- // before recovering this failure, in order to trigger election timeouts.
- // The expected behavior is that a new leader gets elected, and the
- // old leader comes back online and rejoins the cluster as a follower.
- // As always, after recovery, each member must be able to process
- // client requests.
- Case_SIGTERM_LEADER Case = 2
- // SIGTERM_LEADER_UNTIL_TRIGGER_SNAPSHOT stops the active leader node
- // but does not delete its data directories on disk for next restart.
- // And waits until most up-to-date node ("new" leader) applies the
- // snapshot count of entries since the stop operation.
- // The expected behavior is that cluster elects a new leader, and the
- // old leader comes back online and rejoins the cluster as a follower.
- // And it receives the snapshot from the new leader to overwrite its
- // store. As always, after recovery, each member must be able to
- // process client requests.
- Case_SIGTERM_LEADER_UNTIL_TRIGGER_SNAPSHOT Case = 3
- // SIGTERM_QUORUM stops majority number of nodes to make the whole cluster
- // inoperable but does not delete data directories on stopped nodes
- // for next restart. And it waits "delay-ms" before recovering failure.
- // The expected behavior is that nodes come back online, thus cluster
- // comes back operative as well. As always, after recovery, each member
- // must be able to process client requests.
- Case_SIGTERM_QUORUM Case = 4
- // SIGTERM_ALL stops the whole cluster but does not delete data directories
- // on disk for next restart. And it waits "delay-ms" before recovering
- // this failure.
- // The expected behavior is that nodes come back online, thus cluster
- // comes back operative as well. As always, after recovery, each member
- // must be able to process client requests.
- Case_SIGTERM_ALL Case = 5
- // SIGQUIT_AND_REMOVE_ONE_FOLLOWER stops a randomly chosen follower
- // (non-leader), deletes its data directories on disk, and removes
- // this member from cluster (membership reconfiguration). On recovery,
- // tester adds a new member, and this member joins the existing cluster
- // with fresh data. It waits "delay-ms" before recovering this
- // failure. This simulates destroying one follower machine, where operator
- // needs to add a new member from a fresh machine.
- // The expected behavior is that a new member joins the existing cluster,
- // and then each member continues to process client requests.
- Case_SIGQUIT_AND_REMOVE_ONE_FOLLOWER Case = 10
- // SIGQUIT_AND_REMOVE_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT stops a randomly
- // chosen follower, deletes its data directories on disk, and removes
- // this member from cluster (membership reconfiguration). On recovery,
- // tester adds a new member, and this member joins the existing cluster
- // restart. On member remove, cluster waits until most up-to-date node
- // (leader) applies the snapshot count of entries since the stop operation.
- // This simulates destroying a leader machine, where operator needs to add
- // a new member from a fresh machine.
- // The expected behavior is that a new member joins the existing cluster,
- // and receives a snapshot from the active leader. As always, after
- // recovery, each member must be able to process client requests.
- Case_SIGQUIT_AND_REMOVE_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT Case = 11
- // SIGQUIT_AND_REMOVE_LEADER stops the active leader node, deletes its
- // data directories on disk, and removes this member from cluster.
- // On recovery, tester adds a new member, and this member joins the
- // existing cluster with fresh data. It waits "delay-ms" before
- // recovering this failure. This simulates destroying a leader machine,
- // where operator needs to add a new member from a fresh machine.
- // The expected behavior is that a new member joins the existing cluster,
- // and then each member continues to process client requests.
- Case_SIGQUIT_AND_REMOVE_LEADER Case = 12
- // SIGQUIT_AND_REMOVE_LEADER_UNTIL_TRIGGER_SNAPSHOT stops the active leader,
- // deletes its data directories on disk, and removes this member from
- // cluster (membership reconfiguration). On recovery, tester adds a new
- // member, and this member joins the existing cluster restart. On member
- // remove, cluster waits until most up-to-date node (new leader) applies
- // the snapshot count of entries since the stop operation. This simulates
- // destroying a leader machine, where operator needs to add a new member
- // from a fresh machine.
- // The expected behavior is that on member remove, cluster elects a new
- // leader, and a new member joins the existing cluster and receives a
- // snapshot from the newly elected leader. As always, after recovery, each
- // member must be able to process client requests.
- Case_SIGQUIT_AND_REMOVE_LEADER_UNTIL_TRIGGER_SNAPSHOT Case = 13
- // SIGQUIT_AND_REMOVE_QUORUM_AND_RESTORE_LEADER_SNAPSHOT_FROM_SCRATCH first
- // stops majority number of nodes, deletes data directories on those quorum
- // nodes, to make the whole cluster inoperable. Now that quorum and their
- // data are totally destroyed, cluster cannot even remove unavailable nodes
- // (e.g. 2 out of 3 are lost, so no leader can be elected).
- // Let's assume 3-node cluster of node A, B, and C. One day, node A and B
- // are destroyed and all their data are gone. The only viable solution is
- // to recover from C's latest snapshot.
- //
- // To simulate:
- // 1. Assume node C is the current leader with most up-to-date data.
- // 2. Download snapshot from node C, before destroying node A and B.
- // 3. Destroy node A and B, and make the whole cluster inoperable.
- // 4. Now node C cannot operate either.
- // 5. SIGTERM node C and remove its data directories.
- // 6. Restore a new seed member from node C's latest snapshot file.
- // 7. Add another member to establish 2-node cluster.
- // 8. Add another member to establish 3-node cluster.
- // 9. Add more if any.
- //
- // The expected behavior is that etcd successfully recovers from such
- // disastrous situation as only 1-node survives out of 3-node cluster,
- // new members joins the existing cluster, and previous data from snapshot
- // are still preserved after recovery process. As always, after recovery,
- // each member must be able to process client requests.
- Case_SIGQUIT_AND_REMOVE_QUORUM_AND_RESTORE_LEADER_SNAPSHOT_FROM_SCRATCH Case = 14
- // BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER drops all outgoing/incoming
- // packets from/to the peer port on a randomly chosen follower
- // (non-leader), and waits for "delay-ms" until recovery.
- // The expected behavior is that once dropping operation is undone,
- // each member must be able to process client requests.
- Case_BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER Case = 100
- // BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT drops
- // all outgoing/incoming packets from/to the peer port on a randomly
- // chosen follower (non-leader), and waits for most up-to-date node
- // (leader) applies the snapshot count of entries since the blackhole
- // operation.
- // The expected behavior is that once packet drop operation is undone,
- // the slow follower tries to catch up, possibly receiving the snapshot
- // from the active leader. As always, after recovery, each member must
- // be able to process client requests.
- Case_BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT Case = 101
- // BLACKHOLE_PEER_PORT_TX_RX_LEADER drops all outgoing/incoming packets
- // from/to the peer port on the active leader (isolated), and waits for
- // "delay-ms" until recovery, in order to trigger election timeout.
- // The expected behavior is that after election timeout, a new leader gets
- // elected, and once dropping operation is undone, the old leader comes
- // back and rejoins the cluster as a follower. As always, after recovery,
- // each member must be able to process client requests.
- Case_BLACKHOLE_PEER_PORT_TX_RX_LEADER Case = 102
- // BLACKHOLE_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT drops all
- // outgoing/incoming packets from/to the peer port on the active leader,
- // and waits for most up-to-date node (leader) applies the snapshot
- // count of entries since the blackhole operation.
- // The expected behavior is that cluster elects a new leader, and once
- // dropping operation is undone, the old leader comes back and rejoins
- // the cluster as a follower. The slow follower tries to catch up, likely
- // receiving the snapshot from the new active leader. As always, after
- // recovery, each member must be able to process client requests.
- Case_BLACKHOLE_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT Case = 103
- // BLACKHOLE_PEER_PORT_TX_RX_QUORUM drops all outgoing/incoming packets
- // from/to the peer ports on majority nodes of cluster, thus losing its
- // leader and cluster being inoperable. And it waits for "delay-ms"
- // until recovery.
- // The expected behavior is that once packet drop operation is undone,
- // nodes come back online, thus cluster comes back operative. As always,
- // after recovery, each member must be able to process client requests.
- Case_BLACKHOLE_PEER_PORT_TX_RX_QUORUM Case = 104
- // BLACKHOLE_PEER_PORT_TX_RX_ALL drops all outgoing/incoming packets
- // from/to the peer ports on all nodes, thus making cluster totally
- // inoperable. It waits for "delay-ms" until recovery.
- // The expected behavior is that once packet drop operation is undone,
- // nodes come back online, thus cluster comes back operative. As always,
- // after recovery, each member must be able to process client requests.
- Case_BLACKHOLE_PEER_PORT_TX_RX_ALL Case = 105
- // DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER delays outgoing/incoming packets
- // from/to the peer port on a randomly chosen follower (non-leader).
- // It waits for "delay-ms" until recovery.
- // The expected behavior is that once packet delay operation is undone,
- // the follower comes back and tries to catch up with latest changes from
- // cluster. And as always, after recovery, each member must be able to
- // process client requests.
- Case_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER Case = 200
- // RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER delays outgoing/incoming
- // packets from/to the peer port on a randomly chosen follower
- // (non-leader) with a randomized time duration (thus isolated). It
- // waits for "delay-ms" until recovery.
- // The expected behavior is that once packet delay operation is undone,
- // each member must be able to process client requests.
- Case_RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER Case = 201
- // DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT delays
- // outgoing/incoming packets from/to the peer port on a randomly chosen
- // follower (non-leader), and waits for most up-to-date node (leader)
- // applies the snapshot count of entries since the delay operation.
- // The expected behavior is that the delayed follower gets isolated
- // and behind the current active leader, and once delay operation is undone,
- // the slow follower comes back and catches up possibly receiving snapshot
- // from the active leader. As always, after recovery, each member must be
- // able to process client requests.
- Case_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT Case = 202
- // RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT delays
- // outgoing/incoming packets from/to the peer port on a randomly chosen
- // follower (non-leader) with a randomized time duration, and waits for
- // most up-to-date node (leader) applies the snapshot count of entries
- // since the delay operation.
- // The expected behavior is that the delayed follower gets isolated
- // and behind the current active leader, and once delay operation is undone,
- // the slow follower comes back and catches up, possibly receiving a
- // snapshot from the active leader. As always, after recovery, each member
- // must be able to process client requests.
- Case_RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT Case = 203
- // DELAY_PEER_PORT_TX_RX_LEADER delays outgoing/incoming packets from/to
- // the peer port on the active leader. And waits for "delay-ms" until
- // recovery.
- // The expected behavior is that cluster may elect a new leader, and
- // once packet delay operation is undone, the (old) leader comes back
- // and tries to catch up with latest changes from cluster. As always,
- // after recovery, each member must be able to process client requests.
- Case_DELAY_PEER_PORT_TX_RX_LEADER Case = 204
- // RANDOM_DELAY_PEER_PORT_TX_RX_LEADER delays outgoing/incoming packets
- // from/to the peer port on the active leader with a randomized time
- // duration. And waits for "delay-ms" until recovery.
- // The expected behavior is that cluster may elect a new leader, and
- // once packet delay operation is undone, the (old) leader comes back
- // and tries to catch up with latest changes from cluster. As always,
- // after recovery, each member must be able to process client requests.
- Case_RANDOM_DELAY_PEER_PORT_TX_RX_LEADER Case = 205
- // DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT delays
- // outgoing/incoming packets from/to the peer port on the active leader,
- // and waits for most up-to-date node (current or new leader) applies the
- // snapshot count of entries since the delay operation.
- // The expected behavior is that cluster may elect a new leader, and
- // the old leader gets isolated and behind the current active leader,
- // and once delay operation is undone, the slow follower comes back
- // and catches up, likely receiving a snapshot from the active leader.
- // As always, after recovery, each member must be able to process client
- // requests.
- Case_DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT Case = 206
- // RANDOM_DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT delays
- // outgoing/incoming packets from/to the peer port on the active leader,
- // with a randomized time duration. And it waits for most up-to-date node
- // (current or new leader) applies the snapshot count of entries since the
- // delay operation.
- // The expected behavior is that cluster may elect a new leader, and
- // the old leader gets isolated and behind the current active leader,
- // and once delay operation is undone, the slow follower comes back
- // and catches up, likely receiving a snapshot from the active leader.
- // As always, after recovery, each member must be able to process client
- // requests.
- Case_RANDOM_DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT Case = 207
- // DELAY_PEER_PORT_TX_RX_QUORUM delays outgoing/incoming packets from/to
- // the peer ports on majority nodes of cluster. And it waits for
- // "delay-ms" until recovery, likely to trigger election timeouts.
- // The expected behavior is that cluster may elect a new leader, while
- // quorum of nodes struggle with slow networks, and once delay operation
- // is undone, nodes come back and cluster comes back operative. As always,
- // after recovery, each member must be able to process client requests.
- Case_DELAY_PEER_PORT_TX_RX_QUORUM Case = 208
- // RANDOM_DELAY_PEER_PORT_TX_RX_QUORUM delays outgoing/incoming packets
- // from/to the peer ports on majority nodes of cluster, with randomized
- // time durations. And it waits for "delay-ms" until recovery, likely
- // to trigger election timeouts.
- // The expected behavior is that cluster may elect a new leader, while
- // quorum of nodes struggle with slow networks, and once delay operation
- // is undone, nodes come back and cluster comes back operative. As always,
- // after recovery, each member must be able to process client requests.
- Case_RANDOM_DELAY_PEER_PORT_TX_RX_QUORUM Case = 209
- // DELAY_PEER_PORT_TX_RX_ALL delays outgoing/incoming packets from/to the
- // peer ports on all nodes. And it waits for "delay-ms" until recovery,
- // likely to trigger election timeouts.
- // The expected behavior is that cluster may become totally inoperable,
- // struggling with slow networks across the whole cluster. Once delay
- // operation is undone, nodes come back and cluster comes back operative.
- // As always, after recovery, each member must be able to process client
- // requests.
- Case_DELAY_PEER_PORT_TX_RX_ALL Case = 210
- // RANDOM_DELAY_PEER_PORT_TX_RX_ALL delays outgoing/incoming packets
- // from/to the peer ports on all nodes, with randomized time durations.
- // And it waits for "delay-ms" until recovery, likely to trigger
- // election timeouts.
- // The expected behavior is that cluster may become totally inoperable,
- // struggling with slow networks across the whole cluster. Once delay
- // operation is undone, nodes come back and cluster comes back operative.
- // As always, after recovery, each member must be able to process client
- // requests.
- Case_RANDOM_DELAY_PEER_PORT_TX_RX_ALL Case = 211
- // NO_FAIL_WITH_STRESS stops injecting failures while testing the
- // consistency and correctness under pressure loads, for the duration of
- // "delay-ms". Goal is to ensure cluster be still making progress
- // on recovery, and verify system does not deadlock following a sequence
- // of failure injections.
- // The expected behavior is that cluster remains fully operative in healthy
- // condition. As always, after recovery, each member must be able to process
- // client requests.
- Case_NO_FAIL_WITH_STRESS Case = 300
- // NO_FAIL_WITH_NO_STRESS_FOR_LIVENESS neither injects failures nor
- // sends stressig client requests to the cluster, for the duration of
- // "delay-ms". Goal is to ensure cluster be still making progress
- // on recovery, and verify system does not deadlock following a sequence
- // of failure injections.
- // The expected behavior is that cluster remains fully operative in healthy
- // condition, and clients requests during liveness period succeed without
- // errors.
- // Note: this is how Google Chubby does failure injection testing
- // https://static.googleusercontent.com/media/research.google.com/en//archive/paxos_made_live.pdf.
- Case_NO_FAIL_WITH_NO_STRESS_FOR_LIVENESS Case = 301
- // FAILPOINTS injects failpoints to etcd server runtime, triggering panics
- // in critical code paths.
- Case_FAILPOINTS Case = 400
- // EXTERNAL runs external failure injection scripts.
- Case_EXTERNAL Case = 500
- )
- var Case_name = map[int32]string{
- 0: "SIGTERM_ONE_FOLLOWER",
- 1: "SIGTERM_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT",
- 2: "SIGTERM_LEADER",
- 3: "SIGTERM_LEADER_UNTIL_TRIGGER_SNAPSHOT",
- 4: "SIGTERM_QUORUM",
- 5: "SIGTERM_ALL",
- 10: "SIGQUIT_AND_REMOVE_ONE_FOLLOWER",
- 11: "SIGQUIT_AND_REMOVE_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT",
- 12: "SIGQUIT_AND_REMOVE_LEADER",
- 13: "SIGQUIT_AND_REMOVE_LEADER_UNTIL_TRIGGER_SNAPSHOT",
- 14: "SIGQUIT_AND_REMOVE_QUORUM_AND_RESTORE_LEADER_SNAPSHOT_FROM_SCRATCH",
- 100: "BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER",
- 101: "BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT",
- 102: "BLACKHOLE_PEER_PORT_TX_RX_LEADER",
- 103: "BLACKHOLE_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT",
- 104: "BLACKHOLE_PEER_PORT_TX_RX_QUORUM",
- 105: "BLACKHOLE_PEER_PORT_TX_RX_ALL",
- 200: "DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER",
- 201: "RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER",
- 202: "DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT",
- 203: "RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT",
- 204: "DELAY_PEER_PORT_TX_RX_LEADER",
- 205: "RANDOM_DELAY_PEER_PORT_TX_RX_LEADER",
- 206: "DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT",
- 207: "RANDOM_DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT",
- 208: "DELAY_PEER_PORT_TX_RX_QUORUM",
- 209: "RANDOM_DELAY_PEER_PORT_TX_RX_QUORUM",
- 210: "DELAY_PEER_PORT_TX_RX_ALL",
- 211: "RANDOM_DELAY_PEER_PORT_TX_RX_ALL",
- 300: "NO_FAIL_WITH_STRESS",
- 301: "NO_FAIL_WITH_NO_STRESS_FOR_LIVENESS",
- 400: "FAILPOINTS",
- 500: "EXTERNAL",
- }
- var Case_value = map[string]int32{
- "SIGTERM_ONE_FOLLOWER": 0,
- "SIGTERM_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT": 1,
- "SIGTERM_LEADER": 2,
- "SIGTERM_LEADER_UNTIL_TRIGGER_SNAPSHOT": 3,
- "SIGTERM_QUORUM": 4,
- "SIGTERM_ALL": 5,
- "SIGQUIT_AND_REMOVE_ONE_FOLLOWER": 10,
- "SIGQUIT_AND_REMOVE_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT": 11,
- "SIGQUIT_AND_REMOVE_LEADER": 12,
- "SIGQUIT_AND_REMOVE_LEADER_UNTIL_TRIGGER_SNAPSHOT": 13,
- "SIGQUIT_AND_REMOVE_QUORUM_AND_RESTORE_LEADER_SNAPSHOT_FROM_SCRATCH": 14,
- "BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER": 100,
- "BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT": 101,
- "BLACKHOLE_PEER_PORT_TX_RX_LEADER": 102,
- "BLACKHOLE_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT": 103,
- "BLACKHOLE_PEER_PORT_TX_RX_QUORUM": 104,
- "BLACKHOLE_PEER_PORT_TX_RX_ALL": 105,
- "DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER": 200,
- "RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER": 201,
- "DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT": 202,
- "RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT": 203,
- "DELAY_PEER_PORT_TX_RX_LEADER": 204,
- "RANDOM_DELAY_PEER_PORT_TX_RX_LEADER": 205,
- "DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT": 206,
- "RANDOM_DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT": 207,
- "DELAY_PEER_PORT_TX_RX_QUORUM": 208,
- "RANDOM_DELAY_PEER_PORT_TX_RX_QUORUM": 209,
- "DELAY_PEER_PORT_TX_RX_ALL": 210,
- "RANDOM_DELAY_PEER_PORT_TX_RX_ALL": 211,
- "NO_FAIL_WITH_STRESS": 300,
- "NO_FAIL_WITH_NO_STRESS_FOR_LIVENESS": 301,
- "FAILPOINTS": 400,
- "EXTERNAL": 500,
- }
- func (x Case) String() string {
- return proto.EnumName(Case_name, int32(x))
- }
- func (Case) EnumDescriptor() ([]byte, []int) { return fileDescriptorRpc, []int{1} }
- type Stresser int32
- const (
- Stresser_KV Stresser = 0
- Stresser_LEASE Stresser = 1
- Stresser_ELECTION_RUNNER Stresser = 2
- Stresser_WATCH_RUNNER Stresser = 3
- Stresser_LOCK_RACER_RUNNER Stresser = 4
- Stresser_LEASE_RUNNER Stresser = 5
- )
- var Stresser_name = map[int32]string{
- 0: "KV",
- 1: "LEASE",
- 2: "ELECTION_RUNNER",
- 3: "WATCH_RUNNER",
- 4: "LOCK_RACER_RUNNER",
- 5: "LEASE_RUNNER",
- }
- var Stresser_value = map[string]int32{
- "KV": 0,
- "LEASE": 1,
- "ELECTION_RUNNER": 2,
- "WATCH_RUNNER": 3,
- "LOCK_RACER_RUNNER": 4,
- "LEASE_RUNNER": 5,
- }
- func (x Stresser) String() string {
- return proto.EnumName(Stresser_name, int32(x))
- }
- func (Stresser) EnumDescriptor() ([]byte, []int) { return fileDescriptorRpc, []int{2} }
- type Checker int32
- const (
- Checker_KV_HASH Checker = 0
- Checker_LEASE_EXPIRE Checker = 1
- Checker_RUNNER Checker = 2
- Checker_NO_CHECK Checker = 3
- )
- var Checker_name = map[int32]string{
- 0: "KV_HASH",
- 1: "LEASE_EXPIRE",
- 2: "RUNNER",
- 3: "NO_CHECK",
- }
- var Checker_value = map[string]int32{
- "KV_HASH": 0,
- "LEASE_EXPIRE": 1,
- "RUNNER": 2,
- "NO_CHECK": 3,
- }
- func (x Checker) String() string {
- return proto.EnumName(Checker_name, int32(x))
- }
- func (Checker) EnumDescriptor() ([]byte, []int) { return fileDescriptorRpc, []int{3} }
- type Request struct {
- Operation Operation `protobuf:"varint,1,opt,name=Operation,proto3,enum=rpcpb.Operation" json:"Operation,omitempty"`
- // Member contains the same Member object from tester configuration.
- Member *Member `protobuf:"bytes,2,opt,name=Member" json:"Member,omitempty"`
- // Tester contains tester configuration.
- Tester *Tester `protobuf:"bytes,3,opt,name=Tester" json:"Tester,omitempty"`
- }
- func (m *Request) Reset() { *m = Request{} }
- func (m *Request) String() string { return proto.CompactTextString(m) }
- func (*Request) ProtoMessage() {}
- func (*Request) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{0} }
- // SnapshotInfo contains SAVE_SNAPSHOT request results.
- type SnapshotInfo struct {
- MemberName string `protobuf:"bytes,1,opt,name=MemberName,proto3" json:"MemberName,omitempty"`
- MemberClientURLs []string `protobuf:"bytes,2,rep,name=MemberClientURLs" json:"MemberClientURLs,omitempty"`
- SnapshotPath string `protobuf:"bytes,3,opt,name=SnapshotPath,proto3" json:"SnapshotPath,omitempty"`
- SnapshotFileSize string `protobuf:"bytes,4,opt,name=SnapshotFileSize,proto3" json:"SnapshotFileSize,omitempty"`
- SnapshotTotalSize string `protobuf:"bytes,5,opt,name=SnapshotTotalSize,proto3" json:"SnapshotTotalSize,omitempty"`
- SnapshotTotalKey int64 `protobuf:"varint,6,opt,name=SnapshotTotalKey,proto3" json:"SnapshotTotalKey,omitempty"`
- SnapshotHash int64 `protobuf:"varint,7,opt,name=SnapshotHash,proto3" json:"SnapshotHash,omitempty"`
- SnapshotRevision int64 `protobuf:"varint,8,opt,name=SnapshotRevision,proto3" json:"SnapshotRevision,omitempty"`
- Took string `protobuf:"bytes,9,opt,name=Took,proto3" json:"Took,omitempty"`
- }
- func (m *SnapshotInfo) Reset() { *m = SnapshotInfo{} }
- func (m *SnapshotInfo) String() string { return proto.CompactTextString(m) }
- func (*SnapshotInfo) ProtoMessage() {}
- func (*SnapshotInfo) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{1} }
- type Response struct {
- Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"`
- Status string `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
- // Member contains the same Member object from tester request.
- Member *Member `protobuf:"bytes,3,opt,name=Member" json:"Member,omitempty"`
- // SnapshotInfo contains SAVE_SNAPSHOT request results.
- SnapshotInfo *SnapshotInfo `protobuf:"bytes,4,opt,name=SnapshotInfo" json:"SnapshotInfo,omitempty"`
- }
- func (m *Response) Reset() { *m = Response{} }
- func (m *Response) String() string { return proto.CompactTextString(m) }
- func (*Response) ProtoMessage() {}
- func (*Response) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{2} }
- type Member struct {
- // EtcdExecPath is the executable etcd binary path in agent server.
- EtcdExecPath string `protobuf:"bytes,1,opt,name=EtcdExecPath,proto3" json:"EtcdExecPath,omitempty" yaml:"etcd-exec-path"`
- // AgentAddr is the agent HTTP server address.
- AgentAddr string `protobuf:"bytes,11,opt,name=AgentAddr,proto3" json:"AgentAddr,omitempty" yaml:"agent-addr"`
- // FailpointHTTPAddr is the agent's failpoints HTTP server address.
- FailpointHTTPAddr string `protobuf:"bytes,12,opt,name=FailpointHTTPAddr,proto3" json:"FailpointHTTPAddr,omitempty" yaml:"failpoint-http-addr"`
- // BaseDir is the base directory where all logs and etcd data are stored.
- BaseDir string `protobuf:"bytes,101,opt,name=BaseDir,proto3" json:"BaseDir,omitempty" yaml:"base-dir"`
- // EtcdLogPath is the log file to store current etcd server logs.
- EtcdLogPath string `protobuf:"bytes,102,opt,name=EtcdLogPath,proto3" json:"EtcdLogPath,omitempty" yaml:"etcd-log-path"`
- // EtcdClientProxy is true when client traffic needs to be proxied.
- // If true, listen client URL port must be different than advertise client URL port.
- EtcdClientProxy bool `protobuf:"varint,201,opt,name=EtcdClientProxy,proto3" json:"EtcdClientProxy,omitempty" yaml:"etcd-client-proxy"`
- // EtcdPeerProxy is true when peer traffic needs to be proxied.
- // If true, listen peer URL port must be different than advertise peer URL port.
- EtcdPeerProxy bool `protobuf:"varint,202,opt,name=EtcdPeerProxy,proto3" json:"EtcdPeerProxy,omitempty" yaml:"etcd-peer-proxy"`
- // EtcdClientEndpoint is the etcd client endpoint.
- EtcdClientEndpoint string `protobuf:"bytes,301,opt,name=EtcdClientEndpoint,proto3" json:"EtcdClientEndpoint,omitempty" yaml:"etcd-client-endpoint"`
- // Etcd defines etcd binary configuration flags.
- Etcd *Etcd `protobuf:"bytes,302,opt,name=Etcd" json:"Etcd,omitempty" yaml:"etcd"`
- // EtcdOnSnapshotRestore defines one-time use configuration during etcd
- // snapshot recovery process.
- EtcdOnSnapshotRestore *Etcd `protobuf:"bytes,303,opt,name=EtcdOnSnapshotRestore" json:"EtcdOnSnapshotRestore,omitempty"`
- // ClientCertData contains cert file contents from this member's etcd server.
- ClientCertData string `protobuf:"bytes,401,opt,name=ClientCertData,proto3" json:"ClientCertData,omitempty" yaml:"client-cert-data"`
- ClientCertPath string `protobuf:"bytes,402,opt,name=ClientCertPath,proto3" json:"ClientCertPath,omitempty" yaml:"client-cert-path"`
- // ClientKeyData contains key file contents from this member's etcd server.
- ClientKeyData string `protobuf:"bytes,403,opt,name=ClientKeyData,proto3" json:"ClientKeyData,omitempty" yaml:"client-key-data"`
- ClientKeyPath string `protobuf:"bytes,404,opt,name=ClientKeyPath,proto3" json:"ClientKeyPath,omitempty" yaml:"client-key-path"`
- // ClientTrustedCAData contains trusted CA file contents from this member's etcd server.
- ClientTrustedCAData string `protobuf:"bytes,405,opt,name=ClientTrustedCAData,proto3" json:"ClientTrustedCAData,omitempty" yaml:"client-trusted-ca-data"`
- ClientTrustedCAPath string `protobuf:"bytes,406,opt,name=ClientTrustedCAPath,proto3" json:"ClientTrustedCAPath,omitempty" yaml:"client-trusted-ca-path"`
- // PeerCertData contains cert file contents from this member's etcd server.
- PeerCertData string `protobuf:"bytes,501,opt,name=PeerCertData,proto3" json:"PeerCertData,omitempty" yaml:"peer-cert-data"`
- PeerCertPath string `protobuf:"bytes,502,opt,name=PeerCertPath,proto3" json:"PeerCertPath,omitempty" yaml:"peer-cert-path"`
- // PeerKeyData contains key file contents from this member's etcd server.
- PeerKeyData string `protobuf:"bytes,503,opt,name=PeerKeyData,proto3" json:"PeerKeyData,omitempty" yaml:"peer-key-data"`
- PeerKeyPath string `protobuf:"bytes,504,opt,name=PeerKeyPath,proto3" json:"PeerKeyPath,omitempty" yaml:"peer-key-path"`
- // PeerTrustedCAData contains trusted CA file contents from this member's etcd server.
- PeerTrustedCAData string `protobuf:"bytes,505,opt,name=PeerTrustedCAData,proto3" json:"PeerTrustedCAData,omitempty" yaml:"peer-trusted-ca-data"`
- PeerTrustedCAPath string `protobuf:"bytes,506,opt,name=PeerTrustedCAPath,proto3" json:"PeerTrustedCAPath,omitempty" yaml:"peer-trusted-ca-path"`
- // SnapshotPath is the snapshot file path to store or restore from.
- SnapshotPath string `protobuf:"bytes,601,opt,name=SnapshotPath,proto3" json:"SnapshotPath,omitempty" yaml:"snapshot-path"`
- // SnapshotInfo contains last SAVE_SNAPSHOT request results.
- SnapshotInfo *SnapshotInfo `protobuf:"bytes,602,opt,name=SnapshotInfo" json:"SnapshotInfo,omitempty"`
- }
- func (m *Member) Reset() { *m = Member{} }
- func (m *Member) String() string { return proto.CompactTextString(m) }
- func (*Member) ProtoMessage() {}
- func (*Member) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{3} }
- type Tester struct {
- DataDir string `protobuf:"bytes,1,opt,name=DataDir,proto3" json:"DataDir,omitempty" yaml:"data-dir"`
- Network string `protobuf:"bytes,2,opt,name=Network,proto3" json:"Network,omitempty" yaml:"network"`
- Addr string `protobuf:"bytes,3,opt,name=Addr,proto3" json:"Addr,omitempty" yaml:"addr"`
- // DelayLatencyMsRv is the delay latency in milliseconds,
- // to inject to simulated slow network.
- DelayLatencyMs uint32 `protobuf:"varint,11,opt,name=DelayLatencyMs,proto3" json:"DelayLatencyMs,omitempty" yaml:"delay-latency-ms"`
- // DelayLatencyMsRv is the delay latency random variable in milliseconds.
- DelayLatencyMsRv uint32 `protobuf:"varint,12,opt,name=DelayLatencyMsRv,proto3" json:"DelayLatencyMsRv,omitempty" yaml:"delay-latency-ms-rv"`
- // UpdatedDelayLatencyMs is the update delay latency in milliseconds,
- // to inject to simulated slow network. It's the final latency to apply,
- // in case the latency numbers are randomly generated from given delay latency field.
- UpdatedDelayLatencyMs uint32 `protobuf:"varint,13,opt,name=UpdatedDelayLatencyMs,proto3" json:"UpdatedDelayLatencyMs,omitempty" yaml:"updated-delay-latency-ms"`
- // RoundLimit is the limit of rounds to run failure set (-1 to run without limits).
- RoundLimit int32 `protobuf:"varint,21,opt,name=RoundLimit,proto3" json:"RoundLimit,omitempty" yaml:"round-limit"`
- // ExitOnCaseFail is true, then exit tester on first failure.
- ExitOnCaseFail bool `protobuf:"varint,22,opt,name=ExitOnCaseFail,proto3" json:"ExitOnCaseFail,omitempty" yaml:"exit-on-failure"`
- // EnablePprof is true to enable profiler.
- EnablePprof bool `protobuf:"varint,23,opt,name=EnablePprof,proto3" json:"EnablePprof,omitempty" yaml:"enable-pprof"`
- // CaseDelayMs is the delay duration after failure is injected.
- // Useful when triggering snapshot or no-op failure cases.
- CaseDelayMs uint32 `protobuf:"varint,31,opt,name=CaseDelayMs,proto3" json:"CaseDelayMs,omitempty" yaml:"case-delay-ms"`
- // CaseShuffle is true to randomize failure injecting order.
- CaseShuffle bool `protobuf:"varint,32,opt,name=CaseShuffle,proto3" json:"CaseShuffle,omitempty" yaml:"case-shuffle"`
- // Cases is the selected test cases to schedule.
- // If empty, run all failure cases.
- Cases []string `protobuf:"bytes,33,rep,name=Cases" json:"Cases,omitempty" yaml:"cases"`
- // FailpointCommands is the list of "gofail" commands
- // (e.g. panic("etcd-tester"),1*sleep(1000).
- FailpointCommands []string `protobuf:"bytes,34,rep,name=FailpointCommands" json:"FailpointCommands,omitempty" yaml:"failpoint-commands"`
- // RunnerExecPath is a path of etcd-runner binary.
- RunnerExecPath string `protobuf:"bytes,41,opt,name=RunnerExecPath,proto3" json:"RunnerExecPath,omitempty" yaml:"runner-exec-path"`
- // ExternalExecPath is a path of script for enabling/disabling an external fault injector.
- ExternalExecPath string `protobuf:"bytes,42,opt,name=ExternalExecPath,proto3" json:"ExternalExecPath,omitempty" yaml:"external-exec-path"`
- // Stressers is the list of stresser types:
- // KV, LEASE, ELECTION_RUNNER, WATCH_RUNNER, LOCK_RACER_RUNNER, LEASE_RUNNER.
- Stressers []string `protobuf:"bytes,101,rep,name=Stressers" json:"Stressers,omitempty" yaml:"stressers"`
- // Checkers is the list of consistency checker types:
- // KV_HASH, LEASE_EXPIRE, NO_CHECK, RUNNER.
- // Leave empty to skip consistency checks.
- Checkers []string `protobuf:"bytes,102,rep,name=Checkers" json:"Checkers,omitempty" yaml:"checkers"`
- // StressKeySize is the size of each small key written into etcd.
- StressKeySize int32 `protobuf:"varint,201,opt,name=StressKeySize,proto3" json:"StressKeySize,omitempty" yaml:"stress-key-size"`
- // StressKeySizeLarge is the size of each large key written into etcd.
- StressKeySizeLarge int32 `protobuf:"varint,202,opt,name=StressKeySizeLarge,proto3" json:"StressKeySizeLarge,omitempty" yaml:"stress-key-size-large"`
- // StressKeySuffixRange is the count of key range written into etcd.
- // Stress keys are created with "fmt.Sprintf("foo%016x", rand.Intn(keySuffixRange)".
- StressKeySuffixRange int32 `protobuf:"varint,203,opt,name=StressKeySuffixRange,proto3" json:"StressKeySuffixRange,omitempty" yaml:"stress-key-suffix-range"`
- // StressKeySuffixRangeTxn is the count of key range written into etcd txn (max 100).
- // Stress keys are created with "fmt.Sprintf("/k%03d", i)".
- StressKeySuffixRangeTxn int32 `protobuf:"varint,204,opt,name=StressKeySuffixRangeTxn,proto3" json:"StressKeySuffixRangeTxn,omitempty" yaml:"stress-key-suffix-range-txn"`
- // StressKeyTxnOps is the number of operations per a transaction (max 64).
- StressKeyTxnOps int32 `protobuf:"varint,205,opt,name=StressKeyTxnOps,proto3" json:"StressKeyTxnOps,omitempty" yaml:"stress-key-txn-ops"`
- // StressClients is the number of concurrent stressing clients
- // with "one" shared TCP connection.
- StressClients int32 `protobuf:"varint,301,opt,name=StressClients,proto3" json:"StressClients,omitempty" yaml:"stress-clients"`
- // StressQPS is the maximum number of stresser requests per second.
- StressQPS int32 `protobuf:"varint,302,opt,name=StressQPS,proto3" json:"StressQPS,omitempty" yaml:"stress-qps"`
- }
- func (m *Tester) Reset() { *m = Tester{} }
- func (m *Tester) String() string { return proto.CompactTextString(m) }
- func (*Tester) ProtoMessage() {}
- func (*Tester) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{4} }
- type Etcd struct {
- Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty" yaml:"name"`
- DataDir string `protobuf:"bytes,2,opt,name=DataDir,proto3" json:"DataDir,omitempty" yaml:"data-dir"`
- WALDir string `protobuf:"bytes,3,opt,name=WALDir,proto3" json:"WALDir,omitempty" yaml:"wal-dir"`
- // HeartbeatIntervalMs is the time (in milliseconds) of a heartbeat interval.
- // Default value is 100, which is 100ms.
- HeartbeatIntervalMs int64 `protobuf:"varint,11,opt,name=HeartbeatIntervalMs,proto3" json:"HeartbeatIntervalMs,omitempty" yaml:"heartbeat-interval"`
- // ElectionTimeoutMs is the time (in milliseconds) for an election to timeout.
- // Default value is 1000, which is 1s.
- ElectionTimeoutMs int64 `protobuf:"varint,12,opt,name=ElectionTimeoutMs,proto3" json:"ElectionTimeoutMs,omitempty" yaml:"election-timeout"`
- ListenClientURLs []string `protobuf:"bytes,21,rep,name=ListenClientURLs" json:"ListenClientURLs,omitempty" yaml:"listen-client-urls"`
- AdvertiseClientURLs []string `protobuf:"bytes,22,rep,name=AdvertiseClientURLs" json:"AdvertiseClientURLs,omitempty" yaml:"advertise-client-urls"`
- ClientAutoTLS bool `protobuf:"varint,23,opt,name=ClientAutoTLS,proto3" json:"ClientAutoTLS,omitempty" yaml:"auto-tls"`
- ClientCertAuth bool `protobuf:"varint,24,opt,name=ClientCertAuth,proto3" json:"ClientCertAuth,omitempty" yaml:"client-cert-auth"`
- ClientCertFile string `protobuf:"bytes,25,opt,name=ClientCertFile,proto3" json:"ClientCertFile,omitempty" yaml:"cert-file"`
- ClientKeyFile string `protobuf:"bytes,26,opt,name=ClientKeyFile,proto3" json:"ClientKeyFile,omitempty" yaml:"key-file"`
- ClientTrustedCAFile string `protobuf:"bytes,27,opt,name=ClientTrustedCAFile,proto3" json:"ClientTrustedCAFile,omitempty" yaml:"trusted-ca-file"`
- ListenPeerURLs []string `protobuf:"bytes,31,rep,name=ListenPeerURLs" json:"ListenPeerURLs,omitempty" yaml:"listen-peer-urls"`
- AdvertisePeerURLs []string `protobuf:"bytes,32,rep,name=AdvertisePeerURLs" json:"AdvertisePeerURLs,omitempty" yaml:"initial-advertise-peer-urls"`
- PeerAutoTLS bool `protobuf:"varint,33,opt,name=PeerAutoTLS,proto3" json:"PeerAutoTLS,omitempty" yaml:"peer-auto-tls"`
- PeerClientCertAuth bool `protobuf:"varint,34,opt,name=PeerClientCertAuth,proto3" json:"PeerClientCertAuth,omitempty" yaml:"peer-client-cert-auth"`
- PeerCertFile string `protobuf:"bytes,35,opt,name=PeerCertFile,proto3" json:"PeerCertFile,omitempty" yaml:"peer-cert-file"`
- PeerKeyFile string `protobuf:"bytes,36,opt,name=PeerKeyFile,proto3" json:"PeerKeyFile,omitempty" yaml:"peer-key-file"`
- PeerTrustedCAFile string `protobuf:"bytes,37,opt,name=PeerTrustedCAFile,proto3" json:"PeerTrustedCAFile,omitempty" yaml:"peer-trusted-ca-file"`
- InitialCluster string `protobuf:"bytes,41,opt,name=InitialCluster,proto3" json:"InitialCluster,omitempty" yaml:"initial-cluster"`
- InitialClusterState string `protobuf:"bytes,42,opt,name=InitialClusterState,proto3" json:"InitialClusterState,omitempty" yaml:"initial-cluster-state"`
- InitialClusterToken string `protobuf:"bytes,43,opt,name=InitialClusterToken,proto3" json:"InitialClusterToken,omitempty" yaml:"initial-cluster-token"`
- SnapshotCount int64 `protobuf:"varint,51,opt,name=SnapshotCount,proto3" json:"SnapshotCount,omitempty" yaml:"snapshot-count"`
- QuotaBackendBytes int64 `protobuf:"varint,52,opt,name=QuotaBackendBytes,proto3" json:"QuotaBackendBytes,omitempty" yaml:"quota-backend-bytes"`
- PreVote bool `protobuf:"varint,63,opt,name=PreVote,proto3" json:"PreVote,omitempty" yaml:"pre-vote"`
- InitialCorruptCheck bool `protobuf:"varint,64,opt,name=InitialCorruptCheck,proto3" json:"InitialCorruptCheck,omitempty" yaml:"initial-corrupt-check"`
- }
- func (m *Etcd) Reset() { *m = Etcd{} }
- func (m *Etcd) String() string { return proto.CompactTextString(m) }
- func (*Etcd) ProtoMessage() {}
- func (*Etcd) Descriptor() ([]byte, []int) { return fileDescriptorRpc, []int{5} }
- func init() {
- proto.RegisterType((*Request)(nil), "rpcpb.Request")
- proto.RegisterType((*SnapshotInfo)(nil), "rpcpb.SnapshotInfo")
- proto.RegisterType((*Response)(nil), "rpcpb.Response")
- proto.RegisterType((*Member)(nil), "rpcpb.Member")
- proto.RegisterType((*Tester)(nil), "rpcpb.Tester")
- proto.RegisterType((*Etcd)(nil), "rpcpb.Etcd")
- proto.RegisterEnum("rpcpb.Operation", Operation_name, Operation_value)
- proto.RegisterEnum("rpcpb.Case", Case_name, Case_value)
- proto.RegisterEnum("rpcpb.Stresser", Stresser_name, Stresser_value)
- proto.RegisterEnum("rpcpb.Checker", Checker_name, Checker_value)
- }
- // Reference imports to suppress errors if they are not otherwise used.
- var _ context.Context
- var _ grpc.ClientConn
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- const _ = grpc.SupportPackageIsVersion4
- // Client API for Transport service
- type TransportClient interface {
- Transport(ctx context.Context, opts ...grpc.CallOption) (Transport_TransportClient, error)
- }
- type transportClient struct {
- cc *grpc.ClientConn
- }
- func NewTransportClient(cc *grpc.ClientConn) TransportClient {
- return &transportClient{cc}
- }
- func (c *transportClient) Transport(ctx context.Context, opts ...grpc.CallOption) (Transport_TransportClient, error) {
- stream, err := grpc.NewClientStream(ctx, &_Transport_serviceDesc.Streams[0], c.cc, "/rpcpb.Transport/Transport", opts...)
- if err != nil {
- return nil, err
- }
- x := &transportTransportClient{stream}
- return x, nil
- }
- type Transport_TransportClient interface {
- Send(*Request) error
- Recv() (*Response, error)
- grpc.ClientStream
- }
- type transportTransportClient struct {
- grpc.ClientStream
- }
- func (x *transportTransportClient) Send(m *Request) error {
- return x.ClientStream.SendMsg(m)
- }
- func (x *transportTransportClient) Recv() (*Response, error) {
- m := new(Response)
- if err := x.ClientStream.RecvMsg(m); err != nil {
- return nil, err
- }
- return m, nil
- }
- // Server API for Transport service
- type TransportServer interface {
- Transport(Transport_TransportServer) error
- }
- func RegisterTransportServer(s *grpc.Server, srv TransportServer) {
- s.RegisterService(&_Transport_serviceDesc, srv)
- }
- func _Transport_Transport_Handler(srv interface{}, stream grpc.ServerStream) error {
- return srv.(TransportServer).Transport(&transportTransportServer{stream})
- }
- type Transport_TransportServer interface {
- Send(*Response) error
- Recv() (*Request, error)
- grpc.ServerStream
- }
- type transportTransportServer struct {
- grpc.ServerStream
- }
- func (x *transportTransportServer) Send(m *Response) error {
- return x.ServerStream.SendMsg(m)
- }
- func (x *transportTransportServer) Recv() (*Request, error) {
- m := new(Request)
- if err := x.ServerStream.RecvMsg(m); err != nil {
- return nil, err
- }
- return m, nil
- }
- var _Transport_serviceDesc = grpc.ServiceDesc{
- ServiceName: "rpcpb.Transport",
- HandlerType: (*TransportServer)(nil),
- Methods: []grpc.MethodDesc{},
- Streams: []grpc.StreamDesc{
- {
- StreamName: "Transport",
- Handler: _Transport_Transport_Handler,
- ServerStreams: true,
- ClientStreams: true,
- },
- },
- Metadata: "rpcpb/rpc.proto",
- }
- func (m *Request) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *Request) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Operation != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.Operation))
- }
- if m.Member != nil {
- dAtA[i] = 0x12
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.Member.Size()))
- n1, err := m.Member.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n1
- }
- if m.Tester != nil {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.Tester.Size()))
- n2, err := m.Tester.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n2
- }
- return i, nil
- }
- func (m *SnapshotInfo) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *SnapshotInfo) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.MemberName) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.MemberName)))
- i += copy(dAtA[i:], m.MemberName)
- }
- if len(m.MemberClientURLs) > 0 {
- for _, s := range m.MemberClientURLs {
- dAtA[i] = 0x12
- i++
- l = len(s)
- for l >= 1<<7 {
- dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
- l >>= 7
- i++
- }
- dAtA[i] = uint8(l)
- i++
- i += copy(dAtA[i:], s)
- }
- }
- if len(m.SnapshotPath) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.SnapshotPath)))
- i += copy(dAtA[i:], m.SnapshotPath)
- }
- if len(m.SnapshotFileSize) > 0 {
- dAtA[i] = 0x22
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.SnapshotFileSize)))
- i += copy(dAtA[i:], m.SnapshotFileSize)
- }
- if len(m.SnapshotTotalSize) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.SnapshotTotalSize)))
- i += copy(dAtA[i:], m.SnapshotTotalSize)
- }
- if m.SnapshotTotalKey != 0 {
- dAtA[i] = 0x30
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.SnapshotTotalKey))
- }
- if m.SnapshotHash != 0 {
- dAtA[i] = 0x38
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.SnapshotHash))
- }
- if m.SnapshotRevision != 0 {
- dAtA[i] = 0x40
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.SnapshotRevision))
- }
- if len(m.Took) > 0 {
- dAtA[i] = 0x4a
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.Took)))
- i += copy(dAtA[i:], m.Took)
- }
- return i, nil
- }
- func (m *Response) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *Response) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Success {
- dAtA[i] = 0x8
- i++
- if m.Success {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if len(m.Status) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.Status)))
- i += copy(dAtA[i:], m.Status)
- }
- if m.Member != nil {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.Member.Size()))
- n3, err := m.Member.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n3
- }
- if m.SnapshotInfo != nil {
- dAtA[i] = 0x22
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.SnapshotInfo.Size()))
- n4, err := m.SnapshotInfo.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n4
- }
- return i, nil
- }
- func (m *Member) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *Member) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.EtcdExecPath) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.EtcdExecPath)))
- i += copy(dAtA[i:], m.EtcdExecPath)
- }
- if len(m.AgentAddr) > 0 {
- dAtA[i] = 0x5a
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.AgentAddr)))
- i += copy(dAtA[i:], m.AgentAddr)
- }
- if len(m.FailpointHTTPAddr) > 0 {
- dAtA[i] = 0x62
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.FailpointHTTPAddr)))
- i += copy(dAtA[i:], m.FailpointHTTPAddr)
- }
- if len(m.BaseDir) > 0 {
- dAtA[i] = 0xaa
- i++
- dAtA[i] = 0x6
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.BaseDir)))
- i += copy(dAtA[i:], m.BaseDir)
- }
- if len(m.EtcdLogPath) > 0 {
- dAtA[i] = 0xb2
- i++
- dAtA[i] = 0x6
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.EtcdLogPath)))
- i += copy(dAtA[i:], m.EtcdLogPath)
- }
- if m.EtcdClientProxy {
- dAtA[i] = 0xc8
- i++
- dAtA[i] = 0xc
- i++
- if m.EtcdClientProxy {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.EtcdPeerProxy {
- dAtA[i] = 0xd0
- i++
- dAtA[i] = 0xc
- i++
- if m.EtcdPeerProxy {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if len(m.EtcdClientEndpoint) > 0 {
- dAtA[i] = 0xea
- i++
- dAtA[i] = 0x12
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.EtcdClientEndpoint)))
- i += copy(dAtA[i:], m.EtcdClientEndpoint)
- }
- if m.Etcd != nil {
- dAtA[i] = 0xf2
- i++
- dAtA[i] = 0x12
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.Etcd.Size()))
- n5, err := m.Etcd.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n5
- }
- if m.EtcdOnSnapshotRestore != nil {
- dAtA[i] = 0xfa
- i++
- dAtA[i] = 0x12
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.EtcdOnSnapshotRestore.Size()))
- n6, err := m.EtcdOnSnapshotRestore.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n6
- }
- if len(m.ClientCertData) > 0 {
- dAtA[i] = 0x8a
- i++
- dAtA[i] = 0x19
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientCertData)))
- i += copy(dAtA[i:], m.ClientCertData)
- }
- if len(m.ClientCertPath) > 0 {
- dAtA[i] = 0x92
- i++
- dAtA[i] = 0x19
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientCertPath)))
- i += copy(dAtA[i:], m.ClientCertPath)
- }
- if len(m.ClientKeyData) > 0 {
- dAtA[i] = 0x9a
- i++
- dAtA[i] = 0x19
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientKeyData)))
- i += copy(dAtA[i:], m.ClientKeyData)
- }
- if len(m.ClientKeyPath) > 0 {
- dAtA[i] = 0xa2
- i++
- dAtA[i] = 0x19
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientKeyPath)))
- i += copy(dAtA[i:], m.ClientKeyPath)
- }
- if len(m.ClientTrustedCAData) > 0 {
- dAtA[i] = 0xaa
- i++
- dAtA[i] = 0x19
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientTrustedCAData)))
- i += copy(dAtA[i:], m.ClientTrustedCAData)
- }
- if len(m.ClientTrustedCAPath) > 0 {
- dAtA[i] = 0xb2
- i++
- dAtA[i] = 0x19
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientTrustedCAPath)))
- i += copy(dAtA[i:], m.ClientTrustedCAPath)
- }
- if len(m.PeerCertData) > 0 {
- dAtA[i] = 0xaa
- i++
- dAtA[i] = 0x1f
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerCertData)))
- i += copy(dAtA[i:], m.PeerCertData)
- }
- if len(m.PeerCertPath) > 0 {
- dAtA[i] = 0xb2
- i++
- dAtA[i] = 0x1f
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerCertPath)))
- i += copy(dAtA[i:], m.PeerCertPath)
- }
- if len(m.PeerKeyData) > 0 {
- dAtA[i] = 0xba
- i++
- dAtA[i] = 0x1f
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerKeyData)))
- i += copy(dAtA[i:], m.PeerKeyData)
- }
- if len(m.PeerKeyPath) > 0 {
- dAtA[i] = 0xc2
- i++
- dAtA[i] = 0x1f
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerKeyPath)))
- i += copy(dAtA[i:], m.PeerKeyPath)
- }
- if len(m.PeerTrustedCAData) > 0 {
- dAtA[i] = 0xca
- i++
- dAtA[i] = 0x1f
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerTrustedCAData)))
- i += copy(dAtA[i:], m.PeerTrustedCAData)
- }
- if len(m.PeerTrustedCAPath) > 0 {
- dAtA[i] = 0xd2
- i++
- dAtA[i] = 0x1f
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerTrustedCAPath)))
- i += copy(dAtA[i:], m.PeerTrustedCAPath)
- }
- if len(m.SnapshotPath) > 0 {
- dAtA[i] = 0xca
- i++
- dAtA[i] = 0x25
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.SnapshotPath)))
- i += copy(dAtA[i:], m.SnapshotPath)
- }
- if m.SnapshotInfo != nil {
- dAtA[i] = 0xd2
- i++
- dAtA[i] = 0x25
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.SnapshotInfo.Size()))
- n7, err := m.SnapshotInfo.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n7
- }
- return i, nil
- }
- func (m *Tester) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *Tester) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.DataDir) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.DataDir)))
- i += copy(dAtA[i:], m.DataDir)
- }
- if len(m.Network) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.Network)))
- i += copy(dAtA[i:], m.Network)
- }
- if len(m.Addr) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.Addr)))
- i += copy(dAtA[i:], m.Addr)
- }
- if m.DelayLatencyMs != 0 {
- dAtA[i] = 0x58
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.DelayLatencyMs))
- }
- if m.DelayLatencyMsRv != 0 {
- dAtA[i] = 0x60
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.DelayLatencyMsRv))
- }
- if m.UpdatedDelayLatencyMs != 0 {
- dAtA[i] = 0x68
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.UpdatedDelayLatencyMs))
- }
- if m.RoundLimit != 0 {
- dAtA[i] = 0xa8
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.RoundLimit))
- }
- if m.ExitOnCaseFail {
- dAtA[i] = 0xb0
- i++
- dAtA[i] = 0x1
- i++
- if m.ExitOnCaseFail {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.EnablePprof {
- dAtA[i] = 0xb8
- i++
- dAtA[i] = 0x1
- i++
- if m.EnablePprof {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.CaseDelayMs != 0 {
- dAtA[i] = 0xf8
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.CaseDelayMs))
- }
- if m.CaseShuffle {
- dAtA[i] = 0x80
- i++
- dAtA[i] = 0x2
- i++
- if m.CaseShuffle {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if len(m.Cases) > 0 {
- for _, s := range m.Cases {
- dAtA[i] = 0x8a
- i++
- dAtA[i] = 0x2
- i++
- l = len(s)
- for l >= 1<<7 {
- dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
- l >>= 7
- i++
- }
- dAtA[i] = uint8(l)
- i++
- i += copy(dAtA[i:], s)
- }
- }
- if len(m.FailpointCommands) > 0 {
- for _, s := range m.FailpointCommands {
- dAtA[i] = 0x92
- i++
- dAtA[i] = 0x2
- i++
- l = len(s)
- for l >= 1<<7 {
- dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
- l >>= 7
- i++
- }
- dAtA[i] = uint8(l)
- i++
- i += copy(dAtA[i:], s)
- }
- }
- if len(m.RunnerExecPath) > 0 {
- dAtA[i] = 0xca
- i++
- dAtA[i] = 0x2
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.RunnerExecPath)))
- i += copy(dAtA[i:], m.RunnerExecPath)
- }
- if len(m.ExternalExecPath) > 0 {
- dAtA[i] = 0xd2
- i++
- dAtA[i] = 0x2
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.ExternalExecPath)))
- i += copy(dAtA[i:], m.ExternalExecPath)
- }
- if len(m.Stressers) > 0 {
- for _, s := range m.Stressers {
- dAtA[i] = 0xaa
- i++
- dAtA[i] = 0x6
- i++
- l = len(s)
- for l >= 1<<7 {
- dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
- l >>= 7
- i++
- }
- dAtA[i] = uint8(l)
- i++
- i += copy(dAtA[i:], s)
- }
- }
- if len(m.Checkers) > 0 {
- for _, s := range m.Checkers {
- dAtA[i] = 0xb2
- i++
- dAtA[i] = 0x6
- i++
- l = len(s)
- for l >= 1<<7 {
- dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
- l >>= 7
- i++
- }
- dAtA[i] = uint8(l)
- i++
- i += copy(dAtA[i:], s)
- }
- }
- if m.StressKeySize != 0 {
- dAtA[i] = 0xc8
- i++
- dAtA[i] = 0xc
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.StressKeySize))
- }
- if m.StressKeySizeLarge != 0 {
- dAtA[i] = 0xd0
- i++
- dAtA[i] = 0xc
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.StressKeySizeLarge))
- }
- if m.StressKeySuffixRange != 0 {
- dAtA[i] = 0xd8
- i++
- dAtA[i] = 0xc
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.StressKeySuffixRange))
- }
- if m.StressKeySuffixRangeTxn != 0 {
- dAtA[i] = 0xe0
- i++
- dAtA[i] = 0xc
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.StressKeySuffixRangeTxn))
- }
- if m.StressKeyTxnOps != 0 {
- dAtA[i] = 0xe8
- i++
- dAtA[i] = 0xc
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.StressKeyTxnOps))
- }
- if m.StressClients != 0 {
- dAtA[i] = 0xe8
- i++
- dAtA[i] = 0x12
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.StressClients))
- }
- if m.StressQPS != 0 {
- dAtA[i] = 0xf0
- i++
- dAtA[i] = 0x12
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.StressQPS))
- }
- return i, nil
- }
- func (m *Etcd) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *Etcd) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Name) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.Name)))
- i += copy(dAtA[i:], m.Name)
- }
- if len(m.DataDir) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.DataDir)))
- i += copy(dAtA[i:], m.DataDir)
- }
- if len(m.WALDir) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.WALDir)))
- i += copy(dAtA[i:], m.WALDir)
- }
- if m.HeartbeatIntervalMs != 0 {
- dAtA[i] = 0x58
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.HeartbeatIntervalMs))
- }
- if m.ElectionTimeoutMs != 0 {
- dAtA[i] = 0x60
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.ElectionTimeoutMs))
- }
- if len(m.ListenClientURLs) > 0 {
- for _, s := range m.ListenClientURLs {
- dAtA[i] = 0xaa
- i++
- dAtA[i] = 0x1
- i++
- l = len(s)
- for l >= 1<<7 {
- dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
- l >>= 7
- i++
- }
- dAtA[i] = uint8(l)
- i++
- i += copy(dAtA[i:], s)
- }
- }
- if len(m.AdvertiseClientURLs) > 0 {
- for _, s := range m.AdvertiseClientURLs {
- dAtA[i] = 0xb2
- i++
- dAtA[i] = 0x1
- i++
- l = len(s)
- for l >= 1<<7 {
- dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
- l >>= 7
- i++
- }
- dAtA[i] = uint8(l)
- i++
- i += copy(dAtA[i:], s)
- }
- }
- if m.ClientAutoTLS {
- dAtA[i] = 0xb8
- i++
- dAtA[i] = 0x1
- i++
- if m.ClientAutoTLS {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.ClientCertAuth {
- dAtA[i] = 0xc0
- i++
- dAtA[i] = 0x1
- i++
- if m.ClientCertAuth {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if len(m.ClientCertFile) > 0 {
- dAtA[i] = 0xca
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientCertFile)))
- i += copy(dAtA[i:], m.ClientCertFile)
- }
- if len(m.ClientKeyFile) > 0 {
- dAtA[i] = 0xd2
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientKeyFile)))
- i += copy(dAtA[i:], m.ClientKeyFile)
- }
- if len(m.ClientTrustedCAFile) > 0 {
- dAtA[i] = 0xda
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.ClientTrustedCAFile)))
- i += copy(dAtA[i:], m.ClientTrustedCAFile)
- }
- if len(m.ListenPeerURLs) > 0 {
- for _, s := range m.ListenPeerURLs {
- dAtA[i] = 0xfa
- i++
- dAtA[i] = 0x1
- i++
- l = len(s)
- for l >= 1<<7 {
- dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
- l >>= 7
- i++
- }
- dAtA[i] = uint8(l)
- i++
- i += copy(dAtA[i:], s)
- }
- }
- if len(m.AdvertisePeerURLs) > 0 {
- for _, s := range m.AdvertisePeerURLs {
- dAtA[i] = 0x82
- i++
- dAtA[i] = 0x2
- i++
- l = len(s)
- for l >= 1<<7 {
- dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
- l >>= 7
- i++
- }
- dAtA[i] = uint8(l)
- i++
- i += copy(dAtA[i:], s)
- }
- }
- if m.PeerAutoTLS {
- dAtA[i] = 0x88
- i++
- dAtA[i] = 0x2
- i++
- if m.PeerAutoTLS {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.PeerClientCertAuth {
- dAtA[i] = 0x90
- i++
- dAtA[i] = 0x2
- i++
- if m.PeerClientCertAuth {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if len(m.PeerCertFile) > 0 {
- dAtA[i] = 0x9a
- i++
- dAtA[i] = 0x2
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerCertFile)))
- i += copy(dAtA[i:], m.PeerCertFile)
- }
- if len(m.PeerKeyFile) > 0 {
- dAtA[i] = 0xa2
- i++
- dAtA[i] = 0x2
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerKeyFile)))
- i += copy(dAtA[i:], m.PeerKeyFile)
- }
- if len(m.PeerTrustedCAFile) > 0 {
- dAtA[i] = 0xaa
- i++
- dAtA[i] = 0x2
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.PeerTrustedCAFile)))
- i += copy(dAtA[i:], m.PeerTrustedCAFile)
- }
- if len(m.InitialCluster) > 0 {
- dAtA[i] = 0xca
- i++
- dAtA[i] = 0x2
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.InitialCluster)))
- i += copy(dAtA[i:], m.InitialCluster)
- }
- if len(m.InitialClusterState) > 0 {
- dAtA[i] = 0xd2
- i++
- dAtA[i] = 0x2
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.InitialClusterState)))
- i += copy(dAtA[i:], m.InitialClusterState)
- }
- if len(m.InitialClusterToken) > 0 {
- dAtA[i] = 0xda
- i++
- dAtA[i] = 0x2
- i++
- i = encodeVarintRpc(dAtA, i, uint64(len(m.InitialClusterToken)))
- i += copy(dAtA[i:], m.InitialClusterToken)
- }
- if m.SnapshotCount != 0 {
- dAtA[i] = 0x98
- i++
- dAtA[i] = 0x3
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.SnapshotCount))
- }
- if m.QuotaBackendBytes != 0 {
- dAtA[i] = 0xa0
- i++
- dAtA[i] = 0x3
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.QuotaBackendBytes))
- }
- if m.PreVote {
- dAtA[i] = 0xf8
- i++
- dAtA[i] = 0x3
- i++
- if m.PreVote {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.InitialCorruptCheck {
- dAtA[i] = 0x80
- i++
- dAtA[i] = 0x4
- i++
- if m.InitialCorruptCheck {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- return i, nil
- }
- func encodeVarintRpc(dAtA []byte, offset int, v uint64) int {
- for v >= 1<<7 {
- dAtA[offset] = uint8(v&0x7f | 0x80)
- v >>= 7
- offset++
- }
- dAtA[offset] = uint8(v)
- return offset + 1
- }
- func (m *Request) Size() (n int) {
- var l int
- _ = l
- if m.Operation != 0 {
- n += 1 + sovRpc(uint64(m.Operation))
- }
- if m.Member != nil {
- l = m.Member.Size()
- n += 1 + l + sovRpc(uint64(l))
- }
- if m.Tester != nil {
- l = m.Tester.Size()
- n += 1 + l + sovRpc(uint64(l))
- }
- return n
- }
- func (m *SnapshotInfo) Size() (n int) {
- var l int
- _ = l
- l = len(m.MemberName)
- if l > 0 {
- n += 1 + l + sovRpc(uint64(l))
- }
- if len(m.MemberClientURLs) > 0 {
- for _, s := range m.MemberClientURLs {
- l = len(s)
- n += 1 + l + sovRpc(uint64(l))
- }
- }
- l = len(m.SnapshotPath)
- if l > 0 {
- n += 1 + l + sovRpc(uint64(l))
- }
- l = len(m.SnapshotFileSize)
- if l > 0 {
- n += 1 + l + sovRpc(uint64(l))
- }
- l = len(m.SnapshotTotalSize)
- if l > 0 {
- n += 1 + l + sovRpc(uint64(l))
- }
- if m.SnapshotTotalKey != 0 {
- n += 1 + sovRpc(uint64(m.SnapshotTotalKey))
- }
- if m.SnapshotHash != 0 {
- n += 1 + sovRpc(uint64(m.SnapshotHash))
- }
- if m.SnapshotRevision != 0 {
- n += 1 + sovRpc(uint64(m.SnapshotRevision))
- }
- l = len(m.Took)
- if l > 0 {
- n += 1 + l + sovRpc(uint64(l))
- }
- return n
- }
- func (m *Response) Size() (n int) {
- var l int
- _ = l
- if m.Success {
- n += 2
- }
- l = len(m.Status)
- if l > 0 {
- n += 1 + l + sovRpc(uint64(l))
- }
- if m.Member != nil {
- l = m.Member.Size()
- n += 1 + l + sovRpc(uint64(l))
- }
- if m.SnapshotInfo != nil {
- l = m.SnapshotInfo.Size()
- n += 1 + l + sovRpc(uint64(l))
- }
- return n
- }
- func (m *Member) Size() (n int) {
- var l int
- _ = l
- l = len(m.EtcdExecPath)
- if l > 0 {
- n += 1 + l + sovRpc(uint64(l))
- }
- l = len(m.AgentAddr)
- if l > 0 {
- n += 1 + l + sovRpc(uint64(l))
- }
- l = len(m.FailpointHTTPAddr)
- if l > 0 {
- n += 1 + l + sovRpc(uint64(l))
- }
- l = len(m.BaseDir)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.EtcdLogPath)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- if m.EtcdClientProxy {
- n += 3
- }
- if m.EtcdPeerProxy {
- n += 3
- }
- l = len(m.EtcdClientEndpoint)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- if m.Etcd != nil {
- l = m.Etcd.Size()
- n += 2 + l + sovRpc(uint64(l))
- }
- if m.EtcdOnSnapshotRestore != nil {
- l = m.EtcdOnSnapshotRestore.Size()
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.ClientCertData)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.ClientCertPath)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.ClientKeyData)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.ClientKeyPath)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.ClientTrustedCAData)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.ClientTrustedCAPath)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.PeerCertData)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.PeerCertPath)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.PeerKeyData)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.PeerKeyPath)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.PeerTrustedCAData)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.PeerTrustedCAPath)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.SnapshotPath)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- if m.SnapshotInfo != nil {
- l = m.SnapshotInfo.Size()
- n += 2 + l + sovRpc(uint64(l))
- }
- return n
- }
- func (m *Tester) Size() (n int) {
- var l int
- _ = l
- l = len(m.DataDir)
- if l > 0 {
- n += 1 + l + sovRpc(uint64(l))
- }
- l = len(m.Network)
- if l > 0 {
- n += 1 + l + sovRpc(uint64(l))
- }
- l = len(m.Addr)
- if l > 0 {
- n += 1 + l + sovRpc(uint64(l))
- }
- if m.DelayLatencyMs != 0 {
- n += 1 + sovRpc(uint64(m.DelayLatencyMs))
- }
- if m.DelayLatencyMsRv != 0 {
- n += 1 + sovRpc(uint64(m.DelayLatencyMsRv))
- }
- if m.UpdatedDelayLatencyMs != 0 {
- n += 1 + sovRpc(uint64(m.UpdatedDelayLatencyMs))
- }
- if m.RoundLimit != 0 {
- n += 2 + sovRpc(uint64(m.RoundLimit))
- }
- if m.ExitOnCaseFail {
- n += 3
- }
- if m.EnablePprof {
- n += 3
- }
- if m.CaseDelayMs != 0 {
- n += 2 + sovRpc(uint64(m.CaseDelayMs))
- }
- if m.CaseShuffle {
- n += 3
- }
- if len(m.Cases) > 0 {
- for _, s := range m.Cases {
- l = len(s)
- n += 2 + l + sovRpc(uint64(l))
- }
- }
- if len(m.FailpointCommands) > 0 {
- for _, s := range m.FailpointCommands {
- l = len(s)
- n += 2 + l + sovRpc(uint64(l))
- }
- }
- l = len(m.RunnerExecPath)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.ExternalExecPath)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- if len(m.Stressers) > 0 {
- for _, s := range m.Stressers {
- l = len(s)
- n += 2 + l + sovRpc(uint64(l))
- }
- }
- if len(m.Checkers) > 0 {
- for _, s := range m.Checkers {
- l = len(s)
- n += 2 + l + sovRpc(uint64(l))
- }
- }
- if m.StressKeySize != 0 {
- n += 2 + sovRpc(uint64(m.StressKeySize))
- }
- if m.StressKeySizeLarge != 0 {
- n += 2 + sovRpc(uint64(m.StressKeySizeLarge))
- }
- if m.StressKeySuffixRange != 0 {
- n += 2 + sovRpc(uint64(m.StressKeySuffixRange))
- }
- if m.StressKeySuffixRangeTxn != 0 {
- n += 2 + sovRpc(uint64(m.StressKeySuffixRangeTxn))
- }
- if m.StressKeyTxnOps != 0 {
- n += 2 + sovRpc(uint64(m.StressKeyTxnOps))
- }
- if m.StressClients != 0 {
- n += 2 + sovRpc(uint64(m.StressClients))
- }
- if m.StressQPS != 0 {
- n += 2 + sovRpc(uint64(m.StressQPS))
- }
- return n
- }
- func (m *Etcd) Size() (n int) {
- var l int
- _ = l
- l = len(m.Name)
- if l > 0 {
- n += 1 + l + sovRpc(uint64(l))
- }
- l = len(m.DataDir)
- if l > 0 {
- n += 1 + l + sovRpc(uint64(l))
- }
- l = len(m.WALDir)
- if l > 0 {
- n += 1 + l + sovRpc(uint64(l))
- }
- if m.HeartbeatIntervalMs != 0 {
- n += 1 + sovRpc(uint64(m.HeartbeatIntervalMs))
- }
- if m.ElectionTimeoutMs != 0 {
- n += 1 + sovRpc(uint64(m.ElectionTimeoutMs))
- }
- if len(m.ListenClientURLs) > 0 {
- for _, s := range m.ListenClientURLs {
- l = len(s)
- n += 2 + l + sovRpc(uint64(l))
- }
- }
- if len(m.AdvertiseClientURLs) > 0 {
- for _, s := range m.AdvertiseClientURLs {
- l = len(s)
- n += 2 + l + sovRpc(uint64(l))
- }
- }
- if m.ClientAutoTLS {
- n += 3
- }
- if m.ClientCertAuth {
- n += 3
- }
- l = len(m.ClientCertFile)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.ClientKeyFile)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.ClientTrustedCAFile)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- if len(m.ListenPeerURLs) > 0 {
- for _, s := range m.ListenPeerURLs {
- l = len(s)
- n += 2 + l + sovRpc(uint64(l))
- }
- }
- if len(m.AdvertisePeerURLs) > 0 {
- for _, s := range m.AdvertisePeerURLs {
- l = len(s)
- n += 2 + l + sovRpc(uint64(l))
- }
- }
- if m.PeerAutoTLS {
- n += 3
- }
- if m.PeerClientCertAuth {
- n += 3
- }
- l = len(m.PeerCertFile)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.PeerKeyFile)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.PeerTrustedCAFile)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.InitialCluster)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.InitialClusterState)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- l = len(m.InitialClusterToken)
- if l > 0 {
- n += 2 + l + sovRpc(uint64(l))
- }
- if m.SnapshotCount != 0 {
- n += 2 + sovRpc(uint64(m.SnapshotCount))
- }
- if m.QuotaBackendBytes != 0 {
- n += 2 + sovRpc(uint64(m.QuotaBackendBytes))
- }
- if m.PreVote {
- n += 3
- }
- if m.InitialCorruptCheck {
- n += 3
- }
- return n
- }
- func sovRpc(x uint64) (n int) {
- for {
- n++
- x >>= 7
- if x == 0 {
- break
- }
- }
- return n
- }
- func sozRpc(x uint64) (n int) {
- return sovRpc(uint64((x << 1) ^ uint64((int64(x) >> 63))))
- }
- func (m *Request) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Request: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Request: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Operation", wireType)
- }
- m.Operation = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Operation |= (Operation(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Member", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Member == nil {
- m.Member = &Member{}
- }
- if err := m.Member.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Tester", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Tester == nil {
- m.Tester = &Tester{}
- }
- if err := m.Tester.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipRpc(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthRpc
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *SnapshotInfo) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: SnapshotInfo: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: SnapshotInfo: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MemberName", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.MemberName = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MemberClientURLs", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.MemberClientURLs = append(m.MemberClientURLs, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SnapshotPath", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.SnapshotPath = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SnapshotFileSize", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.SnapshotFileSize = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SnapshotTotalSize", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.SnapshotTotalSize = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field SnapshotTotalKey", wireType)
- }
- m.SnapshotTotalKey = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.SnapshotTotalKey |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 7:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field SnapshotHash", wireType)
- }
- m.SnapshotHash = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.SnapshotHash |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 8:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field SnapshotRevision", wireType)
- }
- m.SnapshotRevision = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.SnapshotRevision |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 9:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Took", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Took = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipRpc(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthRpc
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *Response) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Response: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Response: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Success = bool(v != 0)
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Status = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Member", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Member == nil {
- m.Member = &Member{}
- }
- if err := m.Member.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SnapshotInfo", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.SnapshotInfo == nil {
- m.SnapshotInfo = &SnapshotInfo{}
- }
- if err := m.SnapshotInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipRpc(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthRpc
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *Member) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Member: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Member: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field EtcdExecPath", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.EtcdExecPath = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 11:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field AgentAddr", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.AgentAddr = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 12:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FailpointHTTPAddr", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.FailpointHTTPAddr = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 101:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BaseDir", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.BaseDir = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 102:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field EtcdLogPath", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.EtcdLogPath = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 201:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field EtcdClientProxy", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.EtcdClientProxy = bool(v != 0)
- case 202:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field EtcdPeerProxy", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.EtcdPeerProxy = bool(v != 0)
- case 301:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field EtcdClientEndpoint", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.EtcdClientEndpoint = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 302:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Etcd", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Etcd == nil {
- m.Etcd = &Etcd{}
- }
- if err := m.Etcd.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 303:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field EtcdOnSnapshotRestore", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.EtcdOnSnapshotRestore == nil {
- m.EtcdOnSnapshotRestore = &Etcd{}
- }
- if err := m.EtcdOnSnapshotRestore.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 401:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ClientCertData", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ClientCertData = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 402:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ClientCertPath", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ClientCertPath = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 403:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ClientKeyData", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ClientKeyData = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 404:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ClientKeyPath", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ClientKeyPath = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 405:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ClientTrustedCAData", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ClientTrustedCAData = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 406:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ClientTrustedCAPath", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ClientTrustedCAPath = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 501:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PeerCertData", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.PeerCertData = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 502:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PeerCertPath", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.PeerCertPath = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 503:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PeerKeyData", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.PeerKeyData = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 504:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PeerKeyPath", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.PeerKeyPath = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 505:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PeerTrustedCAData", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.PeerTrustedCAData = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 506:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PeerTrustedCAPath", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.PeerTrustedCAPath = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 601:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SnapshotPath", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.SnapshotPath = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 602:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SnapshotInfo", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.SnapshotInfo == nil {
- m.SnapshotInfo = &SnapshotInfo{}
- }
- if err := m.SnapshotInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipRpc(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthRpc
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *Tester) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Tester: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Tester: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DataDir", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.DataDir = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Network", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Network = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Addr", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Addr = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 11:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field DelayLatencyMs", wireType)
- }
- m.DelayLatencyMs = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.DelayLatencyMs |= (uint32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 12:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field DelayLatencyMsRv", wireType)
- }
- m.DelayLatencyMsRv = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.DelayLatencyMsRv |= (uint32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 13:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field UpdatedDelayLatencyMs", wireType)
- }
- m.UpdatedDelayLatencyMs = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.UpdatedDelayLatencyMs |= (uint32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 21:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field RoundLimit", wireType)
- }
- m.RoundLimit = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.RoundLimit |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 22:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ExitOnCaseFail", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.ExitOnCaseFail = bool(v != 0)
- case 23:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field EnablePprof", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.EnablePprof = bool(v != 0)
- case 31:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field CaseDelayMs", wireType)
- }
- m.CaseDelayMs = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.CaseDelayMs |= (uint32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 32:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field CaseShuffle", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.CaseShuffle = bool(v != 0)
- case 33:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Cases", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Cases = append(m.Cases, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- case 34:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FailpointCommands", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.FailpointCommands = append(m.FailpointCommands, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- case 41:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RunnerExecPath", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.RunnerExecPath = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 42:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ExternalExecPath", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ExternalExecPath = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 101:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Stressers", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Stressers = append(m.Stressers, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- case 102:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Checkers", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Checkers = append(m.Checkers, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- case 201:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field StressKeySize", wireType)
- }
- m.StressKeySize = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.StressKeySize |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 202:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field StressKeySizeLarge", wireType)
- }
- m.StressKeySizeLarge = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.StressKeySizeLarge |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 203:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field StressKeySuffixRange", wireType)
- }
- m.StressKeySuffixRange = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.StressKeySuffixRange |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 204:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field StressKeySuffixRangeTxn", wireType)
- }
- m.StressKeySuffixRangeTxn = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.StressKeySuffixRangeTxn |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 205:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field StressKeyTxnOps", wireType)
- }
- m.StressKeyTxnOps = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.StressKeyTxnOps |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 301:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field StressClients", wireType)
- }
- m.StressClients = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.StressClients |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 302:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field StressQPS", wireType)
- }
- m.StressQPS = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.StressQPS |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipRpc(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthRpc
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *Etcd) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Etcd: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Etcd: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Name = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DataDir", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.DataDir = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field WALDir", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.WALDir = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 11:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field HeartbeatIntervalMs", wireType)
- }
- m.HeartbeatIntervalMs = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.HeartbeatIntervalMs |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 12:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ElectionTimeoutMs", wireType)
- }
- m.ElectionTimeoutMs = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.ElectionTimeoutMs |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 21:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ListenClientURLs", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ListenClientURLs = append(m.ListenClientURLs, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- case 22:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field AdvertiseClientURLs", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.AdvertiseClientURLs = append(m.AdvertiseClientURLs, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- case 23:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ClientAutoTLS", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.ClientAutoTLS = bool(v != 0)
- case 24:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ClientCertAuth", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.ClientCertAuth = bool(v != 0)
- case 25:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ClientCertFile", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ClientCertFile = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 26:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ClientKeyFile", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ClientKeyFile = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 27:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ClientTrustedCAFile", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ClientTrustedCAFile = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 31:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ListenPeerURLs", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ListenPeerURLs = append(m.ListenPeerURLs, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- case 32:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field AdvertisePeerURLs", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.AdvertisePeerURLs = append(m.AdvertisePeerURLs, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- case 33:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field PeerAutoTLS", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.PeerAutoTLS = bool(v != 0)
- case 34:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field PeerClientCertAuth", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.PeerClientCertAuth = bool(v != 0)
- case 35:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PeerCertFile", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.PeerCertFile = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 36:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PeerKeyFile", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.PeerKeyFile = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 37:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PeerTrustedCAFile", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.PeerTrustedCAFile = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 41:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field InitialCluster", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.InitialCluster = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 42:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field InitialClusterState", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.InitialClusterState = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 43:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field InitialClusterToken", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthRpc
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.InitialClusterToken = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 51:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field SnapshotCount", wireType)
- }
- m.SnapshotCount = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.SnapshotCount |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 52:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field QuotaBackendBytes", wireType)
- }
- m.QuotaBackendBytes = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.QuotaBackendBytes |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 63:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field PreVote", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.PreVote = bool(v != 0)
- case 64:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field InitialCorruptCheck", wireType)
- }
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.InitialCorruptCheck = bool(v != 0)
- default:
- iNdEx = preIndex
- skippy, err := skipRpc(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthRpc
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func skipRpc(dAtA []byte) (n int, err error) {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- wireType := int(wire & 0x7)
- switch wireType {
- case 0:
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- iNdEx++
- if dAtA[iNdEx-1] < 0x80 {
- break
- }
- }
- return iNdEx, nil
- case 1:
- iNdEx += 8
- return iNdEx, nil
- case 2:
- var length int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- length |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- iNdEx += length
- if length < 0 {
- return 0, ErrInvalidLengthRpc
- }
- return iNdEx, nil
- case 3:
- for {
- var innerWire uint64
- var start int = iNdEx
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- innerWire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- innerWireType := int(innerWire & 0x7)
- if innerWireType == 4 {
- break
- }
- next, err := skipRpc(dAtA[start:])
- if err != nil {
- return 0, err
- }
- iNdEx = start + next
- }
- return iNdEx, nil
- case 4:
- return iNdEx, nil
- case 5:
- iNdEx += 4
- return iNdEx, nil
- default:
- return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
- }
- }
- panic("unreachable")
- }
- var (
- ErrInvalidLengthRpc = fmt.Errorf("proto: negative length found during unmarshaling")
- ErrIntOverflowRpc = fmt.Errorf("proto: integer overflow")
- )
- func init() { proto.RegisterFile("rpcpb/rpc.proto", fileDescriptorRpc) }
- var fileDescriptorRpc = []byte{
- // 2808 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x59, 0xdb, 0x73, 0xdb, 0xc6,
- 0xf5, 0x16, 0x44, 0x5d, 0x57, 0x37, 0x68, 0x65, 0xd9, 0xf0, 0x4d, 0x90, 0xe1, 0x38, 0x3f, 0x59,
- 0x09, 0xec, 0xfc, 0xec, 0x4c, 0x2e, 0x4e, 0x13, 0x07, 0xa4, 0x20, 0x8b, 0x15, 0x44, 0xd2, 0x4b,
- 0xc8, 0x76, 0x9e, 0x38, 0x10, 0xb9, 0x92, 0x30, 0xa6, 0x00, 0x06, 0x58, 0x2a, 0x52, 0xfe, 0x81,
- 0xbe, 0xf6, 0x3e, 0xed, 0x4c, 0x9f, 0xfa, 0xdc, 0xb4, 0xff, 0x86, 0x73, 0x6b, 0xd3, 0xf6, 0xa9,
- 0xed, 0x0c, 0xa7, 0x4d, 0x5f, 0xfa, 0xd4, 0x07, 0x4e, 0x6f, 0xe9, 0x53, 0x67, 0x77, 0x01, 0x71,
- 0x01, 0x90, 0x92, 0x9e, 0xa4, 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