Documentation
¶
Index ¶
- func AppBranchConfigUpdate(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- func ComponentDisabledSteps(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- func ComponentEnabledSteps(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- func DeployAllComponents(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- func Deprovision(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- func DeprovisionSandbox(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- func InputUpdate(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- func ManualDeploySteps(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- func Provision(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- func Reprovision(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- func ReprovisionSandbox(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- func RunActionWorkflow(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- func RunRunbook(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- func SyncSecrets(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- func TeardownComponent(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- func TeardownComponents(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
- func WithInstallInputs(ii *app.InstallInputs) genCtxOption
- type WorkflowStepOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppBranchConfigUpdate ¶ added in v0.19.1012
func ComponentDisabledSteps ¶ added in v0.19.1015
func ComponentEnabledSteps ¶ added in v0.19.1015
func ComponentEnabledSteps(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)
ComponentEnabledSteps and ComponentDisabledSteps back the dedicated WorkflowTypeComponentEnabled / WorkflowTypeComponentDisabled workflows. These types exist purely for UX and observability: a toggle gets its own recognizable workflow name ("Enabling component" / "Disabling component") instead of a generic input update.
They deliberately carry no behavior of their own. The synthetic enabled input is the single source of truth and is persisted by the service layer before the workflow starts, so reconciliation is identical to a config-file toggle. Delegating straight to InputUpdate guarantees the dedicated path can never drift from the generic input-update path.
func DeployAllComponents ¶
func Deprovision ¶
func DeprovisionSandbox ¶
func InputUpdate ¶
func ManualDeploySteps ¶
func Reprovision ¶
func ReprovisionSandbox ¶
func RunActionWorkflow ¶
func RunRunbook ¶ added in v0.19.974
func SyncSecrets ¶
func TeardownComponent ¶
func TeardownComponents ¶
func WithInstallInputs ¶ added in v0.19.1016
func WithInstallInputs(ii *app.InstallInputs) genCtxOption
WithInstallInputs supplies the install's latest input values so the step generator can resolve toggleable-component enabled-state from the synthetic enabled inputs (the source of truth for component toggles).
Types ¶
type WorkflowStepOptions ¶
type WorkflowStepOptions func(*app.WorkflowStep)
WorkflowStepOptions is a functional option for configuring WorkflowStep
func WithExecutionType ¶
func WithExecutionType(executionType app.WorkflowStepExecutionType) WorkflowStepOptions
func WithGroupIdx ¶
func WithGroupIdx(n int) WorkflowStepOptions
func WithMaxAutoRetries ¶ added in v0.19.988
func WithMaxAutoRetries(n int) WorkflowStepOptions
func WithSkippable ¶
func WithSkippable(skippable bool) WorkflowStepOptions
Source Files
¶
- app_branch_config_update.go
- component_toggle.go
- deploy_components.go
- deprovision.go
- deprovision_sandbox.go
- effective_enabled.go
- manual_deploy.go
- provision.go
- reprovision.go
- reprovision_sandbox.go
- run_action_workflow.go
- run_runbook.go
- shared.go
- shared_component_deploy.go
- shared_helpers.go
- sync_secrets.go
- teardown_component.go
- teardown_components.go
- update_input.go