config

package
v0.6.0-rc2 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 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"`
	RestOptions *RestOptions `yaml:"rest,omitempty"`
}

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"`
}

type RestOptions added in v0.6.0

type RestOptions struct {
	SigV4Enabled  bool   `yaml:"sigv4-enabled"`
	SigningName   string `yaml:"signing-name"`
	SigningRegion string `yaml:"signing-region"`
}

Jump to

Keyboard shortcuts

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