helm

package
v1.2.8 Latest Latest
Warning

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

Go to latest
Published: May 30, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package helm implements helm utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(cfg InstallConfig) (err error)

Install installs a helm chart.

func RepoAdd

func RepoAdd(lg *zap.Logger, name, url string) error

RepoAdd adds repo with given name and url

func Uninstall

func Uninstall(cfg InstallConfig) error

Uninstall uninstalls a helm chart.

Types

type InstallConfig

type InstallConfig struct {
	Logger *zap.Logger

	Stopc   chan struct{}
	Timeout time.Duration

	KubeConfigPath string
	Namespace      string
	ChartRepoURL   string
	ChartName      string
	ReleaseName    string
	Values         map[string]interface{}

	LogFunc       action.DebugLog
	QueryFunc     func()
	QueryInterval time.Duration
}

InstallConfig defines helm installation configuration.

Jump to

Keyboard shortcuts

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