beater

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 PackageConfig struct {
	Period *int64
	Dpkg   *bool
	Rpm    *bool
}

type Packagebeat

type Packagebeat struct {
	PbConfig ConfigSettings
	// contains filtered or unexported fields
}

func New

func New() *Packagebeat

func (*Packagebeat) Cleanup

func (pb *Packagebeat) Cleanup(b *beat.Beat) error

func (*Packagebeat) CollectDpkg

func (pb *Packagebeat) CollectDpkg() error

func (*Packagebeat) CollectRPM

func (pb *Packagebeat) CollectRPM() error

func (*Packagebeat) Config

func (pb *Packagebeat) Config(b *beat.Beat) error

func (*Packagebeat) Run

func (pb *Packagebeat) Run(b *beat.Beat) error

func (*Packagebeat) Setup

func (pb *Packagebeat) Setup(b *beat.Beat) error

func (*Packagebeat) Stop

func (pb *Packagebeat) Stop()

Jump to

Keyboard shortcuts

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