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.
Click to show internal directories.
Click to hide internal directories.