Documentation ¶
Overview ¶
Package healthcheck contains logic for the Service Manager healthcheck API
Index ¶
- Constants
- func CheckPlatformsState(platforms []*types.Platform, fatal func(*types.Platform) bool) (map[string]*health.Health, int, int)
- func NewController(health gohealth.IHealth, thresholds map[string]int64) web.Controller
- func NewMonitoredPlatformsIndicator(ctx context.Context, repository storage.Repository, ...) health.Indicator
- func NewPlatformIndicator(ctx context.Context, repository storage.Repository, ...) health.Indicator
Constants ¶
View Source
const URL = web.MonitorHealthURL
URL is the path of the healthcheck endpoint
Variables ¶
This section is empty.
Functions ¶
func CheckPlatformsState ¶ added in v0.18.2
func NewController ¶ added in v0.1.1
NewController returns a new healthcheck controller with the given health and thresholds
func NewMonitoredPlatformsIndicator ¶ added in v0.18.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.