Documentation ¶
Index ¶
- Variables
- type Dispenser
- 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 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 (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 (*Registry) List ¶
func (r *Registry) List() map[plugin.FullName]pconnector.Specification
func (*Registry) NewDispenser ¶
func (r *Registry) NewDispenser(logger log.CtxLogger, fullName plugin.FullName, cfg pconnector.PluginConfig) (connector.Dispenser, error)
Click to show internal directories.
Click to hide internal directories.