beater

package
v0.0.0-...-631513b Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mysqlbeat

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

Mysqlbeat is a struct to hold the beat config & info

func New

func New() *Mysqlbeat

New Creates beater

func (*Mysqlbeat) Cleanup

func (bt *Mysqlbeat) Cleanup(b *beat.Beat) error

Cleanup is a function that does nothing on this beat :)

func (*Mysqlbeat) Config

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

Config is a function to read config file

func (*Mysqlbeat) MockSetConfig

func (bt *Mysqlbeat) MockSetConfig(config *config.Config)

func (*Mysqlbeat) Run

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

Run is a functions that runs the beat

func (*Mysqlbeat) Setup

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

Setup is a function to setup all beat config & info into the beat struct

func (*Mysqlbeat) Stop

func (bt *Mysqlbeat) Stop()

Stop is a function that runs once the beat is stopped

type ResumeIndex

type ResumeIndex struct {
	Index string `json:"index"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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