Documentation ¶
Index ¶
- Constants
- func GetCredentials(ctx context.Context) qc.Credentials
- func NewServer(coordinator *qc.QueryCoordinator, config ServerConfig) *http.Server
- type CoordinatorService
- func (c CoordinatorService) ClusterNamesGet(_ context.Context, _ gen.ClusterNamesGetParams) ([]string, error)
- func (c CoordinatorService) NewError(_ context.Context, err error) *gen.ErrorResponseStatusCode
- func (c CoordinatorService) RawSQLPost(ctx context.Context, req *gen.RawSQLRequest, _ gen.RawSQLPostParams) (gen.RawSQLListResponse, error)
- type SecurityHandler
- type ServerConfig
Constants ¶
View Source
const CtxKeyCredentials = ctxKey(1)
Variables ¶
This section is empty.
Functions ¶
func GetCredentials ¶
func GetCredentials(ctx context.Context) qc.Credentials
func NewServer ¶
func NewServer(coordinator *qc.QueryCoordinator, config ServerConfig) *http.Server
Types ¶
type CoordinatorService ¶
type CoordinatorService struct {
Coordinator *qc.QueryCoordinator
}
func (CoordinatorService) ClusterNamesGet ¶
func (c CoordinatorService) ClusterNamesGet(_ context.Context, _ gen.ClusterNamesGetParams) ([]string, error)
func (CoordinatorService) NewError ¶
func (c CoordinatorService) NewError(_ context.Context, err error) *gen.ErrorResponseStatusCode
NewError handles not-error returned by 'action' methods
func (CoordinatorService) RawSQLPost ¶
func (c CoordinatorService) RawSQLPost( ctx context.Context, req *gen.RawSQLRequest, _ gen.RawSQLPostParams, ) (gen.RawSQLListResponse, error)
type SecurityHandler ¶
type SecurityHandler struct { }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.