pub struct OciBuildOutput {
pub oci_tar_path: PathBuf,
pub oci_tar_sha256: String,
pub image_digest: Option<String>,
}Expand description
Result of a single oci_build_fixture invocation.
Fields§
§oci_tar_path: PathBufAbsolute path to the emitted OCI tarball on disk.
oci_tar_sha256: Stringsha256:<hex> digest of the OCI tarball — the harness’s
byte-stability fingerprint. Stable across runs iff every layer
(and the manifest index, and every annotation) is reproducible.
image_digest: Option<String>BuildKit-reported image digest from --iidfile. Independent of
the tarball hash because the iidfile records the manifest /
manifest-list digest before serialization, while the tarball hash
covers the serialized bytes (which include layer tar member
ordering). Both must be stable across runs for the harness to
declare the image byte-stable.
Trait Implementations§
Source§impl Clone for OciBuildOutput
impl Clone for OciBuildOutput
Source§fn clone(&self) -> OciBuildOutput
fn clone(&self) -> OciBuildOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OciBuildOutput
impl RefUnwindSafe for OciBuildOutput
impl Send for OciBuildOutput
impl Sync for OciBuildOutput
impl Unpin for OciBuildOutput
impl UnsafeUnpin for OciBuildOutput
impl UnwindSafe for OciBuildOutput
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