pub struct AgentSyncWireRequest {
pub capabilities: Vec<OperatorCapabilityReport>,
pub current_state: Option<Value>,
pub deployment_id: String,
pub execution_claim: Option<ExecutionClaim>,
pub observed_inventory_batches: Vec<ObservedInventoryBatch>,
pub operations_report: Option<OperationsReport>,
pub operator_image: Option<OperatorImageReport>,
pub operator_version: Option<String>,
pub resource_heartbeats: Vec<ResourceHeartbeat>,
pub session: Option<String>,
pub supports_execution_claims: Option<bool>,
}Expand description
Inbound sync payload that adds optional receipts without expanding the
public AgentSyncRequest struct literal.
JSON schema
{
"description": "Inbound sync payload that adds optional receipts without expanding the\npublic [`AgentSyncRequest`] struct literal.",
"allOf": [
{
"$ref": "#/components/schemas/AgentSyncRequest"
},
{
"type": "object",
"properties": {
"operatorImage": {
"description": "Exact immutable Operator image identity reported by the running process.",
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/OperatorImageReport"
}
]
}
]
}
}
}
]
}Fields§
§capabilities: Vec<OperatorCapabilityReport>§current_state: Option<Value>Current deployment state as reported by the agent. When present, the manager updates the deployment record to reflect the agent’s progress (status, stack_state, etc.).
deployment_id: String§execution_claim: Option<ExecutionClaim>§observed_inventory_batches: Vec<ObservedInventoryBatch>§operations_report: Option<OperationsReport>The Operator’s self-reported operations-plugin catalog and loaded
bundle hash. Opaque to OSS beyond forwarding it to reconcile().
operator_image: Option<OperatorImageReport>Exact immutable Operator image identity reported by the running process.
operator_version: Option<String>§resource_heartbeats: Vec<ResourceHeartbeat>Managed resource status samples emitted by pull-mode deployment steps.
session: Option<String>§supports_execution_claims: Option<bool>Implementations§
Source§impl AgentSyncWireRequest
impl AgentSyncWireRequest
pub fn builder() -> AgentSyncWireRequest
Trait Implementations§
Source§impl Clone for AgentSyncWireRequest
impl Clone for AgentSyncWireRequest
Source§impl Debug for AgentSyncWireRequest
impl Debug for AgentSyncWireRequest
Source§impl<'de> Deserialize<'de> for AgentSyncWireRequest
impl<'de> Deserialize<'de> for AgentSyncWireRequest
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&AgentSyncWireRequest> for AgentSyncWireRequest
impl From<&AgentSyncWireRequest> for AgentSyncWireRequest
Source§fn from(value: &AgentSyncWireRequest) -> Self
fn from(value: &AgentSyncWireRequest) -> Self
Converts to this type from the input type.
Source§impl From<AgentSyncWireRequest> for AgentSyncWireRequest
impl From<AgentSyncWireRequest> for AgentSyncWireRequest
Source§fn from(value: AgentSyncWireRequest) -> Self
fn from(value: AgentSyncWireRequest) -> Self
Converts to this type from the input type.
Source§impl Serialize for AgentSyncWireRequest
impl Serialize for AgentSyncWireRequest
Source§impl TryFrom<AgentSyncWireRequest> for AgentSyncWireRequest
impl TryFrom<AgentSyncWireRequest> for AgentSyncWireRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AgentSyncWireRequest) -> Result<Self, ConversionError>
fn try_from(value: AgentSyncWireRequest) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AgentSyncWireRequest
impl RefUnwindSafe for AgentSyncWireRequest
impl Send for AgentSyncWireRequest
impl Sync for AgentSyncWireRequest
impl Unpin for AgentSyncWireRequest
impl UnsafeUnpin for AgentSyncWireRequest
impl UnwindSafe for AgentSyncWireRequest
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
Mutably borrows from an owned value. Read more