Go to the source code of this file.
|
void | populate_hash (xmlNode *nvpair_list, GHashTable *hash, const char **attrs, int attrs_length) |
|
void | get_meta_attributes (GHashTable *meta_hash, pcmk_resource_t *rsc, pcmk_node_t *node, pcmk_scheduler_t *scheduler) |
|
void | get_rsc_attributes (GHashTable *meta_hash, const pcmk_resource_t *rsc, const pcmk_node_t *node, pcmk_scheduler_t *scheduler) |
|
GHashTable * | pe_rsc_params (pcmk_resource_t *rsc, const pcmk_node_t *node, pcmk_scheduler_t *scheduler) |
| Get a table of resource parameters. More...
|
|
int | pe__unpack_resource (xmlNode *xml_obj, pcmk_resource_t **rsc, pcmk_resource_t *parent, pcmk_scheduler_t *scheduler) |
|
gboolean | is_parent (pcmk_resource_t *child, pcmk_resource_t *rsc) |
|
pcmk_resource_t * | uber_parent (pcmk_resource_t *rsc) |
|
const pcmk_resource_t * | pe__const_top_resource (const pcmk_resource_t *rsc, bool include_bundle) |
|
void | common_free (pcmk_resource_t *rsc) |
|
bool | pe__count_active_node (const pcmk_resource_t *rsc, pcmk_node_t *node, pcmk_node_t **active, unsigned int *count_all, unsigned int *count_clean) |
|
pcmk_node_t * | pe__find_active_requires (const pcmk_resource_t *rsc, unsigned int *count) |
|
void | pe__count_common (pcmk_resource_t *rsc) |
|
void | pe__set_next_role (pcmk_resource_t *rsc, enum rsc_role_e role, const char *why) |
|
◆ common_free()
◆ get_meta_attributes()
◆ get_rsc_attributes()
◆ is_parent()
◆ pe__const_top_resource()
◆ pe__count_active_node()
◆ pe__count_common()
◆ pe__find_active_requires()
◆ pe__set_next_role()
◆ pe__unpack_resource()
◆ pe_rsc_params()
Get a table of resource parameters.
- Parameters
-
[in,out] | rsc | Resource to query |
[in] | node | Node for evaluating rules (NULL for defaults) |
[in,out] | scheduler | Scheduler data |
- Returns
- Hash table containing resource parameter names and values (or NULL if
rsc
or scheduler
is NULL)
- Note
- The returned table will be destroyed when the resource is freed, so callers should not destroy it.
Definition at line 446 of file complex.c.
◆ populate_hash()
void populate_hash |
( |
xmlNode * |
nvpair_list, |
|
|
GHashTable * |
hash, |
|
|
const char ** |
attrs, |
|
|
int |
attrs_length |
|
) |
| |
◆ uber_parent()
◆ resource_class_functions