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