beater

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2016 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

View Source
const (
	ERROR = "error"
	WARN  = "warning"
	INFO  = "info"
	DEBUG = "debug"
	TRACE = "trace"
)

const for event logs

Variables

This section is empty.

Functions

This section is empty.

Types

type Dockbeat

type Dockbeat struct {
	// contains filtered or unexported fields
}

func New

func New() *Dockbeat

Creates beater

func (*Dockbeat) Cleanup

func (d *Dockbeat) Cleanup(b *beat.Beat) error

func (*Dockbeat) Config

func (bt *Dockbeat) Config(b *beat.Beat) error

func (*Dockbeat) Run

func (bt *Dockbeat) Run(b *beat.Beat) error

func (*Dockbeat) RunOneTime

func (d *Dockbeat) RunOneTime(b *beat.Beat) error

func (*Dockbeat) Setup

func (bt *Dockbeat) Setup(b *beat.Beat) error

func (*Dockbeat) Stop

func (d *Dockbeat) Stop()

type SocketConfig

type SocketConfig struct {
	// contains filtered or unexported fields
}

type SoftwareVersion

type SoftwareVersion struct {
	// contains filtered or unexported fields
}

type StatsConfig

type StatsConfig struct {
	Container bool
	Net       bool
	Memory    bool
	Blkio     bool
	Cpu       bool
}

Jump to

Keyboard shortcuts

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