Documentation ¶
Index ¶
- type DeviceStatusClient
- func (_m *DeviceStatusClient) AllDeviceStatus(ctx context.Context, offset int, limit int) (responses.MultiDeviceStatusResponse, errors.EdgeX)
- func (_m *DeviceStatusClient) DeviceStatusByName(ctx context.Context, name string) (responses.DeviceStatusResponse, errors.EdgeX)
- func (_m *DeviceStatusClient) Update(ctx context.Context, req requests.UpdateDeviceStatusRequest) (common.BaseResponse, errors.EdgeX)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceStatusClient ¶
DeviceStatusClient is an autogenerated mock type for the DeviceStatusClient type
func NewDeviceStatusClient ¶
func NewDeviceStatusClient(t mockConstructorTestingTNewDeviceStatusClient) *DeviceStatusClient
NewDeviceStatusClient creates a new instance of DeviceStatusClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DeviceStatusClient) AllDeviceStatus ¶
func (_m *DeviceStatusClient) AllDeviceStatus(ctx context.Context, offset int, limit int) (responses.MultiDeviceStatusResponse, errors.EdgeX)
AllDeviceStatus provides a mock function with given fields: ctx, offset, limit
func (*DeviceStatusClient) DeviceStatusByName ¶
func (_m *DeviceStatusClient) DeviceStatusByName(ctx context.Context, name string) (responses.DeviceStatusResponse, errors.EdgeX)
DeviceStatusByName provides a mock function with given fields: ctx, name
func (*DeviceStatusClient) Update ¶
func (_m *DeviceStatusClient) Update(ctx context.Context, req requests.UpdateDeviceStatusRequest) (common.BaseResponse, errors.EdgeX)
Update provides a mock function with given fields: ctx, req
Click to show internal directories.
Click to hide internal directories.