plugin

package
v0.0.0-...-f26dfa4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2026 License: MPL-2.0 Imports: 12 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Team    = "example-team"
	Kind    = "source"
	Name    = "example"
	Version = "development"
)

These variables are used by the `package` command and for checking usage limits.

Functions

func Configure

func Configure(_ context.Context, logger zerolog.Logger, spec []byte, opts plugin.NewClientOptions) (plugin.Client, error)

func Plugin

func Plugin() *plugin.Plugin

func TestConnection

func TestConnection(_ context.Context, _ zerolog.Logger, spec []byte) error

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (*Client) Close

func (*Client) Close(_ context.Context) error

func (*Client) Logger

func (c *Client) Logger() *zerolog.Logger

func (*Client) Read

func (*Client) Sync

func (c *Client) Sync(ctx context.Context, options plugin.SyncOptions, res chan<- message.SyncMessage) error

func (*Client) Tables

func (c *Client) Tables(_ context.Context, options plugin.TableOptions) (schema.Tables, error)

func (*Client) Transform

func (*Client) Transform(_ context.Context, _ <-chan arrow.RecordBatch, _ chan<- arrow.RecordBatch) error

func (*Client) TransformSchema

func (*Client) TransformSchema(_ context.Context, _ *arrow.Schema) (*arrow.Schema, error)

func (*Client) Write

func (*Client) Write(context.Context, <-chan message.WriteMessage) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL