mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 12:14:08 -06:00
21 lines
626 B
Go
21 lines
626 B
Go
package pluginconfig
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/grafana/grafana/pkg/plugins/auth"
|
|
)
|
|
|
|
var _ PluginRequestConfigProvider = (*FakePluginRequestConfigProvider)(nil)
|
|
|
|
type FakePluginRequestConfigProvider struct{}
|
|
|
|
func NewFakePluginRequestConfigProvider() *FakePluginRequestConfigProvider {
|
|
return &FakePluginRequestConfigProvider{}
|
|
}
|
|
|
|
// PluginRequestConfig returns a map of configuration that should be passed in a plugin request.
|
|
func (s *FakePluginRequestConfigProvider) PluginRequestConfig(ctx context.Context, pluginID string, externalService *auth.ExternalService) map[string]string {
|
|
return map[string]string{}
|
|
}
|