helm

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: Apache-2.0 Imports: 20 Imported by: 0 modules, 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

Overview

Package helm implements a helm chart installer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager installs and manages Helm charts in a Kubernetes cluster.

func NewManager

func NewManager(config *rest.Config, chartName, repoURL, namespace string, opts ...ManagerOption) (*Manager, error)

NewManager builds a helm install manager.

func (*Manager) GetCurrentVersion

func (m *Manager) GetCurrentVersion() (string, error)

GetCurrentVersion gets the current version of the chart in the cluster.

func (*Manager) Install

func (m *Manager) Install(version string, parameters map[string]any) error

Install installs the chart in the cluster.

type ManagerOption

type ManagerOption func(*Manager)

ManagerOption configures a Manager.

func Wait

func Wait() ManagerOption

Wait configures the manager to wait for operations to complete.

func WithLogger

func WithLogger(l logging.Logger) ManagerOption

WithLogger sets the logger for the manager.

Jump to

Keyboard shortcuts

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