client

package
v5.2.0-beta1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2020 License: LGPL-3.0 Imports: 9 Imported by: 0

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

type TaskStruct struct {
	Topic    string
	TaskType string
	TaskBody interface{}
}

TaskStruct task struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL