varasto: github.com/function61/varasto/pkg/stoserver/stohealth Index | Files

package stohealth

import "github.com/function61/varasto/pkg/stoserver/stohealth"

Health checks for Varasto server

Index

Package Files

healthinterface.go ivchecker.go staticnode.go

type HealthChecker Uses

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

func NewHealthFolder Uses

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

func NewLastIntegrityVerificationJob Uses

func NewLastIntegrityVerificationJob(db *bbolt.DB) HealthChecker

func NewStaticHealthNode Uses

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

Package stohealth imports 7 packages (graph) and is imported by 1 packages. Updated 2020-08-22. Refresh now. Tools for package owners.