Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ Constants func Delete() error func FindHome() string func SetHome(path string) type Settings func Load() (*Settings, error) func (s *Settings) Save() error Constants ¶ View Source const ( // UserAgent is the user agent used by the CLI UserAgent = "Deis Client v" + version.Version // DefaultResponseLimit is the default number of responses to return on requests that can // be limited. DefaultResponseLimit = 100 ) Variables ¶ This section is empty. Functions ¶ func Delete ¶ func Delete() error Delete user's settings file. func FindHome ¶ func FindHome() string FindHome returns the HOME directory of the current user func SetHome ¶ func SetHome(path string) SetHome sets the HOME directory of the current user Types ¶ type Settings ¶ type Settings struct { Username string Limit int Client *deis.Client } Settings is the settings object created from the settings file. func Load ¶ func Load() (*Settings, error) Load loads a new client from a settings file. func (*Settings) Save ¶ func (s *Settings) Save() error Save settings to a file Source Files ¶ home_unix.gosettings.goutils.go Click to show internal directories. Click to hide internal directories.