v2

package
v0.19.1069 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2026 License: AGPL-3.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppBranchConfigUpdate added in v0.19.1012

func AppBranchConfigUpdate(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)

func ComponentDisabledSteps added in v0.19.1015

func ComponentDisabledSteps(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)

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 DeployAllComponents(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)

func Deprovision

func Deprovision(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)

func DeprovisionSandbox

func DeprovisionSandbox(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)

func InputUpdate

func InputUpdate(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)

func ManualDeploySteps

func ManualDeploySteps(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)

func Provision

func Provision(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)

func Reprovision

func Reprovision(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)

func ReprovisionSandbox

func ReprovisionSandbox(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)

func RunActionWorkflow

func RunActionWorkflow(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)

func RunRunbook added in v0.19.974

func RunRunbook(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)

func SyncSecrets

func SyncSecrets(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)

func TeardownComponent

func TeardownComponent(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)

func TeardownComponents

func TeardownComponents(ctx workflow.Context, flw *app.Workflow) (*app.GenerateStepsResult, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL