Documentation
¶
Index ¶
- type Client
- func (c *Client) CheckRepos(repo string, readData bool, orphaned types.OrphanedFilter) ([]types.RepoResult, error)
- func (c *Client) ForgetRepos(repo string, retention string, orphaned types.OrphanedFilter) ([]types.RepoResult, error)
- func (c *Client) ListRepos(repo string, orphaned types.OrphanedFilter) ([]types.RepoEntry, error)
- func (c *Client) ListScheduled() ([]types.ScheduledResponse, error)
- func (c *Client) PruneRepos(repo string, orphaned types.OrphanedFilter) ([]types.RepoResult, error)
- func (c *Client) StatsRepos(repo string, orphaned types.OrphanedFilter) (*types.StatsResponse, error)
- func (c *Client) TriggerBackup(containers []string) ([]types.BackupResult, error)
- func (c *Client) TriggerBackupAll() ([]types.BackupResult, error)
- func (c *Client) TriggerProjectBackup(project string, services []string) (*types.BackupResult, error)
- func (c *Client) UnlockRepos(repo string, orphaned types.OrphanedFilter) ([]types.RepoResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) CheckRepos ¶
func (c *Client) CheckRepos(repo string, readData bool, orphaned types.OrphanedFilter) ([]types.RepoResult, error)
func (*Client) ForgetRepos ¶
func (c *Client) ForgetRepos(repo string, retention string, orphaned types.OrphanedFilter) ([]types.RepoResult, error)
func (*Client) ListScheduled ¶ added in v0.1.4
func (c *Client) ListScheduled() ([]types.ScheduledResponse, error)
func (*Client) PruneRepos ¶
func (c *Client) PruneRepos(repo string, orphaned types.OrphanedFilter) ([]types.RepoResult, error)
func (*Client) StatsRepos ¶
func (c *Client) StatsRepos(repo string, orphaned types.OrphanedFilter) (*types.StatsResponse, error)
func (*Client) TriggerBackup ¶ added in v0.1.7
func (c *Client) TriggerBackup(containers []string) ([]types.BackupResult, error)
func (*Client) TriggerBackupAll ¶ added in v0.1.7
func (c *Client) TriggerBackupAll() ([]types.BackupResult, error)
func (*Client) TriggerProjectBackup ¶ added in v0.1.7
func (*Client) UnlockRepos ¶
func (c *Client) UnlockRepos(repo string, orphaned types.OrphanedFilter) ([]types.RepoResult, error)
Click to show internal directories.
Click to hide internal directories.