Struct aws_sdk_ecr::types::ImageDetail
source · #[non_exhaustive]pub struct ImageDetail { /* private fields */ }
Expand description
An object that describes an image returned by a DescribeImages
operation.
Implementations§
source§impl ImageDetail
impl ImageDetail
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
The Amazon Web Services account ID associated with the registry to which this image belongs.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository to which this image belongs.
sourcepub fn image_digest(&self) -> Option<&str>
pub fn image_digest(&self) -> Option<&str>
The sha256
digest of the image manifest.
The list of tags associated with this image.
sourcepub fn image_size_in_bytes(&self) -> Option<i64>
pub fn image_size_in_bytes(&self) -> Option<i64>
The size, in bytes, of the image in the repository.
If the image is a manifest list, this will be the max size of all manifests in the list.
Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the docker images
command shows the uncompressed image size, so it may return a larger image size than the image sizes returned by DescribeImages
.
sourcepub fn image_pushed_at(&self) -> Option<&DateTime>
pub fn image_pushed_at(&self) -> Option<&DateTime>
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.
sourcepub fn image_scan_status(&self) -> Option<&ImageScanStatus>
pub fn image_scan_status(&self) -> Option<&ImageScanStatus>
The current state of the scan.
sourcepub fn image_scan_findings_summary(&self) -> Option<&ImageScanFindingsSummary>
pub fn image_scan_findings_summary(&self) -> Option<&ImageScanFindingsSummary>
A summary of the last completed image scan.
sourcepub fn image_manifest_media_type(&self) -> Option<&str>
pub fn image_manifest_media_type(&self) -> Option<&str>
The media type of the image manifest.
sourcepub fn artifact_media_type(&self) -> Option<&str>
pub fn artifact_media_type(&self) -> Option<&str>
The artifact media type of the image.
sourcepub fn last_recorded_pull_time(&self) -> Option<&DateTime>
pub fn last_recorded_pull_time(&self) -> Option<&DateTime>
The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image pull.
Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For example, if you pull an image once a day then the lastRecordedPullTime
timestamp will indicate the exact time that the image was last pulled. However, if you pull an image once an hour, because Amazon ECR refreshes the lastRecordedPullTime
timestamp at least once every 24 hours, the result may not be the exact time that the image was last pulled.
source§impl ImageDetail
impl ImageDetail
sourcepub fn builder() -> ImageDetailBuilder
pub fn builder() -> ImageDetailBuilder
Creates a new builder-style object to manufacture ImageDetail
.
Trait Implementations§
source§impl Clone for ImageDetail
impl Clone for ImageDetail
source§fn clone(&self) -> ImageDetail
fn clone(&self) -> ImageDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImageDetail
impl Debug for ImageDetail
source§impl PartialEq<ImageDetail> for ImageDetail
impl PartialEq<ImageDetail> for ImageDetail
source§fn eq(&self, other: &ImageDetail) -> bool
fn eq(&self, other: &ImageDetail) -> bool
self
and other
values to be equal, and is used
by ==
.