framework

package
v0.3.0-4 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const STATUS_ERROR = "ERROR"

STATUS_ERROR means the result could not be obtained

View Source
const STATUS_FAIL = "FAIL"

STATUS_FAILS means the system is unacceptable for production operation

View Source
const STATUS_INFO = "INFO"

STATUS_INFO means the result is informational only

View Source
const STATUS_PASS = "PASS"

STATUS_PASS means the result falls within the production operational requirements

View Source
const STATUS_WARN = "WARN"

STATUS_WARNS means that the system is at risk for production operation

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check interface {
	Describe() string
	Run() <-chan []CheckResult
}

Check represent a single operation (API call, external program execution, etc.) that returns one or more result.

type CheckResult

type CheckResult struct {
	Title   string `json:"title"`
	Value   string `json:"value"`
	Status  string `json:"status"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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