Skip to main content

teraslice-client-js / cluster / default

Class: default

Defined in: cluster.ts:13

Extends​

Constructors​

Constructor​

new default(config): Cluster

Defined in: cluster.ts:14

Parameters​

ParameterType
configRecord<string, any>

Returns​

Cluster

Overrides​

default.constructor

Properties​

PropertyModifierTypeInherited fromDefined in
_configreadonlyClientConfigdefault._configclient.ts:14

Methods​

connectors()​

connectors(query?, searchOptions?): Promise<ConnectorListResponse>

Defined in: cluster.ts:40

Parameters​

ParameterType
queryConnectorQueryOptions
searchOptionsRequestOptions

Returns​

Promise<ConnectorListResponse>


controllers()​

controllers(): Promise<ExecutionList>

Defined in: cluster.ts:36

Returns​

Promise<ExecutionList>


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


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


info()​

info(): Promise<ApiRootResponse>

Defined in: cluster.ts:20

Returns​

Promise<ApiRootResponse>


makeOptions()​

protected makeOptions(searchParams, options): RequestOptions

Defined in: client.ts:110

Parameters​

ParameterType
searchParamsRecord<string, any> | undefined
optionsRequestOptions

Returns​

RequestOptions

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


slicers()​

slicers(): Promise<ExecutionList>

Defined in: cluster.ts:32

Returns​

Promise<ExecutionList>


state()​

state(): Promise<ClusterState>

Defined in: cluster.ts:24

Returns​

Promise<ClusterState>


stats()​

stats(): Promise<ClusterStats>

Defined in: cluster.ts:28

Returns​

Promise<ClusterStats>


txt()​

txt(type): Promise<string>

Defined in: cluster.ts:48

Parameters​

ParameterType
typestring

Returns​

Promise<string>