Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DebugOnlyLogger ¶
type DebugOnlyLogger interface {
Debug(msg string, args ...interface{})
}
ParseURL is called also from pkg/api/datasource/validation.go, which uses a different logging interface, so we have a special minimal interface that is fulfilled by both places.
type HostTransportDialer ¶
type HostTransportDialer struct { Dialer proxy.ContextDialer Host string }
func (HostTransportDialer) DialContext ¶
func (HostTransportDialer) HostName ¶
func (m HostTransportDialer) HostName() string
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func ProvideService ¶
func (*Service) CheckHealth ¶
func (s *Service) CheckHealth(ctx context.Context, req *backend.CheckHealthRequest) (*backend.CheckHealthResult, error)
CheckHealth pings the connected SQL database
func (*Service) QueryData ¶
func (s *Service) QueryData(ctx context.Context, req *backend.QueryDataRequest) (*backend.QueryDataResponse, error)
Click to show internal directories.
Click to hide internal directories.