Documentation
¶
Index ¶
- type ProcCollector
- func (p ProcCollector) Category() collector.Category
- func (p ProcCollector) Create(data []byte, username string) error
- func (p ProcCollector) Delete(id int64, username string) error
- func (p ProcCollector) Get(id int64) (interface{}, error)
- func (p ProcCollector) GetByNameAndNid(name string, nid int64) (interface{}, error)
- func (p ProcCollector) Gets(nids []int64) (ret []interface{}, err error)
- func (p ProcCollector) Name() string
- func (p ProcCollector) TelegrafInput(*models.CollectRule) (telegraf.Input, error)
- func (p ProcCollector) Template() (interface{}, error)
- func (p ProcCollector) Update(data []byte, username string) error
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) 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)
Click to show internal directories.
Click to hide internal directories.