store

package
v0.0.0-...-b85187d Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthStore

type HealthStore interface {
	StartWatch(quitCh <-chan struct{}, jitterWindow time.Duration)
	Fetch(types.PodID, types.NodeName) *health.Result
}

HealthStore can answer questions about the health of a particular pod on a node It performs this by watching the health tree of consul and caching the result

func NewHealthStore

func NewHealthStore(healthChecker checker.HealthChecker) HealthStore

Jump to

Keyboard shortcuts

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