Skip to main content

teraslice-client-js / executions / default

Class: default

Defined in: executions.ts:12

Extends​

Constructors​

Constructor​

new default(config): Executions

Defined in: executions.ts:13

Parameters​

ParameterType
configClientConfig

Returns​

Executions

Overrides​

default.constructor

Properties​

PropertyModifierTypeInherited fromDefined in
_configreadonlyClientConfigdefault._configclient.ts:14

Methods​

delete()​

delete<T>(endpoint, options?): Promise<T>

Defined in: client.ts:54

Type Parameters​

Type ParameterDefault type
Tany

Parameters​

ParameterType
endpointstring
options?Partial<Options>

Returns​

Promise<T>

Inherited from​

default.delete


errors()​

errors(exId?, opts?): Promise<ErrorRecord[]>

Defined in: executions.ts:44

Parameters​

ParameterType
exId?string | SearchQuery
opts?SearchQuery

Returns​

Promise<ErrorRecord[]>


get()​

get<T>(endpoint, options?): Promise<T>

Defined in: client.ts:42

Type Parameters​

Type ParameterDefault type
Tany

Parameters​

ParameterType
endpointstring
options?Partial<Options>

Returns​

Promise<T>

Inherited from​

default.get


list()​

list(options?): Promise<ExecutionConfig[]>

Defined in: executions.ts:39

Parameters​

ParameterType
options?ListOptions

Returns​

Promise<ExecutionConfig[]>


makeOptions()​

protected makeOptions(searchParams, options): RequestOptions

Defined in: client.ts:110

Parameters​

ParameterType
searchParamsRecord<string, any> | undefined
optionsRequestOptions

Returns​

RequestOptions

Inherited from​

default.makeOptions


parse()​

protected parse(results): any

Defined in: client.ts:106

Parameters​

ParameterType
resultsunknown

Returns​

any

Inherited from​

default.parse


post()​

post<T>(endpoint, data?, options?): Promise<T>

Defined in: client.ts:46

Type Parameters​

Type ParameterDefault type
Tany

Parameters​

ParameterType
endpointstring
data?unknown
options?Partial<Options>

Returns​

Promise<T>

Inherited from​

default.post


put()​

put<T>(endpoint, data, options?): Promise<T>

Defined in: client.ts:50

Type Parameters​

Type ParameterDefault type
Tany

Parameters​

ParameterType
endpointstring
dataunknown
options?Partial<Options>

Returns​

Promise<T>

Inherited from​

default.put


submit()​

submit(jobSpec, shouldNotStart?): Promise<default>

Defined in: executions.ts:21

Similar to jobs.submit but returns an instance of Ex not a Job

Parameters​

ParameterType
jobSpecJobConfigParams
shouldNotStart?boolean

Returns​

Promise<default>


wrap()​

wrap(exId): default

Defined in: executions.ts:68

Wraps the execution id with convenience functions for accessing the state on the server.

Parameters​

ParameterType
exIdstring

Returns​

default