corechecks

package
v0.0.0-...-f3e8d88 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

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

type CheckFactory func() check.Check

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

func (gl *GoCheckLoader) Load(config check.Config) ([]check.Check, error)

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

Jump to

Keyboard shortcuts

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