Documentation ¶
Index ¶
- func NewDestination() sdk.Destination
- type Destination
- func (d *Destination) Configure(_ context.Context, cfgRaw map[string]string) error
- func (d *Destination) Open(ctx context.Context) (err error)
- func (d *Destination) Parameters() map[string]sdk.Parameter
- func (d *Destination) Teardown(ctx context.Context) error
- func (d *Destination) Write(ctx context.Context, records []sdk.Record) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDestination ¶
func NewDestination() sdk.Destination
NewDestination initialises a new Destination.
Types ¶
type Destination ¶
type Destination struct { sdk.UnimplementedDestination // contains filtered or unexported fields }
A Destination represents the destination connector.
func (*Destination) Configure ¶
Configure parses and stores configurations, returns an error in case of invalid configuration.
func (*Destination) Open ¶
func (d *Destination) Open(ctx context.Context) (err error)
Open initializes a publisher client.
func (*Destination) Parameters ¶
func (d *Destination) Parameters() map[string]sdk.Parameter
Parameters returns a map of named Parameters that describe how to configure the Source.
Click to show internal directories.
Click to hide internal directories.