checks

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	health.Checkers
}

Runner stores configured checkers and provides interface to configure and run them

func NewRunner

func NewRunner(kubeAddr string, kubeNodesReadyThreshold int, etcdConfig monitoring.ETCDConfig) (*Runner, error)

NewRunner creates Runner with checks configured using provided options

func (*Runner) Run

func (c *Runner) Run(ctx context.Context) *pb.Probe

Run runs all checks successively and reports general cluster status

Jump to

Keyboard shortcuts

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