helm

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chart

type Chart struct {
	Name      string `yaml:"name"`      // name of chart
	Version   string `yaml:"version"`   // chart version
	Release   string `yaml:"release"`   // release name
	Namespace string `yaml:"namespace"` // namespace
	Timeout   int64  `yaml:"timeout"`   // install / upgrade wait time
	Object    []byte
	*Tiller
}

Chart comprises the helm release

func (*Chart) Connect added in v0.2.0

func (c *Chart) Connect(bridge interface{})

Connect sets the established helm connection

func (*Chart) Delete added in v0.2.0

func (c *Chart) Delete() error

Delete tells tiller to destroy a release

func (*Chart) Download added in v0.4.0

func (c *Chart) Download() (*chart.Chart, error)

Download a chart to the local cache

func (*Chart) GetInput added in v0.3.0

func (c *Chart) GetInput() []byte

GetInput gets the templated values file

func (*Chart) Install added in v0.2.0

func (c *Chart) Install(req *chart.Chart) error

Install tells tiller to install a helm chart

func (*Chart) InstallOrUpgrade added in v0.4.3

func (c *Chart) InstallOrUpgrade() error

InstallOrUpgrade deploys a helm chart

func (*Chart) Lint added in v0.2.0

func (c *Chart) Lint(key string, in *util.Values) error

Lint validates the chart for required values some of which are parsed from values

func (*Chart) SetInput added in v0.2.0

func (c *Chart) SetInput(obj []byte)

SetInput adds the templated values file

func (*Chart) Status added in v0.2.0

func (c *Chart) Status() (bool, error)

Status returns the status of a release true if exists, else false

func (*Chart) Upgrade added in v0.2.0

func (c *Chart) Upgrade(req *chart.Chart) error

Upgrade tells tiller to upgrade a helm chart

type Tiller added in v0.3.0

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

Tiller represents a helm client and open connection to tiller

func NewClient added in v0.3.0

func NewClient(k8s *kube.K8s, conf, namespace, remote string) (*Tiller, error)

NewClient creates a new connection to tiller

func NewFakeClient added in v0.3.0

func NewFakeClient() *Tiller

NewFakeClient establishes a fake helm client

func (*Tiller) Close added in v0.3.0

func (hl *Tiller) Close()

Close gracefully exits the connection to tiller

Jump to

Keyboard shortcuts

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