Skip to main content

terafoundation / connector-utils

connector-utils

Functions

createClient()

createClient(name, moduleConfig, logger, options): Promise<ConnectorOutput>

Parameters

ParameterType
namestring
moduleConfigRecord<string, any>
loggerLogger
optionsRecord<string, any>

Returns

Promise<ConnectorOutput>

Source

connector-utils.ts:153


getConnectorModule()

getConnectorModule<S>(name, reason): Promise<Terafoundation.Connector<S> | null>

Type parameters

Type parameterValue
SRecord<string, any>

Parameters

ParameterType
namestring
reasonstring

Returns

Promise<Terafoundation.Connector<S> | null>

Source

connector-utils.ts:90


getConnectorSchemaAndValFn()

getConnectorSchemaAndValFn<S>(name): Promise<Terafoundation.Initializers<S>>

Type parameters

Type parameter
S

Parameters

ParameterType
namestring

Returns

Promise<Terafoundation.Initializers<S>>

Source

connector-utils.ts:138