Documentation
¶
Overview ¶
Package probe checks whether an owed action is done, as of a date.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUnknowable means a probe can't answer for the requested date by // design, such as a live endpoint during a replay. It isn't a failure. ErrUnknowable = source.ErrUnknowable // ErrProbe marks a probe that couldn't answer. It's never reported // as "not done". ErrProbe = errors.New("probe failed") )
Functions ¶
Types ¶
type Context ¶
type Context struct {
Source source.Source
AsOf, Now time.Time
Version string // bound by the trigger; empty for invariants
Target config.Component
Components map[string]config.Component
}
Context is what a probe needs to answer one obligation.
Click to show internal directories.
Click to hide internal directories.