kustomize

package
v0.3.127 Latest Latest
Warning

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

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

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