(ctx context.Context, q storage.Queryable, opts QueryOpts, qs string, ts time.Time)
| 125 | // QueryEngine defines the interface for the *promql.Engine, so it can be replaced, wrapped or mocked. |
| 126 | type QueryEngine interface { |
| 127 | NewInstantQuery(ctx context.Context, q storage.Queryable, opts QueryOpts, qs string, ts time.Time) (Query, error) |
| 128 | NewRangeQuery(ctx context.Context, q storage.Queryable, opts QueryOpts, qs string, start, end time.Time, interval time.Duration) (Query, error) |
| 129 | } |
| 130 |
no outgoing calls