helm

package
v0.0.0-...-aaa1511 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRepoIfNotExist

func AddRepoIfNotExist(repoName string, repoUrl string) error

AddRepoIfNotExist will add the repo if the repo doesn't exist

func DeleteRelease

func DeleteRelease(name, namespace string) error

DeleteRelease will delete the given release

func GetRelease

func GetRelease(name, namespace string) (*release.Release, error)

func ListReleases

func ListReleases(namespaces ...string) ([]*release.Release, error)

ListReleases returns a list of all the releases for the given namespaces. Inputs: takes a list of namespaces to search releases in. If empty string is given as input then returns all releases from all namespaces.

func SetNamespace

func SetNamespace(helmConfig *action.Configuration, namespace string) error

SetNamespace is used to set the namespace of the kubernetes client used in helm action.Configuration. Currently the helm3 sdk does not support to change namespace for kubernetes to deploy in. Credits: https://github.com/helm/helm/issues/8780#issuecomment-889320955 for more details. This function will not be needed in helm version 4.

func UpdateHelmRepos

func UpdateHelmRepos() error

UpdateHelmRepos will update all the repo

func UpgradeRelease

func UpgradeRelease(name, repo, chart, namespace string, vals map[string]interface{}) (*release.Release, error)

UpgradeRelease upgrades a existing release or creates it if not exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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