text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (a *Client) DoLogoutSession(params *DoLogoutSessionParams) (*DoLogoutSessionOK, error) { // TODO: Validate the params before sending if params == nil { params = NewDoLogoutSessionParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "doLogoutSession", Method: ...
[ -1.8914151191711426, -0.6480493545532227, 0.6668117046356201, -0.7299402952194214, -0.2994898557662964, -0.13204027712345123, 0.3037150800228119, -0.7927068471908569, 1.1354459524154663, 0.6710985898971558, -0.026785343885421753, 0.969744086265564, -0.5691224932670593, -0.08628784865140915...
func (a *Client) DoReset(params *DoResetParams) (*DoResetAccepted, error) { // TODO: Validate the params before sending if params == nil { params = NewDoResetParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "doReset", Method: "POST", PathPattern: ...
[ -1.4951974153518677, 0.5543821454048157, 0.697087287902832, 0.04078521206974983, 0.7221477627754211, 0.0229503083974123, 0.7265865206718445, -0.7911465167999268, -0.2750268876552582, 0.8071377277374268, -0.5933481454849243, 1.1170296669006348, -0.8497567176818848, -0.24110828340053558, -...
func (a *Client) EventServiceRoot(params *EventServiceRootParams) (*EventServiceRootOK, error) { // TODO: Validate the params before sending if params == nil { params = NewEventServiceRootParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "eventServiceRoot", Method: ...
[ -0.6355487108230591, -0.3871135115623474, 0.7192440032958984, -0.6514734625816345, 0.041327234357595444, -0.3850562572479248, -0.09779705107212067, -0.7491496205329895, -0.28902295231819153, -0.01593327708542347, 0.17927144467830658, 1.5932402610778809, -0.6292678117752075, 0.5237224698066...
func (a *Client) GetAccount(params *GetAccountParams) (*GetAccountOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetAccountParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getAccount", Method: "GET", PathPattern...
[ -0.8366154432296753, 0.01481603179126978, 0.8827614188194275, 0.6696327328681946, 0.43675878643989563, -0.6730397939682007, 0.9384429454803467, -0.4826113283634186, 0.7651067972183228, 0.4313077926635742, 0.5245944261550903, 1.2344565391540527, -0.7688397765159607, 0.2643812298774719, -0...
func (a *Client) GetAccountService(params *GetAccountServiceParams) (*GetAccountServiceOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetAccountServiceParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getAccountService", Metho...
[ -0.949175238609314, 0.1435563862323761, 0.6264355778694153, 0.145842045545578, 0.6238886713981628, -0.8989766240119934, 0.9378179311752319, -0.9240360260009766, 0.18603482842445374, -0.3584228456020355, 0.9412079453468323, 1.5501466989517212, -0.878707766532898, 0.4701946973800659, -0.32...
func (a *Client) GetAccounts(params *GetAccountsParams) (*GetAccountsOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetAccountsParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getAccounts", Method: "GET", PathPa...
[ -0.8472420573234558, 0.6734258532524109, 0.7888486981391907, 0.31478843092918396, 0.481449156999588, -0.9341824650764465, 0.7244949340820312, -0.6972598433494568, 0.42599448561668396, -0.2528945505619049, 0.3879617750644684, 1.1511635780334473, -0.7619655132293701, 0.16902807354927063, -...
func (a *Client) GetChassis(params *GetChassisParams) (*GetChassisOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetChassisParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getChassis", Method: "GET", PathPattern...
[ -0.8847431540489197, 0.1309119164943695, 0.7362624406814575, 0.3055952489376068, -0.22160863876342773, -0.927152156829834, 0.06822146475315094, -0.2344057261943817, -0.12759791314601898, -0.19298915565013885, -0.6820258498191833, 1.5327215194702148, -0.39223527908325195, 0.1859666854143142...
func (a *Client) GetEvent(params *GetEventParams) (*GetEventOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetEventParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getEvent", Method: "GET", PathPattern: "...
[ 0.12670429050922394, 0.8208765983581543, 0.8593521118164062, 0.506792426109314, 0.5430176854133606, -0.9072436094284058, 0.07593948394060135, -0.652024507522583, 0.23571960628032684, -0.37854623794555664, 0.3828130066394806, 1.5788558721542358, -0.5792034864425659, -0.37759652733802795, ...
func (a *Client) GetEventsCollection(params *GetEventsCollectionParams) (*GetEventsCollectionOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetEventsCollectionParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getEventsCollection...
[ -0.3551017940044403, 0.25724685192108154, 0.9700019359588623, -0.17467132210731506, 0.37637293338775635, -0.9268297553062439, 0.4711570739746094, -0.6071407198905945, -0.05458809807896614, -0.06573192030191422, 0.10595015436410904, 1.476804256439209, -0.4424363970756531, 0.417920857667923,...
func (a *Client) GetLocalEthernetInterface(params *GetLocalEthernetInterfaceParams) (*GetLocalEthernetInterfaceOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetLocalEthernetInterfaceParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: ...
[ -0.5243116617202759, 0.13664618134498596, 0.5535590648651123, -1.0460667610168457, 0.14723879098892212, -0.08758670836687088, -0.4396052360534668, -0.2995080351829529, -0.07783849537372589, 0.30708879232406616, -0.5696786046028137, -0.21407358348369598, -1.820502519607544, 0.60957002639770...
func (a *Client) GetManager(params *GetManagerParams) (*GetManagerOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetManagerParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getManager", Method: "GET", PathPattern...
[ -1.5716336965560913, 0.046115003526210785, 0.6294346451759338, 0.20044292509555817, 0.4008907973766327, -0.3950173854827881, -0.15908999741077423, -0.28153789043426514, 0.5156999230384827, -0.38262611627578735, 0.08133899420499802, 1.636197566986084, -1.2313114404678345, 1.1413029432296753...
func (a *Client) GetManagerEthernetInterface(params *GetManagerEthernetInterfaceParams) (*GetManagerEthernetInterfaceOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetManagerEthernetInterfaceParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: ...
[ -0.8455450534820557, 0.16776402294635773, 0.7074429988861084, -0.9247398972511292, 0.12202093750238419, 0.1509404480457306, -0.7625331878662109, -0.9018599390983582, -0.11114952713251114, -0.20809099078178406, -0.2198469042778015, -0.032843708992004395, -1.6369554996490479, 1.0735718011856...
func (a *Client) GetPower(params *GetPowerParams) (*GetPowerOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetPowerParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getPower", Method: "GET", PathPattern: "...
[ -0.959454357624054, 0.12631751596927643, 1.0225366353988647, 1.0848199129104614, 0.8401186466217041, -0.861477792263031, 0.06618118286132812, -0.4925770163536072, 0.025068357586860657, 0.14572395384311676, -0.24503467977046967, 0.8310675621032715, -1.322004795074463, -0.07143082469701767, ...
func (a *Client) GetRegistryFile(params *GetRegistryFileParams) (*GetRegistryFileOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetRegistryFileParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getRegistryFile", Method: ...
[ -0.6471622586250305, 1.0064990520477295, 0.5078926682472229, 0.19142241775989532, 1.0179747343063354, -0.2924540340900421, 1.5793083906173706, 0.17461445927619934, -0.5559948682785034, -0.1337519735097885, -0.38525816798210144, 1.084510087966919, -1.0026969909667969, 0.079671211540699, -...
func (a *Client) GetRegistryFileContents(params *GetRegistryFileContentsParams) (*GetRegistryFileContentsOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetRegistryFileContentsParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "get...
[ -0.8059508204460144, 0.4910067915916443, 0.429721862077713, -0.07090169936418533, 0.31061214208602905, -0.4651656746864319, 0.6788656115531921, -0.10553523153066635, -0.6536970138549805, 0.22955568134784698, -0.39293283224105835, 0.39280208945274353, -0.6904627084732056, 0.0133478222414851...
func (a *Client) GetRole(params *GetRoleParams) (*GetRoleOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetRoleParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getRole", Method: "GET", PathPattern: "/Acco...
[ -1.029701590538025, 0.5095811486244202, 0.913463830947876, 0.5785813331604004, 1.0357239246368408, -0.9306829571723938, 0.7108131051063538, -0.662736177444458, 0.3127986192703247, -0.08563697338104248, 0.34353169798851013, 1.2865694761276245, -0.9112923741340637, 0.38794785737991333, 0.3...
func (a *Client) GetSchema(params *GetSchemaParams) (*GetSchemaOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetSchemaParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getSchema", Method: "GET", PathPattern: ...
[ -1.2606801986694336, 0.28792375326156616, 0.8737087845802307, 0.9274193048477173, 0.3891766369342804, -0.7866675853729248, 0.34062305092811584, -0.27699175477027893, 0.937178373336792, -0.2365807741880417, 0.22428397834300995, 1.339694857597351, -0.8758583068847656, -0.3068847060203552, ...
func (a *Client) GetSchemaContent(params *GetSchemaContentParams) (*GetSchemaContentOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetSchemaContentParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getSchemaContent", Method: ...
[ -0.9458464980125427, 0.4197743237018585, 0.8186258673667908, 0.28862708806991577, -1.0745728015899658, -0.4740541875362396, -0.009975316002964973, -0.6138162016868591, 0.6487649083137512, 0.24617792665958405, -0.36461934447288513, 0.7549231648445129, -0.5362854599952698, -0.485832542181015...
func (a *Client) GetSelLogService(params *GetSelLogServiceParams) (*GetSelLogServiceOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetSelLogServiceParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getSelLogService", Method: ...
[ -1.0267589092254639, 0.44005322456359863, 0.3190363645553589, -0.4334794580936432, 0.06770830601453781, -0.35185706615448, -0.47382473945617676, -1.1912752389907837, 0.5694154500961304, -0.338614821434021, 0.14125820994377136, 2.015089988708496, -1.1657044887542725, 0.3407633304595947, -...
func (a *Client) GetSelLogServiceEntry(params *GetSelLogServiceEntryParams) (*GetSelLogServiceEntryOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetSelLogServiceEntryParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getSelLogSe...
[ -0.3544669449329376, 0.22664964199066162, 0.3951409161090851, -0.41433316469192505, -0.03827384114265442, -0.15916524827480316, -0.6782400608062744, -1.058715581893921, 0.5841479897499084, 0.061368171125650406, 0.2145702987909317, 1.735385537147522, -0.7773421406745911, 0.4089321792125702,...
func (a *Client) GetServiceRoot(params *GetServiceRootParams) (*GetServiceRootOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetServiceRootParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getServiceRoot", Method: ...
[ -0.5415164828300476, 0.26592200994491577, 0.6932317614555359, 0.15730008482933044, -0.15202318131923676, -0.7015553116798401, 0.4613288342952728, -0.9736922979354858, -0.15819838643074036, -0.41479089856147766, -0.10648783296346664, 1.8400293588638306, -1.462417721748352, 0.181939423084259...
func (a *Client) GetSessionInfo(params *GetSessionInfoParams) (*GetSessionInfoOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetSessionInfoParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getSessionInfo", Method: ...
[ -1.2015124559402466, -0.3055373728275299, 0.6024696826934814, 0.2444223314523697, -0.023551303893327713, -0.39269760251045227, 0.5000298619270325, -1.453294277191162, 0.47138845920562744, -0.006272517144680023, -0.7481517195701599, 1.446698784828186, -0.5719210505485535, -0.148923754692077...
func (a *Client) GetSessionService(params *GetSessionServiceParams) (*GetSessionServiceOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetSessionServiceParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getSessionService", Metho...
[ -1.2835264205932617, 0.05831809714436531, 0.38140669465065, 0.5162423849105835, 0.45937037467956543, -0.883337676525116, 0.5725682377815247, -1.5906431674957275, 0.3707480728626251, -0.012852590531110764, 0.2162240892648697, 1.8854641914367676, -1.304919958114624, 0.3690476715564728, -0....
func (a *Client) GetSessions(params *GetSessionsParams) (*GetSessionsOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetSessionsParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getSessions", Method: "GET", PathPa...
[ -1.128423810005188, 0.3067483603954315, 0.6247114539146423, 0.3568153977394104, 0.5721899271011353, -0.6148274540901184, 0.8553904294967651, -1.651009440422058, 0.8361522555351257, 0.22572451829910278, 0.08734451234340668, 1.1964372396469116, -1.3277033567428589, 0.22870555520057678, -0....
func (a *Client) GetSimpleStorage(params *GetSimpleStorageParams) (*GetSimpleStorageOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetSimpleStorageParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getSimpleStorage", Method: ...
[ -0.9024899005889893, 0.6319150328636169, 0.9084153175354004, 0.2969971299171448, -0.07706008851528168, -0.12977585196495056, 0.33312559127807617, -0.7117816805839539, 0.7972242832183838, -0.7941280007362366, -0.8334354758262634, 0.38157758116722107, -1.306239128112793, -0.26466625928878784...
func (a *Client) GetSystem(params *GetSystemParams) (*GetSystemOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetSystemParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getSystem", Method: "GET", PathPattern: ...
[ -1.3668607473373413, 0.3078254759311676, 0.4975440502166748, 0.8800134658813477, 0.5576293468475342, -0.5501182079315186, 0.5354506373405457, -1.1817920207977295, 0.8800280094146729, -0.4646100103855133, 0.11978118866682053, 1.078648567199707, -1.236976146697998, 0.22038383781909943, -0....
func (a *Client) GetSystemProcessor(params *GetSystemProcessorParams) (*GetSystemProcessorOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetSystemProcessorParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getSystemProcessor", ...
[ -1.5440372228622437, 0.18232601881027222, 0.6026932001113892, -0.1040416732430458, -0.46212276816368103, -0.7835836410522461, 0.29153677821159363, -0.5627011656761169, 0.39585554599761963, 0.4921189844608307, -0.489038348197937, 1.5640441179275513, -1.651605248451233, 0.6911278367042542, ...
func (a *Client) GetSystemTasks(params *GetSystemTasksParams) (*GetSystemTasksOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetSystemTasksParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getSystemTasks", Method: ...
[ -0.576598584651947, 0.6307472586631775, 0.7639358043670654, 1.0143448114395142, 0.037813760340213776, -0.48335888981819153, 0.7141878008842468, -0.5384349226951599, 0.37185031175613403, 0.21305610239505768, -1.579105019569397, 1.1521668434143066, -1.2459520101547241, 0.46379366517066956, ...
func (a *Client) GetTask(params *GetTaskParams) (*GetTaskOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetTaskParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getTask", Method: "GET", PathPattern: "/Task...
[ -1.0675572156906128, 0.4243854284286499, 0.7117055058479309, 0.8191072344779968, 0.3385200798511505, -0.725121021270752, 0.9449059367179871, -0.3159375786781311, -0.09913964569568634, 0.2493591457605362, -0.6206543445587158, 1.5459792613983154, -0.3326413631439209, 0.07598322629928589, -...
func (a *Client) GetThermal(params *GetThermalParams) (*GetThermalOK, error) { // TODO: Validate the params before sending if params == nil { params = NewGetThermalParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "getThermal", Method: "GET", PathPattern...
[ -0.7929542064666748, 0.5677637457847595, 0.8617950081825256, 0.1583111584186554, 0.20579789578914642, -0.763157069683075, 0.015644410625100136, -0.7230100631713867, -0.3066682815551758, 0.03832986578345299, -0.2000291496515274, 1.8302921056747437, -0.9158076643943787, -0.21220433712005615,...
func (a *Client) ListBootImage(params *ListBootImageParams) (*ListBootImageOK, error) { // TODO: Validate the params before sending if params == nil { params = NewListBootImageParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "listBootImage", Method: "GET"...
[ -1.266979694366455, -0.2233394980430603, 0.34655970335006714, 0.7888157367706299, -0.11276261508464813, -1.1903752088546753, 0.042493343353271484, -0.0874360054731369, -0.3332725465297699, 0.40381988883018494, -0.8341827392578125, 1.250441551208496, -1.5019274950027466, 1.501029133796692, ...
func (a *Client) ListChassis(params *ListChassisParams) (*ListChassisOK, error) { // TODO: Validate the params before sending if params == nil { params = NewListChassisParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "listChassis", Method: "GET", PathPa...
[ -0.7944629192352295, -0.21701349318027496, 0.46114858984947205, -0.007257857825607061, -0.31296682357788086, -0.7294455766677856, -0.16537563502788544, -0.2714117765426636, -0.08075400441884995, 0.046581167727708817, -0.720309853553772, 1.3790565729141235, -0.24401487410068512, 0.606381595...
func (a *Client) ListLocalEthernetInterfaces(params *ListLocalEthernetInterfacesParams) (*ListLocalEthernetInterfacesOK, error) { // TODO: Validate the params before sending if params == nil { params = NewListLocalEthernetInterfacesParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: ...
[ -0.7735671997070312, 0.024963682517409325, 0.3686356246471405, -1.0020004510879517, 0.39591091871261597, -0.09401356428861618, -0.28838297724723816, 0.08730580657720566, 0.42720943689346313, 0.5017476677894592, -1.5004239082336426, -0.001224560895934701, -1.2872216701507568, 0.945719480514...
func (a *Client) ListLogService(params *ListLogServiceParams) (*ListLogServiceOK, error) { // TODO: Validate the params before sending if params == nil { params = NewListLogServiceParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "listLogService", Method: ...
[ -1.204203486442566, 0.1202642023563385, 0.4300597608089447, -0.11666501313447952, -0.03630226477980614, -0.8487322330474854, -0.5431212782859802, -0.8970322012901306, 0.3670807182788849, 0.018293507397174835, -0.28364336490631104, 2.027292490005493, -1.1118186712265015, 0.7591033577919006,...
func (a *Client) ListManagerEthernetInterfaces(params *ListManagerEthernetInterfacesParams) (*ListManagerEthernetInterfacesOK, error) { // TODO: Validate the params before sending if params == nil { params = NewListManagerEthernetInterfacesParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ...
[ -1.0409654378890991, -0.08228147774934769, 0.5276871919631958, -0.8925411105155945, -0.030841480940580368, 0.18941780924797058, -0.47302547097206116, -0.3566335141658783, 0.3069426417350769, -0.0074873873963952065, -0.8457254767417908, 0.11107707768678665, -1.1474720239639282, 1.3903906345...
func (a *Client) ListManagers(params *ListManagersParams) (*ListManagersOK, error) { // TODO: Validate the params before sending if params == nil { params = NewListManagersParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "listManagers", Method: "GET", P...
[ -1.451664686203003, 0.08033394068479538, 0.4049479365348816, -0.07549675554037094, 0.7982001304626465, -0.7061716914176941, -0.380869597196579, -0.6220581531524658, 0.3124222755432129, -0.02658936008810997, -0.08627661317586899, 1.4957211017608643, -1.1913975477218628, 0.6925852298736572, ...
func (a *Client) ListRegistry(params *ListRegistryParams) (*ListRegistryOK, error) { // TODO: Validate the params before sending if params == nil { params = NewListRegistryParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "listRegistry", Method: "GET", P...
[ -1.2018388509750366, 0.6308407783508301, 0.5576173663139343, 0.31313005089759827, 0.95090651512146, -0.6425212025642395, 0.3154466450214386, 0.03915215656161308, 0.7894543409347534, 0.48638975620269775, -0.41720274090766907, 1.5694284439086914, -0.84746915102005, 0.7523953914642334, -0.4...
func (a *Client) ListResetTypes(params *ListResetTypesParams) (*ListResetTypesOK, error) { // TODO: Validate the params before sending if params == nil { params = NewListResetTypesParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "listResetTypes", Method: ...
[ -1.021376609802246, 0.27826231718063354, 0.22225868701934814, 0.01939907670021057, 0.5130224227905273, -0.5691481232643127, 0.6728163361549377, -0.48191213607788086, 0.5976209044456482, 0.7417359352111816, -1.3825573921203613, 1.2949154376983643, -1.2213833332061768, 0.27663499116897583, ...
func (a *Client) ListRoles(params *ListRolesParams) (*ListRolesOK, error) { // TODO: Validate the params before sending if params == nil { params = NewListRolesParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "listRoles", Method: "GET", PathPattern: ...
[ -1.1348743438720703, 0.3973098695278168, 0.8321031332015991, -0.37554171681404114, 0.29911771416664124, -0.31206032633781433, 0.2175622582435608, -0.6801731586456299, 0.6923418045043945, -0.03675670549273491, 0.3984581232070923, 1.213813066482544, -0.9167658686637878, 0.2342739850282669, ...
func (a *Client) ListSchemas(params *ListSchemasParams) (*ListSchemasOK, error) { // TODO: Validate the params before sending if params == nil { params = NewListSchemasParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "listSchemas", Method: "GET", PathPa...
[ -1.0382359027862549, 0.03864950314164162, 0.5734186768531799, 0.12992312014102936, -0.2681061327457428, 0.004946401342749596, 0.20178839564323425, -0.39716824889183044, 1.0653901100158691, -0.09506239742040634, -0.24537953734397888, 0.960537850856781, -0.8563972115516663, 0.108583196997642...
func (a *Client) ListSelLogServiceEntries(params *ListSelLogServiceEntriesParams) (*ListSelLogServiceEntriesOK, error) { // TODO: Validate the params before sending if params == nil { params = NewListSelLogServiceEntriesParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: ...
[ -0.696297287940979, -0.11647467315196991, 0.2131572812795639, -0.6534138917922974, -0.2561548948287964, 0.2347380667924881, -0.43497875332832336, -0.43406638503074646, 0.666845440864563, 0.04579514265060425, -0.25505489110946655, 1.6067726612091064, -0.2771930694580078, 1.0560989379882812,...
func (a *Client) ListSimpleStorage(params *ListSimpleStorageParams) (*ListSimpleStorageOK, error) { // TODO: Validate the params before sending if params == nil { params = NewListSimpleStorageParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "listSimpleStorage", Metho...
[ -0.9932774901390076, -0.11953573673963547, 0.8099334836006165, 0.0720594972372055, -0.10710017383098602, 0.08500523120164871, 0.0987522304058075, -0.037187498062849045, 1.0361958742141724, 0.11229780316352844, -1.525800108909607, 0.23551617562770844, -0.8504238128662109, 0.4082612991333008...
func (a *Client) ListSystemProcessors(params *ListSystemProcessorsParams) (*ListSystemProcessorsOK, error) { // TODO: Validate the params before sending if params == nil { params = NewListSystemProcessorsParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "listSystemProce...
[ -1.603712558746338, -0.18872001767158508, 0.5267733931541443, -0.12250635027885437, -0.004665616899728775, -0.8512586355209351, 0.12482431530952454, -0.33646994829177856, 0.6820788383483887, 0.8851721882820129, -1.0039886236190796, 1.6681667566299438, -1.2382131814956665, 0.924688398838043...
func (a *Client) ListSystems(params *ListSystemsParams) (*ListSystemsOK, error) { // TODO: Validate the params before sending if params == nil { params = NewListSystemsParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "listSystems", Method: "GET", PathPa...
[ -1.656735897064209, 0.3700644075870514, 0.4337814152240753, 0.14839181303977966, 0.1421567052602768, -0.2775159180164337, 0.270358145236969, -0.9194624423980713, 0.6856783032417297, -0.37028515338897705, -0.3072907328605652, 0.7221921682357788, -0.67913818359375, 0.6978211402893066, -0.9...
func (a *Client) ListTasks(params *ListTasksParams) (*ListTasksOK, error) { // TODO: Validate the params before sending if params == nil { params = NewListTasksParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "listTasks", Method: "GET", PathPattern: ...
[ -0.8041014075279236, 0.3000467121601105, 0.8916176557540894, 0.26625150442123413, 0.07932129502296448, -0.324524462223053, 0.5103611946105957, -0.6884152889251709, 0.46482446789741516, 0.2485736608505249, -0.33376091718673706, 1.4175013303756714, -0.6394944190979004, 0.3576490581035614, ...
func (a *Client) ModifyAccount(params *ModifyAccountParams) (*ModifyAccountAccepted, error) { // TODO: Validate the params before sending if params == nil { params = NewModifyAccountParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "modifyAccount", Method: ...
[ -1.4006853103637695, -0.5631323456764221, 0.8626437783241272, -0.03367648273706436, -0.18242178857326508, 0.07900412380695343, 1.2695292234420776, 0.3426429033279419, 1.0383191108703613, -0.2852449417114258, 0.30680903792381287, 1.4568694829940796, -1.1688508987426758, 0.46810182929039, ...
func (a *Client) PatchManager(params *PatchManagerParams) (*PatchManagerOK, error) { // TODO: Validate the params before sending if params == nil { params = NewPatchManagerParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "patchManager", Method: "PATCH", ...
[ -1.589917778968811, -0.22473295032978058, 0.6450074911117554, -0.7859347462654114, -0.8407285213470459, 0.03676993399858475, 0.4908168911933899, 0.006183568853884935, 0.4070529639720917, 0.026143589988350868, -0.3189173936843872, 1.1179625988006592, -1.253523826599121, 1.3065704107284546, ...
func (a *Client) PostSession(params *PostSessionParams) (*PostSessionCreated, error) { // TODO: Validate the params before sending if params == nil { params = NewPostSessionParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "postSession", Method: "POST", ...
[ -1.230817437171936, -0.3125693202018738, 0.6655446290969849, 0.25146210193634033, -0.1472911685705185, 0.1422652155160904, 0.42783641815185547, -0.8689888119697571, 0.5820738077163696, -0.18740583956241608, -0.7810549736022949, 0.6009708642959595, -1.3575537204742432, 0.012819081544876099,...
func (a *Client) RemoveAccount(params *RemoveAccountParams) (*RemoveAccountNoContent, error) { // TODO: Validate the params before sending if params == nil { params = NewRemoveAccountParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "removeAccount", Method: ...
[ -1.0810891389846802, -0.19624754786491394, 0.6823245882987976, 0.21706858277320862, -0.16416320204734802, -0.3924925625324249, 1.2314043045043945, 0.13602778315544128, 0.7698163986206055, -0.18471428751945496, -0.04275945574045181, 0.7268983721733093, -0.8540881276130676, 0.127735614776611...
func (a *Client) TaskServiceRoot(params *TaskServiceRootParams) (*TaskServiceRootOK, error) { // TODO: Validate the params before sending if params == nil { params = NewTaskServiceRootParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "taskServiceRoot", Method: ...
[ -1.218553066253662, -0.0939570963382721, 0.6145702004432678, -0.377469927072525, -0.19559705257415771, -0.10088587552309036, 0.5475587844848633, -1.1296286582946777, -0.8917478919029236, 0.48545119166374207, -0.14146922528743744, 1.4795887470245361, -0.9218025803565979, 0.5168928503990173,...
func (a *Client) TestEvent(params *TestEventParams) (*TestEventAccepted, error) { // TODO: Validate the params before sending if params == nil { params = NewTestEventParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "testEvent", Method: "POST", PathPatte...
[ -0.3555508852005005, -0.2916891872882843, 0.6946718692779541, -0.16153094172477722, -0.0008592332596890628, 0.3512283265590668, 0.385819673538208, -0.3501308858394623, 0.1613500416278839, -0.16280022263526917, -0.15787766873836517, 1.5428857803344727, -1.3857271671295166, 0.153800606727600...
func (a *Client) Unimplemented(params *UnimplementedParams) (*UnimplementedOK, error) { // TODO: Validate the params before sending if params == nil { params = NewUnimplementedParams() } result, err := a.transport.Submit(&runtime.ClientOperation{ ID: "unimplemented", Method: "GET"...
[ -0.9406028985977173, 0.3998415470123291, 0.8526362776756287, -1.0044573545455933, -0.10011574625968933, -0.06368096172809601, 0.9530337452888489, -0.25071796774864197, 0.12946152687072754, -0.159209206700325, -0.5869199633598328, 0.06504931300878525, -0.053667936474084854, 0.54799503087997...
func (a *Client) SetTransport(transport runtime.ClientTransport) { a.transport = transport }
[ 0.43289124965667725, -0.16396044194698334, 0.06502870470285416, 0.17467869818210602, -0.022012455388903618, 0.3327627182006836, 1.1535402536392212, -0.7375835180282593, 0.32833772897720337, -1.0833802223205566, -1.4707483053207397, 0.4919946491718292, -0.44076064229011536, 0.62663459777832...
func (k *k8sUtil) Name() string { ns, _ := k.NS() return fmt.Sprintf("k8sutil @ '%s'", ns) }
[ 0.3375103175640106, -0.5045502185821533, 0.5743642449378967, -0.6425850987434387, -0.6107120513916016, 0.37052878737449646, -1.002658724784851, -0.49252691864967346, -0.05705845355987549, 0.8401907086372375, -0.5669074058532715, 0.7304944396018982, 1.1301406621932983, -0.1693737655878067, ...
func (k *k8sUtil) K8sClient() (K8sClient, bool) { return k, true }
[ -0.2417970597743988, -0.49430930614471436, 0.34336814284324646, -0.9997566342353821, -0.6091567873954773, 0.07164517790079117, -1.1213080883026123, -0.4034276306629181, 0.16410040855407715, 0.6098480820655823, -1.2514382600784302, 0.441821426153183, 0.1679306924343109, -0.9824546575546265,...
func (k *k8sUtil) NS() (string, error) { if nil == k.volProfile { return "", fmt.Errorf("Volume provisioner profile not initialized at '%s'", k.Name()) } // Fetch pvc from volume provisioner profile pvc, err := k.volProfile.PVC() if err != nil { return "", err } // Get orchestrator provider profile from pv...
[ 0.042242299765348434, -0.2025575488805771, 0.44631427526474, -0.03724799305200577, -0.35161128640174866, -0.5634459257125854, -0.6541944146156311, -1.0947312116622925, 0.48953258991241455, 0.5132172703742981, 0.38685670495033264, 0.9589628577232361, 0.5390816926956177, 0.09915386885404587,...
func (k *k8sUtil) InCluster() (bool, error) { if nil == k.volProfile { return false, fmt.Errorf("Volume provisioner profile not initialized at '%s'", k.Name()) } // Fetch pvc from volume provisioner profile pvc, err := k.volProfile.PVC() if err != nil { return false, err } // Get orchestrator provider prof...
[ -0.3691280484199524, -0.0892743244767189, 0.9552710056304932, 0.41048434376716614, 0.041484374552965164, 0.39199090003967285, -0.045763131231069565, 0.1450914889574051, 0.09703560173511505, 0.4439137279987335, 0.38865095376968384, 0.4933648109436035, -0.9950569868087769, 0.2448433041572570...
func (k *k8sUtil) Pods() (k8sCoreV1.PodInterface, error) { var cs *kubernetes.Clientset inC, err := k.InCluster() if err != nil { return nil, err } ns, err := k.NS() if err != nil { return nil, err } if inC { cs, err = k.inClusterCS() } else { cs, err = k.outClusterCS() } if err != nil { return...
[ -0.4053451120853424, 0.1505158245563507, 0.5092582106590271, -0.1760702133178711, -0.2073448747396469, 0.45077309012413025, -0.0523763969540596, -0.5179168581962585, 0.7617844939231873, 0.04642319306731224, 0.6056689620018005, 0.5483415722846985, 0.25049152970314026, -0.29298195242881775, ...
func (k *k8sUtil) Services() (k8sCoreV1.ServiceInterface, error) { var cs *kubernetes.Clientset inC, err := k.InCluster() if err != nil { return nil, err } ns, err := k.NS() if err != nil { return nil, err } if inC { cs, err = k.inClusterCS() } else { cs, err = k.outClusterCS() } if err != nil { ...
[ -0.515070915222168, -0.0990351215004921, 0.2515854835510254, -0.5642838478088379, 0.3160097599029541, 0.279243141412735, 0.14522121846675873, -0.7696450352668762, 0.33662936091423035, -0.4477030336856842, 0.4350602626800537, 0.5259984135627747, -0.5618079304695129, 0.0907883420586586, -0...
func (k *k8sUtil) DeploymentOps() (k8sExtnsV1Beta1.DeploymentInterface, error) { var cs *kubernetes.Clientset inC, err := k.InCluster() if err != nil { return nil, err } ns, err := k.NS() if err != nil { return nil, err } if inC { cs, err = k.inClusterCS() } else { cs, err = k.outClusterCS() } if...
[ -0.3464948832988739, 0.04286846145987511, 0.7775595784187317, 0.027580581605434418, -0.7001990675926208, 0.04995127022266388, 0.10347314178943634, -0.24803589284420013, 0.8788050413131714, 1.3513022661209106, 0.3318212330341339, -0.18154501914978027, -0.11356845498085022, -0.63775730133056...
func (k *k8sUtil) inClusterCS() (*kubernetes.Clientset, error) { // creates the in-cluster config config, err := rest.InClusterConfig() if err != nil { return nil, err } // creates the in-cluster clientset clientset, err := kubernetes.NewForConfig(config) if err != nil { return nil, err } return clients...
[ 0.5335175395011902, -0.3761175274848938, 0.48106440901756287, -1.0230134725570679, -0.15330469608306885, -0.1981654018163681, -0.1439196914434433, 0.09932734817266464, 0.3346228003501892, 0.11886104941368103, 0.5510172247886658, 0.7776888012886047, -0.5828331112861633, -0.48697617650032043...
func (k *k8sUtil) outClusterCS() (*kubernetes.Clientset, error) { return nil, fmt.Errorf("outClusterCS not supported in '%s'", k.Name()) }
[ 0.3048516809940338, 0.25923338532447815, 0.5099608898162842, -0.6651814579963684, -0.3099501132965088, -0.22068794071674347, 0.050373949110507965, -0.5928499698638916, 0.05363904684782028, 0.26109227538108826, 0.5596092939376831, 0.9237877130508423, -0.22023382782936096, -0.208361744880676...
func SetServiceStatuses(svc k8sApiV1.Service, annotations map[string]string) {}
[ -0.8863396048545837, -0.8602159023284912, 0.1750701665878296, -0.21548870205879211, -0.3582431375980377, 0.32815906405448914, -0.560797393321991, -0.32791659235954285, 0.2477475255727768, -0.09662269800901413, -0.6566069722175598, 0.9363158345222473, -0.01307837013155222, 0.278080970048904...
func SetReplicaVolSize(rd k8sApisExtnsBeta1.Deployment, annotations map[string]string) { // TODO // Set the size as labels in replica deployment & extract from the label // Current way of extraction is a very crude way !! con := rd.Spec.Template.Spec.Containers[0] size := con.Args[len(con.Args)-2] annotations[st...
[ -0.06103077530860901, -0.24589203298091888, 0.475547194480896, -0.27660712599754333, -0.30057233572006226, 0.11933824419975281, -0.2787114381790161, 0.6433430910110474, 0.373032808303833, 1.2833789587020874, -0.47629791498184204, 0.5298244953155518, 0.07797696441411972, -0.0765833631157875...
func NewDeleteCensorLibItemsRequestWithoutParam() *DeleteCensorLibItemsRequest { return &DeleteCensorLibItemsRequest{ JDCloudRequest: core.JDCloudRequest{ URL: "/regions/{regionId}/customCensorLib:customItem", Method: "DELETE", Header: nil, Version:...
[ -0.42721232771873474, -1.0374224185943604, 0.23016400635242462, 0.06634003669023514, -0.2963026463985443, -0.1051897183060646, -0.39159926772117615, 0.22819316387176514, -0.1580391377210617, -0.6167091131210327, -0.5531450510025024, 0.3400139808654785, -0.1172981709241867, 0.79133939743041...
func (r DeleteCensorLibItemsRequest) GetRegionId() string { return r.RegionId }
[ 1.1999895572662354, -0.7793102860450745, 0.16546836495399475, 0.49317774176597595, 0.6205039620399475, 0.5561214685440063, 0.24041056632995605, 0.29520779848098755, 0.8565481305122375, -0.3124653100967407, 0.6685965061187744, 0.9574163556098938, -0.5888686180114746, 0.9137428998947144, 0...
func (*GetGoogleAdsFieldRequest) Descriptor() ([]byte, []int) { return file_google_ads_googleads_v13_services_google_ads_field_service_proto_rawDescGZIP(), []int{0} }
[ -0.8833425045013428, 0.8102946281433105, 0.18196316063404083, -0.8854753971099854, 0.48472633957862854, 0.4569266438484192, -0.23560184240341187, -0.553746223449707, -0.517169713973999, -0.4632308781147003, -0.36056432127952576, 0.7121902704238892, -0.5919855833053589, 0.5728113651275635, ...
func (*SearchGoogleAdsFieldsRequest) Descriptor() ([]byte, []int) { return file_google_ads_googleads_v13_services_google_ads_field_service_proto_rawDescGZIP(), []int{1} }
[ -1.2271567583084106, 0.5679147243499756, 0.12295448035001755, -0.9754469394683838, 0.3256285488605499, -0.08105121552944183, 0.04398374259471893, -0.968282163143158, -0.6078706979751587, -0.7676408290863037, -0.0873112678527832, 0.6186492443084717, -0.45461931824684143, 0.5381847023963928,...
func (*SearchGoogleAdsFieldsResponse) Descriptor() ([]byte, []int) { return file_google_ads_googleads_v13_services_google_ads_field_service_proto_rawDescGZIP(), []int{2} }
[ -0.16296221315860748, 0.20301194489002228, -0.3721334636211395, -0.925018846988678, 0.37783193588256836, -0.7930238842964172, 0.3468867242336273, -0.9409394264221191, -0.565986692905426, -0.20795850455760956, -0.7649475336074829, 0.054525021463632584, -0.8816862106323242, -0.11660858988761...
func GetConnectionFTP(host, port, username, password string) (client *ftp.ServerConn, err error) { client, err = ftp.DialTimeout(fmt.Sprintf("%s:%s", host, port), time.Hour*20) if err != nil { err = errors.ErrorConnection return } if err = client.Login(username, password); err != nil { err = errors.ErrorInc...
[ 0.1562020629644394, -0.44926437735557556, 0.678637683391571, 0.40475088357925415, 0.044447898864746094, -0.032240357249975204, 0.06282513588666916, -0.1781696081161499, -0.6037523746490479, -0.047506630420684814, -0.05612244829535484, -0.13479222357273102, -0.6926300525665283, -0.407199084...
func DownloadGzipFileFTP(entryName string, path string) (err error) { client, err := GetConnectionFTP( FTPHost, FTPPort, FTPUsername, FTPPassword, ) if err != nil { return } defer client.Quit() defer client.Logout() filePath := filepath.Join(path, entryName) exist, err := CheckExistence(filePath) if er...
[ 0.626843273639679, 0.16553062200546265, 1.0751301050186157, -0.23024636507034302, -0.14305688440799713, 0.8158307671546936, 0.447579562664032, -0.8210588693618774, -0.19327491521835327, 0.9409193396568298, 0.3108844757080078, -0.20396360754966736, -1.0588597059249878, 0.07507095485925674, ...
func Exec[T constraints.Ordered](s []T) []T { if len(s) == 1 { return s } left, right := divide(s) left, right = Exec(left), Exec(right) return merge(left, right) }
[ -0.1593611091375351, 1.253758192062378, 0.5227810144424438, 1.1298034191131592, 0.19563031196594238, -0.18290582299232483, -0.26687830686569214, -0.2722744643688202, 0.1096654087305069, 0.6278809309005737, -0.3725377321243286, -0.3544256389141083, -0.3153814375400543, 0.10685946047306061, ...
func NewPushCommand(ctx context.Context, logger *log.Logger) *cobra.Command { cmd := cobra.Command{ Use: "push <repository> [filepath]", Short: "Upload OPA bundles to an OCI registry", Long: `Upload Open Policy Agent bundles to an OCI registry`, Args: cobra.RangeArgs(1, 2), RunE: func(cmd *cobra.Command...
[ 0.25258973240852356, -0.5457884669303894, 0.5367303490638733, -0.33602389693260193, 0.07408726960420609, 0.22840672731399536, 0.48325759172439575, -0.4083325266838074, -0.3392510414123535, 0.9438650012016296, 0.4919666051864624, 0.8679133653640747, 0.1304001659154892, 0.472998708486557, ...
func (s *simpleFieldMapper) Map(value string) map[string]string { // Create a new map result := make(map[string]string) // Iterate over the fieldMapper field defs for _, v := range s.FieldDefs { // Get the state of the field def state := v.GetState(value) // Add the key and value of the field def to the res...
[ -1.3793984651565552, 0.03502461314201355, 0.436796098947525, 0.0707085058093071, -1.2326734066009521, 0.2916249632835388, -0.5916168689727783, 0.16405506432056427, 0.5398567318916321, 0.10804279148578644, -0.9525288939476013, -0.5322860479354858, 0.5920699238777161, 0.4022446274757385, -...
func Mosaic(im image.Image) image.Image { bounds := im.Bounds() newImage := image.NewRGBA(image.Rect(bounds.Min.X, bounds.Min.Y, bounds.Max.X, bounds.Max.Y)) // break into tiles tiles := toTiles(im, 20, 20) //get the average color for each tile for _, tile := range tiles { c := averageColor(im, tile) blendCo...
[ 0.10629119724035263, 0.24886880815029144, 0.6836426854133606, 0.014194800518453121, -0.13480091094970703, -0.334201842546463, 0.6457449197769165, -0.7798609733581543, 0.632482647895813, 0.26692837476730347, 0.4239538609981537, -0.11811729520559311, 0.28454533219337463, 0.5940151810646057, ...
func (client *Client) DeleteCasterEpisodeGroup(request *DeleteCasterEpisodeGroupRequest) (response *DeleteCasterEpisodeGroupResponse, err error) { response = CreateDeleteCasterEpisodeGroupResponse() err = client.DoAction(request, response) return }
[ -1.6159257888793945, 0.5898261070251465, 0.1680121123790741, 0.3765678107738495, -1.111971378326416, -0.12518435716629028, 0.7962607145309448, 0.212381973862648, 0.8057134747505188, -0.1553429514169693, -0.38434505462646484, 1.2270182371139526, -0.6396316885948181, 0.518294095993042, 0.0...
func (client *Client) DeleteCasterEpisodeGroupWithChan(request *DeleteCasterEpisodeGroupRequest) (<-chan *DeleteCasterEpisodeGroupResponse, <-chan error) { responseChan := make(chan *DeleteCasterEpisodeGroupResponse, 1) errChan := make(chan error, 1) err := client.AddAsyncTask(func() { defer close(responseChan) ...
[ -1.731719970703125, -0.017929045483469963, 0.3495638966560364, -0.49228572845458984, -0.9206789135932922, -0.2455962598323822, 0.590957760810852, -0.39256516098976135, 0.8670777678489685, 0.2766938805580139, 0.3268592059612274, 1.0364723205566406, -0.5326237082481384, 0.698371946811676, ...
func (client *Client) DeleteCasterEpisodeGroupWithCallback(request *DeleteCasterEpisodeGroupRequest, callback func(response *DeleteCasterEpisodeGroupResponse, err error)) <-chan int { result := make(chan int, 1) err := client.AddAsyncTask(func() { var response *DeleteCasterEpisodeGroupResponse var err error def...
[ -1.51326322555542, 0.5532097816467285, 0.47554582357406616, -0.24819384515285492, -1.248114824295044, -0.7039983868598938, 0.6850007772445679, -0.0893535315990448, 1.268595814704895, 0.20193906128406525, 0.23076045513153076, 0.23223096132278442, -0.1153135895729065, 0.7150049209594727, 0...
func CreateDeleteCasterEpisodeGroupRequest() (request *DeleteCasterEpisodeGroupRequest) { request = &DeleteCasterEpisodeGroupRequest{ RpcRequest: &requests.RpcRequest{}, } request.InitWithApiInfo("live", "2016-11-01", "DeleteCasterEpisodeGroup", "live", "openAPI") request.Method = requests.POST return }
[ -0.7057509422302246, 0.140535369515419, 0.549981951713562, 0.3065996766090393, -0.80323326587677, 0.2546340227127075, 0.4178769290447235, 0.5074567198753357, -0.07435299456119537, -0.07877923548221588, 0.04851837083697319, 0.9170722961425781, -0.4104991853237152, 0.8860180974006653, 0.41...
func CreateDeleteCasterEpisodeGroupResponse() (response *DeleteCasterEpisodeGroupResponse) { response = &DeleteCasterEpisodeGroupResponse{ BaseResponse: &responses.BaseResponse{}, } return }
[ -1.0977510213851929, -0.5433121919631958, 0.22768084704875946, -0.014219684526324272, -0.7696110606193542, -0.6278610229492188, 0.8491988182067871, 0.20626579225063324, 0.8140363097190857, 0.09559334814548492, -0.17449994385242462, 0.1480141133069992, -0.5374510884284973, 0.588056862354278...
func InitUsers() { userService := UserService{User: models.GetInternalAPIUser()} userService.createRepository() userService.UserRepos.OpenTransaction() userService.UserRepos.InitUsers() err := userService.CreateUser(models.User{Username: "admin", Email: "admin@gapi.com", Password: "admin", IsAdmin: true}) if e...
[ -0.9355228543281555, 0.7238598465919495, 0.5103708505630493, -0.37059009075164795, 0.49559712409973145, 0.07409465312957764, -0.17925553023815155, -0.28746578097343445, -0.25373321771621704, 0.26951682567596436, -0.38569650053977966, 0.46952441334724426, -0.42968401312828064, 0.10000096261...
func NewUserServiceWithUser(user models.User) (UserService, error) { userServ := UserService{User: user} err := userServ.createRepository() return userServ, err }
[ -0.6991074085235596, -0.08371899276971817, 0.29341599345207214, 0.7307494282722473, -1.2815842628479004, -0.14526060223579407, 0.19037388265132904, -1.271701693534851, 0.2162497490644455, -0.39844101667404175, -0.7909497022628784, 0.15900230407714844, 0.21066509187221527, 1.105012178421020...
func (us *UserService) CreateUser(user models.User) error { us.UserRepos.OpenTransaction() hashedPwd, _ := models.GeneratePassword(user.Password) user.Password = string(hashedPwd) user.Id = bson.NewObjectId() err := us.UserRepos.CreateUser(user) releaseConnection(us) return err }
[ -0.5410495400428772, -0.02974555641412735, 0.39780211448669434, 0.6973375082015991, 0.2640189826488495, 0.8720455169677734, -0.06748542189598083, -0.13452260196208954, 0.4044119119644165, 0.13092359900474548, -0.9776543378829956, -1.177855372428894, -0.06090598553419113, -0.033062890172004...
func (us *UserService) UpdateUser(user models.User) error { us.UserRepos.OpenTransaction() err := us.UserRepos.UpdateUser(user) releaseConnection(us) return err }
[ -1.534555435180664, 0.07908007502555847, 0.38808226585388184, 0.5687627196311951, -0.5099303722381592, 0.35486045479774475, 0.41290464997291565, -0.050195638090372086, 0.31411635875701904, 0.04910340532660484, -0.6959612965583801, -0.38117897510528564, 0.06991889327764511, -0.3478326797485...
func (us *UserService) FindUsersByUsernameOrEmail(q string, page int) []models.User { us.UserRepos.OpenTransaction() users := us.UserRepos.FindUsersByUsernameOrEmail(q, page) releaseConnection(us) return users }
[ -0.8131595253944397, 0.3323765695095062, 0.0006505580386146903, -0.19902367889881134, -0.11569760739803314, -0.03343212231993675, -0.39206022024154663, -0.35945311188697815, 0.44209766387939453, 0.67814040184021, -0.14670075476169586, -0.21716421842575073, -0.9724518656730652, 0.3801091611...
func (us *UserService) GetUserByUsername(username string) []models.User { us.UserRepos.OpenTransaction() users := us.UserRepos.GetUserByUsername(username) releaseConnection(us) return users }
[ -1.3748433589935303, 0.3869776129722595, 0.25417351722717285, 0.6246179938316345, 0.12412990629673004, -0.16031710803508759, 0.09437421709299088, -0.28710147738456726, -0.1267227679491043, 0.6578344106674194, -1.0678598880767822, -0.5701901912689209, -0.9204399585723877, -0.045676343142986...
func (l *list) push(v interface{}) *listNode { nd := &listNode{ val: v, } // empty list, first element if l.tail == nil { l.first = nd l.tail = nd } else { l.tail.next = nd l.tail = nd } l.len++ return nd }
[ -0.7057378888130188, 0.9476566314697266, 0.3854552209377289, -0.6865978240966797, -0.69463711977005, 0.016192907467484474, -0.09594430774450302, 0.17904257774353027, 1.4025567770004272, -0.00542339775711298, -1.0773191452026367, 0.9067594408988953, -0.37213134765625, 1.106702446937561, -...
func (l *list) pop() *listNode { if l.first == nil { return nil } l.len-- if l.first == l.tail { aux := l.first l.first = nil l.tail = nil return aux } aux := l.first l.first = aux.next return aux }
[ 0.47736939787864685, 0.6791784167289734, 0.6327072978019714, -0.9289432764053345, -0.42522746324539185, -0.8146330714225769, 0.010801096446812153, 0.3660195767879486, 0.7208269238471985, 0.5741190314292908, -0.9694851040840149, 0.24167542159557343, -0.26145875453948975, 0.6087261438369751,...
func findMidInList(start, last *listNode) *listNode { if start == nil || last == nil { return nil } slow := start fast := start.next for fast != last { fast = fast.next if fast != last { slow = slow.next fast = fast.next } } return slow }
[ 0.3663911521434784, -0.3161911964416504, 0.5700160264968872, -0.0433792918920517, -0.21489374339580536, -0.8603704571723938, -0.28540492057800293, 0.22684922814369202, 0.20014511048793793, 0.5655083656311035, -0.6437729001045227, 0.6749690771102905, -1.9746311902999878, 0.9328829050064087,...
func (ld *logData) firstReduceExists() bool { if ld.config.Inmem { return ld.recentLog != nil } // disk config, found any state file // TODO: verify if the found file has a matching interval? if _, exists := os.Stat(ld.config.Fname); exists == nil { return true } return false }
[ 0.09638794511556625, 0.18948739767074585, 0.7264453768730164, -0.5769645571708679, 1.3240373134613037, -0.5696113109588623, -0.5938336253166199, 0.38710978627204895, -0.3518401086330414, -0.13163764774799347, 0.48957741260528564, -0.5054659843444824, 0.06389616429805756, 0.4985004663467407...
func RetainLogInterval(log *[]pb.Command, p, n uint64) []pb.Command { cmds := make([]pb.Command, 0, n-p) // TODO: Later improve retrieve algorithm, exploiting the pre-ordering of // commands based on c.Id. The idea is to simply identify the first and last // underlying indexes and return a subslice copy. for _, c...
[ -0.1969718337059021, -0.6607072949409485, 0.4913213849067688, 0.03698370233178139, 0.1540040671825409, 0.23949764668941498, -0.7243198752403259, -1.40896475315094, 0.3553203344345093, -0.985395610332489, -0.22003622353076935, 0.6750581860542297, -1.146910548210144, -0.3325752913951874, 1...
func UnmarshalLogFromReader(logRd io.Reader) ([]pb.Command, error) { var f, l uint64 var ln int // read the retrieved log interval _, err := fmt.Fscanf(logRd, "%d\n%d\n%d\n", &f, &l, &ln) if err != nil { return nil, err } if ln >= 0 { return unmarshalBeelog(logRd, ln) } return unmarshalTradLog(logRd) }
[ 0.04787876456975937, -0.39894503355026245, 0.7176901698112488, -0.8025365471839905, -0.26157471537590027, -0.021800171583890915, -0.5504895448684692, -0.31093868613243103, -0.02393213100731373, -0.28946372866630554, 0.38628309965133667, -0.3606579303741455, -0.3673849403858185, 1.051838278...
func unmarshalBeelog(rd io.Reader, ln int) ([]pb.Command, error) { cmds := make([]pb.Command, 0, ln) for j := 0; j < ln; j++ { var cmdLen int32 err := binary.Read(rd, binary.BigEndian, &cmdLen) if err == io.EOF { break } else if err != nil { return nil, err } raw := make([]byte, cmdLen) _, err = ...
[ 0.0764419361948967, 0.06862523406744003, 1.0601838827133179, -0.611147403717041, 0.03290373086929321, -0.44067099690437317, 0.010399829596281052, -0.5877087712287903, -0.3465937674045563, -0.0783715769648552, -0.1444566398859024, -0.22871443629264832, 0.3531282842159271, 0.7615939378738403...
func unmarshalTradLog(rd io.Reader) ([]pb.Command, error) { cmds := make([]pb.Command, 0) for j := 0; ; j++ { var cmdLen int32 err := binary.Read(rd, binary.BigEndian, &cmdLen) if err == io.EOF || err == io.ErrUnexpectedEOF { break } else if err != nil { return nil, err } raw := make([]byte, cmdLen...
[ -0.08087561279535294, 0.13478687405586243, 0.8857290744781494, -1.2584097385406494, -0.4149385094642639, -0.07672033458948135, -0.12047083675861359, -0.3776271343231201, 0.09915322065353394, -0.13786226511001587, 0.022425826638936996, -0.10096243768930435, -0.4369589686393738, 0.5274134874...
func UnmarshalLogWithLenFromReader(logRd io.Reader, n int) ([]pb.Command, error) { // read the retrieved log interval ln parsed, matching log format, but ignored var f, l uint64 var ln int _, err := fmt.Fscanf(logRd, "%d\n%d\n%d\n", &f, &l, &ln) if err != nil { return nil, err } cmds := make([]pb.Command, 0, ...
[ 0.33163124322891235, -0.48935970664024353, 0.7716326713562012, -0.7347122430801392, -0.24684126675128937, -0.6386203169822693, -0.7899009585380554, -0.6607783436775208, 0.1867315173149109, -0.16994020342826843, 0.17223970592021942, -0.4653909504413605, 0.08239153027534485, 0.74616885185241...
func MarshalLogIntoWriter(logWr io.Writer, log *[]pb.Command, p, n uint64) error { // write requested delimiters for the current state and num _, err := fmt.Fprintf(logWr, "%d\n%d\n%d\n", p, n, len(*log)) if err != nil { return err } for _, c := range *log { raw, err := proto.Marshal(&c) if err != nil { ...
[ -0.2572753429412842, 0.33440807461738586, 0.8359198570251465, -0.021108539775013924, 0.2054503709077835, -0.3792664706707001, -0.15990214049816132, -0.09546943008899689, 0.013599611818790436, -0.046116042882204056, 0.29336628317832947, 0.40179306268692017, -0.299083948135376, 0.38925552368...
func MarshalAndAppendIntoWriter(logWr io.WriteSeeker, log *[]pb.Command) error { buff := bytes.NewBuffer(nil) for _, c := range *log { raw, err := proto.Marshal(&c) if err != nil { return err } // writing size of each serialized message as streaming delimiter err = binary.Write(buff, binary.BigEndian, i...
[ 0.33830511569976807, 0.3080804646015167, 1.0807691812515259, -0.13306884467601776, 0.2451808750629425, 0.08318530768156052, 0.13105405867099762, 0.28532010316848755, 0.5231786370277405, -0.3667420744895935, 0.30509886145591736, 0.1610785275697708, -0.1917910873889923, 1.4420181512832642, ...
func UpdateLogIndexesInFile(fd *os.File, p, n uint64, ln int) error { _, err := fd.Seek(0, io.SeekStart) if err != nil { return err } _, err = fmt.Fprintf(fd, "%d\n%d\n%d\n", p, n, ln) if err != nil { return err } return nil }
[ -0.44705381989479065, -1.0458199977874756, 0.4815804064273834, -0.740848958492279, -0.8962181806564331, 0.8405429124832153, -0.3240860104560852, -0.11420756578445435, -0.680210530757904, -0.0008106635650619864, -0.20444025099277496, 0.7538889646530151, -0.23003147542476654, -0.447177648544...
func DoesSyncthingExist() error { // There is a timing error when using spinners to output things. If a function // completes immediately, you end up with duplicate content. This makes sure // that it won't complete immediately. time.Sleep(1 * time.Millisecond) if !ksync.NewSyncthing().HasBinary() { return fmt....
[ 0.45123082399368286, 0.032784607261419296, 0.8226567506790161, 0.7909979820251465, 0.028747420758008957, -0.18902994692325592, -0.7825168967247009, -0.41677355766296387, -0.37830066680908203, 0.439046710729599, -0.9101080894470215, -0.4476068615913391, -0.3765600025653839, 0.77166599035263...
func IsWatchRunning() error { // This is connecting locally and it is very unlikely watch is overloaded, // set the timeout *super* short to make it easier on the users when they // forgot to start watch. withTimeout, _ := context.WithTimeout(context.TODO(), 100*time.Millisecond) conn, err := grpc.DialContext( ...
[ 0.29726871848106384, -0.42800360918045044, 0.8230428099632263, 0.6890454292297363, 1.0190036296844482, -0.5517542362213135, -0.4439840316772461, -0.3730442523956299, -0.07913178205490112, -0.03097284771502018, 0.12809887528419495, 0.8963258862495422, -0.7094540596008301, -0.036405947059392...