Documentation
¶
Index ¶
- func NewResultsRenderer() resultsRenderer
- func NewStackqlMCPBackendService(isReadOnly bool, txnOrchestrator tsm_physio.Orchestrator, ...) (mcp_server.Backend, error)
- func NewStackqlMCPReverseProxyService(isReadOnly bool, dsn string, db *sql.DB, handlerCtx handler.HandlerContext, ...) (mcp_server.Backend, error)
- type StackqlInterrogator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResultsRenderer ¶
func NewResultsRenderer() resultsRenderer
func NewStackqlMCPBackendService ¶
func NewStackqlMCPBackendService( isReadOnly bool, txnOrchestrator tsm_physio.Orchestrator, handlerCtx handler.HandlerContext, logger *logrus.Logger, ) (mcp_server.Backend, error)
Types ¶
type StackqlInterrogator ¶
type StackqlInterrogator interface {
GetShowProviders(dto.HierarchyInput, string) (string, error)
GetShowServices(dto.HierarchyInput, string) (string, error)
GetShowResources(dto.HierarchyInput, string) (string, error)
GetShowMethods(dto.HierarchyInput) (string, error)
// GetShowTables(dto.HierarchyInput) (string, error)
GetDescribeTable(dto.HierarchyInput) (string, error)
GetForeignKeys(dto.HierarchyInput) (string, error)
FindRelationships(dto.HierarchyInput) (string, error)
GetQuery(dto.QueryInput) (string, error)
GetQueryJSON(dto.QueryJSONInput) (string, error)
// GetListTableResources(dto.HierarchyInput) (string, error)
// GetReadTableResource(mcp_server.HierarchyInput) (string, error)
GetPromptWriteSafeSelectTool() (string, error)
}
func NewSimpleStackqlInterrogator ¶
func NewSimpleStackqlInterrogator() StackqlInterrogator
Click to show internal directories.
Click to hide internal directories.