types

package
v0.22.2 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Heartbeat

type Heartbeat struct {
	ID              string
	Title           string
	Config          config.HeartbeatConfig
	Receivers       []string
	State           *runner.State
	AlertOnRecovery bool
	AlertOnLate     bool
}

Heartbeat holds runtime state for a configured heartbeat.

type Status

type Status int

Status represents a heartbeat status.

const (
	StatusUnknown Status = iota
	StatusOK
	StatusLate
	StatusMissing
	StatusRecovered
)

func (Status) String

func (s Status) String() string

String returns the status identifier.

Jump to

Keyboard shortcuts

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