pacemaker  2.1.1-52dc28db4
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 *)
 
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(* expand )(pe_resource_t *, pe_working_set_t *)
 
void(* append_meta )(pe_resource_t *rsc, xmlNode *xml)
 

Detailed Description

Definition at line 20 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 35 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 23 of file pcmki_sched_allocate.h.

◆ append_meta

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

Definition at line 43 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 24 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 25 of file pcmki_sched_allocate.h.

◆ expand

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

Definition at line 42 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 26 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 21 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 28 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 30 of file pcmki_sched_allocate.h.

◆ rsc_location

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

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


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