Documentation
¶
Index ¶
- Constants
- func DeviceModelWithPropertyBadAccessMode(name string, namespace string) *v1alpha1.DeviceModel
- func DeviceModelWithPropertyNoName(name string, namespace string) *v1alpha1.DeviceModel
- func DeviceModelWithPropertyNoType(name string, namespace string) *v1alpha1.DeviceModel
- func NewDeviceModbusRTU(name string, namespace string) v1alpha1.Device
- func NewDeviceModbusRTUBadBaudRate(name string, namespace string) v1alpha1.Device
- func NewDeviceModbusRTUBadDataBits(name string, namespace string) v1alpha1.Device
- func NewDeviceModbusRTUBadParity(name string, namespace string) v1alpha1.Device
- func NewDeviceModbusRTUBadSlaveID(name string, namespace string) v1alpha1.Device
- func NewDeviceModbusRTUBadStopBits(name string, namespace string) v1alpha1.Device
- func NewDeviceModbusRTUNoBaudRate(name string, namespace string) v1alpha1.Device
- func NewDeviceModbusRTUNoDataBits(name string, namespace string) v1alpha1.Device
- func NewDeviceModbusRTUNoParity(name string, namespace string) v1alpha1.Device
- func NewDeviceModbusRTUNoSerialPort(name string, namespace string) v1alpha1.Device
- func NewDeviceModbusRTUNoSlaveID(name string, namespace string) v1alpha1.Device
- func NewDeviceModbusRTUNoStopBits(name string, namespace string) v1alpha1.Device
- func NewDeviceModbusTCP(name string, namespace string) v1alpha1.Device
- func NewDeviceModbusTCPNoIP(name string, namespace string) v1alpha1.Device
- func NewDeviceModbusTCPNoPort(name string, namespace string) v1alpha1.Device
- func NewDeviceModbusTCPNoSlaveID(name string, namespace string) v1alpha1.Device
- func NewDeviceModelBluetooth(name string, namespace string) *v1alpha1.DeviceModel
- func NewDeviceModelBluetoothBadOperationType(name string, namespace string) *v1alpha1.DeviceModel
- func NewDeviceModelBluetoothNoCharacteristicUUID(name string, namespace string) *v1alpha1.DeviceModel
- func NewDeviceModelBluetoothNoEndIndex(name string, namespace string) *v1alpha1.DeviceModel
- func NewDeviceModelBluetoothNoStartIndex(name string, namespace string) *v1alpha1.DeviceModel
- func NewDeviceModelModbus(name string, namespace string) *v1alpha1.DeviceModel
- func NewDeviceModelModbusBadRegister(name string, namespace string) *v1alpha1.DeviceModel
- func NewDeviceModelModbusNoLimit(name string, namespace string) *v1alpha1.DeviceModel
- func NewDeviceModelModbusNoOffset(name string, namespace string) *v1alpha1.DeviceModel
- func NewDeviceModelModbusNoRegister(name string, namespace string) *v1alpha1.DeviceModel
- func NewDeviceModelOpcUA(name string, namespace string) *v1alpha1.DeviceModel
- func NewDeviceModelOpcUANoNodeID(name string, namespace string) *v1alpha1.DeviceModel
- func NewDeviceNoModelReference(name string, namespace string) v1alpha1.Device
- func NewDeviceOpcUA(name string, namespace string) v1alpha1.Device
- func NewDeviceOpcUANoURL(name string, namespace string) v1alpha1.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) *v1alpha1.DeviceModel
func DeviceModelWithPropertyNoName ¶
func DeviceModelWithPropertyNoName(name string, namespace string) *v1alpha1.DeviceModel
func DeviceModelWithPropertyNoType ¶
func DeviceModelWithPropertyNoType(name string, namespace string) *v1alpha1.DeviceModel
func NewDeviceModbusTCPNoIP ¶
func NewDeviceModelBluetooth ¶
func NewDeviceModelBluetooth(name string, namespace string) *v1alpha1.DeviceModel
func NewDeviceModelBluetoothBadOperationType ¶
func NewDeviceModelBluetoothBadOperationType(name string, namespace string) *v1alpha1.DeviceModel
func NewDeviceModelBluetoothNoCharacteristicUUID ¶
func NewDeviceModelBluetoothNoCharacteristicUUID(name string, namespace string) *v1alpha1.DeviceModel
func NewDeviceModelBluetoothNoEndIndex ¶
func NewDeviceModelBluetoothNoEndIndex(name string, namespace string) *v1alpha1.DeviceModel
func NewDeviceModelBluetoothNoStartIndex ¶
func NewDeviceModelBluetoothNoStartIndex(name string, namespace string) *v1alpha1.DeviceModel
func NewDeviceModelModbus ¶
func NewDeviceModelModbus(name string, namespace string) *v1alpha1.DeviceModel
func NewDeviceModelModbusBadRegister ¶
func NewDeviceModelModbusBadRegister(name string, namespace string) *v1alpha1.DeviceModel
func NewDeviceModelModbusNoLimit ¶
func NewDeviceModelModbusNoLimit(name string, namespace string) *v1alpha1.DeviceModel
func NewDeviceModelModbusNoOffset ¶
func NewDeviceModelModbusNoOffset(name string, namespace string) *v1alpha1.DeviceModel
func NewDeviceModelModbusNoRegister ¶
func NewDeviceModelModbusNoRegister(name string, namespace string) *v1alpha1.DeviceModel
func NewDeviceModelOpcUA ¶
func NewDeviceModelOpcUA(name string, namespace string) *v1alpha1.DeviceModel
func NewDeviceModelOpcUANoNodeID ¶
func NewDeviceModelOpcUANoNodeID(name string, namespace string) *v1alpha1.DeviceModel
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.