MCPcopy
hub / github.com/influxdata/telegraf / Initializer

Interface Initializer

plugin.go:16–20  ·  view source on GitHub ↗

Initializer is an interface that all plugin types: Inputs, Outputs, Processors, and Aggregators can optionally implement to initialize the plugin.

Source from the content-addressed store, hash-verified

14// Processors, and Aggregators can optionally implement to initialize the
15// plugin.
16type 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

Callers 8

TestParsingFunction · 0.65
TestInitAuthValidationFunction · 0.65
TestInitFailFunction · 0.65
TestInitFailFunction · 0.65
TestInitFailFunction · 0.65
TestInitFailFunction · 0.65
TestInitScopeDefaultingFunction · 0.65
InitMethod · 0.65

Implementers 15

Plugintestutil/plugin_input/plugin.go
Telegrafcmd/telegraf/telegraf.go
MockTelegrafcmd/telegraf/main_test.go
MockSecretStorecmd/telegraf/main_test.go
Vaultplugins/secretstores/vault/vault.go
HTTPplugins/secretstores/http/http.go
OAuth2plugins/secretstores/oauth2/oauth2.go
OSplugins/secretstores/os/os.go
Joseplugins/secretstores/jose/jose.go
GoogleCloudplugins/secretstores/googlecloud/googl
Dockerplugins/secretstores/docker/docker.go
Systemdplugins/secretstores/systemd/systemd.g

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…