Documentation ¶
Index ¶
- Constants
- func CertDir(series string) (string, error)
- func CloudInitCfgDir(series string) (string, error)
- func ConfDir(series string) (string, error)
- func DataDir(series string) (string, error)
- func JujuDumpLogs(series string) (string, error)
- func JujuIntrospect(series string) (string, error)
- func JujuRun(series string) (string, error)
- func JujuUpdateSeries(series string) (string, error)
- func LogDir(series string) (string, error)
- func MachineCloudInitDir(series string) (string, error)
- func MetricsSpoolDir(series string) (string, error)
- func MustSucceed(s string, e error) string
- func StorageDir(series string) (string, error)
- func TempDir(series string) (string, error)
Constants ¶
const ( // NixDataDir is location for agent binaries on *nix operating systems. NixDataDir = "/var/lib/juju" // NixDataDir is location for Juju logs on *nix operating systems. NixLogDir = "/var/log" )
Variables ¶
This section is empty.
Functions ¶
func CertDir ¶
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 CloudInitCfgDir ¶
CloudInitCfgDir returns the absolute path to the instance cloud config directory for a particular series.
func DataDir ¶
DataDir returns a filesystem path to the folder used by juju to store tools, charms, locks, etc
func JujuDumpLogs ¶
JujuDumpLogs returns the absolute path to the juju-dumplogs binary for a particular series.
func JujuIntrospect ¶
JujuIntrospect returns the absolute path to the juju-introspect binary for a particular series.
func JujuUpdateSeries ¶
JujuUpdateSeries returns the absolute path to the juju-updateseries binary for a particular series.
func MachineCloudInitDir ¶
MachineCloudInitDir returns the absolute path to the instance cloudinit directory for a particular series.
func MetricsSpoolDir ¶
MetricsSpoolDir returns a filesystem path to the folder used by juju to store metrics.
func MustSucceed ¶
func StorageDir ¶
StorageDir returns a filesystem path to the folder used by juju to mount machine-level storage.
Types ¶
This section is empty.