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 ¶
Checks whether or not the Kustomize CLI is installed and available within the PATH
func (*Cli) InstallUrl ¶
Returns the installation URL to install the Kustomize CLI
func (*Cli) WithCwd ¶
WithCwd returns a shallow copy of the Cli with the working directory set to cwd. Returning a copy (rather than mutating the receiver) avoids a data race when the kustomize Cli is shared as a singleton and multiple AKS service deploys call WithCwd(svcA).Edit(...) / WithCwd(svcB).Edit(...) in parallel — without the copy, both calls would see the last-written cwd and `kustomize edit` would run in the wrong directory.
type Config ¶
type Config struct {
Directory osutil.ExpandableString `yaml:"dir"`
Edits []osutil.ExpandableString `yaml:"edits"`
Env osutil.ExpandableMap `yaml:"env"`
}