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.
func ModelToInstanceSettings ¶
func ModelToInstanceSettings(ds *models.DataSource) (*backend.DataSourceInstanceSettings, error)
Types ¶
type DatasourcePluginWrapper ¶
type DatasourcePluginWrapper struct { datasource.DatasourcePlugin // contains filtered or unexported fields }
func NewDatasourcePluginWrapper ¶
func NewDatasourcePluginWrapper(log log.Logger, plugin datasource.DatasourcePlugin) *DatasourcePluginWrapper
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
Click to show internal directories.
Click to hide internal directories.