GetHandlers(node_name_pattern,
instance_name_pattern,
group_name_pattern,
network_name_pattern,
job_id_pattern,
disk_pattern,
query_res_pattern,
translate=None)
| source code
|
Returns all supported resources and their handlers.
node_name_pattern and the other *_pattern
parameters are wrapped in UriPattern and, if used in a URI, passed to the function
specified using translate . translate receives
1..N parameters which are either plain strings or instances of UriPattern and returns a dictionary key suitable for the
caller of GetHandlers . The default implementation in _CompileHandlerPath returns a compiled
regular expression in which each pattern is a group.
- Returns: dict
|