Documentation
¶
Index ¶
- Variables
- func NewDestination() sdk.Destination
- func NewSource() sdk.Source
- func Specification() sdk.Specification
- type Destination
- func (d *Destination) Configure(ctx context.Context, cfg config.Config) error
- func (d *Destination) Open(ctx context.Context) error
- func (d *Destination) Parameters() config.Parameters
- func (d *Destination) Teardown(ctx context.Context) error
- func (d *Destination) Write(ctx context.Context, recs []opencdc.Record) (int, error)
- type Source
- func (s *Source) Ack(ctx context.Context, pos opencdc.Position) error
- func (s *Source) Configure(ctx context.Context, cfg config.Config) error
- func (s *Source) LifecycleOnDeleted(ctx context.Context, cfg config.Config) error
- func (s *Source) Open(ctx context.Context, pos opencdc.Position) error
- func (s *Source) Parameters() config.Parameters
- func (s *Source) Read(ctx context.Context) (opencdc.Record, error)
- func (s *Source) Teardown(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Connector = sdk.Connector{ NewSpecification: Specification, NewSource: NewSource, NewDestination: NewDestination, }
Functions ¶
func NewDestination ¶ added in v0.6.0
func NewDestination() sdk.Destination
func Specification ¶
func Specification() sdk.Specification
Specification returns the Plugin's Specification.
Types ¶
type Destination ¶ added in v0.6.0
type Destination struct { sdk.UnimplementedDestination // contains filtered or unexported fields }
func (*Destination) Parameters ¶ added in v0.6.0
func (d *Destination) Parameters() config.Parameters
type Source ¶ added in v0.6.0
type Source struct { sdk.UnimplementedSource // contains filtered or unexported fields }
Source is a Postgres source plugin.
func (*Source) LifecycleOnDeleted ¶ added in v0.7.1
func (*Source) Parameters ¶ added in v0.6.0
func (s *Source) Parameters() config.Parameters
Click to show internal directories.
Click to hide internal directories.