Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Info is the global variable used to // hold information about sync progress Info *types.SyncInfo )
Functions ¶
func GetRebuildInfo ¶
GetRebuildInfo returns the updated SyncInfo such as total used size of snapshots and size of individual snapshots.
func SetStatus ¶
func SetStatus(disk, status string)
SetStatus is the status of rebuilding for a given disk
func SetSyncInfo ¶
SetSyncInfo initializes Info structure to hold rebuild info. It is queried via REST API call.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.