Documentation ¶
Index ¶
- type RepositoryService
- func (r *RepositoryService) ConnectToRepo(bsl *velerov1api.BackupStorageLocation, repo *velerov1api.BackupRepository) error
- func (r *RepositoryService) DefaultMaintenanceFrequency() time.Duration
- func (r *RepositoryService) Forget(bsl *velerov1api.BackupStorageLocation, repo *velerov1api.BackupRepository, ...) error
- func (r *RepositoryService) InitRepo(bsl *velerov1api.BackupStorageLocation, repo *velerov1api.BackupRepository) error
- func (r *RepositoryService) PruneRepo(bsl *velerov1api.BackupStorageLocation, repo *velerov1api.BackupRepository) error
- func (r *RepositoryService) UnlockRepo(bsl *velerov1api.BackupStorageLocation, repo *velerov1api.BackupRepository) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepositoryService ¶
type RepositoryService struct {
// contains filtered or unexported fields
}
func NewRepositoryService ¶
func NewRepositoryService(store credentials.FileStore, fs filesystem.Interface, log logrus.FieldLogger) *RepositoryService
func (*RepositoryService) ConnectToRepo ¶
func (r *RepositoryService) ConnectToRepo(bsl *velerov1api.BackupStorageLocation, repo *velerov1api.BackupRepository) error
func (*RepositoryService) DefaultMaintenanceFrequency ¶
func (r *RepositoryService) DefaultMaintenanceFrequency() time.Duration
func (*RepositoryService) Forget ¶
func (r *RepositoryService) Forget(bsl *velerov1api.BackupStorageLocation, repo *velerov1api.BackupRepository, snapshotID string) error
func (*RepositoryService) InitRepo ¶
func (r *RepositoryService) InitRepo(bsl *velerov1api.BackupStorageLocation, repo *velerov1api.BackupRepository) error
func (*RepositoryService) PruneRepo ¶
func (r *RepositoryService) PruneRepo(bsl *velerov1api.BackupStorageLocation, repo *velerov1api.BackupRepository) error
func (*RepositoryService) UnlockRepo ¶
func (r *RepositoryService) UnlockRepo(bsl *velerov1api.BackupStorageLocation, repo *velerov1api.BackupRepository) error
Click to show internal directories.
Click to hide internal directories.