teraslice-client-js / executions / default
Class: default
Defined in: executions.ts:13
Extends
Constructors
Constructor
new default(
config):Executions
Defined in: executions.ts:14
Parameters
| Parameter | Type |
|---|---|
config | ClientConfig |
Returns
Executions
Overrides
Properties
| Property | Modifier | Type | Inherited from | Defined in |
|---|---|---|---|---|
_config | readonly | ClientConfig | default._config | client.ts:14 |
Methods
delete()
delete<
T>(endpoint,options?):Promise<T>
Defined in: client.ts:54
Type Parameters
| Type Parameter | Default type |
|---|---|
T | any |
Parameters
| Parameter | Type |
|---|---|
endpoint | string |
options? | Partial<Options> |
Returns
Promise<T>
Inherited from
errors()
errors(
exId?,opts?):Promise<ErrorRecord[]>
Defined in: executions.ts:45
Parameters
| Parameter | Type |
|---|---|
exId? | string | SearchQuery |
opts? | SearchQuery |
Returns
Promise<ErrorRecord[]>
get()
get<
T>(endpoint,options?):Promise<T>
Defined in: client.ts:42
Type Parameters
| Type Parameter | Default type |
|---|---|
T | any |
Parameters
| Parameter | Type |
|---|---|
endpoint | string |
options? | Partial<Options> |
Returns
Promise<T>
Inherited from
list()
list(
options?):Promise<ExecutionConfig[]>
Defined in: executions.ts:40
Parameters
| Parameter | Type |
|---|---|
options? | ListOptions |
Returns
Promise<ExecutionConfig[]>
makeOptions()
protectedmakeOptions(searchParams,options):RequestOptions
Defined in: client.ts:110
Parameters
| Parameter | Type |
|---|---|
searchParams | undefined | Record<string, any> |
options | RequestOptions |
Returns
Inherited from
parse()
protectedparse(results):any
Defined in: client.ts:106
Parameters
| Parameter | Type |
|---|---|
results | unknown |
Returns
any
Inherited from
post()
post<
T>(endpoint,data?,options?):Promise<T>
Defined in: client.ts:46
Type Parameters
| Type Parameter | Default type |
|---|---|
T | any |
Parameters
| Parameter | Type |
|---|---|
endpoint | string |
data? | unknown |
options? | Partial<Options> |
Returns
Promise<T>
Inherited from
put()
put<
T>(endpoint,data,options?):Promise<T>
Defined in: client.ts:50
Type Parameters
| Type Parameter | Default type |
|---|---|
T | any |
Parameters
| Parameter | Type |
|---|---|
endpoint | string |
data | unknown |
options? | Partial<Options> |
Returns
Promise<T>
Inherited from
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
| Parameter | Type |
|---|---|
jobSpec | JobConfigParams |
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
| Parameter | Type |
|---|---|
exId | string |