helm

package module
v0.0.0-...-6d46272 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 20 Imported by: 11

Documentation

Overview

Package helm implements helm utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUpdate

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

AddUpdate adds repo with given name and url and updates. Equals to "helm repo add foo bar" and "helm repo update".

func Install

func Install(cfg InstallConfig) (err error)

Install installs a helm chart.

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