commons-db

module
v0.1.37 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 License: Apache-2.0

Directories

Path Synopsis
cmd
query module
db
sqlitetable
Package sqlitetable writes rows described by query.ColumnDef into SQLite tables that a `sql` profile can read back under the declared column names.
Package sqlitetable writes rows described by query.ColumnDef into SQLite tables that a `sql` profile can read back under the declared column names.
Package dbtest resolves the PostgreSQL database that integration tests run against.
Package dbtest resolves the PostgreSQL database that integration tests run against.
e2e
opensearch
Package opensearchinspect provides bounded, read-only OpenSearch metadata inspection.
Package opensearchinspect provides bounded, read-only OpenSearch metadata inspection.
sql
Package sqlinspect provides reusable, read-only SQL catalog inspection.
Package sqlinspect provides reusable, read-only SQL catalog inspection.
azureloganalytics
ABOUTME: Implements log searching against Azure Monitor Log Analytics workspaces.
ABOUTME: Implements log searching against Azure Monitor Log Analytics workspaces.
k8s
Package mail sends SMTP mail.
Package mail sends SMTP mail.
Package migrate applies declarative Atlas HCL schemas to PostgreSQL databases.
Package migrate applies declarative Atlas HCL schemas to PostgreSQL databases.
viewdeps
Package viewdeps finds, drops, and restores the views and materialized views that transitively depend on a set of tables, so DDL PostgreSQL refuses while a dependent view exists — DROP TABLE, DROP COLUMN, ALTER COLUMN TYPE — can proceed.
Package viewdeps finds, drops, and restores the views and materialized views that transitively depend on a set of tables, so DDL PostgreSQL refuses while a dependent view exists — DROP TABLE, DROP COLUMN, ALTER COLUMN TYPE — can proceed.
Package notification delivers a message to a channel named by a connection.
Package notification delivers a message to a channel named by a connection.
senders
Package senders delivers a notification to one channel, chosen by the type of the connection addressing it.
Package senders delivers a notification to one channel, chosen by the type of the connection addressing it.
pkg
allowlist
Package allowlist copies caller-supplied text out of a fixed alphabet.
Package allowlist copies caller-supplied text out of a fixed alphabet.
kube/auth
Referenced from: https://github.com/kubernetes/client-go/blob/master/plugin/pkg/client/auth/exec/exec.go
Referenced from: https://github.com/kubernetes/client-go/blob/master/plugin/pkg/client/auth/exec/exec.go
kube/labels
Package labels implements a simple label system, parsing and matching selectors with sets of labels.
Package labels implements a simple label system, parsing and matching selectors with sets of labels.
datetime
Package datetime parses the date values accepted by query parameters.
Package datetime parses the date values accepted by query parameters.
esdsl
Package esdsl models an OpenSearch search as a structured specification and compiles it to a Query DSL request body.
Package esdsl models an OpenSearch search as a structured specification and compiles it to a Query DSL request body.
processor
Package processor contains built-in post-query processors for the query engine: sqlite-backed merge, key-based reconciliation, and CEL batch transforms that fold runs of adjacent rows together.
Package processor contains built-in post-query processors for the query engine: sqlite-backed merge, key-based reconciliation, and CEL batch transforms that fold runs of adjacent rows together.
providers
Package providers contains the built-in data providers for the query engine.
Package providers contains the built-in data providers for the query engine.
schema
Package schema generates JSON Schema (Draft 2020-12) documents that drive the clicky-ui forms and tables of the query app:
Package schema generates JSON Schema (Draft 2020-12) documents that drive the clicky-ui forms and tables of the query app:
Package recordstore keeps append-only record streams: the rows a long capture produces, written as they arrive and read back by position instead of being carried inside whatever reported the capture.
Package recordstore keeps append-only record streams: the rows a long capture produces, written as they arrive and read back by position instead of being carried inside whatever reported the capture.
kv
Package kv stores record streams in a clicky cache.Store, so one implementation runs in process (cache.NewMemory) and against valkey/redis (clicky/valkey.NewStore) — the backend a CLI writes to and a server reads.
Package kv stores record streams in a clicky cache.Store, so one implementation runs in process (cache.NewMemory) and against valkey/redis (clicky/valkey.NewStore) — the backend a CLI writes to and a server reads.
ndjson
Package ndjson stores each record stream as a local file: one line per row in <dir>/<kind>/<stream>.ndjson, written {"seq":N,"row":{…}}, beside a <stream>.meta.json sidecar holding the stream's recordstore.Meta.
Package ndjson stores each record stream as a local file: one line per row in <dir>/<kind>/<stream>.ndjson, written {"seq":N,"row":{…}}, beside a <stream>.meta.json sidecar holding the stream's recordstore.Meta.
recordstoretest
Package recordstoretest is the conformance suite every recordstore.Backend runs, so the kv, sqlite and ndjson backends can never disagree about what appending, scanning, expiring and describing a stream mean.
Package recordstoretest is the conformance suite every recordstore.Backend runs, so the kv, sqlite and ndjson backends can never disagree about what appending, scanning, expiring and describing a stream mean.
sqlite
Package sqlite stores record streams in a SQLite file: a table per kind, keyed (stream_id, seq), with the kind's columns typed from its schema, and a record_streams table describing every stream.
Package sqlite stores record streams in a SQLite file: a table per kind, keyed (stream_id, seq), with the kind's columns typed from its schema, and a record_streams table describing every stream.
Package sqlite opens a file-backed SQLite database with a serialized writer, a query-only read pool, and optional buffered asynchronous writes.
Package sqlite opens a file-backed SQLite database with a serialized writer, a query-only read pool, and optional buffered asynchronous writes.
xetrace
Package xetrace manages short-lived SQL Server Extended Events sessions backed by a ring_buffer target.
Package xetrace manages short-lived SQL Server Extended Events sessions backed by a ring_buffer target.

Jump to

Keyboard shortcuts

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