pacemaker  2.1.5-b7adf64e51
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 )(pe_resource_t *rsc, pe_resource_t *orig_rsc, GList *colocated_rscs)
 
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 )(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 154 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 192 of file libpacemaker_private.h.

◆ add_graph_meta

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

Definition at line 204 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 221 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 140 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) (pe_resource_t *rsc, 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 184 of file libpacemaker_private.h.

◆ shutdown_lock

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

Definition at line 231 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 179 of file libpacemaker_private.h.


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