parse

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseConfig

func ParseConfig[T types.Config](configData types.ConfigData) (T, error)

ParseConfig parses the HCL config and returns the struct Config is an interface that all configuration structs must implement

func ParseConfigIntoTarget added in v0.2.0

func ParseConfigIntoTarget(configData types.ConfigData, target types.Config) error

Types

type Config

type Config interface {
	Validate() error
	Identifier() string
}

Config is an interface that all configuration structs must implement - this includes: - table config - source config - connection config - format config

type DynamicTableConfig

type DynamicTableConfig interface {
	GetSchema() (*schema.TableSchema, error)
}

DynamicTableConfig is an interface that all dynamic table configuration structs must implement

Jump to

Keyboard shortcuts

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