fleet/server/kolide/status.go
billcobbler a83a26b279 Add ability to disable live queries (#2167)
- Add toggle to disable live queries in advanced settings
- Add new live query status endpoint (checks for disabled via config and Redis health)
- Update QueryPage UI to use new live query status endpoint

Implements #2140
2020-01-13 16:53:04 -08:00

14 lines
379 B
Go

package kolide
import "context"
type StatusService interface {
// StatusResultStore returns nil if the result store is functioning
// correctly, or an error indicating the problem.
StatusResultStore(ctx context.Context) error
// StatusLiveQuery returns nil if live queries are enabled, or an
// error indicating the problem.
StatusLiveQuery(ctx context.Context) error
}