kustomize

package
v2.23.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultKustomizationFileName = "kustomization.yaml"
	DefaultKustomizationFilePath = "default"
)

Variables

This section is empty.

Functions

func NodeToUnstructured

func NodeToUnstructured(n *kyaml.RNode) unstructured.Unstructured

Types

type Engine

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

func NewEngine

func NewEngine(opts ...EngineOptsFn) *Engine

func (*Engine) Render

func (e *Engine) Render(path string, opts ...RenderOptsFn) ([]unstructured.Unstructured, error)

type EngineOptsFn

type EngineOptsFn func(engine *Engine)

func WithEngineFS

func WithEngineFS(value filesys.FileSystem) EngineOptsFn

func WithEngineRenderOpts

func WithEngineRenderOpts(values ...RenderOptsFn) EngineOptsFn

type FilterFn

type FilterFn func(nodes []*kyaml.RNode) ([]*kyaml.RNode, error)

type RenderOptsFn

type RenderOptsFn func(*renderOpts)

func WithAnnotation

func WithAnnotation(name string, value string) RenderOptsFn

func WithAnnotations

func WithAnnotations(values map[string]string) RenderOptsFn

func WithFilter

func WithFilter(value FilterFn) RenderOptsFn

func WithFilters

func WithFilters(values ...FilterFn) RenderOptsFn

func WithKustomizationFileName

func WithKustomizationFileName(value string) RenderOptsFn

func WithKustomizationOverlayPath

func WithKustomizationOverlayPath(value string) RenderOptsFn

func WithLabel

func WithLabel(name string, value string) RenderOptsFn

func WithLabels

func WithLabels(values map[string]string) RenderOptsFn

func WithNamespace

func WithNamespace(value string) RenderOptsFn

func WithPlugin

func WithPlugin(value resmap.Transformer) RenderOptsFn

Jump to

Keyboard shortcuts

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