Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCheck ¶
func RegisterCheck(name string, c CheckFactory)
RegisterCheck adds a check to the catalog
Types ¶
type CheckFactory ¶
CheckFactory factory function type to instantiate checks
func GetCheckFactory ¶
func GetCheckFactory(name string) CheckFactory
GetCheckFactory grabs factory for specific check
type GoCheckLoader ¶
type GoCheckLoader struct{}
GoCheckLoader is a specific loader for checks living in this package
func NewGoCheckLoader ¶
func NewGoCheckLoader() (*GoCheckLoader, error)
NewGoCheckLoader creates a loader for go checks
func (*GoCheckLoader) Load ¶
Load returns a list of checks, one for every configuration instance found in `config`
func (*GoCheckLoader) String ¶
func (gl *GoCheckLoader) String() string
Directories
¶
Path | Synopsis |
---|---|
Package containers provides core checks for containers and orchestrators
|
Package containers provides core checks for containers and orchestrators |
Package network provides core checks for networking
|
Package network provides core checks for networking |
Click to show internal directories.
Click to hide internal directories.