Documentation ¶
Index ¶
- func HealthyHealthCheckResult(checkType health.CheckType) health.HealthCheckResult
- func RepairingHealthCheckResult(checkType health.CheckType, message string, params map[string]interface{}) health.HealthCheckResult
- func SafeParamsFromError(err error) map[string]interface{}
- func UnhealthyHealthCheckResult(checkType health.CheckType, message string, params map[string]interface{}) health.HealthCheckResult
- func WarningHealthCheckResult(checkType health.CheckType, message string, params map[string]interface{}) health.HealthCheckResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthyHealthCheckResult ¶
func HealthyHealthCheckResult(checkType health.CheckType) health.HealthCheckResult
HealthyHealthCheckResult returns healthy health check result with type checkType.
func RepairingHealthCheckResult ¶
func RepairingHealthCheckResult(checkType health.CheckType, message string, params map[string]interface{}) health.HealthCheckResult
RepairingHealthCheckResult returns an repairing health check result with type checkType and message message.
func SafeParamsFromError ¶ added in v1.2.0
SafeParamsFromError returns the safeParam map from the given error
func UnhealthyHealthCheckResult ¶
func UnhealthyHealthCheckResult(checkType health.CheckType, message string, params map[string]interface{}) health.HealthCheckResult
UnhealthyHealthCheckResult returns an unhealthy health check result with type checkType and message message.
func WarningHealthCheckResult ¶ added in v1.14.0
func WarningHealthCheckResult(checkType health.CheckType, message string, params map[string]interface{}) health.HealthCheckResult
WarningHealthCheckResult returns a warning health check result with type checkType and message message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.