Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxExtentsBuffer = 1024
)
Variables ¶
This section is empty.
Functions ¶
func CreateBackupBackingImageMappings ¶
func CreateBackupBackingImageMappings(backingImage *BackingImage) (*common.Mappings, error)
Types ¶
type BackingImage ¶
type BackingImage struct { Size int64 SectorSize int64 Path string Disk enginetypes.DiffDisk Format string Location []byte }
func OpenBackingImage ¶
func OpenBackingImage(path string) (*BackingImage, error)
func (*BackingImage) Close ¶
func (bi *BackingImage) Close()
func (*BackingImage) Preload ¶
func (bi *BackingImage) Preload() error
Preload populates bi.location with correct values
type BackupStatus ¶
type BackupStatus struct { Name string BackingImage *BackingImage Error string Progress int BackupURL string State common.ProgressState IsOpened bool // contains filtered or unexported fields }
func NewBackupStatus ¶
func NewBackupStatus(name string, backingImage *BackingImage) *BackupStatus
func (*BackupStatus) CloseFile ¶
func (b *BackupStatus) CloseFile()
func (*BackupStatus) UpdateBackupProgress ¶
func (b *BackupStatus) UpdateBackupProgress(state string, progress int, backupURL string, err string)
Click to show internal directories.
Click to hide internal directories.