Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsMissingDependencyErr ¶ added in v0.11.0
IsMissingDependencyErr tests if the error is related to a missing chart dependency
Types ¶
type Helm ¶
type Helm interface {
// Template returns a list of unstructured objects from a `helm template` command
Template(appName string, namespace string, opts *argoappv1.ApplicationSourceHelm) ([]*unstructured.Unstructured, error)
// GetParameters returns a list of chart parameters taking into account values in provided YAML files.
GetParameters(valuesFiles []string) ([]*argoappv1.HelmParameter, error)
// DependencyBuild runs `helm dependency build` to download a chart's dependencies
DependencyBuild() error
// SetHome sets the helm home location (default "~/.helm")
SetHome(path string)
// 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(path string, helmRepos []*argoappv1.HelmRepository) Helm
NewHelmApp create a new wrapper to run commands on the `helm` command-line tool.
Click to show internal directories.
Click to hide internal directories.