Documentation ¶
Index ¶
- Variables
- type SNFSBackupStorage
- func (s *SNFSBackupStorage) IsBackupExists(backupId string) (bool, error)
- func (s *SNFSBackupStorage) IsBackupInstanceExists(backupId string) (bool, error)
- func (s *SNFSBackupStorage) IsOnline() (bool, string, error)
- func (s *SNFSBackupStorage) RemoveBackup(ctx context.Context, backupId string) error
- func (s *SNFSBackupStorage) RemoveBackupInstance(ctx context.Context, backupId string) error
- func (s *SNFSBackupStorage) RestoreBackupInstanceTo(ctx context.Context, targetFilename string, backupId string) error
- func (s *SNFSBackupStorage) RestoreBackupTo(ctx context.Context, targetFilename string, backupId string) error
- func (s *SNFSBackupStorage) SaveBackupFrom(ctx context.Context, srcFilename string, backupId string) error
- func (s *SNFSBackupStorage) SaveBackupInstanceFrom(ctx context.Context, srcFilename string, backupId string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorBackupStorageOffline error = errors.Error(api.BackupStorageOffline)
Functions ¶
This section is empty.
Types ¶
type SNFSBackupStorage ¶
type SNFSBackupStorage struct { BackupStorageId string Path string NfsHost string // contains filtered or unexported fields }
func (*SNFSBackupStorage) IsBackupExists ¶
func (s *SNFSBackupStorage) IsBackupExists(backupId string) (bool, error)
func (*SNFSBackupStorage) IsBackupInstanceExists ¶
func (s *SNFSBackupStorage) IsBackupInstanceExists(backupId string) (bool, error)
func (*SNFSBackupStorage) RemoveBackup ¶
func (s *SNFSBackupStorage) RemoveBackup(ctx context.Context, backupId string) error
func (*SNFSBackupStorage) RemoveBackupInstance ¶
func (s *SNFSBackupStorage) RemoveBackupInstance(ctx context.Context, backupId string) error
func (*SNFSBackupStorage) RestoreBackupInstanceTo ¶
func (*SNFSBackupStorage) RestoreBackupTo ¶
func (*SNFSBackupStorage) SaveBackupFrom ¶
func (*SNFSBackupStorage) SaveBackupInstanceFrom ¶
Click to show internal directories.
Click to hide internal directories.