Documentation ¶
Index ¶
- Variables
- type Dispenser
- type DispenserFactory
- type InMemoryDestinationRunStream
- func (s *InMemoryDestinationRunStream) Client() pconnector.DestinationRunStreamClient
- func (s *InMemoryDestinationRunStream) Close(reason error) bool
- func (s *InMemoryDestinationRunStream) Init(ctx context.Context)
- func (s *InMemoryDestinationRunStream) Server() pconnector.DestinationRunStreamServer
- type InMemorySourceRunStream
- type Registry
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultDispenserFactories contains default dispenser factories for // built-in plugins. The key of the map is the import path of the module // containing the connector implementation. DefaultDispenserFactories = map[string]DispenserFactory{ "github.com/conduitio/conduit-connector-file": NewDispenserFactory(file.Connector), "github.com/conduitio/conduit-connector-generator": NewDispenserFactory(generator.Connector), "github.com/conduitio/conduit-connector-kafka": NewDispenserFactory(kafka.Connector), "github.com/conduitio/conduit-connector-log": NewDispenserFactory(connLog.Connector), "github.com/conduitio/conduit-connector-postgres": NewDispenserFactory(postgres.Connector), "github.com/conduitio/conduit-connector-s3": NewDispenserFactory(s3.Connector), } )
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 DispenserFactory ¶
func NewDispenserFactory ¶
func NewDispenserFactory(conn sdk.Connector) DispenserFactory
type InMemoryDestinationRunStream ¶ added in v0.11.0
type InMemoryDestinationRunStream struct {
// contains filtered or unexported fields
}
func (*InMemoryDestinationRunStream) Client ¶ added in v0.11.0
func (s *InMemoryDestinationRunStream) Client() pconnector.DestinationRunStreamClient
func (*InMemoryDestinationRunStream) Close ¶ added in v0.11.0
func (s *InMemoryDestinationRunStream) Close(reason error) bool
func (*InMemoryDestinationRunStream) Init ¶ added in v0.11.0
func (s *InMemoryDestinationRunStream) Init(ctx context.Context)
func (*InMemoryDestinationRunStream) Server ¶ added in v0.11.0
func (s *InMemoryDestinationRunStream) Server() pconnector.DestinationRunStreamServer
type InMemorySourceRunStream ¶ added in v0.11.0
type InMemorySourceRunStream struct {
// contains filtered or unexported fields
}
func (*InMemorySourceRunStream) Client ¶ added in v0.11.0
func (s *InMemorySourceRunStream) Client() pconnector.SourceRunStreamClient
func (*InMemorySourceRunStream) Close ¶ added in v0.11.0
func (s *InMemorySourceRunStream) Close(reason error) bool
func (*InMemorySourceRunStream) Init ¶ added in v0.11.0
func (s *InMemorySourceRunStream) Init(ctx context.Context)
func (*InMemorySourceRunStream) Server ¶ added in v0.11.0
func (s *InMemorySourceRunStream) Server() pconnector.SourceRunStreamServer
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry(logger log.CtxLogger, factories map[string]DispenserFactory) *Registry
func (*Registry) List ¶
func (r *Registry) List() map[plugin.FullName]pconnector.Specification
Click to show internal directories.
Click to hide internal directories.