pacemaker
2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
include
crm
common
health_internal.h
Go to the documentation of this file.
1
/*
2
* Copyright 2022 the Pacemaker project contributors
3
*
4
* The version control history for this file may have further details.
5
*
6
* This source code is licensed under the GNU Lesser General Public License
7
* version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
8
*/
9
10
#ifndef PCMK__CRM_COMMON_HEALTH_INTERNAL__H
11
#define PCMK__CRM_COMMON_HEALTH_INTERNAL__H
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
24
enum
pcmk__health_strategy
{
25
pcmk__health_strategy_none
,
26
pcmk__health_strategy_no_red
,
27
pcmk__health_strategy_only_green
,
28
pcmk__health_strategy_progressive
,
29
pcmk__health_strategy_custom
,
30
};
31
32
bool
pcmk__validate_health_strategy
(
const
char
*value);
33
34
enum
pcmk__health_strategy
pcmk__parse_health_strategy
(
const
char
*value);
35
36
#ifdef __cplusplus
37
}
38
#endif
39
40
#endif // PCMK__CRM_COMMON_HEALTH_INTERNAL__H
pcmk__parse_health_strategy
enum pcmk__health_strategy pcmk__parse_health_strategy(const char *value)
Definition:
health.c:41
pcmk__health_strategy_no_red
Definition:
health_internal.h:26
pcmk__health_strategy_progressive
Definition:
health_internal.h:28
pcmk__health_strategy_none
Definition:
health_internal.h:25
pcmk__health_strategy
pcmk__health_strategy
Definition:
health_internal.h:24
pcmk__health_strategy_only_green
Definition:
health_internal.h:27
pcmk__health_strategy_custom
Definition:
health_internal.h:29
pcmk__validate_health_strategy
bool pcmk__validate_health_strategy(const char *value)
Definition:
health.c:21
Generated on Wed Jun 15 2022 10:47:45 for pacemaker by
1.8.14