helm

package
v1.18.10 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: Apache-2.0 Imports: 11 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	DefaultInstallTimeout = 10 * time.Minute
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigurationOption

type ConfigurationOption func(*action.Configuration)

func WithLog

func WithLog(value func(string, ...any)) ConfigurationOption

type Helm

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

func New

func New(options ...ConfigurationOption) (*Helm, error)

func (*Helm) Install

func (h *Helm) Install(ctx context.Context, chart string, options ...InstallOption) (*release.Release, error)

func (*Helm) Uninstall

func (h *Helm) Uninstall(_ context.Context, name string, options ...UninstallOption) error

type InstallOption

type InstallOption func(*ReleaseOptions[action.Install])

func WithInstallName

func WithInstallName(value string) InstallOption

func WithInstallNamespace

func WithInstallNamespace(value string) InstallOption

func WithInstallTimeout

func WithInstallTimeout(value time.Duration) InstallOption

func WithInstallValue

func WithInstallValue(name string, value any) InstallOption

func WithInstallValues

func WithInstallValues(values map[string]any) InstallOption

func WithInstallVersion

func WithInstallVersion(value string) InstallOption

func WithInstallWait

func WithInstallWait(value bool) InstallOption

type ReleaseOptions

type ReleaseOptions[T any] struct {
	Client *T
	Values map[string]any
}

type UninstallOption

type UninstallOption func(*ReleaseOptions[action.Uninstall])

func WithUninstallTimeout

func WithUninstallTimeout(value time.Duration) UninstallOption

func WithUninstallWait

func WithUninstallWait(value bool) UninstallOption

Jump to

Keyboard shortcuts

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