connector

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

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