pub struct FactoredSpec {
pub spec_path: String,
pub image_reference: String,
pub image_digest: String,
pub repodata_snapshot_digest: Option<String>,
pub layers: Vec<FactoredLayerSpec>,
}Expand description
Factored OCI build metadata embedded in the registry manifest.
When [tool.factored] is present, clients that support factored images
can pull at layer granularity instead of pulling the monolithic squashed
image in [tool.image]. The [tool.image] section remains required as
the fallback path for older clients.
Fields§
§spec_path: StringPath to the bv-builder spec YAML relative to the registry root.
image_reference: StringCanonical OCI reference for the factored image.
image_digest: StringPinned digest of the factored image manifest.
repodata_snapshot_digest: Option<String>OCI referrer digest of the repodata snapshot artifact.
layers: Vec<FactoredLayerSpec>Pre-computed per-layer descriptors, in manifest order.
Trait Implementations§
Source§impl Clone for FactoredSpec
impl Clone for FactoredSpec
Source§fn clone(&self) -> FactoredSpec
fn clone(&self) -> FactoredSpec
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 moreSource§impl Debug for FactoredSpec
impl Debug for FactoredSpec
Source§impl<'de> Deserialize<'de> for FactoredSpec
impl<'de> Deserialize<'de> for FactoredSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FactoredSpec
impl RefUnwindSafe for FactoredSpec
impl Send for FactoredSpec
impl Sync for FactoredSpec
impl Unpin for FactoredSpec
impl UnsafeUnpin for FactoredSpec
impl UnwindSafe for FactoredSpec
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