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