Documentation ¶
Index ¶
- Constants
- func NewConfig() contract.Config
- func NewEcosystem() contract.Ecosystem
- func NewFail(err error) contract.Result
- func NewFailf(format string, args ...interface{}) contract.Result
- func NewPass() contract.Result
- func NewProbe(name, tpl string, logger logrus.FieldLogger, config contract.Config) (contract.Probe, error)
- func NewResult(err error) contract.Result
Constants ¶
View Source
const ( LogFieldStatus = "status" LogFieldComponent = "component" LogFieldProbe = "probe" LogFieldProbeKind = "probe" LogLevelFatal = "fatal" LogLevelError = "error" LogLevelWarning = "warning" LogLevelInfo = "info" LogLevelDebug = "debug" )
Variables ¶
This section is empty.
Functions ¶
func NewEcosystem ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.