helm

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 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

func IsMissingDependencyErr added in v0.11.0

func IsMissingDependencyErr(err error) bool

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, opts HelmTemplateOpts, overrides []*argoappv1.ComponentParameter) ([]*unstructured.Unstructured, error)
	// GetParameters returns a list of chart parameters taking into account values in provided YAML files.
	GetParameters(valuesFiles []string) ([]*argoappv1.ComponentParameter, 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
}

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.

type HelmTemplateOpts added in v0.11.0

type HelmTemplateOpts struct {
	// Values is list of multiple --values flag
	ValueFiles []string
	// Namespace maps to the --namespace flag
	Namespace string
}

HelmTemplateOpts are various options to send to a `helm template` command

Jump to

Keyboard shortcuts

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