pub struct ManifestSchema2 {
pub manifest_spec: ManifestSchema2Spec,
pub config_blob: ConfigBlob,
}Expand description
Super-type for combining a ManifestSchema2 with a ConfigBlob.
Fields§
§manifest_spec: ManifestSchema2Spec§config_blob: ConfigBlobImplementations§
Source§impl ManifestSchema2
impl ManifestSchema2
Sourcepub fn get_layers(&self) -> Vec<String>
pub fn get_layers(&self) -> Vec<String>
List digests of all layers referenced by this manifest.
The returned layers list is ordered starting with the base image first.
Sourcepub fn architecture(&self) -> String
pub fn architecture(&self) -> String
Get the architecture from the config
Trait Implementations§
Source§impl Debug for ManifestSchema2
impl Debug for ManifestSchema2
Source§impl Default for ManifestSchema2
impl Default for ManifestSchema2
Source§fn default() -> ManifestSchema2
fn default() -> ManifestSchema2
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ManifestSchema2
impl RefUnwindSafe for ManifestSchema2
impl Send for ManifestSchema2
impl Sync for ManifestSchema2
impl Unpin for ManifestSchema2
impl UnwindSafe for ManifestSchema2
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