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 ProcCollector

type ProcCollector struct{}

func (ProcCollector) Category

func (p ProcCollector) Category() collector.Category

func (ProcCollector) Create

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

func (ProcCollector) Delete

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

func (ProcCollector) Get

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

func (ProcCollector) GetByNameAndNid

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

func (ProcCollector) Gets

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

func (ProcCollector) Name

func (p ProcCollector) Name() string

func (ProcCollector) TelegrafInput

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

func (ProcCollector) Template

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

func (ProcCollector) Update

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

Jump to

Keyboard shortcuts

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