status

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmailBody

func EmailBody(s *config.Status, alerts map[string]bool, systemAlerts []string) string

func NewReport

func NewReport(now time.Time) config.Report

func Run

func Run(ctx context.Context, j *jc.Status, r *rc.Status, s *config.Status)

Run handles connecting to book, jump, relay and updating status jc.Status and rc.Status clients are passed in to allow mocking during testing

func UpdateResourcesFromBook

func UpdateResourcesFromBook(ctx context.Context, s *config.Status)

Types

This section is empty.

Jump to

Keyboard shortcuts

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