connector

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 25 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

View Source
const (
	ActionEnableUser  = "enable_user"
	ActionDisableUser = "disable_user"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectorImpl

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

func New

func New(ctx context.Context, dsn string, skipPages bool, skipResources bool, skipDisabledUsers bool, apiBaseURL string, apiToken string) (*ConnectorImpl, error)

func (*ConnectorImpl) Asset

func (c *ConnectorImpl) Asset(ctx context.Context, asset *v2.AssetRef) (string, io.ReadCloser, error)

func (*ConnectorImpl) GlobalActions added in v0.0.16

func (c *ConnectorImpl) GlobalActions(ctx context.Context, registry actions.ActionRegistry) error

GlobalActions registers enable_user and disable_user as connector actions.

func (*ConnectorImpl) Metadata

func (c *ConnectorImpl) Metadata(ctx context.Context) (*v2.ConnectorMetadata, error)

func (*ConnectorImpl) ResourceSyncers

func (c *ConnectorImpl) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncer

func (*ConnectorImpl) Validate

Jump to

Keyboard shortcuts

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