Skip to main content

teraslice-client-js / executions / default

Class: default

Extends

Constructors

new default()

new default(config): default

Parameters

ParameterType
configClientConfig

Returns

default

Overrides

default.constructor

Source

executions.ts:14

Properties

_config

protected readonly _config: ClientConfig

Inherited from

default._config

Source

client.ts:14

Methods

delete()

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

Type parameters

Type parameterValue
Tany

Parameters

ParameterType
endpointstring
options?Partial<default>

Returns

Promise<T>

Inherited from

default.delete

Source

client.ts:54


errors()

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

Parameters

ParameterType
exId?string | SearchQuery
opts?SearchQuery

Returns

Promise<ErrorRecord[]>

Source

executions.ts:45


get()

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

Type parameters

Type parameterValue
Tany

Parameters

ParameterType
endpointstring
options?Partial<default>

Returns

Promise<T>

Inherited from

default.get

Source

client.ts:42


list()

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

Parameters

ParameterType
options?ListOptions

Returns

Promise<ExecutionConfig[]>

Source

executions.ts:40


makeOptions()

protected makeOptions(searchParams, options): Partial<default>

Parameters

ParameterType
searchParamsundefined | Record<string, any>
optionsPartial<default>

Returns

Partial<default>

Inherited from

default.makeOptions

Source

client.ts:110


parse()

protected parse(results): any

Parameters

ParameterType
resultsunknown

Returns

any

Inherited from

default.parse

Source

client.ts:106


post()

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

Type parameters

Type parameterValue
Tany

Parameters

ParameterType
endpointstring
data?unknown
options?Partial<default>

Returns

Promise<T>

Inherited from

default.post

Source

client.ts:46


put()

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

Type parameters

Type parameterValue
Tany

Parameters

ParameterType
endpointstring
dataunknown
options?Partial<default>

Returns

Promise<T>

Inherited from

default.put

Source

client.ts:50


submit()

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

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

Parameters

ParameterType
jobSpecJobConfigParams
shouldNotStart?boolean

Returns

Promise<default>

Source

executions.ts:22


wrap()

wrap(exId): default

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

Parameters

ParameterType
exIdstring

Returns

default

Source

executions.ts:69