dbtprofiles

package
v0.12.8 Latest Latest
Warning

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

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

Documentation

Overview

Package dbtprofiles parses dbt profiles.yml files into yamlconfig.Connection or agentdwhv1.Connection types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConnections

func LoadConnections(path string) (map[string]*yamlconfig.Connection, error)

LoadConnections parses a dbt profiles.yml and returns YAML connections. Each profile/target pair becomes a connection. Connection names use the format "profile" (default target) or "profile/target".

func LoadProtoConnections

func LoadProtoConnections(path string) (map[string]*agentdwhv1.Connection, error)

LoadProtoConnections parses a dbt profiles.yml and returns proto Connection messages.

func ResolveProfilesPath

func ResolveProfilesPath() string

ResolveProfilesPath returns the path to the dbt profiles.yml file, following dbt's standard search order:

  1. $DBT_PROFILES_DIR/profiles.yml
  2. ./profiles.yml (current working directory)
  3. ~/.dbt/profiles.yml

Types

This section is empty.

Jump to

Keyboard shortcuts

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