Public functions
- flush_cache
-
Reset the cache
- cache
-
Given
datacommand hashref, cache (and return) the relevant (filtered) command data.datais typically the decoded JSON command response. - version
-
Return the API version from
Net::FreeIPA::API::Data - retrieve
-
Retrieve the command data for command
name.(For now, the data is loaded from the
Net::FreeIPA::API::Datathat is distributed with this package and is a fixed version only).Returns the cache command hashref and undef errormessage on SUCCESS, an emptyhashref and actual errormessage otherwise. If the command is already in cache, return the cached version (and undef errormessage).
- all_command_names
-
Return all possible commandsnames sorted.
Does not update cache.