helm

package
v0.0.0-...-cdc24ad Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = errors.New("release not found")
)

Functions

func Install

func Install(ctx context.Context, release, repo, chart, version string, values map[string]interface{}, opt ...Option) error

func Uninstall

func Uninstall(ctx context.Context, release string, opt ...Option) error

func Values

func Values(ctx context.Context, release string, opt ...Option) (map[string]any, error)

Types

type Helm

type Helm struct {
	// contains filtered or unexported fields
}

func New

func New(options ...Option) *Helm

func (*Helm) Invoke

func (h *Helm) Invoke(ctx context.Context, arg ...string) error

type Option

type Option func(h *Helm)

func WithContext

func WithContext(context string) Option

func WithDefaultOutput

func WithDefaultOutput() Option

func WithKubeconfig

func WithKubeconfig(kubeconfig []byte) Option

func WithNamespace

func WithNamespace(namespace string) Option

func WithOutput

func WithOutput(stdout, stderr io.Writer) Option

func WithWait

func WithWait(wait bool) Option

Jump to

Keyboard shortcuts

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