Trait SystemCompat

Source
pub trait SystemCompat:
    HasConfig
    + Send
    + Sync {
    // Provided methods
    fn system_auth<'a>(
        &'a self,
        auth_config: (),
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>> { ... }
    fn system_events<'a>(
        &'a self,
        params: Option<SystemEvents<'a>>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>> { ... }
    fn system_info<'a>(
        &'a self,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>> { ... }
    fn system_ping<'a>(
        &'a self,
    ) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>> { ... }
    fn system_data_usage<'a>(
        &'a self,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>> { ... }
    fn system_version<'a>(
        &'a self,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>> { ... }
}
Available on crate feature v4 only.

Provided Methods§

Source

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

POST /auth

Check auth configuration

Source

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

GET /events

Get events

Returns events filtered on query parameters

Source

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

GET /info

Get info

Returns information on the system and libpod configuration

Source

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

GET /libpod/_ping

Ping service

Return protocol information in response headers. HEAD /libpod/_ping is also supported. /_ping is available for compatibility with other engines. The ‘_ping’ endpoints are not versioned.

Source

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

GET /system/df

Show disk usage

Return information about disk usage for containers, images, and volumes

Source

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

GET /version

Component Version information

Implementors§