outputs

package
v2.0.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Files []FileConfig `json:"files"`
	// contains filtered or unexported fields
}

File is based on telegraf file output plugin.

func (*File) PluginName

func (f *File) PluginName() string

PluginName is based on telegraf plugin name.

func (*File) TOML

func (f *File) TOML() string

TOML encodes to toml string.

func (File) Type

func (b File) Type() plugins.Type

func (*File) UnmarshalTOML

func (f *File) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type FileConfig

type FileConfig struct {
	Typ  string `json:"type"`
	Path string `json:"path"`
}

FileConfig is the config settings of outpu file plugin.

type InfluxDBV2

type InfluxDBV2 struct {
	URLs         []string `json:"urls"`
	Token        string   `json:"token"`
	Organization string   `json:"organization"`
	Bucket       string   `json:"bucket"`
	// contains filtered or unexported fields
}

InfluxDBV2 is based on telegraf influxdb_v2 output plugin.

func (*InfluxDBV2) PluginName

func (i *InfluxDBV2) PluginName() string

PluginName is based on telegraf plugin name.

func (*InfluxDBV2) TOML

func (i *InfluxDBV2) TOML() string

TOML encodes to toml string.

func (InfluxDBV2) Type

func (b InfluxDBV2) Type() plugins.Type

func (*InfluxDBV2) UnmarshalTOML

func (i *InfluxDBV2) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL