environment

package
v2.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 2, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package environment describes the operating environment for Tiller.

Tiller's environment encapsulates all of the service dependencies Tiller has. These dependencies are expressed as interfaces so that alternate implementations (mocks, etc.) can be easily generated.

Index

Constants

View Source
const (
	// HomeEnvVar is the HELM_HOME environment variable key.
	HomeEnvVar = "HELM_HOME"
	// PluginEnvVar is the HELM_PLUGIN environment variable key.
	PluginEnvVar = "HELM_PLUGIN"
	// PluginDisableEnvVar is the HELM_NO_PLUGINS environment variable key.
	PluginDisableEnvVar = "HELM_NO_PLUGINS"
	// HostEnvVar is the HELM_HOST environment variable key.
	HostEnvVar = "HELM_HOST"
)

Variables

This section is empty.

Functions

func DefaultHelmHome

func DefaultHelmHome() string

DefaultHelmHome gets the configured HELM_HOME, or returns the default.

func DefaultHelmHost

func DefaultHelmHost() string

DefaultHelmHost returns the configured HELM_HOST or an empty string.

Types

type EnvSettings

type EnvSettings struct {
	// TillerHost is the host and port of Tiller.
	TillerHost string
	// TillerNamespace is the namespace in which Tiller runs.
	TillerNamespace string
	// Home is the local path to the Helm home directory.
	Home helmpath.Home
	// PluginDirs is the path to the plugin directories.
	PlugDirs string
	// Debug indicates whether or not Helm is running in Debug mode.
	Debug bool
}

EnvSettings describes all of the environment settings.

Jump to

Keyboard shortcuts

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