66 " because '%s' is not a valid value",
86 const char *value = NULL;
93 crm_warn(
"Using 0 for %s because '%s' is invalid: %s",
int pcmk__health_score(const char *option, const pcmk_scheduler_t *scheduler)
bool pcmk__validate_health_strategy(const char *value)
enum pcmk__health_strategy pcmk__parse_health_strategy(const char *value)
@ pcmk__health_strategy_custom
@ pcmk__health_strategy_only_green
@ pcmk__health_strategy_progressive
@ pcmk__health_strategy_none
@ pcmk__health_strategy_no_red
#define crm_warn(fmt, args...)
#define CRM_CHECK(expr, failure_action)
#define pcmk__config_err(fmt...)
pcmk_scheduler_t * scheduler
#define PCMK_VALUE_ONLY_GREEN
#define PCMK_VALUE_CUSTOM
#define PCMK_OPT_NODE_HEALTH_STRATEGY
#define PCMK_VALUE_PROGRESSIVE
#define PCMK_VALUE_MIGRATE_ON_RED
const char * pcmk__cluster_option(GHashTable *options, const char *name)
const char * pcmk_rc_str(int rc)
Get a user-friendly description of a return code.
int pcmk_parse_score(const char *score_s, int *score, int default_score)
Parse an integer score from a string.
bool pcmk__strcase_any_of(const char *s,...) G_GNUC_NULL_TERMINATED
pcmk__scheduler_private_t * priv