Help us shape the future of Go! Take the 2026 Go Developer Survey

https

package
v0.82.3 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigProperties

type ConfigProperties struct {
	Headers map[string]string `mapstructure:"headers"`
	// A list of HTTP/HTTPS URL prefixes that this connector is allowed to access.
	// Useful when different URL namespaces use different credentials, enabling the
	// system to choose the appropriate connector based on the URL path.
	// Example formats: `https://example.com/` `https://example.com/path/` `https://example.com/path/prefix`
	PathPrefixes []string `mapstructure:"path_prefixes"`
}

func NewConfigProperties added in v0.78.0

func NewConfigProperties(prop map[string]any) (*ConfigProperties, error)

type Connection added in v0.78.0

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

func (*Connection) AsAI added in v0.78.0

func (c *Connection) AsAI(instanceID string) (drivers.AIService, bool)

AsAI implements drivers.Handle.

func (*Connection) AsAdmin added in v0.78.0

func (c *Connection) AsAdmin(instanceID string) (drivers.AdminService, bool)

AsAdmin implements drivers.Handle.

func (*Connection) AsCatalogStore added in v0.78.0

func (c *Connection) AsCatalogStore(instanceID string) (drivers.CatalogStore, bool)

AsCatalogStore implements drivers.Connection.

func (*Connection) AsFileStore added in v0.78.0

func (c *Connection) AsFileStore() (drivers.FileStore, bool)

func (*Connection) AsInformationSchema added in v0.78.0

func (c *Connection) AsInformationSchema() (drivers.InformationSchema, bool)

InformationSchema implements drivers.Handle.

func (*Connection) AsModelExecutor added in v0.78.0

func (c *Connection) AsModelExecutor(instanceID string, opts *drivers.ModelExecutorOptions) (drivers.ModelExecutor, error)

AsModelExecutor implements drivers.Handle.

func (*Connection) AsModelManager added in v0.78.0

func (c *Connection) AsModelManager(instanceID string) (drivers.ModelManager, error)

AsModelManager implements drivers.Handle.

func (*Connection) AsNotifier added in v0.78.0

func (c *Connection) AsNotifier(properties map[string]any) (drivers.Notifier, error)

AsNotifier implements drivers.Connection.

func (*Connection) AsOLAP added in v0.78.0

func (c *Connection) AsOLAP(instanceID string) (drivers.OLAPStore, bool)

AsOLAP implements drivers.Connection.

func (*Connection) AsObjectStore added in v0.78.0

func (c *Connection) AsObjectStore() (drivers.ObjectStore, bool)

AsObjectStore implements drivers.Connection.

func (*Connection) AsRegistry added in v0.78.0

func (c *Connection) AsRegistry() (drivers.RegistryStore, bool)

AsRegistry implements drivers.Connection.

func (*Connection) AsRepoStore added in v0.78.0

func (c *Connection) AsRepoStore(instanceID string) (drivers.RepoStore, bool)

AsRepoStore implements drivers.Connection.

func (*Connection) AsWarehouse added in v0.78.0

func (c *Connection) AsWarehouse() (drivers.Warehouse, bool)

AsWarehouse implements drivers.Handle.

func (*Connection) Close added in v0.78.0

func (c *Connection) Close() error

Close implements drivers.Connection.

func (*Connection) Config added in v0.78.0

func (c *Connection) Config() map[string]any

Config implements drivers.Connection.

func (*Connection) Driver added in v0.78.0

func (c *Connection) Driver() string

Driver implements drivers.Connection.

func (*Connection) FilePaths added in v0.78.0

func (c *Connection) FilePaths(ctx context.Context, src map[string]any) ([]string, error)

FilePaths implements drivers.FileStore

func (*Connection) Migrate added in v0.78.0

func (c *Connection) Migrate(ctx context.Context) (err error)

Migrate implements drivers.Connection.

func (*Connection) MigrationStatus added in v0.78.0

func (c *Connection) MigrationStatus(ctx context.Context) (current, desired int, err error)

MigrationStatus implements drivers.Connection.

func (*Connection) Ping added in v0.78.0

func (c *Connection) Ping(ctx context.Context) error

Ping implements drivers.Handle.

type ModelInputProperties added in v0.78.0

type ModelInputProperties struct {
	Path    string             `mapstructure:"path"`
	URI     string             `mapstructure:"uri"`
	Format  drivers.FileFormat `mapstructure:"format"`
	Headers map[string]string  `mapstructure:"headers"`
}

func (*ModelInputProperties) Decode added in v0.78.0

func (p *ModelInputProperties) Decode(props map[string]any) error

Jump to

Keyboard shortcuts

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