podman_rest_client/v5/models/pod_resource_config.rs
1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3pub struct PodResourceConfig {
4 /// CPU period of the cpuset, determined by --cpus
5 pub cpu_period: Option<u64>,
6 /// CPU quota of the cpuset, determined by --cpus
7 pub cpu_quota: Option<i64>,
8 pub resource_limits: Option<crate::v5::models::LinuxResources>,
9 /// ThrottleReadBpsDevice contains the rate at which the devices in the pod can be read from/accessed
10 #[serde(rename = "throttleReadBpsDevice")]
11 pub throttle_read_bps_device:
12 Option<std::collections::HashMap<String, crate::v5::models::LinuxThrottleDevice>>,
13}