Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratorFactory ¶
GeneratorFactory is a function for creating per-reconciliation generators for the GitRepositoryGenerator.
Types ¶
type PullRequestGenerator ¶
type PullRequestGenerator struct { Client client.Reader logr.Logger // contains filtered or unexported fields }
PullRequestGenerator generates from the open pull requests in a repository.
func NewGenerator ¶
func NewGenerator(l logr.Logger, c client.Reader) *PullRequestGenerator
NewGenerator creates and returns a new pull request generator.
func (*PullRequestGenerator) Generate ¶
func (g *PullRequestGenerator) Generate(ctx context.Context, sg *templatesv1.GitOpsSetGenerator, ks *templatesv1.GitOpsSet) ([]map[string]any, error)
func (*PullRequestGenerator) Interval ¶
func (g *PullRequestGenerator) Interval(sg *templatesv1.GitOpsSetGenerator) time.Duration
Interval is an implementation of the Generator interface.
Click to show internal directories.
Click to hide internal directories.