Documentation
¶
Overview ¶
Package source defines the Source abstraction and a registry of source implementations keyed by connection type. Each source connects to a database, extracts a source-neutral model.Service tree (already filtered), and closes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Source ¶
type Source interface {
// Prepare opens connections and validates that extraction can proceed.
Prepare(ctx context.Context) error
// Extract pulls the full, filtered metadata hierarchy.
Extract(ctx context.Context) (*model.Service, error)
// Close releases any open resources.
Close() error
}
Source extracts metadata from a single database service.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package clickhouse extracts schema metadata from a ClickHouse service.
|
Package clickhouse extracts schema metadata from a ClickHouse service. |
|
Package mysql extracts schema metadata from a MySQL service.
|
Package mysql extracts schema metadata from a MySQL service. |
|
Package postgres extracts schema metadata from a PostgreSQL service.
|
Package postgres extracts schema metadata from a PostgreSQL service. |
Click to show internal directories.
Click to hide internal directories.