src

package
v0.0.0-...-b087e1e Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2026 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MainEngine *engine.Engine

Functions

func FindSourceProfile

func FindSourceProfile(id string) (*source.Profile, *source.Credentials, bool)

FindSourceProfile resolves a source profile and its full credentials by id.

func GetLoginCredentials

func GetLoginCredentials(profile types.DatabaseCredentials) *engine.Credentials

func GetLoginProfileId

func GetLoginProfileId(index int, profile types.DatabaseCredentials) string

func GetLoginProfiles

func GetLoginProfiles() []types.DatabaseCredentials

func GetSourceCredentials

func GetSourceCredentials(profile types.DatabaseCredentials) *source.Credentials

GetSourceCredentials converts stored login-profile credentials to the source-first shape.

func GetSourceProfiles

func GetSourceProfiles() []source.Profile

GetSourceProfiles returns saved and environment-defined profiles in the source-first shape consumed by the public API.

func InitializeEngine

func InitializeEngine() *engine.Engine

InitializeEngine creates the engine and registers all plugins from the global registry. Plugins self-register via init() when their packages are imported by the entry point.

func NewMockDataGenerator

func NewMockDataGenerator(fkDensityRatio int) *mockdata.Generator

NewMockDataGenerator creates a new mock data generator with the specified FK density ratio. Pass 0 for the default ratio (20).

Types

This section is empty.

Directories

Path Synopsis
Package bamlinit sets BAML environment defaults before the BAML native library loads.
Package bamlinit sets BAML environment defaults before the BAML native library loads.
config
Package config provides a unified configuration file for all WhoDB components.
Package config provides a unified configuration file for all WhoDB components.
ssl
Package ssl provides SSL/TLS configuration types and source-backed normalization helpers for database connections.
Package ssl provides SSL/TLS configuration types and source-backed normalization helpers for database connections.
Package dbcatalog exposes the shared connectable database catalog used by the frontend, desktop, and CLI.
Package dbcatalog exposes the shared connectable database catalog used by the frontend, desktop, and CLI.
Package envconfig provides configuration-loading functions that depend on both the env and log packages.
Package envconfig provides configuration-loading functions that depend on both the env and log packages.
Package importer exposes the shared data-import pipeline used by GraphQL and the CLI.
Package importer exposes the shared data-import pipeline used by GraphQL and the CLI.
llm
Package migrate tracks deprecated configuration patterns and collects migration warnings at startup.
Package migrate tracks deprecated configuration patterns and collects migration warnings at startup.
Package providers defines the ConnectionProvider interface for database connection sources.
Package providers defines the ConnectionProvider interface for database connection sources.
aws
Package aws implements the AWS connection provider for WhoDB.
Package aws implements the AWS connection provider for WhoDB.
azure
Package azure implements the Azure connection provider for WhoDB.
Package azure implements the Azure connection provider for WhoDB.
gcp
Package gcp implements the GCP connection provider for WhoDB.
Package gcp implements the GCP connection provider for WhoDB.
Package query defines the neutral filter and sort AST used by source and backend runtime code.
Package query defines the neutral filter and sort AST used by source and backend runtime code.
Package querysuggestions builds simple database-aware query suggestions from source storage-unit metadata so GraphQL and the CLI can share the same onboarding prompts.
Package querysuggestions builds simple database-aware query suggestions from source storage-unit metadata so GraphQL and the CLI can share the same onboarding prompts.
Package source defines the source-first public contract that sits above the existing database plugin layer.
Package source defines the source-first public contract that sits above the existing database plugin layer.
adapters
Package adapters exposes source connectors backed by the existing database plugin layer.
Package adapters exposes source connectors backed by the existing database plugin layer.
Package sourcecatalog exposes the source-first catalog consumed by the public GraphQL API and frontend.
Package sourcecatalog exposes the source-first catalog consumed by the public GraphQL API and frontend.
specs
Package specs exposes side-effect-free source-owned metadata specifications that can be shared by sourcecatalog registration and plugin implementations.
Package specs exposes side-effect-free source-owned metadata specifications that can be shared by sourcecatalog registration and plugin implementations.
sources
database
Package database registers the built-in database-backed source types into the source registry.
Package database registers the built-in database-backed source types into the source registry.

Jump to

Keyboard shortcuts

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