Skip to main content

terafoundation / validate-configs

validate-configs

Functions

default()

default<S, A, D>(cluster, config, sysconfig): Promise<Terafoundation.SysConfig<S>>

Type parameters

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

Parameters

ParameterTypeDescription
clusterClusterthe nodejs cluster metadata
configConfig<S, A, D>the config object passed to the library terafoundation
sysconfigPartialDeep<SysConfig<S>>unvalidated sysconfig

Returns

Promise<Terafoundation.SysConfig<S>>

Source

validate-configs.ts:84