Documentation
¶
Overview ¶
Package config loads and validates the configuration of the foreman CLI.
Index ¶
Constants ¶
View Source
const EnvPrefix = "FOREMAN_"
Variables ¶
View Source
var ErrInvalid = errors.New("config: invalid")
Functions ¶
Types ¶
type Config ¶
type Config struct {
DatabaseURL string `yaml:"-"`
DatabaseURLFile string `yaml:"database_url_file"`
Schema string `yaml:"schema"`
Output string `yaml:"output"`
Timeout Duration `yaml:"timeout"`
Log Log `yaml:"log"`
}
Config is the configuration of the foreman CLI.
func (*Config) ResolveSecrets ¶
type Duration ¶
func (Duration) MarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.