Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DataSourceProxy ¶
type DataSourceProxy struct {
// contains filtered or unexported fields
}
func NewDataSourceProxy ¶
func NewDataSourceProxy(ds *datasources.DataSource, pluginRoutes []*plugins.Route, ctx *contextmodel.ReqContext, proxyPath string, cfg *setting.Cfg, clientProvider httpclient.Provider, oAuthTokenService oauthtoken.OAuthTokenService, dsService datasources.DataSourceService, tracer tracing.Tracer) (*DataSourceProxy, error)
NewDataSourceProxy creates a new Datasource proxy
func (*DataSourceProxy) HandleRequest ¶
func (proxy *DataSourceProxy) HandleRequest()
type PluginProxy ¶
type PluginProxy struct {
// contains filtered or unexported fields
}
func NewPluginProxy ¶
func NewPluginProxy(ps *pluginsettings.DTO, routes []*plugins.Route, ctx *contextmodel.ReqContext, proxyPath string, cfg *setting.Cfg, secretsService secrets.Service, tracer tracing.Tracer, transport *http.Transport) (*PluginProxy, error)
NewPluginProxy creates a plugin proxy.
func (*PluginProxy) HandleRequest ¶
func (proxy *PluginProxy) HandleRequest()
Click to show internal directories.
Click to hide internal directories.