Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface {
// Get will return the currently cached alerts for a given node. An error
// will be returned if the cache is not populated, node specific filters
// cannot be run, or if the last retrieval resulted in an error. The time
// returned is the time of the last retrieval attempt.
Get(nodeName string) (models.GettableAlerts, time.Time, error)
}
Cache outlines an interface to interact with cached alerts
Click to show internal directories.
Click to hide internal directories.