paths

package
v0.0.0-...-a002913 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2015 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertDir

func CertDir(series string) (string, error)

CertDir returns a filesystem path to the folder used by juju to store certificates that are added by default to the Juju client api certificate pool.

func ConfDir

func ConfDir(series string) (string, error)

ConfDir returns the path to the directory where Juju may store configuration files.

func DataDir

func DataDir(series string) (string, error)

DataDir returns a filesystem path to the folder used by juju to store tools, charms, locks, etc

func JujuRun

func JujuRun(series string) (string, error)

JujuRun returns the absolute path to the juju-run binary for a particular series

func LogDir

func LogDir(series string) (string, error)

LogDir returns filesystem path the directory where juju may save log files.

func MetricsSpoolDir

func MetricsSpoolDir(series string) (string, error)

MetricsSpoolDir returns a filesystem path to the folder used by juju to store metrics.

func MongorestorePath

func MongorestorePath() (string, error)

mongorestorePath will look for mongorestore binary on the system and return it if mongorestore actually exists. it will look first for the juju provided one and if not found make a try at a system one.

func MustSucceed

func MustSucceed(s string, e error) string

func StorageDir

func StorageDir(series string) (string, error)

StorageDir returns a filesystem path to the folder used by juju to mount machine-level storage.

func TempDir

func TempDir(series string) (string, error)

TempDir returns the path on disk to the corect tmp directory for the series. This value will be the same on virtually all linux systems, but will differ on windows

Types

This section is empty.

Jump to

Keyboard shortcuts

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