text stringlengths 7 2.39k | embedding listlengths 768 768 |
|---|---|
TaskConfigSchema returns the schema for the driver configuration of the task. | [
-1.1449097394943237,
0.038017433136701584,
0.3472793400287628,
0.9554989337921143,
0.5839797258377075,
-0.19101686775684357,
0.3470940887928009,
1.0893402099609375,
-0.7114666104316711,
1.2163368463516235,
-0.32533344626426697,
-1.4205201864242554,
0.01128607988357544,
-0.6809062957763672,... |
Capabilities define what features the driver implements. | [
-0.8132542371749878,
-0.6948131322860718,
0.3041205406188965,
0.8520596623420715,
0.9750357866287231,
-0.6085119247436523,
0.563326358795166,
0.574588418006897,
0.7476351261138916,
-0.7748984694480896,
-0.7888947129249573,
-0.2797356843948364,
0.1857837438583374,
-0.00749766081571579,
-0... |
Fingerprint is called by the client when the plugin is started. It allows the driver to indicate its health to the client. The channel returned should immediately send an initial Fingerprint, then send periodic updates at an interval that is appropriate for the driver until the context is canceled. | [
0.8165809512138367,
-0.7296783328056335,
0.7013031244277954,
-0.09348408132791519,
0.5736458897590637,
-0.14187398552894592,
0.30726632475852966,
-0.41838473081588745,
0.03770343214273453,
-0.5949618220329285,
0.05055424943566322,
0.900744616985321,
-1.233672022819519,
0.12708322703838348,... |
RecoverTask detects running tasks when nomad client or task driver is restarted. When a driver is restarted it is not expected to persist any internal state to disk. To support this, Nomad will attempt to recover a task that was previously started if the driver does not recognize the task ID. During task recovery, Noma... | [
0.7513048648834229,
-0.46085673570632935,
0.3648494780063629,
0.8734943270683289,
0.23867210745811462,
-0.32303500175476074,
0.915908932685852,
0.28466641902923584,
0.19425839185714722,
-1.1796717643737793,
-1.0675886869430542,
0.2825948894023895,
-0.09722276777029037,
-0.25550252199172974... |
BuildContainerName returns the podman container name for a given TaskConfig | [
-1.3560335636138916,
-0.48992905020713806,
0.3037751317024231,
-0.009719396941363811,
-0.8067063689231873,
-0.20871441066265106,
0.6548907160758972,
-0.2951102554798126,
-0.8743796944618225,
0.18404510617256165,
-0.06832166761159897,
-0.15953098237514496,
0.8412465453147888,
0.489538311958... |
StartTask creates and starts a new Container based on the given TaskConfig. | [
0.5876379013061523,
-0.012289968319237232,
0.1838279515504837,
1.680556297302246,
0.014730122871696949,
-0.1859830915927887,
1.1961495876312256,
0.7999835014343262,
-0.2466018944978714,
0.08632893115282059,
-1.1187043190002441,
0.5288724303245544,
1.3179889917373657,
0.5200262069702148,
... |
WaitTask function is expected to return a channel that will send an ExitResult when the task exits or close the channel when the context is canceled. It is also expected that calling WaitTask on an exited task will immediately send an ExitResult on the returned channel. A call to WaitTask after StopTask is valid and sh... | [
-0.17713631689548492,
-0.14240744709968567,
0.8568721413612366,
0.30588993430137634,
0.8562653064727783,
0.1568988859653473,
0.5215460658073425,
0.2180819809436798,
0.3110462725162506,
-0.9603831768035889,
-0.3551035225391388,
-0.24480439722537994,
1.0069913864135742,
-0.2508673071861267,
... |
StopTask function is expected to stop a running task by sending the given signal to it. If the task does not stop during the given timeout, the driver must forcefully kill the task. StopTask does not clean up resources of the task or remove it from the driver's internal state. | [
-0.7516005635261536,
0.13704542815685272,
0.38410958647727966,
0.8637808561325073,
0.137166827917099,
0.22655831277370453,
0.0756300836801529,
0.5134798884391785,
-0.6172085404396057,
0.25166821479797363,
-1.2006968259811401,
-0.15397348999977112,
1.0337234735488892,
-0.7485024929046631,
... |
DestroyTask function cleans up and removes a task that has terminated. If force is set to true, the driver must destroy the task even if it is still running. | [
-0.2914421558380127,
0.4254510700702667,
0.4998190701007843,
0.5149048566818237,
0.41425850987434387,
0.11026422679424286,
0.16530275344848633,
1.0268638134002686,
-0.31925931572914124,
0.5198158025741577,
-0.5471386313438416,
0.011581768281757832,
-0.5007229447364807,
0.1269899159669876,
... |
InspectTask function returns detailed status information for the referenced taskID. | [
-0.4576300382614136,
-0.03338591381907463,
0.17639748752117157,
-0.21082554757595062,
0.14612393081188202,
-0.21004991233348846,
0.21464921534061432,
0.07073971629142761,
0.15128061175346375,
0.40674838423728943,
-0.4326629936695099,
1.0551093816757202,
0.9438968300819397,
0.92013239860534... |
TaskStats function returns a channel which the driver should send stats to at the given interval. The driver must send stats at the given interval until the given context is canceled or the task terminates. | [
0.15521007776260376,
0.6232996582984924,
0.4585507810115814,
-0.8286756873130798,
-0.2170533388853073,
0.45177459716796875,
-0.00010812588152475655,
-1.2861133813858032,
-0.5081934928894043,
-0.6730471849441528,
0.7350961565971375,
0.6387436985969543,
-0.039535824209451675,
-1.127464056015... |
TaskEvents function allows the driver to publish driver specific events about tasks and the Nomad client publishes events associated with an allocation. | [
0.5975968241691589,
-0.28365108370780945,
0.3350079655647278,
0.17094238102436066,
-0.0047075338661670685,
-0.48146602511405945,
1.5318049192428589,
0.46767401695251465,
0.41432860493659973,
0.9214147925376892,
-0.06946562975645065,
0.19702771306037903,
0.5999488234519958,
0.03638859465718... |
SignalTask function is used by drivers which support sending OS signals (SIGHUP, SIGKILL, SIGUSR1 etc.) to the task. It is an optional function and is listed as a capability in the driver Capabilities struct. | [
-0.5675821900367737,
-0.40525346994400024,
0.7436927556991577,
2.0573232173919678,
0.45836198329925537,
-0.11330507695674896,
0.333701491355896,
0.5281006693840027,
0.37954583764076233,
0.1585242748260498,
-1.3962759971618652,
0.26055577397346497,
0.9584770798683167,
-0.17007113993167877,
... |
ExecTask function is used by the Nomad client to execute commands inside the task execution context. | [
0.07886798679828644,
-0.13101078569889069,
0.43890878558158875,
1.0581622123718262,
-0.189414843916893,
-0.34930482506752014,
0.7723520398139954,
0.05238929018378258,
-0.6241421103477478,
0.8090049624443054,
0.08997547626495361,
0.07261908799409866,
1.2481939792633057,
-0.5777592062950134,... |
expandPath returns the absolute path of dir, relative to base if dir is relative path. base is expected to be an absolute path | [
0.18594609200954437,
0.22754959762096405,
0.7717464566230774,
0.9152964353561401,
-0.6164041757583618,
0.2850594222545624,
0.13022132217884064,
-0.5753868222236633,
0.766148030757904,
-0.5229253172874451,
1.2650506496429443,
-0.6267715096473694,
-0.667602002620697,
0.5252206921577454,
0.... |
isParentPath returns true if path is a child or a descendant of parent path. Both inputs need to be absolute paths. | [
0.7489482164382935,
0.006901334505528212,
0.5465554594993591,
1.5588929653167725,
-0.3048907220363617,
0.5923129916191101,
0.289752334356308,
-0.805195152759552,
-0.1607145071029663,
-0.016808565706014633,
0.6597435474395752,
-0.456460565328598,
-0.2236463874578476,
0.22443754971027374,
... |
GetOcJusticeTerminalCase invokes the dt_oc_info.GetOcJusticeTerminalCase API synchronously | [
1.34898042678833,
-0.3664814233779907,
0.6718860268592834,
-0.5820929408073425,
0.027397574856877327,
-0.9380851984024048,
-0.24047327041625977,
-0.8198362588882446,
-0.24234187602996826,
0.32225659489631653,
2.205286979675293,
0.06829065084457397,
-0.6107487678527832,
-1.0315642356872559,... |
GetOcJusticeTerminalCaseWithChan invokes the dt_oc_info.GetOcJusticeTerminalCase API asynchronously | [
1.0301916599273682,
-0.5712820291519165,
0.5994018316268921,
-0.9512539505958557,
0.38693851232528687,
-0.6248135566711426,
-0.47275325655937195,
-0.8572536706924438,
-0.15980172157287598,
0.16914650797843933,
1.7257438898086548,
0.5610795021057129,
-0.3870029151439667,
-0.6303809881210327... |
GetOcJusticeTerminalCaseWithCallback invokes the dt_oc_info.GetOcJusticeTerminalCase API asynchronously | [
1.6824854612350464,
-0.05127101391553879,
0.7150979042053223,
-0.6229071617126465,
-0.13573582470417023,
-0.7766879796981812,
-0.3203617036342621,
-0.6151784658432007,
0.42250731587409973,
0.6079229712486267,
1.890133261680603,
-0.36514177918434143,
0.07309780269861221,
-0.8586572408676147... |
CreateGetOcJusticeTerminalCaseRequest creates a request to invoke GetOcJusticeTerminalCase API | [
0.8066597580909729,
-0.8105181455612183,
0.6933435797691345,
-0.1977897584438324,
0.18084947764873505,
-0.8684619069099426,
-0.040651172399520874,
-0.4858972132205963,
-0.413411945104599,
0.5280054211616516,
1.740465760231018,
0.7657837867736816,
-0.016461016610264778,
-0.11172207444906235... |
CreateGetOcJusticeTerminalCaseResponse creates a response to parse from GetOcJusticeTerminalCase response | [
1.5648610591888428,
-1.6972984075546265,
0.4462609589099884,
-0.7724958658218384,
0.05776947736740112,
-0.5829175114631653,
-0.0698322057723999,
-1.0448102951049805,
0.21953937411308289,
0.7086384892463684,
1.2747160196304321,
-0.8441444039344788,
-0.4153205454349518,
-1.0232948064804077,
... |
GetQueryCmd adds the query commands | [
0.4448200464248657,
-0.3345769941806793,
0.3832605183124542,
0.4609137773513794,
1.3724645376205444,
0.29954496026039124,
-0.3245900273323059,
-0.08493877202272415,
0.59041827917099,
-1.201738953590393,
0.18928474187850952,
0.2597287595272064,
0.034640345722436905,
0.398463636636734,
-1.... |
GetCmdQueryProfile queries a profile from the given address or dtag | [
0.8161181807518005,
0.3210572302341461,
0.2051808387041092,
0.5320475101470947,
-0.30887332558631897,
-0.10277750343084335,
-0.33555281162261963,
-0.8665733337402344,
0.1334233283996582,
-0.2376895695924759,
0.7171392440795898,
-0.3210298717021942,
-0.09850571304559708,
-0.5600500702857971... |
GetCmdQueryProfiles queries all the profiles | [
0.599712073802948,
0.30486372113227844,
0.3282593786716461,
0.8447381854057312,
0.7295700311660767,
0.8610193729400635,
-0.3640323281288147,
-0.3525483310222626,
0.19469225406646729,
-0.23059049248695374,
0.24812692403793335,
-0.501910388469696,
-0.703919529914856,
-0.08221258223056793,
... |
GetCmdQueryProfileParams queries all the profiles' module params | [
0.468777596950531,
-0.2719598114490509,
0.2794654667377472,
0.8921396136283875,
0.9006450176239014,
0.8676339387893677,
-0.24007515609264374,
0.011327776126563549,
-0.28145670890808105,
0.08657578378915787,
-0.10051820427179337,
0.041299156844615936,
-0.7152193188667297,
0.7826178669929504... |
Setup sets up all endpoints and middleware for the server | [
-0.09897007793188095,
-0.34293222427368164,
0.17151036858558655,
1.0816047191619873,
0.6238809823989868,
-0.013529643416404724,
-0.11563281714916229,
0.2657521367073059,
0.6639810800552368,
0.7173573970794678,
-0.45219549536705017,
0.6846193671226501,
-0.4382006525993347,
0.739278078079223... |
104 / 5 =====> 20 4 | [
0.13354384899139404,
-0.02163473330438137,
0.4073110520839691,
-0.15639753639698029,
0.31034544110298157,
-0.765163242816925,
1.769087791442871,
-1.013514518737793,
-0.49458417296409607,
-0.032143354415893555,
-1.9663054943084717,
-0.8160240054130554,
0.031130628660321236,
0.33987689018249... |
stringView returns a view of the []byte as a string. In unsafe mode, it doesn't incur allocation and copying caused by conversion. In regular safe mode, it is an allocation and copy. Usage: Always maintain a reference to v while result of this call is in use, and call keepAlive4BytesView(v) at point where done with vie... | [
-0.2895049750804901,
-1.0029467344284058,
0.6958400011062622,
-0.5269774794578552,
-1.094559907913208,
-0.197479248046875,
0.007993148639798164,
-1.2668402194976807,
0.6715759038925171,
-0.17163951694965363,
0.2423110455274582,
0.2173670083284378,
-1.2578281164169312,
-1.2861663103103638,
... |
bytesView returns a view of the string as a []byte. In unsafe mode, it doesn't incur allocation and copying caused by conversion. In regular safe mode, it is an allocation and copy. Usage: Always maintain a reference to v while result of this call is in use, and call keepAlive4BytesView(v) at point where done with view... | [
-0.19571998715400696,
-0.8610270023345947,
0.6273037195205688,
-0.20422598719596863,
-0.8451663851737976,
-0.4991772472858429,
-0.35536760091781616,
-1.0562595129013062,
0.18118005990982056,
-0.8954912424087524,
0.1330128163099289,
0.7570697069168091,
-1.0991123914718628,
-0.96842640638351... |
NewNode creates a new node base around this configuration | [
-0.1506974995136261,
-0.5339915156364441,
0.07767092436552048,
0.44567811489105225,
0.4204373359680176,
0.069060318171978,
0.23467783629894257,
0.27225691080093384,
0.24255144596099854,
-0.19094343483448029,
-0.4670616686344147,
0.16479723155498505,
-0.4031863212585449,
0.5415897369384766,... |
Shutdown does what is on the box | [
-0.9279652833938599,
-0.486104816198349,
0.24828898906707764,
0.5405112504959106,
0.2049844115972519,
-0.3485488295555115,
-0.11572012305259705,
-0.3268364667892456,
0.7892734408378601,
0.14562329649925232,
0.033272698521614075,
-0.08052588999271393,
-0.1023966372013092,
0.3148908019065857... |
Subscribe will create a channel that will be published to each time a change on ONE partition changes | [
1.0405915975570679,
-0.6312927007675171,
0.5225841403007507,
0.4104670286178589,
-0.02048121951520443,
-0.21346814930438995,
-1.097048282623291,
0.013514355756342411,
-0.5295702219009399,
-1.230500340461731,
0.4131718575954437,
0.4267190098762512,
-0.2476513534784317,
-0.1598518043756485,
... |
SubscribeToAll creates a channel that is registered to ALL of the different partitions | [
0.9994033575057983,
0.1944732815027237,
0.5946170687675476,
0.31286439299583435,
1.045179009437561,
-0.47672104835510254,
-1.0964301824569702,
0.05677924305200577,
-0.18525603413581848,
-0.8301529288291931,
0.20902976393699646,
0.9343616366386414,
-0.04136575758457184,
0.5016217827796936,
... |
RegisterStrategy allows a different RoutingStrategy to be specified for a given topic | [
0.07494427263736725,
0.7169972658157349,
0.5874403715133667,
0.4033936858177185,
0.9889775514602661,
0.03974708542227745,
-0.985810399055481,
-0.20052748918533325,
0.08957720547914505,
-0.2294919192790985,
0.34300994873046875,
0.6745554208755493,
-0.08981030434370041,
0.5786707401275635,
... |
Write write the payload to a parition in the topic based on the RoutingStrategy specified | [
-0.601751446723938,
-0.33086058497428894,
0.5346408486366272,
-0.5241755247116089,
1.290083408355713,
0.2729134261608124,
-0.46055230498313904,
0.16270974278450012,
-0.364087849855423,
1.0138999223709106,
1.1913278102874756,
-0.5798057913780212,
-0.5966293811798096,
-0.08745916187763214,
... |
responsible for (1) discovering if we have seen this topic before, otherwise fetching it | [
0.9759138226509094,
0.15546946227550507,
0.43251702189445496,
0.4288502335548401,
0.5180256962776184,
-0.5293275117874146,
-0.13688047230243683,
-1.577007532119751,
0.5258643627166748,
0.31563737988471985,
0.532723069190979,
-0.4143046736717224,
0.2558794617652893,
0.9074862003326416,
-0... |
GetFileContentType : Gets file content type | [
1.1146159172058105,
-1.532461404800415,
0.4605315327644348,
0.275273859500885,
0.6169905066490173,
-0.5936986207962036,
0.3955468535423279,
-0.3002650737762451,
-1.6722829341888428,
0.357435405254364,
0.4979587495326996,
-0.19002163410186768,
-0.37803906202316284,
-0.6623742580413818,
-0... |
New creates a new topic | [
0.4735221564769745,
-0.7630462050437927,
0.18079617619514465,
1.0205878019332886,
0.028121421113610268,
0.10205628722906113,
-1.081408977508545,
-0.3919619023799896,
-1.553253173828125,
-0.6395779848098755,
0.2183338701725006,
-0.7533931136131287,
-0.009729000739753246,
0.12304408848285675... |
Restore creates a topic with an existing wal | [
1.4905812740325928,
-0.6944683790206909,
0.2619149088859558,
-0.03606247156858444,
0.45986342430114746,
0.5059273838996887,
-1.0190544128417969,
-0.7184183597564697,
0.013306546956300735,
-0.1365368366241455,
1.0628061294555664,
-0.13703545928001404,
-0.8770654201507568,
-1.2921142578125,
... |
Append appends to the wal of this topic | [
0.47186267375946045,
-0.08439821004867554,
0.13694444298744202,
-0.7246120572090149,
0.6529807448387146,
1.1181658506393433,
-1.601438045501709,
-1.0114927291870117,
0.012640975415706635,
-0.851527750492096,
0.7484795451164246,
0.12702444195747375,
-0.08023776859045029,
0.9669052958488464,... |
Close closes the underlying wal | [
0.2387351095676422,
-0.46191516518592834,
0.5070915818214417,
-0.3138525187969208,
-0.30201900005340576,
1.402290940284729,
0.36827924847602844,
-1.1928163766860962,
-0.2692638337612152,
-1.8493484258651733,
0.770396888256073,
-0.05000291019678116,
0.14595788717269897,
1.3665512800216675,
... |
NewReader gets a reader of a wal TODO The index might not exist in this wal so we want to find either the index or the next index after the one given This is because during recovery in a multitopic syncable we may not know exactly what we are looking for and we are just checking to make sure we didn't miss anything. | [
-0.11875711381435394,
-0.11912383139133453,
0.49465757608413696,
0.24882227182388306,
-0.05731809884309769,
-0.21379156410694122,
-0.4215221703052521,
-1.2611241340637207,
0.5139615535736084,
-0.5522022247314453,
1.415266752243042,
0.17557327449321747,
-0.7021456360816956,
0.15009830892086... |
TODO This is a testing only function. Can we test a different way? | [
-0.06364912539720535,
-0.84010910987854,
0.49265480041503906,
0.8216820955276489,
0.49981141090393066,
-0.03726177290081978,
0.9381892085075378,
-0.012282051146030426,
0.6083279848098755,
-0.7728343605995178,
-0.2559759318828583,
0.23666124045848846,
-0.43540552258491516,
0.199465334415435... |
Next gets the next AcceptedProposal or blocks | [
-0.03137858584523201,
0.8671720623970032,
0.2776337265968323,
0.32162266969680786,
-1.8462623357772827,
-0.00399756757542491,
-0.6444101333618164,
0.03329214081168175,
0.05772113800048828,
0.35563597083091736,
0.7118956446647644,
0.2639394700527191,
-0.9330877661705017,
0.27189356088638306... |
Create some middleware which swaps out the existing request context with new context.Context value containing the connection pool. | [
-0.5184897780418396,
-0.6467034816741943,
0.40404191613197327,
0.45038673281669617,
0.20998695492744446,
0.12192679941654205,
-0.9412199854850769,
-0.6578081250190735,
0.4035901725292206,
-0.33061885833740234,
0.5975239276885986,
0.7602623701095581,
-0.4083404541015625,
-0.7295459508895874... |
User will inject the databaseTx in the `User` schema | [
-0.21538281440734863,
1.3434975147247314,
0.2811771333217621,
0.5392119288444519,
-0.35022222995758057,
0.6997942924499512,
0.059733737260103226,
0.14126446843147278,
0.9865847826004028,
-0.545375406742096,
-1.0881145000457764,
-0.19690780341625214,
0.3602335751056671,
-0.5272906422615051,... |
Role will inject the databaseTx in the `Role` schema | [
-0.06094905734062195,
1.1155704259872437,
0.2419304996728897,
-0.8459639549255371,
0.8797277808189392,
0.17396555840969086,
-0.3589218854904175,
1.0251795053482056,
0.9971489310264587,
0.24773961305618286,
-0.29431718587875366,
-0.3414370119571686,
0.10866796970367432,
-0.2763998210430145,... |
Permission will inject the databaseTx in the `Permission` schema | [
0.03713267296552658,
1.3786698579788208,
0.2690102458000183,
0.4891822636127472,
0.5382503867149353,
0.18144908547401428,
-0.3575553894042969,
0.8168126940727234,
0.7857983112335205,
0.3919229209423065,
0.05121595039963722,
-0.6930779218673706,
-0.43240880966186523,
-0.5531982779502869,
... |
Rule will inject the databaseTx in the `Rule` schema | [
0.18685650825500488,
1.6008472442626953,
0.3305070698261261,
-0.7388418316841125,
1.6187002658843994,
0.7821701169013977,
-0.23294396698474884,
1.2098720073699951,
0.5682032704353333,
-0.014495723880827427,
0.030368516221642494,
0.36674487590789795,
0.1200636476278305,
-0.03416162356734276... |
GetTx function will return specific database transaction | [
0.2313338965177536,
1.0865681171417236,
0.29346010088920593,
0.44421401619911194,
0.5724911093711853,
-0.7571867108345032,
-0.5153267979621887,
0.46118292212486267,
0.5772323608398438,
0.6126601099967957,
-1.0447267293930054,
-0.17168886959552765,
0.034117285162210464,
-0.6068325042724609,... |
mark text as Output type | [
-0.9344555139541626,
-0.4947575628757477,
0.021451283246278763,
0.6934930682182312,
-0.7754455208778381,
-0.16213223338127136,
0.3374973237514496,
-0.6519947648048401,
-0.023046893998980522,
0.5857519507408142,
-0.07542776316404343,
0.6095547080039978,
-0.5764293670654297,
-0.3680792748928... |
Class or classes to add | [
-1.0372613668441772,
0.39241376519203186,
0.547825038433075,
1.1252062320709229,
1.1011959314346313,
0.49113479256629944,
-0.5846937298774719,
-0.007322406861931086,
2.2631893157958984,
-1.5162039995193481,
0.28659898042678833,
-0.20276455581188202,
0.6127535700798035,
0.4389978051185608,
... |
On defines an event handler | [
1.1088228225708008,
-0.5219405889511108,
0.4077731668949127,
1.0280871391296387,
-0.40859541296958923,
0.42273980379104614,
-1.2808016538619995,
1.3749955892562866,
-0.03219236060976982,
-0.8134048581123352,
-1.6245697736740112,
0.2830471694469452,
0.7197788953781128,
0.4300442636013031,
... |
mark HTML as Output type | [
-0.9402191042900085,
0.11183243989944458,
0.09023577719926834,
1.1839579343795776,
-0.37885305285453796,
-0.22683797776699066,
1.013162612915039,
-1.0277600288391113,
-0.07218111306428909,
0.3717575967311859,
0.32581475377082825,
0.7118471264839172,
-0.367183655500412,
0.23695102334022522,... |
Update is for component to have itself rerendered. | [
-0.45851990580558777,
-1.8238977193832397,
0.44588571786880493,
-0.4063681364059448,
-0.35691899061203003,
0.3465349078178406,
-0.5668011903762817,
0.41573566198349,
0.9871951937675476,
-0.5287103652954102,
0.07016473263502121,
-0.6222020387649536,
-0.023279860615730286,
0.2112822979688644... |
/ NewComboBoxSelector :initializer of combo box selector | [
-0.8019511699676514,
-1.2901753187179565,
0.21885636448860168,
0.3127724826335907,
0.4172530770301819,
-0.9928882718086243,
0.29665595293045044,
0.3168274164199829,
0.06174049153923988,
-0.5316188335418701,
-1.3632935285568237,
-0.790537416934967,
-0.4802013337612152,
-0.20243556797504425,... |
TODO solve this problem by DFS & WFS | [
-0.6440227031707764,
0.07641181349754333,
0.46092459559440613,
0.5328332185745239,
-0.6857227087020874,
-1.0801794528961182,
1.1585438251495361,
0.06323103606700897,
0.528566837310791,
0.15260016918182373,
0.6130194664001465,
-0.33757320046424866,
-0.6293862462043762,
0.9882922172546387,
... |
NewFileInfo returns a new FileInfo for testing. | [
1.076606035232544,
-1.9069223403930664,
0.27755123376846313,
-0.31758683919906616,
-0.20954173803329468,
0.6801511645317078,
0.03517156094312668,
-0.229958176612854,
-0.8034462928771973,
-0.7515053749084473,
-0.8182119727134705,
-0.18228779733181,
-0.5453254580497742,
0.224249005317688,
... |
branchName takes the root directory and relative path to the directory and returns the branch name | [
0.5188180208206177,
-0.5473597049713135,
0.60597825050354,
1.4886785745620728,
-0.816180944442749,
0.5995774865150452,
0.5267402529716492,
0.14265896379947662,
-0.6660958528518677,
-0.26945844292640686,
0.7915259003639221,
0.4258391559123993,
0.20802374184131622,
0.380733847618103,
0.324... |
Write writes the ascii tree to p.Writer | [
-0.7547587752342224,
-0.061994705349206924,
0.22958433628082275,
-0.8435651659965515,
0.5824179649353027,
0.14005181193351746,
-0.30592575669288635,
0.9597775340080261,
-0.5794780850410461,
0.23306624591350555,
-0.008257974870502949,
-0.4695427715778351,
-0.4890258312225342,
0.296317249536... |
Tree adds this node to the root | [
0.6522359848022461,
-0.14867670834064484,
0.5523629188537598,
-0.14948253333568573,
0.36760297417640686,
0.2504081726074219,
-0.6942774653434753,
-0.14533710479736328,
0.763191282749176,
-0.31837695837020874,
-0.2920217514038086,
1.5809015035629272,
-0.5735151767730713,
1.2972350120544434,... |
graphStructure writes the tree using owners for structure | [
-0.6612836122512817,
0.06861522048711777,
0.07892502844333649,
-0.007695049047470093,
0.48760101199150085,
-0.2515396773815155,
0.6683201193809509,
-0.017134180292487144,
0.5160503387451172,
-0.8706743121147156,
0.7579266428947449,
-0.08603879064321518,
0.13955071568489075,
-0.715801358222... |
nodeToString generates a string to identify the node matches ownerToString format | [
-0.9839134216308594,
-0.7242051959037781,
0.25192973017692566,
-0.45906639099121094,
-0.0899323895573616,
0.14585237205028534,
-0.41613173484802246,
-0.6092045307159424,
0.11773432046175003,
-0.5472807288169861,
0.7630356550216675,
0.42431697249412537,
0.6053160429000854,
-0.77173519134521... |
ownerToString generate a string to identify the owner matches nodeToString format | [
-1.0197144746780396,
-0.42883920669555664,
0.23974968492984772,
0.1407114714384079,
-0.5938898921012878,
-0.031056789681315422,
-0.22115390002727509,
-1.0379457473754883,
0.17267991602420807,
-0.6426305174827576,
0.7754405736923218,
0.23781566321849823,
0.621585488319397,
-1.09423494338989... |
index indexes the Resources by their package | [
-0.5876263976097107,
0.17830237746238708,
0.024201439693570137,
-0.42164483666419983,
0.19463324546813965,
-0.6125537157058716,
1.1607346534729004,
0.8188900947570801,
0.4924547076225281,
0.1059558168053627,
-0.011772096157073975,
-1.1895297765731812,
0.603728175163269,
-0.4696390926837921... |
sort sorts the Resources in the index in display order and returns the ordered keys for the index Packages are sorted by package name Resources within a package are sorted by: [filename, namespace, name, kind, apiVersion] | [
-1.0752867460250854,
-0.3700259029865265,
0.3806823194026947,
-1.0487971305847168,
-0.7184115052223206,
-0.3908940255641937,
-0.06645310670137405,
-0.7915248274803162,
0.23604464530944824,
0.18342922627925873,
0.1909910887479782,
-0.34096187353134155,
-0.3304859697818756,
-0.04052434861660... |
getFields looks up p.Fields from leaf and structures them into treeFields. TODO(pwittrock): simplify this function | [
0.43624064326286316,
0.5061178207397461,
0.2410467118024826,
0.09255670756101608,
0.7353062629699707,
-0.20863543450832367,
-0.21183866262435913,
-0.3183404207229614,
-0.4351247549057007,
-0.586056649684906,
-0.7553904056549072,
-0.436836838722229,
-1.0207675695419312,
-0.5405276417732239,... |
NewCopyRecipeToMyRecipesWithChangesParams creates a new CopyRecipeToMyRecipesWithChangesParams object with the default values initialized. | [
0.2537997364997864,
-0.12939566373825073,
0.226659893989563,
0.5073186755180359,
-0.5494583249092102,
-0.6322407126426697,
0.2022324800491333,
0.7364131212234497,
-0.16745150089263916,
0.43747419118881226,
-0.4264216423034668,
-0.07530280947685242,
-0.5933547616004944,
0.35158342123031616,... |
NewCopyRecipeToMyRecipesWithChangesParamsWithTimeout creates a new CopyRecipeToMyRecipesWithChangesParams object with the default values initialized, and the ability to set a timeout on a request | [
0.6007217168807983,
-0.03723110258579254,
0.35608184337615967,
0.3770212233066559,
-1.0188117027282715,
-0.30179494619369507,
-0.5732890963554382,
0.8194620013237,
-0.22556596994400024,
1.225454330444336,
-0.46201959252357483,
0.42588597536087036,
-0.679408609867096,
0.21748501062393188,
... |
NewCopyRecipeToMyRecipesWithChangesParamsWithContext creates a new CopyRecipeToMyRecipesWithChangesParams object with the default values initialized, and the ability to set a context for a request | [
0.02174610272049904,
0.17937071621418,
0.6183308959007263,
-0.016694752499461174,
-0.6067252159118652,
-0.4057474434375763,
-0.48892390727996826,
0.31057092547416687,
0.3491779565811157,
0.7058297395706177,
-0.4459817111492157,
0.688063383102417,
-0.42505353689193726,
0.03533313795924187,
... |
NewCopyRecipeToMyRecipesWithChangesParamsWithHTTPClient creates a new CopyRecipeToMyRecipesWithChangesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request | [
0.2122655063867569,
-0.28870534896850586,
0.4661226272583008,
-0.1682918518781662,
-0.46183741092681885,
-0.18392860889434814,
0.11314036697149277,
0.9046432375907898,
-0.5617425441741943,
0.3399786055088043,
-0.7935208678245544,
0.510375440120697,
-0.32807281613349915,
0.13842076063156128... |
WithTimeout adds the timeout to the copy recipe to my recipes with changes params | [
0.32612329721450806,
-0.6219077706336975,
0.4892006516456604,
-0.005398147739470005,
-1.6748682260513306,
-0.3568921685218811,
-0.7323816418647766,
1.0961428880691528,
0.565075695514679,
1.5018631219863892,
-0.16892476379871368,
0.6908978223800659,
0.3364815413951874,
-0.19377876818180084,... |
SetTimeout adds the timeout to the copy recipe to my recipes with changes params | [
-0.1537586748600006,
-0.3018595278263092,
0.44262829422950745,
-0.0626714825630188,
-1.17739737033844,
-0.05084450915455818,
-0.593518078327179,
1.4906591176986694,
0.3396492600440979,
1.496029019355774,
-0.04320346564054489,
0.6891459226608276,
0.2952822744846344,
-0.22968922555446625,
... |
WithContext adds the context to the copy recipe to my recipes with changes params | [
-0.19505326449871063,
-0.5853540897369385,
0.5689892172813416,
-0.16092436015605927,
-1.6748117208480835,
-0.26832279562950134,
-0.6216530799865723,
0.2078298181295395,
1.21431565284729,
0.7818683385848999,
-0.24269472062587738,
0.8269638419151306,
0.34856081008911133,
-0.17669568955898285... |
SetContext adds the context to the copy recipe to my recipes with changes params | [
-0.6683882474899292,
-0.16071200370788574,
0.515788733959198,
0.1543656289577484,
-0.9270849823951721,
-0.07422138750553131,
-0.5997551679611206,
0.7997711300849915,
1.2215899229049683,
0.8258160948753357,
-0.2670178711414337,
1.153430700302124,
0.3716737926006317,
0.037873778492212296,
... |
WithHTTPClient adds the HTTPClient to the copy recipe to my recipes with changes params | [
-0.046853527426719666,
-0.6471795439720154,
0.49999165534973145,
-0.20023734867572784,
-1.2815985679626465,
-0.3234028220176697,
-0.28004828095436096,
0.79001784324646,
0.03939163684844971,
0.2525006830692291,
-0.5215491652488708,
0.8146672248840332,
0.21970315277576447,
-0.384259015321731... |
SetHTTPClient adds the HTTPClient to the copy recipe to my recipes with changes params | [
-0.029761280864477158,
-0.48228490352630615,
0.3440336585044861,
-0.38033291697502136,
-1.0177786350250244,
-0.23527881503105164,
-0.5244640111923218,
1.0436224937438965,
-0.4063934087753296,
0.33032116293907166,
-0.6837090849876404,
0.9595960378646851,
0.08488411456346512,
-0.801518023014... |
WithJSONBody adds the jSONBody to the copy recipe to my recipes with changes params | [
-0.9755083322525024,
-0.9165021181106567,
0.5785681009292603,
-0.21151922643184662,
-1.0258244276046753,
-0.6794174313545227,
-0.675575852394104,
0.3873383700847626,
1.0107108354568481,
1.028550386428833,
-0.752461850643158,
0.4654769003391266,
0.49791690707206726,
0.46046683192253113,
-... |
SetJSONBody adds the jsonBody to the copy recipe to my recipes with changes params | [
-1.4533154964447021,
-0.659593403339386,
0.5350666046142578,
-0.235131174325943,
-0.8806244134902954,
-0.5315329432487488,
-0.581152081489563,
0.48773500323295593,
0.850377082824707,
1.004637360572815,
-0.9581368565559387,
1.1496267318725586,
0.3347695469856262,
0.5253127217292786,
-0.28... |
WithRecipeID adds the recipeID to the copy recipe to my recipes with changes params | [
0.11275196075439453,
-0.6742528080940247,
0.4451095759868622,
-0.10504502058029175,
-1.2939766645431519,
-0.2009309083223343,
-0.3935745656490326,
0.8003624081611633,
1.2741643190383911,
0.9895046353340149,
-0.09799512475728989,
0.6680923700332642,
0.22710855305194855,
0.555397629737854,
... |
SetRecipeID adds the recipeId to the copy recipe to my recipes with changes params | [
-0.3694431483745575,
-0.42889147996902466,
0.40748873353004456,
0.04299132153391838,
-0.9586883783340454,
-0.07574861496686935,
-0.3414579927921295,
1.2441843748092651,
1.0947093963623047,
1.0880056619644165,
-0.19895653426647186,
1.203317642211914,
0.07856672257184982,
0.7093456983566284,... |
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... |
To reduce request to GKE metadata server, the base token source is reused across syncers. Note: Initialization is deferred because there are possible to use serviceAccountSecretRef with no available default token source. | [
0.4281080961227417,
0.6541285514831543,
0.283894419670105,
0.33611342310905457,
0.18961970508098602,
-0.6903555393218994,
0.09124726057052612,
-0.25214701890945435,
-0.1986064612865448,
-0.7505506873130798,
-1.0317609310150146,
0.6679300665855408,
0.16847239434719086,
0.3055214285850525,
... |
TokenSource create oauth2.TokenSource for Credentials. Note: We can specify scopes needed for spannerautoscaler but it does increase maintenance cost. We should already use least privileged Google Service Accounts so it use cloudPlatformScope. | [
-0.15706390142440796,
-0.25605508685112,
0.09610490500926971,
0.057626351714134216,
-0.6460341215133667,
-0.7227188348770142,
-0.34742140769958496,
0.6187368035316467,
0.02668953314423561,
-0.11146143823862076,
-0.6006797552108765,
0.6733548641204834,
0.2611579895019531,
0.1232100576162338... |
New returns a new Syncer. | [
0.8126783967018127,
-0.4825054705142975,
0.39934590458869934,
0.8086838126182556,
-0.9044855833053589,
-0.919284462928772,
-0.7725860476493835,
-0.4358246326446533,
-0.841247022151947,
-1.158142328262329,
-0.6823074221611023,
0.056319721043109894,
0.4942811131477356,
0.6406782865524292,
... |
UpdateTarget updates target and returns wether did update or not. | [
-2.1907126903533936,
-0.4081232249736786,
0.5964101552963257,
0.00433031190186739,
-0.3355881869792938,
-0.15150783956050873,
-1.1376761198043823,
-0.38739997148513794,
0.45070356130599976,
0.2907576560974121,
0.43950724601745605,
-0.5552002787590027,
-0.3123771548271179,
-1.12065303325653... |
NewPoller returns an instance of Poller but do not start polling goroutine | [
-0.5758697390556335,
-1.0232115983963013,
0.37877172231674194,
-0.1751917153596878,
-0.7478238344192505,
1.5686808824539185,
-0.5945008993148804,
-0.6328025460243225,
0.416204571723938,
-0.8446006774902344,
0.19312706589698792,
-0.9647445678710938,
-1.391806721687317,
0.686336874961853,
... |
Start spins up a goroutine that continously polls given API endpoint at interval Poller.Interval | [
-0.33546993136405945,
-1.010676383972168,
0.3117276728153229,
0.7339044213294983,
0.5469900965690613,
1.112239956855774,
-0.4434981346130371,
0.4245200753211975,
0.08428823947906494,
0.5156754851341248,
-0.3405090272426605,
-0.4181530773639679,
-0.9797394871711731,
-0.32269287109375,
0.9... |
Stop sends a shutdown signal to the polling goroutine to return | [
-1.511908769607544,
0.40485838055610657,
0.04007893055677414,
-0.030263306573033333,
-0.05766746774315834,
0.8299757242202759,
-0.1832675039768219,
0.767067551612854,
-0.30820369720458984,
0.9229214191436768,
-0.5533279776573181,
-0.5541359782218933,
-1.2909116744995117,
-0.744032740592956... |
GetAndDelete retrieves a PendingFileshare from the repository and then deletes it. | [
0.8878834843635559,
-0.4048188030719757,
0.6657436490058899,
0.451523095369339,
0.6354594826698303,
-1.0277445316314697,
-0.2048785537481308,
0.7105454206466675,
-0.6818863749504089,
-1.0679548978805542,
1.0511889457702637,
-0.17878897488117218,
-0.5222334861755371,
-0.13113351166248322,
... |
Set adds a new PendingFileshare in the repository. If the key already exists, it returns false, otherwise it returns true. | [
-0.5710585713386536,
0.44584667682647705,
0.6696795225143433,
-0.144154354929924,
0.3963219225406647,
0.48680219054222107,
-0.6134570240974426,
-0.048911191523075104,
-1.3596854209899902,
-0.28217872977256775,
-0.08912979811429977,
-1.776921272277832,
-1.5371181964874268,
0.185811907052993... |
Deprecated: use Default instead. | [
0.4979158937931061,
0.5900617241859436,
0.2945385277271271,
0.38384053111076355,
0.5369412302970886,
-1.0681734085083008,
-1.0494108200073242,
-0.22075966000556946,
-0.4702596068382263,
-0.9381658434867859,
-0.7370818853378296,
-0.15966588258743286,
0.05768664926290512,
-0.3203505575656891... |
Env returns Environment associated with Expect instance. Tests can use it to store arbitrary data. Example: e := httpexpect.Default(t, " e.Env().Put("key", "value") value := e.Env().GetString("key") | [
0.13871558010578156,
0.03929585590958595,
0.47333380579948425,
-0.7320730686187744,
0.2920173704624176,
0.4103609621524811,
0.3984021544456482,
-0.19264306128025055,
-0.34304293990135193,
0.06547299772500992,
0.16370350122451782,
1.1306720972061157,
-0.28008124232292175,
-0.060853339731693... |
Request returns a new Request instance. Arguments are similar to NewRequest. After creating request, all builders attached to Expect instance are invoked. See Builder. | [
-0.7510833740234375,
-0.24219585955142975,
0.44783860445022583,
0.7811763882637024,
0.3707238435745239,
0.19566239416599274,
0.23177337646484375,
-0.10420140624046326,
0.2559002935886383,
-1.0731863975524902,
0.2441300004720688,
0.7212764024734497,
-0.21395887434482574,
0.2912621796131134,... |
OPTIONS is a shorthand for e.Request("OPTIONS", path, pathargs...). | [
-0.3818305730819702,
0.4148854613304138,
0.335843563079834,
-0.06244485080242157,
1.475614309310913,
-0.46818074584007263,
-0.66346275806427,
-0.849774956703186,
-0.3104531168937683,
-0.0809139758348465,
0.7547900080680847,
-0.16634012758731842,
0.14581136405467987,
-0.1579464226961136,
... |
HEAD is a shorthand for e.Request("HEAD", path, pathargs...). | [
-0.635177731513977,
0.13144584000110626,
0.4592510163784027,
0.6110310554504395,
0.679227352142334,
0.24667295813560486,
-0.8312473297119141,
-0.8330596685409546,
-0.12876221537590027,
0.14820808172225952,
0.0629647746682167,
0.6246966123580933,
-0.15470823645591736,
-0.8283020257949829,
... |
GET is a shorthand for e.Request("GET", path, pathargs...). | [
-0.344876766204834,
-0.10646118223667145,
0.40856286883354187,
-0.041143495589494705,
0.7694401741027832,
-0.30027908086776733,
-1.1810011863708496,
-0.3681632876396179,
-0.8172405958175659,
-0.20576098561286926,
0.3548297882080078,
0.40188702940940857,
0.06412380188703537,
-0.386427640914... |
POST is a shorthand for e.Request("POST", path, pathargs...). | [
-0.032358281314373016,
0.017841223627328873,
0.3799618184566498,
0.7188575267791748,
0.48156246542930603,
0.05597061663866043,
-0.747273325920105,
-0.22269372642040253,
-0.8621635437011719,
-0.6142797470092773,
-0.027302008122205734,
-0.38351044058799744,
-0.1660325527191162,
-0.1715506166... |
PUT is a shorthand for e.Request("PUT", path, pathargs...). | [
-0.5522475242614746,
0.21145012974739075,
0.26796311140060425,
-0.2991049885749817,
0.5943741202354431,
0.24410764873027802,
-0.09145604074001312,
-0.2880091667175293,
-0.8950121402740479,
0.17598849534988403,
0.0003706216812133789,
0.014283652417361736,
-0.5881622433662415,
-0.58266198635... |
PATCH is a shorthand for e.Request("PATCH", path, pathargs...). | [
-0.27846091985702515,
-0.23280921578407288,
0.33860790729522705,
-0.31159478425979614,
0.17462724447250366,
0.23591476678848267,
-0.4399685263633728,
-0.05899365246295929,
-0.25841379165649414,
-0.2834385931491852,
0.5100401639938354,
0.34808382391929626,
-0.2835261821746826,
-0.3309901356... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.