interfaces

package
v1.3.1-dev.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBClient

type DBClient interface {
	CloseSession()

	AddEvent(e model.Event) (model.Event, errors.EdgeX)
	EventById(id string) (model.Event, errors.EdgeX)
	DeleteEventById(id string) errors.EdgeX
	EventTotalCount() (uint32, errors.EdgeX)
	EventCountByDevice(deviceName string) (uint32, errors.EdgeX)
	UpdateEventPushedById(id string) errors.EdgeX
	AllEvents(offset int, limit int) ([]model.Event, errors.EdgeX)
	EventsByDeviceName(offset int, limit int, name string) ([]model.Event, errors.EdgeX)
	DeletePushedEvents() errors.EdgeX
	DeleteEventsByDeviceName(deviceName string) errors.EdgeX
	EventsByTimeRange(start int, end int, offset int, limit int) ([]model.Event, errors.EdgeX)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL