Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDataStore ¶
DefaultDataStore used when no config file is found.
func FromConfigFile ¶
FromConfigFile loads data from the config file only.
func FromFlagsThenEnvVarsThenConfigFile ¶
func FromFlagsThenEnvVarsThenConfigFile(cmd *cobra.Command) config.DataStoreLoaderFunc
FromFlagsThenEnvVarsThenConfigFile loads data with the following precedence: * Flags (highest) * Environment variables where --flag is assumed to be PORTER_FLAG * Config file (lowest)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.