kustomize

package
v1.23.13 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 5 Imported by: 1 module, 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 Cli

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

Cli is a wrapper around the kustomize cli

func NewCli

func NewCli(commandRunner exec.CommandRunner) *Cli

NewCli creates a new instance of the kustomize cli

func (*Cli) CheckInstalled

func (cli *Cli) CheckInstalled(ctx context.Context) error

Checks whether or not the Kustomize CLI is installed and available within the PATH

func (*Cli) Edit

func (cli *Cli) Edit(ctx context.Context, args ...string) error

Edit runs the kustomize edit command with the specified args

func (*Cli) InstallUrl

func (cli *Cli) InstallUrl() string

Returns the installation URL to install the Kustomize CLI

func (*Cli) Name

func (cli *Cli) Name() string

func (*Cli) WithCwd

func (cli *Cli) WithCwd(cwd string) *Cli

WithCwd sets the working directory for the kustomize command

type Config

type Config struct {
	Directory osutil.ExpandableString   `yaml:"dir"`
	Edits     []osutil.ExpandableString `yaml:"edits"`
	Env       osutil.ExpandableMap      `yaml:"env"`
}

Jump to

Keyboard shortcuts

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