Documentation
¶
Index ¶
- Variables
- func ActionTemplates(_ context.Context, input cmdtools.CommandInput) error
- func AppPRWorkflow(_ context.Context, input cmdtools.CommandInput) error
- func BackupWorkflow(_ context.Context, input cmdtools.CommandInput) error
- func DriftDetection(_ context.Context, input cmdtools.CommandInput) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ActionsCmd = &cli.Command{ Name: "actions", Usage: "Copies action files templates", Action: cmdtools.Wrap(ActionTemplates), }
View Source
var BackupCmd = &cli.Command{ Name: "backup", Usage: "Generate backup workflows for resources", Action: cmdtools.Wrap(BackupWorkflow), }
View Source
var Command = &cli.Command{ Name: "cicd", Usage: "Manage github workflows", Description: "Command for working with github CI/CD workflows", Commands: []*cli.Command{ ActionsCmd, BackupCmd, DriftCmd, }, }
Command defines the env commands for interacting and generating github workflow/action file artifacts.
View Source
var DriftCmd = &cli.Command{ Name: "drift", Usage: "Creates the drift detection workflow", Action: cmdtools.Wrap(DriftDetection), }
Functions ¶
func ActionTemplates ¶
func ActionTemplates(_ context.Context, input cmdtools.CommandInput) error
ActionTemplates copies action.yaml files from the templates folder so services can use re-usable workflow helpers in CI/CD.
func AppPRWorkflow ¶
func AppPRWorkflow(_ context.Context, input cmdtools.CommandInput) error
AppPRWorkflow bootstraps all the GitHub workflows for a WebKit application.
func BackupWorkflow ¶
func BackupWorkflow(_ context.Context, input cmdtools.CommandInput) error
BackupWorkflow creates backup workflows for every resource if the backup config is enabled.
func DriftDetection ¶
func DriftDetection(_ context.Context, input cmdtools.CommandInput) error
DriftDetection simply copies the drift detection workflow.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.