helm

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2020 License: Apache-2.0 Imports: 10 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckRelease

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

* * check if the release exist

func DeleteRelease

func DeleteRelease(name, namespace string) error

* Delete Release given name and namespace

func DeleteReleaseIfExists

func DeleteReleaseIfExists(name, namespace string) error

* Delete a release with given name and namespace if it exists. * A wrapper of CheckRelease() and DeleteRelease()

func GenerateHelmTemplate

func GenerateHelmTemplate(name string, namespace string, valueFileName string, chartName string, options ...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, valueFile string, chartName string) error

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

func ListAllReleasesWithDetail

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

* return a map with all releases' names and other info in a given namespace

func ListReleaseMap

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

* return a map with all releases' names and app versions in a given namespace

func ListReleases

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

* return an array with all releases' names in a given namespace

Types

This section is empty.

Jump to

Keyboard shortcuts

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