application

package
v1.2.2-dev.52 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDeviceProfile

func AddDeviceProfile(d models.DeviceProfile, ctx context.Context, dic *di.Container) (id string, err errors.EdgeX)

The AddDeviceProfile function accepts the new device profile model from the controller functions and invokes addDeviceProfile function in the infrastructure layer

func AddDeviceService

func AddDeviceService(d models.DeviceService, ctx context.Context, dic *di.Container) (id string, err errors.EdgeX)

The AddDeviceService function accepts the new device service model from the controller function and then invokes AddDeviceService function of infrastructure layer to add new device service

func GetDeviceProfileByName

func GetDeviceProfileByName(name string, ctx context.Context, dic *di.Container) (deviceProfile dtos.DeviceProfile, err errors.EdgeX)

GetDeviceProfileByName query the device profile by name

func UpdateDeviceProfile

func UpdateDeviceProfile(d models.DeviceProfile, ctx context.Context, dic *di.Container) (err errors.EdgeX)

The UpdateDeviceProfile function accepts the device profile model from the controller functions and invokes updateDeviceProfile function in the infrastructure layer

Types

This section is empty.

Jump to

Keyboard shortcuts

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