Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Context *context.Context
Context is beehive context used to send message
var ContextReceiveModule string
ContextReceiveModule is the name receive message from
var ContextResponseModule string
ContextResponseModule is the name response message from
var ContextSendModule string
ContextSendModule is the name send message to
var DeviceEventBuffer int
DeviceEventBuffer is the size of channel which save device event from k8s
var DeviceModelEventBuffer int
DeviceModelEventBuffer is the size of channel which save devicemodel event from k8s
var KubeBurst int
KubeBurst default is 10
var KubeConfig string
KubeConfig is the config used connect to edge master
var KubeContentType string
KubeContentType is the content type communicate with edge master(default is "application/vnd.kubernetes.protobuf")
var KubeMaster string
KubeMaster is the url of edge master(kube api server)
var KubeNamespace string
KubeNamespace is the namespace to watch(default is NamespaceAll)
var KubeQPS float32
KubeQPS is the QPS communicate with edge master(default is 1024)
var MessageLayer string
MessageLayer used, context or ssmq, default is context
var UpdateDeviceStatusBuffer int
UpdateDeviceStatusBuffer is the size of channel which save update device status message from edge
var UpdateDeviceStatusWorkers int
UpdateDeviceStatusWorkers is the count of goroutines of update device status
Functions ¶
This section is empty.
Types ¶
This section is empty.