actions

package
v0.87.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package actions contains functions for running component actions within Zarf packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchAllRegex added in v0.55.6

func MatchAllRegex(regex *regexp.Regexp, str string) []func(string) string

MatchAllRegex wraps a get function around each substring match, returning all matches.

func Run

func Run(ctx context.Context, basePath string, actions []api.Action, opts RunOptions) error

Run runs all provided actions.

Types

type RunOptions added in v0.87.0

type RunOptions struct {
	DefaultConfig  api.ActionDefaults
	VariableConfig *variables.VariableConfig
	Values         value.Values
	StateAccess    template.StateAccess
}

RunOptions configures optional action execution behavior.

Jump to

Keyboard shortcuts

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