nfs

package
v0.0.0-...-6410feb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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
	NfsSharedDir    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) IsOnline

func (s *SNFSBackupStorage) IsOnline() (bool, string, 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 (s *SNFSBackupStorage) RestoreBackupInstanceTo(ctx context.Context, targetFilename string, backupId string) error

func (*SNFSBackupStorage) RestoreBackupTo

func (s *SNFSBackupStorage) RestoreBackupTo(ctx context.Context, targetFilename string, backupId string) error

func (*SNFSBackupStorage) SaveBackupFrom

func (s *SNFSBackupStorage) SaveBackupFrom(ctx context.Context, srcFilename string, backupId string) error

func (*SNFSBackupStorage) SaveBackupInstanceFrom

func (s *SNFSBackupStorage) SaveBackupInstanceFrom(ctx context.Context, srcFilename string, backupId string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL