envvars

package
v1.9.2-0...-989ee68 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PermittedHostEnvVarNames

func PermittedHostEnvVarNames() []string

func PermittedHostEnvVars

func PermittedHostEnvVars() []string

PermittedHostEnvVars returns the variables that can be passed from Grafana's process (current process, also known as: "host") to the plugin process. A string in format "k=v" is returned for each variable in PermittedHostEnvVarNames, if it's set.

Types

type Provider

type Provider interface {
	PluginEnvVars(ctx context.Context, p *plugins.Plugin) []string
}

type Service

type Service struct{}

func DefaultProvider

func DefaultProvider() *Service

func (*Service) PluginEnvVars

func (s *Service) PluginEnvVars(_ context.Context, _ *plugins.Plugin) []string

Jump to

Keyboard shortcuts

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