mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
14 lines
292 B
Go
14 lines
292 B
Go
package pipeline
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/grafana/grafana-plugin-sdk-go/data"
|
|
)
|
|
|
|
// ConditionChecker checks conditions in context of data.Frame being processed.
|
|
type ConditionChecker interface {
|
|
Type() string
|
|
CheckCondition(ctx context.Context, frame *data.Frame) (bool, error)
|
|
}
|