Documentation ¶
Overview ¶
Package config exposes static configuration data, and loaded user preferences.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "alpha"
Version is the compiled version of our binary. It is set via the Makefile.
Functions ¶
func CreateTorusRoot ¶ added in v0.10.0
CreateTorusRoot creates the root directory for the Torus daemon.
Types ¶
type Config ¶
type Config struct { APIVersion string Version string TorusRoot string SocketPath string PidPath string DBPath string RegistryURI *url.URL CABundle *x509.CertPool PublicKey *prefs.PublicKey }
Config represents the static and user defined configuration data for Torus.
func LoadConfig ¶
LoadConfig loads the config, standardizing cli errors on failure.
Click to show internal directories.
Click to hide internal directories.