proxy

package
v0.53.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2026 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg config.DatasourceConfig, dashboardDAO dashboard.DAO, secretDAO secret.DAO, globalSecretDAO globalsecret.DAO,
	dtsDAO datasource.DAO, globalDtsDAO globaldatasource.DAO, crypto crypto.Crypto, authz authorization.Authorization) route.Endpoint

Types

type SQLColumnMetadata added in v0.53.0

type SQLColumnMetadata struct {
	Name string `json:"name"`
	Type string `json:"type"`
}

SQLColumnMetadata represents metadata for a single column in SQL result

type SQLResponse added in v0.53.0

type SQLResponse struct {
	Columns []SQLColumnMetadata `json:"columns"`
	Rows    []SQLRow            `json:"rows"`
}

SQLResponse represents the complete SQL query response

type SQLRow added in v0.53.0

type SQLRow map[string]any

SQLRow represents a single row in an SQL result with column name to value mapping

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL