Skip to content

@openfabr/cdf / Exports / RuntimeConfig

Class: RuntimeConfig<SC>

Concrete class for a group of services sharing the same runtime.

Usually there is no need to extend this class.

Type parameters

Name Type
SC extends ServiceConfig

Implements

Table of contents

Constructors

Properties

Constructors

constructor

new RuntimeConfig<SC>(name, type, subtype, details, config?)

Type parameters

Name Type
SC extends ServiceConfig

Parameters

Name Type Description
name string Name of the runtime.
type string Type of the runtime.
subtype string Subtype of the runtime.
details SC[] A list of services sharing the same runtime.
config? SC The fallback config that applies to all services defined for the runtime.

Defined in

src/lib/config.ts:51

Properties

config

Optional Readonly config: SC

The fallback config that applies to all services defined for the runtime.

Defined in

src/lib/config.ts:71


details

Readonly details: SC[]

A list of services sharing the same runtime.

Defined in

src/lib/config.ts:67


name

Readonly name: string

Name of the runtime.

Implementation of

NameAware.name

Defined in

src/lib/config.ts:55


subtype

Readonly subtype: string

Subtype of the runtime.

Implementation of

SubtypeAware.subtype

Defined in

src/lib/config.ts:63


type

Readonly type: string

Type of the runtime.

Implementation of

TypeAware.type

Defined in

src/lib/config.ts:59