Skip to main content
Version: Next

CreateWorkerOptions

Home > @backstage/plugin-scaffolder-backend > CreateWorkerOptions

CreateWorkerOptions

Signature:

export type CreateWorkerOptions = {
taskBroker: TaskBroker;
actionRegistry: TemplateActionRegistry;
integrations: ScmIntegrations;
workingDirectory: string;
logger: Logger;
auditor?: AuditorService;
additionalTemplateFilters?: Record<string, TemplateFilter>;
concurrentTasksLimit?: number;
additionalTemplateGlobals?: Record<string, TemplateGlobal>;
permissions?: PermissionEvaluator;
gracefulShutdown?: boolean;
};

References: TaskBroker, TemplateActionRegistry, ScmIntegrations, AuditorService, TemplateFilter, TemplateGlobal, PermissionEvaluator