drivers

package
v0.0.0-...-8aeb8a1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultCollection = "all"
)

Variables

View Source
var (
	ErrUnknownSource = errors.New("Unknown source type")
)

Functions

func Create

func Create(ctx context.Context, sourceID string, sourceConfig *base.SourceConfig, cronScheduler *scheduling.CronScheduler) (map[string]base.Driver, error)

Create source drivers per collection Enrich incoming configs with default values if needed

func ParseCollections

func ParseCollections(sourceConfig *base.SourceConfig) ([]*base.Collection, error)

ParseCollections return serialized Collection objects slice or return one default collection with 'schedule' if singer type

Types

This section is empty.

Jump to

Keyboard shortcuts

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