text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
NextReader returns the next value for this iterator as an io.SectionReader. Returns EOF when there are no values left. Not threadsafe. | [
-0.14394694566726685,
-0.2682078778743744,
0.4181913435459137,
0.05290991812944412,
-0.6309162974357605,
0.16965018212795258,
-0.6508451104164124,
-1.1425089836120605,
-0.6093086004257202,
-0.09776727855205536,
1.6181055307388306,
-0.5096673965454102,
0.00394770922139287,
1.038215398788452... |
next iterates through the hash table until it finds the next match. If no matches are found, returns EOF. When a match is found dpos and dlen can be used to retreive the data. | [
0.49856171011924744,
1.0055968761444092,
0.627693772315979,
0.1077665165066719,
-1.1100468635559082,
-0.25492823123931885,
-0.6836956143379211,
-0.42019224166870117,
-0.9567093253135681,
-0.17816554009914398,
0.5782188177108765,
-0.37651127576828003,
0.3044750988483429,
-0.5748926997184753... |
ForEachReader calls onRecordFn for every keyval pair in the database. If onRecordFn returns an error, iteration will stop and the error will be returned. Threadsafe. | [
-0.22922398149967194,
0.1272473931312561,
0.3234677314758301,
0.40729275345802307,
-0.455613374710083,
-1.2641113996505737,
-0.24072133004665375,
-0.5843801498413086,
-1.3106274604797363,
-0.2628221809864044,
0.5444092154502869,
-0.20326268672943115,
-0.19595660269260406,
1.307606697082519... |
ForEachBytes calls onRecordFn for every keyval pair in the database. The byte slices are only valid for the length of a call to onRecordFn. If onRecordFn returns an error, iteration will stop and the error will be returned. Threadsafe. | [
-0.1748531460762024,
0.9682182669639587,
0.40124189853668213,
0.48249319195747375,
-0.17663052678108215,
-1.0832451581954956,
-0.05320877954363823,
-0.5366533398628235,
-0.9391454458236694,
-0.19415661692619324,
-0.23544366657733917,
0.2590171992778778,
-0.36312079429626465,
1.359518527984... |
match returns true if the data at file position pos matches key. | [
0.2075742781162262,
-0.5401979684829712,
0.271136611700058,
-0.15069833397865295,
-0.6042953729629517,
0.19195912778377533,
-1.0792821645736694,
0.5369434356689453,
-1.4349782466888428,
-0.13382339477539062,
-0.08590156584978104,
-0.6089943051338196,
-0.5357756018638611,
-1.057532429695129... |
configureTLS is a lock free version of ConfigureTLS that can be used in ReadEnvironment where the lock is already hold | [
-0.18343549966812134,
0.05967143177986145,
0.48929181694984436,
-0.7568116188049316,
-1.2693679332733154,
-0.004719778895378113,
-0.28411293029785156,
-0.46895861625671387,
0.005137970671057701,
0.2628466486930847,
-0.2826794683933258,
-0.9767338633537292,
0.015237443149089813,
-0.08057008... |
ConfigureTLS takes a set of TLS configurations and applies those to the HTTP client. | [
0.08648725599050522,
0.38291969895362854,
0.08166582137346268,
-0.09340140968561172,
-0.5499147772789001,
0.14861522614955902,
-0.5994873046875,
0.03968837112188339,
-0.05743987485766411,
0.6769933700561523,
-0.20249222218990326,
-1.2423673868179321,
0.5422558188438416,
0.21309128403663635... |
ReadEnvironment reads configuration information from the environment. If there is an error, no configuration value is updated. | [
-0.9201371073722839,
-0.1772191971540451,
0.43810200691223145,
0.0011083086719736457,
-0.13522988557815552,
0.2767290472984314,
0.4998409152030945,
-0.5509539842605591,
-1.1783297061920166,
0.6299893856048584,
0.7183725237846375,
-0.2918457090854645,
-0.17530557513237,
-0.01234858669340610... |
ParseAddress transforms the provided address into a url.URL and handles the case of Unix domain sockets by setting the DialContext in the configuration's HttpClient.Transport. This function must be called with c.modifyLock held for write access. | [
-0.4422736167907715,
0.6373263001441956,
0.5306457281112671,
-0.021279675886034966,
0.30288201570510864,
-0.21228371560573578,
0.7678695321083069,
0.16416746377944946,
1.0239901542663574,
-1.018538475036621,
0.4256591200828552,
1.212537169456482,
0.039469171315431595,
-0.1819239854812622,
... |
NewClient returns a new client for the given configuration. If the configuration is nil, Vault will use configuration from DefaultConfig(), which is the recommended starting configuration. If the environment variable `VAULT_TOKEN` is present, the token will be automatically added to the client. Otherwise, you must manu... | [
0.8783969283103943,
-0.33987128734588623,
0.11347874253988266,
0.8492645621299744,
-0.0339890755712986,
0.036844756454229355,
0.050209615379571915,
-0.5234694480895996,
-0.028708387166261673,
0.07225769758224487,
-0.6141409873962402,
0.10827593505382538,
0.02192792110145092,
-0.88192927837... |
SetAddress sets the address of Vault in the client. The format of address should be "://:". Setting this on a client will override the value of VAULT_ADDR environment variable. | [
0.7153891324996948,
-1.0991337299346924,
0.5067782402038574,
0.2562496066093445,
0.12025841325521469,
1.462693691253662,
-0.19093985855579376,
-0.630003035068512,
0.5297563672065735,
0.38096389174461365,
-0.1790258288383484,
1.2319332361221313,
0.42846256494522095,
0.02255338244140148,
-... |
Address returns the Vault URL the client is configured to connect to | [
0.5374715328216553,
-0.06229282543063164,
0.3150883913040161,
0.2592040002346039,
0.38294845819473267,
0.16575077176094055,
-0.48009297251701355,
0.09440869092941284,
0.3032597005367279,
0.2590038478374481,
0.013424213975667953,
0.8554024696350098,
-0.042992886155843735,
-0.535243332386016... |
SetLimiter will set the rate limiter for this client. This method is threadsafe. rateLimit and burst are specified according to | [
-0.013812001794576645,
0.2046489417552948,
0.635565996170044,
0.2675691843032837,
-0.3532596528530121,
0.1381314992904663,
-0.18200519680976868,
-0.8402029871940613,
-0.1327340304851532,
0.35938769578933716,
-0.8397882580757141,
0.8800201416015625,
-1.3191241025924683,
0.2324926257133484,
... |
SetMinRetryWait sets the minimum time to wait before retrying in the case of certain errors. | [
0.6526400446891785,
-0.8833498954772949,
0.3974815011024475,
-0.010379811748862267,
-0.49506545066833496,
0.79228675365448,
-0.7711641788482666,
-0.38125288486480713,
-0.0018732211319729686,
-0.6751287579536438,
-0.6831149458885193,
0.8326205611228943,
-0.23041866719722748,
0.3632985055446... |
SetMaxRetryWait sets the maximum time to wait before retrying in the case of certain errors. | [
0.42229562997817993,
-0.3197944462299347,
0.3036280870437622,
0.6450628042221069,
-0.036451540887355804,
0.7035337090492249,
-1.1387265920639038,
0.7042693495750427,
-0.1692671775817871,
-0.43390074372291565,
-1.0229911804199219,
0.5162702798843384,
0.45601439476013184,
0.4746197462081909,... |
SetMaxRetries sets the number of retries that will be used in the case of certain errors | [
0.3727899193763733,
0.5754522681236267,
0.5338827967643738,
0.2696243226528168,
0.1903110295534134,
0.5531193614006042,
-0.8757134675979614,
0.307249516248703,
0.5658642649650574,
-0.4195593297481537,
-1.0492854118347168,
0.6243369579315186,
0.023087268695235252,
0.15275783836841583,
-0.... |
SetCheckRetry sets the CheckRetry function to be used for future requests. | [
0.5563488006591797,
-0.3658309578895569,
0.47861137986183167,
0.5507566928863525,
0.5875741839408875,
-0.40899917483329773,
0.06384921073913574,
0.03870074823498726,
-0.22044473886489868,
-0.7364049553871155,
-0.5027201771736145,
0.14718034863471985,
-0.09912406653165817,
-0.49383974075317... |
SetClientTimeout sets the client request timeout | [
0.7373604774475098,
-0.5990920066833496,
-0.03933020308613777,
-0.8049978017807007,
0.33689242601394653,
0.42540979385375977,
0.40405750274658203,
-0.21763975918293,
-0.5783864259719849,
0.056373290717601776,
-0.08802124857902527,
0.5001612901687622,
-0.05725035071372986,
-0.36123099923133... |
CurrentWrappingLookupFunc sets a lookup function that returns desired wrap TTLs for a given operation and path. | [
-0.7729731202125549,
-0.4652074873447418,
0.32926884293556213,
-0.2040700912475586,
-0.9303638935089111,
0.038522250950336456,
0.6105718016624451,
0.27098995447158813,
-0.2527170777320862,
1.0093003511428833,
1.1993619203567505,
0.2629055082798004,
2.148115873336792,
-1.6952842473983765,
... |
SetWrappingLookupFunc sets a lookup function that returns desired wrap TTLs for a given operation and path. | [
-0.576519787311554,
-0.07432037591934204,
0.3739749491214752,
-0.32005593180656433,
-0.8615888953208923,
0.0854504406452179,
0.680425763130188,
0.2136136144399643,
-0.10374800115823746,
0.9394935369491577,
0.7558397650718689,
0.22945699095726013,
2.3826184272766113,
-1.5432372093200684,
... |
SetMFACreds sets the MFA credentials supplied either via the environment variable or via the command line. | [
0.4218655526638031,
-0.5535631775856018,
0.4921247363090515,
0.5796211361885071,
0.18921209871768951,
0.5844665765762329,
-0.35455766320228577,
-0.10344968736171722,
-0.4934471845626831,
-0.9413299560546875,
-0.04493885114789009,
0.6705424785614014,
-0.5165087580680847,
1.321378469467163,
... |
SetNamespace sets the namespace supplied either via the environment variable or via the command line. | [
0.1300380527973175,
0.014336355961859226,
0.27193209528923035,
0.8514561057090759,
0.7867621183395386,
-0.015385313890874386,
-0.12596429884433746,
-0.7152005434036255,
0.4728444814682007,
-0.6878759264945984,
0.23632808029651642,
1.0594218969345093,
-0.039731793105602264,
1.96510672569274... |
ClearNamespace removes the namespace header if set. | [
0.3721067011356354,
0.41095635294914246,
0.21750567853450775,
0.9701309204101562,
-0.7168807983398438,
-0.22342142462730408,
-1.316192865371704,
-1.566390037536621,
1.4627841711044312,
-0.033258553594350815,
-0.0015777404187247157,
0.5546966195106506,
-0.2969491481781006,
0.648080348968505... |
Namespace returns the namespace currently set in this client. It will return an empty string if there is no namespace set. | [
0.07629457116127014,
-0.1187254786491394,
0.17483237385749817,
0.330523818731308,
-0.26823070645332336,
-0.33920344710350037,
-0.5720586180686951,
-1.9102411270141602,
0.7855111956596375,
-0.4916740357875824,
0.7159826159477234,
0.8398684859275818,
-0.92696213722229,
0.00023907194554340094... |
WithNamespace makes a shallow copy of Client, modifies it to use the given namespace, and returns it. Passing an empty string will temporarily unset the namespace. | [
0.13391515612602234,
-0.2877436876296997,
0.4008626341819763,
-0.7316960096359253,
-1.294676661491394,
-0.34203046560287476,
-0.824208676815033,
-1.3214994668960571,
2.0075130462646484,
-0.6606040596961975,
-0.11371525377035141,
0.38648903369903564,
-0.8837393522262573,
-0.3729629516601562... |
Token returns the access token being used by this client. It will return the empty string if there is no token set. | [
-0.08845557272434235,
-0.5263264179229736,
0.4293360114097595,
-0.27547892928123474,
-0.17934787273406982,
-0.04847016930580139,
0.38180625438690186,
-0.22477948665618896,
-0.07833833992481232,
-0.9797433614730835,
0.9536916613578796,
1.1606829166412354,
0.23899531364440918,
-0.16394335031... |
SetToken sets the token directly. This won't perform any auth verification, it simply sets the token properly for future requests. | [
-0.7287689447402954,
-0.016939010471105576,
0.12892302870750427,
0.6996701955795288,
0.6909512281417847,
0.2720732092857361,
0.2712624669075012,
0.4172576069831848,
0.3927549123764038,
-1.742322325706482,
-1.456915020942688,
1.5750911235809326,
1.1816602945327759,
0.8169173002243042,
0.5... |
ClearToken deletes the token if it is set or does nothing otherwise. | [
0.11285905539989471,
1.0487134456634521,
0.2870454788208008,
0.5999720096588135,
0.7482143640518188,
-0.3242048919200897,
-0.3176085650920868,
0.08156339079141617,
0.3943069279193878,
-0.3529709577560425,
-0.12119932472705841,
1.4423441886901855,
0.6447470188140869,
0.3649093508720398,
0... |
Headers gets the current set of headers used for requests. This returns a copy; to modify it call AddHeader or SetHeaders. | [
-1.0720429420471191,
-0.9567359685897827,
0.5670543909072876,
0.3918071985244751,
-0.17497476935386658,
-0.21589867770671844,
-0.3444969952106476,
-1.8093458414077759,
0.5409294962882996,
-0.9472818374633789,
0.5525624752044678,
0.23363497853279114,
-1.210840106010437,
-0.755122184753418,
... |
AddHeader allows a single header key/value pair to be added in a racesafe fashion. | [
-0.6856366991996765,
0.7568145394325256,
0.34685254096984863,
0.4593963623046875,
-0.3967020809650421,
0.5425000190734863,
-0.6590604186058044,
-0.8859483599662781,
-0.22795581817626953,
-0.3990402817726135,
0.7869174480438232,
0.21260686218738556,
-1.0473829507827759,
1.0665533542633057,
... |
SetHeaders clears all previous headers and uses only the given ones going forward. | [
-0.4125421345233917,
0.5486401915550232,
0.2268679291009903,
0.6019219756126404,
0.35982534289360046,
-0.56851726770401,
0.2389935553073883,
-0.6682220101356506,
-0.2825297713279724,
-0.04809880256652832,
-0.011050470173358917,
0.3924785554409027,
-0.5320004820823669,
-0.11270230263471603,... |
SetBackoff sets the backoff function to be used for future requests. | [
0.7756267786026001,
0.017543476074934006,
0.3962850272655487,
0.073843814432621,
0.2936880886554718,
0.265982061624527,
0.5190927386283875,
0.5710402727127075,
0.0009438674314878881,
-0.6888393759727478,
-0.7563652396202087,
0.2895228862762451,
0.09011177718639374,
-0.7890846729278564,
0... |
SetCloneHeaders to allow headers to be copied whenever the client is cloned. | [
-0.051275771111249924,
-0.7018134593963623,
0.4975596070289612,
0.35225340723991394,
-0.3826591670513153,
1.0545142889022827,
0.43833550810813904,
-1.4796473979949951,
0.007144316099584103,
0.26150211691856384,
-0.7729818224906921,
0.3269479274749756,
-0.9454931020736694,
-0.65445405244827... |
CloneHeaders gets the configured CloneHeaders value. | [
-0.1607195883989334,
-0.5198101997375488,
0.3825267255306244,
0.7449512481689453,
0.5093111991882324,
0.8065831065177917,
0.15658460557460785,
-1.1246153116226196,
0.4410061538219452,
0.815349280834198,
-0.3682200014591217,
-0.504753589630127,
-0.8109105229377747,
-1.2378625869750977,
0.... |
CloneToken gets the configured CloneToken value. | [
-0.26418253779411316,
-0.15178370475769043,
0.1045067235827446,
1.110529899597168,
0.13515134155750275,
0.7713127136230469,
0.4921480119228363,
0.8059983849525452,
0.3381167948246002,
-0.06294626742601395,
-0.8766982555389404,
1.5268785953521729,
0.19599570333957672,
-0.949451744556427,
... |
SetReadYourWrites to prevent reading stale cluster replication state. | [
-0.21880248188972473,
-0.3568955957889557,
0.15824730694293976,
-0.16293153166770935,
0.3782661557197571,
-0.49944010376930237,
1.1272261142730713,
0.6881023645401001,
0.38825705647468567,
0.10327659547328949,
0.2815721333026886,
-0.4086849093437195,
0.13760100305080414,
-0.817019760608673... |
ReadYourWrites gets the configured value of ReadYourWrites | [
-0.8179777264595032,
0.07580762356519699,
0.30874043703079224,
-0.32786574959754944,
0.6042637228965759,
-0.24406109750270844,
1.0456205606460571,
0.9605621099472046,
0.5815749764442444,
0.18309059739112854,
-0.51946622133255,
-0.5325192809104919,
-0.45238196849823,
-0.3204973638057709,
... |
Clone creates a new client with the same configuration. Note that the same underlying http.Client is used; modifying the client from more than one goroutine at once may not be safe, so modify the client as needed and then clone. The headers are cloned based on the CloneHeaders property of the source config Also, only t... | [
-0.5105183720588684,
-0.8290090560913086,
0.6485456228256226,
0.8719705939292908,
-0.9416593313217163,
0.4516407251358032,
0.1987658590078354,
-1.0364290475845337,
0.2780562937259674,
0.2969018220901489,
-0.8246806263923645,
0.27948346734046936,
-0.4484124779701233,
-0.6191099286079407,
... |
CloneWithHeaders creates a new client similar to Clone, with the difference being that the headers are always cloned | [
0.8479371070861816,
-1.2144750356674194,
0.791136622428894,
0.7492827773094177,
-1.5541911125183105,
0.3627171218395233,
-0.7567391395568848,
-2.3514761924743652,
0.42424046993255615,
-0.18845200538635254,
-0.18352985382080078,
-0.3144455552101135,
-0.6612190008163452,
-1.0711740255355835,... |
clone creates a new client, with the headers being cloned based on the passed in cloneheaders boolean | [
0.42556971311569214,
-0.702455461025238,
0.5906570553779602,
0.7989626526832581,
-0.25804224610328674,
0.9968723654747009,
-0.4213343858718872,
-1.016205906867981,
-0.3215973973274231,
0.40540605783462524,
0.049951232969760895,
-0.4925357699394226,
-1.6352351903915405,
-1.603752851486206,
... |
SetPolicyOverride sets whether requests should be sent with the policy override flag to request overriding softmandatory Sentinel policies (both RGPs and EGPs) | [
0.1548219919204712,
0.3484276533126831,
0.4453835189342499,
0.7593399882316589,
0.47454702854156494,
1.1765811443328857,
-1.0493485927581787,
-0.5605111122131348,
0.5821340680122375,
-0.7628377079963684,
0.2047906368970871,
0.6876182556152344,
-0.17572879791259766,
0.4379620850086212,
-0... |
NewRequest creates a new raw request object to query the Vault server configured for this client. This is an advanced method and generally doesn't need to be called externally. | [
-0.5163089036941528,
0.06009215489029884,
0.501444399356842,
0.17295686900615692,
-0.25093579292297363,
-0.2504872679710388,
-0.420979768037796,
-0.8000859022140503,
0.10117675364017487,
-0.14037486910820007,
0.1854240447282791,
0.6037384867668152,
0.43992918729782104,
0.0510232113301754,
... |
RawRequest performs the raw request given. This request may be against a Vault server not configured with this client. This is an advanced operation that generally won't need to be called externally. Deprecated: RawRequest exists for historical compatibility and should not be used directly. Use client.Logical().ReadRaw... | [
-0.9091824293136597,
0.30508702993392944,
0.884757936000824,
0.5424313545227051,
-0.6890690922737122,
-0.48987799882888794,
-0.39316990971565247,
-0.8157873749732971,
0.29059264063835144,
-0.776694118976593,
0.3155861496925354,
0.40318527817726135,
0.8057427406311035,
-0.5245348811149597,
... |
RawRequestWithContext performs the raw request given. This request may be against a Vault server not configured with this client. This is an advanced operation that generally won't need to be called externally. Deprecated: RawRequestWithContext exists for historical compatibility and should not be used directly. Use cl... | [
-0.7319698929786682,
-0.3383994400501251,
1.0388679504394531,
0.6029218435287476,
-1.0804086923599243,
-0.37903547286987305,
-1.0999692678451538,
-1.6993460655212402,
0.8992342948913574,
-0.16705693304538727,
-0.14245577156543732,
0.02223527617752552,
0.410022109746933,
-0.5120375752449036... |
httpRequestWithContext avoids the use of the goretryable library found in RawRequestWithContext and is useful when making calls where a net/http client is desirable. A single redirect (status code 301, 302, or 307) will be followed but all retry and timeout logic is the responsibility of the caller as is closing the Re... | [
-0.30120766162872314,
0.4185876250267029,
0.9264879822731018,
0.6173643469810486,
-0.9665998816490173,
0.13239715993404388,
-0.5923338532447815,
-1.1944855451583862,
0.8729080557823181,
0.2405148297548294,
0.3533189594745636,
0.5422341227531433,
-0.12307173013687134,
-0.08827798068523407,
... |
WithRequestCallbacks makes a shallow clone of Client, modifies it to use the given callbacks, and returns it. Each of the callbacks will be invoked on every outgoing request. A client may be used to issue requests concurrently; any locking needed by callbacks invoked concurrently is the callback's responsibility. | [
-0.08877313882112503,
-0.15966296195983887,
0.9148268699645996,
0.7105656862258911,
-1.0087608098983765,
-0.23917342722415924,
-0.6699145436286926,
-1.4997934103012085,
0.9747658371925354,
-1.192112922668457,
-0.1896141618490219,
-0.10875146836042404,
-0.5230357646942139,
-0.58383792638778... |
WithResponseCallbacks makes a shallow clone of Client, modifies it to use the given callbacks, and returns it. Each of the callbacks will be invoked on every received response. A client may be used to issue requests concurrently; any locking needed by callbacks invoked concurrently is the callback's responsibility. | [
0.7339128851890564,
-0.7345828413963318,
0.8134074807167053,
0.26259899139404297,
-0.900130569934845,
-0.2333601862192154,
0.2597605884075165,
-1.7158434391021729,
1.5762888193130493,
-1.2160013914108276,
-0.2956254780292511,
-0.9134774804115295,
-0.731245756149292,
-0.9117417931556702,
... |
withConfiguredTimeout wraps the context with a timeout from the client configuration. | [
0.6995553970336914,
-0.21008138358592987,
0.059712886810302734,
0.0318777859210968,
-0.342928022146225,
0.07312098145484924,
0.21426710486412048,
-0.2657753825187683,
0.7233110070228577,
0.8991223573684692,
-0.31801795959472656,
0.0020689305383712053,
0.721234917640686,
-0.5523260831832886... |
RecordState returns a response callback that will record the state returned by Vault in a response header. | [
0.9066047072410583,
-0.5208669900894165,
0.5673874020576477,
-0.04833662509918213,
-0.471355676651001,
-0.5750201344490051,
-0.15408654510974884,
-1.0229277610778809,
1.2996047735214233,
-0.08391185104846954,
-0.33709517121315,
0.0724169909954071,
0.7055158019065857,
-0.8517269492149353,
... |
RequireState returns a request callback that will add a request header to specify the state we require of Vault. This state was obtained from a response header seen previous, probably captured with RecordState. | [
-0.16950556635856628,
-1.0455870628356934,
0.5903186798095703,
-0.15491805970668793,
-0.6709506511688232,
-0.040847089141607285,
-0.3895980715751648,
-1.0110952854156494,
1.227574348449707,
-0.29357635974884033,
-0.15546320378780365,
-0.05523965507745743,
0.46218305826187134,
-0.2650040388... |
compareReplicationStates returns 1 if s1 is newer or identical, 1 if s1 is older, and 0 if neither s1 or s2 is strictly greater. An error is returned if s1 or s2 are invalid or from different clusters. | [
-0.8100760579109192,
-0.28065839409828186,
0.6750181913375854,
0.04287033900618553,
-0.6723322868347168,
-0.31542280316352844,
0.4276826083660126,
0.22807037830352783,
0.6597527861595154,
0.2681262791156769,
-0.37281128764152527,
0.41651466488838196,
0.10201669484376907,
-1.159658432006836... |
MergeReplicationStates returns a merged array of replication states by iterating through all states in `old`. An iterated state is merged to the result before `new` based on the result of compareReplicationStates | [
-0.6658971309661865,
-0.2946876585483551,
0.5748119354248047,
-0.12142425030469894,
-0.8883481025695801,
-0.6044663786888123,
-0.29023775458335876,
-0.062687449157238,
0.8758499026298523,
0.24847030639648438,
-0.45006439089775085,
-0.04815768450498581,
-0.08839842677116394,
-0.105834864079... |
ForwardInconsistent returns a request callback that will add a request header which says: if the state required isn't present on the node receiving this request, forward it to the active node. This should be used in conjunction with RequireState. | [
-0.5252683162689209,
-0.6917958855628967,
0.4978644549846649,
-0.7895957827568054,
0.2261672168970108,
0.6337772607803345,
0.32696446776390076,
-0.32529860734939575,
-0.0028545765671879053,
-0.2075529545545578,
0.5440152883529663,
-0.43228965997695923,
0.5089437961578369,
-0.52139496803283... |
ForwardAlways returns a request callback which adds a header telling any performance standbys handling the request to forward it to the active node. This feature must be enabled in Vault's configuration. | [
0.2934785485267639,
0.2750034034252167,
0.3993466794490814,
0.3722291588783264,
0.038419995456933975,
0.08315721899271011,
0.00422663101926446,
-1.0307682752609253,
-0.3348076045513153,
-0.7863478660583496,
0.49274301528930664,
-0.1504199504852295,
0.2784841060638428,
-0.267058402299881,
... |
DefaultRetryPolicy is the default retry policy used by new Client objects. It is the same as retryablehttp.DefaultRetryPolicy except that it also retries 412 requests, which are returned by Vault when a XVaultIndex header isn't satisfied. | [
0.43770283460617065,
0.2955550253391266,
0.2358410507440567,
0.4022187888622284,
0.28931209444999695,
1.1200860738754272,
-0.2612921893596649,
-1.1917638778686523,
0.026586204767227173,
0.13511374592781067,
-0.5114558935165405,
0.13322444260120392,
-1.134215235710144,
-0.6654626727104187,
... |
recordState updates the store's replication states with the merger of all states. | [
0.037585943937301636,
0.24918077886104584,
0.30734145641326904,
-0.09049536287784576,
0.10133388638496399,
-0.39532798528671265,
0.21754567325115204,
1.0181529521942139,
1.2084152698516846,
0.013528671115636826,
-0.49465030431747437,
0.3717856705188751,
-0.32659196853637695,
-0.35420423746... |
requireState updates the Request with the store's current replication states. | [
-1.43561589717865,
-0.3931041657924652,
0.13086682558059692,
-0.15665501356124878,
-0.6344892382621765,
0.30617162585258484,
0.22026102244853973,
0.12466052919626236,
0.9452858567237854,
0.6558349132537842,
-0.2428686022758484,
0.17542380094528198,
-0.5314038395881653,
-0.17947103083133698... |
validateToken will check for nonprintable characters to prevent a call that will fail at the api | [
-0.576920211315155,
-1.0306589603424072,
0.4708465337753296,
0.02035532146692276,
-0.5053889155387878,
0.3949219584465027,
-1.1258254051208496,
0.055191777646541595,
-0.4434361457824707,
-0.28014084696769714,
-0.08639475703239441,
0.2045147866010666,
-0.7783648371696472,
0.5389926433563232... |
Encode the address to a string that begins from BM based on the hash. Output: [Varint(addressVersion) Varint(stream) ripe checksum] where the Varints are serialized. Then this byte array is base58 encoded to produce our needed address. | [
0.1692308485507965,
-1.2287603616714478,
0.37860187888145447,
0.7296046018600464,
0.6276169419288635,
-0.7109749913215637,
-0.11858849227428436,
0.5081902146339417,
1.0808120965957642,
0.42710044980049133,
-0.5205533504486084,
0.7660635113716125,
-0.5903915762901306,
0.26853153109550476,
... |
DecodeAddress decodes the Bitmessage address into an Address object. | [
-0.0033434198703616858,
-0.6455352902412415,
0.591374397277832,
-0.555575966835022,
0.27723243832588196,
-0.3423271179199219,
0.6010420918464661,
-0.24362537264823914,
1.391022801399231,
-1.0063340663909912,
0.21761329472064972,
1.5006415843963623,
-0.5999686121940613,
-0.0006385114393197,... |
calcSingleHash calculates the sha512 sum of the address, the first half of which is used as private encryption key for v2 and v3 broadcasts. | [
0.4307241439819336,
0.6017141342163086,
0.4391323924064636,
0.47521528601646423,
-1.2306627035140991,
-0.032772261649370193,
0.2596595287322998,
0.14415353536605835,
1.5142338275909424,
0.3358979821205139,
-0.5627749562263489,
1.2123233079910278,
-0.9052771329879761,
-0.2872382700443268,
... |
calcDoubleHash calculates the double sha512 sum of the address, the first half of which is used as private encryption key for the public key object and the second half is used as a tag. | [
0.5413773655891418,
0.30532485246658325,
0.5943894982337952,
0.4192582964897156,
-1.0119800567626953,
-0.2102670669555664,
0.13319897651672363,
-0.6900189518928528,
0.13787516951560974,
0.28024065494537354,
-1.5970443487167358,
0.6124454140663147,
0.5230671763420105,
0.2264900505542755,
... |
Tag calculates tag corresponding to the Bitmessage address. According to protocol specifications, it is the second half of the double SHA512 hash of version, stream and ripe concatenated together. | [
0.8958964943885803,
-0.8658766150474548,
0.4370243549346924,
-0.5642139911651611,
-0.3638920187950134,
0.037107814103364944,
0.13593870401382446,
-0.42050138115882874,
0.0053278300911188126,
0.39663833379745483,
-0.6193736791610718,
0.3319505453109741,
-0.9038435220718384,
0.87399864196777... |
PrivateKey generates the decryption private key used to decrypt v4 pubkeys and v5 broadcasts originating from the address. Such objects are encrypted with the public key corresponding to this private key as the target key. It is the first half of the double SHA512 hash of version, stream and ripe concatenated together. | [
0.18727363646030426,
-0.4243274927139282,
0.5515897870063782,
-0.10686846077442169,
-0.14666099846363068,
-0.28427374362945557,
-0.11854910850524902,
-0.3348599970340729,
0.7778278589248657,
0.5329605937004089,
-0.2599406838417053,
0.3631971478462219,
-0.5052822232246399,
-0.04221597686409... |
PrivateKeySingleHash generates the decryption private key used to decrypt v4 broadcasts originating from the address. They are encrypted with the public key corresponding to this private key as the target key. It is the first half of the SHA512 hash of version, stream and ripe concatenated together. | [
0.4435795247554779,
0.2549498379230499,
0.44209155440330505,
0.0343436636030674,
-0.2911382019519806,
-0.1393963098526001,
-0.3430132567882538,
0.18089140951633453,
0.6724242568016052,
0.5126929879188538,
-0.3764071762561798,
0.710856556892395,
-1.2271777391433716,
0.14623230695724487,
-... |
run command: go run ./src/chapter1/work1_1/work1_1.go hello world | [
-0.42376479506492615,
0.06157542020082474,
0.7333529591560364,
1.3719875812530518,
0.25099101662635803,
1.0867278575897217,
0.8048915266990662,
0.12783931195735931,
-0.9287019968032837,
1.001844048500061,
-0.6285700798034668,
0.22915495932102203,
-0.07710690051317215,
0.004185178317129612,... |
ClearLabels clears all of an issue's labels | [
0.006252359598875046,
0.04808351397514343,
0.29275137186050415,
-0.6443360447883606,
-0.644854724407196,
0.6437042355537415,
-1.968870759010315,
-0.2693908214569092,
0.7281127572059631,
0.6544046401977539,
0.8703510165214539,
0.2961554229259491,
-0.31922072172164917,
-0.1811167597770691,
... |
isSubstitutableNode returns true if a node contains an Orchestrator directive that it is substitutable | [
-0.060585763305425644,
0.2950271666049957,
0.7974128127098083,
-0.69278883934021,
-0.5384039878845215,
-0.2103193998336792,
0.1619945466518402,
0.8786501884460449,
-1.0426346063613892,
1.1979854106903076,
-0.2231922447681427,
0.6281169652938843,
0.08733375370502472,
-0.421242892742157,
0... |
storeSubstitutionMappingAttributeNamesInSet gets capability attributes for capabilities exposed in the deployment through substitution mappings, and stores these capability attributes as node attributes prefixed by capabilities. as expected by Alien4Cloud until it implements the mapping of capability attributes See | [
-1.058569073677063,
-0.3811887502670288,
0.4313373267650604,
-0.6154696941375732,
-1.0545265674591064,
-0.33541610836982727,
-0.07822240889072418,
0.627714216709137,
-0.06565012782812119,
0.1063513308763504,
-0.5033388137817383,
0.14724667370319366,
0.6231060028076172,
-0.7331481575965881,... |
getSubstitutionMappingAttribute retrieves the given attribute for a capability It returns true if a value is found false otherwise as first return parameter. If the attribute is a substitution mapping capability attribute as provided by Alien4Cloud, using the format capabilities.., this function returns the the value o... | [
-1.2209367752075195,
-0.47125861048698425,
0.6488576531410217,
-0.15925736725330353,
-0.5642220377922058,
-0.1586834341287613,
0.3624604642391205,
1.1582683324813843,
0.621627688407898,
0.24160516262054443,
0.2824018895626068,
-0.06415164470672607,
0.2210002988576889,
-0.19424676895141602,... |
getSubstitutionNodeInstancesIds returns for a substitutable node, a fake instance ID, all necessary infos are stored and retrieved at the node level. | [
-0.9706476330757141,
0.26388463377952576,
0.27104780077934265,
-1.4719592332839966,
-0.4157690405845642,
-0.19398006796836853,
0.17470671236515045,
0.6993411183357239,
-0.7761281728744507,
0.8551719188690186,
-1.2198902368545532,
0.9980655312538147,
-0.5915939807891846,
-0.3107995986938476... |
getSubstitutableNodeType returns the node type of a substitutable node. There are 2 cases : either this node a reference to an external service, and the node type here is a real node type (abstract) or this is a reference to a managed service, and the node type here does not exist, it is the name of a template whose im... | [
-0.07352698594331741,
0.6986419558525085,
0.8784913420677185,
-0.6459102630615234,
-0.38748857378959656,
0.12751404941082,
0.364075630903244,
0.05388759821653366,
-0.040341202169656754,
0.44547635316848755,
-0.6137676239013672,
1.1947715282440186,
-0.4336285889148712,
0.12318585067987442,
... |
getSubstitutionInstanceAttribute returns the value of generic attributes associated to any instance, here a fake instance for a substitutable node | [
-0.8385626673698425,
-0.16258269548416138,
0.5302136540412903,
-1.3968795537948608,
-0.6846451759338379,
0.030849291011691093,
0.7435405254364014,
1.394516944885254,
-0.7025604248046875,
0.2693573534488678,
-0.3946005702018738,
-0.036626916378736496,
-0.5015358924865723,
-0.391459435224533... |
getSubstitutionInstanceCapabilityAttribute returns the value of a capability attribute for a Service Instance not deployed in this deployment. In this case, the capability attribute is provided as an attribute in the Node template, the attribute having this format: capabilities.. See | [
-0.3881976902484894,
-0.5112022757530212,
0.5342155694961548,
-0.3818781077861786,
-0.7524904012680054,
-0.298318088054657,
0.8006554245948792,
1.0804046392440796,
-0.01748652756214142,
0.3454335629940033,
-0.058933719992637634,
0.4805700480937958,
-0.1837308406829834,
-0.6092953681945801,... |
NewSocketsTraversalExtension returns a new graph traversal extension | [
0.619239091873169,
1.10261070728302,
0.2691870629787445,
0.2964087426662445,
-1.9038411378860474,
-0.6149429678916931,
0.12441068142652512,
-1.0770505666732788,
1.4752776622772217,
0.25257182121276855,
-0.9609718322753906,
0.7838609218597412,
-0.4581569731235504,
-0.15488868951797485,
-1... |
ScanIdent returns an associated graph token | [
-0.2213587760925293,
-0.26325103640556335,
-0.000011106953024864197,
0.6679496765136719,
-1.0215795040130615,
-0.8155882358551025,
0.16504549980163574,
-0.7760224342346191,
1.1735776662826538,
-1.027195692062378,
-0.8986064791679382,
-0.05683934688568115,
-0.05726555734872818,
-1.846491813... |
ParseStep parse connections step | [
-0.05620739981532097,
-0.23565512895584106,
0.3818732798099518,
0.2820485234260559,
0.5429277420043945,
-0.624243438243866,
0.08309151232242584,
-0.33992165327072144,
-1.2613136768341064,
-0.5578110814094543,
-0.6172474026679993,
-1.5943574905395508,
-0.6874192953109741,
0.8957319259643555... |
Exec executes the metrics step | [
0.8416998982429504,
0.5548701882362366,
0.31917738914489746,
1.130812406539917,
0.6175371408462524,
0.829035758972168,
0.8153995871543884,
-0.07861766219139099,
-1.6826967000961304,
-0.0910930186510086,
0.41269007325172424,
-0.14049716293811798,
1.0737347602844238,
0.06617635488510132,
-... |
PropertyValues returns a flow field value | [
0.06398559361696243,
-0.33340346813201904,
0.2460421323776245,
0.5214248895645142,
0.5418170094490051,
0.16098403930664062,
-0.40484336018562317,
-0.27792149782180786,
0.21723529696464539,
-1.6606230735778809,
0.586166501045227,
-0.02220280095934868,
-0.2514893114566803,
-0.888896226882934... |
Values returns list of socket informations | [
-1.2363600730895996,
0.4370196759700775,
0.1864834576845169,
-0.691191554069519,
0.3670920133590698,
-0.11652547866106033,
-1.2660468816757202,
-0.5944589972496033,
-0.12142427265644073,
0.12965849041938782,
-0.3969745934009552,
0.7017651796340942,
0.19722811877727509,
1.185802698135376,
... |
MarshalJSON serialize in JSON | [
-0.18207263946533203,
-1.0737494230270386,
0.49257299304008484,
-0.148173525929451,
-0.7488687038421631,
-0.3088080883026123,
-0.059309884905815125,
0.41537362337112427,
1.0648472309112549,
-0.6708047986030579,
-0.8685288429260254,
1.0069751739501953,
-0.07454618066549301,
0.36165624856948... |
NewSocketIndexer returns a new socket graph indexer | [
-0.4489940404891968,
0.3242345452308655,
0.3440590798854828,
-0.5618173480033875,
-1.7502336502075195,
-0.3467898368835449,
0.28564199805259705,
-0.4792378544807434,
0.42081761360168457,
-0.8639156818389893,
-0.06764471530914307,
0.8056437969207764,
-1.1975198984146118,
-0.4084395468235016... |
NewAttestationLocalInfra creates a new AttestationLocalInfra instance, with dc used to control the DBus service daemons. | [
0.32903844118118286,
-0.05540255457162857,
0.10358919203281403,
-0.3179057240486145,
-0.145567387342453,
-0.6888611912727356,
1.7086644172668457,
0.7443922758102417,
-0.0318596214056015,
-0.6253535151481628,
0.9071491956710815,
0.5639846324920654,
-0.49377474188804626,
0.4656031131744385,
... |
Enable enables the local test infra for attestation flow testing. | [
1.0114892721176147,
-0.47120580077171326,
0.0844755470752716,
0.2410830408334732,
0.9763256311416626,
0.918594241142273,
1.6035538911819458,
1.4889978170394897,
0.07104482501745224,
-0.5398464798927307,
-0.10049346089363098,
0.22593241930007935,
-0.9569606781005859,
-0.3260267674922943,
... |
Disable disables the local test infra for attestation flow testing. | [
0.8381322622299194,
-0.5007060766220093,
0.07676200568675995,
0.33902275562286377,
0.3714866042137146,
0.8648086786270142,
2.1896209716796875,
1.4510971307754517,
-0.0034567643888294697,
-0.7946137189865112,
-0.003965230658650398,
-0.03780815377831459,
-0.741661548614502,
-0.15897321701049... |
injectWellKnownGoogleKeys creates the wellknown Google keys file and restarts attestation service. | [
-0.4296732544898987,
0.3723709285259247,
0.14905677735805511,
-1.022199273109436,
0.02311088517308235,
0.22754718363285065,
0.5291275382041931,
-0.4469333589076996,
0.05555480718612671,
0.24635791778564453,
-0.47976261377334595,
1.1735800504684448,
-0.27348044514656067,
-0.2388772815465927... |
injectNormalGoogleKeys deletes the wellknown Google keys file and restarts attestation service. | [
-0.7967125177383423,
0.19207708537578583,
0.01885233074426651,
-0.6130067706108093,
-0.7227538228034973,
0.4308716654777527,
0.6504404544830322,
-0.09781277924776077,
-0.1922551542520523,
0.6555155515670776,
0.23272605240345,
1.443150281906128,
-0.6522143483161926,
-0.4284183084964752,
0... |
enableFakePCAAgent stops the normal pca agent and starts the fake one. | [
0.05910651013255119,
-0.9909549355506897,
0.13779109716415405,
0.24855442345142365,
0.16622650623321533,
0.2572844922542572,
0.556747317314148,
0.7176731824874878,
0.6025898456573486,
0.49551430344581604,
-0.5451100468635559,
0.7042505741119385,
-1.174554467201233,
-0.44041261076927185,
... |
disableFakePCAAgent stops the fake pca agent and starts the normal one. | [
-0.035213395953178406,
-1.0512586832046509,
0.1887655258178711,
0.6303856372833252,
-0.5677663087844849,
0.4867788553237915,
1.0943899154663086,
0.6949493885040283,
0.4601323902606964,
0.276106595993042,
-0.29858022928237915,
0.5334092378616333,
-0.9985247254371643,
-0.42788341641426086,
... |
Entity interface CRUD FUNCTIONAL | [
0.004838293883949518,
-0.229723259806633,
-0.025931840762495995,
0.3585549294948578,
1.2053970098495483,
-0.08633697032928467,
1.6617783308029175,
-0.05540052801370621,
-0.3175837993621826,
-0.5063132047653198,
0.5998565554618835,
-0.21234960854053497,
0.27960801124572754,
0.58403444290161... |
revive:disable KeysById implements openpgp.Keyring | [
0.39639386534690857,
-0.2273574322462082,
0.1613449901342392,
-0.10576518625020981,
-0.42216581106185913,
-0.13922660052776337,
-0.3451675474643707,
0.01601223461329937,
-0.5975474715232849,
0.6719374060630798,
-0.1142655462026596,
-0.45914655923843384,
-1.4393552541732788,
-0.755295932292... |
revive:enable DecryptionKeys implements openpgp.Keyring | [
0.374776154756546,
0.7956451773643494,
0.29280686378479004,
-0.5854811072349548,
0.4154735803604126,
-0.23686228692531586,
-0.8353424072265625,
0.22822444140911102,
-0.5832403898239136,
0.5287908911705017,
0.1657595932483673,
-0.5916541814804077,
-1.077235221862793,
-0.9609736800193787,
... |
SigningKeys returns a list of signing keys | [
-1.9708143472671509,
0.06654442846775055,
0.14795061945915222,
1.164105772972107,
-0.6676556468009949,
-0.43341371417045593,
-1.01187264919281,
1.0091795921325684,
-0.16214768588542938,
0.9723538160324097,
-1.47532057762146,
-0.9553583264350891,
-0.8022153377532959,
0.2742921710014343,
-... |
NewCrawler returns a new Crawler instance. | [
-0.07925207167863846,
-0.7974240183830261,
0.06862524896860123,
0.6136329770088196,
-0.08647923171520233,
-0.03426500782370567,
0.399135947227478,
0.1512700319290161,
-0.514877438545227,
-0.9279183745384216,
-0.17484064400196075,
-0.4781907796859741,
-0.7301731109619141,
0.5086795091629028... |
CrawlAndScrape begins the crawling process, firstly it will crawl the SiteURL and then creates a queue of pages to crawl based off the urls found on the first page | [
-0.05387907102704048,
0.39938560128211975,
0.3412863612174988,
0.27454009652137756,
0.862537145614624,
-0.3683467209339142,
0.3179466426372528,
0.6318510174751282,
0.6450347900390625,
0.10074041038751602,
-0.08745584636926651,
-0.19435139000415802,
0.49872493743896484,
1.0352898836135864,
... |
Printf implements pipe.StdLogger interface for MockLogger | [
-0.026000874117016792,
0.042135369032621384,
0.572298526763916,
-0.5113862156867981,
-0.6990514397621155,
-0.28953418135643005,
0.8191192150115967,
0.6073344945907593,
-0.1964631825685501,
-0.1352979838848114,
-0.47825852036476135,
-0.0642475038766861,
-0.19336672127246857,
1.4733914136886... |
Println implements pipe.StdLogger interface for MockLogger | [
-0.2869279980659485,
0.06695008277893066,
0.610374391078949,
-0.4373036324977875,
-0.6771160364151001,
-0.09552041441202164,
0.4856807291507721,
0.49030858278274536,
0.25167757272720337,
-0.024289729073643684,
-0.8342975974082947,
-0.1920931488275528,
0.0900878757238388,
1.5025802850723267... |
New creates a Crendentials structure | [
0.49607738852500916,
-0.7142271995544434,
0.23366467654705048,
-0.7131444215774536,
-0.26409053802490234,
-0.539751410484314,
-0.1764126420021057,
0.10318325459957123,
-0.30109038949012756,
-0.5964357256889343,
-0.5885124206542969,
-0.1568945050239563,
-0.23606207966804504,
-0.280147045850... |
EncryptUser takes credentials and convert to SHA256 string | [
-0.2560381591320038,
-0.27027928829193115,
0.12824159860610962,
0.7252604961395264,
-0.08600836247205734,
-0.4616321325302124,
-0.8305448293685913,
-0.5618159770965576,
0.00439975131303072,
1.1041682958602905,
-1.4125494956970215,
0.032263316214084625,
-0.1818280816078186,
-1.1020102500915... |
Register add user to an authorised user list | [
-0.6338790655136108,
0.5639661550521851,
0.1030329093337059,
1.5129940509796143,
-0.09010182321071625,
0.25921985507011414,
-0.8044393062591553,
0.9558290243148804,
-0.040075331926345825,
-0.029867030680179596,
-0.8039703369140625,
0.8514792919158936,
-0.10516932606697083,
-0.0595298670232... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.