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 ClusterGenerator.
Types ¶
type ClusterGenerator ¶
func NewGenerator ¶
func NewGenerator(l logr.Logger, c client.Reader) *ClusterGenerator
NewGenerator creates and returns a new cluster generator.
func (*ClusterGenerator) Generate ¶
func (g *ClusterGenerator) Generate(ctx context.Context, sg *templatesv1.GitOpsSetGenerator, ks *templatesv1.GitOpsSet) ([]map[string]any, error)
func (*ClusterGenerator) Interval ¶
func (g *ClusterGenerator) Interval(sg *templatesv1.GitOpsSetGenerator) time.Duration
Interval is an implementation of the Generator interface.
Click to show internal directories.
Click to hide internal directories.