Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var State = MasterState{ PluginVersion: "", ConfigVersions: make(map[string]int64), Agents: make(map[string]AgentInfo), PluginDirs: make(map[string][]string), Plugin: make(map[string][]model.PluginParam), }
View Source
var StateLock = new(sync.RWMutex)
Functions ¶
Types ¶
type MasterState ¶
type PluginDirInfo ¶
type PluginDirInfo struct { // type = plugin-dir Hostname string `json:"hostname"` Dirs []string `json:"dirs"` }
Hear these from Riemann
type PluginInfo ¶
type PluginInfo struct { // type = plugin Hostname string `json:"hostname"` Params []model.PluginParam `json:"plugins"` }
type PluginVersionInfo ¶
type PluginVersionInfo struct { // type = plugin-version Version string `json:"version"` }
Click to show internal directories.
Click to hide internal directories.