collector

package
v4.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginCollector

type PluginCollector struct{}

func (PluginCollector) Category

func (p PluginCollector) Category() collector.Category

func (PluginCollector) Create

func (p PluginCollector) Create(data []byte, username string) error

func (PluginCollector) Delete

func (p PluginCollector) Delete(id int64, username string) error

func (PluginCollector) Get

func (p PluginCollector) Get(id int64) (interface{}, error)

func (PluginCollector) GetByNameAndNid

func (p PluginCollector) GetByNameAndNid(name string, nid int64) (interface{}, error)

func (PluginCollector) Gets

func (p PluginCollector) Gets(nids []int64) (ret []interface{}, err error)

func (PluginCollector) Name

func (p PluginCollector) Name() string

func (PluginCollector) TelegrafInput

func (p PluginCollector) TelegrafInput(*models.CollectRule) (telegraf.Input, error)

func (PluginCollector) Template

func (p PluginCollector) Template() (interface{}, error)

func (PluginCollector) Update

func (p PluginCollector) Update(data []byte, username string) error

Jump to

Keyboard shortcuts

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