helm

package
v0.0.0-...-caa325b Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2024 License: AGPL-3.0 Imports: 20 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
	RepoName    string
	ChartName   string
	RepoUrl     string
	Version     string
	// contains filtered or unexported fields
}

func (*Helm) Apply

func (h *Helm) Apply(rest *rest.Config) error

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

func (*Helm) List

func (h *Helm) List(rest *rest.Config) (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(rest *rest.Config) error

func (*Helm) Upgrade

func (h *Helm) Upgrade(rest *rest.Config) error

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

type HelmAct

type HelmAct interface {
	Apply(rest *rest.Config) error
	Uninstall(rest *rest.Config) error
	Upgrade(rest *rest.Config) error
	List(rest *rest.Config) (status string, exists bool)
}

func NewHelm

func NewHelm(
	releaseName, namespace, chartName, repoName, repoUrl, version string,
	rest *rest.Config,
	values []string) HelmAct

Jump to

Keyboard shortcuts

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