package
0.0.0-20250302012944-701c1ceec546
Repository: https://github.com/khulnasoft/devsecdb.git
Documentation: pkg.go.dev

# Packages

Package bigquery is the plugin for BigQuery driver.
Package clickhouse is the plugin for ClickHouse driver.
Package cockroachdb is the plugin for CockroachDB driver.
No description provided by the author
Package dm is the plugin for DM driver.
Package dynamodb is the plugin for DynamoDB driver.
No description provided by the author
No description provided by the author
Package mongodb is the plugin for MongoDB driver.
Package mssql is the plugin for MSSQL driver.
Package mysql is the plugin for MySQL driver.
Package obo is for OceanBase Oracle mode.
Package oracle is the plugin for Oracle driver.
Package pg is the plugin for PostgreSQL driver.
Package redis implements redis driver.
Package redshift is the plugin for RedShift driver.
Package risingwave is the plugin for RisingWave driver.
Package snowflake is the plugin for Snowflake driver.
Package spanner is the plugin for Spanner driver.
Package sqlite is the plugin for SQLite driver.
Package starrocks is the plugin for starrocks driver.
Package tidb is the plugin for TiDB driver.
Package util provides the library for database drivers.

# Functions

let users manually solve the resource competition problem.
No description provided by the author
Open opens a database specified by its database driver type and connection config without verifying the connection.
Register makes a database driver available by the provided type.

# Constants

Baseline is the migration type for BASELINE.
Data is the migration type for DATA.
Done is the migration status for DONE.
Failed is the migration status for FAILED.
LIBRARY is the migration source type for LIBRARY.
Migrate is the migration type for MIGRATE.
MigrateSDL is the migration type via state-based schema migration.
Pending is the migration status for PENDING.
No description provided by the author
No description provided by the author
SlowQueryMaxLen is the max length of slow query.
SlowQueryMaxSamplePerDay is the max number of slow query samples per day.
SlowQueryMaxSamplePerFingerprint is the max number of slow query samples per fingerprint.
UI is the migration source type for UI.
VCS is the migration source type for VCS.

# Variables

No description provided by the author
No description provided by the author
We have to specify the path of 'krb5.conf' for the 'kinit' command.
No description provided by the author
content format of a krb5.conf file: [libdefaults] default_realm = {realm} [realms] {realm} = { kdc = {transport_protocol}/{host}:{port} }.
No description provided by the author
No description provided by the author
No description provided by the author
The principal is in {primary}/{instance}@{realm} or {primary}@{realm} format, for example: 'root/[email protected]' or '[email protected]'.

# Structs

ColumnKey is the map key for table metadata.
ConnectionConfig is the configuration for connections.
ConnectionContext is the context for connection.
DatabaseRoleMessage is the API message for database role.
DatabaseRoleUpsertMessage is the API message for upserting a database role.
DriverConfig is the driver configuration.
ErrorWithPosition is the error with the position information.
ExecuteOptions is the options for execute.
IndexKey is the map key for table metadata.
InstanceMetadata is the metadata for an instance.
No description provided by the author
No description provided by the author
MigrationInfo is the API message for migration info.
No description provided by the author
QueryContext is the context to query.
No description provided by the author
SSHConfig is the configuration for connection over SSH.
TableKey is the map key for table metadata.
TLSConfig is the configuration for SSL connection.
User is the database user.

# Interfaces

Driver is the interface for database driver.
No description provided by the author

# Type aliases

MigrationSource is the migration engine.
MigrationStatus is the status of migration.
MigrationType is the type of a migration.
No description provided by the author