pacemaker
2.1.5-b7adf64e51
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <crm/cib/internal.h>
#include <crm/common/output.h>
#include <crm/common/results.h>
#include <crm/fencing/internal.h>
#include <crm/stonith-ng.h>
#include <pacemaker.h>
#include <pacemaker-internal.h>
Go to the source code of this file.
Functions | |
int | pcmk__output_cluster_status (pcmk__output_t *out, stonith_t *stonith, cib_t *cib, xmlNode *current_cib, enum pcmk__fence_history fence_history, uint32_t show, uint32_t show_opts, const char *only_node, const char *only_rsc, const char *neg_location_prefix, bool simple_output) |
int | pcmk_status (xmlNodePtr *xml) |
Output the current status of the cluster, formatted in the same way that crm_mon --output-as=xml would. More... | |
int | pcmk__status (pcmk__output_t *out, cib_t *cib, enum pcmk__fence_history fence_history, uint32_t show, uint32_t show_opts, const char *only_node, const char *only_rsc, const char *neg_location_prefix, bool simple_output, guint timeout_ms) |
int | pcmk__output_simple_status (pcmk__output_t *out, pe_working_set_t *data_set) |
int pcmk__output_cluster_status | ( | pcmk__output_t * | out, |
stonith_t * | stonith, | ||
cib_t * | cib, | ||
xmlNode * | current_cib, | ||
enum pcmk__fence_history | fence_history, | ||
uint32_t | show, | ||
uint32_t | show_opts, | ||
const char * | only_node, | ||
const char * | only_rsc, | ||
const char * | neg_location_prefix, | ||
bool | simple_output | ||
) |
Definition at line 100 of file pcmk_status.c.
int pcmk__output_simple_status | ( | pcmk__output_t * | out, |
pe_working_set_t * | data_set | ||
) |
Definition at line 318 of file pcmk_status.c.
int pcmk__status | ( | pcmk__output_t * | out, |
cib_t * | cib, | ||
enum pcmk__fence_history | fence_history, | ||
uint32_t | show, | ||
uint32_t | show_opts, | ||
const char * | only_node, | ||
const char * | only_rsc, | ||
const char * | neg_location_prefix, | ||
bool | simple_output, | ||
guint | timeout_ms | ||
) |
Definition at line 238 of file pcmk_status.c.
int pcmk_status | ( | xmlNodePtr * | xml | ) |
Output the current status of the cluster, formatted in the same way that crm_mon --output-as=xml
would.
[in,out] | xml | The destination for the result, as an XML tree. |
Definition at line 170 of file pcmk_status.c.