Initializer is an interface that all plugin types: Inputs, Outputs, Processors, and Aggregators can optionally implement to initialize the plugin.
| 14 | // Processors, and Aggregators can optionally implement to initialize the |
| 15 | // plugin. |
| 16 | type Initializer interface { |
| 17 | // Init performs one time setup of the plugin and returns an error if the |
| 18 | // configuration is invalid. |
| 19 | Init() error |
| 20 | } |
| 21 | |
| 22 | // PluginDescriber contains the functions all plugins must implement to describe |
| 23 | // themselves to Telegraf. Note that all plugins may define a logger that is |
no outgoing calls
no test coverage detected
searching dependent graphs…