| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321 |
- // 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
- 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
- // 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 = 30
- // 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 = 31
- // 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: "SIGQUIT_ETCD_AND_ARCHIVE_DATA",
- 31: "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,
- "SIGQUIT_ETCD_AND_ARCHIVE_DATA": 30,
- "SIGQUIT_ETCD_AND_REMOVE_DATA_AND_STOP_AGENT": 31,
- "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} }
- // FailureCase defines various system faults in distributed systems,
- // in order to verify correct behavior of etcd servers and clients.
- type FailureCase 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 "failure-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).
- FailureCase_SIGTERM_ONE_FOLLOWER FailureCase = 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.
- FailureCase_SIGTERM_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT FailureCase = 1
- // SIGTERM_LEADER stops the active leader node but does not delete its
- // data directories on disk for next restart. Then it waits
- // "failure-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.
- FailureCase_SIGTERM_LEADER FailureCase = 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.
- FailureCase_SIGTERM_LEADER_UNTIL_TRIGGER_SNAPSHOT FailureCase = 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 "failure-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.
- FailureCase_SIGTERM_QUORUM FailureCase = 4
- // SIGTERM_ALL stops the whole cluster but does not delete data directories
- // on disk for next restart. And it waits "failure-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.
- FailureCase_SIGTERM_ALL FailureCase = 5
- // 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 "failure-delay-ms" until recovery.
- // The expected behavior is that once dropping operation is undone,
- // each member must be able to process client requests.
- FailureCase_BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER FailureCase = 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.
- FailureCase_BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT FailureCase = 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
- // "failure-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.
- FailureCase_BLACKHOLE_PEER_PORT_TX_RX_LEADER FailureCase = 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.
- FailureCase_BLACKHOLE_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT FailureCase = 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 "failure-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.
- FailureCase_BLACKHOLE_PEER_PORT_TX_RX_QUORUM FailureCase = 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 "failure-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.
- FailureCase_BLACKHOLE_PEER_PORT_TX_RX_ALL FailureCase = 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 "failure-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.
- FailureCase_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER FailureCase = 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 "failure-delay-ms" until recovery.
- // The expected behavior is that once packet delay operation is undone,
- // each member must be able to process client requests.
- FailureCase_RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER FailureCase = 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.
- FailureCase_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT FailureCase = 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.
- FailureCase_RANDOM_DELAY_PEER_PORT_TX_RX_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT FailureCase = 203
- // DELAY_PEER_PORT_TX_RX_LEADER delays outgoing/incoming packets from/to
- // the peer port on the active leader. And waits for "failure-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.
- FailureCase_DELAY_PEER_PORT_TX_RX_LEADER FailureCase = 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 "failure-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.
- FailureCase_RANDOM_DELAY_PEER_PORT_TX_RX_LEADER FailureCase = 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.
- FailureCase_DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT FailureCase = 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.
- FailureCase_RANDOM_DELAY_PEER_PORT_TX_RX_LEADER_UNTIL_TRIGGER_SNAPSHOT FailureCase = 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
- // "failure-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.
- FailureCase_DELAY_PEER_PORT_TX_RX_QUORUM FailureCase = 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 "failure-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.
- FailureCase_RANDOM_DELAY_PEER_PORT_TX_RX_QUORUM FailureCase = 209
- // DELAY_PEER_PORT_TX_RX_ALL delays outgoing/incoming packets from/to the
- // peer ports on all nodes. And it waits for "failure-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.
- FailureCase_DELAY_PEER_PORT_TX_RX_ALL FailureCase = 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 "failure-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.
- FailureCase_RANDOM_DELAY_PEER_PORT_TX_RX_ALL FailureCase = 211
- // NO_FAIL_WITH_STRESS runs no-op failure injection that does not do
- // anything against cluster for "failure-delay-ms" duration, while
- // stressers are still sending requests.
- FailureCase_NO_FAIL_WITH_STRESS FailureCase = 300
- // NO_FAIL_WITH_NO_STRESS_FOR_LIVENESS runs no-op failure injection
- // that does not do anything against cluster for "failure-delay-ms"
- // duration, while all stressers are stopped.
- FailureCase_NO_FAIL_WITH_NO_STRESS_FOR_LIVENESS FailureCase = 301
- // FAILPOINTS injects failpoints to etcd server runtime, triggering panics
- // in critical code paths.
- FailureCase_FAILPOINTS FailureCase = 400
- // EXTERNAL runs external failure injection scripts.
- FailureCase_EXTERNAL FailureCase = 500
- )
- var FailureCase_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",
- 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 FailureCase_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,
- "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 FailureCase) String() string {
- return proto.EnumName(FailureCase_name, int32(x))
- }
- func (FailureCase) EnumDescriptor() ([]byte, []int) { return fileDescriptorRpc, []int{1} }
- type StressType int32
- const (
- StressType_KV StressType = 0
- StressType_LEASE StressType = 1
- StressType_ELECTION_RUNNER StressType = 2
- StressType_WATCH_RUNNER StressType = 3
- StressType_LOCK_RACER_RUNNER StressType = 4
- StressType_LEASE_RUNNER StressType = 5
- )
- var StressType_name = map[int32]string{
- 0: "KV",
- 1: "LEASE",
- 2: "ELECTION_RUNNER",
- 3: "WATCH_RUNNER",
- 4: "LOCK_RACER_RUNNER",
- 5: "LEASE_RUNNER",
- }
- var StressType_value = map[string]int32{
- "KV": 0,
- "LEASE": 1,
- "ELECTION_RUNNER": 2,
- "WATCH_RUNNER": 3,
- "LOCK_RACER_RUNNER": 4,
- "LEASE_RUNNER": 5,
- }
- func (x StressType) String() string {
- return proto.EnumName(StressType_name, int32(x))
- }
- func (StressType) EnumDescriptor() ([]byte, []int) { return fileDescriptorRpc, []int{2} }
- 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} }
- 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"`
- }
- 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{1} }
- 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"`
- // 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"`
- }
- 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{2} }
- 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"`
- // ExitOnFailure is true, then exit tester on first failure.
- ExitOnFailure bool `protobuf:"varint,22,opt,name=ExitOnFailure,proto3" json:"ExitOnFailure,omitempty" yaml:"exit-on-failure"`
- // ConsistencyCheck is true to check consistency (revision, hash).
- ConsistencyCheck bool `protobuf:"varint,23,opt,name=ConsistencyCheck,proto3" json:"ConsistencyCheck,omitempty" yaml:"consistency-check"`
- // EnablePprof is true to enable profiler.
- EnablePprof bool `protobuf:"varint,24,opt,name=EnablePprof,proto3" json:"EnablePprof,omitempty" yaml:"enable-pprof"`
- // FailureDelayMs is the delay duration after failure is injected.
- // Useful when triggering snapshot or no-op failure cases.
- FailureDelayMs uint32 `protobuf:"varint,31,opt,name=FailureDelayMs,proto3" json:"FailureDelayMs,omitempty" yaml:"failure-delay-ms"`
- // FailureShuffle is true to randomize failure injecting order.
- FailureShuffle bool `protobuf:"varint,32,opt,name=FailureShuffle,proto3" json:"FailureShuffle,omitempty" yaml:"failure-shuffle"`
- // FailureCases is the selected test cases to schedule.
- // If empty, run all failure cases.
- FailureCases []string `protobuf:"bytes,33,rep,name=FailureCases" json:"FailureCases,omitempty" yaml:"failure-cases"`
- // Failpoinommands 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"`
- // StressTypes is the list of stresser names:
- // keys, lease, nop, election-runner, watch-runner, lock-racer-runner, lease-runner.
- StressTypes []string `protobuf:"bytes,101,rep,name=StressTypes" json:"StressTypes,omitempty" yaml:"stress-types"`
- // StressKeySize is the size of each small key written into etcd.
- StressKeySize int32 `protobuf:"varint,102,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,103,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,104,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,105,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,106,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,201,opt,name=StressClients,proto3" json:"StressClients,omitempty" yaml:"stress-clients"`
- // StressQPS is the maximum number of stresser requests per second.
- StressQPS int32 `protobuf:"varint,202,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{3} }
- 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{4} }
- func init() {
- proto.RegisterType((*Request)(nil), "rpcpb.Request")
- 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.FailureCase", FailureCase_name, FailureCase_value)
- proto.RegisterEnum("rpcpb.StressType", StressType_name, StressType_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 *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
- }
- 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()))
- n4, err := m.Etcd.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n4
- }
- 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)
- }
- 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.ExitOnFailure {
- dAtA[i] = 0xb0
- i++
- dAtA[i] = 0x1
- i++
- if m.ExitOnFailure {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.ConsistencyCheck {
- dAtA[i] = 0xb8
- i++
- dAtA[i] = 0x1
- i++
- if m.ConsistencyCheck {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.EnablePprof {
- dAtA[i] = 0xc0
- i++
- dAtA[i] = 0x1
- i++
- if m.EnablePprof {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if m.FailureDelayMs != 0 {
- dAtA[i] = 0xf8
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.FailureDelayMs))
- }
- if m.FailureShuffle {
- dAtA[i] = 0x80
- i++
- dAtA[i] = 0x2
- i++
- if m.FailureShuffle {
- dAtA[i] = 1
- } else {
- dAtA[i] = 0
- }
- i++
- }
- if len(m.FailureCases) > 0 {
- for _, s := range m.FailureCases {
- 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.StressTypes) > 0 {
- for _, s := range m.StressTypes {
- 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 m.StressKeySize != 0 {
- dAtA[i] = 0xb0
- i++
- dAtA[i] = 0x6
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.StressKeySize))
- }
- if m.StressKeySizeLarge != 0 {
- dAtA[i] = 0xb8
- i++
- dAtA[i] = 0x6
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.StressKeySizeLarge))
- }
- if m.StressKeySuffixRange != 0 {
- dAtA[i] = 0xc0
- i++
- dAtA[i] = 0x6
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.StressKeySuffixRange))
- }
- if m.StressKeySuffixRangeTxn != 0 {
- dAtA[i] = 0xc8
- i++
- dAtA[i] = 0x6
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.StressKeySuffixRangeTxn))
- }
- if m.StressKeyTxnOps != 0 {
- dAtA[i] = 0xd0
- i++
- dAtA[i] = 0x6
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.StressKeyTxnOps))
- }
- if m.StressClients != 0 {
- dAtA[i] = 0xc8
- i++
- dAtA[i] = 0xc
- i++
- i = encodeVarintRpc(dAtA, i, uint64(m.StressClients))
- }
- if m.StressQPS != 0 {
- dAtA[i] = 0xd0
- i++
- dAtA[i] = 0xc
- 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 *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))
- }
- 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))
- }
- 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))
- }
- 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.ExitOnFailure {
- n += 3
- }
- if m.ConsistencyCheck {
- n += 3
- }
- if m.EnablePprof {
- n += 3
- }
- if m.FailureDelayMs != 0 {
- n += 2 + sovRpc(uint64(m.FailureDelayMs))
- }
- if m.FailureShuffle {
- n += 3
- }
- if len(m.FailureCases) > 0 {
- for _, s := range m.FailureCases {
- 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.StressTypes) > 0 {
- for _, s := range m.StressTypes {
- 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 *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
- 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 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
- 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 ExitOnFailure", 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.ExitOnFailure = bool(v != 0)
- case 23:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ConsistencyCheck", 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.ConsistencyCheck = bool(v != 0)
- case 24:
- 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 FailureDelayMs", wireType)
- }
- m.FailureDelayMs = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowRpc
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.FailureDelayMs |= (uint32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 32:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field FailureShuffle", 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.FailureShuffle = bool(v != 0)
- case 33:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FailureCases", 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.FailureCases = append(m.FailureCases, 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 StressTypes", 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.StressTypes = append(m.StressTypes, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- case 102:
- 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 103:
- 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 104:
- 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 105:
- 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 106:
- 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 201:
- 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 202:
- 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{
- // 2476 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x59, 0x5b, 0x77, 0xdb, 0xc6,
- 0x11, 0x16, 0x44, 0xcb, 0xb6, 0x56, 0x37, 0x6a, 0x75, 0x31, 0x2c, 0xdb, 0x82, 0x0c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