pacemaker
3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
|
Scheduler API for resource roles. More...
Go to the source code of this file.
Macros | |
#define | PCMK_ROLE_STOPPED "Stopped" |
#define | PCMK_ROLE_STARTED "Started" |
#define | PCMK_ROLE_UNPROMOTED "Unpromoted" |
#define | PCMK_ROLE_PROMOTED "Promoted" |
Enumerations | |
enum | rsc_role_e { pcmk_role_unknown = 0, pcmk_role_stopped = 1, pcmk_role_started = 2, pcmk_role_unpromoted = 3, pcmk_role_promoted = 4 } |
Functions | |
const char * | pcmk_role_text (enum rsc_role_e role) |
Get readable description of a resource role. More... | |
enum rsc_role_e | pcmk_parse_role (const char *role) |
Parse a resource role from a string role specification. More... | |
Scheduler API for resource roles.
Definition in file roles.h.
enum rsc_role_e |
enum rsc_role_e pcmk_parse_role | ( | const char * | role | ) |
const char* pcmk_role_text | ( | enum rsc_role_e | role | ) |