agent_api/messages/const.go
insanity@loafle.com 78824f0d5f temporary const
2017-05-23 11:45:11 +09:00

32 lines
1.1 KiB
Go

package messages
const (
INIT_AGT_STARTING = "INIT_AGT_STARTING"
EVENT_AGT_START = "EVENT_AGT_START"
EVENT_AGT_STOP = "EVENT_AGT_STOP"
EVENT_AGT_ERROR = "EVENT_AGT_ERROR"
TASK_SENSOR_START = "TASK_SENSOR_START"
TASK_SENSOR_STOP = "TASK_SENSOR_STOP"
TASK_SENSOR_ADD = "TASK_SENSOR_ADD"
TASK_SENSOR_REMOVE = "TASK_SENSOR_REMOVE"
TASK_SENSOR_UPDATE = "TASK_SENSOR_UPDATE"
TASK_CRAWLER_UPDATE = "TASK_CRAWLER_UPDATE"
TASK_AGENT_UPDATE = "TASK_AGENT_UPDATE"
TASK_LOG_SEND = "TASK_LOG_SEND"
TASK_POL_INTERVAL_UPDATE = "TASK_POLLER_INTERVAL_UPDATE"
DISCOVERY_START = "DISCOVERY_START"
DISCOVERY_HOST_START = "DISCOVERY_HOST_START"
DISCOVERY_HOST_FOUND = "DISCOVERY_HOST_FOUND"
DISCOVERY_HOST_DONE = "DISCOVERY_HOST_DONE"
DISCOVERY_PORT_START = "DISCOVERY_PORT_START"
DISCOVERY_PORT_FOUND = "DISCOVERY_PORT_FOUND"
DISCOVERY_PORT_DONE = "DISCOVERY_PORT_DONE"
DISCOVERY_SERVICE_START = "DISCOVERY_SERVICE_START"
DISCOVERY_SERVICE_FOUND = "DISCOVERY_SERVICE_FOUND"
DISCOVERY_SERVICE_DONE = "DISCOVERY_SERVICE_DONE"
DISCOVERY_DONE = "DISCOVERY_DONE"
)