Documentation
¶
Overview ¶
Package kustomizationgenerator provides utilities for generating kustomization.yaml files.
This package implements the Generator interface for Kustomize configuration structures, producing kustomization.yaml files for Kubernetes resource management.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
Marshaller marshaller.Marshaller[*ktypes.Kustomization]
}
Generator generates a kustomization.yaml.
func NewGenerator ¶
func NewGenerator() *Generator
NewGenerator creates and returns a new Generator instance.
func (*Generator) Generate ¶
func (g *Generator) Generate( kustomization *ktypes.Kustomization, opts yamlgenerator.Options, ) (string, error)
Generate creates a kustomization.yaml file and writes it to the specified output file path.
Click to show internal directories.
Click to hide internal directories.