Help us shape the future of Go! Take the 2026 Go Developer Survey

policy

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoUpdateStrategy is an update error when the update strategy is not
	// specified.
	ErrNoUpdateStrategy = errors.New("no update strategy")
	// ErrUnsupportedUpdateStrategy is an update error when the provided update
	// strategy is not supported.
	ErrUnsupportedUpdateStrategy = errors.New("unsupported update strategy")
)

Functions

func ApplyPolicies

func ApplyPolicies(ctx context.Context, workDir string, obj *imagev1.ImageUpdateAutomation, policies []reflectorv1.ImagePolicy) (update.Result, error)

ApplyPolicies applies the given set of policies on the source present in the workDir based on the provided ImageUpdateAutomation configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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