helm

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2019 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bridge

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

Bridge represents a helm client and open conn to tiller

func NewFakeBridge

func NewFakeBridge() *Bridge

NewFakeBridge establishes a fake helm client

func Setup

func Setup(namespace, port string) *Bridge

Setup creates a new connection to tiller

func (*Bridge) Close

func (b *Bridge) Close()

Close gracefully exits the connection to tiller

func (*Bridge) DeleteRelease

func (b *Bridge) DeleteRelease(release string) error

DeleteRelease tells tiller to destroy a release

func (*Bridge) InstallChart

func (b *Bridge) InstallChart(chart Chart, values []byte) error

InstallChart deploys a helm chart

func (*Bridge) ReleaseStatus

func (b *Bridge) ReleaseStatus(release string) (string, error)

ReleaseStatus returns the status of a release

func (*Bridge) UpgradeChart

func (b *Bridge) UpgradeChart(chart Chart, values []byte) error

UpgradeChart tells tiller to upgrade a helm chart

type Chart

type Chart struct {
	Name      string `yaml:"name"`      // name of chart
	Repo      string `yaml:"repo"`      // chart repo
	Version   string `yaml:"version"`   // chart version
	Release   string `yaml:"release"`   // release name
	Timeout   int64  `yaml:"timeout"`   // install / upgrade wait time
	Namespace string `yaml:"namespace"` // namespace
}

Chart comprises the helm release

Jump to

Keyboard shortcuts

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