MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / trackBackupTask

Method trackBackupTask

internal/ui/components/vm_backups.go:241–244  ·  view source on GitHub ↗

trackBackupTask delegates task monitoring to the App

(upid string)

Source from the content-addressed store, hash-verified

239
240// trackBackupTask delegates task monitoring to the App
241func (bm *BackupManager) trackBackupTask(upid string) {
242 bm.app.StartBackupMonitor(upid, bm.vm.Node, bm.vm.ID)
243 bm.updateInfoText(fmt.Sprintf("Backup started: %s", upid))
244}
245
246func (bm *BackupManager) restoreBackup() {
247 if isPending, pendingOperation := models.GlobalState.IsVMPending(bm.vm); isPending {

Callers

nothing calls this directly

Calls 2

updateInfoTextMethod · 0.95
StartBackupMonitorMethod · 0.80

Tested by

no test coverage detected