Trait podman_rest_client::v5::apis::System

source ·
pub trait System:
    HasConfig
    + Send
    + Sync {
    // Provided methods
    fn system_events_libpod<'a>(
        &'a self,
        params: Option<SystemEventsLibpod<'a>>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>> { ... }
    fn system_info_libpod<'a>(
        &'a self,
    ) -> Pin<Box<dyn Future<Output = Result<LibpodInfo, Error>> + Send + 'a>> { ... }
    fn system_data_usage_libpod<'a>(
        &'a self,
    ) -> Pin<Box<dyn Future<Output = Result<SystemDfReport, Error>> + Send + 'a>> { ... }
    fn system_prune_libpod<'a>(
        &'a self,
    ) -> Pin<Box<dyn Future<Output = Result<SystemPruneReport, Error>> + Send + 'a>> { ... }
    fn system_version_libpod<'a>(
        &'a self,
    ) -> Pin<Box<dyn Future<Output = Result<SystemComponentVersion, Error>> + Send + 'a>> { ... }
}
Available on crate feature v5 only.

Provided Methods§

source

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

GET /libpod/events Get events Returns events filtered on query parameters

source

fn system_info_libpod<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<LibpodInfo, Error>> + Send + 'a>>

GET /libpod/info Get info Returns information on the system and libpod configuration

source

fn system_data_usage_libpod<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<SystemDfReport, Error>> + Send + 'a>>

GET /libpod/system/df Show disk usage Return information about disk usage for containers, images, and volumes

source

fn system_prune_libpod<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<SystemPruneReport, Error>> + Send + 'a>>

POST /libpod/system/prune Prune unused data

source

fn system_version_libpod<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<SystemComponentVersion, Error>> + Send + 'a>>

GET /libpod/version Component Version information

Implementors§