Documentation ¶
Index ¶
- func Init(opts *Options) error
- func NewClient(logLabels ...map[string]string) client.HelmClient
- type LibClient
- func (h *LibClient) CommandEnv() []string
- func (h *LibClient) DeleteOldFailedRevisions(releaseName string) error
- func (h *LibClient) DeleteRelease(releaseName string) error
- func (h *LibClient) DeleteSingleFailedRevision(releaseName string) error
- func (h *LibClient) GetReleaseValues(releaseName string) (utils.Values, error)
- func (h *LibClient) IsReleaseExists(releaseName string) (bool, error)
- func (h *LibClient) LastReleaseStatus(releaseName string) (revision string, status string, err error)
- func (h *LibClient) ListReleases(labelSelector map[string]string) (releases []string, err error)
- func (h *LibClient) ListReleasesNames(labelSelector map[string]string) ([]string, error)
- func (h *LibClient) Render(releaseName string, chartName string, valuesPaths []string, setValues []string, ...) (string, error)
- func (h *LibClient) UpgradeRelease(releaseName string, chartName string, valuesPaths []string, setValues []string, ...) error
- func (h *LibClient) WithKubeClient(client klient.Client)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LibClient ¶
Library use client
func (*LibClient) CommandEnv ¶
func (*LibClient) DeleteOldFailedRevisions ¶
func (*LibClient) DeleteRelease ¶
func (*LibClient) DeleteSingleFailedRevision ¶
func (*LibClient) GetReleaseValues ¶
func (*LibClient) IsReleaseExists ¶
func (*LibClient) LastReleaseStatus ¶
func (h *LibClient) LastReleaseStatus(releaseName string) (revision string, status string, err error)
LastReleaseStatus returns last known revision for release and its status
func (*LibClient) ListReleases ¶
ListReleases returns all known releases as strings — "<release_name>.v<release_number>" It is required only for helm2.
func (*LibClient) ListReleasesNames ¶
ListReleasesNames returns list of release names. Names are extracted from label "name" in Secrets with label "owner"=="helm".
func (*LibClient) Render ¶
func (h *LibClient) Render(releaseName string, chartName string, valuesPaths []string, setValues []string, namespace string) (string, error)
Render renders helm templates for chart
func (*LibClient) UpgradeRelease ¶
func (*LibClient) WithKubeClient ¶
Click to show internal directories.
Click to hide internal directories.