Documentation ¶
Index ¶
- func NewSource() sdk.Source
- type Source
- func (s *Source) Ack(ctx context.Context, position sdk.Position) error
- func (s *Source) Configure(ctx context.Context, cfg map[string]string) error
- func (s *Source) Next(ctx context.Context) (sdk.Record, error)
- func (s *Source) Open(ctx context.Context, pos sdk.Position) (err error)
- func (s *Source) Parameters() map[string]sdk.Parameter
- func (s *Source) Read(ctx context.Context) (sdk.Record, error)
- func (s *Source) ReadGoogleRow(ctx context.Context) (err error)
- func (s *Source) StopIterator() error
- func (s *Source) Teardown(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Source ¶
type Source struct { sdk.UnimplementedSource // contains filtered or unexported fields }
func (*Source) Parameters ¶
Parameters is a map of named Parameters that describe how to configure the Source.
func (*Source) ReadGoogleRow ¶
ReadGoogleRow fetches data from endpoint. It creates sdk.record and puts it in response channel
func (*Source) StopIterator ¶
Click to show internal directories.
Click to hide internal directories.