kustomizationgenerator

package
v6.16.10 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Jump to

Keyboard shortcuts

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