pub struct Deployment {Show 20 fields
pub id: u64,
pub stack: String,
pub trigger: String,
pub action: String,
pub actor: String,
pub status: Status,
pub rollback_of: Option<u64>,
pub services: Vec<String>,
pub reused_secrets: Vec<String>,
pub error: Option<String>,
pub created_at: u64,
pub started_at: Option<u64>,
pub finished_at: Option<u64>,
pub source: String,
pub base_dir: PathBuf,
pub env: String,
pub domains: BTreeMap<String, Vec<DomainSpec>>,
pub events: Vec<LogLine>,
pub events_seq: u64,
pub failed_attempts: BTreeMap<String, FailedAttempt>,
}Expand description
One deploy of a compose stack.
Fields§
§id: u64§stack: String§trigger: Stringmanual (the local CLI) or api (a tool call over MCP or REST).
action: StringWhat deployed: deploy (a compose file), rollback, env (an
environment change) or domains (a managed domains change).
actor: StringThe caller.
status: Status§rollback_of: Option<u64>A rollback to a kept deployment: its id.
services: Vec<String>The services it created, changed, scaled or removed.
reused_secrets: Vec<String>file:/environment: secrets it deployed with the value an
earlier deploy stored, because it was given none.
error: Option<String>§created_at: u64Unix seconds, as are started_at and finished_at.
started_at: Option<u64>§finished_at: Option<u64>§source: StringThe compose source it deployed, as stack_export gives it.
base_dir: PathBufWhere the source’s relative paths resolved.
env: StringThe stack’s environment at the time (.env text).
domains: BTreeMap<String, Vec<DomainSpec>>The managed domains at the time, per service.
events: Vec<LogLine>The stack’s events while it ran.
events_seq: u64The event feed’s sequence number it has read up to.
failed_attempts: BTreeMap<String, FailedAttempt>Per service, the last replica that failed to come up while it rolled
out, with its output (each bounded by super::failure::OUTPUT_BYTES).