helm

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commands

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

Commands run different helm command in the same way as CLI tool

func NewCommands

func NewCommands(k0sVars constant.CfgVars) *Commands

NewCommands builds new Commands instance with default values

func (*Commands) AddRepository

func (hc *Commands) AddRepository(repoCfg k0sv1beta1.Repository) error

func (*Commands) InstallChart

func (hc *Commands) InstallChart(chartName string, version string, namespace string, values map[string]interface{}) (*release.Release, error)

func (*Commands) ListReleases

func (hc *Commands) ListReleases(namespace string) ([]*release.Release, error)

func (*Commands) UninstallRelease

func (hc *Commands) UninstallRelease(releaseName string, namespace string) error

func (*Commands) UpgradeChart

func (hc *Commands) UpgradeChart(chartName string, version string, releaseName string, namespace string, values map[string]interface{}) (*release.Release, error)

Jump to

Keyboard shortcuts

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