Documentation
¶
Index ¶
Constants ¶
View Source
const ( Version = "v0.0.1" ExitCodeOK = 0 ExitCodeFail = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandConfig ¶
type CommandConfig struct {
Raw interface{} `toml:"command"`
}
type Config ¶
type Config struct { // This Plugin field is used to decode the toml file. After reading the // configuration from file, this field is set to nil. // Please consider using MetricPlugins and CheckPlugins. Plugin map[string]map[string]*PluginConfig }
Config represents mackerel-agent's configuration file.
type PluginConfig ¶
type PluginConfig struct {
CommandConfig
}
PluginConfig represents a plugin configuration.
Click to show internal directories.
Click to hide internal directories.