pub struct RegistryService { /* private fields */ }Expand description
镜像仓库服务
提供镜像的拉取和推送功能,支持多种仓库类型。
Implementations§
Source§impl RegistryService
impl RegistryService
Sourcepub fn new_docker_hub() -> Result<Self>
pub fn new_docker_hub() -> Result<Self>
Sourcepub fn get_client(&self) -> Arc<DockerHubClient>
pub fn get_client(&self) -> Arc<DockerHubClient>
Sourcepub fn get_downloader(&self) -> Arc<ImageDownloader>
pub fn get_downloader(&self) -> Arc<ImageDownloader>
Sourcepub fn get_registry_type(&self) -> RegistryType
pub fn get_registry_type(&self) -> RegistryType
Auto Trait Implementations§
impl Freeze for RegistryService
impl RefUnwindSafe for RegistryService
impl Send for RegistryService
impl Sync for RegistryService
impl Unpin for RegistryService
impl UnsafeUnpin for RegistryService
impl UnwindSafe for RegistryService
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