kustomizationgenerator

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package kustomizationgenerator provides utilities for generating kustomization.yaml files.

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