Documentation ¶
Index ¶
- type ListGenerator
- func (g *ListGenerator) Generate(_ context.Context, sg *sourcev1.KustomizationSetGenerator, ...) ([]map[string]any, error)
- func (g *ListGenerator) Interval(sg *sourcev1.KustomizationSetGenerator) time.Duration
- func (g *ListGenerator) Template(sg *sourcev1.KustomizationSetGenerator) *sourcev1.KustomizationSetTemplate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListGenerator ¶
type ListGenerator struct { }
ListGenerator is a generic JSON object list.
func NewGenerator ¶
func NewGenerator() *ListGenerator
NewGenerator creates and returns a new list generator.
func (*ListGenerator) Generate ¶
func (g *ListGenerator) Generate(_ context.Context, sg *sourcev1.KustomizationSetGenerator, _ *sourcev1.KustomizationSet) ([]map[string]any, error)
func (*ListGenerator) Interval ¶
func (g *ListGenerator) Interval(sg *sourcev1.KustomizationSetGenerator) time.Duration
Interval is an implementation of the Generator interface.
func (*ListGenerator) Template ¶
func (g *ListGenerator) Template(sg *sourcev1.KustomizationSetGenerator) *sourcev1.KustomizationSetTemplate
Template is an implementation of the Generator interface.
Click to show internal directories.
Click to hide internal directories.