Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
A Config represents the on-disk configuration of a menmos client.
func LoadOrCreateDefault ¶
LoadDefault loads a config from the default path.
type Profile ¶
type Profile struct { Host string `json:"host,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` }
A Profile contains all information for connecting to a menmos cluster.
func LoadProfileFromDefaultConfig ¶
LoadProfileFromDefaultConfig is a utility method for loading a single profile from the default config location.
Click to show internal directories.
Click to hide internal directories.