2015-02-11 06:09:57 +03:00
|
|
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
//
|
|
|
|
// Contributor: Julien Vehent jvehent@mozilla.com [:ulfr]
|
2015-08-27 17:41:13 +03:00
|
|
|
|
2015-08-26 21:15:40 +03:00
|
|
|
package mig /* import "mig.ninja/mig" */
|
2015-02-11 06:09:57 +03:00
|
|
|
|
|
|
|
const (
|
2015-08-01 18:35:36 +03:00
|
|
|
// rabbitmq exchanges and common queues
|
|
|
|
Mq_Ex_ToAgents = "toagents"
|
|
|
|
Mq_Ex_ToSchedulers = "toschedulers"
|
|
|
|
Mq_Ex_ToWorkers = "toworkers"
|
|
|
|
Mq_Q_Heartbeat = "mig.agt.heartbeats"
|
|
|
|
Mq_Q_Results = "mig.agt.results"
|
|
|
|
|
|
|
|
// event queues
|
2015-07-31 23:28:02 +03:00
|
|
|
Ev_Q_Agt_Auth_Fail = "agent.authentication.failure"
|
|
|
|
Ev_Q_Agt_New = "agent.new"
|
|
|
|
Ev_Q_Cmd_Res = "command.results"
|
2015-11-05 15:29:08 +03:00
|
|
|
|
|
|
|
// dummy queue for scheduler heartbeats to the relays
|
|
|
|
Ev_Q_Sched_Hb = "scheduler.heartbeat"
|
2015-02-11 06:09:57 +03:00
|
|
|
)
|