pub struct EcrClient { /* private fields */ }Implementations§
Source§impl EcrClient
impl EcrClient
Sourcepub async fn image_details(
&self,
repository: &str,
digest: &str,
) -> Result<ImageDetails>
pub async fn image_details( &self, repository: &str, digest: &str, ) -> Result<ImageDetails>
General image metadata via DescribeImages, filtered to the immutable digest. Validates the returned digest and errors on a missing or mismatched image rather than returning unrelated data.
Sourcepub async fn image_referrers(
&self,
repository: &str,
digest: &str,
) -> Result<DetailReport>
pub async fn image_referrers( &self, repository: &str, digest: &str, ) -> Result<DetailReport>
Referrers (e.g. signatures, SBOMs, attestations) via ListImageReferrers, scoped by the immutable subject digest. Paginated and bounded.
Sourcepub async fn image_replication(
&self,
repository: &str,
digest: &str,
) -> Result<DetailReport>
pub async fn image_replication( &self, repository: &str, digest: &str, ) -> Result<DetailReport>
Cross-region replication status via DescribeImageReplicationStatus, scoped by immutable digest. One entry per destination region.
Sourcepub async fn image_replication_by_tag(
&self,
repository: &str,
tag: &str,
) -> Result<DetailReport>
pub async fn image_replication_by_tag( &self, repository: &str, tag: &str, ) -> Result<DetailReport>
Cross-region replication status scoped by a selected tag instead of a digest. The parent’s source selector uses this when the user picks a tag as the replication source. Refuses a blank tag.
Sourcepub async fn image_signing(
&self,
repository: &str,
digest: &str,
) -> Result<DetailReport>
pub async fn image_signing( &self, repository: &str, digest: &str, ) -> Result<DetailReport>
Managed signing status via DescribeImageSigningStatus, scoped by immutable digest. One entry per signing profile.
Source§impl EcrClient
impl EcrClient
pub async fn image_scan_findings( &self, repository: &str, digest: &str, ) -> Result<ScanReport>
Source§impl EcrClient
impl EcrClient
pub fn new(config: AwsConfig) -> Self
pub async fn list_private_repositories(&self) -> Result<Vec<EcrRepository>>
pub async fn list_public_repositories(&self) -> Result<Vec<EcrRepository>>
pub async fn list_images( &self, repository_name: &str, repository_uri: &str, ) -> Result<Vec<EcrImage>>
Auto Trait Implementations§
impl !RefUnwindSafe for EcrClient
impl !UnwindSafe for EcrClient
impl Freeze for EcrClient
impl Send for EcrClient
impl Sync for EcrClient
impl Unpin for EcrClient
impl UnsafeUnpin for EcrClient
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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 more