v2

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHelm2

func NewHelm2() helm.Helm

NewHelm2 create new helm2 with default collection name.

Types

type Helm2

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

Helm2 is Helm center adapter and wrap helm2 command line

func (*Helm2) Install

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

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

func (*Helm2) List

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

List - list releases

func (*Helm2) RepoAdd

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

RepoAdd - add chart repositories

func (*Helm2) RepoList

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

RepoList - list chart repositories

func (*Helm2) RepoRemove

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

RepoRemove - remove chart repositories

func (*Helm2) RepoUpdate

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

RepoUpdate - update chart repositories

func (*Helm2) SearchRepo

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

SearchRepo - search repo

func (*Helm2) StartAndGC

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

StartAndGC start file Helm adapter.

func (*Helm2) Status

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

Status - shows the status of a named release.

func (*Helm2) UnInstall

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

UnInstall - takes a release name and uninstalls the release.

func (*Helm2) Version

func (h *Helm2) 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