Documentation
¶
Index ¶
- func GenerateBackupName(prefix string) (string, error)
- func ParseBackupTimestamp(name string) (time.Time, error)
- type Client
- func (c *Client) CreateBackup() (io.Reader, error)
- func (c *Client) DecryptBackup(encrypted io.Reader, privateKey string) (io.Reader, error)
- func (c *Client) DeleteBackup(name string) error
- func (c *Client) DownloadBackup(name string) (io.Reader, error)
- func (c *Client) EncryptBackup(backup io.Reader, publicKeys []string) (io.Reader, error)
- func (c *Client) ListBackups() ([]string, error)
- func (c *Client) RestoreBackup(backup io.Reader) error
- func (c *Client) UploadBackup(name string, backup io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateBackupName ¶
Backup naming scheme: <prefix>_<timestamp>.<ext>[.<ext>]*
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DecryptBackup ¶
func (*Client) DeleteBackup ¶
func (*Client) EncryptBackup ¶
func (*Client) ListBackups ¶
Click to show internal directories.
Click to hide internal directories.