task

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	common.BaseModel `storm:"inline"`
	Name             string               `json:"name"`
	Path             string               `json:"path"`   //备份路径或还原路径
	PlanId           int                  `json:"planId"` //计划id
	RepositoryId     int                  `json:"repositoryId"`
	Status           int                  `json:"status"`
	ParentId         string               `json:"parentId"`      //父快照id
	Scanner          *model.VerboseUpdate `json:"scanner"`       //扫描结果
	ScannerError     *model.ErrorUpdate   `json:"scannerError"`  //扫描错误
	ArchivalError    []model.ErrorUpdate  `json:"archivalError"` //备份错误
	Summary          *model.SummaryOutput `json:"summary"`       //备份结果
	Progress         *model.StatusUpdate  `json:"progress"`      //当前进度
	RestoreError     []model.ErrorUpdate  `json:"restoreError"`  //恢复错误
	ReadConcurrency  uint                 //读取并发数量,默认2
}

Jump to

Keyboard shortcuts

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