helm

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2018 License: Apache-2.0 Imports: 31 Imported by: 0 modules, 0 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 TillerDeploymentName = "tiller-deploy"

TillerDeploymentName is the string identifier for the tiller deployment

Variables

This section is empty.

Functions

func DeleteTiller added in v0.2.0

func DeleteTiller(kubectlClient *kubernetes.Clientset, tillerConfig *v1.TillerConfig) error

DeleteTiller clears the tiller server, the service account and role binding

func IsTillerDeployed added in v0.2.0

func IsTillerDeployed(kubectlClient *kubernetes.Clientset, tillerConfig *v1.TillerConfig) bool

IsTillerDeployed determines if we could connect to a tiller server

Types

type HelmClientWrapper

type HelmClientWrapper struct {
	Client       *k8shelm.Client
	Settings     *helmenvironment.EnvSettings
	TillerConfig *v1.TillerConfig
	// contains filtered or unexported fields
}

HelmClientWrapper holds the necessary information for helm

func NewClient

func NewClient(kubectlClient *kubernetes.Clientset, upgradeTiller bool) (*HelmClientWrapper, error)

NewClient creates a new helm client

func (*HelmClientWrapper) DeleteRelease added in v0.2.0

func (helmClientWrapper *HelmClientWrapper) DeleteRelease(releaseName string, purge bool) (*rls.UninstallReleaseResponse, error)

DeleteRelease deletes a helm release and optionally purges it

func (*HelmClientWrapper) InstallChartByName

func (helmClientWrapper *HelmClientWrapper) InstallChartByName(releaseName string, releaseNamespace string, chartName string, chartVersion string, values *map[interface{}]interface{}) (*hapi_release5.Release, error)

InstallChartByName installs the given chart by name under the releasename in the releasenamespace

func (*HelmClientWrapper) InstallChartByPath

func (helmClientWrapper *HelmClientWrapper) InstallChartByPath(releaseName string, releaseNamespace string, chartPath string, values *map[interface{}]interface{}) (*hapi_release5.Release, error)

InstallChartByPath installs the given chartpath und the releasename in the releasenamespace

func (*HelmClientWrapper) ReleaseExists

func (helmClientWrapper *HelmClientWrapper) ReleaseExists(releaseName string) (bool, error)

ReleaseExists checks if the given release name exists

Jump to

Keyboard shortcuts

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