Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cfgentry ¶
Cfgentry holds the information to create a flag and a corresponding environment variable used to providing configuration to a plugin
type Config ¶
Config is a map of Cfgentry keyed by the Flag value
func (Config) FromEnv ¶
FromEnv will update the Config by reading the values from the environment variables specified by the Env field
func (Config) FromFlags ¶
FromFlags will update the Config with the values from a map of command flags to values
Click to show internal directories.
Click to hide internal directories.