stohealth

package
v0.0.0-...-df9e1a0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

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