plugin

package
v0.0.0-...-cebd656 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: MIT Imports: 14 Imported by: ? modules, 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

This section is empty.

Functions

func Configure

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

Configure is called once by the SDK at sync start. It parses the spec, creates the API client, and returns a ready-to-use plugin.Client.

func Plugin

func Plugin() *plugin.Plugin

Plugin returns the configured CloudQuery plugin instance.

Types

type Client

type Client struct {
	plugin.UnimplementedDestination
	// contains filtered or unexported fields
}

Client implements plugin.Client for the ipgeolocation source plugin.

func (*Client) Close

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

Close is a no-op for this plugin.

func (*Client) Sync

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

Sync runs the data sync: filters tables, creates the resolver client, and lets the scheduler orchestrate the fetching.

func (*Client) Tables

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

Tables returns the filtered list of tables this plugin exposes.

Jump to

Keyboard shortcuts

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