Use constants for runtime event topics
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
13
runtime/events.go
Normal file
13
runtime/events.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package runtime
|
||||
|
||||
const (
|
||||
TaskCreateEventTopic = "/tasks/create"
|
||||
TaskStartEventTopic = "/tasks/start"
|
||||
TaskOOMEventTopic = "/tasks/oom"
|
||||
TaskExitEventTopic = "/tasks/exit"
|
||||
TaskDeleteEventTopic = "/tasks/delete"
|
||||
TaskExecAddedEventTopic = "/tasks/exec-added"
|
||||
TaskPausedEventTopic = "/tasks/paused"
|
||||
TaskResumedEventTopic = "/tasks/resumed"
|
||||
TaskCheckpointedEventTopic = "/tasks/checkpointed"
|
||||
)
|
Reference in New Issue
Block a user