Documentation
¶
Overview ¶
Package actions runs the onCreate actions in a distro package.
Derived from zarf's src/pkg/packager/actions and the network half of src/pkg/wait. zarf's wait package serves both cluster and network waits from one file, so importing it for a network probe linked k8s.io/kubectl, k8s.io/cli-runtime and sigs.k8s.io/kustomize - about 5.9MB of a binary that never has a cluster to wait on, because cargoship runs actions only at package create time. See docs/agent/choice-actions-fork.md.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForNetwork ¶
func ForNetwork(ctx context.Context, protocol, address, condition string, timeout time.Duration) error
ForNetwork waits for a network endpoint to respond.
func MatchAllRegex ¶
MatchAllRegex wraps a get function around each substring match, returning all matches.
Types ¶
type RunOptions ¶
type RunOptions struct {
DefaultConfig api.ActionDefaults
VariableConfig *variables.VariableConfig
Values value.Values
StateAccess template.StateAccess
}
RunOptions configures optional action execution behavior.