@backstage/plugin-scaffolder-backend
Home > @backstage/plugin-scaffolder-backend
The Backstage backend plugin that helps you create new things
Classes
Class |
Description |
---|---|
DatabaseTaskStore | |
TaskManager | |
TaskWorker | |
Registry of all registered template actions. |
Functions
Function |
Description |
---|---|
A function to generate create a list of default actions that the scaffolder provides. Is called internally in the default setup, but can be used when adding your own actions or overriding the default ones TODO(blam): version 2 of the scaffolder shouldn't ship with the additional modules. We should ship the basics, and let people install modules for the providers they want to use. | |
Registers entities from a catalog descriptor file in the workspace into the software catalog. | |
Writes a catalog descriptor file containing the provided entity to a path in the workspace. | |
Writes a message into the log or lists all files in the workspace | |
Returns entity or entities from the catalog by entity reference(s). | |
Downloads content and places it in the workspace, or optionally in a subdirectory specified by the 'targetPath' input option. | |
Downloads content and places it in the workspace, or optionally in a subdirectory specified by the 'targetPath' input option. | |
Downloads a skeleton, templates variables into file and directory names and content. Then places the result in the workspace, or optionally in a subdirectory specified by the 'targetPath' input option. | |
Downloads a single file and templates variables into file. Then places the result in the workspace, or optionally in a subdirectory specified by the 'targetPath' input option. | |
Creates new action that enables deletion of files and directories in the workspace. | |
Creates a new action that allows renames of files and directories in the workspace. | |
A method to create a router for the scaffolder backend plugin. | |
Waits for a certain period of time. |
Interfaces
Interface |
Description |
---|---|
The options passed to createBuiltinActions() | |
Stores the state of the current claimed task passed to the TaskContext | |
RouterOptions | |
TaskStore |
Variables
Variable |
Description |
---|---|
Run a command in a sub-process, normally a shell command. | |
A helper function that reads the contents of a directory from the given URL. Can be used in your own actions, and also used behind fetch:template and fetch:plain | |
Adds support for scaffolder specific entity kinds to the catalog. | |
Scaffolder plugin |
Type Aliases
Type Alias |
Description |
---|---|
CreateWorkerOptions | |
DatabaseTaskStore | |
Options for executeShellCommand. | |
SerializedTask | |
SerializedTaskEvent | |
TaskBroker | |
The options passed to | |
The result of | |
The state of a completed task. | |
Task | |
TaskEventType | |
The status of each step of the Task | |
The options passed to TaskStore.createTask() | |
The response from TaskStore.createTask() | |
TaskStoreEmitOptions | |
TaskStoreListEventsOptions | |
The options passed to TaskStore.recoverTasks() | |
TaskStoreShutDownTaskOptions | |