Skip to main content

teraslice-client-js / cluster / default

Class: default

Extends

Constructors

new default()

new default(config): default

Parameters

ParameterType
configRecord<string, any>

Returns

default

Overrides

default.constructor

Source

cluster.ts:13

Properties

_config

protected readonly _config: ClientConfig

Inherited from

default._config

Source

client.ts:14

Methods

controllers()

controllers(): Promise<ExecutionList>

Returns

Promise<ExecutionList>

Source

cluster.ts:35


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


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


info()

info(): Promise<ApiRootResponse>

Returns

Promise<ApiRootResponse>

Source

cluster.ts:19


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


slicers()

slicers(): Promise<ExecutionList>

Returns

Promise<ExecutionList>

Source

cluster.ts:31


state()

state(): Promise<ClusterState>

Returns

Promise<ClusterState>

Source

cluster.ts:23


stats()

stats(): Promise<ClusterStats>

Returns

Promise<ClusterStats>

Source

cluster.ts:27


txt()

txt(type): Promise<string>

Parameters

ParameterType
typestring

Returns

Promise<string>

Source

cluster.ts:39