pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
health_internal.h File Reference
#include <stdbool.h>
#include <crm/common/scheduler_types.h>
Include dependency graph for health_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  pcmk__health_strategy {
  pcmk__health_strategy_none , pcmk__health_strategy_no_red , pcmk__health_strategy_only_green , pcmk__health_strategy_progressive ,
  pcmk__health_strategy_custom
}
 

Functions

bool pcmk__validate_health_strategy (const char *value)
 
enum pcmk__health_strategy pcmk__parse_health_strategy (const char *value)
 
int pcmk__health_score (const char *option, const pcmk_scheduler_t *scheduler)
 

Enumeration Type Documentation

◆ pcmk__health_strategy

Enumerator
pcmk__health_strategy_none 
pcmk__health_strategy_no_red 
pcmk__health_strategy_only_green 
pcmk__health_strategy_progressive 
pcmk__health_strategy_custom 

Definition at line 28 of file health_internal.h.

Function Documentation

◆ pcmk__health_score()

int pcmk__health_score ( const char * option,
const pcmk_scheduler_t * scheduler )

Definition at line 82 of file health.c.

◆ pcmk__parse_health_strategy()

enum pcmk__health_strategy pcmk__parse_health_strategy ( const char * value)

Definition at line 46 of file health.c.

◆ pcmk__validate_health_strategy()

bool pcmk__validate_health_strategy ( const char * value)

Definition at line 26 of file health.c.