Struct aws_sdk_ecr::model::Repository
source · #[non_exhaustive]pub struct Repository { /* private fields */ }
Expand description
An object representing a repository.
Implementations§
source§impl Repository
impl Repository
sourcepub fn repository_arn(&self) -> Option<&str>
pub fn repository_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr
namespace, followed by the region of the repository, Amazon Web Services account ID of the repository owner, repository namespace, and repository name. For example, arn:aws:ecr:region:012345678910:repository/test
.
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
The Amazon Web Services account ID associated with the registry that contains the repository.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository.
sourcepub fn repository_uri(&self) -> Option<&str>
pub fn repository_uri(&self) -> Option<&str>
The URI for the repository. You can use this URI for container image push
and pull
operations.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time, in JavaScript date format, when the repository was created.
sourcepub fn image_tag_mutability(&self) -> Option<&ImageTagMutability>
pub fn image_tag_mutability(&self) -> Option<&ImageTagMutability>
The tag mutability setting for the repository.
sourcepub fn image_scanning_configuration(
&self
) -> Option<&ImageScanningConfiguration>
pub fn image_scanning_configuration(
&self
) -> Option<&ImageScanningConfiguration>
The image scanning configuration for a repository.
sourcepub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
pub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
source§impl Repository
impl Repository
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Repository
.
Trait Implementations§
source§impl Clone for Repository
impl Clone for Repository
source§fn clone(&self) -> Repository
fn clone(&self) -> Repository
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Repository
impl Debug for Repository
source§impl PartialEq<Repository> for Repository
impl PartialEq<Repository> for Repository
source§fn eq(&self, other: &Repository) -> bool
fn eq(&self, other: &Repository) -> bool
self
and other
values to be equal, and is used
by ==
.