operation

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

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"`
}

Jump to

Keyboard shortcuts

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