sources

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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

func SafeParamsFromError(err error) map[string]interface{}

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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