{"modulePath":"github.com/cloudquery/plugin-sdk/examples/simple_plugin","version":"v0.0.0-20261205002905-32f1574e272b","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package plugin\n\n## Variables\n\n```go\nvar (\n\tTeam    = \"example-team\"\n\tKind    = \"source\"\n\tName    = \"example\"\n\tVersion = \"development\"\n)\n```\nThese variables are used by the \\`package\\` command and for checking usage limits.\n\n## Functions\n\n```go\nfunc Configure(_ context.Context, logger zerolog.Logger, spec []byte, opts plugin.NewClientOptions) (plugin.Client, error)\n```\n\n```go\nfunc Plugin() *plugin.Plugin\n```\n\n```go\nfunc TestConnection(_ context.Context, _ zerolog.Logger, spec []byte) error\n```\n\n## Types\n\n```go\ntype Client struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (*Client) Close(_ context.Context) error\n```\n\n```go\nfunc (c *Client) Logger() *zerolog.Logger\n```\n\n```go\nfunc (*Client) Read(context.Context, *schema.Table, chan\u003c- arrow.RecordBatch) error\n```\n\n```go\nfunc (c *Client) Sync(ctx context.Context, options plugin.SyncOptions, res chan\u003c- message.SyncMessage) error\n```\n\n```go\nfunc (c *Client) Tables(_ context.Context, options plugin.TableOptions) (schema.Tables, error)\n```\n\n```go\nfunc (*Client) Transform(_ context.Context, _ \u003c-chan arrow.RecordBatch, _ chan\u003c- arrow.RecordBatch) error\n```\n\n```go\nfunc (*Client) TransformSchema(_ context.Context, _ *arrow.Schema) (*arrow.Schema, error)\n```\n\n```go\nfunc (*Client) Write(context.Context, \u003c-chan message.WriteMessage) error\n```\n\n","path":"github.com/cloudquery/plugin-sdk/examples/simple_plugin/plugin","name":"plugin","synopsis":"","isRedistributable":true}
