Documentation ¶
Index ¶
- type Backup
- type Backups
- type File
- type Service
- func (s *Service) Backup(service util.Service) error
- func (s *Service) BackupExists(serviceType, serviceName, filename string) bool
- func (s *Service) DeleteBackup(serviceType, serviceName, filename string) error
- func (s *Service) DownloadBackup(serviceType, serviceName, filename string) (*os.File, error)
- func (s *Service) GetBackup(serviceType, serviceName, filename string) (*Backup, error)
- func (s *Service) GetBackups(serviceType, serviceName string) ([]Backup, error)
- func (s *Service) GetService(serviceType, serviceName string) util.Service
- func (s *Service) GetServices(serviceType, serviceName string) []util.Service
- func (s *Service) ReadBackup(serviceType, serviceName, filename string) (io.Reader, error)
- func (s *Service) Restore(service util.Service, filename string) error
- func (s *Service) RetentionCleanup(service util.Service) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service is used interact with services and dump/restore backups
func (*Service) BackupExists ¶
func (*Service) DeleteBackup ¶
func (*Service) DownloadBackup ¶
func (*Service) GetBackups ¶
func (*Service) GetService ¶
func (*Service) GetServices ¶
func (*Service) ReadBackup ¶
Click to show internal directories.
Click to hide internal directories.