pub enum DockerRegistry {
DockerHub,
Ghcr,
Quay,
Gcr,
}Expand description
Available container registries.
Variants§
DockerHub
Docker Hub - the main public registry
Ghcr
GitHub Container Registry (ghcr.io)
Quay
Quay.io (Red Hat)
Gcr
Google Container Registry (gcr.io)
Implementations§
Source§impl DockerRegistry
impl DockerRegistry
Sourcepub fn all() -> &'static [DockerRegistry]
pub fn all() -> &'static [DockerRegistry]
All available registries.
Sourcepub fn docker_hub() -> &'static [DockerRegistry]
pub fn docker_hub() -> &'static [DockerRegistry]
Docker Hub only.
Sourcepub fn ghcr() -> &'static [DockerRegistry]
pub fn ghcr() -> &'static [DockerRegistry]
GitHub Container Registry only.
Sourcepub fn cloud() -> &'static [DockerRegistry]
pub fn cloud() -> &'static [DockerRegistry]
Cloud-native registries (Quay + GCR).
Trait Implementations§
Source§impl Clone for DockerRegistry
impl Clone for DockerRegistry
Source§fn clone(&self) -> DockerRegistry
fn clone(&self) -> DockerRegistry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DockerRegistry
impl Debug for DockerRegistry
Source§impl Hash for DockerRegistry
impl Hash for DockerRegistry
Source§impl PartialEq for DockerRegistry
impl PartialEq for DockerRegistry
impl Copy for DockerRegistry
impl Eq for DockerRegistry
impl StructuralPartialEq for DockerRegistry
Auto Trait Implementations§
impl Freeze for DockerRegistry
impl RefUnwindSafe for DockerRegistry
impl Send for DockerRegistry
impl Sync for DockerRegistry
impl Unpin for DockerRegistry
impl UnwindSafe for DockerRegistry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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