Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthFileKeyFilenameFor ¶ added in v0.2.0
AuthFileKeyFilenameFor queries the AuthFileKeyFilename of the current platform. This will be influenced by GOOS environment variable.
func ConfigFilenameFor ¶ added in v0.2.0
ConfigFilenameFor queries the ConfigFilename of the current platform. This will be influenced by GOOS environment variable.
func ListenAddressFor ¶ added in v0.2.0
func ListenAddressFor(platform string) values.SocketAddress
ListenAddressFor queries the ListenAddress of the current platform. This will be influenced by GOOS environment variable.
Types ¶
type Defaults ¶
type Defaults struct { // ListenAddress represents the default address caretakerd listens to. ListenAddress values.SocketAddress // AuthFileKeyFilename represents the default file name caretakerd uses to store // the key for the caretakerctl/control process. AuthFileKeyFilename values.String // ConfigFilename represents the default location where caretakerd searches for its config file (yaml). ConfigFilename values.String }
Defaults holds default values for a specific platform.
func GetDefaultsFor ¶
GetDefaultsFor queries the caretakerd default values of the given platform.
Click to show internal directories.
Click to hide internal directories.