pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
Data Fields
resource_alloc_functions_s Struct Reference

#include <lib/pacemaker/libpacemaker_private.h>

Collaboration diagram for resource_alloc_functions_s:
Collaboration graph
[legend]

Data Fields

pcmk_node_t *(* assign )(pcmk_resource_t *rsc, const pcmk_node_t *prefer, bool stop_if_fail)
 
void(* create_actions )(pcmk_resource_t *rsc)
 
bool(* create_probe )(pcmk_resource_t *rsc, pcmk_node_t *node)
 
void(* internal_constraints )(pcmk_resource_t *rsc)
 
void(* apply_coloc_score )(pcmk_resource_t *dependent, const pcmk_resource_t *primary, const pcmk__colocation_t *colocation, bool for_dependent)
 
GList *(* colocated_resources )(const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList *colocated_rscs)
 
void(* with_this_colocations )(const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList **list)
 
void(* this_with_colocations )(const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList **list)
 
void(* add_colocated_node_scores )(pcmk_resource_t *source_rsc, const pcmk_resource_t *target_rsc, const char *log_id, GHashTable **nodes, const pcmk__colocation_t *colocation, float factor, uint32_t flags)
 
void(* apply_location )(pcmk_resource_t *rsc, pe__location_t *location)
 
uint32_t(* action_flags )(pcmk_action_t *action, const pcmk_node_t *node)
 
uint32_t(* update_ordered_actions )(pcmk_action_t *first, pcmk_action_t *then, const pcmk_node_t *node, uint32_t flags, uint32_t filter, uint32_t type, pcmk_scheduler_t *scheduler)
 
void(* output_actions )(pcmk_resource_t *rsc)
 
void(* add_actions_to_graph )(pcmk_resource_t *rsc)
 
void(* add_graph_meta )(const pcmk_resource_t *rsc, xmlNode *xml)
 
void(* add_utilization )(const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList *all_rscs, GHashTable *utilization)
 
void(* shutdown_lock )(pcmk_resource_t *rsc)
 

Detailed Description

Definition at line 69 of file libpacemaker_private.h.

Field Documentation

◆ action_flags

uint32_t(* resource_alloc_functions_s::action_flags) (pcmk_action_t *action, const pcmk_node_t *node)

Definition at line 258 of file libpacemaker_private.h.

◆ add_actions_to_graph

void(* resource_alloc_functions_s::add_actions_to_graph) (pcmk_resource_t *rsc)

Definition at line 303 of file libpacemaker_private.h.

◆ add_colocated_node_scores

void(* resource_alloc_functions_s::add_colocated_node_scores) (pcmk_resource_t *source_rsc, const pcmk_resource_t *target_rsc, const char *log_id, GHashTable **nodes, const pcmk__colocation_t *colocation, float factor, uint32_t flags)

Definition at line 231 of file libpacemaker_private.h.

◆ add_graph_meta

void(* resource_alloc_functions_s::add_graph_meta) (const pcmk_resource_t *rsc, xmlNode *xml)

Definition at line 315 of file libpacemaker_private.h.

◆ add_utilization

void(* resource_alloc_functions_s::add_utilization) (const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList *all_rscs, GHashTable *utilization)

Definition at line 332 of file libpacemaker_private.h.

◆ apply_coloc_score

void(* resource_alloc_functions_s::apply_coloc_score) (pcmk_resource_t *dependent, const pcmk_resource_t *primary, const pcmk__colocation_t *colocation, bool for_dependent)

Definition at line 133 of file libpacemaker_private.h.

◆ apply_location

void(* resource_alloc_functions_s::apply_location) (pcmk_resource_t *rsc, pe__location_t *location)

Definition at line 244 of file libpacemaker_private.h.

◆ assign

pcmk_node_t*(* resource_alloc_functions_s::assign) (pcmk_resource_t *rsc, const pcmk_node_t *prefer, bool stop_if_fail)

Definition at line 90 of file libpacemaker_private.h.

◆ colocated_resources

GList*(* resource_alloc_functions_s::colocated_resources) (const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList *colocated_rscs)

Definition at line 155 of file libpacemaker_private.h.

◆ create_actions

void(* resource_alloc_functions_s::create_actions) (pcmk_resource_t *rsc)

Definition at line 99 of file libpacemaker_private.h.

◆ create_probe

bool(* resource_alloc_functions_s::create_probe) (pcmk_resource_t *rsc, pcmk_node_t *node)

Definition at line 110 of file libpacemaker_private.h.

◆ internal_constraints

void(* resource_alloc_functions_s::internal_constraints) (pcmk_resource_t *rsc)

Definition at line 118 of file libpacemaker_private.h.

◆ output_actions

void(* resource_alloc_functions_s::output_actions) (pcmk_resource_t *rsc)

Definition at line 295 of file libpacemaker_private.h.

◆ shutdown_lock

void(* resource_alloc_functions_s::shutdown_lock) (pcmk_resource_t *rsc)

Definition at line 342 of file libpacemaker_private.h.

◆ this_with_colocations

void(* resource_alloc_functions_s::this_with_colocations) (const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList **list)

Definition at line 198 of file libpacemaker_private.h.

◆ update_ordered_actions

uint32_t(* resource_alloc_functions_s::update_ordered_actions) (pcmk_action_t *first, pcmk_action_t *then, const pcmk_node_t *node, uint32_t flags, uint32_t filter, uint32_t type, pcmk_scheduler_t *scheduler)

Definition at line 283 of file libpacemaker_private.h.

◆ with_this_colocations

void(* resource_alloc_functions_s::with_this_colocations) (const pcmk_resource_t *rsc, const pcmk_resource_t *orig_rsc, GList **list)

Definition at line 176 of file libpacemaker_private.h.


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