teraslice-client-js / executions / default
Class: default
Extends
Constructors
new default()
new default(
config
):default
Parameters
Parameter | Type |
---|---|
config | ClientConfig |
Returns
Overrides
Source
Properties
_config
protected
readonly
_config:ClientConfig
Inherited from
Source
Methods
delete()
delete<
T
>(endpoint
,options
?):Promise
<T
>
Type parameters
Type parameter | Value |
---|---|
T | any |
Parameters
Parameter | Type |
---|---|
endpoint | string |
options ? | Partial <default > |
Returns
Promise
<T
>
Inherited from
Source
errors()
errors(
exId
?,opts
?):Promise
<ErrorRecord
[]>
Parameters
Parameter | Type |
---|---|
exId ? | string | SearchQuery |
opts ? | SearchQuery |
Returns
Promise
<ErrorRecord
[]>
Source
get()
get<
T
>(endpoint
,options
?):Promise
<T
>
Type parameters
Type parameter | Value |
---|---|
T | any |
Parameters
Parameter | Type |
---|---|
endpoint | string |
options ? | Partial <default > |
Returns
Promise
<T
>
Inherited from
Source
list()
list(
options
?):Promise
<ExecutionConfig
[]>
Parameters
Parameter | Type |
---|---|
options ? | ListOptions |
Returns
Promise
<ExecutionConfig
[]>
Source
makeOptions()
protected
makeOptions(searchParams
,options
):Partial
<default
>
Parameters
Parameter | Type |
---|---|
searchParams | undefined | Record <string , any > |
options | Partial <default > |
Returns
Partial
<default
>
Inherited from
Source
parse()
protected
parse(results
):any
Parameters
Parameter | Type |
---|---|
results | unknown |
Returns
any
Inherited from
Source
post()
post<
T
>(endpoint
,data
?,options
?):Promise
<T
>
Type parameters
Type parameter | Value |
---|---|
T | any |
Parameters
Parameter | Type |
---|---|
endpoint | string |
data ? | unknown |
options ? | Partial <default > |
Returns
Promise
<T
>
Inherited from
Source
put()
put<
T
>(endpoint
,data
,options
?):Promise
<T
>
Type parameters
Type parameter | Value |
---|---|
T | any |
Parameters
Parameter | Type |
---|---|
endpoint | string |
data | unknown |
options ? | Partial <default > |
Returns
Promise
<T
>
Inherited from
Source
submit()
submit(
jobSpec
,shouldNotStart
?):Promise
<default
>
Similar to jobs.submit but returns an instance of Ex not a Job
Parameters
Parameter | Type |
---|---|
jobSpec | JobConfigParams |
shouldNotStart ? | boolean |
Returns
Promise
<default
>
Source
wrap()
wrap(
exId
):default
Wraps the execution id with convenience functions for accessing the state on the server.
Parameters
Parameter | Type |
---|---|
exId | string |