Documentation
¶
Index ¶
- Constants
- func DeviceModelWithPropertyBadAccessMode(name string, namespace string) *v1alpha2.DeviceModel
- func DeviceModelWithPropertyNoName(name string, namespace string) *v1alpha2.DeviceModel
- func DeviceModelWithPropertyNoType(name string, namespace string) *v1alpha2.DeviceModel
- func NewDeviceBluetoothBadOperationType(name string, namespace string) v1alpha2.Device
- func NewDeviceBluetoothNoCharacteristicUUID(name string, namespace string) v1alpha2.Device
- func NewDeviceBluetoothNoEndIndex(name string, namespace string) v1alpha2.Device
- func NewDeviceBluetoothNoStartIndex(name string, namespace string) v1alpha2.Device
- func NewDeviceCustomized(name string, namespace string) v1alpha2.Device
- func NewDeviceCustomizedNoConfigData(name string, namespace string) v1alpha2.Device
- func NewDeviceCustomizedNoName(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusBadRegister(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusNoLimit(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusNoOffset(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusNoRegister(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusRTU(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusRTUBadBaudRate(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusRTUBadDataBits(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusRTUBadParity(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusRTUBadSlaveID(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusRTUBadStopBits(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusRTUNoBaudRate(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusRTUNoDataBits(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusRTUNoParity(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusRTUNoSerialPort(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusRTUNoSlaveID(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusRTUNoStopBits(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusTCP(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusTCPNoIP(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusTCPNoPort(name string, namespace string) v1alpha2.Device
- func NewDeviceModbusTCPNoSlaveID(name string, namespace string) v1alpha2.Device
- func NewDeviceModelBluetooth(name string, namespace string) *v1alpha2.DeviceModel
- func NewDeviceModelCustomized(name string, namespace string) *v1alpha2.DeviceModel
- func NewDeviceModelModbus(name string, namespace string) *v1alpha2.DeviceModel
- func NewDeviceModelOpcUA(name string, namespace string) *v1alpha2.DeviceModel
- func NewDeviceNoModelReference(name string, namespace string) v1alpha2.Device
- func NewDeviceOpcUA(name string, namespace string) v1alpha2.Device
- func NewDeviceOpcUANoNodeID(name string, namespace string) v1alpha2.Device
- func NewDeviceOpcUANoURL(name string, namespace string) v1alpha2.Device
- type DeviceOp
- type DeviceOption
- type DevicePropertyOp
- type DevicePropertyOption
- type DevicePropertyVisitorOp
- type DevicePropertyVisitorOption
Constants ¶
View Source
const ( ResourceDeviceModel = "devicemodels" ResourceDevice = "devices" )
View Source
const ( DefaultNamespace = "default" DeviceModelRef = "sensor-tag-model" )
Device instance constants
Variables ¶
This section is empty.
Functions ¶
func DeviceModelWithPropertyBadAccessMode ¶
func DeviceModelWithPropertyBadAccessMode(name string, namespace string) *v1alpha2.DeviceModel
func DeviceModelWithPropertyNoName ¶
func DeviceModelWithPropertyNoName(name string, namespace string) *v1alpha2.DeviceModel
func DeviceModelWithPropertyNoType ¶
func DeviceModelWithPropertyNoType(name string, namespace string) *v1alpha2.DeviceModel
func NewDeviceModbusNoLimit ¶
func NewDeviceModbusNoOffset ¶
func NewDeviceModbusTCPNoIP ¶
func NewDeviceModelBluetooth ¶
func NewDeviceModelBluetooth(name string, namespace string) *v1alpha2.DeviceModel
func NewDeviceModelCustomized ¶
func NewDeviceModelCustomized(name string, namespace string) *v1alpha2.DeviceModel
func NewDeviceModelModbus ¶
func NewDeviceModelModbus(name string, namespace string) *v1alpha2.DeviceModel
func NewDeviceModelOpcUA ¶
func NewDeviceModelOpcUA(name string, namespace string) *v1alpha2.DeviceModel
func NewDeviceOpcUANoNodeID ¶
Types ¶
type DeviceOption ¶
type DeviceOption func(*DeviceOp)
type DevicePropertyOp ¶
type DevicePropertyOp struct {
// contains filtered or unexported fields
}
type DevicePropertyOption ¶
type DevicePropertyOption func(*DevicePropertyOp)
type DevicePropertyVisitorOp ¶
type DevicePropertyVisitorOp struct {
// contains filtered or unexported fields
}
type DevicePropertyVisitorOption ¶
type DevicePropertyVisitorOption func(*DevicePropertyVisitorOp)
Click to show internal directories.
Click to hide internal directories.