health

package
v0.0.0-...-88aa921 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2015 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup(shutdown <-chan interface{})

Removes no longer running services and updates service start time.

func RegisterHealthCheck

func RegisterHealthCheck(serviceID string, instanceID string, name string, passed string, f *facade.Facade)

RegisterHealthCheck updates the healthStatus and healthTime structures with a health check result.

func RestGetHealthStatus

func RestGetHealthStatus(w *rest.ResponseWriter, r *rest.Request, client *node.ControlClient)

RestGetHealthStatus writes a JSON response with the health status of all services that have health checks.

func SetDao

func SetDao(d dao.ControlPlane)

Stores the dao.ControlPlane object created in daemon.go for use in this module.

Types

This section is empty.

Jump to

Keyboard shortcuts

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