Documentation ¶ Index ¶ Constants type Operation Constants ¶ View Source const ( CHECK_TYPE = 1 // CHECK 检测仓库状态 REBUILDINDEX_TYPE = 2 // REBUILDINDEX 重建索引 PRUNE_TYPE = 3 // PRUNE 清理无用数据 FORGET_TYPE = 4 // FORGET 清理过期快照 ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Operation ¶ type Operation struct { common.BaseModel `storm:"inline"` RepositoryId int `json:"repositoryId"` PolicyId int `json:"policyId"` Type int `json:"type"` Status int `json:"status"` Logs []*wsTaskInfo.Sprint `json:"logs"` } Source Files ¶ View all Source files operation.go Click to show internal directories. Click to hide internal directories.