adapters

package
v11.1.4-modfix Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package adapters contains plugin SDK adapters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackendUserFromSignedInUser

func BackendUserFromSignedInUser(requester identity.Requester) *backend.User

BackendUserFromSignedInUser converts Grafana's context request identity to the backend plugin's model.

func ModelToInstanceSettings

func ModelToInstanceSettings(ds *datasources.DataSource, decryptFn func(ds *datasources.DataSource) (map[string]string, error),
) (*backend.DataSourceInstanceSettings, error)

ModelToInstanceSettings converts a datasources.DataSource to a backend.DataSourceInstanceSettings.

Types

This section is empty.

Jump to

Keyboard shortcuts

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