checks

package
v0.99.33 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2017 License: BSD-3-Clause Imports: 17 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSkipCheck = errors.New("skip check result")
)

Functions

This section is empty.

Types

type Check added in v0.99.32

type Check interface {
	Run(cfg *config.AgentConfig, groupID int32) ([]model.MessageBody, error)
}

type ConnectionsCheck added in v0.99.32

type ConnectionsCheck struct{}

func (*ConnectionsCheck) Run added in v0.99.32

func (c *ConnectionsCheck) Run(cfg *config.AgentConfig, groupID int32) ([]model.MessageBody, error)

type ProcessCheck added in v0.99.32

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

func NewProcessCheck added in v0.99.33

func NewProcessCheck(cfg *config.AgentConfig) *ProcessCheck

func (*ProcessCheck) Run added in v0.99.32

func (p *ProcessCheck) Run(cfg *config.AgentConfig, groupID int32) ([]model.MessageBody, error)

type RealTimeCheck added in v0.99.32

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

func (*RealTimeCheck) Run added in v0.99.32

func (r *RealTimeCheck) Run(cfg *config.AgentConfig, groupID int32) ([]model.MessageBody, error)

Jump to

Keyboard shortcuts

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