Documentation ¶
Index ¶
- Constants
- Variables
- func DetectHelmVersion() (string, error)
- func Init(client klient.Client) error
- type MockHelmClient
- func (h *MockHelmClient) CommandEnv() []string
- func (h *MockHelmClient) DeleteOldFailedRevisions(releaseName string) error
- func (h *MockHelmClient) DeleteRelease(_ string) error
- func (h *MockHelmClient) DeleteSingleFailedRevision(_ string) error
- func (h *MockHelmClient) GetReleaseValues(_ string) (utils.Values, error)
- func (h *MockHelmClient) IsReleaseExists(_ string) (bool, error)
- func (h *MockHelmClient) LastReleaseStatus(_ string) (string, string, error)
- func (h *MockHelmClient) ListReleases(_ map[string]string) ([]string, error)
- func (h *MockHelmClient) ListReleasesNames(_ map[string]string) ([]string, error)
- func (h *MockHelmClient) UpgradeRelease(_, _ string, _ []string, _ []string, _ string) error
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 ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.