Documentation ¶
Overview ¶
Package external implements a cluster driver for an external cluster.
Index ¶
- type Driver
- func (d *Driver) ClusterStatus(ctx context.Context, id sqldb.ClusterID) (*sqldb.ClusterStatus, error)
- func (d *Driver) CreateCluster(ctx context.Context, p *sqldb.CreateParams, log zerolog.Logger) (*sqldb.ClusterStatus, error)
- func (d *Driver) DestroyCluster(ctx context.Context, id sqldb.ClusterID) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct { Host string // "host", "host:port", "/path/to/unix.socket", Database string // database name SuperuserUsername string SuperuserPassword string }
func (*Driver) ClusterStatus ¶
func (*Driver) CreateCluster ¶
func (d *Driver) CreateCluster(ctx context.Context, p *sqldb.CreateParams, log zerolog.Logger) (*sqldb.ClusterStatus, error)
Click to show internal directories.
Click to hide internal directories.