(get-status this service-name level status-version)
(get-status this service-name level status-version timeout)
Call the status function for a registered service, optionally providing a timeout to override the default timeout value for the level.
Call the status function for a registered service, optionally providing a timeout to override the default timeout value for the level.
(register-status this service-name service-version status-version status-fn)
Register a status callback function for a service by adding it to the status service context. status-fn must be a function of arity 1 which takes the status level as a keyword and returns the status information for the given level. The return value of the callback function must satisfy the puppetlabs.trapperkeeper.services.status.status-core/StatusCallbackResponse schema.
Register a status callback function for a service by adding it to the status service context. status-fn must be a function of arity 1 which takes the status level as a keyword and returns the status information for the given level. The return value of the callback function must satisfy the puppetlabs.trapperkeeper.services.status.status-core/StatusCallbackResponse schema.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close