backend/

directory
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: Apache-2.0

Directories

Path Synopsis
api
auth
Package auth handles the auth of gRPC server.
Package auth handles the auth of gRPC server.
oauth
Package oauth implements the deployment's OAuth 2.1 authorization server, which exists to authorize MCP clients: MCP clients discover it through the protected-resource metadata document, send the user through the authorization-code flow with PKCE, and then present the resulting audience-bound access token to the MCP endpoint.
Package oauth implements the deployment's OAuth 2.1 authorization server, which exists to authorize MCP clients: MCP clients discover it through the protected-resource metadata document, send the user through the authorization-code flow with PKCE, and then present the resulting audience-bound access token to the MCP endpoint.
v1
bin
server command
Package common provides common libraries for the service.
Package common provides common libraries for the service.
crypto
Package crypto encrypts the credentials the server keeps in its own database: the instance and data source credentials, and the LLM provider API keys.
Package crypto encrypts the credentials the server keeps in its own database: the instance and data source credentials, and the LLM provider API keys.
log
permission
Package permission defines the metaxisdata permission catalog.
Package permission defines the metaxisdata permission catalog.
permission/gen command
Command gen regenerates permission_gen.go from permission.json.
Command gen regenerates permission_gen.go from permission.json.
version
Package version carries the server binary build metadata.
Package version carries the server binary build metadata.
component
audit
Package audit holds the audit-row primitives shared by the Connect interceptors and any other writer of audit records.
Package audit holds the audit-row primitives shared by the Connect interceptors and any other writer of audit records.
dbfactory
Package dbfactory includes the database driver factory.
Package dbfactory includes the database driver factory.
iam
Package iam implements the metaxisdata permission-check engine.
Package iam implements the metaxisdata permission-check engine.
llm
Package llm provides LLM client capabilities.
Package llm provides LLM client capabilities.
notification
Package notification delivers in-app messages to users: the outcome of a sync operation somebody asked for, and the failures a workspace administrator needs to see.
Package notification delivers in-app messages to users: the outcome of a sync operation somebody asked for, and the failures a workspace administrator needs to see.
generated-go
v1
Package v1 is a reverse proxy.
Package v1 is a reverse proxy.
Package mcp is the MCP resource server: the read-only tool table served on /mcp, the adapters that make its authentication and authorization identical to the ConnectRPC path, and the guidance it publishes to clients.
Package mcp is the MCP resource server: the read-only tool table served on /mcp, the adapters that make its authentication and authorization identical to the ConnectRPC path, and the guidance it publishes to clients.
Package migrator applies and upgrades the metaxisdata metadata schema.
Package migrator applies and upgrades the metaxisdata metadata schema.
plugin
db
Package db provides the interfaces and libraries for database driver plugins.
Package db provides the interfaces and libraries for database driver plugins.
db/mssql
Package mssql is the plugin for MSSQL driver.
Package mssql is the plugin for MSSQL driver.
db/mysql
Package mysql is the plugin for MySQL driver.
Package mysql is the plugin for MySQL driver.
db/pg
Package pg is the plugin for PostgreSQL driver.
Package pg is the plugin for PostgreSQL driver.
db/starrocks
Package starrocks is the plugin for the StarRocks and Doris drivers.
Package starrocks is the plugin for the StarRocks and Doris drivers.
dmltarget
Package dmltarget answers one question about a DML statement: which table does it write?
Package dmltarget answers one question about a DML statement: which table does it write?
idp
Package idp is the plugin for Identity Provider.
Package idp is the plugin for Identity Provider.
idp/oauth2
Package oauth2 is the plugin for OAuth2 Identity Provider.
Package oauth2 is the plugin for OAuth2 Identity Provider.
lineage/algorithm
Package algorithm holds the parts of lineage analysis that do not depend on the SQL dialect: how a lineage edge is identified for deduplication, how a row-set predicate is attributed to the scope whose rows it decides, and how the arms of a set operation merge.
Package algorithm holds the parts of lineage analysis that do not depend on the SQL dialect: how a lineage edge is identified for deduplication, how a row-set predicate is attributed to the scope whose rows it decides, and how the arms of a set operation merge.
lineage/engines
Package engines assembles the SQL lineage analyzers this build supports.
Package engines assembles the SQL lineage analyzers this build supports.
lineage/mariadb
Package mariadb provides direct lineage analysis for MariaDB queries.
Package mariadb provides direct lineage analysis for MariaDB queries.
lineage/mysql
Package mysql provides direct lineage analysis for MySQL queries.
Package mysql provides direct lineage analysis for MySQL queries.
lineage/mysql/gen command
Command gen copies the shared MySQL-family analyzer body into the TiDB and MariaDB packages.
Command gen copies the shared MySQL-family analyzer body into the TiDB and MariaDB packages.
lineage/postgresql
Package postgresql provides direct lineage analysis for PostgreSQL queries.
Package postgresql provides direct lineage analysis for PostgreSQL queries.
lineage/starrocks
Package starrocks provides direct lineage analysis for StarRocks queries.
Package starrocks provides direct lineage analysis for StarRocks queries.
lineage/testutil
Package testutil provides common test utilities for lineage analysis tests.
Package testutil provides common test utilities for lineage analysis tests.
lineage/tidb
Package tidb provides direct lineage analysis for TiDB queries.
Package tidb provides direct lineage analysis for TiDB queries.
sqlsanitize
Package sqlsanitize turns one application SQL statement into the two forms the application-SQL ingest path keeps: a literal-free text that is safe to store, and a canonical form whose hash is the statement's deduplication key.
Package sqlsanitize turns one application SQL statement into the two forms the application-SQL ingest path keeps: a literal-free text that is safe to store, and a canonical form whose hash is the statement's deduplication key.
runner
lineageanalyzer
Package lineageanalyzer is a runner that analyzes SQL definitions to produce column-level lineage.
Package lineageanalyzer is a runner that analyzes SQL definitions to produce column-level lineage.
lineagevalidation
Package lineagevalidation re-checks ingested lineage whose endpoints the metadata registry did not know when it was stored.
Package lineagevalidation re-checks ingested lineage whose endpoints the metadata registry did not know when it was stored.
maintenance
Package maintenance runs the periodic housekeeping pass: it prunes rows that are already invisible (expired caches) or that a retention window explicitly bounds (the LLM debug log, OpenLineage runs).
Package maintenance runs the periodic housekeeping pass: it prunes rows that are already invisible (expired caches) or that a retention window explicitly bounds (the LLM debug log, OpenLineage runs).
schemasync
Package schemasync is a runner that synchronize database schemas.
Package schemasync is a runner that synchronize database schemas.
test
integration/dockerutil
Package dockerutil centralizes how the integration harnesses decide whether a Docker-compatible container runtime is reachable.
Package dockerutil centralizes how the integration harnesses decide whether a Docker-compatible container runtime is reachable.

Jump to

Keyboard shortcuts

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