Documentation
¶
Index ¶
- type Driver
- func (d *Driver) CreateAccount(ctx context.Context, instanceID string) (schema.DatabaseActionResult, error)
- func (d *Driver) DeleteAccount(ctx context.Context, instanceID string) (schema.DatabaseActionResult, error)
- func (d *Driver) ListMySQL(ctx context.Context) ([]schema.Database, error)
- func (d *Driver) ListPostgreSQL(ctx context.Context) ([]schema.Database, error)
- func (d *Driver) ListSQLServer(ctx context.Context) ([]schema.Database, error)
- func (d *Driver) PartialError() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
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) ListPostgreSQL ¶
func (*Driver) ListSQLServer ¶
func (*Driver) PartialError ¶
Click to show internal directories.
Click to hide internal directories.