Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
bintrail
command
|
|
|
bintrail-console
command
Command bintrail-console serves the read-only Bintrail web console as a standalone binary, decoupled from the core `bintrail` CLI.
|
Command bintrail-console serves the read-only Bintrail web console as a standalone binary, decoupled from the core `bintrail` CLI. |
|
bintrail-mcp
command
bintrail-mcp is an MCP (Model Context Protocol) server that exposes read-only Bintrail operations as tools: query, recover, and status.
|
bintrail-mcp is an MCP (Model Context Protocol) server that exposes read-only Bintrail operations as tools: query, recover, and status. |
|
mcp-gateway
command
mcp-gateway is an authentication and routing gateway for bintrail-mcp.
|
mcp-gateway is an authentication and routing gateway for bintrail-mcp. |
|
e2e
|
|
|
shim
Package shim_e2e holds the docker-compose-driven end-to-end test for `bintrail shim`.
|
Package shim_e2e holds the docker-compose-driven end-to-end test for `bintrail shim`. |
|
internal
|
|
|
agent
Package agent implements the outbound communication channel between the bintrail agent (running in customer infrastructure) and the dbtrail service.
|
Package agent implements the outbound communication channel between the bintrail agent (running in customer infrastructure) and the dbtrail service. |
|
archive
Package archive writes a binlog_events partition to a Parquet file before it is dropped.
|
Package archive writes a binlog_events partition to a Parquet file before it is dropped. |
|
baseline
Package baseline converts mydumper output into Parquet files, enabling full audit reconstruction when combined with binlog change events.
|
Package baseline converts mydumper output into Parquet files, enabling full audit reconstruction when combined with binlog change events. |
|
buffer
Package buffer provides an in-memory event buffer for BYOS mode.
|
Package buffer provides an in-memory event buffer for BYOS mode. |
|
byos
Package byos implements the Bring Your Own Storage (BYOS) data separation layer.
|
Package byos implements the Bring Your Own Storage (BYOS) data separation layer. |
|
cliutil
Package cliutil provides shared filter-parsing and output helpers used by both cmd/bintrail/ commands and cmd/bintrail-mcp/.
|
Package cliutil provides shared filter-parsing and output helpers used by both cmd/bintrail/ commands and cmd/bintrail-mcp/. |
|
console
Package console serves an embedded, read-only, single-operator web UI over a bintrail index.
|
Package console serves an embedded, read-only, single-operator web UI over a bintrail index. |
|
duckdbutil
Package duckdbutil holds small helpers shared by the DuckDB sessions bintrail opens (baseline reads, snapshot queries, S3 footer probes).
|
Package duckdbutil holds small helpers shared by the DuckDB sessions bintrail opens (baseline reads, snapshot queries, S3 footer probes). |
|
indexer
Package indexer consumes parsed binlog events and batch-inserts them into the binlog_events table in the index MySQL database.
|
Package indexer consumes parsed binlog events and batch-inserts them into the binlog_events table in the index MySQL database. |
|
observe
Package observe provides shared observability setup for Bintrail: structured logging via log/slog and Prometheus metrics for the stream command.
|
Package observe provides shared observability setup for Bintrail: structured logging via log/slog and Prometheus metrics for the stream command. |
|
parquetquery
Package parquetquery implements a DuckDB-backed query engine for Parquet archive files.
|
Package parquetquery implements a DuckDB-backed query engine for Parquet archive files. |
|
parser
Package parser reads MySQL ROW-format binlog files and emits typed events.
|
Package parser reads MySQL ROW-format binlog files and emits typed events. |
|
query
Package query implements the binlog_events query engine — dynamic SQL construction from filter options and multi-format result rendering.
|
Package query implements the binlog_events query engine — dynamic SQL construction from filter options and multi-format result rendering. |
|
reconstruct
Package reconstruct implements row state reconstruction by combining baseline Parquet snapshots with indexed binlog change events.
|
Package reconstruct implements row state reconstruction by combining baseline Parquet snapshots with indexed binlog change events. |
|
recovery
Package recovery generates reversal SQL from indexed binlog events.
|
Package recovery generates reversal SQL from indexed binlog events. |
|
serverid
Package serverid manages persistent server identities for bintrail.
|
Package serverid manages persistent server identities for bintrail. |
|
shim
Package shim implements an in-process MySQL-protocol server that answers time-travel queries by translating them into bintrail's existing query engine.
|
Package shim implements an in-process MySQL-protocol server that answers time-travel queries by translating them into bintrail's existing query engine. |
|
status
Package status provides shared types and display helpers for the binlog index status.
|
Package status provides shared types and display helpers for the binlog index status. |
|
storage
Package storage defines an abstract storage backend interface for managing Parquet files and other binary objects.
|
Package storage defines an abstract storage backend interface for managing Parquet files and other binary objects. |
|
streamdeps
Package streamdeps wires the production helper functions into a streamrun.Deps — the host side of streamrun's dependency-injection seam.
|
Package streamdeps wires the production helper functions into a streamrun.Deps — the host side of streamrun's dependency-injection seam. |
|
testutil
Package testutil provides shared helpers for integration tests that require a live MySQL connection.
|
Package testutil provides shared helpers for integration tests that require a live MySQL connection. |
Click to show internal directories.
Click to hide internal directories.