constants

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MakeModbusDevice           = "cd $GOPATH/src/github.com/kubeedge/mappers-go;make device modbus package"
	CheckModbusDeviceImage     = "docker images | grep modbus-simulator"
	RunModbusTCPDevice         = "docker run -d --network host modbus-simulator:v1.0-linux-amd64 tcp"
	RunModbusTCPErrorDevice    = "docker run -d --network host modbus-simulator:v1.0-linux-amd64 tcperror"
	RunModbusRTUDevice         = "docker run -d -v /dev:/dev modbus-simulator:v1.0-linux-amd64 rtu"
	RunModbusRTUErrorDevice    = "docker run -d -v /dev:/dev modbus-simulator:v1.0-linux-amd64 rtuerror"
	RunSocat                   = "docker run -d -v /dev:/dev alpine/socat:1.7.3.4-r0 -d -d pty,raw,echo=0,link=/dev/ttyS001 pty,raw,echo=0,link=/dev/ttyS002"
	GetSocat                   = "docker ps | grep alpine/socat"
	GetModbusDeviceContainerID = "docker ps | grep modbus-simulator"
	DeleteModbusDevice         = "docker rmi modbus-simulator:v1.0-linux-amd64"

	MakeModbusMapper        = "cd $GOPATH/src/github.com/kubeedge/mappers-go;make mapper modbus package"
	CheckModbusMapperImage  = "docker images | grep modbus-mapper"
	DeleteModbusMapperImage = "docker rmi modbus-mapper:v1.0-linux-amd64"

	RunTCPModbusMapper         = "" /* 179-byte string literal not displayed */
	RunRTUModbusMapper         = "" /* 192-byte string literal not displayed */
	GetModbusMapperContainerID = "docker ps | grep modbus-mapper"
)

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