Documentation ¶
Index ¶
- Constants
- func NewDeviceStatusClient(baseUrl string) interfaces.DeviceStatusClient
- type DeviceStatusClient
- func (sc DeviceStatusClient) AllDeviceStatus(ctx context.Context, offset int, limit int) (res responses.MultiDeviceStatusResponse, err errors.EdgeX)
- func (sc DeviceStatusClient) DeviceStatusByName(ctx context.Context, name string) (res responses.DeviceStatusResponse, err errors.EdgeX)
- func (sc DeviceStatusClient) Update(ctx context.Context, req requests.UpdateDeviceStatusRequest) (res dtoCommon.BaseResponse, err errors.EdgeX)
Constants ¶
View Source
const ( ApiDeviceStatusRoute = common.ApiBase + "/devicestatus" ApiAllDeviceStatusRoute = ApiDeviceStatusRoute + "/" + common.All ApiDeviceStatusByNameRoute = ApiDeviceStatusRoute + "/" + common.Name + "/{" + common.Name + "}" )
Variables ¶
This section is empty.
Functions ¶
func NewDeviceStatusClient ¶
func NewDeviceStatusClient(baseUrl string) interfaces.DeviceStatusClient
NewDeviceStatusClient creates an instance of DeviceStatusClient
Types ¶
type DeviceStatusClient ¶
type DeviceStatusClient struct {
// contains filtered or unexported fields
}
func (DeviceStatusClient) AllDeviceStatus ¶
func (sc DeviceStatusClient) AllDeviceStatus(ctx context.Context, offset int, limit int) (res responses.MultiDeviceStatusResponse, err errors.EdgeX)
func (DeviceStatusClient) DeviceStatusByName ¶
func (sc DeviceStatusClient) DeviceStatusByName(ctx context.Context, name string) (res responses.DeviceStatusResponse, err errors.EdgeX)
func (DeviceStatusClient) Update ¶
func (sc DeviceStatusClient) Update(ctx context.Context, req requests.UpdateDeviceStatusRequest) (res dtoCommon.BaseResponse, err errors.EdgeX)
Click to show internal directories.
Click to hide internal directories.