pacemaker  2.1.6-802a72226b
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

pe_node_t *(* assign )(pe_resource_t *rsc, const pe_node_t *prefer)
 
void(* create_actions )(pe_resource_t *rsc)
 
bool(* create_probe )(pe_resource_t *rsc, pe_node_t *node)
 
void(* internal_constraints )(pe_resource_t *rsc)
 
void(* apply_coloc_score )(pe_resource_t *dependent, const pe_resource_t *primary, const pcmk__colocation_t *colocation, bool for_dependent)
 
GList *(* colocated_resources )(const pe_resource_t *rsc, const pe_resource_t *orig_rsc, GList *colocated_rscs)
 
void(* with_this_colocations )(const pe_resource_t *rsc, const pe_resource_t *orig_rsc, GList **list)
 
void(* this_with_colocations )(const pe_resource_t *rsc, const pe_resource_t *orig_rsc, GList **list)
 
void(* add_colocated_node_scores )(pe_resource_t *rsc, const char *log_id, GHashTable **nodes, const char *attr, float factor, uint32_t flags)
 
void(* apply_location )(pe_resource_t *rsc, pe__location_t *location)
 
enum pe_action_flags(* action_flags )(pe_action_t *action, const pe_node_t *node)
 
uint32_t(* update_ordered_actions )(pe_action_t *first, pe_action_t *then, const pe_node_t *node, uint32_t flags, uint32_t filter, uint32_t type, pe_working_set_t *data_set)
 
void(* output_actions )(pe_resource_t *rsc)
 
void(* add_actions_to_graph )(pe_resource_t *rsc)
 
void(* add_graph_meta )(const pe_resource_t *rsc, xmlNode *xml)
 
void(* add_utilization )(const pe_resource_t *rsc, const pe_resource_t *orig_rsc, GList *all_rscs, GHashTable *utilization)
 
void(* shutdown_lock )(pe_resource_t *rsc)
 

Detailed Description

Definition at line 56 of file libpacemaker_private.h.

Field Documentation

◆ action_flags

enum pe_action_flags(* resource_alloc_functions_s::action_flags) (pe_action_t *action, const pe_node_t *node)

Definition at line 217 of file libpacemaker_private.h.

◆ add_actions_to_graph

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

Definition at line 256 of file libpacemaker_private.h.

◆ add_colocated_node_scores

void(* resource_alloc_functions_s::add_colocated_node_scores) (pe_resource_t *rsc, const char *log_id, GHashTable **nodes, const char *attr, float factor, uint32_t flags)

Definition at line 192 of file libpacemaker_private.h.

◆ add_graph_meta

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

Definition at line 268 of file libpacemaker_private.h.

◆ add_utilization

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

Definition at line 285 of file libpacemaker_private.h.

◆ apply_coloc_score

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

Definition at line 108 of file libpacemaker_private.h.

◆ apply_location

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

Definition at line 203 of file libpacemaker_private.h.

◆ assign

pe_node_t*(* resource_alloc_functions_s::assign) (pe_resource_t *rsc, const pe_node_t *prefer)

Definition at line 66 of file libpacemaker_private.h.

◆ colocated_resources

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

Definition at line 130 of file libpacemaker_private.h.

◆ create_actions

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

Definition at line 74 of file libpacemaker_private.h.

◆ create_probe

bool(* resource_alloc_functions_s::create_probe) (pe_resource_t *rsc, pe_node_t *node)

Definition at line 85 of file libpacemaker_private.h.

◆ internal_constraints

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

Definition at line 93 of file libpacemaker_private.h.

◆ output_actions

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

Definition at line 248 of file libpacemaker_private.h.

◆ shutdown_lock

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

Definition at line 295 of file libpacemaker_private.h.

◆ this_with_colocations

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

Definition at line 172 of file libpacemaker_private.h.

◆ update_ordered_actions

uint32_t(* resource_alloc_functions_s::update_ordered_actions) (pe_action_t *first, pe_action_t *then, const pe_node_t *node, uint32_t flags, uint32_t filter, uint32_t type, pe_working_set_t *data_set)

Definition at line 243 of file libpacemaker_private.h.

◆ with_this_colocations

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

Definition at line 151 of file libpacemaker_private.h.


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