builtin

package
v0.12.0-nightly.20241003 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultBuiltinConnectors = map[string]sdk.Connector{
	"github.com/conduitio/conduit-connector-file":      file.Connector,
	"github.com/conduitio/conduit-connector-generator": generator.Connector,
	"github.com/conduitio/conduit-connector-kafka":     kafka.Connector,
	"github.com/conduitio/conduit-connector-log":       connLog.Connector,
	"github.com/conduitio/conduit-connector-postgres":  postgres.Connector,
	"github.com/conduitio/conduit-connector-s3":        s3.Connector,
}

DefaultBuiltinConnectors contains the default built-in connectors. The key of the map is the import path of the module containing the connector implementation.

Functions

This section is empty.

Types

type Dispenser added in v0.11.0

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

func NewDispenser added in v0.11.0

func NewDispenser(
	name plugin.FullName,
	logger log.CtxLogger,
	specifierPlugin func() pconnector.SpecifierPlugin,
	sourcePlugin func() pconnector.SourcePlugin,
	destinationPlugin func() pconnector.DestinationPlugin,
) *Dispenser

func (*Dispenser) DispenseDestination added in v0.11.0

func (d *Dispenser) DispenseDestination() (connector.DestinationPlugin, error)

func (*Dispenser) DispenseSource added in v0.11.0

func (d *Dispenser) DispenseSource() (connector.SourcePlugin, error)

func (*Dispenser) DispenseSpecifier added in v0.11.0

func (d *Dispenser) DispenseSpecifier() (connector.SpecifierPlugin, error)

type InMemoryDestinationRunStream added in v0.11.0

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

func (*InMemoryDestinationRunStream) Client added in v0.11.0

func (*InMemoryDestinationRunStream) Close added in v0.11.0

func (s *InMemoryDestinationRunStream) Close(reason error) bool

func (*InMemoryDestinationRunStream) Init added in v0.11.0

func (*InMemoryDestinationRunStream) Server added in v0.11.0

type InMemorySourceRunStream added in v0.11.0

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

func (*InMemorySourceRunStream) Client added in v0.11.0

func (*InMemorySourceRunStream) Close added in v0.11.0

func (s *InMemorySourceRunStream) Close(reason error) bool

func (*InMemorySourceRunStream) Init added in v0.11.0

func (*InMemorySourceRunStream) Server added in v0.11.0

type Registry

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

func NewRegistry

func NewRegistry(logger log.CtxLogger, connectors map[string]sdk.Connector, service *connutils.SchemaService) *Registry

func (*Registry) Init added in v0.11.0

func (r *Registry) Init(ctx context.Context)

func (*Registry) List

func (*Registry) NewDispenser

func (r *Registry) NewDispenser(logger log.CtxLogger, fullName plugin.FullName, cfg pconnector.PluginConfig) (connector.Dispenser, error)

Jump to

Keyboard shortcuts

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