package
0.0.0-20221214063709-de2618e4f4a4
Repository: https://github.com/intel/rsp-sw-toolkit-im-suite-inventory-service.git
Documentation: pkg.go.dev

# Functions

ExecuteSensorCommand makes an HTTP GET call to the EdgeX core command service to execute a specified command on a given RSP sensor.
FindRSP searches DB for RSP based on the device_id value Returns the RSP if found or empty RSP if it does not exist.
GetOrCreateRSP returns a pointer to an RSP if found in the DB, and if not found in the DB, a record will be created and added, then returned to the caller error is only non-nil when there is an issue communicating with the DB.
No description provided by the author
No description provided by the author
QueryBasicInfo makes a call to the EdgeX command service to request the RSP-Controller to return us more information about a given RSP sensor.
QueryBasicInfoAllSensors retrieves the list of deviceIds from the RSP Controller and then queries the basic info for each one.
Upsert takes a pointer to an rsp config and either adds it to the DB if it is new, or updates its values if it is existing.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Type aliases

No description provided by the author