Documentation ¶
Index ¶
- func CheckRelease(name string) (exist bool, err error)
- func DeleteRelease(name string) error
- func GenerateHelmTemplate(name string, namespace string, valueFileName string, chartName string, ...) (templateFileName string, err error)
- func GenerateValueFile(values interface{}) (valueFileName string, err error)
- func GetChartName(chart string) string
- func GetChartVersion(chart string) (version string, err error)
- func InstallRelease(name string, namespace string, values interface{}, chartName string) error
- func ListAllReleasesWithDetail() (releaseMap map[string][]string, err error)
- func ListReleaseMap() (releaseMap map[string]string, err error)
- func ListReleases() (releases []string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckRelease ¶
* * check if the release exist
func 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 ¶
* Generate value file
func GetChartName ¶
func GetChartVersion ¶
func InstallRelease ¶
* * install the release with cmd: helm install -f values.yaml chart_name
func ListReleaseMap ¶
func ListReleases ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.