Documentation ¶
Index ¶
- type CommonClient
- func (_m *CommonClient) Configuration(ctx context.Context) (common.ConfigResponse, errors.EdgeX)
- func (_m *CommonClient) Metrics(ctx context.Context) (common.MetricsResponse, errors.EdgeX)
- func (_m *CommonClient) Ping(ctx context.Context) (common.PingResponse, errors.EdgeX)
- func (_m *CommonClient) Version(ctx context.Context) (common.VersionResponse, errors.EdgeX)
- type DeviceClient
- func (_m *DeviceClient) Add(ctx context.Context, reqs []requests.AddDeviceRequest) ([]common.BaseWithIdResponse, errors.EdgeX)
- func (_m *DeviceClient) AllDevices(ctx context.Context, labels []string, offset int, limit int) (responses.MultiDevicesResponse, errors.EdgeX)
- func (_m *DeviceClient) DeleteDeviceByName(ctx context.Context, name string) (common.BaseResponse, errors.EdgeX)
- func (_m *DeviceClient) DeviceByName(ctx context.Context, name string) (responses.DeviceResponse, errors.EdgeX)
- func (_m *DeviceClient) DeviceNameExists(ctx context.Context, name string) (common.BaseResponse, errors.EdgeX)
- func (_m *DeviceClient) DevicesByProfileName(ctx context.Context, name string, offset int, limit int) (responses.MultiDevicesResponse, errors.EdgeX)
- func (_m *DeviceClient) DevicesByServiceName(ctx context.Context, name string, offset int, limit int) (responses.MultiDevicesResponse, errors.EdgeX)
- func (_m *DeviceClient) Update(ctx context.Context, reqs []requests.UpdateDeviceRequest) ([]common.BaseResponse, errors.EdgeX)
- type DeviceProfileClient
- func (_m *DeviceProfileClient) Add(ctx context.Context, reqs []requests.DeviceProfileRequest) ([]common.BaseWithIdResponse, errors.EdgeX)
- func (_m *DeviceProfileClient) AddByYaml(ctx context.Context, yamlFilePath string) (common.BaseWithIdResponse, errors.EdgeX)
- func (_m *DeviceProfileClient) AllDeviceProfiles(ctx context.Context, labels []string, offset int, limit int) (responses.MultiDeviceProfilesResponse, errors.EdgeX)
- func (_m *DeviceProfileClient) DeleteByName(ctx context.Context, name string) (common.BaseResponse, errors.EdgeX)
- func (_m *DeviceProfileClient) DeviceProfileByName(ctx context.Context, name string) (responses.DeviceProfileResponse, errors.EdgeX)
- func (_m *DeviceProfileClient) DeviceProfilesByManufacturer(ctx context.Context, manufacturer string, offset int, limit int) (responses.MultiDeviceProfilesResponse, errors.EdgeX)
- func (_m *DeviceProfileClient) DeviceProfilesByManufacturerAndModel(ctx context.Context, manufacturer string, model string, offset int, limit int) (responses.MultiDeviceProfilesResponse, errors.EdgeX)
- func (_m *DeviceProfileClient) DeviceProfilesByModel(ctx context.Context, model string, offset int, limit int) (responses.MultiDeviceProfilesResponse, errors.EdgeX)
- func (_m *DeviceProfileClient) Update(ctx context.Context, reqs []requests.DeviceProfileRequest) ([]common.BaseResponse, errors.EdgeX)
- func (_m *DeviceProfileClient) UpdateByYaml(ctx context.Context, yamlFilePath string) (common.BaseResponse, errors.EdgeX)
- type DeviceServiceCallbackClient
- func (_m *DeviceServiceCallbackClient) AddDeviceCallback(ctx context.Context, request requests.AddDeviceRequest) (common.BaseResponse, errors.EdgeX)
- func (_m *DeviceServiceCallbackClient) AddProvisionWatcherCallback(ctx context.Context, request requests.AddProvisionWatcherRequest) (common.BaseResponse, errors.EdgeX)
- func (_m *DeviceServiceCallbackClient) DeleteDeviceCallback(ctx context.Context, name string) (common.BaseResponse, errors.EdgeX)
- func (_m *DeviceServiceCallbackClient) DeleteProvisionWatcherCallback(ctx context.Context, name string) (common.BaseResponse, errors.EdgeX)
- func (_m *DeviceServiceCallbackClient) UpdateDeviceCallback(ctx context.Context, request requests.UpdateDeviceRequest) (common.BaseResponse, errors.EdgeX)
- func (_m *DeviceServiceCallbackClient) UpdateDeviceProfileCallback(ctx context.Context, request requests.DeviceProfileRequest) (common.BaseResponse, errors.EdgeX)
- func (_m *DeviceServiceCallbackClient) UpdateDeviceServiceCallback(ctx context.Context, request requests.UpdateDeviceServiceRequest) (common.BaseResponse, errors.EdgeX)
- func (_m *DeviceServiceCallbackClient) UpdateProvisionWatcherCallback(ctx context.Context, request requests.UpdateProvisionWatcherRequest) (common.BaseResponse, errors.EdgeX)
- type DeviceServiceClient
- func (_m *DeviceServiceClient) Add(ctx context.Context, reqs []requests.AddDeviceServiceRequest) ([]common.BaseWithIdResponse, errors.EdgeX)
- func (_m *DeviceServiceClient) AllDeviceServices(ctx context.Context, labels []string, offset int, limit int) (responses.MultiDeviceServicesResponse, errors.EdgeX)
- func (_m *DeviceServiceClient) DeleteByName(ctx context.Context, name string) (common.BaseResponse, errors.EdgeX)
- func (_m *DeviceServiceClient) DeviceServiceByName(ctx context.Context, name string) (responses.DeviceServiceResponse, errors.EdgeX)
- func (_m *DeviceServiceClient) Update(ctx context.Context, reqs []requests.UpdateDeviceServiceRequest) ([]common.BaseResponse, errors.EdgeX)
- type DeviceServiceCommandClient
- func (_m *DeviceServiceCommandClient) GetCommand(ctx context.Context, baseUrl string, deviceName string, commandName string, ...) (responses.EventResponse, errors.EdgeX)
- func (_m *DeviceServiceCommandClient) SetCommand(ctx context.Context, baseUrl string, deviceName string, commandName string, ...) (common.BaseResponse, errors.EdgeX)
- type EventClient
- func (_m *EventClient) Add(ctx context.Context, req requests.AddEventRequest) (common.BaseWithIdResponse, errors.EdgeX)
- func (_m *EventClient) AllEvents(ctx context.Context, offset int, limit int) (responses.MultiEventsResponse, errors.EdgeX)
- func (_m *EventClient) DeleteByAge(ctx context.Context, age int) (common.BaseResponse, errors.EdgeX)
- func (_m *EventClient) DeleteByDeviceName(ctx context.Context, name string) (common.BaseResponse, errors.EdgeX)
- func (_m *EventClient) EventCount(ctx context.Context) (common.CountResponse, errors.EdgeX)
- func (_m *EventClient) EventCountByDeviceName(ctx context.Context, name string) (common.CountResponse, errors.EdgeX)
- func (_m *EventClient) EventsByDeviceName(ctx context.Context, name string, offset int, limit int) (responses.MultiEventsResponse, errors.EdgeX)
- func (_m *EventClient) EventsByTimeRange(ctx context.Context, start int, end int, offset int, limit int) (responses.MultiEventsResponse, errors.EdgeX)
- type ProvisionWatcherClient
- func (_m *ProvisionWatcherClient) Add(ctx context.Context, reqs []requests.AddProvisionWatcherRequest) ([]common.BaseWithIdResponse, errors.EdgeX)
- func (_m *ProvisionWatcherClient) AllProvisionWatchers(ctx context.Context, labels []string, offset int, limit int) (responses.MultiProvisionWatchersResponse, errors.EdgeX)
- func (_m *ProvisionWatcherClient) DeleteProvisionWatcherByName(ctx context.Context, name string) (common.BaseResponse, errors.EdgeX)
- func (_m *ProvisionWatcherClient) ProvisionWatcherByName(ctx context.Context, name string) (responses.ProvisionWatcherResponse, errors.EdgeX)
- func (_m *ProvisionWatcherClient) ProvisionWatchersByProfileName(ctx context.Context, name string, offset int, limit int) (responses.MultiProvisionWatchersResponse, errors.EdgeX)
- func (_m *ProvisionWatcherClient) ProvisionWatchersByServiceName(ctx context.Context, name string, offset int, limit int) (responses.MultiProvisionWatchersResponse, errors.EdgeX)
- func (_m *ProvisionWatcherClient) Update(ctx context.Context, reqs []requests.UpdateProvisionWatcherRequest) ([]common.BaseResponse, errors.EdgeX)
- type ReadingClient
- func (_m *ReadingClient) AllReadings(ctx context.Context, offset int, limit int) (responses.MultiReadingsResponse, errors.EdgeX)
- func (_m *ReadingClient) ReadingCount(ctx context.Context) (common.CountResponse, errors.EdgeX)
- func (_m *ReadingClient) ReadingCountByDeviceName(ctx context.Context, name string) (common.CountResponse, errors.EdgeX)
- func (_m *ReadingClient) ReadingsByDeviceName(ctx context.Context, name string, offset int, limit int) (responses.MultiReadingsResponse, errors.EdgeX)
- func (_m *ReadingClient) ReadingsByResourceName(ctx context.Context, name string, offset int, limit int) (responses.MultiReadingsResponse, errors.EdgeX)
- func (_m *ReadingClient) ReadingsByTimeRange(ctx context.Context, start int, end int, offset int, limit int) (responses.MultiReadingsResponse, errors.EdgeX)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonClient ¶
CommonClient is an autogenerated mock type for the CommonClient type
func (*CommonClient) Configuration ¶
func (_m *CommonClient) Configuration(ctx context.Context) (common.ConfigResponse, errors.EdgeX)
Configuration provides a mock function with given fields: ctx
func (*CommonClient) Metrics ¶
func (_m *CommonClient) Metrics(ctx context.Context) (common.MetricsResponse, errors.EdgeX)
Metrics provides a mock function with given fields: ctx
func (*CommonClient) Ping ¶
func (_m *CommonClient) Ping(ctx context.Context) (common.PingResponse, errors.EdgeX)
Ping provides a mock function with given fields: ctx
func (*CommonClient) Version ¶
func (_m *CommonClient) Version(ctx context.Context) (common.VersionResponse, errors.EdgeX)
Version provides a mock function with given fields: ctx
type DeviceClient ¶
DeviceClient is an autogenerated mock type for the DeviceClient type
func (*DeviceClient) Add ¶
func (_m *DeviceClient) Add(ctx context.Context, reqs []requests.AddDeviceRequest) ([]common.BaseWithIdResponse, errors.EdgeX)
Add provides a mock function with given fields: ctx, reqs
func (*DeviceClient) AllDevices ¶
func (_m *DeviceClient) AllDevices(ctx context.Context, labels []string, offset int, limit int) (responses.MultiDevicesResponse, errors.EdgeX)
AllDevices provides a mock function with given fields: ctx, labels, offset, limit
func (*DeviceClient) DeleteDeviceByName ¶
func (_m *DeviceClient) DeleteDeviceByName(ctx context.Context, name string) (common.BaseResponse, errors.EdgeX)
DeleteDeviceByName provides a mock function with given fields: ctx, name
func (*DeviceClient) DeviceByName ¶
func (_m *DeviceClient) DeviceByName(ctx context.Context, name string) (responses.DeviceResponse, errors.EdgeX)
DeviceByName provides a mock function with given fields: ctx, name
func (*DeviceClient) DeviceNameExists ¶
func (_m *DeviceClient) DeviceNameExists(ctx context.Context, name string) (common.BaseResponse, errors.EdgeX)
DeviceNameExists provides a mock function with given fields: ctx, name
func (*DeviceClient) DevicesByProfileName ¶
func (_m *DeviceClient) DevicesByProfileName(ctx context.Context, name string, offset int, limit int) (responses.MultiDevicesResponse, errors.EdgeX)
DevicesByProfileName provides a mock function with given fields: ctx, name, offset, limit
func (*DeviceClient) DevicesByServiceName ¶
func (_m *DeviceClient) DevicesByServiceName(ctx context.Context, name string, offset int, limit int) (responses.MultiDevicesResponse, errors.EdgeX)
DevicesByServiceName provides a mock function with given fields: ctx, name, offset, limit
func (*DeviceClient) Update ¶
func (_m *DeviceClient) Update(ctx context.Context, reqs []requests.UpdateDeviceRequest) ([]common.BaseResponse, errors.EdgeX)
Update provides a mock function with given fields: ctx, reqs
type DeviceProfileClient ¶
DeviceProfileClient is an autogenerated mock type for the DeviceProfileClient type
func (*DeviceProfileClient) Add ¶
func (_m *DeviceProfileClient) Add(ctx context.Context, reqs []requests.DeviceProfileRequest) ([]common.BaseWithIdResponse, errors.EdgeX)
Add provides a mock function with given fields: ctx, reqs
func (*DeviceProfileClient) AddByYaml ¶
func (_m *DeviceProfileClient) AddByYaml(ctx context.Context, yamlFilePath string) (common.BaseWithIdResponse, errors.EdgeX)
AddByYaml provides a mock function with given fields: ctx, yamlFilePath
func (*DeviceProfileClient) AllDeviceProfiles ¶
func (_m *DeviceProfileClient) AllDeviceProfiles(ctx context.Context, labels []string, offset int, limit int) (responses.MultiDeviceProfilesResponse, errors.EdgeX)
AllDeviceProfiles provides a mock function with given fields: ctx, labels, offset, limit
func (*DeviceProfileClient) DeleteByName ¶
func (_m *DeviceProfileClient) DeleteByName(ctx context.Context, name string) (common.BaseResponse, errors.EdgeX)
DeleteByName provides a mock function with given fields: ctx, name
func (*DeviceProfileClient) DeviceProfileByName ¶
func (_m *DeviceProfileClient) DeviceProfileByName(ctx context.Context, name string) (responses.DeviceProfileResponse, errors.EdgeX)
DeviceProfileByName provides a mock function with given fields: ctx, name
func (*DeviceProfileClient) DeviceProfilesByManufacturer ¶
func (_m *DeviceProfileClient) DeviceProfilesByManufacturer(ctx context.Context, manufacturer string, offset int, limit int) (responses.MultiDeviceProfilesResponse, errors.EdgeX)
DeviceProfilesByManufacturer provides a mock function with given fields: ctx, manufacturer, offset, limit
func (*DeviceProfileClient) DeviceProfilesByManufacturerAndModel ¶
func (_m *DeviceProfileClient) DeviceProfilesByManufacturerAndModel(ctx context.Context, manufacturer string, model string, offset int, limit int) (responses.MultiDeviceProfilesResponse, errors.EdgeX)
DeviceProfilesByManufacturerAndModel provides a mock function with given fields: ctx, manufacturer, model, offset, limit
func (*DeviceProfileClient) DeviceProfilesByModel ¶
func (_m *DeviceProfileClient) DeviceProfilesByModel(ctx context.Context, model string, offset int, limit int) (responses.MultiDeviceProfilesResponse, errors.EdgeX)
DeviceProfilesByModel provides a mock function with given fields: ctx, model, offset, limit
func (*DeviceProfileClient) Update ¶
func (_m *DeviceProfileClient) Update(ctx context.Context, reqs []requests.DeviceProfileRequest) ([]common.BaseResponse, errors.EdgeX)
Update provides a mock function with given fields: ctx, reqs
func (*DeviceProfileClient) UpdateByYaml ¶
func (_m *DeviceProfileClient) UpdateByYaml(ctx context.Context, yamlFilePath string) (common.BaseResponse, errors.EdgeX)
UpdateByYaml provides a mock function with given fields: ctx, yamlFilePath
type DeviceServiceCallbackClient ¶
DeviceServiceCallbackClient is an autogenerated mock type for the DeviceServiceCallbackClient type
func (*DeviceServiceCallbackClient) AddDeviceCallback ¶
func (_m *DeviceServiceCallbackClient) AddDeviceCallback(ctx context.Context, request requests.AddDeviceRequest) (common.BaseResponse, errors.EdgeX)
AddDeviceCallback provides a mock function with given fields: ctx, request
func (*DeviceServiceCallbackClient) AddProvisionWatcherCallback ¶
func (_m *DeviceServiceCallbackClient) AddProvisionWatcherCallback(ctx context.Context, request requests.AddProvisionWatcherRequest) (common.BaseResponse, errors.EdgeX)
AddProvisionWatcherCallback provides a mock function with given fields: ctx, request
func (*DeviceServiceCallbackClient) DeleteDeviceCallback ¶
func (_m *DeviceServiceCallbackClient) DeleteDeviceCallback(ctx context.Context, name string) (common.BaseResponse, errors.EdgeX)
DeleteDeviceCallback provides a mock function with given fields: ctx, name
func (*DeviceServiceCallbackClient) DeleteProvisionWatcherCallback ¶
func (_m *DeviceServiceCallbackClient) DeleteProvisionWatcherCallback(ctx context.Context, name string) (common.BaseResponse, errors.EdgeX)
DeleteProvisionWatcherCallback provides a mock function with given fields: ctx, name
func (*DeviceServiceCallbackClient) UpdateDeviceCallback ¶
func (_m *DeviceServiceCallbackClient) UpdateDeviceCallback(ctx context.Context, request requests.UpdateDeviceRequest) (common.BaseResponse, errors.EdgeX)
UpdateDeviceCallback provides a mock function with given fields: ctx, request
func (*DeviceServiceCallbackClient) UpdateDeviceProfileCallback ¶
func (_m *DeviceServiceCallbackClient) UpdateDeviceProfileCallback(ctx context.Context, request requests.DeviceProfileRequest) (common.BaseResponse, errors.EdgeX)
UpdateDeviceProfileCallback provides a mock function with given fields: ctx, request
func (*DeviceServiceCallbackClient) UpdateDeviceServiceCallback ¶
func (_m *DeviceServiceCallbackClient) UpdateDeviceServiceCallback(ctx context.Context, request requests.UpdateDeviceServiceRequest) (common.BaseResponse, errors.EdgeX)
UpdateDeviceServiceCallback provides a mock function with given fields: ctx, request
func (*DeviceServiceCallbackClient) UpdateProvisionWatcherCallback ¶
func (_m *DeviceServiceCallbackClient) UpdateProvisionWatcherCallback(ctx context.Context, request requests.UpdateProvisionWatcherRequest) (common.BaseResponse, errors.EdgeX)
UpdateProvisionWatcherCallback provides a mock function with given fields: ctx, request
type DeviceServiceClient ¶
DeviceServiceClient is an autogenerated mock type for the DeviceServiceClient type
func (*DeviceServiceClient) Add ¶
func (_m *DeviceServiceClient) Add(ctx context.Context, reqs []requests.AddDeviceServiceRequest) ([]common.BaseWithIdResponse, errors.EdgeX)
Add provides a mock function with given fields: ctx, reqs
func (*DeviceServiceClient) AllDeviceServices ¶
func (_m *DeviceServiceClient) AllDeviceServices(ctx context.Context, labels []string, offset int, limit int) (responses.MultiDeviceServicesResponse, errors.EdgeX)
AllDeviceServices provides a mock function with given fields: ctx, labels, offset, limit
func (*DeviceServiceClient) DeleteByName ¶
func (_m *DeviceServiceClient) DeleteByName(ctx context.Context, name string) (common.BaseResponse, errors.EdgeX)
DeleteByName provides a mock function with given fields: ctx, name
func (*DeviceServiceClient) DeviceServiceByName ¶
func (_m *DeviceServiceClient) DeviceServiceByName(ctx context.Context, name string) (responses.DeviceServiceResponse, errors.EdgeX)
DeviceServiceByName provides a mock function with given fields: ctx, name
func (*DeviceServiceClient) Update ¶
func (_m *DeviceServiceClient) Update(ctx context.Context, reqs []requests.UpdateDeviceServiceRequest) ([]common.BaseResponse, errors.EdgeX)
Update provides a mock function with given fields: ctx, reqs
type DeviceServiceCommandClient ¶
DeviceServiceCommandClient is an autogenerated mock type for the DeviceServiceCommandClient type
func (*DeviceServiceCommandClient) GetCommand ¶
func (_m *DeviceServiceCommandClient) GetCommand(ctx context.Context, baseUrl string, deviceName string, commandName string, queryParams string) (responses.EventResponse, errors.EdgeX)
GetCommand provides a mock function with given fields: ctx, baseUrl, deviceName, commandName, queryParams
func (*DeviceServiceCommandClient) SetCommand ¶
func (_m *DeviceServiceCommandClient) SetCommand(ctx context.Context, baseUrl string, deviceName string, commandName string, queryParams string, settings map[string]string) (common.BaseResponse, errors.EdgeX)
SetCommand provides a mock function with given fields: ctx, baseUrl, deviceName, commandName, queryParams, settings
type EventClient ¶
EventClient is an autogenerated mock type for the EventClient type
func (*EventClient) Add ¶
func (_m *EventClient) Add(ctx context.Context, req requests.AddEventRequest) (common.BaseWithIdResponse, errors.EdgeX)
Add provides a mock function with given fields: ctx, req
func (*EventClient) AllEvents ¶
func (_m *EventClient) AllEvents(ctx context.Context, offset int, limit int) (responses.MultiEventsResponse, errors.EdgeX)
AllEvents provides a mock function with given fields: ctx, offset, limit
func (*EventClient) DeleteByAge ¶
func (_m *EventClient) DeleteByAge(ctx context.Context, age int) (common.BaseResponse, errors.EdgeX)
DeleteByAge provides a mock function with given fields: ctx, age
func (*EventClient) DeleteByDeviceName ¶
func (_m *EventClient) DeleteByDeviceName(ctx context.Context, name string) (common.BaseResponse, errors.EdgeX)
DeleteByDeviceName provides a mock function with given fields: ctx, name
func (*EventClient) EventCount ¶
func (_m *EventClient) EventCount(ctx context.Context) (common.CountResponse, errors.EdgeX)
EventCount provides a mock function with given fields: ctx
func (*EventClient) EventCountByDeviceName ¶
func (_m *EventClient) EventCountByDeviceName(ctx context.Context, name string) (common.CountResponse, errors.EdgeX)
EventCountByDeviceName provides a mock function with given fields: ctx, name
func (*EventClient) EventsByDeviceName ¶
func (_m *EventClient) EventsByDeviceName(ctx context.Context, name string, offset int, limit int) (responses.MultiEventsResponse, errors.EdgeX)
EventsByDeviceName provides a mock function with given fields: ctx, name, offset, limit
func (*EventClient) EventsByTimeRange ¶
func (_m *EventClient) EventsByTimeRange(ctx context.Context, start int, end int, offset int, limit int) (responses.MultiEventsResponse, errors.EdgeX)
EventsByTimeRange provides a mock function with given fields: ctx, start, end, offset, limit
type ProvisionWatcherClient ¶
ProvisionWatcherClient is an autogenerated mock type for the ProvisionWatcherClient type
func (*ProvisionWatcherClient) Add ¶
func (_m *ProvisionWatcherClient) Add(ctx context.Context, reqs []requests.AddProvisionWatcherRequest) ([]common.BaseWithIdResponse, errors.EdgeX)
Add provides a mock function with given fields: ctx, reqs
func (*ProvisionWatcherClient) AllProvisionWatchers ¶
func (_m *ProvisionWatcherClient) AllProvisionWatchers(ctx context.Context, labels []string, offset int, limit int) (responses.MultiProvisionWatchersResponse, errors.EdgeX)
AllProvisionWatchers provides a mock function with given fields: ctx, labels, offset, limit
func (*ProvisionWatcherClient) DeleteProvisionWatcherByName ¶
func (_m *ProvisionWatcherClient) DeleteProvisionWatcherByName(ctx context.Context, name string) (common.BaseResponse, errors.EdgeX)
DeleteProvisionWatcherByName provides a mock function with given fields: ctx, name
func (*ProvisionWatcherClient) ProvisionWatcherByName ¶
func (_m *ProvisionWatcherClient) ProvisionWatcherByName(ctx context.Context, name string) (responses.ProvisionWatcherResponse, errors.EdgeX)
ProvisionWatcherByName provides a mock function with given fields: ctx, name
func (*ProvisionWatcherClient) ProvisionWatchersByProfileName ¶
func (_m *ProvisionWatcherClient) ProvisionWatchersByProfileName(ctx context.Context, name string, offset int, limit int) (responses.MultiProvisionWatchersResponse, errors.EdgeX)
ProvisionWatchersByProfileName provides a mock function with given fields: ctx, name, offset, limit
func (*ProvisionWatcherClient) ProvisionWatchersByServiceName ¶
func (_m *ProvisionWatcherClient) ProvisionWatchersByServiceName(ctx context.Context, name string, offset int, limit int) (responses.MultiProvisionWatchersResponse, errors.EdgeX)
ProvisionWatchersByServiceName provides a mock function with given fields: ctx, name, offset, limit
func (*ProvisionWatcherClient) Update ¶
func (_m *ProvisionWatcherClient) Update(ctx context.Context, reqs []requests.UpdateProvisionWatcherRequest) ([]common.BaseResponse, errors.EdgeX)
Update provides a mock function with given fields: ctx, reqs
type ReadingClient ¶
ReadingClient is an autogenerated mock type for the ReadingClient type
func (*ReadingClient) AllReadings ¶
func (_m *ReadingClient) AllReadings(ctx context.Context, offset int, limit int) (responses.MultiReadingsResponse, errors.EdgeX)
AllReadings provides a mock function with given fields: ctx, offset, limit
func (*ReadingClient) ReadingCount ¶
func (_m *ReadingClient) ReadingCount(ctx context.Context) (common.CountResponse, errors.EdgeX)
ReadingCount provides a mock function with given fields: ctx
func (*ReadingClient) ReadingCountByDeviceName ¶
func (_m *ReadingClient) ReadingCountByDeviceName(ctx context.Context, name string) (common.CountResponse, errors.EdgeX)
ReadingCountByDeviceName provides a mock function with given fields: ctx, name
func (*ReadingClient) ReadingsByDeviceName ¶
func (_m *ReadingClient) ReadingsByDeviceName(ctx context.Context, name string, offset int, limit int) (responses.MultiReadingsResponse, errors.EdgeX)
ReadingsByDeviceName provides a mock function with given fields: ctx, name, offset, limit
func (*ReadingClient) ReadingsByResourceName ¶
func (_m *ReadingClient) ReadingsByResourceName(ctx context.Context, name string, offset int, limit int) (responses.MultiReadingsResponse, errors.EdgeX)
ReadingsByResourceName provides a mock function with given fields: ctx, name, offset, limit
func (*ReadingClient) ReadingsByTimeRange ¶
func (_m *ReadingClient) ReadingsByTimeRange(ctx context.Context, start int, end int, offset int, limit int) (responses.MultiReadingsResponse, errors.EdgeX)
ReadingsByTimeRange provides a mock function with given fields: ctx, start, end, offset, limit