Struct aws_sdk_ecrpublic::types::RegistryAlias
source · #[non_exhaustive]pub struct RegistryAlias {
pub name: Option<String>,
pub status: Option<RegistryAliasStatus>,
pub primary_registry_alias: bool,
pub default_registry_alias: bool,
}Expand description
An object representing the aliases for a public registry. A public registry is given an alias when it's created. However, a custom alias can be set using the Amazon ECR console. For more information, see Registries in the Amazon Elastic Container Registry User Guide.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>The name of the registry alias.
status: Option<RegistryAliasStatus>The status of the registry alias.
primary_registry_alias: boolIndicates whether the registry alias is the primary alias for the registry. If true, the alias is the primary registry alias and is displayed in both the repository URL and the image URI used in the docker pull commands on the Amazon ECR Public Gallery.
A registry alias that isn't the primary registry alias can be used in the repository URI in a docker pull command.
default_registry_alias: boolIndicates whether the registry alias is the default alias for the registry. When the first public repository is created, your public registry is assigned a default registry alias.
Implementations§
source§impl RegistryAlias
impl RegistryAlias
sourcepub fn status(&self) -> Option<&RegistryAliasStatus>
pub fn status(&self) -> Option<&RegistryAliasStatus>
The status of the registry alias.
sourcepub fn primary_registry_alias(&self) -> bool
pub fn primary_registry_alias(&self) -> bool
Indicates whether the registry alias is the primary alias for the registry. If true, the alias is the primary registry alias and is displayed in both the repository URL and the image URI used in the docker pull commands on the Amazon ECR Public Gallery.
A registry alias that isn't the primary registry alias can be used in the repository URI in a docker pull command.
sourcepub fn default_registry_alias(&self) -> bool
pub fn default_registry_alias(&self) -> bool
Indicates whether the registry alias is the default alias for the registry. When the first public repository is created, your public registry is assigned a default registry alias.
source§impl RegistryAlias
impl RegistryAlias
sourcepub fn builder() -> RegistryAliasBuilder
pub fn builder() -> RegistryAliasBuilder
Creates a new builder-style object to manufacture RegistryAlias.
Trait Implementations§
source§impl Clone for RegistryAlias
impl Clone for RegistryAlias
source§fn clone(&self) -> RegistryAlias
fn clone(&self) -> RegistryAlias
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RegistryAlias
impl Debug for RegistryAlias
source§impl PartialEq<RegistryAlias> for RegistryAlias
impl PartialEq<RegistryAlias> for RegistryAlias
source§fn eq(&self, other: &RegistryAlias) -> bool
fn eq(&self, other: &RegistryAlias) -> bool
self and other values to be equal, and is used
by ==.