text
stringlengths
7
2.39k
embedding
listlengths
768
768
LessThanOrEqualTo is a short hand matcher for anyOf(lessThan(x), equalTo(x)) Returns a matcher matching if actual <= expected (using deepEquals).
[ 0.45767298340797424, -0.9864415526390076, 0.38822463154792786, -1.624688982963562, 0.1276809126138687, -0.11907742917537689, -0.7276027202606201, -0.4881288409233093, -0.35794246196746826, -0.31644725799560547, -0.13924428820610046, 0.028604324907064438, 0.6527270078659058, 0.2305951863527...
PossibleAzureScaleTypeValues returns an array of possible values for the AzureScaleType const type.
[ -0.37507641315460205, -0.4505579173564911, 0.6375571489334106, 0.5903159379959106, 0.7626714706420898, 0.7743956446647644, -1.0029456615447998, -0.483142226934433, -0.30955493450164795, 0.8407313227653503, -0.5490024089813232, -0.016093865036964417, 0.49104660749435425, 2.002351760864258, ...
PossibleAzureSkuNameValues returns an array of possible values for the AzureSkuName const type.
[ -0.9710135459899902, -0.1525067687034607, 0.6893150806427002, 1.3405085802078247, -0.1297254115343094, 0.5380479693412781, -0.47835126519203186, 0.40007302165031433, -0.00439464533701539, 0.6775504350662231, -0.058599576354026794, 0.24373382329940796, 0.46014976501464844, 1.173245549201965...
PossibleDatabasePrincipalRoleValues returns an array of possible values for the DatabasePrincipalRole const type.
[ 0.6596261262893677, -0.14037446677684784, 0.39117082953453064, -0.439582884311676, 0.5383053421974182, 1.1029324531555176, -0.7851194143295288, 0.49354103207588196, -0.3093510866165161, 0.09549660980701447, -0.35137519240379333, 0.7257707715034485, -1.5634396076202393, 0.9549891352653503, ...
PossibleDatabasePrincipalTypeValues returns an array of possible values for the DatabasePrincipalType const type.
[ 0.631905198097229, -0.051804933696985245, 0.5627692341804504, -0.05079244449734688, 0.6440132856369019, 1.2088468074798584, -0.5812321305274963, 0.5339317321777344, 0.31462594866752625, 0.4502387046813965, -0.6417298913002014, 0.7347134351730347, -1.50594961643219, 0.8874227404594421, 0....
PossibleDataFormatValues returns an array of possible values for the DataFormat const type.
[ -0.4490794539451599, -0.2640612721443176, 0.4787476360797882, -0.6350566148757935, -0.04733064025640488, 0.37889841198921204, -1.462318778038025, 0.3574995696544647, -0.5528984069824219, -0.8033534288406372, -0.8139638304710388, 0.701356053352356, 0.6447312235832214, 1.4081732034683228, ...
PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
[ -1.0363649129867554, -0.35885778069496155, 0.41019701957702637, 0.7525409460067749, -0.10190383344888687, 0.7844893336296082, -1.3010371923446655, 0.49213504791259766, 0.05206303298473358, 0.386430025100708, -0.4430577754974365, -0.5294526219367981, 0.28543755412101746, 0.6883339285850525,...
PossibleStateValues returns an array of possible values for the State const type.
[ -0.6958205103874207, -0.24263684451580048, 0.5637509226799011, 0.6974191665649414, 0.2232499122619629, 0.46983057260513306, -0.91142737865448, 0.2923189699649811, 0.04437343403697014, -0.1663658171892166, -0.7262439131736755, -0.06688810884952545, 0.48220840096473694, 1.0613971948623657, ...
selfCgroup retrieve lancelot's own cgroup and use it to restrict docker resources created through proxy
[ 0.6558448672294617, 0.05674871802330017, 0.2208361029624939, -0.6302189826965332, -0.535288393497467, -1.001142978668213, 1.6296179294586182, -0.2898692190647125, -0.3239319324493408, -1.5068384408950806, 0.3050319254398346, 0.7382703423500061, -0.25021710991859436, 0.5572819709777832, 0...
Pointer returns a pointer to a freshlyallocated ApplicationType.
[ 0.8058114051818848, -0.8156328797340393, 0.3697585463523865, -0.6193020343780518, 0.4169277250766754, 0.3586089313030243, 0.3752361238002777, -1.8296061754226685, 1.3414260149002075, -0.4195660352706909, 0.8792250752449036, 0.15003718435764313, -0.5912396311759949, 1.012946605682373, 0.6...
Validate validates this application type
[ 0.2668773829936981, -0.028935927897691727, 0.4535583257675171, 1.2333221435546875, 0.4298873841762543, 0.8249086141586304, 0.23639094829559326, -0.5234420299530029, -0.09339841455221176, -0.3652922511100769, 0.38055434823036194, -0.6954767107963562, -1.0232784748077393, 1.812377691268921, ...
ContextValidate validates this application type based on context it is used
[ -0.02203940413892269, -0.7114959359169006, 0.4334636926651001, 0.8975723385810852, 0.4044332802295685, 0.9527129530906677, 0.12559519708156586, -1.139735221862793, 0.7136167883872986, 0.11145324259996414, 0.7443479299545288, 0.275016725063324, -0.8092383742332458, 1.4801069498062134, 0.2...
ValidateUserInput used to Validate the JSON supplied by the user
[ -0.7752789258956909, -1.049070119857788, 0.6271830797195435, 0.12507331371307373, -1.1283094882965088, 1.1064059734344482, 0.7937402725219727, -0.5676761865615845, -0.5140763521194458, 0.008538097143173218, -0.20747089385986328, 0.16018858551979065, -0.5905437469482422, 0.13953590393066406...
3 <= nums.length <= 10^3 10^3 <= nums[i] <= 10^3 10^4 <= target <= 10^4
[ 0.23614934086799622, 0.26761457324028015, 0.5649365186691284, 0.09117631614208221, 0.5883146524429321, 0.31946560740470886, 0.25783872604370117, -0.39400967955589294, 1.415816068649292, 0.21126100420951843, -0.37775254249572754, 0.4585736095905304, -0.7979422807693481, -0.8800551891326904,...
ImageByName returns the hosting.DiskImage with label `name` found in `region`
[ -0.10240832716226578, -0.7394054532051086, 0.2752458453178406, -0.5365791320800781, -0.5629495978355408, -0.3972378969192505, -0.4220053255558014, -0.2226410210132599, -1.2188838720321655, 0.7646769285202026, 0.34149354696273804, -0.02133408561348915, -0.15134389698505402, -0.1776865571737...
ListImagesInRegion returns the list of Images available in `region`
[ -1.1130001544952393, -0.39049625396728516, 0.19533470273017883, -0.26066458225250244, -0.02699780836701393, -0.6277657151222229, -0.6186820268630981, 0.14967572689056396, 0.4555433690547943, 0.7263652086257935, -0.4404139816761017, 0.6293351650238037, -0.14661286771297455, 1.53152525424957...
diskImagev4 > Hosting hosting.DiskImage
[ 0.019539915025234222, 0.8546900749206543, 0.1787763088941574, 0.6915481090545654, -0.16042570769786835, -0.5544902682304382, -0.42359012365341187, 0.301008015871048, -1.608852744102478, -0.140414297580719, 0.905327320098877, 0.32922276854515076, -0.06396378576755524, 0.31548190116882324, ...
Create connects to Slack and returns a Bot
[ 0.4883439540863037, -0.35652607679367065, 0.10040152072906494, 0.598348081111908, 0.7956104278564453, 0.7123362421989441, -1.706697702407837, -1.0539686679840088, -0.9226760268211365, -0.5365179181098938, -0.42972713708877563, 0.264642596244812, 0.10995405912399292, -0.6093671321868896, ...
Listen starts the bot in the listening loop
[ 0.6550559997558594, -1.2083473205566406, 0.10608343780040741, -0.15781095623970032, 0.583801805973053, 1.7340483665466309, -0.3875437378883362, 1.2974002361297607, -0.5001920461654663, -0.46807849407196045, -0.911506712436676, 0.31870412826538086, -0.0685478076338768, 0.2855866849422455, ...
Handle registers a handler for a command
[ -0.024772725999355316, 0.159364253282547, 0.22232866287231445, 0.6503905057907104, 0.8169342279434204, 0.7113747000694275, -0.5809357166290283, 0.3247953951358795, -0.5050911903381348, -2.175704002380371, -0.6390724182128906, 1.4570749998092651, 0.24291495978832245, 0.9230977892875671, 0...
receive receives a message from Slack
[ 0.27904021739959717, 0.32804179191589355, 0.3605656623840332, -0.9336192607879639, 0.8748742341995239, -0.026034047827124596, -0.9217531681060791, -0.5728515982627869, -1.246028184890747, -0.7070662379264832, 0.16507548093795776, 1.139987826347351, -0.2029043287038803, 0.002799496054649353...
reply sends a response to Slack
[ 0.8359739184379578, 0.06469573825597763, 0.04282084107398987, -0.36680305004119873, 0.9805908203125, -0.1880413144826889, -0.9787477254867554, -0.8968168497085571, 0.8178617358207703, -0.6788482069969177, -0.7056088447570801, 0.9116768836975098, -0.13300423324108124, -0.8742679357528687, ...
ensureNodeResolverDaemonset ensures the node resolver daemonset exists if it should or does not exist if it should not exist. Returns a Boolean indicating whether the daemonset exists, the daemonset if it does exist, and an error value.
[ -1.0293041467666626, 0.17015008628368378, 0.6500244140625, -0.701714813709259, 0.6612648963928223, -0.19195015728473663, -0.443047434091568, -0.5818154215812683, -0.39997389912605286, -1.203771948814392, -0.18431389331817627, -0.4112304449081421, 0.20728428661823273, -0.06326146423816681, ...
desiredNodeResolverDaemonSet returns the desired node resolver daemonset.
[ -0.6710229516029358, -0.17768999934196472, 0.2599567472934723, -1.069266676902771, 0.1425797939300537, -0.7947760820388794, -0.21143537759780884, -0.314447820186615, -0.15676945447921753, -1.7615312337875366, 0.49764484167099, 0.7729998230934143, 0.36477863788604736, -0.3872922360897064, ...
currentNodeResolverDaemonSet returns the current DNS node resolver daemonset.
[ -0.5462544560432434, -0.24062052369117737, 0.1839265078306198, -1.258142113685608, -0.16868475079536438, -0.6790919303894043, -0.1854047030210495, -0.5886101126670837, 0.18436239659786224, -1.6428606510162354, 0.4430086314678192, 0.8047901391983032, 0.5959693193435669, -0.643024206161499, ...
createNodeResolverDaemonSet creates a DNS node resolver daemonset.
[ -0.48618990182876587, 0.3627529740333557, 0.12655793130397797, -1.0986448526382446, -0.2076798677444458, -0.6652453541755676, -0.6375483870506287, -0.32207268476486206, 0.07475852221250534, -1.67642343044281, -0.35281139612197876, 0.058517493307590485, 0.6530196666717529, -0.25566291809082...
deleteNodeResolverDaemonSet deletes a DNS node resolver daemonset.
[ -0.4474093019962311, 0.3199676275253296, -0.06779471039772034, -1.0624806880950928, -0.2794569730758667, -0.9665292501449585, -0.36420485377311707, -0.41023918986320496, 0.3945908546447754, -1.5162467956542969, 0.09311733394861221, 0.2843305468559265, 0.7386294603347778, 0.0330358743667602...
updateNodeResolverDaemonSet updates a node resolver daemonset.
[ -1.2715227603912354, -0.43500953912734985, 0.15531636774539948, -1.199378252029419, -0.7079455256462097, -0.9011712670326233, -0.45865994691848755, -0.4123816192150116, -0.06202927604317665, -0.8689994812011719, 0.017800064757466316, 0.17248430848121643, 0.41661059856414795, 0.081875674426...
nodeResolverDaemonSetConfigChanged checks if current config matches the expected config for the node resolver daemonset and if not returns the updated config.
[ -1.114281177520752, -0.620816171169281, 0.39505672454833984, -0.29687583446502686, -0.4040956199169159, -0.4530249536037445, -0.0017542097484692931, 0.06188322603702545, 0.3199109733104706, 0.1728152483701706, 0.37346136569976807, -0.026820553466677666, 0.355249285697937, 0.474367648363113...
get doesn't use mutex lock there maybe concurrent map read or write error. but i found none error...
[ -0.6974790692329407, -1.4905697107315063, 0.6744475960731506, -0.09447745233774185, -0.10135816037654877, -0.14410705864429474, 0.10592352598905563, -0.17407916486263275, 0.47085052728652954, -1.2023476362228394, 0.9111640453338623, 0.26292964816093445, -0.34567028284072876, -0.04372352361...
Cmd wraps the stdlib function exec.Command to log the command and command result
[ 0.155776247382164, -0.8058780431747437, 0.40953177213668823, 0.24640803039073944, -0.24807126820087433, 0.3916141092777252, -0.6920778155326843, 0.10956377536058426, 0.3935409188270569, -0.7744637727737427, 0.42964744567871094, 0.7226337790489197, 1.071290135383606, 0.4224022328853607, 0...
CmdWithTimeout is similar to Cmd, but allows to specify a timeout, and will kill the command if it doesn't exit before the timeout is reached
[ 0.8047452569007874, -1.4753782749176025, 0.6678994297981262, 0.5488197803497314, -0.8084566593170166, 0.39553287625312805, -0.9911523461341858, -0.2636999785900116, 0.13211877644062042, 0.48655733466148376, 0.6829298734664917, 0.2987912893295288, 0.2524054944515228, -0.5632691979408264, ...
Get will fetch a single webhook by the provided ID.
[ 0.6413052082061768, -0.03024144098162651, 0.009870648384094238, 1.1177202463150024, 0.5099194049835205, 0.0398857407271862, -0.40978747606277466, 0.28536757826805115, -0.5528188943862915, -0.06816552579402924, 0.0184102114289999, 1.2498722076416016, -0.297171413898468, 0.44354671239852905,...
List will retrieve all webhooks
[ 0.8368790149688721, -0.10621985793113708, 0.15903770923614502, 0.9175408482551575, 1.1581937074661255, -0.023223616182804108, -0.43062281608581543, 0.7441651225090027, 0.5598814487457275, 0.029083283618092537, -0.651787519454956, 0.3373262882232666, -0.14381060004234314, 0.9429926872253418...
Create will create a new webhook. The only fields required on a webhook are: Scope, Destination and IsActive
[ -0.08422907441854477, -0.16992588341236115, 0.3912067413330078, 1.1447142362594604, 0.814534604549408, 0.8077259659767151, 0.009547511115670204, 0.6847246885299683, -0.5662944912910461, 0.8777346611022949, -1.2052593231201172, 0.33403345942497253, -0.7733690142631531, -0.15896272659301758,...
Update will update a single webhook.
[ -0.11318736523389816, -1.054929494857788, 0.2820281386375427, 1.4857888221740723, -0.0006916522979736328, 0.1678875982761383, 0.061253324151039124, 0.6024681329727173, -0.23144786059856415, 0.5612877607345581, -0.46141889691352844, 0.5593924522399902, -1.3950036764144897, 0.099819995462894...
Delete will delete a webhook by the provided ID.
[ 1.1319035291671753, -0.08867602050304413, 0.17272590100765228, 1.24411940574646, 0.8043079972267151, -0.1336791217327118, -0.20820777118206024, 0.9262785911560059, 0.14369146525859833, 0.7898051142692566, -0.628456711769104, 0.9957526326179504, -0.8297441005706787, 0.46578463912010193, -...
GetKeyResultSuccess is a getter to collect the result success key for validator result verification using by other modules.
[ -0.7753576636314392, 0.18910957872867584, 0.38794299960136414, 0.7264450788497925, -0.1393139660358429, 0.25170043110847473, 0.016430890187621117, -0.28439027070999146, -0.4873090982437134, 0.11352916061878204, -1.5542678833007812, -0.34041300415992737, -0.14044052362442017, -0.56075721979...
NewZoneInterconnectHandler returns a new ZoneInterconnectHandler object
[ 0.2671820819377899, -1.7585119009017944, 0.3921925723552704, 0.001004752703011036, -0.9339674115180969, -0.11147895455360413, 1.1097118854522705, -0.5560541749000549, -0.26698824763298035, -0.029903627932071686, 0.5019126534461975, -1.584195613861084, -1.6014918088912964, -1.37097108364105...
AddLocalZoneNode creates the interconnect resources in OVN NB DB for the local zone node. See createLocalZoneNodeResources() below for more details.
[ 0.2992093861103058, -0.5719863176345825, 0.2608778774738312, -0.4163963794708252, 0.3805151879787445, -0.11260483413934708, 0.31097322702407837, 0.6053502559661865, 1.1971009969711304, -0.2072240710258484, -0.2174178510904312, -0.45333772897720337, -1.0432894229888916, -0.4704234004020691,...
AddRemoteZoneNode creates the interconnect resources in OVN NB DB for the remote zone node. // See createRemoteZoneNodeResources() below for more details.
[ -0.41767004132270813, -0.34226563572883606, 0.4164721965789795, -0.017520282417535782, 0.11601182073354721, 1.0343629121780396, 0.29516318440437317, 0.06532305479049683, 0.7927188873291016, 0.013632257468998432, -1.1768707036972046, -0.016174793243408203, -1.4856176376342773, -1.0277327299...
DeleteNode deletes the local zone node or remote zone node resources
[ 0.6605618000030518, -0.527450442314148, 0.2942792773246765, 0.4694717228412628, 0.5547614097595215, -0.1599026620388031, 0.5977689623832703, 0.9775714874267578, 1.1589725017547607, 0.11578149348497391, 0.419819176197052, 0.8051798343658447, -0.40369221568107605, -0.038306985050439835, -0...
SyncNodes cleans up the interconnect resources present in the OVN Northbound db for the stale nodes
[ -0.38714534044265747, -0.32993844151496887, 0.41701439023017883, -0.4959820508956909, -0.19827038049697876, -0.27692338824272156, 0.10810831189155579, -0.026150144636631012, 0.08557949215173721, 0.9560241103172302, 0.10938932746648788, 0.20881842076778412, -0.45240551233291626, -0.21051134...
Cleanup deletes the transit switch for the network
[ 0.6252228617668152, 0.17338135838508606, 0.22775447368621826, -0.7201487421989441, 0.6546986699104309, 0.7629539966583252, 0.3737252652645111, 0.0667317658662796, 0.19560211896896362, -0.3232300579547882, -0.3926282823085785, -1.9185545444488525, -0.6294409036636353, -0.19587695598602295, ...
createLocalZoneNodeResources creates the local zone node resources for interconnect creates Transit switch if it doesn't yet exit creates a logical switch port of type "router" in the transit switch with the name as .tstor Eg. if the node name is ovnworker and the network is default, the name would be tstorovnworker if...
[ 0.2453230917453766, -0.4133296012878418, 0.36516210436820984, -0.5529351234436035, 0.6130203604698181, -0.4840978682041168, 0.8046951293945312, 0.15260235965251923, 0.5569232106208801, 0.4316568374633789, -0.14695268869400024, -0.6970148682594299, -0.4303203523159027, -0.2233511060476303, ...
createRemoteZoneNodeResources creates the remote zone node resources creates Transit switch if it doesn't yet exit creates a logical port of type "remote" in the transit switch with the name as .tstor. Eg. if the node name is ovnworker and the network is default, the name would be tstor.ovnworker if the node name is ov...
[ -0.02353082410991192, -0.17084716260433197, 0.45113784074783325, -0.7344395518302917, 0.5329490900039673, 0.5144374966621399, 0.1710609495639801, -0.36497053503990173, 0.5166630744934082, 0.17670650780200958, -0.7065550088882446, -0.5487757325172424, -0.5481969118118286, -0.55302894115448,...
cleanupNode cleansup the local zone node or remote zone node resources
[ 0.7082959413528442, -0.5511842370033264, 0.15955810248851776, 0.4596284329891205, -0.3623892664909363, 0.24783791601657867, 0.8871669769287109, 1.0246665477752686, 1.1883479356765747, 0.0830245316028595, -0.07657604664564133, 0.4988502264022827, 0.05828696861863136, 0.039427194744348526, ...
deleteLocalNodeStaticRoutes deletes the static routes added by the function addRemoteNodeStaticRoutes
[ 0.19316916167736053, -0.6144939661026001, 0.33903801441192627, -0.0020110278856009245, 0.42708146572113037, 0.5162851214408875, 0.05971373990178108, 0.8012655973434448, -0.23392771184444427, 0.22246254980564117, -1.0377901792526245, 1.2500965595245361, 0.021670978516340256, 0.3827656805515...
Lock mocks the Lock function of HTTPContext
[ -1.1236400604248047, 0.19050586223602295, 0.3155757486820221, 0.3472977578639984, 0.3762800395488739, 0.5054761171340942, 0.7847640514373779, -1.0037387609481812, 0.9552736282348633, -1.0659140348434448, -0.03005293570458889, -0.10688226670026779, -0.6691774725914001, -0.5281816720962524, ...
Unlock mocks the Unlock function of HTTPContext
[ -1.3336997032165527, -0.08916641026735306, 0.3801076412200928, 0.4537513852119446, -0.19542942941188812, -0.6612536311149597, 0.5490462183952332, 0.07907433807849884, 0.8626927733421326, -0.09344995766878128, 0.008108881302177906, 0.1604090929031372, -0.9258366823196411, -0.683820903301239...
Span mocks the Span function of HTTPContext
[ -0.6494423747062683, -0.1726653128862381, 0.05614523962140083, 0.004943198058754206, 0.06828884035348892, 0.2905345559120178, 0.6348271369934082, -0.7154642939567566, 1.5671709775924683, -1.1353362798690796, -0.6722754240036011, 0.31536850333213806, -0.08813271671533585, 0.1107709631323814...
Request mocks the Request function of HTTPContext
[ -2.263152837753296, -0.40303394198417664, 0.41841554641723633, 0.5384420156478882, 0.6414246559143066, 0.0650591179728508, -0.3740611970424652, -0.4003326892852783, 0.7828888893127441, -0.7734206318855286, 0.12902559340000153, 0.3980403244495392, -0.6261346340179443, 0.0388936884701252, ...
Response mocks the Response function of HTTPContext
[ -0.637209951877594, -1.4479584693908691, 0.22442379593849182, 0.6046161651611328, 0.13958323001861572, -0.0008594513055868447, 0.6073257923126221, -0.5473160743713379, 1.4248738288879395, -0.15048657357692719, -1.0013617277145386, -0.5170246958732605, -1.003569483757019, -0.700854003429412...
Deadline mocks the Deadline function of HTTPContext
[ -0.5470616221427917, -0.8716220855712891, 0.5230525135993958, 0.5259906649589539, -0.31950297951698303, 0.8108342289924622, -0.33464285731315613, -0.28561946749687195, 0.5848344564437866, 0.019161147996783257, -0.34511563181877136, -0.6331850290298462, -0.5688496232032776, 0.04414325580000...
Done mocks the Done function of HTTPContext
[ -1.0012211799621582, -0.16599313914775848, 0.6181937456130981, 0.2180146723985672, 0.5004959106445312, 0.3830055892467499, 0.1319567710161209, -0.7528645992279053, 0.25032708048820496, -0.22810788452625275, -1.2925914525985718, 0.003537040902301669, -0.7526411414146423, 0.641068160533905, ...
Err mocks the Err function of HTTPContext
[ -0.8008452653884888, -0.4424677789211273, 0.25971248745918274, 0.6993372440338135, -0.35475510358810425, 0.974155604839325, 0.01358242891728878, 0.06967166066169739, 0.8419607877731323, -0.12820422649383545, 0.4092786908149719, 0.09249808639287949, -0.6086742877960205, 1.031376600265503, ...
Value mocks the Value function of HTTPContext
[ -1.1564486026763916, -0.646274983882904, 0.31186842918395996, 0.008907687850296497, 0.4400175213813782, 0.3483765125274658, -0.05232885107398033, -1.1367483139038086, 0.9303316473960876, 0.11884450167417526, -0.42972269654273987, 0.3084641396999359, -0.10863377898931503, 0.1149457693099975...
Cancel mocks the Cancel function of HTTPContext
[ -0.0971168652176857, -0.710980236530304, 0.3278784155845642, 0.6935790777206421, -0.6212758421897888, 0.7399922609329224, -0.08197521418333054, 0.14612466096878052, 0.2554343342781067, 0.5710487365722656, -0.5691503882408142, -0.4235611855983734, -0.22570721805095673, -0.016096344217658043...
Cancelled mocks the Cancelled function of HTTPContext
[ -0.02488311566412449, -1.0941804647445679, 0.24044564366340637, 0.849743664264679, -0.44134631752967834, 0.8606149554252625, -0.04961550235748291, -0.07932928949594498, 0.7539705634117126, 0.11865835636854172, -0.5228254199028015, 0.15628546476364136, -0.10343339294195175, -0.5023314356803...
ClientDisconnected mocks the ClientDisconnected function of HTTPContext
[ 0.24762041866779327, -1.3859754800796509, 0.08236034214496613, -0.44821420311927795, 0.07282685488462448, 0.9244668483734131, 0.367400586605072, -0.7912704348564148, 0.23816052079200745, -0.6908223628997803, -0.3450605273246765, -0.43083566427230835, -0.08459528535604477, 0.013583041727542...
Duration mocks the Duration function of HTTPContext
[ -0.8311872482299805, -0.5913397669792175, 0.2783140540122986, 0.3135809898376465, 0.3263266980648041, 0.27378812432289124, 0.2832685708999634, -0.721092164516449, 0.6833804249763489, 0.6960211992263794, -0.800663411617279, -0.28772369027137756, -0.0042705237865448, 0.5005324482917786, -0...
OnFinish mocks the OnFinish function of HTTPContext
[ -0.4955023229122162, -1.0178922414779663, 0.3555985987186432, 0.3569484353065491, 0.0013522825902327895, 0.25976574420928955, -1.250832438468933, -1.060985803604126, -0.4326701760292053, 1.1015328168869019, -1.0363752841949463, -0.19952937960624695, -0.6711689829826355, 1.07826828956604, ...
AddTag mocks the AddTag function of HTTPContext
[ -0.608353316783905, 0.17056381702423096, 0.6111984848976135, 0.48645293712615967, 1.0861567258834839, 0.3467057943344116, -0.40442192554473877, -0.5951594114303589, 0.2916334867477417, -0.2932050824165344, -0.4537658393383026, -0.2164495438337326, -0.715752363204956, 1.3312186002731323, ...
StatMetric mocks the StatMetric function of HTTPContext
[ -0.08834445476531982, 0.11097568273544312, 0.34256264567375183, 0.455735445022583, 0.25146394968032837, 0.3905631899833679, 0.8932653665542603, -1.2690330743789673, -0.0890108272433281, 0.06815171241760254, -0.061245404183864594, -0.022497577592730522, -0.4625881612300873, -0.2118896692991...
Log mocks the Log function of HTTPContext
[ -0.7310839295387268, 0.1230778694152832, 0.32850947976112366, -0.18041682243347168, -0.012847909703850746, 0.24851803481578827, 0.2467081993818283, -0.2524566650390625, 0.8021813631057739, -0.6402584314346313, -0.6203731298446655, 0.18228283524513245, -0.04261641204357147, -0.0261003673076...
Finish mocks the Finish function of HTTPContext
[ -0.7483186721801758, -0.927215576171875, 0.48433491587638855, 0.4062647819519043, -0.1390133798122406, 0.41758662462234497, -0.4718528389930725, -1.2758774757385254, -0.5954009890556335, 0.5998618006706238, -1.2395628690719604, -0.04853961616754532, -1.0822467803955078, 0.8679736256599426,...
Template mocks the Template function of HTTPContext
[ -1.4622517824172974, -0.5379818081855774, 0.32764503359794617, -0.23100677132606506, -0.09730163216590881, -0.3754913806915283, 0.01102218683809042, 0.26656991243362427, 0.3115397095680237, -0.0998789444565773, -0.8016123175621033, -0.7790542840957642, -0.8016123175621033, 0.01265166979283...
SetTemplate mocks the SetTemplate function of HTTPContext
[ -1.3739218711853027, 0.07477395981550217, 0.4940090477466583, -0.3773628771305084, -0.030660558491945267, -0.5617117285728455, 0.19691286981105804, 0.16264602541923523, 0.5485411882400513, 0.08669503778219223, -0.7883824110031128, -0.3600516617298126, -0.9095675349235535, 0.479147106409072...
SaveReqToTemplate mocks the SaveReqToTemplate function of HTTPContext
[ -2.1320292949676514, -0.5246674418449402, 0.3946702778339386, -0.47208109498023987, 0.67681485414505, -0.3002326190471649, 0.16878652572631836, -0.5325402617454529, 0.22617197036743164, 0.6564866304397583, -1.3983856439590454, -1.173669695854187, -0.772316575050354, 0.6772585511207581, -...
SaveRspToTemplate mocks the SaveRspToTemplate function of HTTPContext
[ -1.125759482383728, -0.8375660181045532, 0.1707063764333725, -0.5244928598403931, -0.06179684400558472, 0.03288019448518753, -0.20055244863033295, -0.715303897857666, 0.6263272166252136, 0.6496148109436035, -1.6134546995162964, -1.1142441034317017, -1.3304003477096558, 0.024486351758241653...
CallNextHandler mocks the CallNextHandler function of HTTPContext
[ -0.9699450731277466, 0.026366475969552994, 0.30399569869041443, 0.8075408935546875, -0.9823225140571594, 0.9316896796226501, -0.40091460943222046, -0.7725744247436523, 0.13431964814662933, -0.6998236775398254, -0.25658661127090454, -0.13410091400146484, -1.3944729566574097, 0.4347961246967...
SetHandlerCaller mocks the SetHandlerCaller function of HTTPContext
[ -0.30108076333999634, -0.2051571160554886, 0.2528044283390045, -0.2991896867752075, 0.33669114112854004, 0.98906010389328, 0.09965524822473526, 0.696155846118927, 0.34495535492897034, -1.0233608484268188, -0.5649610161781311, -0.7940881848335266, 0.06102706491947174, 1.0800844430923462, ...
NewModuleClient is the ModuleClient constructor
[ 0.282671719789505, -0.8887879848480225, -0.10520556569099426, 0.557426929473877, 0.08247561007738113, 0.3466561436653137, 0.6087449193000793, 0.17799459397792816, 0.06554466485977173, 0.36701974272727966, -0.4235427677631378, 1.219995141029358, -0.9320279955863953, 0.07297620922327042, -...
GetQueryCmd returns the cli query commands for this module
[ 0.031823378056287766, -0.5105465054512024, 0.31326204538345337, 0.43702495098114014, 1.1830475330352783, 0.7898052930831909, -0.11652619391679764, -0.264183908700943, 0.7501965165138245, -0.7225202918052673, 0.2519109845161438, 0.4488852024078369, -0.10602687299251556, 0.003606025828048587...
GetTxCmd returns the cli transaction commands for this module
[ 0.5533451437950134, -0.07867542654275894, 0.47378623485565186, -0.053493306040763855, 0.9777847528457642, -0.2998596727848053, -0.2465517818927765, -0.40806254744529724, 0.6519188284873962, 0.20793448388576508, -0.08906009048223495, -0.3326723277568817, 0.17577435076236725, -0.749439537525...
RegisterFlags registers JOSE flags with pflags
[ 0.9536735415458679, 1.6281238794326782, 0.0777839943766594, 1.190009355545044, 1.4858957529067993, 0.2425425499677658, -0.4984636902809143, 0.105943463742733, -0.3409516513347626, -1.6366277933120728, -0.9979040026664734, 0.2255314439535141, -0.08066833764314651, 1.8698230981826782, -1.5...
Next returns the node that follows this one
[ -0.29902493953704834, -0.2459014654159546, 0.525262713432312, 0.6521346569061279, -1.1504547595977783, 0.6913701891899109, 0.14055436849594116, -0.7741719484329224, 0.8022720813751221, -0.8459582924842834, -0.3301064968109131, 0.8231444954872131, -0.7230359315872192, 0.2693515121936798, ...
Prev returns the node that precedes this one
[ 0.07239250838756561, 0.3881680369377136, 1.0358574390411377, -0.2833215892314911, -0.2568042278289795, 0.01785442605614662, 1.2610384225845337, -0.26243165135383606, 0.07118996977806091, -0.8397984504699707, -0.16946792602539062, 0.16707837581634521, -0.6655285954475403, 0.0112012848258018...
NewList creates a new doublylinked list. Elements will be inserted such that the 0th element of the slice becomes the head of the list
[ -0.23851633071899414, 0.26940515637397766, 0.3624446988105774, 0.6794573664665222, 0.47013935446739197, -0.642292857170105, -0.038806479424238205, 0.6679098010063171, 1.3220527172088623, 0.06455061584711075, -0.8961719274520874, 0.2907426357269287, 0.17525112628936768, 0.9522592425346375, ...
First returns the node at the head of the list
[ 0.4089930057525635, 0.45628872513771057, 0.7752806544303894, -0.33973491191864014, 0.9984273314476013, -0.48259836435317993, -0.7754138112068176, -0.36363768577575684, 0.45886048674583435, 0.2857929468154907, -0.28833141922950745, 0.794121503829956, -0.4419829547405243, 0.6938722729682922,...
Last returns the node at the tail of the list
[ -0.4430093765258789, 0.10845847427845001, 0.8840923309326172, -0.7627930045127869, 0.6817101836204529, 0.01373735349625349, -0.4921656548976898, -0.4088914096355438, -0.25549018383026123, 0.3004525601863861, -0.4172155559062958, 0.4009915292263031, -0.5627123713493347, -0.11971310526132584...
PushFront pushes the given element on to the the head of the list
[ -0.24980570375919342, 1.3352476358413696, 0.3672023415565491, -0.047730013728141785, 0.2750079333782196, -0.09038985520601273, -1.1604372262954712, -0.15195617079734802, 1.4734724760055542, 0.38660356402397156, -1.0747356414794922, 1.5145694017410278, -0.1280011236667633, 1.121752142906189...
PushBack appends the given element at the tail of the list
[ -0.5705099105834961, 1.317175269126892, 0.7561290860176086, -0.008490800857543945, 0.33923089504241943, 0.728409469127655, -0.6755840182304382, 0.1724810153245926, 1.15724778175354, 0.8701922297477722, -0.24853169918060303, 0.242666557431221, -0.695478081703186, -0.052605096250772476, 0....
PopFront removes the element from the head of the list and returns it
[ 0.344997763633728, 0.15950332581996918, 0.5527752637863159, -0.29776322841644287, -0.35889261960983276, 0.012065223418176174, -0.7263450026512146, 0.10765687376260757, 1.5379739999771118, 0.2682543098926544, -0.7184657454490662, 0.6539264917373657, -0.6539210677146912, -0.075010746717453, ...
PopBack removes the element from the tail of the list and returns it
[ -0.019150802865624428, 0.3799649775028229, 0.9455223679542542, -0.08951451629400253, 0.017119476571679115, 0.31004613637924194, -0.21869684755802155, 0.19448362290859222, 0.8720861673355103, 1.2860679626464844, -0.45569247007369995, 0.2482941448688507, -1.3448668718338013, -0.9660830497741...
Reverse the order of the list
[ -0.9113517999649048, 0.23649334907531738, 0.6155506372451782, -0.2827405631542206, 1.0991692543029785, -0.7048360705375671, -1.2265572547912598, 1.9671287536621094, -0.4762924611568451, -0.013309648260474205, -1.287716269493103, 0.35291942954063416, -0.6797521114349365, -0.0677541345357894...
String implements the fmt.Stringer interface
[ -0.13100333511829376, -1.6039196252822876, 0.32251042127609253, -0.6677025556564331, -0.15660296380519867, 0.9075509309768677, -0.17016273736953735, -0.9432465434074402, -0.1305907666683197, -1.5553547143936157, 0.259809672832489, -0.11090438812971115, 0.046606965363025665, 0.8353937268257...
In order to have an idempotent endpoint in creation of Order, we generate a orderId and the client must use this id in the another endpoint to perform the creation of the Order
[ -0.200689896941185, -0.08351625502109528, 0.6120467185974121, 0.6997844576835632, 1.229130744934082, 0.03836749121546745, -0.8534688353538513, -0.11418785154819489, 0.2112758904695511, 0.4634697437286377, -0.6287150382995605, 0.48831596970558167, -0.14016155898571014, 0.9803314208984375, ...
In order to have an idempotent endpoint,We check if the Order already exist, if it does not, we create one, otherwise we just return the OrderId.
[ -0.4438328742980957, 0.27010565996170044, 0.7953584790229797, 0.5667414665222168, 0.8593515157699585, -0.33501553535461426, -0.6868618726730347, -0.8886619806289673, 0.7167648077011108, 0.7945839166641235, 0.09197639673948288, -0.09774154424667358, -0.6276798844337463, 0.7373583316802979, ...
Using the orderId, we're able to rehydrate the Order model from all the events persisted, so using event sourcing, we can recreate the current status of the Order
[ 0.7413931488990784, -0.3392605483531952, 0.3303219974040985, 0.21574412286281586, 0.23898951709270477, -0.20800498127937317, -0.8689807057380676, 0.6236086487770081, 0.4215213656425476, 0.4925561249256134, -0.601014256477356, -0.13811108469963074, 0.6245165467262268, 0.7112409472465515, ...
Having a productId we can search for a product to obtain information, and then we create a transactionId for the product in order to be idempotent when client want to add a product in the basket
[ 1.21906316280365, 0.7153792977333069, 0.5091428160667419, 0.726469874382019, 0.39995428919792175, 0.022506026551127434, 0.16973678767681122, -0.6890048980712891, 0.7318734526634216, -0.08854145556688309, -0.4270019233226776, -0.030320094898343086, -0.7831989526748657, 0.5296432971954346, ...
We extract from headers the transactionId to ensure that the event has not been sent and process into the service twice implementing then idempotent This event it will implement the add product into the Order for an OrderId
[ 0.3721562325954437, 0.24242399632930756, 0.6559014916419983, -0.037570830434560776, 0.2578105032444, -0.17895880341529846, -0.04129013791680336, -1.261836051940918, 0.9065700173377991, 0.9670203924179077, -0.023692332208156586, -0.14182943105697632, -0.4687579870223999, 0.4922422766685486,...
We extract from headers the transactionId to ensure that the event has not been sent and process into the service twice implementing then idempotent. This event it will implement the remove from the Order, the product that contains the specific Id in a specific OrderId
[ 0.512477457523346, -0.11813279241323471, 0.5946023464202881, 0.056889668107032776, -0.3394168019294739, -1.0131326913833618, 0.08389784395694733, -0.5122200846672058, 0.7132899761199951, 1.2442915439605713, -0.4033687114715576, -0.18372423946857452, -0.6622889041900635, 0.13635073602199554...
TODO: implement JSON marshaling
[ -0.7682669162750244, -1.0002431869506836, 0.3881605267524719, -0.21063083410263062, -0.6149304509162903, -0.31473565101623535, -0.33371448516845703, -0.2970634698867798, 1.1127758026123047, -0.7410832643508911, -0.5615888237953186, 0.6410486698150635, 0.10340719670057297, 1.072908759117126...
NewEmbeddedSIMActivationCode instantiates a new embeddedSIMActivationCode and sets the default values.
[ 1.4164886474609375, -0.4294702112674713, 0.24234004318714142, 1.3248176574707031, 0.02117055095732212, -0.5958811640739441, 0.779725193977356, 1.260296106338501, -0.03268664702773094, 0.09097535908222198, -0.3636424243450165, -0.8803249001502991, 0.07147148996591568, 0.15897713601589203, ...
CreateEmbeddedSIMActivationCodeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
[ 1.6560813188552856, -0.5608751773834229, 0.4238373339176178, 1.6517951488494873, -0.6753613352775574, -0.31450146436691284, 0.3258174657821655, 0.16285286843776703, 1.2321804761886597, -0.7477800846099854, 0.4499388337135315, 0.1325472891330719, 0.9032924771308899, -0.2742079794406891, 0...
GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
[ 0.4839946925640106, -0.5101830959320068, 0.28626447916030884, -0.6387102007865906, -0.6503506898880005, 1.266058325767517, -0.7001436352729797, -0.5627116560935974, 0.8892521262168884, -1.408980131149292, -0.29056480526924133, 0.8235933184623718, -0.6464837789535522, -0.4232446849346161, ...
GetBackingStore gets the backingStore property value. Stores model information.
[ 0.029589608311653137, 0.4541398286819458, 0.0721205323934555, 0.13535752892494202, -0.11391408741474152, 0.44355154037475586, 0.17217227816581726, -0.8436249494552612, -0.15321621298789978, -0.6973977088928223, -0.040967907756567, -1.1564412117004395, -0.7949250936508179, -1.05299699306488...
GetFieldDeserializers the deserialization information for the current model
[ -0.7880921959877014, -0.042342059314250946, 0.30585354566574097, -0.4388497769832611, -0.3483532667160034, -0.8009907007217407, -0.286045640707016, -0.25296729803085327, -0.4882505536079407, -1.1004685163497925, -1.3243589401245117, -1.1867886781692505, -0.1624775528907776, -0.627645373344...
GetIntegratedCircuitCardIdentifier gets the integratedCircuitCardIdentifier property value. The Integrated Circuit Card Identifier (ICCID) for this embedded SIM activation code as provided by the mobile operator.
[ 0.6733638048171997, -0.6509946584701538, 0.48977231979370117, -0.5000354051589966, -0.3320748507976532, -0.08303438127040863, 0.9989478588104248, 0.7674862742424011, 0.8803656101226807, -0.028335051611065865, -0.6196083426475525, -0.08490178734064102, -0.9883891940116882, -1.01196789741516...