mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 09:18:59 +00:00
a83a26b279
- 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
14 lines
379 B
Go
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
|
|
}
|