helm

package
v0.0.0-...-a3a5c94 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2021 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartPathOptions

type ChartPathOptions struct {
	action.ChartPathOptions
}

ChartPathOptions -

func (*ChartPathOptions) LocateChart

func (c *ChartPathOptions) LocateChart(name, dest string, settings *cli.EnvSettings) (string, error)

LocateChart looks for a chart directory in known places, and returns either the full path or an error.

type Config

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

func (*Config) ChartCache

func (c *Config) ChartCache() string

func (*Config) RepoCache

func (c *Config) RepoCache() string

func (*Config) RepoFile

func (c *Config) RepoFile() string

type Helm

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

Helm -

func NewHelm

func NewHelm(namespace, repoFile, repoCache string) (*Helm, error)

NewHelm creates a new helm.

func (*Helm) History

func (h *Helm) History(name string) (ReleaseHistory, error)

History -

func (*Helm) Install

func (h *Helm) Install(name, chart, version string, overrides []string) error

Install -

func (*Helm) Load

func (h *Helm) Load(chart, version string) (string, error)

Load loads the chart from the repository.

func (*Helm) PreInstall

func (h *Helm) PreInstall(name, chart, version string) error

PreInstall -

func (*Helm) Rollback

func (h *Helm) Rollback(name string, revision int) error

Rollback -

func (*Helm) Status

func (h *Helm) Status(name string) (*release.Release, error)

Status -

func (*Helm) Uninstall

func (h *Helm) Uninstall(name string) error

Uninstall -

func (*Helm) Upgrade

func (h *Helm) Upgrade(name string, chart, version string, overrides []string) error

Upgrade -

type ReleaseHistory

type ReleaseHistory []ReleaseInfo

ReleaseHistory -

type ReleaseInfo

type ReleaseInfo struct {
	Revision    int           `json:"revision"`
	Updated     helmtime.Time `json:"updated"`
	Status      string        `json:"status"`
	Chart       string        `json:"chart"`
	AppVersion  string        `json:"app_version"`
	Description string        `json:"description"`
}

ReleaseInfo -

type Repo

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

Repo -

func NewRepo

func NewRepo(repoFile, repoCache string) *Repo

NewRepo creates a new repo.

func (*Repo) Add

func (o *Repo) Add(name, url, username, password string) error

Jump to

Keyboard shortcuts

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