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 batch update on.
For the regular agent (one service = one host) this is validated against its own machine_id. For the SSH agent this routes to the correct remote host.
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExecuteBatchUpdatePayload
impl Debug for ExecuteBatchUpdatePayload
Source§impl<'de> Deserialize<'de> for ExecuteBatchUpdatePayload
impl<'de> Deserialize<'de> for ExecuteBatchUpdatePayload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for ExecuteBatchUpdatePayload
impl StructuralPartialEq for ExecuteBatchUpdatePayload
Source§impl WireValidate for ExecuteBatchUpdatePayload
impl WireValidate for ExecuteBatchUpdatePayload
Source§fn wire_validate(&self) -> Result<(), WireValidationError>
fn wire_validate(&self) -> Result<(), WireValidationError>
Auto Trait Implementations§
impl Freeze for ExecuteBatchUpdatePayload
impl RefUnwindSafe for ExecuteBatchUpdatePayload
impl Send for ExecuteBatchUpdatePayload
impl Sync for ExecuteBatchUpdatePayload
impl Unpin for ExecuteBatchUpdatePayload
impl UnsafeUnpin for ExecuteBatchUpdatePayload
impl UnwindSafe for ExecuteBatchUpdatePayload
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.