Documentation ¶
Index ¶
- Variables
- func Init(options *Helm3Options) error
- func NewClient(logger *log.Logger, logLabels ...map[string]string) client.HelmClient
- type Helm3Client
- func (h *Helm3Client) DeleteRelease(releaseName string) (err error)
- func (h *Helm3Client) GetReleaseValues(releaseName string) (utils.Values, error)
- func (h *Helm3Client) IsReleaseExists(releaseName string) (bool, error)
- func (h *Helm3Client) LastReleaseStatus(releaseName string) (revision string, status string, err error)
- func (h *Helm3Client) ListReleasesNames() ([]string, error)
- func (h *Helm3Client) Render(releaseName string, chart string, valuesPaths []string, setValues []string, ...) (string, error)
- func (h *Helm3Client) UpgradeRelease(releaseName string, chart string, valuesPaths []string, setValues []string, ...) error
- type Helm3Options
Constants ¶
This section is empty.
Variables ¶
View Source
var Helm3Path = "helm"
Functions ¶
Types ¶
type Helm3Client ¶
func (*Helm3Client) DeleteRelease ¶
func (h *Helm3Client) DeleteRelease(releaseName string) (err error)
func (*Helm3Client) GetReleaseValues ¶
func (h *Helm3Client) GetReleaseValues(releaseName string) (utils.Values, error)
func (*Helm3Client) IsReleaseExists ¶
func (h *Helm3Client) IsReleaseExists(releaseName string) (bool, error)
func (*Helm3Client) LastReleaseStatus ¶
func (h *Helm3Client) LastReleaseStatus(releaseName string) (revision string, status string, err error)
LastReleaseStatus returns last known revision for release and its status
Example helm history output: REVISION UPDATED STATUS CHART DESCRIPTION 1 Fri Jul 14 18:25:00 2017 SUPERSEDED symfony-demo-0.1.0 Install complete
func (*Helm3Client) ListReleasesNames ¶
func (h *Helm3Client) ListReleasesNames() ([]string, error)
ListReleasesNames returns list of release names.
func (*Helm3Client) Render ¶
func (h *Helm3Client) Render(releaseName string, chart string, valuesPaths []string, setValues []string, namespace string, debug bool) (string, error)
Render renders helm templates for chart
func (*Helm3Client) UpgradeRelease ¶
type Helm3Options ¶
type Helm3Options struct { Namespace string HistoryMax int32 Timeout time.Duration Logger *log.Logger }
var Options *Helm3Options
Click to show internal directories.
Click to hide internal directories.