pacemaker
3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
|
Scheduler API for resources. More...
#include <stdbool.h>
#include <sys/types.h>
#include <libxml/tree.h>
#include <glib.h>
#include <crm/common/roles.h>
#include <crm/common/scheduler_types.h>
Go to the source code of this file.
Data Structures | |
struct | pcmk__resource |
Typedefs | |
typedef struct pcmk__resource_private | pcmk__resource_private_t |
Enumerations | |
enum | pe_find { pcmk_rsc_match_history = (1 << 0), pcmk_rsc_match_anon_basename = (1 << 1), pcmk_rsc_match_clone_only = (1 << 2), pcmk_rsc_match_current_node = (1 << 3), pcmk_rsc_match_basename = (1 << 5) } |
Search options for resources (exact resource ID always matches) More... | |
Functions | |
const char * | pcmk_resource_id (const pcmk_resource_t *rsc) |
bool | pcmk_resource_is_managed (const pcmk_resource_t *rsc) |
Scheduler API for resources.
Definition in file resources.h.
typedef struct pcmk__resource_private pcmk__resource_private_t |
Definition at line 50 of file resources.h.
enum pe_find |
Search options for resources (exact resource ID always matches)
Definition at line 32 of file resources.h.
const char* pcmk_resource_id | ( | const pcmk_resource_t * | rsc | ) |
Definition at line 27 of file resources.c.
bool pcmk_resource_is_managed | ( | const pcmk_resource_t * | rsc | ) |
Definition at line 41 of file resources.c.