Trait podman_rest_client::v5::apis::ImagesCompat

source ·
pub trait ImagesCompat:
    HasConfig
    + Send
    + Sync {
Show 13 methods // Provided methods fn image_build<'a>( &'a self, params: Option<ImageBuild<'a>>, input_stream: String, ) -> Pin<Box<dyn Future<Output = Result<ImageBuild200, Error>> + Send + 'a>> { ... } fn image_delete<'a>( &'a self, name: &'a str, params: Option<ImageDelete>, ) -> Pin<Box<dyn Future<Output = Result<Vec<ImageDeleteResponseItems>, Error>> + Send + 'a>> { ... } fn image_get<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Stream<Item = Result<Bytes, Error>> + 'a>> { ... } fn image_history<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<HistoryResponse, Error>> + Send + 'a>> { ... } fn image_inspect<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<ImageInspect, Error>> + Send + 'a>> { ... } fn image_push<'a>( &'a self, name: &'a str, params: Option<ImagePush<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>> { ... } fn image_tag<'a>( &'a self, name: &'a str, params: Option<ImageTag<'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>> { ... } fn image_create<'a>( &'a self, params: Option<ImageCreate<'a>>, input_image: String, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>> { ... } fn image_get_all<'a>( &'a self, params: Option<ImageGetAll<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>> { ... } fn image_list<'a>( &'a self, params: Option<ImageList<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<Summary>, Error>> + Send + 'a>> { ... } fn image_load<'a>( &'a self, params: Option<ImageLoad>, request: String, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>> { ... } fn image_prune<'a>( &'a self, params: Option<ImagePrune<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<ImageDeleteResponseItems>, Error>> + Send + 'a>> { ... } fn image_search<'a>( &'a self, params: Option<ImageSearch<'a>>, ) -> Pin<Box<dyn Future<Output = Result<RegistrySearchResponse, Error>> + Send + 'a>> { ... }
}
Available on crate feature v5 only.

Provided Methods§

source

fn image_build<'a>( &'a self, params: Option<ImageBuild<'a>>, input_stream: String, ) -> Pin<Box<dyn Future<Output = Result<ImageBuild200, Error>> + Send + 'a>>

POST /build Create image Build an image from the given Dockerfile(s)

source

fn image_delete<'a>( &'a self, name: &'a str, params: Option<ImageDelete>, ) -> Pin<Box<dyn Future<Output = Result<Vec<ImageDeleteResponseItems>, Error>> + Send + 'a>>

DELETE /images/{name} Remove Image Delete an image from local storage

source

fn image_get<'a>( &'a self, name: &'a str, ) -> Pin<Box<dyn Stream<Item = Result<Bytes, Error>> + 'a>>

GET /images/{name}/get Export an image Export an image in tarball format

source

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

GET /images/{name}/history History of an image Return parent layers of an image.

source

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

GET /images/{name}/json Inspect an image Return low-level information about an image.

source

fn image_push<'a>( &'a self, name: &'a str, params: Option<ImagePush<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

POST /images/{name}/push Push Image Push an image to a container registry

source

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

POST /images/{name}/tag Tag an image Tag an image so that it becomes part of a repository.

source

fn image_create<'a>( &'a self, params: Option<ImageCreate<'a>>, input_image: String, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

POST /images/create Create an image Create an image by either pulling it from a registry or importing it.

source

fn image_get_all<'a>( &'a self, params: Option<ImageGetAll<'a>>, ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>

GET /images/get Export several images Get a tarball containing all images and metadata for several image repositories

source

fn image_list<'a>( &'a self, params: Option<ImageList<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<Summary>, Error>> + Send + 'a>>

GET /images/json List Images Returns a list of images on the server. Note that it uses a different, smaller representation of an image than inspecting a single image.

source

fn image_load<'a>( &'a self, params: Option<ImageLoad>, request: String, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>

POST /images/load Import image Load a set of images and tags into a repository.

source

fn image_prune<'a>( &'a self, params: Option<ImagePrune<'a>>, ) -> Pin<Box<dyn Future<Output = Result<Vec<ImageDeleteResponseItems>, Error>> + Send + 'a>>

POST /images/prune Prune unused images Remove images from local storage that are not being used by a container

GET /images/search Search images Search registries for an image

Implementors§