helm

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

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