pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Functions
resources.c File Reference
#include <crm_internal.h>
#include <stdio.h>
#include <stdbool.h>
#include <crm/common/scheduler.h>
#include <crm/common/scheduler_internal.h>
Include dependency graph for resources.c:

Go to the source code of this file.

Functions

const char * pcmk_resource_id (const pcmk_resource_t *rsc)
 
bool pcmk_resource_is_managed (const pcmk_resource_t *rsc)
 
const char * pcmk__multiply_active_text (enum rsc_recovery_type recovery)
 Get readable description of a multiply-active recovery type. More...
 

Function Documentation

◆ pcmk__multiply_active_text()

const char* pcmk__multiply_active_text ( enum rsc_recovery_type  recovery)

Get readable description of a multiply-active recovery type.

Parameters
[in]recoveryRecovery type
Returns
Static string describing recovery

Definition at line 54 of file resources.c.

◆ pcmk_resource_id()

const char* pcmk_resource_id ( const pcmk_resource_t rsc)

Definition at line 27 of file resources.c.

◆ pcmk_resource_is_managed()

bool pcmk_resource_is_managed ( const pcmk_resource_t rsc)

Definition at line 41 of file resources.c.