Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigFilePath string
ConfigFilePath is where the agent will try to load the configuration from
Functions ¶
Types ¶
type Config ¶
type Config struct {
Schedule string `yaml:"schedule"`
Token string `yaml:"token"`
Endpoint Endpoint `yaml:"endpoint"`
DataGatherers []dataGatherer `yaml:"data-gatherers"`
}
Config wraps the options for a run of the agent.
func ParseConfig ¶
ParseConfig reads config into a struct used to configure running agents
Click to show internal directories.
Click to hide internal directories.