helm

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: Apache-2.0 Imports: 13 Imported by: 2 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const DefaultHelmBinPath = "helm"

Variables

This section is empty.

Functions

func DetectHelmVersion

func DetectHelmVersion() (string, error)

Types

type Helm added in v1.0.6

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

func MockHelm added in v1.0.6

func MockHelm(cl client.HelmClient) *Helm

func New added in v1.0.6

func New() *Helm

func (*Helm) HealthzHandler added in v1.0.6

func (h *Helm) HealthzHandler() func(writer http.ResponseWriter, request *http.Request)

func (*Helm) Init added in v1.0.6

func (h *Helm) Init() error

func (*Helm) NewClient added in v1.0.6

func (h *Helm) NewClient(logLabels ...map[string]string) client.HelmClient

func (*Helm) WithKubeClient added in v1.0.6

func (h *Helm) WithKubeClient(kubeClient klient.Client)

type MockHelmClient

type MockHelmClient struct {
	client.HelmClient
	DeleteSingleFailedRevisionExecuted bool
	UpgradeReleaseExecuted             bool
	DeleteReleaseExecuted              bool
	ReleaseNames                       []string
}

func (*MockHelmClient) CommandEnv

func (h *MockHelmClient) CommandEnv() []string

func (*MockHelmClient) DeleteOldFailedRevisions

func (h *MockHelmClient) DeleteOldFailedRevisions(releaseName string) error

func (*MockHelmClient) DeleteRelease

func (h *MockHelmClient) DeleteRelease(_ string) error

func (*MockHelmClient) DeleteSingleFailedRevision

func (h *MockHelmClient) DeleteSingleFailedRevision(_ string) error

func (*MockHelmClient) GetReleaseValues

func (h *MockHelmClient) GetReleaseValues(_ string) (utils.Values, error)

func (*MockHelmClient) IsReleaseExists

func (h *MockHelmClient) IsReleaseExists(_ string) (bool, error)

func (*MockHelmClient) LastReleaseStatus

func (h *MockHelmClient) LastReleaseStatus(_ string) (string, string, error)

func (*MockHelmClient) ListReleases

func (h *MockHelmClient) ListReleases(_ map[string]string) ([]string, error)

func (*MockHelmClient) ListReleasesNames

func (h *MockHelmClient) ListReleasesNames(_ map[string]string) ([]string, error)

func (*MockHelmClient) Render added in v1.0.6

func (h *MockHelmClient) Render(_ string, _ string, _ []string, _ []string, _ string) (string, error)

func (*MockHelmClient) UpgradeRelease

func (h *MockHelmClient) UpgradeRelease(_, _ string, _ []string, _ []string, _ string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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