Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuilderTopic = "builder"
BuilderTopic builder for linux
View Source
var WindowsBuilderTopic = "windows_builder"
WindowsBuilderTopic builder for windows
View Source
var WorkerTopic = "worker"
WorkerTopic worker topic
Functions ¶
This section is empty.
Types ¶
type MQClient ¶
type MQClient interface { pb.TaskQueueClient Close() SendBuilderTopic(t TaskStruct) error }
MQClient mq client
func NewMqClient ¶
func NewMqClient(etcdClientArgs *etcdutil.ClientArgs, defaultserver string) (MQClient, error)
NewMqClient new a mq client
type TaskStruct ¶
TaskStruct task struct
Click to show internal directories.
Click to hide internal directories.