Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct {
DB *sql.DB
Resources resource.Store
Snapshots snapshot.Store
Materializations materialization.Store
Manifests manifest.Store
Runs run.RunStore
Tags tag.Store
Blobs blob.Store
Resolver *resolver.Resolver
RunBuilder *run.Builder
Replayer *replay.Replayer
}
App is the composition root wiring every store, the resolver, the run builder, and the replayer together over a single local data directory.
func Open ¶
Open sets up (creating and migrating if needed) the local SQLite database and blob store under dataDir, and wires the full pipeline over them.
func OpenPostgres ¶
OpenPostgres wires the same pipeline as Open, but backed by PostgreSQL metadata storage and an S3-compatible (e.g. MinIO) blob store, instead of embedded SQLite and local disk. Every store is behind the same domain interfaces, so this is a drop-in swap — callers see the same *App shape.
type PostgresConfig ¶
type PostgresConfig struct {
DSN string
}
PostgresConfig selects the Postgres metadata backend for OpenPostgres.
Click to show internal directories.
Click to hide internal directories.