Skip to main content

teraslice-client-js / executions / default

Class: default

Defined in: executions.ts:13

Extends

Constructors

new default()

new default(config): default

Defined in: executions.ts:14

Parameters

ParameterType
configClientConfig

Returns

default

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:45

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:40

Parameters

ParameterType
options?ListOptions

Returns

Promise<ExecutionConfig[]>


makeOptions()

protected makeOptions(searchParams, options): Partial

Defined in: client.ts:110

Parameters

ParameterType
searchParamsundefined | Record<string, any>
optionsPartial

Returns

Partial

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:22

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:69

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

Parameters

ParameterType
exIdstring

Returns

default