config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnvConfig = fromConfigFiles()

Functions

func LoadConfig

func LoadConfig(configPath string) []byte

Types

type CatalogConfig

type CatalogConfig struct {
	CatalogType string `yaml:"type"`
	URI         string `yaml:"uri"`
	Output      string `yaml:"output"`
	Credential  string `yaml:"credential"`
	Warehouse   string `yaml:"warehouse"`
}

func ParseConfig

func ParseConfig(file []byte, catalogName string) *CatalogConfig

type Config

type Config struct {
	DefaultCatalog string                   `yaml:"default-catalog"`
	Catalogs       map[string]CatalogConfig `yaml:"catalog"`
	MaxWorkers     int                      `yaml:"max-workers"`
}

Jump to

Keyboard shortcuts

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