pub struct RegistryClient { /* private fields */ }Implementations§
Source§impl RegistryClient
impl RegistryClient
pub async fn test_connectivity(&self) -> Result<()>
pub async fn check_blob_exists( &self, digest: &str, repository: &str, ) -> Result<bool>
pub async fn authenticate( &self, auth_config: &AuthConfig, ) -> Result<Option<String>>
pub async fn authenticate_for_repository( &self, auth_config: &AuthConfig, repository: &str, ) -> Result<Option<String>>
pub async fn upload_blob( &self, data: &[u8], digest: &str, repository: &str, ) -> Result<String>
pub async fn start_upload_session(&self, repository: &str) -> Result<String>
pub async fn start_upload_session_with_token( &self, repository: &str, token: &Option<String>, ) -> Result<String>
pub async fn upload_manifest( &self, manifest: &str, repository: &str, tag: &str, ) -> Result<()>
pub fn get_address(&self) -> &str
pub fn get_http_client(&self) -> &Client
pub fn get_output_manager(&self) -> &OutputManager
Trait Implementations§
Source§impl Clone for RegistryClient
impl Clone for RegistryClient
Source§fn clone(&self) -> RegistryClient
fn clone(&self) -> RegistryClient
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 moreAuto 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