healthcheck

package
v0.0.0-...-215933a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckGraph

func CheckGraph(ctx context.Context, in *graph.Graph) (*graph.Graph, error)

CheckGraph walks a graph and runs health checks on each health-checkable node

func WithNotify

func WithNotify(ctx context.Context, in *graph.Graph, notify *graph.Notifier) (*graph.Graph, error)

WithNotify is CheckGraph, but with notification features

Types

type Check

type Check interface {
	FailingDep(string, resource.TaskStatus)
	HealthCheck() (*resource.HealthStatus, error)
}

Check defines the interface for a health check

Jump to

Keyboard shortcuts

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