kustomize

package
v0.3.150 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: Apache-2.0 Imports: 27 Imported by: 0 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kustomization

type Kustomization struct {
	// contains filtered or unexported fields
}

func ParseKustomization

func ParseKustomization(fsys fs.FS, kustomizationPath string, options KustomizationOptions) (*Kustomization, error)

func (*Kustomization) Path

func (k *Kustomization) Path() string

func (*Kustomization) Render

func (k *Kustomization) Render(context RenderContext, fsys kustfsys.FileSystem) error

type KustomizationOptions

type KustomizationOptions struct {
	TemplateSuffix *string
	// If defined, the given left delimiter will be used to parse go templates; otherwise, defaults to '{{'
	LeftTemplateDelimiter *string
	// If defined, the given right delimiter will be used to parse go templates; otherwise, defaults to '}}'
	RightTemplateDelimiter *string
	// If defined, paths to referenced files or directories outside kustomizationPath
	IncludedFiles []string
	// If defined, paths to referenced kustomizations
	IncludedKustomizations []string
	// If defined, used to decrypt files
	Decryptor manifests.Decryptor
}

type RenderContext

type RenderContext struct {
	LocalClient       client.Client
	Client            client.Client
	DiscoveryClient   discovery.DiscoveryInterface
	Component         component.Component
	ComponentDigest   string
	ComponentRevision int64
	Namespace         string
	Name              string
	Parameters        map[string]any
}

Jump to

Keyboard shortcuts

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