helm

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 13 Imported by: 4

Documentation

Index

Constants

View Source
const DefaultHelmBinPath = "helm"

Variables

View Source
var HealthzHandler func(writer http.ResponseWriter, request *http.Request)
View Source
var NewClient = func(logLabels ...map[string]string) client.HelmClient {
	return nil
}

Functions

func DetectHelmVersion

func DetectHelmVersion() (string, error)

func Init

func Init(client klient.Client) error

Types

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) 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