Page MenuHomeClusterLabs Projects

health_internal.h
No OneTemporary

health_internal.h

/*
* 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

Mime Type
text/x-c
Expires
Wed, Jun 25, 3:24 AM (21 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1952004
Default Alt Text
health_internal.h (1020 B)

Event Timeline