helm

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDependencies

func BuildDependencies(log *logger.Logger, chartPath string) error

BuildDependencies fetches missing sub-chart dependencies for a local chart directory. It is a no-op if the chart has no dependencies or all are already present.

func Install

func Install(helmCtx HelmCtx, opts InstallOptions) error

Install installs or upgrades a Helm chart idempotently.

func ListByPrefix

func ListByPrefix(helmCtx HelmCtx, prefix, namespace string) ([]string, error)

ListByPrefix returns the names of Helm releases whose name starts with the given prefix.

func Uninstall

func Uninstall(helmCtx HelmCtx, releaseName, namespace string) error

Uninstall removes a Helm release, ignoring "not found" errors.

Types

type HelmCtx

type HelmCtx struct {
	Ctx     context.Context
	Log     *logger.Logger
	Verbose bool
}

type InstallOptions

type InstallOptions struct {
	ReleaseName  string
	ChartPath    string
	RepoURL      string
	ChartName    string
	ChartVersion string
	Namespace    string
	Values       map[string]any
}

InstallOptions contains options for installing or upgrading a Helm chart.

Jump to

Keyboard shortcuts

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