pub struct ProjectsInput {
pub repo: PathBuf,
pub targets: PathBuf,
pub env: String,
pub release: String,
pub allow_downgrade: bool,
pub allow_first_change: Option<String>,
pub artifact_sha256: Option<String>,
}Expand description
What the caller supplies.
Fields§
§repo: PathBufThe project repo root.
targets: PathBufThe root holding targets/<ENV>.yaml (default: repo).
env: StringThe environment name.
release: StringThe release tag being deployed, as given.
allow_downgrade: bool--allow-downgrade: let an older release than the recorded one
replace it (D-03).
allow_first_change: Option<String>--allow-first-change <REASON>: let the first ign deploy of a
project change what the gateway runs (D-12). 1 to 500 characters.
artifact_sha256: Option<String>--artifact-sha256: the canonical digest of the artifact the reviewer
saw (64 lowercase hex). Compared with the artifact the checkout builds
before any host or gateway contact (D-01, V1); None is allowed here
because the CLI (Decision C) decides when it is required.
Trait Implementations§
Source§impl Clone for ProjectsInput
impl Clone for ProjectsInput
Auto Trait Implementations§
impl Freeze for ProjectsInput
impl RefUnwindSafe for ProjectsInput
impl Send for ProjectsInput
impl Sync for ProjectsInput
impl Unpin for ProjectsInput
impl UnsafeUnpin for ProjectsInput
impl UnwindSafe for ProjectsInput
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