mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-15 16:16:44 +00:00
refactor
This commit is contained in:
16
src/state.go
Normal file
16
src/state.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package main
|
||||
|
||||
type State int
|
||||
|
||||
const (
|
||||
// submitted
|
||||
Created State = iota
|
||||
// scheduling
|
||||
Starting
|
||||
// running
|
||||
Running
|
||||
// stopped
|
||||
Stopped
|
||||
// finished successfully
|
||||
Finished
|
||||
)
|
||||
Reference in New Issue
Block a user