v3

package
v0.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHelm3

func NewHelm3() helm.Helm

NewHelm3 create new helm3 with default collection name.

Types

type Helm3

type Helm3 struct {
	// contains filtered or unexported fields
}

Helm3 is Helm center adapter and wrap helm3 command line

func (*Helm3) Install

func (h *Helm3) Install(name, chart string, flags []string) error

Install - This command installs a chart archive. flags: please read helm usage `helm install -h`

func (*Helm3) List

func (h *Helm3) List(flags []string) ([]helm.Item, error)

List - list releases

func (*Helm3) RepoAdd

func (h *Helm3) RepoAdd(name, url string, flags []string) error

RepoAdd - add chart repositories

func (*Helm3) RepoList

func (h *Helm3) RepoList(flags []string) ([]helm.RepoItem, error)

RepoList - list chart repositories

func (*Helm3) RepoRemove

func (h *Helm3) RepoRemove(name string, flags []string) error

RepoRemove - remove chart repositories

func (*Helm3) RepoUpdate

func (h *Helm3) RepoUpdate(flags []string) error

RepoUpdate - update chart repositories

func (*Helm3) SearchRepo

func (h *Helm3) SearchRepo(keyword string, flags []string) ([]helm.SearchItem, error)

SearchRepo - search repo

func (*Helm3) StartAndGC

func (h *Helm3) StartAndGC(cfg helm.Config) error

StartAndGC start file Helm adapter.

func (*Helm3) Status

func (h *Helm3) Status(release string, flags []string) (string, error)

Status - shows the status of a named release.

func (*Helm3) UnInstall

func (h *Helm3) UnInstall(release string, flags []string) error

UnInstall - takes a release name and uninstalls the release.

func (*Helm3) Version

func (h *Helm3) Version(flags []string) (*helm.BuildInfo, error)

Version - print the client version information

Jump to

Keyboard shortcuts

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