mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 10:02:33 +08:00

* first pass * separate oss + enterprise * tidy things up * add ctx * fix tests * use standalone svcs * mv plugin context provide * fix wire * fix import
12 lines
240 B
Go
12 lines
240 B
Go
package datasource
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/grafana/grafana-plugin-sdk-go/backend"
|
|
)
|
|
|
|
type PluginContextProvider interface {
|
|
PluginContextForDataSource(ctx context.Context, pluginID, name string) (backend.PluginContext, error)
|
|
}
|