Documentation ¶
Index ¶
- Constants
- type Checker
- type Config
- type Plugin
- func (c *Plugin) CollectTarget(name endure.Named, r Checker) error
- func (c *Plugin) Collects() []interface{}
- func (c *Plugin) Init(log logger.Logger, cfg config.Configurer) error
- func (c *Plugin) Name() string
- func (c *Plugin) RPC() interface{}
- func (c *Plugin) Serve() chan error
- func (c *Plugin) Status(name string) (Status, error)
- func (c *Plugin) Stop() error
- type Plugins
- type Status
Constants ¶
View Source
const (
// PluginName declares public plugin name.
PluginName = "status"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker interface {
Status() Status
}
Checker interface used to get latest status from plugin
Click to show internal directories.
Click to hide internal directories.