Backend Plugins: make transform work again (#22078)

This commit is contained in:
Marcus Efraimsson
2020-02-10 18:17:54 +01:00
committed by GitHub
parent efbe5e8729
commit 679acd30ba

View File

@ -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.