parse

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 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

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

type DynamicTableConfig

type DynamicTableConfig interface {
	GetSchema() *schema.RowSchema
}

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