Documentation ¶
Overview ¶
Package monitor contains the Github Status monitor.
The monitor will observe the output from the Github Status API and report any detected differences to configured notifiers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
Monitor will periodically poll the Github Status and issues updates to the given callback.
func New ¶
func New(log *zap.Logger, clock clockwork.Clock, client ghstatus.Client, notifyOnFirstRun bool) *Monitor
New creates a new Github Status monitor.
func (*Monitor) MonitorAndNotify ¶
MonitorAndNotify will monitor the Github Status and notify subscribers upon relevant changes.
Click to show internal directories.
Click to hide internal directories.