config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(configPath string) []byte

Types

type CatalogConfig

type CatalogConfig struct {
	Catalog    string `yaml:"catalog"`
	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 {
	Catalogs map[string]CatalogConfig `yaml:"catalog"`
}

Jump to

Keyboard shortcuts

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