Documentation
¶
Index ¶
- func BackupD(interval time.Duration, pack *models.ServicePack)
- func BackupOne(core *models.Instance, pack *models.ServicePack) (*task.Task, error)
- func CopyFileFromCore(t *task.Task)
- func CreateZip(t *task.Task)
- func DoBackup(t *task.Task)
- func GatherFilesystemStats(t *task.Task)
- func HandleFileUploads(t *task.Task)
- func HashFile(t *task.Task)
- func RestoreCore(t *task.Task)
- func ScanDirectory(t *task.Task)
- func ScanFile(t *task.Task)
- func ScanFile_(meta models.ScanMeta, exitCheck func()) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFileFromCore ¶
func GatherFilesystemStats ¶
func HandleFileUploads ¶
HandleFileUploads is the job for reading file chunks coming in from client requests, and writing them out to their corresponding files. Intention behind this implementation is to rid the client of interacting with any blocking calls to make the upload process as fast as possible, hopefully as fast as the slower of the 2 network speeds. This task handles everything *after* the client has had its data read into memory, this is the "bottom half" of the upload
func RestoreCore ¶
func ScanDirectory ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.