Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // HelmV2 represents helm V2 specific settings HelmV2 = HelmVer{ // contains filtered or unexported fields } // HelmV3 represents helm V3 specific settings HelmV3 = HelmVer{ // contains filtered or unexported fields } )
Functions ¶
func IsMissingDependencyErr ¶ added in v0.11.0
IsMissingDependencyErr tests if the error is related to a missing chart dependency
Types ¶
type Client ¶ added in v1.3.0
type Cmd ¶ added in v1.3.0
A thin wrapper around the "helm" command, adding logging and error translation.
func NewCmdWithVersion ¶ added in v1.5.0
type Helm ¶
type Helm interface {
// Template returns a list of unstructured objects from a `helm template` command
Template(opts *TemplateOpts) (string, error)
// GetParameters returns a list of chart parameters taking into account values in provided YAML files.
GetParameters(valuesFiles []string) (map[string]string, error)
// DependencyBuild runs `helm dependency build` to download a chart's dependencies
DependencyBuild() error
// Init runs `helm init --client-only`
Init() error
// Dispose deletes temp resources
Dispose()
}
Helm provides wrapper functionality around the `helm` command.
func NewHelmApp ¶
func NewHelmApp(workDir string, repos []HelmRepository, isLocal bool) (Helm, error)
NewHelmApp create a new wrapper to run commands on the `helm` command-line tool.
type HelmRepository ¶ added in v1.3.0
type HelmVer ¶ added in v1.5.0
type HelmVer struct {
// contains filtered or unexported fields
}
HelmVer contains Helm version specific settings such as helm binary and command names
Click to show internal directories.
Click to hide internal directories.