Documentation ¶
Index ¶
- Constants
- type ConfigSettings
- type PackageConfig
- type Packagebeat
- func (pb *Packagebeat) Cleanup(b *beat.Beat) error
- func (pb *Packagebeat) CollectDpkg() error
- func (pb *Packagebeat) CollectRPM() error
- func (pb *Packagebeat) Config(b *beat.Beat) error
- func (pb *Packagebeat) Run(b *beat.Beat) error
- func (pb *Packagebeat) Setup(b *beat.Beat) error
- func (pb *Packagebeat) Stop()
Constants ¶
View Source
const DPKG_PATH = "/usr/bin/dpkg-query"
View Source
const RPM_PATH = "/usr/bin/rpm"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigSettings ¶
type ConfigSettings struct {
Input PackageConfig
}
type PackageConfig ¶
type Packagebeat ¶
type Packagebeat struct { PbConfig ConfigSettings // contains filtered or unexported fields }
func New ¶
func New() *Packagebeat
func (*Packagebeat) CollectDpkg ¶
func (pb *Packagebeat) CollectDpkg() error
func (*Packagebeat) CollectRPM ¶
func (pb *Packagebeat) CollectRPM() error
func (*Packagebeat) Stop ¶
func (pb *Packagebeat) Stop()
Click to show internal directories.
Click to hide internal directories.