pub struct BuiltImage {
pub tag: String,
pub image_config_blob: Vec<u8>,
pub image_config_digest: String,
pub manifest_blob: Vec<u8>,
pub manifest_digest: String,
pub layers: Vec<EmittedLayer>,
}Expand description
Final emitted artifact for one image: the OCI manifest blob, the image config blob, and the descriptor list for every layer the manifest references.
Produced by WindowsBuilder::emit_image and consumed by task 4.E’s
registry push, which uploads each layer + the config blob and then
PUTs the manifest at <tag>.
Fields§
§tag: StringImage tag for the push (<repo>:<tag> or <host>/<repo>:<tag>),
carried verbatim from BuildContext::tag.
image_config_blob: Vec<u8>Serialised image config JSON blob
(application/vnd.oci.image.config.v1+json).
image_config_digest: Stringsha256:... digest of the image config blob — what the manifest
references in config.digest.
manifest_blob: Vec<u8>Serialised OCI image manifest JSON blob
(application/vnd.oci.image.manifest.v1+json).
manifest_digest: Stringsha256:... digest of the manifest blob. Identifies the image on
the registry; the push step uses it as the manifest reference
when computing the per-blob upload URL.
layers: Vec<EmittedLayer>Layer descriptors in base-first order — the same order as
manifest.layers[]. 4.E iterates this to upload each blob (or
skips upload for foreign layers).
Trait Implementations§
Source§impl Clone for BuiltImage
impl Clone for BuiltImage
Source§fn clone(&self) -> BuiltImage
fn clone(&self) -> BuiltImage
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for BuiltImage
impl RefUnwindSafe for BuiltImage
impl Send for BuiltImage
impl Sync for BuiltImage
impl Unpin for BuiltImage
impl UnsafeUnpin for BuiltImage
impl UnwindSafe for BuiltImage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request