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.
Click to show internal directories.
Click to hide internal directories.