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:64

Properties

config

Optional Readonly config: SC

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

Defined in

src/lib/config.ts:84


details

Readonly details: SC[]

A list of services sharing the same runtime.

Defined in

src/lib/config.ts:80


name

Readonly name: string

Name of the runtime.

Implementation of

NameAware.name

Defined in

src/lib/config.ts:68


subtype

Readonly subtype: string

Subtype of the runtime.

Implementation of

SubtypeAware.subtype

Defined in

src/lib/config.ts:76


type

Readonly type: string

Type of the runtime.

Implementation of

TypeAware.type

Defined in

src/lib/config.ts:72