healthcheck

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0, BSD-3-Clause, MIT Imports: 11 Imported by: 2

Documentation

Overview

Package healthcheck contains logic for the Service Manager healthcheck API

Index

Constants

URL is the path of the healthcheck endpoint

Variables

This section is empty.

Functions

func NewController added in v0.1.1

func NewController(health gohealth.IHealth, thresholds map[string]int64) web.Controller

NewController returns a new healthcheck controller with the given health and thresholds

func NewPlatformIndicator added in v0.6.0

func NewPlatformIndicator(ctx context.Context, repository storage.Repository, fatal func(*types.Platform) bool) health.Indicator

NewPlatformIndicator returns new health indicator for platforms of given type

Types

This section is empty.

Jump to

Keyboard shortcuts

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