pacemaker
2.1.8-3980678f03
Scalable High-Availability cluster resource manager
include
crm
common
failcounts_internal.h
Go to the documentation of this file.
1
/*
2
* Copyright 2004-2024 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_FAILCOUNTS_INTERNAL__H
11
#define PCMK__CRM_COMMON_FAILCOUNTS_INTERNAL__H
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
17
// Options when getting resource fail counts
18
enum
pcmk__fc_flags
{
19
pcmk__fc_default
= (1 << 0),
20
pcmk__fc_effective
= (1 << 1),
// Don't count expired failures
21
pcmk__fc_fillers
= (1 << 2),
// If container, include filler failures
22
};
23
29
enum
pcmk__rsc_node
{
30
pcmk__rsc_node_assigned
= 0,
31
pcmk__rsc_node_current
= 1,
32
33
// @COMPAT: Use in native_location() at a compatibility break
34
pcmk__rsc_node_pending
= 2,
35
};
36
37
#ifdef __cplusplus
38
}
39
#endif
40
41
#endif // PCMK__CRM_COMMON_FAILCOUNTS_INTERNAL__H
pcmk__rsc_node_pending
Where resource is pending.
Definition:
failcounts_internal.h:34
pcmk__rsc_node_assigned
Where resource is assigned.
Definition:
failcounts_internal.h:30
pcmk__fc_effective
Definition:
failcounts_internal.h:20
pcmk__rsc_node
pcmk__rsc_node
Definition:
failcounts_internal.h:29
pcmk__fc_flags
pcmk__fc_flags
Definition:
failcounts_internal.h:18
pcmk__fc_default
Definition:
failcounts_internal.h:19
pcmk__fc_fillers
Definition:
failcounts_internal.h:21
pcmk__rsc_node_current
Where resource is running.
Definition:
failcounts_internal.h:31
Generated on Thu Aug 8 2024 18:08:10 for pacemaker by
1.8.14