jobs

package
v0.0.0-...-54477f5 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackupD

func BackupD(interval time.Duration, pack *models.ServicePack)

func BackupOne

func BackupOne(core *models.Instance, pack *models.ServicePack) (*task.Task, error)

func CopyFileFromCore

func CopyFileFromCore(t *task.Task)

func CreateZip

func CreateZip(t *task.Task)

func DoBackup

func DoBackup(t *task.Task)

func GatherFilesystemStats

func GatherFilesystemStats(t *task.Task)

func HandleFileUploads

func HandleFileUploads(t *task.Task)

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 HashFile

func HashFile(t *task.Task)

func RestoreCore

func RestoreCore(t *task.Task)

func ScanDirectory

func ScanDirectory(t *task.Task)

func ScanFile

func ScanFile(t *task.Task)

func ScanFile_

func ScanFile_(meta models.ScanMeta, exitCheck func()) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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