- Added new job management functions: Once, Cron, and Daemon for creating jobs with different scheduling types. - Introduced methods for job manipulation, including Start, Cancel, and various setters for job properties. - Updated job model to reflect changes in the job execution process type, renaming "process_type" to "mode" and adjusting enum values to uppercase. - Removed obsolete interfaces and types related to job management, streamlining the codebase.
6 lines
129 B
Go
6 lines
129 B
Go
package job
|
|
|
|
// ProgressManager the progress manager
|
|
type ProgressManager interface {
|
|
Set(progress int, message string) error
|
|
}
|