Documentation ¶
Index ¶
- Constants
- func DetectHelmVersion() (string, error)
- type Helm
- 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) Render(_ string, _ string, _ []string, _ []string, _ string) (string, error)
- func (h *MockHelmClient) UpgradeRelease(_, _ string, _ []string, _ []string, _ string) error
Constants ¶
View Source
const DefaultHelmBinPath = "helm"
Variables ¶
This section is empty.
Functions ¶
func DetectHelmVersion ¶
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 (*Helm) HealthzHandler ¶ added in v1.0.6
func (h *Helm) HealthzHandler() func(writer http.ResponseWriter, request *http.Request)
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
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.