Documentation ¶
Index ¶
Constants ¶
View Source
const ( Refreshing deviceState = iota Ready Error )
Variables ¶
View Source
var ErrDeviceNotFound error = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device interface { ID() string Environment() string IsActive() bool Latitude() float64 Longitude() float64 SensorType() string Source() string Tenant() string Types() []string }
you need to modify the generated ../test/device_mock.go import "github.com/diwise/iot-device-mgmt/pkg/client" change "var _ Device = &DeviceMock{}" to "var _ client.Device = &DeviceMock{}"
type DeviceManagementClient ¶
Click to show internal directories.
Click to hide internal directories.