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 |
The configuration to read provider information from. | |
deps |
{ logger: LoggerService; schedule?: SchedulerServiceTaskRunner; scheduler?: SchedulerService; transformer?: ResourceTransformer; } |
The dependencies for PuppetDbEntityProvider. |
A list of PuppetDbEntityProvider instances.