Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F4511964
health_internal.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1020 B
Referenced Files
None
Subscribers
None
health_internal.h
View Options
/*
* Copyright 2022 the Pacemaker project contributors
*
* The version control history for this file may have further details.
*
* This source code is licensed under the GNU Lesser General Public License
* version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
*/
#ifndef PCMK__CRM_COMMON_HEALTH_INTERNAL__H
#define PCMK__CRM_COMMON_HEALTH_INTERNAL__H
#ifdef __cplusplus
extern "C" {
#endif
/*!
* \internal
* \brief Possible node health strategies
*
* \note It would be nice to use this in pcmk_scheduler_t but that will have to
* wait for an API backward compatibility break.
*/
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,
};
bool pcmk__validate_health_strategy(const char *value);
enum pcmk__health_strategy pcmk__parse_health_strategy(const char *value);
#ifdef __cplusplus
}
#endif
#endif // PCMK__CRM_COMMON_HEALTH_INTERNAL__H
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Wed, Jun 25, 3:24 AM (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1952004
Default Alt Text
health_internal.h (1020 B)
Attached To
Mode
rP Pacemaker
Attached
Detach File
Event Timeline
Log In to Comment