rds

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	Client *api.Client
	Region string
	// contains filtered or unexported fields
}

func (*Driver) CreateAccount added in v0.3.1

func (d *Driver) CreateAccount(ctx context.Context, instanceID string) (schema.DatabaseActionResult, error)

CreateAccount provisions a Volcengine RDS account on the named instance. Service (`rds_mysql` / `rds_postgresql` / `rds_mssql`) is auto-detected by the `instanceID` prefix when not provided. Username/password come from the `rds-account-check` config.

func (*Driver) DeleteAccount added in v0.3.1

func (d *Driver) DeleteAccount(ctx context.Context, instanceID string) (schema.DatabaseActionResult, error)

DeleteAccount removes the RDS account named by `rds-account-check`.

func (*Driver) ListMySQL

func (d *Driver) ListMySQL(ctx context.Context) ([]schema.Database, error)

func (*Driver) ListPostgreSQL

func (d *Driver) ListPostgreSQL(ctx context.Context) ([]schema.Database, error)

func (*Driver) ListSQLServer

func (d *Driver) ListSQLServer(ctx context.Context) ([]schema.Database, error)

func (*Driver) PartialError

func (d *Driver) PartialError() error

Jump to

Keyboard shortcuts

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