Influx: Support PDC for Influx SQL (#103032)
* Support PDC for Influx SQL * Correctly set the gRPC transport creds dial option * Logging and refactor * Allow URLs with no scheme * Use passthrough resolver for socks proxy * Update comment * Extract url parsing and add test * Check err
This commit is contained in:
@@ -3,6 +3,8 @@ package models
|
||||
import (
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
"github.com/grafana/grafana-plugin-sdk-go/backend/proxy"
|
||||
)
|
||||
|
||||
type DatasourceInfo struct {
|
||||
@@ -22,4 +24,6 @@ type DatasourceInfo struct {
|
||||
|
||||
// FlightSQL grpc connection
|
||||
InsecureGrpc bool `json:"insecureGrpc"`
|
||||
|
||||
ProxyClient proxy.Client
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user