Documentation ¶
Index ¶
- func NewInstanceSettings(clientProvider *httpclient.Provider, executors map[string]azDatasourceExecutor, ...) datasource.InstanceFactoryFunc
- type Provider
- type Service
- func (s *Service) CallResource(ctx context.Context, req *backend.CallResourceRequest, ...) error
- func (s *Service) CheckHealth(ctx context.Context, req *backend.CheckHealthRequest) (*backend.CheckHealthResult, error)
- func (s *Service) QueryData(ctx context.Context, req *backend.QueryDataRequest) (*backend.QueryDataResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInstanceSettings ¶
func NewInstanceSettings(clientProvider *httpclient.Provider, executors map[string]azDatasourceExecutor, logger log.Logger) datasource.InstanceFactoryFunc
Types ¶
type Provider ¶
type Provider interface { New(...httpclient.Options) (*http.Client, error) GetTransport(...httpclient.Options) (http.RoundTripper, error) GetTLSConfig(...httpclient.Options) (*tls.Config, error) }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func ProvideService ¶
func ProvideService(httpClientProvider *httpclient.Provider) *Service
func (*Service) CallResource ¶
func (s *Service) CallResource(ctx context.Context, req *backend.CallResourceRequest, sender backend.CallResourceResponseSender) error
func (*Service) CheckHealth ¶
func (s *Service) CheckHealth(ctx context.Context, req *backend.CheckHealthRequest) (*backend.CheckHealthResult, error)
func (*Service) QueryData ¶
func (s *Service) QueryData(ctx context.Context, req *backend.QueryDataRequest) (*backend.QueryDataResponse, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.