Skip to main content

terafoundation / core-context / CoreContext

Class: CoreContext<S, A, D>

CoreContext

Extended by

Type parameters

Type parameterValue
SRecord<string, any>
ARecord<string, any>
D extends stringstring

Implements

  • Context<S, A, D>

Constructors

new CoreContext()

new CoreContext<S, A, D>(config, cluster, sysconfig, assignment?): CoreContext<S, A, D>

Parameters

ParameterType
configConfig<S, A, D>
clusterCluster
sysconfigSysConfig<S>
assignment?D

Returns

CoreContext<S, A, D>

Source

core-context.ts:23

Properties

apis

readonly apis: ContextAPIs & A

Implementation of

Terafoundation.Context.apis

Source

core-context.ts:15


arch

readonly arch: Architecture = process.arch

Implementation of

Terafoundation.Context.arch

Source

core-context.ts:18


assignment

assignment: D

Implementation of

Terafoundation.Context.assignment

Source

core-context.ts:20


cluster

readonly cluster: Cluster

Implementation of

Terafoundation.Context.cluster

Source

core-context.ts:13


cluster_name?

optional cluster_name: string

Implementation of

Terafoundation.Context.cluster_name

Source

core-context.ts:21


logger

readonly logger: Logger

Implementation of

Terafoundation.Context.logger

Source

core-context.ts:16


name

readonly name: string

Implementation of

Terafoundation.Context.name

Source

core-context.ts:17


platform

readonly platform: Platform = process.platform

Implementation of

Terafoundation.Context.platform

Source

core-context.ts:19


sysconfig

readonly sysconfig: SysConfig<S>

Implementation of

Terafoundation.Context.sysconfig

Source

core-context.ts:14