v1

package
v0.3.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: MIT, MIT Imports: 0 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckResult

type CheckResult struct {
	Source      string   `json:"source"`
	Status      uint32   `json:"status"`
	Command     string   `json:"command"`
	Subscribers []string `json:"subscribers"`
	Interval    uint32   `json:"interval"`
	Name        string   `json:"name"`
	Issued      int64    `json:"issued"`
	Executed    int64    `json:"executed"`
	Duration    float64  `json:"duration"`
	Output      string   `json:"output"`

	// Client is deprecated but still supported
	Client string `json:"client"`

	// Handler is deprecated but still supported
	Handler string `json:"handler"`

	// Handlers supercedes Handler
	Handlers []string `json:"handlers"`
}

CheckResult contains the 1.x compatible check result payload This is a subset of 1.x attributes, see: https://docs.sensu.io/sensu-core/1.6/reference/checks/#check-attributes

Jump to

Keyboard shortcuts

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