Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Configuration configuration
Configuration contains all active settings
Functions ¶
func SetBinding ¶
SetBinding registers a particular Flag as tied to a particular pointer
Types ¶
type Settings ¶
Settings stores all the command line arguments with values
func LoadSettings ¶
LoadSettings loads the settings from commandline and the required config file
func ParseCommandLine ¶
ParseCommandLine takes an array of string and turns them into keyvalue pairs
func ParseConfigBuffer ¶
ParseConfigBuffer reads config from a generic Reader
func ParseConfigFile ¶
ParseConfigFile reads the file using Viper
func (Settings) FilterNamespaces ¶
FilterNamespaces returns a copy of settings belonging to given namespace or no namespace
func (Settings) RequiredSettingsPresent ¶
RequiredSettingsPresent Foo
Click to show internal directories.
Click to hide internal directories.