Documentation ¶
Index ¶
- func NewHelm2() helm.Helm
- type Helm2
- func (h *Helm2) Install(name, chart string, flags []string) error
- func (h *Helm2) List(flags []string) ([]helm.Item, error)
- func (h *Helm2) RepoAdd(name, url string, flags []string) error
- func (h *Helm2) RepoList(flags []string) ([]helm.RepoItem, error)
- func (h *Helm2) RepoRemove(name string, flags []string) error
- func (h *Helm2) RepoUpdate(flags []string) error
- func (h *Helm2) SearchRepo(keyword string, flags []string) ([]helm.SearchItem, error)
- func (h *Helm2) StartAndGC(cfg helm.Config) error
- func (h *Helm2) Status(release string, flags []string) (string, error)
- func (h *Helm2) UnInstall(release string, flags []string) error
- func (h *Helm2) Version(flags []string) (*helm.BuildInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Helm2 ¶
type Helm2 struct {
// contains filtered or unexported fields
}
Helm2 is Helm center adapter and wrap helm2 command line
func (*Helm2) Install ¶
Install - This command installs a chart archive. flags: please read helm usage `helm install -h`
func (*Helm2) RepoRemove ¶
RepoRemove - remove chart repositories
func (*Helm2) RepoUpdate ¶
RepoUpdate - update chart repositories
func (*Helm2) SearchRepo ¶
SearchRepo - search repo
func (*Helm2) StartAndGC ¶
StartAndGC start file Helm adapter.
Click to show internal directories.
Click to hide internal directories.