terafoundation / core-context / CoreContext
Class: CoreContext<S, A, D>
Defined in: core-context.ts:8
CoreContext
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
S | Record<string, any> |
A | Record<string, any> |
D extends string | string |
Implements
Context<S,A,D>
Constructors
Constructor
new CoreContext<
S,A,D>(config,cluster,sysconfig,assignment?):CoreContext<S,A,D>
Defined in: core-context.ts:23
Parameters
| Parameter | Type |
|---|---|
config | Config<S, A, D> |
cluster | Cluster |
sysconfig | SysConfig<S> |
assignment? | D |
Returns
CoreContext<S, A, D>
Properties
| Property | Modifier | Type | Default value | Defined in |
|---|---|---|---|---|
apis | readonly | ContextAPIs & A | undefined | core-context.ts:15 |
arch | readonly | Architecture | process.arch | core-context.ts:18 |
assignment | public | D | undefined | core-context.ts:20 |
cluster | readonly | Cluster | undefined | core-context.ts:13 |
cluster_name? | public | string | undefined | core-context.ts:21 |
logger | readonly | Logger | undefined | core-context.ts:16 |
name | readonly | string | undefined | core-context.ts:17 |
platform | readonly | Platform | process.platform | core-context.ts:19 |
sysconfig | readonly | SysConfig<S> | undefined | core-context.ts:14 |