Documentation
¶
Overview ¶
Package monitor provides TUI rendering and exit-code logic for trustwatch.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitCode ¶
ExitCode returns a process exit code based on the worst finding in a snapshot.
0 = no problems 1 = warnings exist 2 = critical problems 3 = discovery/probe errors
func FormatExpiresIn ¶
FormatExpiresIn returns a human-readable relative time (plain text).
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the BubbleTea model for the now TUI.
Click to show internal directories.
Click to hide internal directories.