checkregistry

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckRegistry

type CheckRegistry interface {
	Register(checks ...*config.Check) error
	Load(name string) *instantiatedcheck.InstantiatedCheck
}

A CheckRegistry is a registry of checks. It is not thread-safe. It is anticipated that checks will all be registered ahead of time before calls to Load.

func New

func New() CheckRegistry

New returns a ready-to-use, empty CheckRegistry.

Jump to

Keyboard shortcuts

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