constants

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultKubeContentType = "application/vnd.kubernetes.protobuf"
	DefaultKubeNamespace   = v1.NamespaceAll
	DefaultKubeQPS         = 100.0
	DefaultKubeBurst       = 10

	DefaultUpdateDeviceStatusWorkers = 1

	DefaultUpdateDeviceStatusBuffer = 1024

	DefaultMessageLayer = "context"

	DefaultContextSendModuleName     = CloudHubControllerModuleName
	DefaultContextReceiveModuleName  = DeviceControllerModuleName
	DefaultContextResponseModuleName = CloudHubControllerModuleName

	DefaultDeviceEventBuffer      = 1
	DefaultDeviceModelEventBuffer = 1
)

Config

View Source
const (
	// module
	DeviceControllerModuleName   = "devicecontroller"
	CloudHubControllerModuleName = "cloudhub"

	// group
	DeviceControllerModuleGroup = "controller"

	ResourceDeviceIndex         = 2
	ResourceDeviceIDIndex       = 3
	ResourceNode                = "node"
	ResourceDevice              = "device"
	ResourceTypeTwinEdgeUpdated = "twin/edge_updated"

	// Group
	GroupTwin = "twin"
)

Service level constants

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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