adapters

package
v0.0.85-test Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: AGPL-3.0 Imports: 3 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 *models.SignedInUser) *backend.User

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

func ModelToInstanceSettings

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

ModelToInstanceSettings converts a models.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