checks

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check interface {
	Name() string
	Description() string
	Category() types.Category
	Severity() types.Severity
	Run(ctx context.Context, cfg *types.ServerConfig) (*types.CheckResult, error)
}

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

func NewRegistry

func NewRegistry() *Registry

func (*Registry) GetAll

func (r *Registry) GetAll() []Check

func (*Registry) GetByCategory

func (r *Registry) GetByCategory(category types.Category) []Check

func (*Registry) Register

func (r *Registry) Register(check Check)

func (*Registry) RegisterAll

func (r *Registry) RegisterAll()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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