Documentation
¶
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) CreateBackup(ctx context.Context, dbName, backupDir string) (string, error)
- func (c *Client) CreateDirectory(path string) error
- func (c *Client) ListDatabases(ctx context.Context) ([]string, error)
- func (c *Client) RestoreBackup(ctx context.Context, backupPath, dbName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateBackup ¶
func (*Client) CreateDirectory ¶
func (*Client) ListDatabases ¶ added in v1.1.4
ListDatabases returns a list of database names
Click to show internal directories.
Click to hide internal directories.