mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 09:26:43 -06:00
Backend Plugins: make transform work again (#22078)
This commit is contained in:
parent
efbe5e8729
commit
679acd30ba
@ -115,12 +115,8 @@ type CorePlugin interface {
|
||||
DatasourcePlugin
|
||||
}
|
||||
|
||||
type TransformCallBack interface {
|
||||
DataQuery(ctx context.Context, req *pluginv2.DataQueryRequest) (*pluginv2.DataQueryResponse, error)
|
||||
}
|
||||
|
||||
type TransformPlugin interface {
|
||||
DataQuery(ctx context.Context, req *pluginv2.DataQueryRequest, callback TransformCallBack) (*pluginv2.DataQueryResponse, error)
|
||||
DataQuery(ctx context.Context, req *pluginv2.DataQueryRequest, callback plugin.TransformCallBack) (*pluginv2.DataQueryResponse, error)
|
||||
}
|
||||
|
||||
// LegacyClient client for communicating with a plugin using the old plugin protocol.
|
||||
|
Loading…
Reference in New Issue
Block a user