Go to the source code of this file.
|
int | pe__bundle_max (const pcmk_resource_t *rsc) |
|
pcmk_resource_t * | pe__bundled_resource (const pcmk_resource_t *rsc) |
|
const pcmk_resource_t * | pe__get_rsc_in_container (const pcmk_resource_t *instance) |
|
bool | pe__node_is_bundle_instance (const pcmk_resource_t *bundle, const pcmk_node_t *node) |
|
pcmk_resource_t * | pe__first_container (const pcmk_resource_t *bundle) |
|
void | pe__foreach_bundle_replica (pcmk_resource_t *bundle, bool(*fn)(pe__bundle_replica_t *, void *), void *user_data) |
|
void | pe__foreach_const_bundle_replica (const pcmk_resource_t *bundle, bool(*fn)(const pe__bundle_replica_t *, void *), void *user_data) |
|
bool | pe__bundle_needs_remote_name (pcmk_resource_t *rsc) |
|
const char * | pe__add_bundle_remote_name (pcmk_resource_t *rsc, pcmk_scheduler_t *scheduler, xmlNode *xml, const char *field) |
|
gboolean | pe__unpack_bundle (pcmk_resource_t *rsc, pcmk_scheduler_t *scheduler) |
|
gboolean | pe__bundle_active (pcmk_resource_t *rsc, gboolean all) |
|
pcmk_resource_t * | pe__find_bundle_replica (const pcmk_resource_t *bundle, const pcmk_node_t *node) |
|
| PCMK__OUTPUT_ARGS ("bundle", "uint32_t", "pcmk_resource_t *", "GList *", "GList *") |
|
void | pe__print_bundle (pcmk_resource_t *rsc, const char *pre_text, long options, void *print_data) |
|
void | pe__free_bundle (pcmk_resource_t *rsc) |
|
enum rsc_role_e | pe__bundle_resource_state (const pcmk_resource_t *rsc, gboolean current) |
|
int | pe_bundle_replicas (const pcmk_resource_t *rsc) |
| Get the number of configured replicas in a bundle. More...
|
|
void | pe__count_bundle (pcmk_resource_t *rsc) |
|
gboolean | pe__bundle_is_filtered (const pcmk_resource_t *rsc, GList *only_rsc, gboolean check_parent) |
|
GList * | pe__bundle_containers (const pcmk_resource_t *bundle) |
|
pcmk_node_t * | pe__bundle_active_node (const pcmk_resource_t *rsc, unsigned int *count_all, unsigned int *count_clean) |
|
unsigned int | pe__bundle_max_per_node (const pcmk_resource_t *rsc) |
|
◆ get_bundle_variant_data
#define get_bundle_variant_data |
( |
|
data, |
|
|
|
rsc |
|
) |
| |
Value: CRM_ASSERT(rsc->variant_opaque != NULL); \
struct pe__bundle_variant_data_s pe__bundle_variant_data_t
Definition at line 81 of file bundle.c.
◆ PE__CONTAINER_AGENT_DOCKER_S
#define PE__CONTAINER_AGENT_DOCKER_S "docker" |
◆ PE__CONTAINER_AGENT_PODMAN_S
#define PE__CONTAINER_AGENT_PODMAN_S "podman" |
◆ PE__CONTAINER_AGENT_RKT_S
#define PE__CONTAINER_AGENT_RKT_S "rkt" |
◆ PE__CONTAINER_AGENT_UNKNOWN_S
#define PE__CONTAINER_AGENT_UNKNOWN_S "unknown" |
◆ pe__set_bundle_mount_flags
#define pe__set_bundle_mount_flags |
( |
|
mount_xml, |
|
|
|
flags, |
|
|
|
flags_to_set |
|
) |
| |
Value:do { \
flags = pcmk__set_flags_as(__func__, __LINE__,
LOG_TRACE, \
"Bundle mount",
ID(mount_xml),
flags, \
(flags_to_set), #flags_to_set); \
} while (0)
Definition at line 977 of file bundle.c.
◆ pe__bundle_variant_data_t
◆ pe__bundle_mount_flags
Enumerator |
---|
pe__bundle_mount_none | |
pe__bundle_mount_subdir | |
Definition at line 23 of file bundle.c.
◆ pe__container_agent
Enumerator |
---|
PE__CONTAINER_AGENT_UNKNOWN | |
PE__CONTAINER_AGENT_DOCKER | |
PE__CONTAINER_AGENT_RKT | |
PE__CONTAINER_AGENT_PODMAN | |
Definition at line 42 of file bundle.c.
◆ PCMK__OUTPUT_ARGS()
PCMK__OUTPUT_ARGS |
( |
"bundle" |
, |
|
|
"uint32_t" |
, |
|
|
"pcmk_resource_t *" |
, |
|
|
"GList *" |
, |
|
|
"GList *" |
|
|
) |
| |
◆ pe__add_bundle_remote_name()
◆ pe__bundle_active()
◆ pe__bundle_active_node()
◆ pe__bundle_containers()
◆ pe__bundle_is_filtered()
gboolean pe__bundle_is_filtered |
( |
const pcmk_resource_t * |
rsc, |
|
|
GList * |
only_rsc, |
|
|
gboolean |
check_parent |
|
) |
| |
◆ pe__bundle_max()
◆ pe__bundle_max_per_node()
◆ pe__bundle_needs_remote_name()
◆ pe__bundle_resource_state()
◆ pe__bundled_resource()
◆ pe__count_bundle()
◆ pe__find_bundle_replica()
◆ pe__first_container()
◆ pe__foreach_bundle_replica()
◆ pe__foreach_const_bundle_replica()
◆ pe__free_bundle()
◆ pe__get_rsc_in_container()
◆ pe__node_is_bundle_instance()
◆ pe__print_bundle()
void pe__print_bundle |
( |
pcmk_resource_t * |
rsc, |
|
|
const char * |
pre_text, |
|
|
long |
options, |
|
|
void * |
print_data |
|
) |
| |
◆ pe__unpack_bundle()
◆ pe_bundle_replicas()
Get the number of configured replicas in a bundle.
- Parameters
-
- Returns
- Number of configured replicas, or 0 on error
Definition at line 2032 of file bundle.c.