![]()  | 
  
    pacemaker
    3.0.0-d8340737c4
    
   Scalable High-Availability cluster resource manager 
   | 
 
Object for executing external actions. More...
#include <include/crm/services.h>

Data Fields | |
| char * | id | 
| char * | rsc | 
| XML ID of resource being executed for resource actions, otherwise NULL.  More... | |
| char * | action | 
| Name of action being executed for resource actions, otherwise NULL.  More... | |
| guint | interval_ms | 
| Action interval for recurring resource actions, otherwise 0.  More... | |
| char * | standard | 
| Resource standard for resource actions, otherwise NULL.  More... | |
| char * | provider | 
| Resource provider for resource actions that require it, otherwise NULL.  More... | |
| char * | agent | 
| Resource agent name for resource actions, otherwise NULL.  More... | |
| int | timeout | 
| Action timeout (in milliseconds)  More... | |
| GHashTable * | params | 
| int | rc | 
| Exit status of action (set by library upon completion)  More... | |
| int | status | 
| Execution status (enum pcmk_exec_status set by library)  More... | |
| int | sequence | 
| enum svc_action_flags | flags | 
| Flag group of enum svc_action_flags.  More... | |
| char * | stderr_data | 
| Action stderr (set by library)  More... | |
| char * | stdout_data | 
| Action stdout (set by library)  More... | |
| void * | cb_data | 
| For caller's use (not used by library)  More... | |
| svc_action_private_t * | opaque | 
| This field should be treated as internal to Pacemaker.  More... | |
| int | pid | 
| int | cancel | 
| int | expected_rc | 
| int | synchronous | 
Object for executing external actions.
Definition at line 99 of file services.h.
| char* svc_action_s::action | 
Name of action being executed for resource actions, otherwise NULL.
Definition at line 109 of file services.h.
| char* svc_action_s::agent | 
Resource agent name for resource actions, otherwise NULL.
Definition at line 121 of file services.h.
| int svc_action_s::cancel | 
This field should be treated as internal to Pacemaker
Definition at line 137 of file services.h.
| void* svc_action_s::cb_data | 
For caller's use (not used by library)
Definition at line 156 of file services.h.
| int svc_action_s::expected_rc | 
This field should be treated as internal to Pacemaker
Definition at line 149 of file services.h.
| enum svc_action_flags svc_action_s::flags | 
Flag group of enum svc_action_flags.
Definition at line 153 of file services.h.
| char* svc_action_s::id | 
Operation key (<resource>_<action>_<interval>) for resource actions, XML ID for alert actions, or NULL for generic actions
Definition at line 103 of file services.h.
| guint svc_action_s::interval_ms | 
Action interval for recurring resource actions, otherwise 0.
Definition at line 112 of file services.h.
| svc_action_private_t* svc_action_s::opaque | 
This field should be treated as internal to Pacemaker.
Definition at line 159 of file services.h.
| GHashTable* svc_action_s::params | 
A hash table of name/value pairs to use as parameters for resource and alert actions, otherwise NULL. These will be used to set environment variables for non-fencing resource agents and alert agents, and to send stdin to fence agents.
Definition at line 130 of file services.h.
| int svc_action_s::pid | 
This field should be treated as internal to Pacemaker
Definition at line 136 of file services.h.
| char* svc_action_s::provider | 
Resource provider for resource actions that require it, otherwise NULL.
Definition at line 118 of file services.h.
| int svc_action_s::rc | 
Exit status of action (set by library upon completion)
Definition at line 132 of file services.h.
| char* svc_action_s::rsc | 
XML ID of resource being executed for resource actions, otherwise NULL.
Definition at line 106 of file services.h.
| int svc_action_s::sequence | 
Action counter (set by library for resource actions, or by caller otherwise)
Definition at line 145 of file services.h.
| char* svc_action_s::standard | 
Resource standard for resource actions, otherwise NULL.
Definition at line 115 of file services.h.
| int svc_action_s::status | 
Execution status (enum pcmk_exec_status set by library)
Definition at line 140 of file services.h.
| char* svc_action_s::stderr_data | 
Action stderr (set by library)
Definition at line 154 of file services.h.
| char* svc_action_s::stdout_data | 
Action stdout (set by library)
Definition at line 155 of file services.h.
| int svc_action_s::synchronous | 
This field should be treated as internal to Pacemaker
Definition at line 150 of file services.h.
| int svc_action_s::timeout | 
Action timeout (in milliseconds)
Definition at line 123 of file services.h.
 1.8.14