mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 00:52:11 +08:00
Backend Plugins: make transform work again (#22078)
This commit is contained in:

committed by
GitHub

parent
efbe5e8729
commit
679acd30ba
@ -115,12 +115,8 @@ type CorePlugin interface {
|
|||||||
DatasourcePlugin
|
DatasourcePlugin
|
||||||
}
|
}
|
||||||
|
|
||||||
type TransformCallBack interface {
|
|
||||||
DataQuery(ctx context.Context, req *pluginv2.DataQueryRequest) (*pluginv2.DataQueryResponse, error)
|
|
||||||
}
|
|
||||||
|
|
||||||
type TransformPlugin interface {
|
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.
|
// LegacyClient client for communicating with a plugin using the old plugin protocol.
|
||||||
|
Reference in New Issue
Block a user