pub struct SyncRequest {
pub deployment_id: String,
pub session: String,
pub supports_execution_claims: bool,
pub execution_claim: Option<SyncExecutionClaim>,
pub current_state: Option<DeploymentState>,
pub heartbeats: Vec<ResourceHeartbeat>,
pub observed_inventory_batches: Vec<ObservedInventoryBatch>,
pub capabilities: Vec<OperatorCapabilityReport>,
pub operator_version: Option<String>,
pub operations_report: Option<OperationsReport>,
}Expand description
Request sent by the agent to the manager during periodic sync.
Fields§
§deployment_id: StringThe deployment ID this agent is managing.
session: StringStable identity for this Operator process. Used to fence update work.
supports_execution_claims: boolSignals that this Operator persists and echoes execution claims.
execution_claim: Option<SyncExecutionClaim>Exact update claim returned by the previous sync response.
current_state: Option<DeploymentState>Current deployment state as seen by the agent.
heartbeats: Vec<ResourceHeartbeat>Managed Alien resource status samples emitted by the Operator’s deployment step.
observed_inventory_batches: Vec<ObservedInventoryBatch>Observed raw-resource inventory batches successfully read by the Operator.
capabilities: Vec<OperatorCapabilityReport>Report-only capabilities observed by the Operator.
operator_version: Option<String>Version of the Operator binary reporting this sync.
operations_report: Option<OperationsReport>Report-only summary of the operations the Operator currently has loaded. Absent means the Operator does not yet support reporting this (older Operator versions), not that it has no operations.
Trait Implementations§
Source§impl Clone for SyncRequest
impl Clone for SyncRequest
Source§fn clone(&self) -> SyncRequest
fn clone(&self) -> SyncRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more