Documentation ¶
Index ¶
- func NewCommandClient(messageBus messaging.MessageClient, baseTopic string, timeout time.Duration) interfaces.CommandClient
- type CommandClient
- func (c *CommandClient) AllDeviceCoreCommands(_ context.Context, offset int, limit int) (responses.MultiDeviceCoreCommandsResponse, edgexErr.EdgeX)
- func (c *CommandClient) DeviceCoreCommandsByDeviceName(_ context.Context, deviceName string) (responses.DeviceCoreCommandResponse, edgexErr.EdgeX)
- func (c *CommandClient) IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, ...) (*responses.EventResponse, edgexErr.EdgeX)
- func (c *CommandClient) IssueGetCommandByNameWithQueryParams(_ context.Context, deviceName string, commandName string, ...) (*responses.EventResponse, edgexErr.EdgeX)
- func (c *CommandClient) IssueSetCommandByName(_ context.Context, deviceName string, commandName string, ...) (commonDTO.BaseResponse, edgexErr.EdgeX)
- func (c *CommandClient) IssueSetCommandByNameWithObject(_ context.Context, deviceName string, commandName string, ...) (commonDTO.BaseResponse, edgexErr.EdgeX)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommandClient ¶
func NewCommandClient(messageBus messaging.MessageClient, baseTopic string, timeout time.Duration) interfaces.CommandClient
Types ¶
type CommandClient ¶
type CommandClient struct {
// contains filtered or unexported fields
}
func (*CommandClient) AllDeviceCoreCommands ¶
func (c *CommandClient) AllDeviceCoreCommands(_ context.Context, offset int, limit int) (responses.MultiDeviceCoreCommandsResponse, edgexErr.EdgeX)
func (*CommandClient) DeviceCoreCommandsByDeviceName ¶
func (c *CommandClient) DeviceCoreCommandsByDeviceName(_ context.Context, deviceName string) (responses.DeviceCoreCommandResponse, edgexErr.EdgeX)
func (*CommandClient) IssueGetCommandByName ¶
func (*CommandClient) IssueGetCommandByNameWithQueryParams ¶
func (*CommandClient) IssueSetCommandByName ¶
Click to show internal directories.
Click to hide internal directories.