Documentation ¶
Index ¶
- type GitRepositoryGenerator
- func (g *GitRepositoryGenerator) Generate(ctx context.Context, sg *kustomizesetv1.KustomizationSetGenerator, ...) ([]map[string]any, error)
- func (g *GitRepositoryGenerator) Interval(sg *kustomizesetv1.KustomizationSetGenerator) time.Duration
- func (g *GitRepositoryGenerator) Template(sg *kustomizesetv1.KustomizationSetGenerator) *kustomizesetv1.KustomizationSetTemplate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitRepositoryGenerator ¶
GitRepositoryGenerator extracts files from Flux GitRepository resources.
func NewGenerator ¶
func NewGenerator(l logr.Logger, c client.Client) *GitRepositoryGenerator
NewGenerator creates and returns a new pull request generator.
func (*GitRepositoryGenerator) Generate ¶
func (g *GitRepositoryGenerator) Generate(ctx context.Context, sg *kustomizesetv1.KustomizationSetGenerator, ks *kustomizesetv1.KustomizationSet) ([]map[string]any, error)
func (*GitRepositoryGenerator) Interval ¶
func (g *GitRepositoryGenerator) Interval(sg *kustomizesetv1.KustomizationSetGenerator) time.Duration
Interval is an implementation of the Generator interface.
func (*GitRepositoryGenerator) Template ¶
func (g *GitRepositoryGenerator) Template(sg *kustomizesetv1.KustomizationSetGenerator) *kustomizesetv1.KustomizationSetTemplate
Template is an implementation of the Generator interface.
Click to show internal directories.
Click to hide internal directories.