adapters

package
v0.0.0-...-fb7f86c Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 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(su *user.SignedInUser) *backend.User

BackendUserFromSignedInUser converts Grafana's SignedInUser model 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