teraslice-client-js / cluster / default
Class: default
Extends
Constructors
new default()
new default(
config
):default
Parameters
Parameter | Type |
---|---|
config | Record <string , any > |
Returns
Overrides
Source
Properties
_config
protected
readonly
_config:ClientConfig
Inherited from
Source
Methods
controllers()
controllers():
Promise
<ExecutionList
>
Returns
Promise
<ExecutionList
>
Source
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
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
info()
info():
Promise
<ApiRootResponse
>
Returns
Promise
<ApiRootResponse
>
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
slicers()
slicers():
Promise
<ExecutionList
>
Returns
Promise
<ExecutionList
>
Source
state()
state():
Promise
<ClusterState
>
Returns
Promise
<ClusterState
>
Source
stats()
stats():
Promise
<ClusterStats
>
Returns
Promise
<ClusterStats
>
Source
txt()
txt(
type
):Promise
<string
>
Parameters
Parameter | Type |
---|---|
type | string |
Returns
Promise
<string
>