beater

package
v0.0.0-...-2344e58 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

Creates beater

Types

type Check

type Check struct {
	Node        string
	CheckID     string
	Name        string
	Status      string
	Notes       string
	Output      string
	ServiceID   string
	ServiceName string
}

type Consulbeat

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

func (*Consulbeat) Run

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

func (*Consulbeat) Stop

func (bt *Consulbeat) Stop()

type Node

type Node struct {
	Node            string
	Address         string
	TaggedAddresses TaggedAddresses
}

type Service

type Service struct {
	ID      string
	Service string
	Tags    []string
	Address string
	Port    int
}

type ServiceHealth

type ServiceHealth struct {
	Node    Node
	Service Service
	Checks  []Check
}

type TaggedAddresses

type TaggedAddresses struct {
	Lan string
	Wan string
}

Jump to

Keyboard shortcuts

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