health

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HumanSize

func HumanSize(b uint64) string

Types

type HealthReport

type HealthReport struct {
	RepositoryCount int
	HealthyCount    int
	FailedCount     int

	LastSync string

	SnapshotCount int
	LastSnapshot  string

	SnapshotBytes uint64

	DiskFreePercent int

	Recommendations []Recommendation
}

func Generate

func Generate(cfg *config.Config) (*HealthReport, error)

type Recommendation

type Recommendation struct {
	Severity string
	Message  string
}

Jump to

Keyboard shortcuts

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