pacemaker
3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
|
Resource object methods. More...
#include <include/crm/common/resources_internal.h>
Data Fields | |
gboolean(* | unpack )(pcmk_resource_t *rsc, pcmk_scheduler_t *scheduler) |
pcmk_resource_t *(* | find_rsc )(pcmk_resource_t *rsc, const char *search, const pcmk_node_t *node, int flags) |
char *(* | parameter )(pcmk_resource_t *rsc, pcmk_node_t *node, gboolean create, const char *name, pcmk_scheduler_t *scheduler) |
gboolean(* | active )(pcmk_resource_t *rsc, gboolean all) |
enum rsc_role_e(* | state )(const pcmk_resource_t *rsc, gboolean current) |
pcmk_node_t *(* | location )(const pcmk_resource_t *rsc, GList **list, uint32_t target) |
void(* | free )(pcmk_resource_t *rsc) |
void(* | count )(pcmk_resource_t *rsc) |
gboolean(* | is_filtered )(const pcmk_resource_t *rsc, GList *only_rsc, gboolean check_parent) |
pcmk_node_t *(* | active_node )(const pcmk_resource_t *rsc, unsigned int *count_all, unsigned int *count_clean) |
unsigned int(* | max_per_node )(const pcmk_resource_t *rsc) |
Resource object methods.
Definition at line 180 of file resources_internal.h.
gboolean(* pcmk__rsc_methods_t::active) (pcmk_resource_t *rsc, gboolean all) |
Definition at line 231 of file resources_internal.h.
pcmk_node_t*(* pcmk__rsc_methods_t::active_node) (const pcmk_resource_t *rsc, unsigned int *count_all, unsigned int *count_clean) |
Definition at line 304 of file resources_internal.h.
void(* pcmk__rsc_methods_t::count) (pcmk_resource_t *rsc) |
Definition at line 275 of file resources_internal.h.
pcmk_resource_t*(* pcmk__rsc_methods_t::find_rsc) (pcmk_resource_t *rsc, const char *search, const pcmk_node_t *node, int flags) |
Definition at line 203 of file resources_internal.h.
void(* pcmk__rsc_methods_t::free) (pcmk_resource_t *rsc) |
Definition at line 264 of file resources_internal.h.
gboolean(* pcmk__rsc_methods_t::is_filtered) (const pcmk_resource_t *rsc, GList *only_rsc, gboolean check_parent) |
Definition at line 288 of file resources_internal.h.
pcmk_node_t*(* pcmk__rsc_methods_t::location) (const pcmk_resource_t *rsc, GList **list, uint32_t target) |
Definition at line 255 of file resources_internal.h.
unsigned int(* pcmk__rsc_methods_t::max_per_node) (const pcmk_resource_t *rsc) |
Definition at line 316 of file resources_internal.h.
char*(* pcmk__rsc_methods_t::parameter) (pcmk_resource_t *rsc, pcmk_node_t *node, gboolean create, const char *name, pcmk_scheduler_t *scheduler) |
Definition at line 219 of file resources_internal.h.
enum rsc_role_e(* pcmk__rsc_methods_t::state) (const pcmk_resource_t *rsc, gboolean current) |
Definition at line 242 of file resources_internal.h.
gboolean(* pcmk__rsc_methods_t::unpack) (pcmk_resource_t *rsc, pcmk_scheduler_t *scheduler) |
Definition at line 190 of file resources_internal.h.