helm

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 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

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