Data used to evaluate a rule (any NULL items are ignored)
More...
#include <include/crm/common/rules.h>
|
| const crm_time_t * | now |
| | Current time for rule evaluation purposes.
|
| |
| const char * | rsc_standard |
| | Resource standard that rule applies to.
|
| |
| const char * | rsc_provider |
| | Resource provider that rule applies to.
|
| |
| const char * | rsc_agent |
| | Resource agent that rule applies to.
|
| |
| const char * | op_name |
| | Operation name that rule applies to.
|
| |
| guint | op_interval_ms |
| | Operation interval that rule applies to.
|
| |
| GHashTable * | node_attrs |
| |
| GHashTable * | rsc_params |
| |
| GHashTable * | rsc_meta |
| |
| const char * | rsc_id |
| | Resource ID to compare against a location constraint's resource pattern.
|
| |
| const regmatch_t * | rsc_id_submatches |
| | Resource pattern submatches (as set by regexec()) for rsc_id.
|
| |
| int | rsc_id_nmatches |
| | Number of entries in rsc_id_submatches.
|
| |
Data used to evaluate a rule (any NULL items are ignored)
Definition at line 57 of file rules.h.
◆ node_attrs
| GHashTable* pcmk_rule_input::node_attrs |
Node attributes for rule evaluation purposes
- Note
- Though not const, this is used only with g_hash_table_lookup().
Definition at line 77 of file rules.h.
◆ now
Current time for rule evaluation purposes.
Definition at line 59 of file rules.h.
◆ op_interval_ms
| guint pcmk_rule_input::op_interval_ms |
Operation interval that rule applies to.
Definition at line 68 of file rules.h.
◆ op_name
| const char* pcmk_rule_input::op_name |
Operation name that rule applies to.
Definition at line 67 of file rules.h.
◆ rsc_agent
| const char* pcmk_rule_input::rsc_agent |
Resource agent that rule applies to.
Definition at line 64 of file rules.h.
◆ rsc_id
| const char* pcmk_rule_input::rsc_id |
Resource ID to compare against a location constraint's resource pattern.
Definition at line 96 of file rules.h.
◆ rsc_id_nmatches
| int pcmk_rule_input::rsc_id_nmatches |
Number of entries in rsc_id_submatches.
Definition at line 102 of file rules.h.
◆ rsc_id_submatches
| const regmatch_t* pcmk_rule_input::rsc_id_submatches |
Resource pattern submatches (as set by regexec()) for rsc_id.
Definition at line 99 of file rules.h.
◆ rsc_meta
| GHashTable* pcmk_rule_input::rsc_meta |
Resource meta-attributes that can be used as the reference value source
- Note
- Though not const, this is used only with g_hash_table_lookup().
Definition at line 93 of file rules.h.
◆ rsc_params
| GHashTable* pcmk_rule_input::rsc_params |
Resource parameters that can be used as the reference value source
- Note
- Though not const, this is used only with g_hash_table_lookup().
Definition at line 86 of file rules.h.
◆ rsc_provider
| const char* pcmk_rule_input::rsc_provider |
Resource provider that rule applies to.
Definition at line 63 of file rules.h.
◆ rsc_standard
| const char* pcmk_rule_input::rsc_standard |
Resource standard that rule applies to.
Definition at line 62 of file rules.h.
The documentation for this struct was generated from the following file: