helm

package
v0.3.1-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckRelease

func CheckRelease(name string) (exist bool, err error)

* * check if the release exist

func DeleteRelease

func DeleteRelease(name string) error

func GenerateHelmTemplate

func GenerateHelmTemplate(name string, namespace string, valueFileName string, chartName string) (templateFileName string, err error)

* * generate helm template without tiller: helm template -f values.yaml chart_name * Exec /usr/local/bin/helm, [template -f /tmp/values313606961 --namespace default --name hj /charts/tf-horovod] * returns generated template file: templateFileName

func GenerateValueFile

func GenerateValueFile(values interface{}) (valueFileName string, err error)

* Generate value file

func GetChartName

func GetChartName(chart string) string

func GetChartVersion

func GetChartVersion(chart string) (version string, err error)

func InstallRelease

func InstallRelease(name string, namespace string, values interface{}, chartName string) error

* * install the release with cmd: helm install -f values.yaml chart_name

func ListAllReleasesWithDetail

func ListAllReleasesWithDetail() (releaseMap map[string][]string, err error)

func ListReleaseMap

func ListReleaseMap() (releaseMap map[string]string, err error)

func ListReleases

func ListReleases() (releases []string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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