Struct ImagesApiClient

Source
pub struct ImagesApiClient<C>
where C: Clone + Send + Sync + 'static + Connect,
{ /* private fields */ }

Implementations§

Source§

impl<C> ImagesApiClient<C>
where C: Clone + Send + Sync + Connect,

Source

pub fn new(configuration: Arc<Configuration<C>>) -> ImagesApiClient<C>

Trait Implementations§

Source§

impl<C> ImagesApi for ImagesApiClient<C>
where C: Clone + Send + Sync + Connect,

Source§

fn image_build_libpod( &self, dockerfile: Option<&str>, t: Option<&str>, allplatforms: Option<bool>, extrahosts: Option<&str>, remote: Option<&str>, q: Option<bool>, nocache: Option<bool>, cachefrom: Option<&str>, pull: Option<bool>, rm: Option<bool>, forcerm: Option<bool>, memory: Option<i32>, memswap: Option<i32>, cpushares: Option<i32>, cpusetcpus: Option<&str>, cpuperiod: Option<i32>, cpuquota: Option<i32>, buildargs: Option<&str>, shmsize: Option<i32>, squash: Option<bool>, labels: Option<&str>, layer_label: Option<Vec<String>>, layers: Option<bool>, networkmode: Option<&str>, platform: Option<&str>, target: Option<&str>, outputs: Option<&str>, httpproxy: Option<bool>, unsetenv: Option<Vec<String>>, unsetlabel: Option<Vec<String>>, volume: Option<Vec<String>>, ) -> Pin<Box<dyn Future<Output = Result<ImageBuildLibpod200Response, Error>> + Send>>

Source§

fn image_changes_libpod( &self, name: &str, parent: Option<&str>, diff_type: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn image_delete_all_libpod( &self, images: Option<Vec<String>>, all: Option<bool>, force: Option<bool>, ignore: Option<bool>, lookup_manifest: Option<bool>, ) -> Pin<Box<dyn Future<Output = Result<LibpodImagesRemoveReport, Error>> + Send>>

Source§

fn image_delete_libpod( &self, name: &str, force: Option<bool>, ) -> Pin<Box<dyn Future<Output = Result<LibpodImagesRemoveReport, Error>> + Send>>

Source§

fn image_exists_libpod( &self, name: &str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn image_export_libpod( &self, format: Option<&str>, references: Option<Vec<String>>, compress: Option<bool>, oci_accept_uncompressed_layers: Option<bool>, ) -> Pin<Box<dyn Future<Output = Result<PathBuf, Error>> + Send>>

Source§

fn image_get_libpod( &self, name: &str, format: Option<&str>, compress: Option<bool>, ) -> Pin<Box<dyn Future<Output = Result<PathBuf, Error>> + Send>>

Source§

fn image_history_libpod( &self, name: &str, ) -> Pin<Box<dyn Future<Output = Result<HistoryResponse, Error>> + Send>>

Source§

fn image_import_libpod( &self, upload: PathBuf, content_type: Option<&str>, changes: Option<Vec<String>>, message: Option<&str>, reference: Option<&str>, url: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<ImageImportReport, Error>> + Send>>

Source§

fn image_inspect_libpod( &self, name: &str, ) -> Pin<Box<dyn Future<Output = Result<ImageData, Error>> + Send>>

Source§

fn image_list_libpod( &self, all: Option<bool>, filters: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<Vec<LibpodImageSummary>, Error>> + Send>>

Source§

fn image_load_libpod( &self, upload: &str, ) -> Pin<Box<dyn Future<Output = Result<ImageLoadReport, Error>> + Send>>

Source§

fn image_prune_libpod( &self, all: Option<bool>, external: Option<bool>, filters: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<Vec<PruneReport>, Error>> + Send>>

Source§

fn image_pull_libpod( &self, reference: Option<&str>, quiet: Option<bool>, compat_mode: Option<bool>, arch: Option<&str>, os: Option<&str>, variant: Option<&str>, policy: Option<&str>, tls_verify: Option<bool>, all_tags: Option<bool>, x_registry_auth: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<LibpodImagesPullReport, Error>> + Send>>

Source§

fn image_push_libpod( &self, name: &str, destination: Option<&str>, force_compression_format: Option<bool>, tls_verify: Option<bool>, quiet: Option<bool>, x_registry_auth: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<PathBuf, Error>> + Send>>

Source§

fn image_resolve_libpod( &self, name: &str, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn image_scp_libpod( &self, name: &str, destination: Option<&str>, quiet: Option<bool>, ) -> Pin<Box<dyn Future<Output = Result<ScpReport, Error>> + Send>>

Source§

fn image_search_libpod( &self, term: Option<&str>, limit: Option<i32>, filters: Option<&str>, tls_verify: Option<bool>, list_tags: Option<bool>, ) -> Pin<Box<dyn Future<Output = Result<ImageSearch200Response, Error>> + Send>>

Source§

fn image_tag_libpod( &self, name: &str, repo: Option<&str>, tag: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Source§

fn image_tree_libpod( &self, name: &str, whatrequires: Option<bool>, ) -> Pin<Box<dyn Future<Output = Result<ImageTreeReport, Error>> + Send>>

Source§

fn image_untag_libpod( &self, name: &str, repo: Option<&str>, tag: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>

Auto Trait Implementations§

§

impl<C> Freeze for ImagesApiClient<C>

§

impl<C> !RefUnwindSafe for ImagesApiClient<C>

§

impl<C> Send for ImagesApiClient<C>

§

impl<C> Sync for ImagesApiClient<C>

§

impl<C> Unpin for ImagesApiClient<C>

§

impl<C> !UnwindSafe for ImagesApiClient<C>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,