StaticdefaultCreates the default config source for Backstage.
Options
The default Backstage config source
This will read from app-config.yaml and app-config.local.yaml by
default, as well as environment variables prefixed with APP_CONFIG_.
If --config <path|url> command line arguments are passed, these will
override the default configuration file paths. URLs are only supported
if the remote option is provided.
StaticdefaultCreates the default config sources for the provided targets.
Options
A config source for the provided targets
This will create FileConfigSources and RemoteConfigSources
for the provided targets, and merge them together to a single source.
If no targets are provided it will fall back to app-config.yaml and
app-config.local.yaml.
URL targets are only supported if the remote option is provided.
StaticmergeMerges multiple config sources into a single source that reads from all sources and concatenates the result.
The config sources to merge
A single config source that concatenates the data from the given sources
StaticparseParses command line arguments and returns the config targets.
The command line arguments to parse. Defaults to process.argv
A list of config targets
StatictoCreates an observable @backstage/config#Config implementation from a ConfigSource.
The config source to read from
A promise that resolves to a closable config
A collection of utilities for working with and creating ConfigSources.