pacemaker
2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <stdint.h>
#include <crm/common/output.h>
#include <crm/pengine/rules.h>
#include <crm/pengine/status.h>
#include <crm/pengine/complex.h>
#include <crm/pengine/internal.h>
#include <crm/msg_xml.h>
#include <pe_status_private.h>
Go to the source code of this file.
Macros | |
#define | PROVIDER_SEP ":" |
Functions | |
void | native_add_running (pcmk_resource_t *rsc, pcmk_node_t *node, pcmk_scheduler_t *scheduler, gboolean failed) |
gboolean | native_unpack (pcmk_resource_t *rsc, pcmk_scheduler_t *scheduler) |
pcmk_resource_t * | native_find_rsc (pcmk_resource_t *rsc, const char *id, const pcmk_node_t *on_node, int flags) |
char * | native_parameter (pcmk_resource_t *rsc, pcmk_node_t *node, gboolean create, const char *name, pcmk_scheduler_t *scheduler) |
gboolean | native_active (pcmk_resource_t *rsc, gboolean all) |
gchar * | pcmk__native_output_string (const pcmk_resource_t *rsc, const char *name, const pcmk_node_t *node, uint32_t show_opts, const char *target_role, bool show_nodes) |
int | pe__common_output_html (pcmk__output_t *out, const pcmk_resource_t *rsc, const char *name, const pcmk_node_t *node, uint32_t show_opts) |
int | pe__common_output_text (pcmk__output_t *out, const pcmk_resource_t *rsc, const char *name, const pcmk_node_t *node, uint32_t show_opts) |
void | common_print (pcmk_resource_t *rsc, const char *pre_text, const char *name, const pcmk_node_t *node, long options, void *print_data) |
void | native_print (pcmk_resource_t *rsc, const char *pre_text, long options, void *print_data) |
PCMK__OUTPUT_ARGS ("primitive", "uint32_t", "pcmk_resource_t *", "GList *", "GList *") | |
void | native_free (pcmk_resource_t *rsc) |
enum rsc_role_e | native_resource_state (const pcmk_resource_t *rsc, gboolean current) |
pcmk_node_t * | native_location (const pcmk_resource_t *rsc, GList **list, int current) |
void | print_rscs_brief (GList *rsc_list, const char *pre_text, long options, void *print_data, gboolean print_all) |
int | pe__rscs_brief_output (pcmk__output_t *out, GList *rsc_list, uint32_t show_opts) |
gboolean | pe__native_is_filtered (const pcmk_resource_t *rsc, GList *only_rsc, gboolean check_parent) |
unsigned int | pe__primitive_max_per_node (const pcmk_resource_t *rsc) |
void common_print | ( | pcmk_resource_t * | rsc, |
const char * | pre_text, | ||
const char * | name, | ||
const pcmk_node_t * | node, | ||
long | options, | ||
void * | print_data | ||
) |
gboolean native_active | ( | pcmk_resource_t * | rsc, |
gboolean | all | ||
) |
void native_add_running | ( | pcmk_resource_t * | rsc, |
pcmk_node_t * | node, | ||
pcmk_scheduler_t * | scheduler, | ||
gboolean | failed | ||
) |
pcmk_resource_t* native_find_rsc | ( | pcmk_resource_t * | rsc, |
const char * | id, | ||
const pcmk_node_t * | on_node, | ||
int | flags | ||
) |
void native_free | ( | pcmk_resource_t * | rsc | ) |
pcmk_node_t* native_location | ( | const pcmk_resource_t * | rsc, |
GList ** | list, | ||
int | current | ||
) |
char* native_parameter | ( | pcmk_resource_t * | rsc, |
pcmk_node_t * | node, | ||
gboolean | create, | ||
const char * | name, | ||
pcmk_scheduler_t * | scheduler | ||
) |
void native_print | ( | pcmk_resource_t * | rsc, |
const char * | pre_text, | ||
long | options, | ||
void * | print_data | ||
) |
enum rsc_role_e native_resource_state | ( | const pcmk_resource_t * | rsc, |
gboolean | current | ||
) |
gboolean native_unpack | ( | pcmk_resource_t * | rsc, |
pcmk_scheduler_t * | scheduler | ||
) |
gchar* pcmk__native_output_string | ( | const pcmk_resource_t * | rsc, |
const char * | name, | ||
const pcmk_node_t * | node, | ||
uint32_t | show_opts, | ||
const char * | target_role, | ||
bool | show_nodes | ||
) |
PCMK__OUTPUT_ARGS | ( | "primitive" | , |
"uint32_t" | , | ||
"pcmk_resource_t *" | , | ||
"GList *" | , | ||
"GList *" | |||
) |
int pe__common_output_html | ( | pcmk__output_t * | out, |
const pcmk_resource_t * | rsc, | ||
const char * | name, | ||
const pcmk_node_t * | node, | ||
uint32_t | show_opts | ||
) |
int pe__common_output_text | ( | pcmk__output_t * | out, |
const pcmk_resource_t * | rsc, | ||
const char * | name, | ||
const pcmk_node_t * | node, | ||
uint32_t | show_opts | ||
) |
gboolean pe__native_is_filtered | ( | const pcmk_resource_t * | rsc, |
GList * | only_rsc, | ||
gboolean | check_parent | ||
) |
unsigned int pe__primitive_max_per_node | ( | const pcmk_resource_t * | rsc | ) |
int pe__rscs_brief_output | ( | pcmk__output_t * | out, |
GList * | rsc_list, | ||
uint32_t | show_opts | ||
) |
void print_rscs_brief | ( | GList * | rsc_list, |
const char * | pre_text, | ||
long | options, | ||
void * | print_data, | ||
gboolean | print_all | ||
) |