helm

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 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
	LogWriter io.Writer

	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