internal

package
v0.0.51 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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 NewConfig

func NewConfig() contract.Config

func NewEcosystem

func NewEcosystem() contract.Ecosystem

func NewFail

func NewFail(err error) contract.Result

func NewFailf

func NewFailf(format string, args ...interface{}) contract.Result

func NewPass

func NewPass() contract.Result

func NewProbe

func NewProbe(name, tpl string, logger logrus.FieldLogger, config contract.Config) (contract.Probe, error)

func NewResult

func NewResult(err error) contract.Result

Types

This section is empty.

Jump to

Keyboard shortcuts

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