Documentation ¶
Index ¶
Constants ¶
View Source
const Undefined = "UNDEFINED"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DocumentGetter ¶
type DocumentGetter interface {
IndicatorDocuments() ([]registry.APIV0Document, error)
}
type PromQLClient ¶
type StatusController ¶
type StatusController struct {
// contains filtered or unexported fields
}
func NewStatusController ¶
func NewStatusController( dg DocumentGetter, su StatusUpdater, pc PromQLClient, interval time.Duration, ) *StatusController
func (StatusController) Start ¶
func (c StatusController) Start()
type StatusUpdater ¶
type StatusUpdater interface {
BulkStatusUpdate(statusUpdates []registry.APIV0UpdateIndicatorStatus, documentId string) error
}
Click to show internal directories.
Click to hide internal directories.