paths

package
v0.0.0-...-4bd6544 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2016 License: AGPL-3.0 Imports: 2 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 JujuDumpLogs

func JujuDumpLogs(series string) (string, error)

JujuDumpLogs returns the absolute path to the juju-dumplogs binary for a particular series.

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 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