datasourceproxy

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: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataSourceProxyService

type DataSourceProxyService struct {
	DataSourceCache        datasources.CacheService
	PluginRequestValidator validations.PluginRequestValidator

	Cfg                *setting.Cfg
	HTTPClientProvider httpclient.Provider
	OAuthTokenService  *oauthtoken.Service
	DataSourcesService datasources.DataSourceService
	// contains filtered or unexported fields
}

func ProvideService

func ProvideService(dataSourceCache datasources.CacheService, plugReqValidator validations.PluginRequestValidator,
	pluginStore pluginstore.Store, cfg *setting.Cfg, httpClientProvider httpclient.Provider,
	oauthTokenService *oauthtoken.Service, dsService datasources.DataSourceService,
	tracer tracing.Tracer, secretsService secrets.Service, features featuremgmt.FeatureToggles) *DataSourceProxyService

func (*DataSourceProxyService) ProxyDataSourceRequest

func (p *DataSourceProxyService) ProxyDataSourceRequest(c *contextmodel.ReqContext)

func (*DataSourceProxyService) ProxyDatasourceRequestWithID

func (p *DataSourceProxyService) ProxyDatasourceRequestWithID(c *contextmodel.ReqContext, dsID int64)

func (*DataSourceProxyService) ProxyDatasourceRequestWithUID

func (p *DataSourceProxyService) ProxyDatasourceRequestWithUID(c *contextmodel.ReqContext, dsUID string)

Jump to

Keyboard shortcuts

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