Documentation ¶
Index ¶
- func AddEvent(e models.Event, ctx context.Context, dic *di.Container) (id string, err errors.EdgeX)
- func AllEvents(offset int, limit int, dic *di.Container) (events []dtos.Event, err errors.EdgeX)
- func DeleteEventById(id string, dic *di.Container) errors.EdgeX
- func EventById(id string, dic *di.Container) (dtos.Event, errors.EdgeX)
- func EventCountByDevice(deviceName string, dic *di.Container) (uint32, errors.EdgeX)
- func EventTotalCount(dic *di.Container) (uint32, errors.EdgeX)
- func EventsByDeviceName(offset int, limit int, name string, dic *di.Container) (events []dtos.Event, err errors.EdgeX)
- func UpdateEventPushedById(id string, dic *di.Container) errors.EdgeX
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddEvent ¶
The AddEvent function accepts the new event model from the controller functions and invokes addEvent function in the infrastructure layer
func DeleteEventById ¶
The DeleteEventById function accepts event id from the controller functions and invokes DeleteEventById function in the infrastructure layer to remove event
func EventCountByDevice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.