Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Inputs = map[string]Creator{}
Functions ¶
Types ¶
type MockPlugin ¶
MockPlugin struct should be named the same as the Plugin
func (*MockPlugin) Description ¶ added in v0.99.1
func (m *MockPlugin) Description() string
Description will appear directly above the plugin definition in the config file
func (*MockPlugin) Gather ¶
func (m *MockPlugin) Gather(_a0 telegraf.Accumulator) error
Gather defines what data the plugin will gather.
func (*MockPlugin) SampleConfig ¶ added in v0.99.1
func (m *MockPlugin) SampleConfig() string
SampleConfig will populate the sample configuration portion of the plugin's configuration
Click to show internal directories.
Click to hide internal directories.