ocirepository

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratorFactory

func GeneratorFactory(fetcher parser.ArchiveFetcher) generators.GeneratorFactory

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

Types

type OCIRepositoryGenerator

type OCIRepositoryGenerator struct {
	Client client.Reader
	logr.Logger

	Fetcher parser.ArchiveFetcher
}

OCIRepositoryGenerator extracts files from Flux OCIRepository resources.

func NewGenerator

NewGenerator creates and returns a new OCIRepository generator.

func (*OCIRepositoryGenerator) Generate

Generate is an implementation of the Generator interface.

If the OCIRepository generator generates from a list of files, each file is parsed and returned as a generated element.

func (*OCIRepositoryGenerator) Interval

Interval is an implementation of the Generator interface.

OCIRepositoryGenerator is driven by watching a Flux OCIRepository resource.

Jump to

Keyboard shortcuts

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