Trait ImagesCompatApi

Source
pub trait ImagesCompatApi: Send + Sync {
Show 13 methods // Required methods fn image_build( &self, content_type: Option<&str>, x_registry_config: Option<&str>, dockerfile: Option<&str>, t: Option<&str>, 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>, networkmode: Option<&str>, platform: Option<&str>, target: Option<&str>, outputs: Option<&str>, input_stream: Option<PathBuf>, ) -> Pin<Box<dyn Future<Output = Result<ImageBuild200Response, Error>> + Send>>; fn image_create( &self, x_registry_auth: Option<&str>, from_image: Option<&str>, from_src: Option<&str>, repo: Option<&str>, tag: Option<&str>, message: Option<&str>, platform: Option<&str>, input_image: Option<PathBuf>, ) -> Pin<Box<dyn Future<Output = Result<PathBuf, Error>> + Send>>; fn image_delete( &self, name: &str, force: Option<bool>, noprune: Option<bool>, ) -> Pin<Box<dyn Future<Output = Result<Vec<ImageDelete200ResponseInner>, Error>> + Send>>; fn image_get( &self, name: &str, ) -> Pin<Box<dyn Future<Output = Result<PathBuf, Error>> + Send>>; fn image_get_all( &self, names: &str, ) -> Pin<Box<dyn Future<Output = Result<PathBuf, Error>> + Send>>; fn image_history( &self, name: &str, ) -> Pin<Box<dyn Future<Output = Result<HistoryResponse, Error>> + Send>>; fn image_inspect( &self, name: &str, ) -> Pin<Box<dyn Future<Output = Result<ImageInspect, Error>> + Send>>; fn image_list( &self, all: Option<bool>, filters: Option<&str>, digests: Option<bool>, ) -> Pin<Box<dyn Future<Output = Result<Vec<Summary>, Error>> + Send>>; fn image_load( &self, quiet: Option<bool>, request: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>; fn image_prune( &self, filters: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<Vec<ImageDelete200ResponseInner>, Error>> + Send>>; fn image_push( &self, name: &str, tag: Option<&str>, all: Option<bool>, compress: Option<bool>, destination: Option<&str>, x_registry_auth: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<PathBuf, Error>> + Send>>; fn image_search( &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>>; fn image_tag( &self, name: &str, repo: Option<&str>, tag: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>;
}

Required Methods§

Source

fn image_build( &self, content_type: Option<&str>, x_registry_config: Option<&str>, dockerfile: Option<&str>, t: Option<&str>, 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>, networkmode: Option<&str>, platform: Option<&str>, target: Option<&str>, outputs: Option<&str>, input_stream: Option<PathBuf>, ) -> Pin<Box<dyn Future<Output = Result<ImageBuild200Response, Error>> + Send>>

Source

fn image_create( &self, x_registry_auth: Option<&str>, from_image: Option<&str>, from_src: Option<&str>, repo: Option<&str>, tag: Option<&str>, message: Option<&str>, platform: Option<&str>, input_image: Option<PathBuf>, ) -> Pin<Box<dyn Future<Output = Result<PathBuf, Error>> + Send>>

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn image_push( &self, name: &str, tag: Option<&str>, all: Option<bool>, compress: Option<bool>, destination: Option<&str>, x_registry_auth: Option<&str>, ) -> Pin<Box<dyn Future<Output = Result<PathBuf, Error>> + Send>>

Source

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

Implementors§