pacemaker  3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
Data Fields
pcmk__rsc_methods_t Struct Reference

Resource object methods. More...

#include <include/crm/common/resources_internal.h>

Collaboration diagram for pcmk__rsc_methods_t:
Collaboration graph
[legend]

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)
 

Detailed Description

Resource object methods.

Definition at line 180 of file resources_internal.h.

Field Documentation

◆ active

gboolean(* pcmk__rsc_methods_t::active) (pcmk_resource_t *rsc, gboolean all)

Definition at line 231 of file resources_internal.h.

◆ active_node

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.

◆ count

void(* pcmk__rsc_methods_t::count) (pcmk_resource_t *rsc)

Definition at line 275 of file resources_internal.h.

◆ find_rsc

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.

◆ free

void(* pcmk__rsc_methods_t::free) (pcmk_resource_t *rsc)

Definition at line 264 of file resources_internal.h.

◆ is_filtered

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.

◆ location

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.

◆ max_per_node

unsigned int(* pcmk__rsc_methods_t::max_per_node) (const pcmk_resource_t *rsc)

Definition at line 316 of file resources_internal.h.

◆ parameter

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.

◆ state

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.

◆ unpack

gboolean(* pcmk__rsc_methods_t::unpack) (pcmk_resource_t *rsc, pcmk_scheduler_t *scheduler)

Definition at line 190 of file resources_internal.h.


The documentation for this struct was generated from the following file: