wrapper

package
v0.0.0-...-34a2968 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackendUserFromSignedInUser

func BackendUserFromSignedInUser(su *models.SignedInUser) *backend.User

BackendUserFromSignedInUser converts Grafana's SignedInUser model to the backend plugin's model.

Types

type DatasourcePluginWrapper

type DatasourcePluginWrapper struct {
	datasource.DatasourcePlugin
	// contains filtered or unexported fields
}

func NewDatasourcePluginWrapper

func NewDatasourcePluginWrapper(log log.Logger, plugin datasource.DatasourcePlugin) *DatasourcePluginWrapper

func (*DatasourcePluginWrapper) Query

type DatasourcePluginWrapperV2

type DatasourcePluginWrapperV2 struct {
	grpcplugin.DataClient
	// contains filtered or unexported fields
}

func NewDatasourcePluginWrapperV2

func NewDatasourcePluginWrapperV2(log log.Logger, pluginId, pluginType string, client grpcplugin.DataClient) *DatasourcePluginWrapperV2

func (*DatasourcePluginWrapperV2) Query

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL