pub enum AgentRequest {
Show 24 variants
Reconcile(DesiredState),
ReconcileSigned(SignedPayload),
NodeInfo,
NodeStats,
TenantList,
InstanceList {
tenant_id: String,
pool_id: Option<String>,
},
WakeInstance {
tenant_id: String,
pool_id: String,
instance_id: String,
},
InstanceAction {
tenant_id: String,
pool_id: String,
instance_id: String,
action: InstanceAction,
},
SandboxAction {
tenant_id: String,
pool_id: String,
instance_id: String,
request: Value,
},
DeploymentStatus {
tenant_id: String,
pool_id: String,
},
PauseDeployment {
tenant_id: String,
pool_id: String,
},
ResumeDeployment {
tenant_id: String,
pool_id: String,
},
RollbackDeployment {
tenant_id: String,
pool_id: String,
target_revision: Option<String>,
},
BatchInstanceAction {
actions: Vec<BatchActionItem>,
},
PoolAction {
tenant_id: String,
pool_id: String,
action: PoolActionType,
},
GetMetrics,
GetAuditLog {
tenant_id: String,
last_n: Option<u32>,
since: Option<String>,
},
GetHealthStatus {
tenant_id: Option<String>,
pool_id: Option<String>,
},
GetReconcileHistory {
last_n: Option<u32>,
},
ForceReconcile {
dry_run: bool,
},
DumpState {
include_metrics: bool,
include_audit_log: bool,
},
UpdateSecrets {
tenant_id: String,
secrets_hash: String,
force_reload: bool,
},
UpdateConfig {
tenant_id: String,
pool_id: String,
config_version: u64,
},
SyncEvents {
since: u64,
},
}Expand description
Strongly typed request sent over QUIC streams.
Variants§
Reconcile(DesiredState)
Push a new desired state for reconciliation (unsigned, dev mode only).
ReconcileSigned(SignedPayload)
Push a signed desired state for reconciliation (production mode).
NodeInfo
Query node capabilities and identity.
NodeStats
Query aggregate node statistics.
TenantList
List all tenants on this node.
InstanceList
List instances for a specific tenant (optionally filtered by pool).
WakeInstance
Urgently wake a sleeping instance.
InstanceAction
Perform an imperative lifecycle action on a specific instance.
SandboxAction
Forward a sandbox operation (filesystem, exec, logs) to the guest agent.
DeploymentStatus
Query the status of an ongoing deployment/rollout for a pool.
PauseDeployment
Pause an ongoing deployment/rollout.
ResumeDeployment
Resume a paused deployment/rollout.
RollbackDeployment
Rollback a deployment to the previous revision.
BatchInstanceAction
Perform the same action on multiple instances at once.
Fields
actions: Vec<BatchActionItem>PoolAction
Perform pool-level operations (affect all instances in pool).
GetMetrics
Query current metrics snapshot.
GetAuditLog
Retrieve recent audit log entries for a tenant.
GetHealthStatus
Get detailed health status for instances.
GetReconcileHistory
Retrieve reconciliation history.
ForceReconcile
Force an immediate reconciliation pass (debug/troubleshooting).
DumpState
Export complete node state for debugging.
UpdateSecrets
Hot reload secrets without restarting instances.
UpdateConfig
Update config drive for instances in a pool.
SyncEvents
Request incremental state events since a given sequence number.
Returns events with sequence > since. If the event log has been
truncated past the requested sequence, the coordinator responds with
a full DesiredState instead.
Trait Implementations§
Source§impl Clone for AgentRequest
impl Clone for AgentRequest
Source§fn clone(&self) -> AgentRequest
fn clone(&self) -> AgentRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more