Struct ContainerInspectHostConfig

Source
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§cpu_shares: u64§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

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for ContainerInspectHostConfig

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,