pub struct PodStatsReport {
pub block_io: Option<String>,
pub cid: Option<String>,
pub cpu: Option<String>,
pub mem: Option<String>,
pub mem_usage: Option<String>,
pub mem_usage_bytes: Option<String>,
pub name: Option<String>,
pub net_io: Option<String>,
pub pids: Option<String>,
pub pod: Option<String>,
}
Available on crate feature
v5
only.Expand description
PodStatsReport includes pod-resource statistics data.
Fields§
§block_io: Option<String>
Humanized disk usage read + write
cid: Option<String>
Container ID
cpu: Option<String>
Percentage of CPU utilized by pod
mem: Option<String>
Percentage of Memory utilized by pod
mem_usage: Option<String>
Humanized Memory usage and maximum
mem_usage_bytes: Option<String>
Memory usage and maximum in bytes
name: Option<String>
Pod Name
net_io: Option<String>
Network usage inbound + outbound
pids: Option<String>
Container PID
pod: Option<String>
Pod ID
Trait Implementations§
Source§impl Debug for PodStatsReport
impl Debug for PodStatsReport
Source§impl Default for PodStatsReport
impl Default for PodStatsReport
Source§fn default() -> PodStatsReport
fn default() -> PodStatsReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PodStatsReport
impl<'de> Deserialize<'de> for PodStatsReport
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
Auto Trait Implementations§
impl Freeze for PodStatsReport
impl RefUnwindSafe for PodStatsReport
impl Send for PodStatsReport
impl Sync for PodStatsReport
impl Unpin for PodStatsReport
impl UnwindSafe for PodStatsReport
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