builtin

package
v0.3.0-nightly.20220701 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultDispenserFactories = []DispenserFactory{
		sdkDispenserFactory(file.Specification, file.NewSource, file.NewDestination),
		sdkDispenserFactory(kafka.Specification, kafka.NewSource, kafka.NewDestination),
		sdkDispenserFactory(generator.Specification, generator.NewSource, nil),
		sdkDispenserFactory(s3.Specification, s3source.NewSource, s3destination.NewDestination),
		sdkDispenserFactory(postgres.Specification, pgsource.NewSource, pgdest.NewDestination),
	}
)

Functions

This section is empty.

Types

type DispenserFactory

type DispenserFactory func(name string, logger log.CtxLogger) plugin.Dispenser

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

func NewRegistry

func NewRegistry(logger log.CtxLogger, factories ...DispenserFactory) *Registry

func (*Registry) List

func (r *Registry) List() (map[string]plugin.Specification, error)

func (*Registry) NewDispenser added in v0.2.1

func (r *Registry) NewDispenser(logger log.CtxLogger, name string) (plugin.Dispenser, error)

Directories

Path Synopsis
v1

Jump to

Keyboard shortcuts

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