Skip to main content
Version: Next

PuppetDbEntityProvider.fromConfig()

Home > @backstage/plugin-catalog-backend-module-puppetdb > PuppetDbEntityProvider > fromConfig

Creates instances of PuppetDbEntityProvider from a configuration.

Signature:

static fromConfig(config: Config, deps: {
logger: LoggerService;
schedule?: SchedulerServiceTaskRunner;
scheduler?: SchedulerService;
transformer?: ResourceTransformer;
}): PuppetDbEntityProvider[];

Parameters

Parameter

Type

Description

config

Config

The configuration to read provider information from.

deps

{ logger: LoggerService; schedule?: SchedulerServiceTaskRunner; scheduler?: SchedulerService; transformer?: ResourceTransformer; }

The dependencies for PuppetDbEntityProvider.

**Returns:**

PuppetDbEntityProvider[]

A list of PuppetDbEntityProvider instances.