pub trait SystemCompat:
HasConfig
+ Send
+ Sync {
// Provided methods
fn system_auth<'a>(
&'a self,
auth_config: AuthConfig,
) -> Pin<Box<dyn Future<Output = Result<AuthReport, 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<SystemDfReport, Error>> + Send + 'a>> { ... }
fn system_version<'a>(
&'a self,
) -> Pin<Box<dyn Future<Output = Result<SystemComponentVersion, Error>> + Send + 'a>> { ... }
}
Available on crate feature
v5
only.Provided Methods§
Sourcefn system_auth<'a>(
&'a self,
auth_config: AuthConfig,
) -> Pin<Box<dyn Future<Output = Result<AuthReport, Error>> + Send + 'a>>
fn system_auth<'a>( &'a self, auth_config: AuthConfig, ) -> Pin<Box<dyn Future<Output = Result<AuthReport, Error>> + Send + 'a>>
POST /auth
Check auth configuration
Sourcefn system_events<'a>(
&'a self,
params: Option<SystemEvents<'a>>,
) -> 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>>
GET /events
Get events
Returns events filtered on query parameters
Sourcefn system_info<'a>(
&'a self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
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
Sourcefn system_ping<'a>(
&'a self,
) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'a>>
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.
Sourcefn system_data_usage<'a>(
&'a self,
) -> Pin<Box<dyn Future<Output = Result<SystemDfReport, Error>> + Send + 'a>>
fn system_data_usage<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<SystemDfReport, Error>> + Send + 'a>>
GET /system/df
Show disk usage
Return information about disk usage for containers, images, and volumes
Sourcefn system_version<'a>(
&'a self,
) -> Pin<Box<dyn Future<Output = Result<SystemComponentVersion, Error>> + Send + 'a>>
fn system_version<'a>( &'a self, ) -> Pin<Box<dyn Future<Output = Result<SystemComponentVersion, Error>> + Send + 'a>>
GET /version
Component Version information