Terafoundation: `Core Context Core Context`
core-context.CoreContext
CoreContext
Type parameters
Name | Type |
---|---|
S | Record <string , any > |
A | Record <string , any > |
D | extends string = string |
Hierarchy
CoreContext
Implements
FoundationContext
<S
,A
,D
>
Table of contents
Constructors
Properties
Constructors
constructor
• new CoreContext<S
, A
, D
>(config
, cluster
, sysconfig
, assignment?
): CoreContext
<S
, A
, D
>
Type parameters
Name | Type |
---|---|
S | Record <string , any > |
A | Record <string , any > |
D | extends string = string |
Parameters
Name | Type |
---|---|
config | FoundationConfig <S , A , D > |
cluster | Cluster |
sysconfig | FoundationSysConfig <S > |
assignment? | D |
Returns
CoreContext
<S
, A
, D
>
Defined in
terafoundation/src/core-context.ts:24
Properties
apis
• Readonly
apis: ContextAPIs
& A
Implementation of
i.FoundationContext.apis
Defined in
terafoundation/src/core-context.ts:15
arch
• Readonly
arch: Architecture
= process.arch
Implementation of
i.FoundationContext.arch
Defined in
terafoundation/src/core-context.ts:19
assignment
• assignment: D
Implementation of
i.FoundationContext.assignment
Defined in
terafoundation/src/core-context.ts:21
cluster
• Readonly
cluster: Cluster
Implementation of
i.FoundationContext.cluster
Defined in
terafoundation/src/core-context.ts:13
cluster_name
• Optional
cluster_name: string
Implementation of
i.FoundationContext.cluster_name
Defined in
terafoundation/src/core-context.ts:22
foundation
• Readonly
foundation: LegacyFoundationApis
Implementation of
i.FoundationContext.foundation
Defined in
terafoundation/src/core-context.ts:16
logger
• Readonly
logger: Logger
Implementation of
i.FoundationContext.logger
Defined in
terafoundation/src/core-context.ts:17
name
• Readonly
name: string
Implementation of
i.FoundationContext.name
Defined in
terafoundation/src/core-context.ts:18
platform
• Readonly
platform: Platform
= process.platform
Implementation of
i.FoundationContext.platform
Defined in
terafoundation/src/core-context.ts:20
sysconfig
• Readonly
sysconfig: FoundationSysConfig
<S
>
Implementation of
i.FoundationContext.sysconfig