helm

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckRelease

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

CheckRelease checks if the release with the given name and namespace exist.

func DeleteRelease

func DeleteRelease(name, namespace string) error

DeleteRelease deletes release with the name and namespace

func DeleteReleaseIfExists

func DeleteReleaseIfExists(name, namespace string) error

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

func InstallRelease

func InstallRelease(name string, namespace string, valueFile string, chartName string) error

InstallRelease installs 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)

ListAllReleasesWithDetail returns 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)

ListReleaseMap returns a map with all releases' names and app versions in a given namespace.

func ListReleases

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

ListReleases 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