10 #ifndef PCMK__CRM_COMMON_RESOURCES__H 11 #define PCMK__CRM_COMMON_RESOURCES__H 14 #include <sys/types.h> 15 #include <libxml/tree.h> 80 #endif // PCMK__CRM_COMMON_RESOURCES__H Also match anonymous clone instances by base name.
Type aliases needed to define scheduler objects.
pe_find
Search options for resources (exact resource ID always matches)
Match only clones and their instances, by either clone or instance ID.
bool pcmk_resource_is_managed(const pcmk_resource_t *rsc)
Also match clone instance ID from resource history.
Scheduler API for resource roles.
pcmk__resource_private_t * priv
Match clone instances (even unique) by base name as well as exact ID.
const char * pcmk_resource_id(const pcmk_resource_t *rsc)
If matching by node, compare current node instead of assigned node.