helmchartpath

package
v0.0.0-...-31b15bb Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2024 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helm

type Helm struct {
	Action       *action.Configuration
	ReleaseName  string
	Namespace    string
	Values       []string
	StringValues []string
	//RepoName    string
	ChartPath string
}

func (*Helm) Apply

func (h *Helm) Apply() error

HelmInstall Method installs the chart. ref: https://github.com/PrasadG193/helm-clientgo-example/tree/master

func (*Helm) List

func (h *Helm) List() (status string, exists bool)

HelmList Method installs the chart. https://helm.sh/docs/topics/advanced/#simple-example

func (*Helm) RepoUpdate

func (helm *Helm) RepoUpdate() error

ref: https://github.com/PrasadG193/helm-clientgo-example/tree/master RepoUpdate updates charts for all helm repos

func (*Helm) Uninstall

func (h *Helm) Uninstall() error

type HelmAct

type HelmAct interface {
	Apply() error
	Uninstall() error
	List() (status string, exists bool)
}

func NewHelm

func NewHelm(
	releaseName, namespace, chartPath string,
	values []string, stringValues []string) HelmAct

Jump to

Keyboard shortcuts

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