pub struct ExecuteBatchUpdatePayload {
pub host_machine_id: String,
pub batch_id: Uuid,
pub plugin_type: PluginTypeId,
pub plugin_config: Value,
pub updates: Vec<BatchUpdateItem>,
pub pre_update_hook_plugins: Vec<PluginAssignment>,
pub post_update_hook_plugins: Vec<PluginAssignment>,
pub timeout: Duration,
pub interactive: bool,
}Expand description
Controller → Agent: execute a batch update of software items.
Groups multiple items under a single plugin type so the agent can
run a single bulk command (e.g., apt-get upgrade, brew upgrade).
Fields§
§host_machine_id: StringThe machine_id of the host to run the update on.
batch_id: UuidUnique identifier for this batch operation.
plugin_type: PluginTypeIdPlugin type for all items in this batch.
plugin_config: ValueMerged plugin configuration.
updates: Vec<BatchUpdateItem>Individual items to update.
pre_update_hook_plugins: Vec<PluginAssignment>Pre-update hook plugins to execute before the batch, ordered by priority.
post_update_hook_plugins: Vec<PluginAssignment>Post-update hook plugins to execute after the batch, ordered by priority.
timeout: DurationTimeout for the entire batch operation.
Wire field name: timeout_seconds (kept for backward compatibility).
interactive: boolWhen true, the agent allocates a PTY and keeps stdin open for forwarding.
Requires the agent to advertise the InteractiveUpdates capability.
Defaults to false for backward compatibility with older agents.
Trait Implementations§
Source§impl Clone for ExecuteBatchUpdatePayload
impl Clone for ExecuteBatchUpdatePayload
Source§fn clone(&self) -> ExecuteBatchUpdatePayload
fn clone(&self) -> ExecuteBatchUpdatePayload
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more