Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceName = "Nomad"
ServiceName
Variables ¶
View Source
var ( // StatusMessage contains a map of messages to service response statuses StatusMessage = map[string]string{ health.StatusOK: " is ok", health.StatusWarning: " is degraded, but at least partially functioning", health.StatusCritical: " functionality is unavailable or non-functioning", } )
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.2.0
Nomad represents the nomad client
type ErrInvalidAppResponse ¶ added in v0.2.0
ErrInvalidAppResponse is returned when an app does not respond with a valid status
func (ErrInvalidAppResponse) Error ¶ added in v0.2.0
func (e ErrInvalidAppResponse) Error() string
Error should be called by the user to print out the stringified version of the error
Click to show internal directories.
Click to hide internal directories.