helm

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

View Source
const VelaDebugLog = "VELA_DEBUG"

VelaDebugLog defines an ENV to set vela helm install log to be debug

Variables

This section is empty.

Functions

func AddHelmRepository

func AddHelmRepository(name, url, username, password, certFile, keyFile, caFile string, insecureSkipTLSverify bool, out io.Writer) error

AddHelmRepository add helm repo

func GetChart

func GetChart(client *action.Install, name string) (*chart.Chart, error)

GetChart will locate chart

func GetHelmRelease

func GetHelmRelease(ns string) ([]*release.Release, error)

GetHelmRelease will get helm release

func GetHelmRepositoryList

func GetHelmRepositoryList() []*repo.Entry

GetHelmRepositoryList get the helm repo list from default setting

func Install

func Install(ioStreams cmdutil.IOStreams, repoName, repoURL, chartName, version, namespace, releaseName string,
	vals map[string]interface{}) error

Install will install helm chart

func InstallHelmChart added in v0.1.1

func InstallHelmChart(ioStreams cmdutil.IOStreams, c types.Chart) error

InstallHelmChart will install helm chart from types.Chart

func IsHelmReleaseRunning

func IsHelmReleaseRunning(releaseName, chartName, ns string, streams cmdutil.IOStreams) bool

IsHelmReleaseRunning check helm release running

func IsHelmRepositoryExist

func IsHelmRepositoryExist(name, url string) bool

IsHelmRepositoryExist will check help repo exists

func NewHelmInstall

func NewHelmInstall(version, namespace, releaseName string) (*action.Install, error)

NewHelmInstall will create a install client for helm install

func NewHelmUninstall

func NewHelmUninstall(namespace string) (*action.Uninstall, error)

NewHelmUninstall will create a helm uninstall client

func Uninstall

func Uninstall(ioStreams cmdutil.IOStreams, chartName, namespace, releaseName string) error

Uninstall will uninstall helm chart

Types

This section is empty.

Jump to

Keyboard shortcuts

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