pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
Data Fields
resource_alloc_functions_s Struct Reference

#include <include/pcmki/pcmki_sched_allocate.h>

Collaboration diagram for resource_alloc_functions_s:
Collaboration graph
[legend]

Data Fields

GHashTable *(* merge_weights )(pe_resource_t *, const char *, GHashTable *, const char *, float, enum pe_weights)
 
pe_node_t *(* allocate )(pe_resource_t *, pe_node_t *, pe_working_set_t *)
 
void(* create_actions )(pe_resource_t *, pe_working_set_t *)
 
gboolean(* create_probe )(pe_resource_t *, pe_node_t *, pe_action_t *, gboolean, pe_working_set_t *)
 
void(* internal_constraints )(pe_resource_t *, pe_working_set_t *)
 
void(* rsc_colocation_lh )(pe_resource_t *, pe_resource_t *, pcmk__colocation_t *, pe_working_set_t *)
 
void(* rsc_colocation_rh )(pe_resource_t *, pe_resource_t *, pcmk__colocation_t *, pe_working_set_t *)
 
GList *(* colocated_resources )(pe_resource_t *rsc, pe_resource_t *orig_rsc, GList *colocated_rscs)
 
void(* rsc_location )(pe_resource_t *, pe__location_t *)
 
enum pe_action_flags(* action_flags )(pe_action_t *, pe_node_t *)
 
enum pe_graph_flags(* update_actions )(pe_action_t *, pe_action_t *, pe_node_t *, enum pe_action_flags, enum pe_action_flags, enum pe_ordering, pe_working_set_t *data_set)
 
void(* output_actions )(pe_resource_t *rsc)
 
void(* expand )(pe_resource_t *, pe_working_set_t *)
 
void(* append_meta )(pe_resource_t *rsc, xmlNode *xml)
 
void(* add_utilization )(pe_resource_t *rsc, pe_resource_t *orig_rsc, GList *all_rscs, GHashTable *utilization)
 
void(* shutdown_lock )(pe_resource_t *rsc)
 

Detailed Description

Definition at line 22 of file pcmki_sched_allocate.h.

Field Documentation

◆ action_flags

enum pe_action_flags(* resource_alloc_functions_s::action_flags) (pe_action_t *, pe_node_t *)

Definition at line 57 of file pcmki_sched_allocate.h.

◆ add_utilization

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

Definition at line 83 of file pcmki_sched_allocate.h.

◆ allocate

pe_node_t*(* resource_alloc_functions_s::allocate) (pe_resource_t *, pe_node_t *, pe_working_set_t *)

Definition at line 25 of file pcmki_sched_allocate.h.

◆ append_meta

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

Definition at line 66 of file pcmki_sched_allocate.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 52 of file pcmki_sched_allocate.h.

◆ create_actions

void(* resource_alloc_functions_s::create_actions) (pe_resource_t *, pe_working_set_t *)

Definition at line 26 of file pcmki_sched_allocate.h.

◆ create_probe

gboolean(* resource_alloc_functions_s::create_probe) (pe_resource_t *, pe_node_t *, pe_action_t *, gboolean, pe_working_set_t *)

Definition at line 27 of file pcmki_sched_allocate.h.

◆ expand

void(* resource_alloc_functions_s::expand) (pe_resource_t *, pe_working_set_t *)

Definition at line 65 of file pcmki_sched_allocate.h.

◆ internal_constraints

void(* resource_alloc_functions_s::internal_constraints) (pe_resource_t *, pe_working_set_t *)

Definition at line 28 of file pcmki_sched_allocate.h.

◆ merge_weights

GHashTable*(* resource_alloc_functions_s::merge_weights) (pe_resource_t *, const char *, GHashTable *, const char *, float, enum pe_weights)

Definition at line 23 of file pcmki_sched_allocate.h.

◆ output_actions

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

Definition at line 63 of file pcmki_sched_allocate.h.

◆ rsc_colocation_lh

void(* resource_alloc_functions_s::rsc_colocation_lh) (pe_resource_t *, pe_resource_t *, pcmk__colocation_t *, pe_working_set_t *)

Definition at line 30 of file pcmki_sched_allocate.h.

◆ rsc_colocation_rh

void(* resource_alloc_functions_s::rsc_colocation_rh) (pe_resource_t *, pe_resource_t *, pcmk__colocation_t *, pe_working_set_t *)

Definition at line 32 of file pcmki_sched_allocate.h.

◆ rsc_location

void(* resource_alloc_functions_s::rsc_location) (pe_resource_t *, pe__location_t *)

Definition at line 55 of file pcmki_sched_allocate.h.

◆ shutdown_lock

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

Definition at line 92 of file pcmki_sched_allocate.h.

◆ update_actions

enum pe_graph_flags(* resource_alloc_functions_s::update_actions) (pe_action_t *, pe_action_t *, pe_node_t *, enum pe_action_flags, enum pe_action_flags, enum pe_ordering, pe_working_set_t *data_set)

Definition at line 58 of file pcmki_sched_allocate.h.


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