config

package
v0.6.0 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: 2 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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