check

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New provides a cobra command wrapping options for "check" sub command

Types

type AgentStatus

type AgentStatus struct {
	RunnerStats RunnerStats `json:"runnerStats"`
}

AgentStatus represents an agent status

type Error

type Error struct {
	Message string `json:"message"`
}

Error represents LastError when not empty

type RunnerStats

type RunnerStats struct {
	Checks map[string]map[string]Stats `json:"Checks"`
}

RunnerStats holds check runner stats

type Stats

type Stats struct {
	LastError string `json:"LastError"`
}

Stats holds check stats

Jump to

Keyboard shortcuts

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