text
stringlengths
7
2.39k
embedding
listlengths
768
768
/ V2ResetHostValidation resets failed host validation Reset failed host validation. It may be performed on any host validation with persistent validation result.
[ -0.3056168258190155, -0.4990507960319519, 0.4174209237098694, 1.0818097591400146, -0.3869155943393707, -0.27712783217430115, 0.7313379049301147, 0.272937536239624, -1.4355568885803223, 0.1840522289276123, -0.5447800159454346, 1.252543568611145, -0.3812861144542694, -0.8446046113967896, 0...
/ V2SetIgnoredValidations Register the validations which are to be ignored for this cluster.
[ -1.002669334411621, 0.13119173049926758, 0.49349546432495117, 0.6781173348426819, 0.08510327339172363, 1.027354121208191, 0.2975510358810425, -0.8142909407615662, -0.13395574688911438, -0.5423915982246399, -1.7679156064987183, 0.46065959334373474, -0.2924109995365143, -0.02565681003034115,...
/ V2UpdateClusterInstallConfig Override values in the install config.
[ -1.070533275604248, -1.16213858127594, 0.4162508547306061, 0.5947881937026978, -0.4230022132396698, 0.008422556333243847, 0.5190076231956482, 0.9472867250442505, -0.26481980085372925, 1.426826000213623, -0.28663814067840576, -0.22835184633731842, -0.6295744776725769, -0.31003478169441223, ...
/ V2UpdateClusterLogsProgress Update log collection state and progress.
[ -0.9577588438987732, -1.7491554021835327, 0.3425576388835907, 0.14158523082733154, -0.7450087070465088, -0.05783696845173836, 0.4824894368648529, -0.3120701313018799, -0.48107433319091797, 1.2186342477798462, -0.41503044962882996, 0.20277924835681915, -1.0560559034347534, -0.45823511481285...
/ V2UpdateHost Update an Openshift host
[ -1.1997969150543213, -1.5170494318008423, 0.6701623797416687, 0.736497163772583, -1.2176169157028198, 0.5278245210647583, -0.9099765419960022, -0.2453979104757309, -0.7543649673461914, 0.8012722730636597, -0.2306860089302063, 0.6591165661811829, -0.21928270161151886, -1.3576486110687256, ...
/ V2UpdateHostIgnition Patch the ignition file for this host
[ -1.0239301919937134, -1.6672642230987549, 0.3817533850669861, 0.3208513855934143, -0.8565359115600586, 0.7959210276603699, 0.49644315242767334, 1.9871586561203003, -0.633289098739624, 0.47944867610931396, -0.7560360431671143, -0.15700265765190125, -0.8968150019645691, -1.1724507808685303, ...
/ V2UpdateHostInstallProgress Update installation progress.
[ -0.44693267345428467, -0.735818088054657, 0.4468051791191101, 0.8896225690841675, -1.218747615814209, 0.38660597801208496, 0.46978217363357544, 1.070480227470398, -0.5258599519729614, 1.4899407625198364, -0.11290010809898376, -0.5820429921150208, -0.37659335136413574, 0.4343035817146301, ...
/ V2UpdateHostInstallerArgs Updates a host's installer arguments.
[ -1.835260033607483, -0.8795070052146912, 0.31445765495300293, 0.5383337140083313, -0.5534482598304749, 0.09577297419309616, 0.00628802040591836, 1.145972490310669, -1.1964119672775269, 1.3373879194259644, -0.9116935133934021, -0.037265218794345856, -0.8571128845214844, 0.6081166863441467, ...
/ V2UpdateHostLogsProgress Update log collection state and progress.
[ -1.089652180671692, -1.5589635372161865, 0.36531874537467957, 0.12026717513799667, -0.9334947466850281, 0.1760462522506714, 0.30018970370292664, 0.1443672627210617, -0.9649759531021118, 1.0071115493774414, -0.6348753571510315, -0.02366042137145996, -0.33568233251571655, -0.1149253100156784...
/ V2UploadClusterIngressCert Transfer the ingress certificate for the cluster.
[ 0.5823243260383606, 0.15180397033691406, 0.5668518543243408, 0.10227304697036743, 0.1647600382566452, -0.20722685754299164, 0.004263833165168762, -0.40438953042030334, -0.3803786337375641, 0.998259961605072, -0.5846803188323975, 0.6973505020141602, -1.3772608041763306, -1.2587789297103882,...
NewUserRepository creates new user repository instance
[ -0.4166935384273529, -0.3846052885055542, 0.07956349104642868, 0.48090970516204834, -1.013392686843872, -0.44450536370277405, 0.14058154821395874, 0.24363887310028076, 0.32319164276123047, -0.8721162676811218, -0.6433625221252441, -0.6792224049568176, -0.22461341321468353, 0.25223410129547...
NewAPI is the constructor method for the HTTP API
[ -0.400498628616333, -1.3439199924468994, 0.3609006106853485, 1.219901442527771, -0.3962278962135315, 0.28735804557800293, -0.5292813181877136, 0.5192257165908813, -0.8099683523178101, -0.613268256187439, -0.2972421944141388, -0.4082978367805481, 0.06431099772453308, 0.6299880743026733, 0...
Start the API and route endpoints to functions
[ -0.40285342931747437, -0.7290661931037903, 0.1736164540052414, 1.291893482208252, 1.3369628190994263, -0.6680887937545776, -0.005168232601135969, 0.7983142137527466, 0.4208539128303528, -0.2958483099937439, -0.8346670269966125, 0.9426559805870056, 0.855241596698761, -0.08909458667039871, ...
Shutdown is responsible for graceful shutdown of the API.
[ -1.0957692861557007, -0.5852986574172974, 0.42014145851135254, 0.5558660626411438, 1.0287179946899414, -0.33620554208755493, 0.4932701587677002, 0.5108292102813721, 0.10842382907867432, 0.7219509482383728, -0.2225012183189392, 0.030782785266637802, -0.21956241130828857, -0.3692705631256103...
TODO : use RunModule ! RunModules runs every enabled modules
[ -0.6864774227142334, -0.22864694893360138, 0.48279741406440735, 1.1020063161849976, 0.42977941036224365, 0.8072221279144287, 0.028561433777213097, 0.3862658143043518, 1.1812909841537476, -0.25045230984687805, -0.3605740964412689, 0.4847950041294098, -1.2396715879440308, 0.9619486331939697,...
GetIndex returns a link to the documentation on the root path
[ 0.48744258284568787, 0.3912200927734375, 0.4683835506439209, 0.28747567534446716, 0.5097347497940063, -0.42186239361763, 1.0110644102096558, 1.1779736280441284, 0.5845523476600647, -1.7239199876785278, 0.6025506854057312, 0.8840085864067078, 0.2867540419101715, -0.024768438190221786, -1....
GetRoutesByIP returns all the routes informations
[ -0.03268519416451454, -0.018231961876153946, 0.4371922016143799, 1.1553651094436646, 0.6490740776062012, -0.7565210461616516, -0.7433759570121765, -0.10877057164907455, -0.5778669118881226, 0.6036269664764404, -0.12165555357933044, -0.9061299562454224, 0.16795137524604797, 0.17773240804672...
NewInboundPacket accepts a packet id and returns a Codable which can decode it
[ -0.4350566864013672, -0.696877658367157, 0.24162551760673523, -0.44174253940582275, -1.1803293228149414, -0.7341398596763611, -1.066130518913269, -0.2795596420764923, 0.3016444146633148, -1.483318567276001, -0.7782186269760132, 1.110134482383728, -0.3476063013076782, 0.3719828724861145, ...
NewMySQLClusterTestJig allocates and inits a new MySQLClusterTestJig.
[ 1.323120355606079, -0.42162954807281494, 0.042236167937517166, 0.3623652756214142, -0.13855960965156555, -1.0617523193359375, 0.8981068730354309, 0.737736165523529, 0.10790718346834183, -0.351279079914093, -0.2424452006816864, 0.07315021008253098, -1.2196044921875, 0.39014169573783875, -...
newMySQLClusterTemplate returns the default v1.MySQLCluster template for this jig, but does not actually create the MySQLCluster. The default MySQLCluster has the same name as the jig and has the given number of replicas.
[ 0.6166085004806519, -0.03210126608610153, 0.24525079131126404, -0.15925583243370056, -1.125024437904358, -0.9852885603904724, 0.012266705743968487, 0.23469726741313934, 0.018869010731577873, -0.39964041113853455, -1.251313328742981, 0.03750789538025856, -0.803350567817688, -0.0838617831468...
CreateMySQLClusterOrFail creates a new MySQLCluster based on the jig's defaults. Callers can provide a function to tweak the MySQLCluster object before it is created.
[ 0.6091304421424866, 0.08793945610523224, 0.2707631289958954, 0.0743667334318161, 0.15726009011268616, -0.8203607797622681, -0.07524757832288742, -1.0083200931549072, 0.04132470116019249, -0.7018400430679321, -0.45654162764549255, 0.16588011384010315, -0.7896260619163513, 0.2467785477638244...
CreateAndAwaitMySQLClusterOrFail creates a new MySQLCluster based on the jig's defaults, waits for it to become ready, and then sanity checks it and its dependant resources. Callers can provide a function to tweak the MySQLCluster object before it is created.
[ 0.3221190273761749, 0.03377743810415268, 0.3917015492916107, 0.016895100474357605, 0.05531565099954605, -0.23528410494327545, -0.1680091768503189, -0.8429234027862549, 0.0979851558804512, -0.8249073028564453, -0.6328889727592468, 0.019619470462203026, -0.4783296585083008, 0.501528859138488...
WaitForClusterReadyOrFail waits up to a given timeout for a cluster to be in the running phase.
[ -0.7714999318122864, 0.10097454488277435, 0.1896734982728958, -0.36550047993659973, -0.3432266116142273, -0.09553327411413193, -0.791394054889679, 0.48801904916763306, -0.1776227504014969, 0.18985632061958313, 0.2561623752117157, 0.20665927231311798, 0.17077411711215973, -0.562332272529602...
SanityCheckMySQLCluster checks basic properties of a given MySQLCluster match our expectations.
[ -0.295015811920166, -0.5993958711624146, 0.3254483640193939, 0.41242438554763794, -0.08026910573244095, -0.36738401651382446, -0.2905784249305725, -0.16459445655345917, 0.5255568623542786, -1.0137397050857544, 0.20274291932582855, 0.5467658042907715, -0.779484212398529, 0.6072341203689575,...
ExecuteSQLOrDie executes the given SQL statement(s) on a specified MySQLCluster member via kubectl exec.
[ 0.6174254417419434, 0.12078557908535004, 0.45014122128486633, 0.34220099449157715, -0.3701082170009613, -1.03799307346344, -2.4299094676971436, -0.7881684303283691, -0.042864855378866196, 0.5144737958908081, 0.4171838164329529, 0.2719067931175232, -0.6663733720779419, -0.5382694005966187, ...
ReadSQLTest SELECTs v from testdb.foo where k=foo.
[ 1.1160871982574463, -0.03645697236061096, 0.1938105970621109, 0.17822691798210144, -0.29085659980773926, -0.2615931034088135, -1.2936325073242188, -1.1021196842193604, -0.060312241315841675, 0.14580100774765015, 1.1371588706970215, 0.18145835399627686, -0.457275390625, -0.8514091968536377,...
WriteSQLTest creates a test table, inserts a row, and writes a uuid into it. It returns the generated UUID.
[ -0.33115527033805847, -0.13955999910831451, 0.4759749472141266, -0.3021279573440552, 0.04486226290464401, -0.1603894978761673, 0.11197955906391144, 0.15415050089359283, 0.10558433085680008, -0.05298026651144028, -0.6044512987136841, -0.5765885710716248, -0.6203760504722595, -0.919332683086...
AwaitPodReadyOrDie polls the specified Pod until it is ready of a timeout
[ -1.4282763004302979, -0.14068837463855743, 0.37569260597229004, -0.39636534452438354, 0.08523701876401901, 0.12005582451820374, -0.9774314165115356, -0.21143431961536407, 0.30262088775634766, 1.5105303525924683, 0.054966699331998825, -0.44113120436668396, 0.3348502218723297, -0.52438288927...
GetReadyPrimaryPodName returns the name of the first ready primary Pod it finds in the given cluster.
[ -0.23580706119537354, -0.574864387512207, 0.8105196356773376, -0.2898898422718048, -0.7149679064750671, -0.3464164435863495, -0.3976554274559021, -0.05363818258047104, 0.5177533030509949, 0.7300175428390503, 0.11401042342185974, -0.11529193818569183, 0.4162790775299072, -0.2318613231182098...
GetReadySecondaryPodName returns the name of the first ready secondary pod it finds in the given cluster.
[ -0.27114665508270264, -0.8000790476799011, 0.7404308915138245, 0.12445694953203201, -0.3229176998138428, -0.4766637980937958, -0.032148681581020355, -0.9344311356544495, -0.35203981399536133, 1.1188234090805054, -0.8105019927024841, 0.2774893343448639, 1.4709123373031616, -0.03531574457883...
allUsers gets and returns a list of all users in the DB
[ -0.40535056591033936, -0.40069329738616943, 0.32372328639030457, 1.07889723777771, 0.2549892067909241, 0.4594864249229431, -2.0890026092529297, 1.192839503288269, 0.16044504940509796, -0.21628598868846893, -0.12917262315750122, 0.08229474723339081, -0.8494540452957153, 1.1553592681884766, ...
getUser returns a user by id. TODO change to by slug
[ 0.04179446026682854, -1.0460155010223389, 0.10056349635124207, 0.21497023105621338, 1.120489478111267, -0.7965943217277527, 0.05272548273205757, -0.2128412276506424, -0.01012163981795311, -1.265329122543335, -0.4083482325077057, -0.25434410572052, 0.5123806595802307, 0.28417259454727173, ...
postUser for creating a new user. Does all the checks.
[ -0.48027461767196655, -0.019508033990859985, 0.33678770065307617, 2.067348003387451, 0.38227221369743347, 0.30949828028678894, 0.9024320840835571, -0.6068673133850098, -0.521174430847168, -0.9038110375404358, -0.8736207485198975, -1.5329440832138062, -0.4334157109260559, 1.156991958618164,...
verifyEmail is used to verify emails and make sure they exists. Supplementary to the regex check and the MX lookup
[ 0.5601904392242432, -0.12228938192129135, 0.22528193891048431, 1.2046895027160645, 0.29204052686691284, 0.08214458078145981, 0.22418048977851868, 0.7479273080825806, 0.2408585101366043, -0.007271924056112766, -0.41453737020492554, 0.5438557863235474, 0.19278880953788757, -0.093256272375583...
requestOTP : In case the OTP sent expires, users can request for a new OTP
[ -0.18613886833190918, -0.07703852653503418, 0.43317458033561707, 0.9373420476913452, 0.05925992131233215, -0.3014029860496521, -1.4902658462524414, -0.6993219256401062, 0.3313194811344147, 0.12247931957244873, 0.484900563955307, 0.03802802041172981, -0.09969012439250946, -0.908785045146942...
resetPasswordRequest handles the request to reset a password. Sends a mail to the user, containing the OTP
[ -0.6800574660301208, 0.5100338459014893, 0.18773597478866577, 0.4314156174659729, 0.365893691778183, -0.9124544858932495, 0.32846376299858093, -0.09283171594142914, 0.23691491782665253, 0.21083931624889374, 0.6120715141296387, 1.0740997791290283, -0.52620530128479, -0.8043606281280518, -...
resetPassword actually resets the users password. Based on data provided and generated
[ -0.561459481716156, 0.3494367003440857, -0.018283788114786148, 1.6671411991119385, 0.8035334348678589, -0.010235041379928589, 0.4499049186706543, 0.7221662402153015, -0.30155453085899353, 0.11632324755191803, -0.13092243671417236, 0.16578224301338196, 0.09915453940629959, -0.18804731965065...
New returns an S3 client configured against the input session.
[ 0.3909487724304199, -1.4933557510375977, 0.22530800104141235, 0.050015926361083984, -0.8491041660308838, 0.10421860218048096, 0.249876469373703, -0.5773194432258606, 0.7257453799247742, -0.33336585760116577, -0.187773197889328, 0.35846924781799316, 0.8750783801078796, -1.7439416646957397, ...
Upload uploads a file to an S3 bucket under the specified key. Per s3's recommendation The bucket owner, in addition to the object owner, is granted full control.
[ -0.3427826464176178, 0.6763596534729004, 0.7218586206436157, 0.818232536315918, -0.3638080656528473, 0.48018941283226013, -0.09155161678791046, -0.1364680528640747, -0.6463652849197388, 0.5989749431610107, -0.19666032493114471, 0.5611775517463684, 0.5056471228599548, -1.3027340173721313, ...
EmptyBucket deletes all objects within the bucket.
[ 0.10217851400375366, -0.2093718945980072, 0.41529178619384766, -0.2696375548839569, 1.2968981266021729, 0.5442671775817871, 0.6121794581413269, -1.23822021484375, -0.2749744951725006, -0.9839251041412354, -1.0236114263534546, 0.7214096784591675, 0.6036759614944458, 0.23060151934623718, -...
ParseURL parses URLs or s3 URIs and returns the bucket name and the optional key. For example, the URL: " or alternatively, the s3 URI: "s3://stacksetmyappinfrastrupipelinebuiltartifactbuc1nk5t9zkymh8r/scripts/dnscertvalidator/dd2278811c3" Returns "stacksetmyappinfrastrupipelinebuiltartifactbuc1nk5t9zkymh8r" and "scrip...
[ 0.15418197214603424, -0.15235857665538788, 0.6299853324890137, 0.7874487042427063, -0.21718376874923706, -0.18913215398788452, 0.25724145770072937, 0.3234323263168335, -0.025516046211123466, 0.00046608055708929896, -0.09138733893632889, -0.22519442439079285, 0.09453114122152328, 0.08303170...
ParseARN parses an S3 bucket or object ARN. For example, a bucket arn "arn:aws:s3:::mybucket" returns "mybucket", "", nil. Whereas, an object arn "arn:aws:s3:::mybucket/key.json" returns "mybucket, "key.json", nil
[ -0.40502941608428955, -2.110285997390747, 0.7647391557693481, -0.10820923745632172, -0.7634081840515137, -0.07937338203191757, -0.9129909873008728, 0.26733633875846863, 0.44177156686782837, 0.2674485445022583, -0.6976812481880188, 0.934536337852478, 0.8289457559585571, -0.29739412665367126...
Location returns an S3 object location URI in the format "s3://bucket/key".
[ -0.5882086753845215, -1.5195636749267578, 0.737360417842865, -0.2945918142795563, -0.42562055587768555, 1.0964869260787964, 0.10396652668714523, 0.7297041416168213, -0.12588998675346375, 0.7141473889350891, -0.19818472862243652, -0.06997565180063248, 0.3839777708053589, -1.7212791442871094...
FormatARN formats an S3 object ARN. For example: arn:aws:s3:::stacksetmyappinfrastrupipelinebuiltartifactbuc1nk5t9zkymh8r.s3uswest2.amazonaws.com/scripts/dnscertvalidator/dd2278811c3
[ 0.12554648518562317, -1.7708072662353516, 0.6114193201065063, 0.8028453588485718, -0.3492773771286011, 0.22992411255836487, 0.07185772061347961, 0.5572140216827393, 0.7398248910903931, -0.08552297204732895, 0.2073558121919632, 1.13653564453125, 0.8413397669792175, -0.3293663561344147, 0....
BucketTree creates an ASCII tree representing the folder structure of a bucket's objects.
[ -0.12319312989711761, -0.24832783639431, 0.41167691349983215, -0.6939665079116821, -1.163596272468567, 0.09957759082317352, 0.19482716917991638, -1.2105046510696411, -0.13731789588928223, -0.7622731924057007, -0.5024605989456177, -0.40844783186912537, 0.1635979413986206, -0.204973414540290...
BucketSizeAndCount returns the total size and number of objects in an S3 bucket.
[ 0.20142307877540588, -0.7841686010360718, 0.6282655596733093, -0.296000212430954, 0.030942929908633232, 0.6543997526168823, 1.0416957139968872, 0.11374828964471817, 0.5627915263175964, -0.3440272808074951, -1.1682019233703613, -0.42179232835769653, 0.6884583830833435, -0.9010977745056152, ...
parseS3URI parses the bucket name and object key from a [s3:// URI]. For example: s3://mybucket/puppy.jpg [s3:// URI]:
[ -0.7670993804931641, -0.8986640572547913, 0.6528344750404358, -0.06892725080251694, -0.7473352551460266, 0.6027300953865051, -0.24908892810344696, 0.17927785217761993, 0.3473793566226959, 0.6804589033126831, -1.0681883096694946, -0.26011744141578674, 0.1018410250544548, -1.3589379787445068...
parseHTTPURL parses the bucket name and optional key from a [virtualhostedstyle access URL]. For example: [virtualhostedstyle access URL]:
[ 0.03419751673936844, -0.6540875434875488, 0.47078534960746765, 0.5743690133094788, -0.4933725595474243, -0.4995902180671692, 0.06735727936029434, -0.33485618233680725, -0.1731823831796646, 1.1193410158157349, -0.007554993033409119, 0.15316835045814514, 0.3203175663948059, -0.16909864544868...
NewPaymentRequestReviewedProcessor returns a new payment request reviewed processor
[ -1.0341808795928955, -0.6824514865875244, 0.19903703033924103, -1.0039478540420532, -1.5671156644821167, 0.6587169170379639, -1.4376758337020874, -0.0006951752584427595, 0.3386639952659607, -0.5635913610458374, 0.7164868712425232, 1.1778327226638794, -0.3811101019382477, 0.3651713728904724...
InitNewPaymentRequestReviewedProcessor initialize NewPaymentRequestReviewedProcessor for production use
[ -0.9652976989746094, -0.8683075308799744, 0.3247910737991333, -0.5731652975082397, -1.1071529388427734, 0.32929879426956177, -0.988288164138794, -0.45562589168548584, 0.051588013768196106, -0.39785343408584595, 0.4065552353858948, 1.221868872642517, -0.050635017454624176, 0.673202693462371...
helper functions stackoverflow guy invented this hack for some reason i'll better use something more lightweight until understand why did he add "reflect" and if it will be useful in my package
[ 0.7165958285331726, -0.254975825548172, 0.5068423748016357, -0.6421850323677063, -0.03719228878617287, -0.0945168063044548, 0.19644953310489655, 0.10178859531879425, -0.43132802844047546, -0.0327339805662632, 0.1813659518957138, 0.32416391372680664, 0.4631023108959198, -0.14157326519489288...
encode to json > decode from json. SLOOOOW
[ -0.22118978202342987, 0.2914627194404602, 0.2120380699634552, -0.44162166118621826, 0.05482165515422821, -0.07991421967744827, -0.055893562734127045, -0.06456398963928223, 1.1636378765106201, -0.6728866100311279, -1.2442692518234253, 0.6849581003189087, 1.0026170015335083, 0.15272793173789...
Jwt validates the Authorization header and the jwt token
[ 0.4942361116409302, -0.4306422173976898, 0.4330044388771057, 0.6727813482284546, -1.1570713520050049, -0.13921989500522614, -1.1519793272018433, 0.058627307415008545, -0.24194929003715515, -0.4400283992290497, 0.5599019527435303, 0.4691348075866699, 0.6306979656219482, 0.2612755596637726, ...
IsEmpty returns a Boolean value indicating whether a string is blank.
[ -0.826806902885437, -0.07493804395198822, 0.4982409179210663, 0.662822425365448, 0.7945597767829895, 0.23075753450393677, -0.13676021993160248, -0.4653812646865845, 0.20020383596420288, 0.9189737439155579, -0.20301231741905212, 0.846338152885437, -0.04325065761804581, -1.2452402114868164, ...
Left returns a specified number of characters from the left side of a string.
[ 1.283707857131958, 0.19318965077400208, 0.25749140977859497, -0.9165509343147278, -0.25851699709892273, -0.2406087964773178, -1.1829887628555298, -0.8862590193748474, 0.20614148676395416, -0.21358895301818848, -0.2982143461704254, 0.4692870080471039, -0.7828275561332703, -0.879238426685333...
Right returns a specified number of characters from the right side of a string.
[ 0.5010363459587097, 0.5147594213485718, 0.36430367827415466, -0.1847642958164215, -1.0243908166885376, -0.6796877384185791, -1.6124706268310547, -0.5703547596931458, -0.6190510392189026, 0.14429500699043274, 0.0985897108912468, 1.036285638809204, -0.36743757128715515, -0.9693996906280518, ...
Mid returns a specified number of characters from a string.
[ 0.653109073638916, -0.36741605401039124, 0.3678087294101715, -0.3778640329837799, -1.1724344491958618, -1.2882916927337646, -1.38162362575531, -0.908552348613739, 0.27789604663848877, -0.17164556682109833, 0.6379346251487732, 0.303227961063385, -0.6254777908325195, -1.8288935422897339, 0...
Len returns the number of rune in a string.
[ 0.30379366874694824, 0.3538178503513336, 0.07589878141880035, -0.5990462303161621, -0.21466432511806488, -0.7330657243728638, 1.0640063285827637, 1.187957763671875, -0.2090897560119629, -0.9347792863845825, -0.9217401742935181, 0.17416174709796906, 0.2778792083263397, -1.458195686340332, ...
Space returns a string consisting of the specified number of spaces.
[ 0.5188454389572144, 1.1276477575302124, 0.09605717658996582, -0.4112492501735687, -0.16951951384544373, 0.13240866363048553, -0.6411828994750977, -0.849759042263031, 0.5932201147079468, -0.5830744504928589, 0.6233003735542297, -0.08840981125831604, 0.24656955897808075, -0.3283125162124634,...
CIt contextifies Gingko's It
[ 0.7277303338050842, -0.4302166998386383, 0.1366388201713562, -0.533817708492279, 0.7254421710968018, 0.09682940691709518, 0.3924820125102997, -0.5943540930747986, -0.21975596249103546, 0.5464630126953125, 0.10464668273925781, -0.14001087844371796, -0.0912003442645073, -0.7775763869285583, ...
FCIt contextifies Gingko's FIt
[ 0.6272072196006775, -0.38211122155189514, 0.010774001479148865, 0.056014981120824814, 0.0971473976969719, -0.395941823720932, 1.1652123928070068, -0.5983211994171143, -0.2740451991558075, -0.4810933768749237, 0.2958848178386688, 0.39191341400146484, 0.08622635155916214, -0.4367821812629699...
CAfterSuite contextifies Gingko's FIt
[ 0.6430099010467529, -0.7797629237174988, 0.18906643986701965, 0.6781491637229919, 0.24029693007469177, -0.07928375899791718, 1.179948091506958, -0.8484058380126953, 0.011893963441252708, -0.6343095302581787, 0.06854551285505295, 0.8037400245666504, -0.16728952527046204, -0.3054969608783722...
CAfterEach contextifies Gingko's AfterEach
[ 1.258612036705017, -0.6927019953727722, 0.16036105155944824, -0.09061675518751144, -0.02002527192234993, -0.6227695345878601, 1.344907283782959, -0.628588080406189, -0.28995227813720703, -0.23209211230278015, 0.011337826028466225, 0.3392266035079956, 0.16983120143413544, -0.528019905090332...
CBeforeSuite contextifies Gingko's FIt
[ 0.9927731156349182, -0.12154311686754227, 0.14001014828681946, 0.32282257080078125, 0.6512404680252075, -0.3784692585468292, 1.346183180809021, -0.8068752884864807, 0.42084410786628723, 0.12925073504447937, 0.2817075252532959, 1.3128141164779663, -0.5504100918769836, -0.13259409368038177, ...
CBeforeEach contextifies Gingko's BeforeEach
[ 1.49738609790802, 0.052853357046842575, 0.16804324090480804, -0.2341456115245819, 0.7124534845352173, -0.49559441208839417, 1.3259398937225342, -0.9373899698257446, -0.07322312891483307, 0.5314945578575134, 0.3317813277244568, 0.6901193857192993, -0.23947912454605103, 1.031202793121338, ...
CJustBeforeEach contextifies Gingko's JustBeforeEach
[ 1.5339022874832153, -0.5125575065612793, 0.29566481709480286, -0.45514193177223206, -0.21935541927814484, -0.09668178856372833, 1.1347343921661377, -0.9091904759407043, 0.10997245460748672, 0.4353411793708801, 0.06582296639680862, 0.08729046583175659, -0.15786588191986084, 0.88519024848937...
Adds an entry in the sightings table or does nothing if adding fails due to database constraints.
[ -0.3478586971759796, 0.7643847465515137, 0.41317060589790344, 0.5888827443122864, 0.2478150874376297, 0.9751903414726257, 0.24410156905651093, -0.6984487771987915, 0.3682977557182312, -0.1323707103729248, 0.2662481963634491, -0.44467172026634216, -0.4288632273674011, 0.7118104696273804, ...
InitGraph to make map filed in Graph
[ -0.057350873947143555, -0.18278169631958008, 0.3170667886734009, 0.1916263848543167, -0.965252161026001, 0.7815919518470764, 0.33577439188957214, 1.1390656232833862, -0.6603768467903137, -0.3215320110321045, -0.5242332220077515, 0.08971726894378662, 0.8266623616218567, -0.5787034630775452,...
SendData to send links
[ -0.8022732734680176, 0.13687533140182495, 0.12018343061208725, -0.3232800364494324, 0.5651869177818298, 0.2623666524887085, -0.3524571359157562, -0.03762638568878174, -0.22725753486156464, -0.7474632263183594, -0.5852415561676025, 1.3065035343170166, 0.21352997422218323, 0.8703114986419678...
AddScope will add new scope to existing scope
[ -0.7631910443305969, -0.5411213636398315, 0.6942823529243469, 0.43582427501678467, 0.6324741840362549, -0.05332738906145096, -1.0556193590164185, -0.2195013165473938, 0.7401722073554993, 0.5647520422935486, 0.1923651248216629, 0.7626545429229736, -0.5717657804489136, -0.24623608589172363, ...
Limit will return current limit of pagination
[ -0.2820533215999603, -1.098797082901001, 0.6485022902488708, 0.40355488657951355, 0.522878110408783, -0.3101266324520111, 0.17076341807842255, 0.2684239447116852, 0.7700710296630859, 0.09417305886745453, 0.15002377331256866, 0.20513105392456055, -0.5466673970222473, -0.7016943097114563, ...
Limit will return current order of pagination
[ -0.5168727040290833, -1.0083824396133423, 0.7163324952125549, 0.6078416109085083, 0.9106634855270386, -0.48943138122558594, -0.20826192200183868, -0.09010323137044907, 0.686362087726593, 0.1021106094121933, -0.18228250741958618, 0.13531263172626495, -0.002858837367966771, -0.74338901042938...
Limit will return current offset of pagination
[ -0.4713837206363678, -1.137320876121521, 0.7595375180244446, -0.3454730212688446, 0.09070653468370438, 0.26024162769317627, 0.7252531051635742, 0.5054057240486145, 0.6520167589187622, -0.09287372976541519, 0.3843170702457428, 0.2004517763853073, -0.28383976221084595, -1.0720609426498413, ...
Limit will return current query map will be nil if pagination is not initiated using NewRequestPaginationConfig
[ -0.8811734318733215, -1.152721881866455, 0.7041319608688354, 0.5738038420677185, -0.32840731739997864, -0.39688944816589355, 0.21898674964904785, 0.38467612862586975, 1.087883710861206, -0.17850399017333984, 0.44896379113197327, -0.6202647089958191, -0.46837151050567627, 0.0324690006673336...
Scopes will return all scope in current pagination
[ -0.9602532982826233, -0.8090969920158386, 0.3198797106742859, 0.2526852488517761, 0.38363441824913025, -0.9713115096092224, -0.2640966773033142, -0.03826933354139328, 0.7696855068206787, 1.1683108806610107, 0.8277121782302856, 0.26828059554100037, -0.21398445963859558, 0.46016278862953186,...
Scopes will return all scope in current pagination
[ -0.9602532982826233, -0.8090969920158386, 0.3198797106742859, 0.2526852488517761, 0.38363441824913025, -0.9713115096092224, -0.2640966773033142, -0.03826933354139328, 0.7696855068206787, 1.1683108806610107, 0.8277121782302856, 0.26828059554100037, -0.21398445963859558, 0.46016278862953186,...
NewPaginationConfig will create new Pagination with limit, offset, order and any scopes will set query map to nil
[ -0.1434193104505539, -1.0005155801773071, 0.36269620060920715, -0.0660780519247055, -0.6579505205154419, -0.7133985161781311, -0.07393088191747665, 0.674030065536499, 0.8538929224014282, 0.43683791160583496, -0.9788933396339417, -0.2036094069480896, 0.40582284331321716, 0.9913463592529297,...
NewRequestPaginationConfig will create new Pagination with request condition and filterable list all resulted scope come from filterable field with conditions field data if any conditions field that is not declared in filterable field will be omitted
[ -0.830073356628418, -0.5586556792259216, 0.42429661750793457, 0.9142682552337646, -0.5830186009407043, -0.7586683630943298, -0.01596706546843052, 0.3878524899482727, -0.5179710388183594, 0.12941868603229523, 0.18007898330688477, -0.044268421828746796, 0.06675874441862106, 1.056163072586059...
NewDefaultPaginationConfig will create a default Pagination with zero scope and 20 limit
[ -0.2870453894138336, 0.21164073050022125, 0.36825960874557495, -0.19854268431663513, 0.29617545008659363, -1.089130163192749, 0.43317684531211853, 0.6594855189323425, 0.17318883538246155, -0.18667034804821014, -0.9731128811836243, -0.5070906281471252, 0.09320062398910522, 1.245173573493957...
BuildLimit build the limit with 100 threshold given the conditions
[ 0.10237254202365875, -0.217865452170372, 0.28867626190185547, 1.118145227432251, 0.28581541776657104, -0.09462080895900726, -0.4335377812385559, 0.7705230712890625, -0.24454689025878906, 0.3491472601890564, -0.1604880392551422, 0.010909421369433403, 0.016699859872460365, -0.717228174209594...
BuildOffset build the offset given the conditions
[ -0.46362051367759705, -0.7263948321342468, 0.3131254017353058, 0.12897272408008575, -0.8129940032958984, 0.8939633965492249, 1.1039625406265259, 1.4749486446380615, -0.07180092483758926, -0.3419739902019501, 0.9942863583564758, 0.06381452083587646, -0.20197756588459015, -0.6526678800582886...
BuildOrder build the order given the conditions
[ -0.4352737069129944, -0.12082219123840332, 0.2718265652656555, 1.3456449508666992, 0.011396908201277256, -0.3961380422115326, -0.5940676927566528, 0.9885234832763672, -0.3815980553627014, -0.8004046678543091, 0.025425272062420845, -0.7760645747184753, -0.5704477429389954, 0.248610690236091...
BuildOrder build all scope given the conditions
[ -0.6561790108680725, -0.3494417071342468, 0.28295937180519104, 1.1431012153625488, -0.13629497587680817, -0.5860384702682495, -0.2934916913509369, 0.28543388843536377, 0.4986604154109955, 0.21776363253593445, 0.515066921710968, -0.2764981687068939, -0.1841384321451187, 0.8258503675460815, ...
OverrideKey will override condition key with desired key
[ -0.5913722515106201, 0.14510920643806458, 0.3858083486557007, 0.9258468151092529, 0.4202742278575897, -0.053944431245326996, 0.3334408700466156, 0.7267897725105286, -0.37234511971473694, 0.3102092146873474, 0.2791823446750641, 0.07037786394357681, -0.562461256980896, 0.4654773473739624, ...
ID returns a string value which represents the name of the container.
[ 0.25579962134361267, -0.9828495383262634, 0.44272372126579285, -0.09323536604642868, -0.02340702712535858, 0.12265889346599579, -0.6428794860839844, -1.0442571640014648, 1.2645469903945923, 0.09447476267814636, -0.08805234730243683, -0.5666149258613586, 0.43526187539100647, 0.5547096729278...
Name returns a string value which represents the name of the container.
[ -0.5753271579742432, -0.7942043542861938, 0.46870410442352295, -0.20398667454719543, -0.6101927757263184, -0.27018794417381287, -0.024647951126098633, -0.7464185953140259, -0.2283356934785843, 0.8746355772018433, -0.08502524346113205, -0.3606330156326294, 0.7198767066001892, 0.486467748880...
Bucket returns the google bucket attributes
[ -1.3365468978881836, -0.399481862783432, 0.2447177767753601, 0.14151176810264587, -0.47038206458091736, 0.5397164225578308, 0.5012519359588623, -0.14420655369758606, -0.5197833776473999, -0.6698981523513794, -0.9237034320831299, 0.2724098563194275, 0.3445987403392792, 0.3322090208530426, ...
Item returns a stow.Item instance of a container based on the name of the container
[ 0.3023665249347687, 0.17321890592575073, 0.29056820273399353, 0.7205744385719299, -0.007855942472815514, -0.15972836315631866, 0.24387294054031372, -1.4153193235397339, -0.06440224498510361, 0.1575673520565033, 0.2651321291923523, -0.18286080658435822, 0.29370298981666565, -0.4439703524112...
Items retrieves a list of items that are prepended with the prefix argument. The 'cursor' variable facilitates pagination.
[ -0.28815314173698425, 0.12604762613773346, 0.40425971150398254, 0.033709682524204254, 0.0836578831076622, -0.4671314060688019, -0.45674586296081543, 0.633411705493927, 0.1842607706785202, 0.2324744462966919, -0.5933902263641357, 0.2861081063747406, 0.3177342116832733, 0.7001324892044067, ...
RemoveItem will delete a google storage Object
[ -0.6523212790489197, -0.6035466194152832, 0.18368540704250336, 1.1115648746490479, 0.17294426262378693, 0.500333845615387, -0.1722273975610733, 0.28447768092155457, -0.16587790846824646, -0.05742647126317024, -0.5025540590286255, -0.24379344284534454, -0.35962724685668945, -0.9430301785469...
Put sends a request to upload content to the container. The arguments received are the name of the item, a reader representing the content, and the size of the file.
[ -0.14811374247074127, 0.2776113748550415, 0.5021839737892151, -0.9373410940170288, 0.3262841999530792, -0.26426345109939575, -0.10135307908058167, -0.8216753602027893, -1.3509068489074707, 0.6074451208114624, -0.5309261083602905, 0.07024965435266495, -0.9421561360359192, -0.986580550670623...
GetState : return currentTerm and whether this server believes it is the leader.
[ -0.1741267740726471, -0.8582829833030701, 0.27060025930404663, 0.21168437600135803, -0.15223442018032074, 0.06908399611711502, -1.097939133644104, -0.047451455146074295, 1.1828545331954956, 0.2289315164089203, -0.4740544557571411, 1.3648871183395386, -1.4975956678390503, 0.3676218390464782...
save Raft's persistent state to stable storage, where it can later be retrieved after a crash and restart. see paper's Figure 2 for a description of what should be persistent.
[ 0.7182871103286743, 0.35067155957221985, 0.632073163986206, 0.6957753300666809, 0.3813428580760956, 0.6353321075439453, 1.523895502090454, -0.8632248044013977, 0.05794484168291092, -0.4010031223297119, -1.0068923234939575, -0.24411709606647491, -0.3832281231880188, -0.2965415418148041, 0...
restore previously persisted state.
[ 1.0293381214141846, -0.6923941969871521, 0.0873657763004303, -0.2977346181869507, 0.19297285377979279, 0.3512760400772095, 0.9271731376647949, 0.09112566709518433, 0.7486131191253662, -0.4730319082736969, 0.09636308997869492, 0.3211207985877991, -0.5395221710205078, -2.0084831714630127, ...
compareLog : return true if A is older(outdated) than B
[ 0.3891910910606384, -0.7216295599937439, 0.7749246954917908, 0.044593650847673416, -0.8573485016822815, 1.0546420812606812, -0.8850505948066711, -0.2263243943452835, 0.4097495973110199, 0.14335134625434875, -0.06722871214151382, 0.02215646021068096, 0.5468035936355591, -0.16895423829555511...
example code to send a RequestVote RPC to a server. server is the index of the target server in rf.peers[]. expects RPC arguments in args. fills in reply with RPC reply, so caller should pass &reply. the types of the args and reply passed to Call() must be the same as the types of the arguments declared in the handler ...
[ -0.625268280506134, 0.06512372195720673, 1.0743409395217896, 0.01037332508713007, -0.162993922829628, 1.275942325592041, -1.0986791849136353, -0.5547125935554504, -0.28630995750427246, 0.24462376534938812, -0.10544010251760483, 0.2529871463775635, -1.8429031372070312, -0.1847580224275589, ...
Start : the service using Raft (e.g. a k/v server) wants to start agreement on the next command to be appended to Raft's log. if this server isn't the leader, returns false. otherwise start the agreement and return immediately. there is no guarantee that this command will ever be committed to the Raft log, since the le...
[ -0.7557001709938049, 0.026881717145442963, 0.9141974449157715, 0.22936424612998962, -0.10810304433107376, 0.21877352893352509, -0.00005401516318670474, -0.007214725017547607, -0.14825284481048584, 0.36165693402290344, -0.7109264731407166, 0.9495789408683777, -1.4677146673202515, 0.00536408...
Kill : the tester calls Kill() when a Raft instance won't be needed again. you are not required to do anything in Kill(), but it might be convenient to (for example) turn off debug output from this instance.
[ 0.7060451507568359, -0.32743749022483826, 0.5922452807426453, 0.5527876019477844, 0.11512483656406403, 0.4231519103050232, 0.895022451877594, -0.44518178701400757, 0.019463833421468735, -0.37468889355659485, -0.785071849822998, 0.9244638681411743, -0.46501725912094116, 0.3511866331100464, ...
Make : The service or tester wants to create a Raft server. The ports of all the Raft servers (including this one) are in peers[]. This server's port is peers[me]. All the servers' peers[] arrays have the same order. Persister is a place for this server to save its persistent state, and also initially holds the most re...
[ -0.0005634853150695562, 0.4994564354419708, 0.989276647567749, 0.13519641757011414, 0.31564193964004517, 0.23294147849082947, 1.0362857580184937, -0.3223036229610443, 0.7093477249145508, -1.2495336532592773, -0.6937283873558044, 0.581565797328949, -0.8396691679954529, 0.43699073791503906, ...
NewWriter returns a new Writer that writes to w.
[ -0.5294182896614075, -0.6316069960594177, 0.030289748683571815, 0.4020901620388031, 0.003127956995740533, -0.5913428068161011, 0.39210182428359985, -0.6105033159255981, 0.14398473501205444, -0.514271080493927, 0.08877245336771011, -0.5202750563621521, 0.025487473234534264, -0.3437873721122...