Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DependencyUpdater ¶
type ExitError ¶
type ExitError struct {
// contains filtered or unexported fields
}
ExitError is created whenever your shell command exits with a non-zero exit status
func (ExitError) ExitStatus ¶
type HelmContext ¶
func (*HelmContext) GetTillerlessArgs ¶
func (context *HelmContext) GetTillerlessArgs(helmBinary string) []string
type Interface ¶
type Interface interface {
SetExtraArgs(args ...string)
SetHelmBinary(bin string)
AddRepo(name, repository, cafile, certfile, keyfile, username, password string) error
UpdateRepo() error
BuildDeps(name, chart string) error
UpdateDeps(chart string) error
SyncRelease(context HelmContext, name, chart string, flags ...string) error
DiffRelease(context HelmContext, name, chart string, flags ...string) error
TemplateRelease(name, chart string, flags ...string) error
Fetch(chart string, flags ...string) error
Lint(name, chart string, flags ...string) error
ReleaseStatus(context HelmContext, name string, flags ...string) error
DeleteRelease(context HelmContext, name string, flags ...string) error
TestRelease(context HelmContext, name string, flags ...string) error
List(context HelmContext, filter string, flags ...string) (string, error)
DecryptSecret(context HelmContext, name string, flags ...string) (string, error)
}
Interface for executing helm commands
type ShellRunner ¶
type ShellRunner struct {
Dir string
Logger *zap.SugaredLogger
}
ShellRunner implemention for shell commands
Click to show internal directories.
Click to hide internal directories.