pub struct DeployProjectsResult {Show 31 fields
pub env: String,
pub gateway: String,
pub project: String,
pub release: String,
pub check: bool,
pub action: ProjectAction,
pub would_change: bool,
pub artifact_sha256: String,
pub live_sha256: Option<String>,
pub members: MemberDelta,
pub removed: Vec<String>,
pub removed_count: usize,
pub excluded: Vec<String>,
pub excluded_count: usize,
pub unmanaged: Vec<String>,
pub unmanaged_count: usize,
pub parent: Option<String>,
pub previous_release: Option<String>,
pub recorded_sha256: Option<String>,
pub live_matches_last_deploy: Option<bool>,
pub allow_downgrade: bool,
pub allow_first_change: Option<String>,
pub warnings: Vec<String>,
pub run_id: Option<String>,
pub run_dir: Option<String>,
pub record_written: bool,
pub restore_command: Option<String>,
pub children: Vec<ChildReport>,
pub outcome: ProjectOutcome,
pub ok: bool,
pub slug: Option<String>,
}Expand description
ign deploy projects output model.
Fields§
§env: StringThe --env value.
gateway: StringThe target’s gateway name.
project: StringThe gateway project name from deploy/project.yaml.
release: StringThe release tag, as given.
check: boolTrue for --check: no write was made.
action: ProjectActionWhat a deploy would do.
would_change: boolWhether the gateway would change.
artifact_sha256: StringCanonical sha256 of the artifact built from the checkout.
live_sha256: Option<String>Canonical sha256 of the live project’s export; null when absent.
members: MemberDeltaHow the artifact’s members differ from the live project’s.
removed: Vec<String>Live members an overwrite would delete, byte-sorted, capped.
removed_count: usizeFull count of removed members.
excluded: Vec<String>Repo-relative paths left out of the artifact (root entries outside
the allowlist, the built-in denylist, .ignexclude, files no
resource.json lists), byte-sorted, capped. A directory carries a
trailing /. Paths only, never file content.
excluded_count: usizeFull count of excluded paths.
unmanaged: Vec<String>Other projects on the gateway, by name, byte-sorted, capped. They are never read, changed or deleted.
unmanaged_count: usizeFull count of other projects.
parent: Option<String>The parent named in the repo’s project.json; null for a root
project. Checked with reads only (K6 a, D-05).
previous_release: Option<String>The release the gateway last received from this tool, as recorded; null when there is no release record (K13, D-03).
recorded_sha256: Option<String>The artifact_sha256 the release record holds: the canonical digest
of what this tool last deployed; null when there is no record.
live_matches_last_deploy: Option<bool>Whether the live project still equals recorded_sha256; null without
a record or without a live project. False is a warning (K13).
allow_downgrade: boolWhether --allow-downgrade was given.
allow_first_change: Option<String>The --allow-first-change reason, as given; null without the flag.
warnings: Vec<String>Warnings in pipeline order.
run_id: Option<String>The run’s id; null for a check and for a project left alone.
run_dir: Option<String>The run directory, relative to the repo (.ign/deploy/<gateway>/<id>);
null when no run directory was created.
record_written: boolWhether the release record was written on the gateway host.
restore_command: Option<String>The command that puts the saved pre-image back: set only on the unverified verdict of an overwrite import, where a pre-image exists (K11). Nothing runs it; the operator does.
children: Vec<ChildReport>The projects that inherit from this one, checked against the release
record of their own last deploy (D-06, K7); byte-sorted by name. Empty
when no sweep ran: a check, a project with no children, and the
created, recorded and skipped outcomes. Reported, never acted on.
outcome: ProjectOutcomeHow the run ended.
ok: boolFalse only for a verdict exit (never in a check).
slug: Option<String>The verdict slug when ok is false; otherwise null.
Implementations§
Source§impl DeployProjectsResult
impl DeployProjectsResult
Sourcepub fn failure_exit_code(&self) -> Option<u8>
pub fn failure_exit_code(&self) -> Option<u8>
The exit code the process ends with after the envelope: Some(6) for
an unverified import (V6), None for every other outcome. The
envelope is a success envelope; the code is the verdict.