pub struct HostInfo {Show 34 fields
pub arch: Option<String>,
pub buildah_version: Option<String>,
pub cgroup_controllers: Option<Vec<String>>,
pub cgroup_manager: Option<String>,
pub cgroup_version: Option<String>,
pub conmon: Option<Box<ConmonInfo>>,
pub cpu_utilization: Option<Box<CpuUsage>>,
pub cpus: Option<i64>,
pub database_backend: Option<String>,
pub distribution: Option<Box<DistributionInfo>>,
pub event_logger: Option<String>,
pub free_locks: Option<i32>,
pub hostname: Option<String>,
pub id_mappings: Option<Box<IdMappings>>,
pub kernel: Option<String>,
pub linkmode: Option<String>,
pub log_driver: Option<String>,
pub mem_free: Option<i64>,
pub mem_total: Option<i64>,
pub network_backend: Option<String>,
pub network_backend_info: Option<Box<NetworkInfo>>,
pub oci_runtime: Option<Box<OciRuntimeInfo>>,
pub os: Option<String>,
pub pasta: Option<Box<PastaInfo>>,
pub remote_socket: Option<Box<RemoteSocket>>,
pub rootless_network_cmd: Option<String>,
pub runtime_info: Option<HashMap<String, Value>>,
pub security: Option<Box<SecurityInfo>>,
pub service_is_remote: Option<bool>,
pub slirp4netns: Option<Box<SlirpInfo>>,
pub swap_free: Option<i64>,
pub swap_total: Option<i64>,
pub uptime: Option<String>,
pub variant: Option<String>,
}
Expand description
HostInfo : HostInfo describes the libpod host
Fields§
§arch: Option<String>
§buildah_version: Option<String>
§cgroup_controllers: Option<Vec<String>>
§cgroup_manager: Option<String>
§cgroup_version: Option<String>
§conmon: Option<Box<ConmonInfo>>
§cpu_utilization: Option<Box<CpuUsage>>
§cpus: Option<i64>
§database_backend: Option<String>
§distribution: Option<Box<DistributionInfo>>
§event_logger: Option<String>
§free_locks: Option<i32>
§hostname: Option<String>
§id_mappings: Option<Box<IdMappings>>
§kernel: Option<String>
§linkmode: Option<String>
§log_driver: Option<String>
§mem_free: Option<i64>
§mem_total: Option<i64>
§network_backend: Option<String>
§network_backend_info: Option<Box<NetworkInfo>>
§oci_runtime: Option<Box<OciRuntimeInfo>>
§os: Option<String>
§pasta: Option<Box<PastaInfo>>
§remote_socket: Option<Box<RemoteSocket>>
§rootless_network_cmd: Option<String>
RootlessNetworkCmd returns the default rootless network command (slirp4netns or pasta)
runtime_info: Option<HashMap<String, Value>>
§security: Option<Box<SecurityInfo>>
§service_is_remote: Option<bool>
ServiceIsRemote is true when the podman/libpod service is remote to the client
slirp4netns: Option<Box<SlirpInfo>>
§swap_free: Option<i64>
§swap_total: Option<i64>
§uptime: Option<String>
§variant: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HostInfo
impl<'de> Deserialize<'de> for HostInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for HostInfo
Auto Trait Implementations§
impl Freeze for HostInfo
impl RefUnwindSafe for HostInfo
impl Send for HostInfo
impl Sync for HostInfo
impl Unpin for HostInfo
impl UnwindSafe for HostInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more