helm

package
v0.3.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommandPath = "helm"

Functions

func WriteKubeConfig

func WriteKubeConfig(configRaw *clientcmdapi.Config) (string, error)

WriteKubeConfig writes the kubeconfig to a file and returns the filename

Types

type Client

type Client interface {
	Install(name, namespace string, options UpgradeOptions) error
	Upgrade(name, namespace string, options UpgradeOptions) error
	Delete(name, namespace string) error
	Exists(name, namespace string) (bool, error)
}

Client defines the interface how to interact with helm

func NewClient

func NewClient(config *clientcmdapi.Config, log log.Logger) Client

NewClient creates a new helm client from the given config

type UpgradeOptions

type UpgradeOptions struct {
	Chart string
	Path  string

	Repo            string
	Version         string
	Values          string
	ValuesFiles     []string
	SetValues       map[string]string
	SetStringValues map[string]string

	Username string
	Password string

	Atomic bool
	Force  bool
}

UpgradeOptions holds all the options for upgrading / installing a chart

Jump to

Keyboard shortcuts

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