package
Version:
v0.0.0-...-c59b76b
Opens a new window with list of versions in this module.
Published: Jan 19, 2021
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Debug bool `koanf:"debug"`
Jobs []Job `koanf:"jobs"`
Server server `koanf:"server"`
}
ReadConfig reads and returns the configuration file
type Filter struct {
Name string `koanf:"name"`
Value string `koanf:"value"`
}
type Job struct {
Name string `koanf:"name"`
AWS awsCredentials `koanf:"aws"`
Filters []Filter `koanf:"filters"`
Tags []Tag `koanf:"tags"`
}
type Tag struct {
Tag string `koanf:"tag"`
ExportedTag string `koanf:"exported_tag"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.