sqlprovider

package
v0.4.55 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionClientConfig

type ConnectionClientConfig struct {
	MaxConnectionLimit *int32
}

type Provider

type Provider struct{}

func NewProvider

func NewProvider() *Provider

func (*Provider) CloseClientConnection

func (p *Provider) CloseClientConnection(client neosync_benthos_sql.SqlDbtx) error

func (*Provider) GetConnectionClient

func (p *Provider) GetConnectionClient(driver, connectionString string, opts *ConnectionClientConfig) (neosync_benthos_sql.SqlDbtx, error)

func (*Provider) GetConnectionClientConfig

func (p *Provider) GetConnectionClientConfig(cc *mgmtv1alpha1.ConnectionConfig) (*ConnectionClientConfig, error)

func (*Provider) GetConnectionDetails

func (p *Provider) GetConnectionDetails(
	cc *mgmtv1alpha1.ConnectionConfig,
	connectionTimeout *uint32,
	logger *slog.Logger,
) (connectiontunnelmanager.ConnectionDetails, error)

Jump to

Keyboard shortcuts

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