kustomizationgenerator

package
v5.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

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 KustomizationGenerator

type KustomizationGenerator struct {
	Marshaller marshaller.Marshaller[*ktypes.Kustomization]
}

KustomizationGenerator generates a kustomization.yaml.

func NewKustomizationGenerator

func NewKustomizationGenerator() *KustomizationGenerator

NewKustomizationGenerator creates and returns a new KustomizationGenerator instance.

func (*KustomizationGenerator) Generate

func (g *KustomizationGenerator) Generate(
	kustomization *ktypes.Kustomization,
	opts yamlgenerator.Options,
) (string, error)

Generate creates a kustomization.yaml file and writes it to the specified output file path.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL