gitrepository

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 GitRepositoryGenerator.

Types

type GitRepositoryGenerator

type GitRepositoryGenerator struct {
	Client client.Reader
	logr.Logger

	Fetcher parser.ArchiveFetcher
}

GitRepositoryGenerator extracts files from Flux GitRepository resources.

func NewGenerator

NewGenerator creates and returns a new GitRepository generator.

func (*GitRepositoryGenerator) Generate

Generate is an implementation of the Generator interface.

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

func (*GitRepositoryGenerator) Interval

Interval is an implementation of the Generator interface.

GitRepositoryGenerator is driven by watching a Flux GitRepository resource.

Jump to

Keyboard shortcuts

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