Public functions
- flush_cache
-
Reset the cache
- cache
-
Given
data
command hashref, cache (and return) the relevant (filtered) command data.data
is 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::Data
that 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.