pub struct ContainerInspectHostConfig {Show 71 fields
pub annotations: HashMap<String, String>,
pub auto_remove: bool,
pub auto_remove_image: bool,
pub binds: Vec<String>,
pub blkio_device_read_bps: Vec<ContainerInspectHostConfigBlkioThrottleDevice>,
pub blkio_device_read_iops: Vec<ContainerInspectHostConfigBlkioThrottleDevice>,
pub blkio_device_write_bps: Vec<ContainerInspectHostConfigBlkioThrottleDevice>,
pub blkio_device_write_iops: Vec<ContainerInspectHostConfigBlkioThrottleDevice>,
pub blkio_weight: u16,
pub blkio_weight_device: Vec<BlkioWeightDevice>,
pub cap_add: Vec<String>,
pub cap_drop: Vec<String>,
pub cgroup: String,
pub cgroup_conf: HashMap<String, String>,
pub cgroup_manager: String,
pub cgroup_mode: String,
pub cgroup_parent: String,
pub cgroups: String,
pub console_size: Vec<u64>,
pub container_id_file: String,
pub cpu_count: u64,
pub cpu_percent: u64,
pub cpu_period: u64,
pub cpu_quota: i64,
pub cpu_realtime_period: u64,
pub cpu_realtime_runtime: i64,
pub cpuset_cpus: String,
pub cpuset_mems: String,
pub cpu_shares: u64,
pub devices: Vec<InspectDevice>,
pub disk_quota: u64,
pub dns: Vec<String>,
pub dns_options: Vec<String>,
pub dns_search: Vec<String>,
pub extra_hosts: Vec<String>,
pub group_add: Vec<String>,
pub hosts_file: String,
pub id_mappings: ContainerInspectHostConfigIdMappings,
pub init: bool,
pub intel_rdt_clos_id: String,
pub io_maximum_bandwidth: u64,
pub io_maximum_iops: u64,
pub ipc_mode: String,
pub isolation: String,
pub kernel_memory: i64,
pub links: Vec<String>,
pub log_config: ContainerInspectHostConfigLogConfig,
pub memory: i64,
pub memory_reservation: i64,
pub memory_swap: i64,
pub memory_swappiness: i64,
pub nano_cpus: i64,
pub network_mode: String,
pub oom_kill_disable: bool,
pub oom_score_adj: i64,
pub pid_mode: String,
pub pids_limit: i64,
pub port_bindings: HashMap<String, Vec<InspectHostPort>>,
pub privileged: bool,
pub publish_all_ports: bool,
pub readonly_rootfs: bool,
pub restart_policy: ContainerInspectHostConfigRestartPolicy,
pub runtime: String,
pub security_opt: Vec<String>,
pub shm_size: i64,
pub tmp_fs: HashMap<String, String>,
pub ulimits: Vec<ContainerInspectHostConfigUlimit>,
pub userns_mode: String,
pub uts_mode: String,
pub volume_driver: String,
pub volumes_from: Vec<String>,
}
Fields§
§annotations: HashMap<String, String>
§auto_remove: bool
§auto_remove_image: bool
§binds: Vec<String>
§blkio_device_read_bps: Vec<ContainerInspectHostConfigBlkioThrottleDevice>
§blkio_device_read_iops: Vec<ContainerInspectHostConfigBlkioThrottleDevice>
§blkio_device_write_bps: Vec<ContainerInspectHostConfigBlkioThrottleDevice>
§blkio_device_write_iops: Vec<ContainerInspectHostConfigBlkioThrottleDevice>
§blkio_weight: u16
§blkio_weight_device: Vec<BlkioWeightDevice>
§cap_add: Vec<String>
§cap_drop: Vec<String>
§cgroup: String
§cgroup_conf: HashMap<String, String>
§cgroup_manager: String
§cgroup_mode: String
§cgroup_parent: String
§cgroups: String
§console_size: Vec<u64>
§container_id_file: String
§cpu_count: u64
§cpu_percent: u64
§cpu_period: u64
§cpu_quota: i64
§cpu_realtime_period: u64
§cpu_realtime_runtime: i64
§cpuset_cpus: String
§cpuset_mems: String
§devices: Vec<InspectDevice>
§disk_quota: u64
§dns: Vec<String>
§dns_options: Vec<String>
§dns_search: Vec<String>
§extra_hosts: Vec<String>
§group_add: Vec<String>
§hosts_file: String
§id_mappings: ContainerInspectHostConfigIdMappings
§init: bool
§intel_rdt_clos_id: String
§io_maximum_bandwidth: u64
§io_maximum_iops: u64
§ipc_mode: String
§isolation: String
§kernel_memory: i64
§links: Vec<String>
§log_config: ContainerInspectHostConfigLogConfig
§memory: i64
§memory_reservation: i64
§memory_swap: i64
§memory_swappiness: i64
§nano_cpus: i64
§network_mode: String
§oom_kill_disable: bool
§oom_score_adj: i64
§pid_mode: String
§pids_limit: i64
§port_bindings: HashMap<String, Vec<InspectHostPort>>
§privileged: bool
§publish_all_ports: bool
§readonly_rootfs: bool
§restart_policy: ContainerInspectHostConfigRestartPolicy
§runtime: String
§security_opt: Vec<String>
§shm_size: i64
§tmp_fs: HashMap<String, String>
§ulimits: Vec<ContainerInspectHostConfigUlimit>
§userns_mode: String
§uts_mode: String
§volume_driver: String
§volumes_from: Vec<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ContainerInspectHostConfig
impl<'de> Deserialize<'de> for ContainerInspectHostConfig
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 ContainerInspectHostConfig
impl RefUnwindSafe for ContainerInspectHostConfig
impl Send for ContainerInspectHostConfig
impl Sync for ContainerInspectHostConfig
impl Unpin for ContainerInspectHostConfig
impl UnwindSafe for ContainerInspectHostConfig
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