Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmbeddedPlugin ¶
type EmbeddedPlugin struct {
Plugin
}
func (EmbeddedPlugin) Collect ¶
func (self EmbeddedPlugin) Collect() ([]Observation, error)
type Observation ¶
type Observation struct {
Name string
Value interface{}
}
type Plugin ¶
type Plugin interface {
Collect() ([]Observation, error)
}
type ShellPlugin ¶
type ShellPlugin struct {
Plugin
ExecPath []string
PerPluginTimeout time.Duration
MaxTimeout time.Duration
}
func (ShellPlugin) Collect ¶
func (self ShellPlugin) Collect() ([]Observation, error)
Click to show internal directories.
Click to hide internal directories.