citask

package
v0.0.0-...-6ed9cba Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const ModulePriorityCiTask = 4002 // 功能-CI/CD 任务

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskProgress

type TaskProgress struct {
	ID        uint      `json:"id"`
	TaskID    uint      `json:"task_id"`
	TaskName  string    `json:"task_name"`
	Status    string    `json:"status"`
	Output    string    `json:"output"`
	Error     string    `json:"error"`
	StartTime time.Time `json:"start_time"`
	EndTime   time.Time `json:"end_time"`
	Duration  int       `json:"duration"`
	Progress  int       `json:"progress"` // 0-100
}

TaskProgress 任务进度

Jump to

Keyboard shortcuts

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