Public functions

flush_cache

Reset the cache

cache

Given data command hashref, cache and return the relevant (filtered) command data.

If api_service is defined, store the data as the service API_DATA.

retrieve

Retrieve the command data for service service, name name and version version.

Returns the tuple with cache command hashref and undef errormessage on SUCCESS, an emptyhashref and actual errormessage otherwise. If the command is already in cache, returns the cached version (and undef errormessage).