oracle

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrOracleServiceRequired is returned when the data source omits the
	// database field, which for Oracle carries the service name — there is no
	// sensible default to fall back to.
	ErrOracleServiceRequired = errors.New("oracle data source requires a database (service name)")

	// ErrOracleRootCertUnsupported is returned when a verify mode supplies
	// ssl_root_cert: go-ora verifies against an Oracle wallet or the system
	// pool only, so a PEM root bundle cannot be honored and silently ignoring
	// it would fake the verification the operator asked for.
	ErrOracleRootCertUnsupported = errors.New("oracle data source does not support ssl_root_cert; use a system-trusted certificate")
)

Functions

This section is empty.

Types

type Provider

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

func NewProvider

func NewProvider() *Provider

func (*Provider) Connect

func (p *Provider) Connect(cfg *config.DataSourceConfig) (*sql.DB, error)

func (*Provider) Kind

func (p *Provider) Kind() config.DBKind

func (*Provider) Version

func (*Provider) Version(ctx context.Context, db *sql.DB) (string, error)

Jump to

Keyboard shortcuts

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