beater

package
v6.5.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildEventstreamEvent added in v0.2.0

func BuildEventstreamEvent(e []byte) beat.Event

BuildEventstreamEvent ...

func BuildStatusEvents added in v0.2.0

func BuildStatusEvents(body []byte) []beat.Event

BuildStatusEvents ...

func FloatToTimestamp added in v0.2.0

func FloatToTimestamp(stamp float64) time.Time

FloatToTimestamp ...

func New

func New(b *beat.Beat, cfg *common.Config) (beat.Beater, error)

New beater

Types

type Eventstream

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

Eventstream type

func NewEventstream

func NewEventstream(bt *Icingabeat, cfg config.Config) *Eventstream

NewEventstream ...

func (*Eventstream) Run

func (es *Eventstream) Run() error

Run evenstream receiver

func (*Eventstream) Stop

func (es *Eventstream) Stop()

Stop eventstream receiver

type Icingabeat

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

Icingabeat type

func (*Icingabeat) Run

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

Run Icingabeat

func (*Icingabeat) Stop

func (bt *Icingabeat) Stop()

Stop Icingabeat

type Statuspoller added in v0.2.0

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

Statuspoller type

func NewStatuspoller added in v0.2.0

func NewStatuspoller(bt *Icingabeat, cfg config.Config) *Statuspoller

NewStatuspoller ...

func (*Statuspoller) Run added in v0.2.0

func (sp *Statuspoller) Run() error

Run evenstream receiver

func (*Statuspoller) Stop added in v0.2.0

func (sp *Statuspoller) Stop()

Stop statuspoller

Jump to

Keyboard shortcuts

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