text
stringlengths
7
2.39k
embedding
listlengths
768
768
These methods are included when int64 is ordered. Min returns the first element containing the minimum value, when compared to other elements. Panics if the collection is empty.
[ 0.056211844086647034, -0.1515841782093048, 0.46699872612953186, 1.3902922868728638, -0.32480332255363464, 0.6895642876625061, -0.900783121585846, -1.6129041910171509, 0.2895224392414093, -0.7014867067337036, 0.312995046377182, 0.04447214677929878, -1.1962717771530151, 0.4954533874988556, ...
Max returns the first element containing the maximum value, when compared to other elements. Panics if the collection is empty.
[ 0.7728935480117798, 0.28400087356567383, 0.6506592631340027, 1.745531439781189, 0.605518102645874, 0.955572783946991, -0.6483342051506042, -0.5171458125114441, 0.2805909514427185, -0.2071346491575241, 0.09956863522529602, -0.058960191905498505, -0.7530713081359863, -0.10895726084709167, ...
These methods are included when int64 is numeric. Sum returns the sum of all the elements in the set.
[ -1.2410054206848145, 0.2828042805194855, 0.3709564208984375, 0.5376550555229187, -0.5933406352996826, -0.08455394953489304, -0.007726582698523998, -1.0945751667022705, 0.03640192002058029, -0.03413309529423714, 0.059039369225502014, 0.05610004812479019, -0.45149198174476624, 0.401736348867...
Equals determines if two sets are equal to each other. If they both are the same size and have the same items they are considered equal. Order of items is not relevent for sets to be equal.
[ -0.7270370125770569, -0.5004092454910278, 0.7896131277084351, -0.18738998472690582, -0.02816646546125412, -0.4299890100955963, -0.38370367884635925, -0.9797980189323425, 0.17710407078266144, 0.0035985454451292753, -0.8297795057296753, 0.3667292296886444, -0.11995396018028259, 0.19239620864...
UpdateDocsIndex updates the doc's directory index.md file for the current release.
[ -1.014233112335205, -1.2639341354370117, 0.17122969031333923, 0.2702765464782715, -0.5386053323745728, 0.2486325353384018, 1.1294732093811035, 0.15765713155269623, -0.4263148307800293, -0.13757653534412384, 0.658475935459137, 0.7552858591079712, 0.2154574692249298, -0.510728657245636, -0...
NewConsulClient is used to construct a new Consul client using the default configuration and supporting the ability to specify a Consul API address endpoint in the form of address:port.
[ -0.23495174944400787, -1.1160866022109985, 0.2908706068992615, 0.9992935657501221, -0.36928442120552063, -0.4309224784374237, 0.28949201107025146, 0.13937921822071075, 0.10886821150779724, -0.5360653400421143, -0.29492834210395813, 0.02241717465221882, -0.7039271593093872, -0.4967255592346...
GetLeaderInfo is used to inspect the leadership KV and session to provide details of the Replicator agent currently holding leadership.
[ 0.3620154559612274, -0.9708771109580994, 0.4017249345779419, -0.31499260663986206, -0.5236777067184448, -0.021312979981303215, -0.728767991065979, -0.6339890360832214, 0.9552484154701233, 0.0454690158367157, -0.32311078906059265, 0.5134763121604919, 0.27347132563591003, -0.1505173295736313...
CreateSession creates a Consul session for use in the Leadership locking process and will spawn off the renewing of the session in order to ensure leadership can be maintained.
[ 0.9452081322669983, -0.7820704579353333, 0.37101906538009644, 0.33852919936180115, 0.3030802011489868, 0.4215977191925049, -0.35350707173347473, -1.0076314210891724, 0.9331141710281372, -0.3833238482475281, -0.03287777677178383, 0.4279320538043976, -0.9308990836143494, -0.8964015245437622,...
LoadPoolConfig retrieves fallback worker pool configuration from Consul.
[ 0.814435601234436, 0.022621076554059982, 0.27635523676872253, 0.1103869155049324, 0.26368972659111023, -0.5129694938659668, -0.13286688923835754, 0.10682211816310883, 0.21003830432891846, 0.07394207268953323, -1.3251564502716064, 0.7792384028434753, -0.7364790439605713, 0.14655369520187378...
AcquireLeadership attempts to acquire a Consul leadersip lock using the provided session. If the lock is already taken this will return false in a show that there is already a leader.
[ -0.07174239307641983, -0.5352951288223267, 0.44513675570487976, 0.005001283250749111, 0.5742588043212891, -0.31850698590278625, -0.5369909405708313, -0.5597630739212036, 1.380478858947754, -1.0699981451034546, -0.12707796692848206, -1.1807962656021118, -0.22149120271205902, -0.613458991050...
ResignLeadership attempts to remove the leadership lock upon shutdown of the replicator daemon. If this is unsuccessful there is not too much we can do therefore there is no return.
[ 0.011961393989622593, 0.27730706334114075, 0.3861466646194458, -0.26149073243141174, 0.28954991698265076, -0.304351270198822, 0.3974212110042572, 0.13743436336517334, 0.5095437169075012, 0.0747837945818901, 0.5317705273628235, 0.3683069050312042, -1.5957036018371582, 0.5405274033546448, ...
renewSession is used for renewing a Consul session and accepts a channel within which a signal can be sent which will stop the renawl process and attempt to clean up the session.
[ 0.5016610622406006, -0.659766674041748, 0.3782429099082947, 0.09603604674339294, -0.5425698757171631, -0.3182039260864258, -0.33549150824546814, -0.18591436743736267, 0.28585493564605713, -0.13543623685836792, -1.0538396835327148, 0.4757639765739441, -0.25330492854118347, -0.61579090356826...
NewClientFactory creates a new util.Factory instance based on the config.
[ -0.3385668396949768, -0.456102579832077, -0.018861249089241028, -0.12605524063110352, -0.21300092339515686, -0.31844210624694824, 0.7231767177581787, -0.2130492925643921, -0.245347797870636, -0.1476057469844818, -0.1740151196718216, -0.023831088095903397, 0.3170872926712036, -0.00951066147...
computeDiscoverCacheDir takes the parentDir and the host and comes up with a "usually noncolliding" name.
[ -0.06431486457586288, 0.41382038593292236, 0.3699725866317749, 0.7580387592315674, -0.4661090672016144, 0.43107929825782776, 0.4063677191734314, -0.1111387386918068, -0.39720815420150757, -0.07107648998498917, -0.21127267181873322, 0.21457484364509583, 0.11539766192436218, 0.78401911258697...
Load loads the config from a file path
[ -0.33133959770202637, -0.378531277179718, 0.2023753672838211, -0.3388608396053314, -0.6132736206054688, 0.3329707086086273, -0.4983350336551666, 0.5006741881370544, -1.518903136253357, 0.944089412689209, -0.854897141456604, -0.7348065376281738, -0.2807582914829254, -0.834155261516571, 0....
Start starts the agent
[ 0.14331138134002686, -1.523762822151184, -0.008698426187038422, 0.48776620626449585, 0.6198601126670837, -0.3439826965332031, -0.1975511908531189, 1.5678627490997314, 1.0072003602981567, -0.03057144582271576, -0.3585394024848938, 1.0929310321807861, 0.44589805603027344, 0.1059567928314209,...
Flush performs a synchronous flushing in the trace agent
[ 0.9638552665710449, 0.3680593967437744, 0.23190909624099731, 0.0910499095916748, 0.233102485537529, 0.1472194492816925, 1.1224030256271362, -0.9498286247253418, 0.5048156976699829, -0.4426940381526947, 0.21010148525238037, 0.614890992641449, 0.11792295426130295, 0.2690316140651703, -0.53...
Get returns the trace agent instance
[ 0.844441294670105, -0.6689842939376831, 0.21781644225120544, -1.0050139427185059, 0.5278193950653076, -0.28413984179496765, 0.006946842186152935, -0.7144181132316589, 1.0078749656677246, -0.261649489402771, -0.11870555579662323, 0.12031899392604828, -0.1930592656135559, -1.1507219076156616...
SetTags sets the tags to the trace agent config and span processor
[ 1.063190221786499, 0.7553166151046753, 0.11731326580047607, -0.2261299341917038, 0.9703022837638855, -0.04283317178487778, 0.08434130251407623, -0.3484262228012085, 0.3313429355621338, 0.3948337137699127, -1.1675238609313965, 0.1636742800474167, 0.5420579314231873, 1.5260674953460693, -0...
Stop stops the trace agent
[ 0.4266427457332611, -0.5211030840873718, 0.08488345891237259, 0.27174487709999084, 0.7986395359039307, -0.038826972246170044, 0.6712643504142761, 0.03447940945625305, 0.5523151159286499, 0.7321771383285522, -0.7381183505058289, -0.44937244057655334, 0.4439866542816162, -0.4980946481227875,...
filterSpanFromLambdaLibraryOrRuntime returns true if a span was generated by internal HTTP calls within the Datadog Lambda Library or the Lambda runtime
[ -0.20335018634796143, -0.16739855706691742, 0.3346950113773346, -0.7081640958786011, -0.06641445308923721, 0.4584430158138275, -0.48564639687538147, -0.46129587292671204, 0.4390425384044647, -0.86430424451828, 0.1085895374417305, 1.0037009716033936, -0.2382904589176178, 1.2939027547836304,...
ReadResponse reads a server response into the received o.
[ 0.2536485195159912, -0.5319309234619141, 0.4260271191596985, 0.250649094581604, -0.42248207330703735, -1.1332019567489624, -0.1542394906282425, -0.6475809812545776, 0.9560379981994629, -0.19656099379062653, -0.4577060341835022, -0.03830955550074577, -0.24323610961437225, -1.241577029228210...
NewRTRDeleteFileNoContent creates a RTRDeleteFileNoContent with default headers values
[ 1.5060786008834839, -1.065077304840088, 0.36899980902671814, -0.4689168334007263, 0.23802679777145386, -0.4599480628967285, -1.0185232162475586, 0.023224344477057457, -1.1410436630249023, -0.7371615171432495, -0.3576784133911133, -1.4190095663070679, 0.025020023807883263, -0.36995297670364...
NewRTRDeleteFileBadRequest creates a RTRDeleteFileBadRequest with default headers values
[ 0.8657692670822144, -1.2079918384552002, 0.6709386110305786, 0.46943578124046326, 0.6549050807952881, -0.02119317650794983, -1.3021326065063477, 0.8134850263595581, -1.125800609588623, -0.6963639259338379, 0.9800140261650085, -0.9108251333236694, -0.6933994293212891, 0.6921243071556091, ...
NewRTRDeleteFileForbidden creates a RTRDeleteFileForbidden with default headers values
[ 1.4937413930892944, -0.03542453795671463, 0.7700950503349304, 0.36633071303367615, 0.1906929910182953, 0.16878174245357513, -0.597652792930603, 0.28892529010772705, -0.8076595067977905, -0.8780199885368347, 0.4506725072860718, -0.65143883228302, -0.2051265686750412, -0.21332375705242157, ...
NewRTRDeleteFileNotFound creates a RTRDeleteFileNotFound with default headers values
[ 0.5846452713012695, -1.6820158958435059, 0.5978518128395081, -0.24055629968643188, 0.7138888239860535, 0.5784487128257751, -0.3205004334449768, 0.6494442224502563, -0.7746471166610718, -0.7083255648612976, 0.007605431135743856, -1.096848726272583, -0.20495644211769104, 0.2384692132472992, ...
NewRTRDeleteFileTooManyRequests creates a RTRDeleteFileTooManyRequests with default headers values
[ 0.4856182336807251, -0.2131952941417694, 0.5571323037147522, 0.38322851061820984, 0.5948420763015747, -0.6308908462524414, -1.1675083637237549, 0.34952738881111145, -0.5888952016830444, -1.0346451997756958, 0.20333118736743927, -1.5487401485443115, -0.8472465872764587, 0.5282276272773743, ...
Validate validates this cluster network setting updation params
[ -0.7580562829971313, -0.04963178560137749, 0.2992329001426697, 0.8082723617553711, -0.06413668394088745, 0.2311657965183258, 0.5715086460113525, -0.24086086452007294, -0.7254267930984497, 1.2094473838806152, 0.23854967951774597, -1.1134600639343262, -0.6687745451927185, -0.2183598130941391...
ContextValidate validate this cluster network setting updation params based on the context it is used
[ -1.0708118677139282, 0.24190481007099152, 0.3422369360923767, 0.6592817306518555, 0.1325075328350067, 0.4713989496231079, 0.3510010242462158, -0.3859263062477112, -0.4477837085723877, 1.4598299264907837, 0.7676235437393188, -0.26563623547554016, -0.7191970348358154, 0.34791916608810425, ...
Validate validates this cluster network setting updation params data
[ -0.7542685270309448, -0.12989160418510437, 0.3057529926300049, 0.6243866086006165, -0.0485021211206913, 0.5417855978012085, 0.17585864663124084, -0.17537200450897217, -0.9542242288589478, 1.2154279947280884, 0.35405322909355164, -0.7701202630996704, -0.44663411378860474, -0.171777114272117...
ContextValidate validate this cluster network setting updation params data based on the context it is used
[ -1.026914119720459, 0.1345224827528, 0.40350136160850525, 0.5014508962631226, 0.3185070753097534, 0.6535825729370117, 0.027242640033364296, -0.43313121795654297, -0.5122820138931274, 1.2932143211364746, 0.9219051003456116, -0.10264260321855545, -0.6660844087600708, 0.12605968117713928, -...
Band parses a string into a HF band value
[ 0.608805775642395, -0.31767767667770386, 0.22194412350654602, 1.011004090309143, -0.41791751980781555, 0.6255729794502258, -0.28940343856811523, -0.47397273778915405, -0.7864362597465515, -1.4503077268600464, 0.44133642315864563, 0.3714958727359772, -0.8737438917160034, 0.0671173706650734,...
Mode parses a string into a HF Mode value
[ -0.10037631541490555, -0.06595784425735474, 0.4230043292045593, 0.05618162825703621, -0.25518131256103516, 0.04291360080242157, -1.097124695777893, 0.9031698107719421, -0.9105715751647949, -0.9218424558639526, 0.10462278127670288, -1.4210211038589478, -0.9208991527557373, -0.95736670494079...
RST parses the given string for a report and returns the parsed RST value.
[ 1.421713948249817, 0.38768813014030457, 0.08582868427038193, -0.49459707736968994, -0.4574797451496124, -1.0382338762283325, -0.1764805167913437, -0.051883094012737274, 0.07191735506057739, -1.0134984254837036, 0.7776877880096436, 0.06287563592195511, -0.9619166851043701, -0.95668292045593...
distance calculates the Euclidean distance.
[ 0.23844292759895325, 0.05975540354847908, -0.011020822450518608, 0.3582821786403656, 0.14966706931591034, 0.2811490297317505, 0.3544500768184662, 1.2906030416488647, 0.3203819692134857, 0.29319486021995544, 0.24135129153728485, -0.22509802877902985, 0.17703934013843536, 0.3007800281047821,...
if _type==EmptyCandy the type assertion is ignored
[ -0.6517670750617981, -0.4630970060825348, 0.39793965220451355, 0.9210325479507446, 1.245668888092041, 0.4000464379787445, 1.042675256729126, -0.2531065344810486, 0.3344112038612366, -0.24395659565925598, -0.903260350227356, 0.3228033185005188, -1.523685097694397, 0.9852629899978638, 0.74...
Read read and parse configuration file
[ -0.5141329169273376, -0.9631096720695496, 0.5224461555480957, -0.10982033610343933, 0.17454443871974945, 0.5653002262115479, 0.406297504901886, 1.0583909749984741, -1.418962001800537, 0.7969750761985779, 0.1822788417339325, -1.4609220027923584, 0.24300678074359894, -0.6197602152824402, 0...
Save save config to json file
[ -1.8153457641601562, -1.456441044807434, 0.22398734092712402, 0.08316279947757721, -0.2510592043399811, -0.16471734642982483, 0.6428467631340027, 0.3227252662181854, -1.4122343063354492, 1.5357987880706787, -2.2561867237091064, -0.8299453854560852, 0.799521267414093, 0.3610641658306122, ...
ToAdvertisements converts the CidrSlice into metallb Advertisements. If a cidr cannot be parsed it is omitted from the array of Advertisements returned an an error is logged.
[ -0.6172773241996765, 0.24147704243659973, 0.4021163582801819, -0.08848443627357483, 0.7928705215454102, -0.511163592338562, -0.6307998895645142, -0.5158480405807495, 0.7475450038909912, 1.033137321472168, 0.4458319842815399, 0.21676775813102722, -1.5585026741027832, 0.2634166479110718, 0...
announcePodCidrs will announce the list of cidrs to any established BGP sessions. returning an error from this method will requeue the event which triggered the invocation. This function is not thread safe and should not be called while other functions that modify the underlying speaker are being called.
[ -1.0568913221359253, -0.19206522405147552, 0.5275395512580872, -0.7213468551635742, 1.123010277748108, -1.1303253173828125, 0.003940545953810215, -0.15415577590465546, -0.49266812205314636, 0.482340008020401, -0.19808398187160492, 0.3384472131729126, -1.2978044748306274, 0.1231136471033096...
NewCompiler compile openapi to document of markdown style
[ 0.034129299223423004, -1.6849322319030762, 0.24178501963615417, 0.11722102016210556, -0.8737876415252686, -0.05652841180562973, -0.5284957885742188, 0.29536306858062744, -0.5006852149963379, -1.1866463422775269, 1.02151620388031, -0.3291865885257721, -0.2330043911933899, 1.1196086406707764...
CreateSaltAndHashedPassword takes a password as a byte array and returns a hashed version of the password and a password salt that was generated and used in the hashing process
[ 0.998991072177887, -0.7451759576797485, 0.35278576612472534, -0.40668967366218567, 0.013031263835728168, 0.9568741321563721, -0.2114163041114807, 0.41318967938423157, 0.8855826258659363, -0.7256858348846436, -0.34307095408439636, 0.413042813539505, 0.2558363974094391, 1.5680499076843262, ...
CompareSaltAndPasswordToHash takes a salt, a hashedPassword, and a submitted password and returns true if the submitted password was the original password saved
[ 1.184604525566101, -1.0136245489120483, 0.6182477474212646, 0.9380719065666199, -0.20414955914020538, 1.0065736770629883, -0.6506983041763306, 0.7457059025764465, 0.068956658244133, -0.47749605774879456, 0.019882604479789734, 0.6923542618751526, -0.2474813461303711, 0.527533233165741, -0...
GenerateRandomBytes returns securely generated random bytes. It will return an error if the system's secure random number generator fails to function correctly, in which case the caller should not continue.
[ -0.16413410007953644, 0.8923344016075134, 0.5264439582824707, 0.998333215713501, 0.05762277543544769, 0.7935705780982971, 0.06064952537417412, -0.9608442783355713, 1.03196382522583, -0.7677798271179199, -0.6983515024185181, -0.5067998766899109, -1.331426739692688, 0.37795770168304443, -0...
GenerateRandomString returns a URLsafe, base64 encoded securely generated random string. It will return an error if the system's secure random number generator fails to function correctly, in which case the caller should not continue.
[ -0.5570253133773804, 0.2531602084636688, 0.3162693381309509, 0.9828104376792908, -0.20266827940940857, 0.5584725141525269, -0.16564959287643433, -0.40546464920043945, 0.598118007183075, -0.7377839088439941, 0.756813645362854, -0.08216524124145508, -0.17722901701927185, -0.14588794112205505...
buildRetool builds retool in a temporary directory and returns the path to the built binary
[ 0.2524634003639221, -1.1436371803283691, 0.4949609935283661, 1.022449016571045, 0.4715706706047058, 0.08008676022291183, 1.1162223815917969, -0.04987407475709915, -0.106878861784935, -1.3644464015960693, -0.8547955751419067, 0.5088008046150208, 0.18138651549816132, -1.4576064348220825, -...
ReadConfig reads a config file with a format defined by CloudStack Cloud Controller Manager, and returns a CloudStackConfig.
[ 0.6468155384063721, -0.2530173063278198, 0.5783600807189941, 0.7451368570327759, -0.26703882217407227, -0.15365613996982574, 0.15234795212745667, 0.6143203973770142, -1.5374025106430054, -0.1505030393600464, -0.10782666504383087, -0.4363250732421875, 0.4625736176967621, 0.4399183988571167,...
+kubebuilder:rbac:groups=jenkinsfilerunner.io,resources=runs,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=jenkinsfilerunner.io,resources=runs/status,verbs=get;update;patch +kubebuilder:rbac:groups=jenkinsfilerunner.io,resources=runs/finalizers,verbs=get;create;update;patch;delete +kubebuilde...
[ -0.354583203792572, -0.5745155811309814, 0.37262243032455444, 0.38106006383895874, 0.20025849342346191, -0.5456082820892334, -0.029224470257759094, 0.16308803856372833, 0.032630518078804016, -0.5453715324401855, 0.16619233787059784, 0.3283281922340393, -0.6286289095878601, 0.59143495559692...
kelvinToCelsius converts K to C
[ 1.5812638998031616, -0.36217015981674194, 0.4828757047653198, -1.1373405456542969, -0.3367611765861511, -0.4288386404514313, -0.788841187953949, -0.06289257854223251, -0.2405233085155487, 0.3162112534046173, -0.6941614151000977, -0.9351624250411987, 0.9039846658706665, -0.18815071880817413...
Handshake connection with addr and returns a peer
[ 0.27442294359207153, -0.17261378467082977, 0.24007806181907654, 0.5618943572044373, -0.830817699432373, -0.5615062713623047, -1.3847942352294922, 0.3796496093273163, 0.4866738021373749, 0.1044735535979271, 0.8208737969398499, -0.6875302791595459, -0.40847015380859375, -0.20684652030467987,...
Download metadata of torrent(tor infohash)
[ 0.9106625914573669, -0.775121808052063, 0.16321952641010284, -0.5086765885353088, 1.5426292419433594, 0.6694819927215576, -1.0512787103652954, -0.3703850209712982, -0.8342870473861694, 0.690609872341156, 0.43401381373405457, 0.7583838701248169, 0.5324833989143372, -0.6621251106262207, -0...
newTempDir create tempDir returns it name,error.
[ -0.5274468064308167, -0.9957817196846008, 0.3888621926307678, 0.4192553758621216, -0.5988284349441528, -0.41012290120124817, 0.23963817954063416, -0.3251935541629791, 0.39665237069129944, -0.07479211688041687, -0.7895107865333557, -1.0755605697631836, -0.17538471519947052, 0.52577328681945...
ADD Deposit amount in balance
[ 0.9491196870803833, -0.39178797602653503, 0.6198601126670837, 0.42244529724121094, -0.5556860566139221, 1.0865411758422852, 0.9020847678184509, -1.082200288772583, 0.9606348872184753, -0.6406089663505554, 0.10441231727600098, -0.5278448462486267, 0.7291757464408875, 0.9459187388420105, 0...
/ ==================== body ====================
[ -0.08543217182159424, -0.3050392270088196, 1.084367036819458, 0.22176481783390045, 0.9528149366378784, 0.5876002907752991, 0.6295937895774841, -0.46729233860969543, 0.5240496397018433, 0.46498095989227295, -1.0891826152801514, -0.20354171097278595, -0.05663154274225235, 0.5992177724838257,...
Schema cli for Model33 register flags to command
[ -0.05608854070305824, 0.991174042224884, 0.0913657397031784, 0.706817626953125, 2.144151210784912, 1.5861098766326904, -0.2697713077068329, -0.48405760526657104, -0.09268134832382202, -0.5145951509475708, -0.5225796103477478, 0.7442216277122498, -0.003968509845435619, 0.5273739099502563, ...
retrieve flags from commands, and set value in model. Return true if any flag is passed by user to fill model field.
[ -0.18145619332790375, 0.30439314246177673, 0.25958743691444397, 0.7863502502441406, 0.6686192154884338, 1.0685824155807495, 0.8381234407424927, -0.9714667797088623, -1.251463770866394, -0.6124621629714966, -0.9229105710983276, -0.9649516940116882, -0.008194348774850368, 1.3526723384857178,...
Values returns all known values for RescoreExecutionPlanStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
[ -0.0022987420670688152, 0.3666187822818756, 0.19101689755916595, 0.6437640190124512, 0.7498188018798828, 0.6439632177352905, -0.5385429859161377, -0.6395569443702698, 0.1974613219499588, 0.5048229098320007, -0.9813862442970276, 0.13900724053382874, 0.2487557977437973, 0.3002726435661316, ...
change DNSDefaultEndpoint to "
[ -0.3544245958328247, 0.5115721821784973, 0.2593398690223694, 0.6776000261306763, 1.288003921508789, 0.1761513352394104, -0.31551477313041687, 0.7070018649101257, 0.3211378753185272, 0.41539546847343445, -0.806159496307373, 0.3554406464099884, 0.3592822253704071, -0.3895220458507538, -0.6...
UnmarshalJSON is a custom unmarshaller to handle poloniex special json format
[ -0.8069387078285217, -0.91371089220047, 0.4043620824813843, -0.9690949320793152, -1.5779356956481934, -0.39408230781555176, -1.193429946899414, 0.37777623534202576, 0.5155045390129089, -0.33460739254951477, -0.30535706877708435, -0.7648540139198303, 0.2520748972892761, -1.1990329027175903,...
ReturnOrderBook returns the orderbook for a specific currencypair up to a certain depth
[ -1.0671050548553467, 0.23342448472976685, 0.5084532499313354, 0.24395787715911865, -1.476619839668274, 0.6606971621513367, 0.262827068567276, -0.8706751465797424, -0.5414308905601501, 0.31764647364616394, 0.6329728364944458, 0.34702709317207336, -1.797663688659668, -0.9832765460014343, -...
scanValues returns the types for scanning values from sql.Rows.
[ -0.11444148421287537, 0.9527615308761597, 0.4098605513572693, 0.946639358997345, 0.07789497077465057, -0.024475106969475746, -0.36197763681411743, -0.79620760679245, 0.5114680528640747, -0.8609367609024048, -0.4028056263923645, 0.1302328109741211, 1.0849542617797852, 0.6107139587402344, ...
assignValues assigns the values that were returned from sql.Rows (after scanning) to the MessageWithID fields.
[ -0.07568559050559998, -0.39323294162750244, 0.1414581835269928, -0.38192543387413025, 0.4177342355251312, -0.7461980581283569, 0.44478827714920044, -0.8893033266067505, -0.1567646712064743, -0.681812047958374, -0.5196192264556885, -0.40840214490890503, -0.4460098147392273, 1.41486680507659...
Update returns a builder for updating this MessageWithID. Note that you need to call MessageWithID.Unwrap() before calling this method if this MessageWithID was returned from a transaction, and the transaction was committed or rolled back.
[ 0.4988615810871124, -0.9265005588531494, 0.39786508679389954, -0.28304097056388855, -0.7913079857826233, -0.19817064702510834, -0.334245502948761, -0.7313334345817566, 0.819542407989502, -0.46498557925224304, 0.46460995078086853, 0.14156334102153778, -1.0853825807571411, 0.2579882144927978...
Unwrap unwraps the MessageWithID entity that was returned from a transaction after it was closed, so that all future queries will be executed through the driver which created the transaction.
[ -0.05474462732672691, -0.49890604615211487, 0.4194287955760956, -1.2642877101898193, -0.246679425239563, -0.909776508808136, 0.24167469143867493, -0.6494304537773132, 0.03750180825591087, -0.26740285754203796, 0.7845621705055237, 0.2038097381591797, 0.14135843515396118, -0.2789134681224823...
String implements the fmt.Stringer.
[ -0.35802018642425537, -1.5810582637786865, 0.21453221142292023, -0.6768918037414551, -0.32525303959846497, 0.6018292903900146, 0.10726158320903778, -0.8095663189888, -0.1302347183227539, -1.3097699880599976, 0.40913793444633484, -0.2947554588317871, 0.6693325638771057, 0.5705350041389465, ...
findMovies will find and return all movies GET /api
[ -1.785677433013916, -0.6760441660881042, 0.6079628467559814, 1.151304841041565, 1.4453620910644531, -0.017288967967033386, 0.11509241163730621, -0.09613338112831116, -1.2042587995529175, 0.4555804133415222, -0.17767742276191711, -0.19353310763835907, -0.6146647930145264, 1.9938580989837646...
findMovie will find a specified movie based off of the id GET /api/:id
[ -1.250942587852478, -1.3337360620498657, 0.48484206199645996, 1.0649642944335938, 1.0604362487792969, -0.13938166201114655, -0.588631272315979, -0.013021739199757576, -0.37364891171455383, -0.025631656870245934, 0.23976585268974304, 0.8550248742103577, -0.8352211713790894, 1.23024725914001...
createMovie will create a new movie and add it to the data base POST /api
[ -1.664062738418579, -0.546769380569458, 0.5991107225418091, 1.6429201364517212, 1.582853078842163, 0.6522310376167297, -1.2636034488677979, 0.15914663672447205, -0.7597799301147461, -0.22822077572345734, -0.7405421137809753, -0.6785851716995239, -0.8574786186218262, 1.213430643081665, -0...
updateMovie will update a movie based off of the id PATCH /api/:id
[ -1.9852243661880493, -2.196621894836426, 0.6246492862701416, 1.0973408222198486, 0.1990039348602295, 0.46535417437553406, -1.0302199125289917, 0.7762575149536133, 0.6901721954345703, 0.19223441183567047, -0.26562586426734924, 1.08303701877594, -0.8273050785064697, 0.6758502721786499, -1....
deleteMovie will delete a movie based off of an id DELETE /api/:id
[ -1.4851676225662231, -1.333046317100525, 0.46555274724960327, 1.3437018394470215, 1.0577960014343262, -0.48939818143844604, -0.9510630965232849, 1.0370979309082031, 0.2318110466003418, 0.0018426066963002086, 0.07630951702594757, 0.912184476852417, -0.9503878951072693, 1.1067553758621216, ...
NewRelease creates a new Release instance
[ -0.04061473160982132, -0.9632335901260376, 0.11871495097875595, 1.0149304866790771, -0.6443461179733276, -0.08633299916982651, -1.2035858631134033, -0.7271853685379028, -0.21884825825691223, -0.6749814748764038, -0.3305932879447937, -0.5550941228866577, -1.151025652885437, 0.52260196208953...
Read downloads the specified Release to the local cache dir and returns a reader to the underyling release package.
[ -0.8581721186637878, -0.4033393859863281, 0.3715866804122925, -0.27862077951431274, -0.6524481177330017, -0.4930112361907959, -0.3777056336402893, -0.6272034645080566, 0.3075585961341858, -0.21070082485675812, 0.5332004427909851, 0.6899586319923401, 0.48332250118255615, -0.7087450623512268...
Pull downloads the specified Release to the local cache dir
[ -0.8242889642715454, -0.4637375473976135, 0.35354524850845337, 0.5051830410957336, -0.09619464725255966, 0.05724442005157471, -0.05727957561612129, 0.1311892867088318, 0.5695395469665527, -0.21626189351081848, -0.30405840277671814, 0.14621438086032867, -0.02395540475845337, -0.364590853452...
NewConcurrencyLimitingBlobReplicator creates a decorator for BlobReplicator that uses a semaphore to place a limit on the number of concurrent replication requests. This can be used to prevent excessive amounts of congestion on the network. The semaphore.Weighted type retains the original request order, meaning that st...
[ 1.0721768140792847, 0.21237915754318237, 0.4232620596885681, 0.23416903614997864, -1.5941845178604126, -0.03896859288215637, 0.2637005150318146, 1.1926052570343018, 0.9443222880363464, 1.1087729930877686, -0.47156089544296265, -0.997452974319458, -1.1696124076843262, -0.31042876839637756, ...
ParseForm parses the request body as a form for POST requests, or the raw query for GET requests. It is idempotent.
[ -0.25269174575805664, 0.7763003706932068, 0.34207358956336975, 0.4243333637714386, 0.7641759514808655, -0.23243965208530426, -0.46066856384277344, -0.5441082715988159, 0.1067495197057724, -1.9042564630508423, -0.000037077934393892065, -0.08127477765083313, 0.49580201506614685, 0.7741343975...
Returns the first parameter given a name, or an empty string
[ 0.00412324070930481, 0.14672040939331055, 0.5528205037117004, -0.4811740815639496, -0.22128497064113617, -0.156681090593338, -0.8659796714782715, -0.966827392578125, -0.061711423099040985, 1.0538979768753052, 0.9064697623252869, 0.11920412629842758, -0.6491516828536987, 0.17577487230300903...
New returns an initialized Exporter.
[ 0.04673617333173752, -1.7539434432983398, 0.14820119738578796, 0.686880350112915, -0.6697281002998352, -0.874966561794281, -0.569541871547699, -0.2772980332374573, 0.023952551186084747, -1.0763053894042969, -0.12264707684516907, -0.12024439126253128, -0.14946249127388, 1.2752277851104736, ...
Describe describes all the metrics ever exported by the Consul exporter. It implements prometheus.Collector.
[ 1.02410888671875, -0.032824862748384476, 0.5232757329940796, -0.1473475992679596, 0.2701943516731262, -0.001955251907929778, -0.3036862015724182, -0.6608195900917053, -0.02413208968937397, -0.08111187815666199, 0.5960997939109802, 0.7105870842933655, -0.07097172737121582, 0.335711717605590...
Collect fetches the stats from configured Consul location and delivers them as Prometheus metrics. It implements prometheus.Collector.
[ 0.9500466585159302, -0.8679402470588684, 0.35155177116394043, -0.07036150991916656, 0.6380733847618103, 0.30876410007476807, -0.2185620814561844, -0.9013528823852539, 0.08478270471096039, -0.01096583716571331, 0.5921207666397095, 0.11426792293787003, 1.0833592414855957, 0.5511863231658936,...
collectHealthSummary collects health information about every node+service combination. It will cause one lookup query per service.
[ -0.28076156973838806, 0.02905903570353985, 0.3415455222129822, -0.16845810413360596, -0.16853067278862, 0.25461480021476746, -0.2995085120201111, -0.6868724822998047, -0.20715893805027008, -0.09951680153608322, 1.2176169157028198, 0.5773272514343262, 1.1498428583145142, 0.3763824999332428,...
go test v github.com/dylenfu/golibs/sense run TestUnsafeBatchIdWriting
[ 0.5278871059417725, -0.32464537024497986, 0.2220490425825119, 0.021499639376997948, 0.9249593615531921, 0.11635254323482513, 0.22225598990917206, -0.20766080915927887, 0.4362567663192749, -0.33814629912376404, -0.6447110176086426, -0.1538897603750229, -0.05498469993472099, -0.2200660109519...
Validate checks if request is valid
[ -0.6235451102256775, 0.07962504029273987, 0.5901564359664917, 1.4896013736724854, 0.30992230772972107, 0.5343342423439026, -1.077807903289795, -0.6520273089408875, -0.2306714653968811, -0.9483374357223511, 1.386684536933899, -0.49198901653289795, -0.8203133344650269, 0.5552709698677063, ...
NewUser returns an empty user.
[ -0.8700965046882629, -0.6091716289520264, -0.0365930050611496, 1.0931930541992188, 0.23858657479286194, 0.4490646719932556, -0.1422984004020691, -1.4021366834640503, 0.15768161416053772, -1.8214058876037598, -1.1965805292129517, -0.379751980304718, -0.4375784993171692, -0.4928082823753357,...
Table returns the table name.
[ 0.9263898134231567, -0.3178769052028656, 0.249381884932518, 1.066813349723816, -0.2959829270839691, 0.22696471214294434, 0.2399604320526123, -0.3988666236400604, -0.5255451202392578, 0.011483445763587952, 0.25003254413604736, -0.38177868723869324, 0.3977736830711365, -0.3351723849773407, ...
PrimaryKey returns the primary key field.
[ 1.1858129501342773, 0.31186407804489136, -0.06685113906860352, 0.2704916000366211, 1.2105071544647217, 0.9435362815856934, 1.2317452430725098, 0.31513282656669617, 1.0145304203033447, -0.5018110871315002, 0.4494364857673645, -1.415151834487915, -0.9446731209754944, -1.1710493564605713, 0...
NewGroup returns an empty group.
[ -0.7013464570045471, 0.38194137811660767, 0.04310942441225052, 0.4702940881252289, -0.08290448784828186, 0.366180956363678, -0.34841635823249817, -1.426321268081665, -0.5499338507652283, -1.5098048448562622, 0.14964669942855835, 0.44047799706459045, -0.5931009650230408, 0.2515939474105835,...
Table returns the table name.
[ 0.9263898134231567, -0.3178769052028656, 0.249381884932518, 1.066813349723816, -0.2959829270839691, 0.22696471214294434, 0.2399604320526123, -0.3988666236400604, -0.5255451202392578, 0.011483445763587952, 0.25003254413604736, -0.38177868723869324, 0.3977736830711365, -0.3351723849773407, ...
PrimaryKey returns the primary key field.
[ 1.1858129501342773, 0.31186407804489136, -0.06685113906860352, 0.2704916000366211, 1.2105071544647217, 0.9435362815856934, 1.2317452430725098, 0.31513282656669617, 1.0145304203033447, -0.5018110871315002, 0.4494364857673645, -1.415151834487915, -0.9446731209754944, -1.1710493564605713, 0...
NewUserStore returns a new query object.
[ 0.44461432099342346, -0.8457228541374207, 0.22365990281105042, 0.9876101613044739, -1.7762575149536133, 0.22276893258094788, -0.324474036693573, -0.5793539881706238, 0.2655188739299774, -1.1227859258651733, 0.16963033378124237, -0.6641886830329895, -0.9126705527305603, -0.6350507736206055,...
Create adds a new user.
[ -0.1448173224925995, 0.602169930934906, -0.07484342157840729, 2.10123348236084, 0.5774375200271606, 0.9879448413848877, -0.17477522790431976, -0.5572667121887207, -0.942322850227356, -1.1050184965133667, -0.920752227306366, -0.6861251592636108, -0.36181730031967163, 0.4913071095943451, -...
NewBankTransferPaymentMethodSpecificOutput constructs a new BankTransferPaymentMethodSpecificOutput
[ 0.8183549642562866, 0.5722058415412903, 0.1641528159379959, -0.1568828523159027, -0.48630791902542114, -0.6947527527809143, 1.1107012033462524, -0.19040633738040924, -0.5763831734657288, 0.24364270269870758, 0.889057993888855, 0.376125305891037, -0.13497111201286316, -0.0414140485227108, ...
start runs commands but does not wait for them to complete.
[ -0.28270959854125977, -0.48512399196624756, 0.36919456720352173, 0.5418989658355713, 0.23407787084579468, 0.3568897247314453, 0.670634388923645, 0.07778722047805786, -0.7649459838867188, -0.4947560727596283, -1.0570350885391235, 0.28363338112831116, 0.31743746995925903, 0.24645039439201355...
run is used for starting commands and waiting for them to complete.
[ -0.33614981174468994, -0.8404759168624878, 0.4841262698173523, 0.3818837106227875, -0.022667407989501953, 0.13719946146011353, 0.8831934332847595, -0.15791340172290802, -0.6330823302268982, -0.8807123899459839, -0.9911468625068665, -0.6639062762260437, 0.32396355271339417, -0.2326775044202...
startSingleInstance starts an instance asynchronyously just as start. However, if there is already an instance with the same name, it will be stopped first before running a new one.
[ -0.8153873085975647, -0.6690037846565247, 0.5500584244728088, 0.2424345463514328, -0.1994689702987671, 0.45712754130363464, -0.08343718200922012, 0.43107253313064575, 0.7696758508682251, 0.1266520917415619, -0.830755889415741, -0.2559938132762909, -0.5140222311019897, 0.44249841570854187, ...
instanceController is a function that is expected to be run as a separate goroutine. It starts and stops instances of user apps.
[ -0.01769731380045414, -0.46748489141464233, 0.4115125834941864, 0.3562661111354828, -0.2919461727142334, 0.8483923077583313, 1.5128952264785767, 0.5565148591995239, -0.2887983024120331, 0.1261792778968811, 0.32816025614738464, 0.14611943066120148, -0.4853593111038208, 0.18591853976249695, ...
WithPrevKV gets the previous keyvalue pair before the event happens. If the previous KV is already compacted, nothing will be returned.
[ 0.5243399739265442, 0.4725959897041321, 0.9040775895118713, 0.7570186257362366, -0.8110707998275757, -1.0957545042037964, -0.018972603604197502, -0.5205069184303284, -0.24919526278972626, -0.014271693304181099, 0.2692837417125702, -0.4446527361869812, -0.521308958530426, 0.4708813726902008...
WithFilterPut discards PUT events from the watcher.
[ 0.7851667404174805, 0.3052065968513489, 0.2552652955055237, -0.4580616056919098, -1.217698097229004, 0.2743229568004608, 1.3566089868545532, -1.536747932434082, -0.34585338830947876, 0.5167287588119507, 0.1405513882637024, 0.03388673812150955, -0.3839614689350128, 0.0533447340130806, 0.1...
The Pagination Store is handling only the pagination functionality in the List. This is an inmemory operation and offloads this from the persistent stores (k8s, postgres etc.) Two reasons why this is needed: There is no filtering + pagination on the native K8S database On Postgres, we keep the object in a column as a s...
[ -0.5589628219604492, -0.02838929556310177, 0.7988287806510925, -0.024866731837391853, -0.5470840334892273, -1.2143583297729492, -0.10798490792512894, -0.39673760533332825, 1.0352506637573242, 0.21714794635772705, 0.034965988248586655, 0.1782229244709015, 0.3097008466720581, 0.5831692218780...
createNodesDiscovery replaces $GOPATH/src/github.com/docker/swarm/cli/manage/createDiscovery Instead of going through dokcker/pkg/discovery interface for the compatiblity with consul, this function creates node based backend directly.
[ 0.9149729609489441, 0.13454514741897583, 0.3714073896408081, 0.4743002951145172, 1.1096545457839966, -0.08378048241138458, 0.8003998398780823, -0.30450984835624695, 0.058462370187044144, -0.026260415092110634, 0.04764161258935928, -0.08418212085962296, 0.8935069441795349, 0.722424924373626...
Validate the values of XML object.
[ 0.04230393469333649, -0.8579714298248291, 0.29583731293678284, 0.6161714792251587, -0.06470052152872086, 1.2558642625808716, -0.668280839920044, -0.4005880355834961, -0.5537277460098267, -0.7374488711357117, -0.03693119436502457, -0.34770578145980835, 0.4100351333618164, 0.2910664677619934...