loadBackendConfig()
Home > @backstage/backend-common
> loadBackendConfig
Load configuration for a Backend.
This function should only be called once, during the initialization of the backend.
Signature:
function loadBackendConfig(options: {
logger: LoggerService;
remote?: LoadConfigOptionsRemote;
additionalConfigs?: AppConfig[];
argv: string[];
watch?: boolean;
}): Promise<Config>;
Parameters
Parameter | Type | Description |
---|---|---|
options | { logger: LoggerService; remote?: LoadConfigOptionsRemote; additionalConfigs?: AppConfig[]; argv: string[]; watch?: boolean; } |
Returns:
Promise<Config>