pub enum RegistryType {
DockerHub,
Private,
GCR,
ECR,
ACR,
}Expand description
镜像仓库类型
定义了支持的镜像仓库类型,用于创建相应的仓库客户端。
Variants§
DockerHub
Docker Hub 官方仓库
Private
私有镜像仓库
GCR
Google Container Registry
ECR
Amazon Elastic Container Registry
ACR
Azure Container Registry
Trait Implementations§
Source§impl Clone for RegistryType
impl Clone for RegistryType
Source§fn clone(&self) -> RegistryType
fn clone(&self) -> RegistryType
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 RegistryType
impl Debug for RegistryType
Source§impl PartialEq for RegistryType
impl PartialEq for RegistryType
impl Eq for RegistryType
impl StructuralPartialEq for RegistryType
Auto Trait Implementations§
impl Freeze for RegistryType
impl RefUnwindSafe for RegistryType
impl Send for RegistryType
impl Sync for RegistryType
impl Unpin for RegistryType
impl UnsafeUnpin for RegistryType
impl UnwindSafe for RegistryType
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.