marathon

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMarathonChecker

func NewMarathonChecker(checkerCfg interface{}, pluginCfg interface{}) (plugins.Checker, error)

NewMarathonChecker create a Marathon checker

Types

type MarathonChecker

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

MarathonChecker is a plugin to check Marathon infrastructure

func (MarathonChecker) Name

func (c MarathonChecker) Name() string

Name returns the name of the checker

func (MarathonChecker) Periodicity added in v1.3.0

func (c MarathonChecker) Periodicity() *time.Duration

Periodicity returns the delay between two checks

func (*MarathonChecker) Run

Run is performing the checker protocol

func (MarathonChecker) ServiceName

func (c MarathonChecker) ServiceName() string

ServiceName returns the name of the NSCA service associated to the checker

Jump to

Keyboard shortcuts

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