Documentation
¶
Index ¶
- type PortCollector
- func (p PortCollector) Category() collector.Category
- func (p PortCollector) Create(data []byte, username string) error
- func (p PortCollector) Delete(id int64, username string) error
- func (p PortCollector) Get(id int64) (interface{}, error)
- func (p PortCollector) GetByNameAndNid(name string, nid int64) (interface{}, error)
- func (p PortCollector) Gets(nids []int64) (ret []interface{}, err error)
- func (p PortCollector) Name() string
- func (p PortCollector) TelegrafInput(*models.CollectRule) (telegraf.Input, error)
- func (p PortCollector) Template() (interface{}, error)
- func (p PortCollector) Update(data []byte, username string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortCollector ¶
type PortCollector struct{}
func (PortCollector) Category ¶
func (p PortCollector) Category() collector.Category
func (PortCollector) Get ¶
func (p PortCollector) Get(id int64) (interface{}, error)
func (PortCollector) GetByNameAndNid ¶
func (p PortCollector) GetByNameAndNid(name string, nid int64) (interface{}, error)
func (PortCollector) Gets ¶
func (p PortCollector) Gets(nids []int64) (ret []interface{}, err error)
func (PortCollector) Name ¶
func (p PortCollector) Name() string
func (PortCollector) TelegrafInput ¶
func (p PortCollector) TelegrafInput(*models.CollectRule) (telegraf.Input, error)
func (PortCollector) Template ¶
func (p PortCollector) Template() (interface{}, error)
Click to show internal directories.
Click to hide internal directories.