pub struct AgentSyncResponse {
pub commands_url: Option<String>,
pub current_state: Option<Value>,
pub execution_claim: Option<ExecutionClaim>,
pub target: Option<Value>,
pub target_dynamic_containers: Option<Vec<TargetDynamicContainer>>,
pub target_operations_bundle_set: Option<TargetOperationsBundleSet>,
pub target_operator_image: Option<String>,
pub tunnel_url: Option<String>,
}Expand description
AgentSyncResponse
JSON schema
{
"type": "object",
"properties": {
"commandsUrl": {
"description": "Public URL for the commands API. Operators and app-owned receivers use\nit to lease pending commands instead of the agent's local sync URL.",
"type": [
"string",
"null"
]
},
"currentState": {
"description": "Authoritative deployment state from the manager.\n\nReturned when a pull deployment attaches with an empty local state while\nthe manager already has imported or previously reconciled state."
},
"executionClaim": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/ExecutionClaim"
}
]
}
]
},
"target": {},
"targetDynamicContainers": {
"description": "Complete release-independent target set. Older embedders omit it.",
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/TargetDynamicContainer"
}
},
"targetOperationsBundleSet": {
"description": "Bundles the Operator should download to catch up to the target\nenabled-plugin-set hash. Opaque passthrough from the embedder's\n`DeploymentStore::reconcile`; `None` in OSS.",
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/TargetOperationsBundleSet"
}
]
}
]
},
"targetOperatorImage": {
"description": "Operator image this manager's charts install. Operators that manage\ntheir own workload update to it. Absent when the manager serves no\ncharts.",
"type": [
"string",
"null"
]
},
"tunnelUrl": {
"description": "Base URL operators open tunnel connections to. Absent when this manager\ndoes not accept tunnels; operators then never dial.",
"type": [
"string",
"null"
]
}
}
}Fields§
§commands_url: Option<String>Public URL for the commands API. Operators and app-owned receivers use it to lease pending commands instead of the agent’s local sync URL.
current_state: Option<Value>Authoritative deployment state from the manager.
Returned when a pull deployment attaches with an empty local state while the manager already has imported or previously reconciled state.
execution_claim: Option<ExecutionClaim>§target: Option<Value>§target_dynamic_containers: Option<Vec<TargetDynamicContainer>>Complete release-independent target set. Older embedders omit it.
target_operations_bundle_set: Option<TargetOperationsBundleSet>Bundles the Operator should download to catch up to the target
enabled-plugin-set hash. Opaque passthrough from the embedder’s
DeploymentStore::reconcile; None in OSS.
target_operator_image: Option<String>Operator image this manager’s charts install. Operators that manage their own workload update to it. Absent when the manager serves no charts.
tunnel_url: Option<String>Base URL operators open tunnel connections to. Absent when this manager does not accept tunnels; operators then never dial.