emptygroup

package
v0.19.1237 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(sig signal.Signal, setDirective func(ctx workflow.Context, stepID string, d directive.Step) error) directive.ApprovalCreateCheck

Types

type Check

type Check struct {

	// SetResultDirective writes the directive to the step's ResultDirective column.
	SetResultDirective func(ctx workflow.Context, stepID string, d directive.Step) error
	// contains filtered or unexported fields
}

Check auto-skips an install-group plan step when the group resolves to zero installs. Without it the step parks in AwaitingApproval forever, since no approval request is dispatched for an empty group.

func (*Check) Name

func (c *Check) Name() string

func (*Check) Run

func (*Check) ShouldRun

func (c *Check) ShouldRun(step *app.WorkflowStep, flw *app.Workflow) bool

Jump to

Keyboard shortcuts

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