task
This commit is contained in:
parent
6aeb8743ca
commit
126c0fcd0b
|
@ -1,8 +1,7 @@
|
||||||
package messages
|
package messages
|
||||||
|
|
||||||
const (
|
const (
|
||||||
AGT_STARTING = "AGT_STARTING"
|
AGT_START = "AGENT_WILL_STOP"
|
||||||
AGT_WILL_STOP = "AGENT_WILL_STOP"
|
|
||||||
AGT_STOPPED = "AGENT_STOPPED"
|
AGT_STOPPED = "AGENT_STOPPED"
|
||||||
AGT_INITIALIZED = "AGT_INITIALIZED"
|
AGT_INITIALIZED = "AGT_INITIALIZED"
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,3 +4,9 @@ type AgentTask struct {
|
||||||
Command string
|
Command string
|
||||||
Params map[string]string
|
Params map[string]string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type TaskResult struct {
|
||||||
|
Command string
|
||||||
|
Success bool
|
||||||
|
Err error
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user