imagepolicy

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratorFactory

func GeneratorFactory(l logr.Logger, c client.Reader) generators.Generator

GeneratorFactory is a function for creating per-reconciliation generators for the ImagePolicyGenerator.

Types

type ImagePolicyGenerator

type ImagePolicyGenerator struct {
	Client client.Reader
	logr.Logger
}

ImagePolicyGenerator extracts files from Flux ImagePolicy resources.

func NewGenerator

func NewGenerator(l logr.Logger, c client.Reader) *ImagePolicyGenerator

NewGenerator creates and returns a new ImagePolicy generator.

func (*ImagePolicyGenerator) Generate

Generate is an implementation of the Generator interface.

This uses the referenced Flux ImagePolicy to determine the images to return.

func (*ImagePolicyGenerator) Interval

Interval is an implementation of the Generator interface.

ImagePolicyGenerator is driven by watching a Flux ImagePolicy resource.

Jump to

Keyboard shortcuts

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