helm

package
v0.0.0-...-edf464d Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helm

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

Helm allows clients to interact with helm commands in their cluster

func New

func New(kubeConfig string) *Helm

New returns a new instance of a helm object.

func (*Helm) DeleteChart

func (h *Helm) DeleteChart(name, namespace string) error

DeleteChart deletes the specified chart with its given name in the given namespace

func (*Helm) InstallChart

func (h *Helm) InstallChart(name, chartPath, namespace, overridesFile string, timeout time.Duration, args ...string) error

InstallChart installs the specified chart with its given name to the given namespace

func (*Helm) InstallChartWithValues

func (h *Helm) InstallChartWithValues(name, chartPath, namespace string, values []string, timeout time.Duration) error

InstallChartWithValues installs the specified chart with its given name to the given namespace

func (*Helm) Template

func (h *Helm) Template(name, chartPath, namespace, templateFile string, timeout time.Duration, args ...string) (string, error)

Template runs the template command and applies the generated file with kubectl

func (*Helm) UpgradeChart

func (h *Helm) UpgradeChart(name, chartPath, namespace, overridesFile string, timeout time.Duration, args ...string) error

UpgradeChart upgrades the specified chart with its given name to the given namespace; does not use baseWorkDir but the full path passed

Jump to

Keyboard shortcuts

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