osenv

package
v0.0.0-...-6337964 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2014 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JujuEnvEnvKey           = "JUJU_ENV"
	JujuHomeEnvKey          = "JUJU_HOME"
	JujuRepositoryEnvKey    = "JUJU_REPOSITORY"
	JujuLoggingConfigEnvKey = "JUJU_LOGGING_CONFIG"
	// TODO(thumper): 2013-09-02 bug 1219630
	// As much as I'd like to remove JujuContainerType now, it is still
	// needed as MAAS still needs it at this stage, and we can't fix
	// everything at once.
	JujuContainerTypeEnvKey = "JUJU_CONTAINER_TYPE"
)

Variables

This section is empty.

Functions

func JujuHome

func JujuHome() string

JujuHome returns the current juju home.

func JujuHomeDir

func JujuHomeDir() string

JujuHomeDir returns the directory where juju should store application-specific files

func JujuHomePath

func JujuHomePath(names ...string) string

JujuHomePath returns the path to a file in the current juju home.

func SetJujuHome

func SetJujuHome(newJujuHome string) string

SetJujuHome sets the value of juju home and returns the current one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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