Skip to main content

ConfigSources

Home > @backstage/config-loader > ConfigSources

A collection of utilities for working with and creating ConfigSources.

Signature:

class ConfigSources 

Methods

Method

Modifiers

Description

default(options)

static

Creates the default config source for Backstage.

defaultForTargets(options)

static

Creates the default config sources for the provided targets.

merge(sources)

static

Merges multiple config sources into a single source that reads from all sources and concatenates the result.

parseArgs(argv)

static

Parses command line arguments and returns the config targets.

toConfig(source)

static

Creates an observable Config implementation from a ConfigSource.