helmcmd

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrHelmNotExist error = fmt.Errorf("Couldn't find release")
View Source
var ErrUnsuccessfulDeploy error = fmt.Errorf("Unsuccessful deploy")

Functions

func AttemptNormalizeInput

func AttemptNormalizeInput(input string) string

Types

type HelmCmd

type HelmCmd struct {
	Debug                   bool
	Home                    string
	Host                    string
	KubeContext             string
	Kubeconfig              string
	TillerConnectionTimeout int
	TillerNamespace         string
	Timeout                 int
	ChartSourceType         string
	ChartSource             string
}

TODO:

  • Incorporate helm dep update

func (*HelmCmd) Delete

func (c *HelmCmd) Delete(release *HelmRelease) error

func (*HelmCmd) Read

func (c *HelmCmd) Read(release *HelmRelease) error

func (*HelmCmd) Upgrade

func (c *HelmCmd) Upgrade(release *HelmRelease) error

func (*HelmCmd) Validate

func (c *HelmCmd) Validate() error

type HelmRelease

type HelmRelease struct {
	Name         string
	ChartName    string
	ChartVersion string
	Namespace    string
	Overrides    string
}

func (*HelmRelease) Validate

func (r *HelmRelease) Validate() error

type HelmReleaseInfo

type HelmReleaseInfo struct {
	Name         string
	Revision     int
	LastUpdated  time.Time
	Status       string
	ChartName    string
	ChartVersion string
	Namespace    string
}

type HelmReleaseInfoRow

type HelmReleaseInfoRow struct {
	Name        string `tsv:"NAME"`
	Revision    string `tsv:"REVISION"`
	LastUpdated string `tsv:"UPDATED"`
	Status      string `tsv:"STATUS"`
	Chart       string `tsv:"CHART"`
	Namespace   string `tsv:"NAMESPACE"`
}

Jump to

Keyboard shortcuts

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