pub struct RegistryClient { /* private fields */ }Implementations§
Source§impl RegistryClient
impl RegistryClient
pub fn new( address: String, username: Option<String>, password: Option<String>, skip_tls: bool, ) -> Result<Self>
pub fn builder(address: String) -> RegistryClientBuilder
pub async fn authenticate(&mut self) -> Result<()>
pub async fn check_registry_version(&self) -> Result<()>
pub async fn upload_image_with_info( &self, tar_path: &Path, image_info: &ImageInfo, ) -> Result<()>
Auto Trait Implementations§
impl Freeze for RegistryClient
impl !RefUnwindSafe for RegistryClient
impl Send for RegistryClient
impl Sync for RegistryClient
impl Unpin for RegistryClient
impl !UnwindSafe for RegistryClient
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