text
stringlengths
7
2.39k
embedding
listlengths
768
768
String implements the Stringer interface.
[ 0.03611006215214729, -1.1490586996078491, -0.020225202664732933, -0.5423706769943237, -0.36465537548065186, 1.023980736732483, 0.5748624205589294, -1.3259713649749756, -0.4886873960494995, -0.7745031714439392, -0.23846766352653503, 0.1817994862794876, -0.3258282542228699, 0.376795649528503...
ParseBalanceEventType attempts to convert a string to a BalanceEventType
[ 1.1752002239227295, -1.000532627105713, 0.46760958433151245, -0.1880473792552948, 0.5751610398292542, 0.3632620573043823, -0.21295581758022308, -0.991100549697876, 1.4608376026153564, -0.20265768468379974, -0.05195534974336624, -0.20152713358402252, -0.5580188035964966, -0.0143832042813301...
MakeDaemon tells the Server to disconnect its stdout/stderr streams after successfully starting up.
[ 0.16458922624588013, -0.7155758142471313, 0.29992470145225525, -0.6684440970420837, -0.18431490659713745, 0.9008022546768188, 0.07256470620632172, -0.27672916650772095, 0.28122496604919434, -1.587430715560913, -0.21411746740341187, 0.7696022987365723, 0.0962827131152153, 0.525825023651123,...
Takes certificate struct and prints values
[ 0.19844233989715576, -0.141004741191864, 0.4216577410697937, 0.620257556438446, -0.23557260632514954, 0.7189807891845703, -0.2292422354221344, -0.21372361481189728, 0.07248995453119278, -0.33166876435279846, -0.298677921295166, 0.3522917330265045, 0.19316180050373077, 0.3387686014175415, ...
loadContents reads the template
[ 0.047247324138879776, -0.42637670040130615, 0.3143611550331116, -1.1072986125946045, -0.9536997079849243, -0.8989935517311096, -0.482794851064682, -0.3885715901851654, -0.11388155817985535, -0.09937439113855362, 0.2350834757089615, -2.005399465560913, -0.4236341714859009, -0.68121665716171...
gatherTemplates gather and prepare input template(s) and output file(s) for rendering nolint: gocyclo
[ 0.33619433641433716, -0.25211796164512634, 0.24026179313659668, 0.3126533627510071, -0.7658101916313171, -0.4820156991481781, 0.8226011395454407, -0.1913885772228241, -0.029325567185878754, -0.020700445398688316, -0.300773024559021, -0.36225855350494385, 0.16794580221176147, 0.479827553033...
processTemplates reads data into the given templates as necessary and opens outputs for writing as necessary
[ -0.466525137424469, -1.1918070316314697, 0.38343092799186707, -0.14864546060562134, -0.7758892774581909, -0.552756667137146, 0.6392275094985962, -0.25203266739845276, 0.3632511794567108, -0.6652947664260864, 0.45561152696609497, -0.8495170474052429, -0.279938668012619, 0.043679129332304, ...
walkDir given an input dir `dir` and an output dir `outDir`, and a list of .gomplateignore and exclude globs (if any), walk the input directory and create a list of tplate objects, and an error, if any.
[ -0.6924701929092407, 0.26283976435661316, 0.48242974281311035, 0.30817362666130066, -0.4313529431819916, 0.17789945006370544, 0.38223978877067566, -0.3085983991622925, 0.20427784323692322, 0.4639102518558502, 0.011348176747560501, -0.1240125223994255, -0.6161237955093384, 0.385105103254318...
DeleteVideoFile is function to delete video file.
[ 1.1260713338851929, -0.46772441267967224, 0.46730664372444153, 2.7267110347747803, 0.3475266993045807, 0.6227878332138062, 0.8231367468833923, 1.3685916662216187, 0.19613365828990936, 0.15154455602169037, -0.12394589930772781, 1.2064250707626343, 0.07819583266973495, 0.10445017367601395, ...
ReadVideoFileLink is function to read video file link.
[ 0.0961388498544693, -1.2852656841278076, 0.3360386788845062, 1.7936334609985352, 0.33641889691352844, -0.15041044354438782, -0.15061107277870178, 1.1854324340820312, -0.5308294296264648, -0.07635693997144699, 0.07558992505073547, 1.278510570526123, -0.3666650056838989, -1.1233229637145996,...
ScreenInstall shows the install screen
[ -0.0626186728477478, -0.3349555730819702, 0.4203009009361267, 1.1889255046844482, 0.04120009392499924, -0.27644288539886475, 0.24351666867733002, -0.04511642828583717, 0.3758103549480438, 0.8352774381637573, 0.09878925234079361, -0.6203778386116028, 0.0033951792865991592, 1.008498549461364...
NewDetectLanguageParams creates a new DetectLanguageParams object with the default values initialized.
[ 0.8118055462837219, -0.8047248721122742, 0.33589377999305725, 0.9780107140541077, 0.7451733350753784, -0.18459616601467133, -0.11975547671318054, 0.9175884127616882, -0.4916656017303467, -0.37590286135673523, -0.916627049446106, -0.5017356276512146, -0.4825137257575989, 1.6221340894699097,...
NewDetectLanguageParamsWithTimeout creates a new DetectLanguageParams object with the default values initialized, and the ability to set a timeout on a request
[ 1.1230171918869019, -0.5719985961914062, 0.2919844686985016, 0.8754157423973083, 0.14860157668590546, 0.5269022583961487, -0.9836452603340149, 0.5371583700180054, -0.7128463983535767, 0.6085227131843567, -0.7112432718276978, -0.25465354323387146, -0.5624836683273315, 1.4710979461669922, ...
NewDetectLanguageParamsWithContext creates a new DetectLanguageParams object with the default values initialized, and the ability to set a context for a request
[ 0.7109376788139343, -0.5565624237060547, 0.35804492235183716, 0.4021482467651367, 0.42909401655197144, 0.22644971311092377, -0.944848895072937, 0.07959309965372086, 0.005065088160336018, 0.2512933909893036, -0.7176544070243835, -0.1618698239326477, -0.44407182931900024, 1.3684381246566772,...
WithTimeout adds the timeout to the detect language params
[ 1.5108768939971924, -0.739423394203186, 0.32152920961380005, -0.06843678653240204, 0.04283877834677696, 0.15188775956630707, -0.39145946502685547, 0.133074551820755, 0.04678283631801605, 0.9161619544029236, -0.6707934737205505, -0.23327162861824036, 0.5099997520446777, 1.092272162437439, ...
SetTimeout adds the timeout to the detect language params
[ 0.9522817730903625, -0.3489049971103668, 0.30116549134254456, 0.06044519320130348, 0.5212973356246948, 0.5188509821891785, -0.3788684010505676, 0.5899259448051453, -0.38307496905326843, 0.9132688045501709, -0.5715052485466003, -0.2970140874385834, 0.26139649748802185, 1.1420425176620483, ...
WithContext adds the context to the detect language params
[ 0.996391773223877, -0.7063899040222168, 0.3943835198879242, -0.29592573642730713, 0.006484051700681448, -0.016180118545889854, -0.4585512578487396, -0.5200397968292236, 0.6603666543960571, 0.2844933867454529, -0.7857793569564819, -0.19906556606292725, 0.17402754724025726, 0.989289224147796...
SetContext adds the context to the detect language params
[ 0.45209380984306335, -0.28399795293807983, 0.26773709058761597, 0.019193142652511597, 0.8233226537704468, 0.14277374744415283, -0.4135400950908661, -0.06338097900152206, 0.6116294264793396, 0.3536514937877655, -0.8213346004486084, -0.04874737560749054, -0.01350710354745388, 1.1879271268844...
WithOcpApimSubscriptionKey adds the ocpApimSubscriptionKey to the detect language params
[ 1.4152497053146362, -0.821654736995697, 0.5048929452896118, 0.27909407019615173, -0.2729257345199585, -0.3714897632598877, -0.648381769657135, -0.22789432108402252, 0.8836938142776489, 0.6754969358444214, -0.09605281800031662, 0.002064970787614584, 0.7001372575759888, 0.39860227704048157, ...
SetOcpApimSubscriptionKey adds the ocpApimSubscriptionKey to the detect language params
[ 1.0972086191177368, -0.686359167098999, 0.3635382354259491, 0.1947462409734726, -0.08402327448129654, -0.13883228600025177, -0.6094321608543396, -0.3574962019920349, 0.6576906442642212, 0.4819111227989197, -0.4051224887371063, 0.23518702387809753, 0.2774515151977539, 0.33858823776245117, ...
WithBatchInputV2 adds the batchInputV2 to the detect language params
[ 0.6438746452331543, -1.6874438524246216, 0.33736711740493774, 0.48418134450912476, -0.4440046548843384, 0.2985689342021942, -0.9156587719917297, -0.16472233831882477, -0.633070170879364, -0.09325403720140457, -0.8817453980445862, 0.6418874263763428, 0.4963879883289337, 1.020014762878418, ...
SetBatchInputV2 adds the batchInputV2 to the detect language params
[ 0.2168913334608078, -1.586908221244812, 0.33697906136512756, 0.5043467283248901, -0.18905536830425262, 0.659630298614502, -0.5832699537277222, -0.01103943306952715, -0.9050297141075134, -0.21369215846061707, -1.3146922588348389, 1.1860010623931885, 0.10608679801225662, 0.8280406594276428, ...
WithNumberOfLanguagesToDetect adds the numberOfLanguagesToDetect to the detect language params
[ 0.6333219408988953, -0.1429716795682907, 0.6877447366714478, -0.2109059989452362, 0.32490354776382446, -0.3680928945541382, -0.20867449045181274, 0.17793038487434387, 0.6600103378295898, -0.3273409307003021, -0.7401143908500671, -0.9085040092468262, 0.2193121463060379, 0.9435988664627075, ...
SetNumberOfLanguagesToDetect adds the numberOfLanguagesToDetect to the detect language params
[ 0.2143523246049881, 0.06890007108449936, 0.6182865500450134, -0.32841452956199646, 0.228033185005188, -0.26100122928619385, -0.18594500422477722, 0.27632054686546326, 0.49495208263397217, -0.45224887132644653, -0.8990394473075867, -0.7638582587242126, 0.07906071841716766, 0.785834729671478...
WithSubscriptionKey adds the subscriptionKey to the detect language params
[ 1.5031819343566895, -0.27017417550086975, 0.35392260551452637, 0.7637397050857544, 0.043381545692682266, -0.40389883518218994, -0.46654945611953735, -0.5646811723709106, 0.6328964233398438, 0.7078206539154053, -0.43988847732543945, 0.21020926535129547, 1.4137775897979736, 1.804679155349731...
SetSubscriptionKey adds the subscriptionKey to the detect language params
[ 1.2224477529525757, -0.2539418637752533, 0.25998401641845703, 0.7571399807929993, 0.4324224293231964, -0.22370699048042297, -0.3504900336265564, -0.3805638253688812, 0.28862515091896057, 0.70296311378479, -0.9007982015609741, 0.48222655057907104, 0.9024437665939331, 1.7598122358322144, -...
WriteToRequest writes these params to a swagger request
[ -1.7609347105026245, -0.8602511882781982, 0.5085070133209229, -0.5120177268981934, 1.3858880996704102, -0.42713379859924316, -0.24625247716903687, 0.6454176902770996, -0.6256825923919678, 0.30581825971603394, 0.05692572146654129, 0.10191656649112701, 0.17482730746269226, -0.080370560288429...
GetEnvVar : Load a environment variable from .env file, or the OS
[ -0.19035442173480988, 0.09604348242282867, 0.4268658757209778, 0.5538468956947327, -0.4396873712539673, 0.6136566996574402, 0.15883395075798035, -0.31769850850105286, -0.6814292073249817, -0.006175332702696323, -0.10599004477262497, 1.0924254655838013, 0.330495685338974, 0.3005029857158661...
Init is initialize server
[ -1.125605821609497, -1.3262155055999756, 0.6026216745376587, 0.6990154981613159, 0.4043513238430023, 0.5832563042640686, -0.2262810468673706, -0.07426609098911285, 0.4298786520957947, -0.0488598495721817, -1.0612215995788574, 0.5646485090255737, -1.3829517364501953, 0.47828835248947144, ...
AuthRequired is a simple middleware to check the session
[ -0.7728721499443054, -0.4133871793746948, 0.6397980451583862, 1.1653170585632324, -0.8005985617637634, -0.060648925602436066, -0.013341001234948635, -0.4158231317996979, 0.9196317791938782, 0.5060044527053833, 0.01493892166763544, 0.5471186637878418, 0.4363403618335724, -0.0214764289557933...
reset the number tracking highest num confirmations among all subscribers
[ 0.6252188086509705, 0.758299708366394, 0.3179689645767212, 1.4845622777938843, 0.24498456716537476, -0.8121422529220581, 0.7652015686035156, -0.009150773286819458, -0.8259900808334351, -1.0139979124069214, -0.5536571741104126, 0.7154977321624756, -0.08799846470355988, 0.8513087034225464, ...
Returns true if there is at least one filter value (or no filters at all) that matches an actual received value for every index i, or false otherwise
[ -0.9243371486663818, -0.1279117912054062, 0.63563072681427, 0.295990914106369, -0.03045770712196827, -0.17588746547698975, 0.06435234099626541, -0.23846150934696198, -0.19783234596252441, -0.41718631982803345, -0.6229135990142822, -0.5654897093772888, -0.12489793449640274, 0.88037514686584...
NewSources constructs a source store wrapping a file system directory
[ 0.5086971521377563, -0.502921462059021, 0.03276405483484268, -0.6309991478919983, -0.8797315955162048, -1.3647066354751587, 0.10079077631235123, -0.42991262674331665, 1.4674502611160278, -1.387980580329895, 0.14308635890483856, -0.6124019622802734, -0.08851813524961472, 0.7046568393707275,...
All returns all sources from the directory
[ 0.6804064512252808, -0.5596035718917847, 0.48713019490242004, 0.4307023286819458, 0.47889724373817444, -0.03285488113760948, -0.5297731161117554, 0.6082767844200134, -0.027649497613310814, -0.3053857386112213, -0.06913372129201889, 0.1067119762301445, 0.43642252683639526, 1.269191503524780...
Add creates a new source within the directory
[ 0.0112946517765522, -0.018526501953601837, 0.3739832043647766, 0.4277973175048828, 0.11471611261367798, 0.2630035877227783, 0.37856608629226685, 0.059332478791475296, 0.3913707137107849, -0.7018715739250183, -0.41907021403312683, -0.006795791909098625, -0.28770408034324646, 0.4765805602073...
Delete removes a source file from the directory
[ 1.0549628734588623, 0.4201826751232147, 0.4213179051876068, 0.15704189240932465, 0.15953058004379272, -0.1737898588180542, 0.7805989384651184, 1.361707329750061, 0.3659926652908325, -0.0123082734644413, -0.18563427031040192, -0.02014213241636753, -0.18435010313987732, -0.43543383479118347,...
Get returns a source file from the source directory
[ -0.2561856806278229, 0.25775155425071716, 0.3720729947090149, -0.4840606153011322, 0.18568632006645203, -0.7401753067970276, -0.1493215709924698, 0.3394886553287506, -0.5954447984695435, -0.3717867434024811, 0.4703308343887329, 0.4277227520942688, 0.32685256004333496, -0.756208598613739, ...
Update replaces a source from the file system directory
[ -0.03698733076453209, -0.3309948444366455, 0.291083961725235, -0.7335336804389954, -0.6422436833381653, -0.9860286712646484, 0.08192300796508789, 0.7421659231185913, 0.677295446395874, -0.6132932305335999, -0.30501076579093933, 0.3565000295639038, 0.3359968364238739, -0.0021746158599853516...
idToFile takes an id and finds the associated filename
[ 0.2485441118478775, -1.043492078781128, 0.47969868779182434, -0.7186596989631653, 0.2820756137371063, -0.27574482560157776, 0.5509184002876282, -0.27740126848220825, -0.34152185916900635, -0.1420890986919403, 0.08301118016242981, -0.3668593466281891, 0.5537756681442261, 0.23789967596530914...
getCmd returns exec.Cmd binary names will be evaluated with Env here since this is the last step before Run()
[ 0.26227378845214844, -1.0277619361877441, 0.6225507855415344, 0.5799579620361328, 0.655272901058197, 0.6731769442558289, 0.7429926991462708, -0.18745741248130798, -0.9539873600006104, -1.0021723508834839, 0.1939762979745865, 0.7439531683921814, 0.25837740302085876, 1.2857155799865723, 0....
kills processes with the corresponding command,
[ 0.16046279668807983, -1.3932420015335083, 0.08260020613670349, 0.6543777585029602, 1.414182186126709, -0.11862935870885849, -1.0093368291854858, -0.41099393367767334, -0.23375102877616882, 0.3530471920967102, -0.36137068271636963, 0.802758514881134, 0.5341616272926331, -0.19156140089035034...
Watch listening to the service in Consul
[ 1.3509881496429443, -1.1561206579208374, 0.17069490253925323, 0.12611950933933258, 0.8062801957130432, 0.26337873935699463, -0.9047690033912659, -0.517148494720459, 0.24167652428150177, -0.9389042854309082, -0.31781506538391113, 1.1601017713546753, 0.5179604887962341, -0.157635897397995, ...
SortSlow is a naive approach to Gravity Sort, shamefully coded by me
[ 0.2781846225261688, 0.07354846596717834, 0.24113544821739197, -0.8063164353370667, -1.3430819511413574, -0.36110517382621765, 0.7195654511451721, -1.4459184408187866, 0.16947022080421448, -0.29704463481903076, 0.2846471667289734, 0.4730118215084076, -0.6402942538261414, 1.020320177078247, ...
SortFast is the version from rosettacodes
[ 1.134106993675232, -0.7257820963859558, -0.030844993889331818, 1.579043984413147, -0.7610312700271606, -0.3710225522518158, -0.2818862199783325, -0.6857383847236633, -0.42975595593452454, -0.80516117811203, -0.13154210150241852, -0.049974460154771805, 0.08616989105939865, 0.971075892448425...
SortFastest is the method adapted from geeksforgeeks C++ version
[ 0.44678014516830444, 0.4200858771800995, 0.03909745812416077, 0.6190119981765747, -0.963371753692627, -1.4214967489242554, 0.9973172545433044, -0.567635178565979, -0.8233125805854797, -0.5227555632591248, 0.08818325400352478, -0.030734892934560776, 0.06114761903882027, 1.1315728425979614, ...
New returns a new Client with the given Opts applied. Callers are expected to configure the URL, Do, and Codec options prior to invoking Do.
[ -0.470986932516098, -0.12559811770915985, 0.5789217352867126, 0.004520390648394823, -0.6318724155426025, -0.5913722515106201, -0.13301503658294678, -0.9985525012016296, -0.26042112708091736, -0.6138845086097717, -0.0020851027220487595, 1.2321299314498901, 0.3198050558567047, -0.08657875657...
URL returns the current Mesos API endpoint URL that the caller is set to invoke
[ -0.5361992120742798, -0.5003335475921631, 0.3959781229496002, 0.2884976267814636, 0.7756484150886536, 0.24980777502059937, -0.2627834677696228, 0.9536986947059631, -0.34468334913253784, -0.6139295101165771, 0.3707379102706909, 0.6313444375991821, -0.9799615740776062, -0.03126570209860802, ...
Apply this set of request options to the given HTTP request.
[ -1.69340980052948, -0.09327029436826706, 0.39112210273742676, 0.5979397296905518, 1.1010459661483765, 0.18192796409130096, -0.4845793843269348, -0.9353419542312622, 0.523652195930481, -0.8190292119979858, 0.7844023704528809, 0.37111350893974304, -0.013050377368927002, 1.1975643634796143, ...
With applies the given Opts to a Client and returns itself.
[ -0.04421134293079376, -0.6070584654808044, 0.35573315620422363, -0.5092058181762695, -0.9115977883338928, 0.14049756526947021, -0.38401973247528076, -0.8029316663742065, 0.5334874987602234, -0.6156558990478516, 0.49575334787368774, 1.0579570531845093, -1.0560033321380615, -0.55250328779220...
WithTemporary configures the Client with the temporary option and returns the results of invoking f(). Changes made to the Client by the temporary option are reverted before this func returns.
[ 0.06489945948123932, 0.12058261781930923, 0.4879486560821533, -0.07166280597448349, -0.558631956577301, -0.979644775390625, 0.5697581171989441, -0.4127148389816284, -0.5376412868499756, 0.0243426114320755, -0.1913611739873886, -0.9673444032669067, 0.21961639821529388, -0.8067474365234375, ...
Mesos returns a mesos.Client variant backed by this implementation
[ 0.3586598336696625, -0.41861116886138916, 0.26195746660232544, -0.7482568621635437, -0.5082416534423828, 0.000424903177190572, 0.6744537353515625, -1.1587961912155151, 0.4842604994773865, -1.0486162900924683, -0.4204034209251404, -0.041599128395318985, 0.33976346254348755, -0.3363176286220...
BuildRequest is a factory func that generates and returns an http.Request for the given marshaler and request options.
[ -0.5136232376098633, -0.43668586015701294, 0.5316959023475647, 1.0164726972579956, -1.0065983533859253, -0.356480211019516, -0.46370670199394226, 0.4497414231300354, -0.5314112305641174, -0.4912569224834442, 0.8544001579284668, 0.2716469466686249, 0.9606184959411621, -1.1398332118988037, ...
HandleResponse parses an HTTP response from a Mesos service endpoint, transforming the raw HTTP response into a mesos.Response.
[ 0.1739211529493332, -0.7642593383789062, 0.3560481369495392, 0.5332234501838684, 0.25003087520599365, -0.3037566542625427, -0.6752260327339172, 0.5877496600151062, 0.030397839844226837, -0.8448206186294556, -0.5395868420600891, -1.222040057182312, -0.008481625467538834, -1.0263099670410156...
Do sends a Call and returns (a) a Response (should be closed when finished) that contains a streaming Decoder from which callers can read Events from, and; (b) an error in case of failure. Callers are expected to always close a nonnil Response if one is returned. For operations which are successful but also for which t...
[ -0.08271948993206024, -0.09274768084287643, 1.4384347200393677, 0.37412428855895996, -1.1975778341293335, -0.48056742548942566, 0.35400691628456116, -1.3636735677719116, 0.5365384817123413, -0.054571859538555145, -0.11753495782613754, 0.08256026357412338, -0.9114170670509338, -0.1004739850...
URL returns an Opt that sets a Client's URL.
[ 0.6883236765861511, 0.2530762851238251, 0.37555262446403503, -0.6982427835464478, -0.26753243803977966, 0.15995001792907715, -0.11108160018920898, -0.35127755999565125, 0.2232963740825653, 0.28567561507225037, -0.14682617783546448, 1.0248794555664062, -0.24190890789031982, -0.5962783694267...
WrapDoer returns an Opt that decorates a Client's DoFunc
[ -0.3344115614891052, 0.20375744998455048, 0.48352786898612976, -0.3470003008842468, -0.39650630950927734, 0.054291822016239166, -0.27527809143066406, -1.20979905128479, 0.00026241689920425415, 0.09501913189888, 0.22772563993930817, 0.6913470029830933, 0.8029855489730835, 0.0697884261608123...
Do returns an Opt that sets a Client's DoFunc
[ 0.82686847448349, 0.6594462394714355, 0.5182376503944397, -0.5895103812217712, 0.5193194150924683, -0.33314669132232666, -0.1001381203532219, -1.3717477321624756, -0.3493836224079132, -0.02107960917055607, -0.16631434857845306, 1.0001863241195679, 0.3877963423728943, -0.9758273363113403, ...
Codec returns an Opt that sets a Client's Codec.
[ 1.151087999343872, -0.48594608902931213, 0.2802329361438751, -0.5738279223442078, -0.4427955150604248, -0.32307344675064087, 0.3220381736755371, -0.7669420838356018, 0.33684051036834717, -0.7321051359176636, 0.6972149610519409, 1.5847121477127075, 0.4414054751396179, -0.618519127368927, ...
DefaultHeader returns an Opt that adds a header to an Client's headers.
[ 0.35939183831214905, 0.5633923411369324, 0.37401366233825684, -0.0631159171462059, 0.39167141914367676, 0.449309766292572, -0.9299560189247131, -1.148349642753601, 0.4835870563983917, -0.3461880683898926, 0.6634063124656677, 0.043991703540086746, -1.0697901248931885, -0.752849817276001, ...
HandleResponse returns a functional config option to set the HTTP response handler of the client.
[ 1.0129225254058838, -0.28876373171806335, 0.12132129073143005, 0.6374136805534363, 0.4719153940677643, 0.19958370923995972, 0.2404600828886032, -0.19215363264083862, 0.2946557104587555, -1.095922589302063, -0.7111398577690125, -0.9803243279457092, -0.020471036434173584, -0.9422733187675476...
RequestOptions returns an Opt that applies the given set of options to every Client request.
[ -0.21479813754558563, 0.13726095855236053, 0.5252858400344849, 0.8264389634132385, 0.5112267732620239, -0.31882280111312866, -0.8688485622406006, -1.407331109046936, 0.5761918425559998, -0.9882383346557617, 0.5932755470275879, -0.012924017384648323, -0.5698738694190979, -0.0632024481892585...
Header returns an RequestOpt that adds a header value to an HTTP requests's header.
[ -0.31868112087249756, -0.35546794533729553, 0.33354243636131287, 0.5504884123802185, -0.0012054223334416747, 0.14026737213134766, -1.5627238750457764, -1.1183356046676636, 0.7293657064437866, -0.4524192214012146, 0.6921131014823914, 0.7262446284294128, 0.02203076146543026, -1.2034153938293...
Close returns a RequestOpt that determines whether to close the underlying connection after sending the request.
[ -0.044323891401290894, -0.3840812146663666, 0.7848814129829407, 0.5579178333282471, -0.47010958194732666, 0.5885714888572693, -0.5854536890983582, -1.4632099866867065, 0.1850372701883316, -0.3174687922000885, 0.8232597708702087, -0.17798642814159393, -0.6672139763832092, -0.189245641231536...
With returns a DoFunc that executes HTTP roundtrips. The default implementation provides reasonable defaults for timeouts: keepalive, connection, request/response read/write, and TLS handshake. Callers can customize configuration by specifying one or more ConfigOpt's.
[ 0.036298878490924835, -0.6338146328926086, 0.6466783285140991, 0.14748252928256989, 0.17286242544651031, -0.18865986168384552, 0.14271751046180725, -0.7680407166481018, -0.1139778271317482, 0.6539090871810913, 0.20101165771484375, -0.3209797143936157, 0.31593987345695496, -0.38333740830421...
Timeout returns an ConfigOpt that sets a Config's response header timeout, tls handshake timeout, and dialer timeout.
[ 0.6673325896263123, -0.054257333278656006, 0.14081208407878876, -0.533083975315094, -0.4324812889099121, -0.09285005927085876, -0.19354991614818573, 0.25213900208473206, 0.806411862373352, 1.0897901058197021, -0.05897827073931694, -1.1786903142929077, -0.11352909356355667, -0.5600296258926...
RoundTripper returns a ConfigOpt that sets a Config's roundtripper.
[ -0.6108165383338928, -0.42821404337882996, 0.3472854793071747, -0.4976379871368408, -0.8238043189048767, -0.6011027693748474, 0.5196545124053955, 0.08685597777366638, 0.028057947754859924, 1.3405448198318481, -0.38779154419898987, -0.23954610526561737, 0.33884957432746887, 0.00773977115750...
TLSConfig returns a ConfigOpt that sets a Config's TLS configuration.
[ 1.1944628953933716, -0.024622218683362007, 0.20302550494670868, -0.8195171356201172, -0.8300275802612305, -0.7833268046379089, -0.4307108521461487, 0.8358142971992493, 0.6064062118530273, 1.3328747749328613, -0.9905790686607361, -0.5845546126365662, 0.3956684172153473, -0.10048145800828934...
Transport returns a ConfigOpt that allows tweaks of the default Config's http.Transport
[ -0.4428356885910034, -0.41018345952033997, 0.3022962212562561, 0.22999677062034607, -0.21440447866916656, -0.20198088884353638, -0.15652157366275787, -0.07119126617908478, 0.3876040577888489, 0.335511714220047, -0.8559868335723877, -0.06765797734260559, -0.2977682948112488, -0.369379550218...
WrapRoundTripper allows a caller to customize a configuration's HTTP exchanger. Useful for authentication protocols that operate over stock HTTP.
[ -2.2678093910217285, -0.36046499013900757, 0.3606451153755188, -0.27373039722442627, -0.9281646013259888, 0.24316801130771637, -0.05974753946065903, -0.13395750522613525, 0.2894991636276245, 0.35185709595680237, -0.06550489366054535, 0.6478541493415833, 0.3875599801540375, 0.14545857906341...
Problem9 solves Problem 9 in Project Euler. congo:cover 1.0 congo:maxexec 9
[ 1.5243759155273438, 0.1524222493171692, 0.06089775636792183, 1.40435791015625, 1.0275061130523682, 0.5615373253822327, 0.5866415500640869, 0.817317008972168, 0.6299782991409302, 0.21313798427581787, 0.49576887488365173, -0.2349281907081604, 0.040475115180015564, 0.7372234463691711, 0.887...
NewKorbitAPI returns a korbit API object with all the necessary fields.
[ -0.403583288192749, -1.6748214960098267, 0.24787214398384094, 0.7535498142242432, -0.7554313540458679, 0.5970335602760315, -0.35312220454216003, -1.2895312309265137, -0.5815579295158386, 0.774932324886322, -0.7443840503692627, 0.1786867082118988, -0.5027463436126709, 0.3673616647720337, ...
Login takes care of logging in the user, it is not in the newAPI because it is possible that the api is only being used for public endpoints.
[ -0.9467191100120544, -0.4716549515724182, 0.6026267409324646, 1.611671805381775, -0.28728675842285156, 0.6948113441467285, -1.0515896081924438, -0.3082508146762848, 0.20070184767246246, -0.5707224607467651, -0.4840743839740753, 0.2318505197763443, -0.01933463104069233, -0.10295220464468002...
GetNonce returns an ever increasing nonce for the requests to the API.
[ -0.2558407187461853, 0.004858119413256645, 0.43994319438934326, 1.0575129985809326, 0.3896961808204651, -0.7198208570480347, -0.46527284383773804, -0.5503107309341431, -0.21524319052696228, -1.4308222532272339, 0.23602230846881866, -0.1337222456932068, -0.3002606928348541, 0.55894637107849...
ShouldRefresh returns true if there is less than 10 minutes left on the token before it will expire.
[ 1.1051057577133179, 0.141555055975914, 0.35361066460609436, -0.7323989272117615, 0.35291042923927307, 0.43036916851997375, -1.8117260932922363, -0.5013277530670166, 0.009242716245353222, 0.2894919216632843, -0.7545034289360046, -0.10308574885129929, -0.48946380615234375, -0.628673672676086...
NewRequest makes a new request of the given type with the proper authorization headers for Korbit.
[ -0.4769057631492615, -0.824053168296814, 0.49368777871131897, 1.4150723218917847, -0.4519795775413513, -0.176417276263237, -0.7717569470405579, -1.2975729703903198, 0.2090897262096405, 0.9414157867431641, 0.8047272562980652, 0.37756142020225525, 0.17273469269275665, -0.1301136165857315, ...
RefreshToken takes care of refreshing the access token which is needed every hour (and is tracked by the server.)
[ 0.19334383308887482, -0.932403564453125, 0.3207533061504364, 1.0718116760253906, -0.18041938543319702, 0.22038054466247559, -0.7222971320152283, -0.047427814453840256, -0.16259059309959412, -0.23288218677043915, 0.27426016330718994, 1.2601560354232788, 0.56156325340271, 0.3127100169658661,...
Int32Value returns the value of the int pointer passed in or 0 if the pointer is nil.
[ 0.5505053997039795, 0.4851323962211609, 0.6909294724464417, -0.23818480968475342, 0.020111585035920143, 0.5106032490730286, -0.2256655991077423, -0.31523361802101135, 0.04614569991827011, -0.005175384692847729, 0.4133986234664917, 0.3068305552005768, -0.2121075838804245, 1.0178738832473755...
testDNS tests the DNS resolution for different domain names...Just a simple DNS resolver based on => github.com/miekg/dns It tests the DNS queries against ClusterIP and individual PodIPs (i.e endpoint IPs) returns (bool, []byte, error)
[ -0.3870415687561035, 0.6953126788139343, 0.3600059449672699, 0.5530996322631836, 0.2915850579738617, -0.7446318864822388, -0.6172050833702087, -0.1577412188053131, 0.5573690533638, -0.6970818638801575, -0.989957332611084, -0.8486161828041077, -0.29724356532096863, -0.43536216020584106, -...
New initialize a new `Role`
[ 0.20385760068893433, -0.7317802309989929, 0.11118495464324951, 0.6072334051132202, 0.6759994626045227, -0.38269132375717163, -0.5246382355690002, -0.3495402932167053, -0.036083102226257324, -1.246830940246582, -0.23946505784988403, -0.13853566348552704, 0.48103269934654236, 1.2690851688385...
Register register role with conditions
[ -0.082051120698452, 1.0743619203567505, 0.13369658589363098, 0.8574582934379578, 0.7138753533363342, -0.69410240650177, -0.23620235919952393, 0.5355414748191833, -0.2638777792453766, 0.1604481339454651, -0.1688423752784729, -0.15473872423171997, -0.17421944439411163, 1.165530800819397, 0...
Register register role with conditions
[ -0.082051120698452, 1.0743619203567505, 0.13369658589363098, 0.8574582934379578, 0.7138753533363342, -0.69410240650177, -0.23620235919952393, 0.5355414748191833, -0.2638777792453766, 0.1604481339454651, -0.1688423752784729, -0.15473872423171997, -0.17421944439411163, 1.165530800819397, 0...
Allow allows permission mode for roles
[ -0.1369570940732956, 0.0321761779487133, 0.45944762229919434, 0.6911088228225708, -0.26769763231277466, 1.2259674072265625, -0.15307804942131042, 0.1724865436553955, -0.32243669033050537, 0.3963014483451843, 0.8984944224357605, -0.712382972240448, -0.5936024785041809, -0.1496206820011139, ...
Allow allows permission mode for roles
[ -0.1369570940732956, 0.0321761779487133, 0.45944762229919434, 0.6911088228225708, -0.26769763231277466, 1.2259674072265625, -0.15307804942131042, 0.1724865436553955, -0.32243669033050537, 0.3963014483451843, 0.8984944224357605, -0.712382972240448, -0.5936024785041809, -0.1496206820011139, ...
Deny deny permission mode for roles
[ 0.3879777789115906, -0.08931583166122437, 0.40991151332855225, 0.5943715572357178, 0.176047682762146, 1.156819224357605, 0.19284570217132568, -1.0361182689666748, -0.06531812250614166, -0.6020244359970093, 0.8971508741378784, -0.6143442988395691, -0.20772969722747803, -0.49819061160087585,...
Deny deny permission mode for roles
[ 0.3879777789115906, -0.08931583166122437, 0.40991151332855225, 0.5943715572357178, 0.176047682762146, 1.156819224357605, 0.19284570217132568, -1.0361182689666748, -0.06531812250614166, -0.6020244359970093, 0.8971508741378784, -0.6143442988395691, -0.20772969722747803, -0.49819061160087585,...
MatchedRoles return defined roles from user
[ 0.17536069452762604, 0.3770429193973541, 0.18994328379631042, 0.7155680656433105, 0.156666100025177, -0.5655628442764282, -0.08782841265201569, -0.6013091206550598, 0.15430033206939697, -0.6788130402565002, -0.4492272734642029, -0.6875567436218262, 0.33696624636650085, -0.15385153889656067...
MatchedRoles return defined roles from user
[ 0.17536069452762604, 0.3770429193973541, 0.18994328379631042, 0.7155680656433105, 0.156666100025177, -0.5655628442764282, -0.08782841265201569, -0.6013091206550598, 0.15430033206939697, -0.6788130402565002, -0.4492272734642029, -0.6875567436218262, 0.33696624636650085, -0.15385153889656067...
NewDecoder returns a new decoder that reads from r. Unfortunately, decoder can't work with part of data, so reader must be read all before decoding.
[ 0.26990631222724915, -1.3991285562515259, 0.24281303584575653, 0.03420000523328781, -1.339202880859375, -0.34932827949523926, -0.9006423950195312, -0.40053069591522217, 0.13214680552482605, -0.9974732398986816, 0.600068211555481, -0.5854178667068481, -0.2576046288013458, 0.3978583514690399...
NewController creates a new controller for dummy elements
[ 0.20663583278656006, 0.3316011130809784, 0.23641416430473328, 0.5830486416816711, 0.07275926321744919, 0.06287875771522522, 0.8040086627006531, -0.7596890330314636, 1.3977007865905762, -0.886074960231781, -1.0138355493545532, -0.46263250708580017, 0.1462191939353943, 1.3605417013168335, ...
/ Notice how i is printed as 1000 every time, whereas iActual has the iteration number. Yay closures. To make iActual work, it has to be outside my go func(); inside, it will just do the same as i.
[ -0.3472677767276764, -0.4053182899951935, 0.4644905924797058, 0.42556238174438477, -0.13634447753429413, 0.41535839438438416, 1.6118741035461426, -0.22091855108737946, -0.13594679534435272, 0.3148777484893799, 0.25911232829093933, 1.0488477945327759, 0.28595978021621704, 0.0749465078115463...
MediaCharacter returns MediaCharacterResolver implementation.
[ -0.32482442259788513, -1.5469701290130615, 0.24139636754989624, -0.6631587743759155, -0.5684088468551636, -0.6037976145744324, 0.014912553131580353, 0.2953316271305084, 0.0584617555141449, -1.383634090423584, -0.3019591271877289, -0.11272194236516953, -1.2472643852233887, -0.29620748758316...
TestRshExcludeFlags ensures that only rsync flags that are allowed to be set on the rsh flag are not included in the rshExcludeFlags set.
[ 1.678926706314087, 0.9214717745780945, 0.49999505281448364, 0.5499342679977417, -0.07168763875961304, 1.2948338985443115, 0.22496894001960754, 0.1368062049150467, -0.04474898800253868, -0.6139065623283386, -0.7916871905326843, 0.15511302649974823, -1.5547599792480469, 0.4165637493133545, ...
TestRsyncEscapeCommand ensures that command line options supplied to oc rsync are properly escaped.
[ 0.3730055093765259, 0.2358136624097824, 0.287189245223999, 0.8154810667037964, 1.2561941146850586, -0.534953773021698, 0.41734927892684937, -1.546032428741455, 0.5790408253669739, 0.15854160487651825, -0.6554920673370361, 0.5265967845916748, 0.1017063707113266, -0.532409131526947, 0.0692...
Deprecated: Do not use.
[ 0.3124101161956787, 0.5093531608581543, 0.3878593444824219, 0.7513397932052612, 0.05575282499194145, -0.9025124311447144, -0.7612067461013794, -0.4993188977241516, 0.2279137670993805, -1.1424033641815186, -1.2301791906356812, -0.036154523491859436, -0.297693133354187, -0.04473945498466492,...
Listen starts up and listens to salt until it is done
[ 0.9723107814788818, -0.45150285959243774, 0.4066712558269501, -0.39599645137786865, 0.43591874837875366, 1.3603620529174805, -0.8319073915481567, 0.26582884788513184, 0.13318423926830292, 0.027708610519766808, -0.5008566379547119, 0.08152996003627777, -0.005312482826411724, -0.068087451159...
AddRepoVolumesToPod adds pgBackRest repository volumes to the provided Pod template spec, while also adding associated volume mounts to the containers specified.
[ -0.3971157670021057, 0.049681998789310455, 0.36473768949508667, -0.13397090137004852, 1.5448315143585205, -0.5423732399940491, -0.5205790996551514, -1.063704490661621, -0.21119919419288635, 0.39348483085632324, 0.012797851115465164, -0.8050246834754944, 0.4573170840740204, -0.5864492654800...
AddConfigsToPod populates a Pod template Spec with with pgBackRest configuration volumes while then mounting that configuration to the specified containers.
[ -0.030762411653995514, 0.473533570766449, 0.258230060338974, 0.6454196572303772, 1.555872917175293, -0.34685808420181274, -0.2689335346221924, -1.0448638200759888, -0.5439745783805847, 0.7084546089172363, 0.5311545133590698, -0.635635256767273, 0.041914671659469604, -0.6839157342910767, ...
AddSSHToPod populates a Pod template Spec with with the container and volumes needed to enable SSH within a Pod. It will also mount the SSH configuration to any additional containers specified.
[ 0.5470038056373596, 0.28340429067611694, 0.4743494987487793, 0.43669289350509644, 0.9177300930023193, 0.21562395989894867, -0.7991473078727722, -0.09391946345567703, 0.29614919424057007, -0.07651796191930771, -0.31193578243255615, 0.0011836382327601314, 0.7549052238464355, -0.2974109053611...
ReplicaCreateCommand returns the command that can initialize the PostgreSQL data directory on an instance from one of cluster's repositories. It returns nil when no repository is available.
[ -0.07673591375350952, 0.6091772317886353, 0.5181046724319458, -0.5690895318984985, 0.47930461168289185, 0.23023954033851624, -0.3738553524017334, 0.17420531809329987, -0.34678515791893005, -0.32931017875671387, -0.6060671806335449, 0.9823356866836548, 0.1280568689107895, -0.599895000457763...
RepoVolumeMount returns the name and mount path of the pgBackRest repo volume.
[ 0.6474204659461975, -0.5838391184806824, 0.4203702509403229, -0.6382741928100586, 0.9437441229820251, -0.26538369059562683, -0.7192828059196472, -0.7403931021690369, -1.087995171546936, 0.4059237539768219, -0.5740379691123962, 0.3585725426673889, -0.5189477205276489, -1.131477952003479, ...