Documentation

Overview

Health checks for Varasto server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthChecker

type HealthChecker interface {
	CheckHealth() (*stoservertypes.Health, error)
}

func NewHealthFolder

func NewHealthFolder(title string, kind *stoservertypes.HealthKind, children ...HealthChecker) HealthChecker

func NewLastIntegrityVerificationJob

func NewLastIntegrityVerificationJob(db *bbolt.DB) HealthChecker

func NewStaticHealthNode

func NewStaticHealthNode(
	title string,
	healthStatus stoservertypes.HealthStatus,
	descr string,
	kind *stoservertypes.HealthKind,
) HealthChecker