pacemaker
2.1.0-7c3f660
Scalable High-Availability cluster resource manager
|
#include <crm_internal.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>
#include "./variant.h"
Go to the source code of this file.
Macros | |
#define | VARIANT_NATIVE 1 |
#define | PROVIDER_SEP ":" |
Functions | |
void | native_add_running (pe_resource_t *rsc, pe_node_t *node, pe_working_set_t *data_set, gboolean failed) |
gboolean | native_unpack (pe_resource_t *rsc, pe_working_set_t *data_set) |
pe_resource_t * | native_find_rsc (pe_resource_t *rsc, const char *id, const pe_node_t *on_node, int flags) |
char * | native_parameter (pe_resource_t *rsc, pe_node_t *node, gboolean create, const char *name, pe_working_set_t *data_set) |
gboolean | native_active (pe_resource_t *rsc, gboolean all) |
gchar * | pcmk__native_output_string (pe_resource_t *rsc, const char *name, pe_node_t *node, long options, const char *target_role, bool show_nodes) |
int | pe__common_output_html (pcmk__output_t *out, pe_resource_t *rsc, const char *name, pe_node_t *node, long options) |
int | pe__common_output_text (pcmk__output_t *out, pe_resource_t *rsc, const char *name, pe_node_t *node, long options) |
void | common_print (pe_resource_t *rsc, const char *pre_text, const char *name, pe_node_t *node, long options, void *print_data) |
void | native_print (pe_resource_t *rsc, const char *pre_text, long options, void *print_data) |
int | pe__resource_xml (pcmk__output_t *out, va_list args) |
int | pe__resource_html (pcmk__output_t *out, va_list args) |
int | pe__resource_text (pcmk__output_t *out, va_list args) |
void | native_free (pe_resource_t *rsc) |
enum rsc_role_e | native_resource_state (const pe_resource_t *rsc, gboolean current) |
pe_node_t * | native_location (const pe_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, long options, gboolean print_all) |
gboolean | pe__native_is_filtered (pe_resource_t *rsc, GList *only_rsc, gboolean check_parent) |
void common_print | ( | pe_resource_t * | rsc, |
const char * | pre_text, | ||
const char * | name, | ||
pe_node_t * | node, | ||
long | options, | ||
void * | print_data | ||
) |
gboolean native_active | ( | pe_resource_t * | rsc, |
gboolean | all | ||
) |
void native_add_running | ( | pe_resource_t * | rsc, |
pe_node_t * | node, | ||
pe_working_set_t * | data_set, | ||
gboolean | failed | ||
) |
pe_resource_t* native_find_rsc | ( | pe_resource_t * | rsc, |
const char * | id, | ||
const pe_node_t * | on_node, | ||
int | flags | ||
) |
void native_free | ( | pe_resource_t * | rsc | ) |
pe_node_t* native_location | ( | const pe_resource_t * | rsc, |
GList ** | list, | ||
int | current | ||
) |
char* native_parameter | ( | pe_resource_t * | rsc, |
pe_node_t * | node, | ||
gboolean | create, | ||
const char * | name, | ||
pe_working_set_t * | data_set | ||
) |
void native_print | ( | pe_resource_t * | rsc, |
const char * | pre_text, | ||
long | options, | ||
void * | print_data | ||
) |
enum rsc_role_e native_resource_state | ( | const pe_resource_t * | rsc, |
gboolean | current | ||
) |
gboolean native_unpack | ( | pe_resource_t * | rsc, |
pe_working_set_t * | data_set | ||
) |
gchar* pcmk__native_output_string | ( | pe_resource_t * | rsc, |
const char * | name, | ||
pe_node_t * | node, | ||
long | options, | ||
const char * | target_role, | ||
bool | show_nodes | ||
) |
int pe__common_output_html | ( | pcmk__output_t * | out, |
pe_resource_t * | rsc, | ||
const char * | name, | ||
pe_node_t * | node, | ||
long | options | ||
) |
int pe__common_output_text | ( | pcmk__output_t * | out, |
pe_resource_t * | rsc, | ||
const char * | name, | ||
pe_node_t * | node, | ||
long | options | ||
) |
gboolean pe__native_is_filtered | ( | pe_resource_t * | rsc, |
GList * | only_rsc, | ||
gboolean | check_parent | ||
) |
int pe__resource_html | ( | pcmk__output_t * | out, |
va_list | args | ||
) |
int pe__resource_text | ( | pcmk__output_t * | out, |
va_list | args | ||
) |
int pe__resource_xml | ( | pcmk__output_t * | out, |
va_list | args | ||
) |
int pe__rscs_brief_output | ( | pcmk__output_t * | out, |
GList * | rsc_list, | ||
long | options, | ||
gboolean | print_all | ||
) |