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§
Sourcefn system_auth<'a>(
&'a self,
auth_config: (),
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'a>>
fn system_auth<'a>( &'a self, auth_config: (), ) -> Pin<Box<dyn Future<Output = Result<(), 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.