Documentation
¶
Index ¶
- type Client
- func (c *Client) Healthcheck(ctx context.Context, cmdExecutor cmd.Executor) error
- func (c *Client) ListBackups(ctx context.Context, cmdExecutor cmd.Executor, basePath string) ([]entity.RemoteBackup, error)
- func (c *Client) RemoveBackup(ctx context.Context, cmdExecutor cmd.Executor, path string) error
- func (c *Client) Upload(ctx context.Context, cmdExecutor cmd.Executor, source, dest string) (string, error)
- type Options
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) Healthcheck ¶
Healthcheck ensures awscli executable exists
func (*Client) ListBackups ¶
func (c *Client) ListBackups(ctx context.Context, cmdExecutor cmd.Executor, basePath string) ([]entity.RemoteBackup, error)
ListBackups returns backups from a given directory
func (*Client) RemoveBackup ¶
RemoveBackup removes given backup directory
Click to show internal directories.
Click to hide internal directories.