Struct dockworker::ContainerHostConfig [−][src]
pub struct ContainerHostConfig { /* fields omitted */ }
Methods
impl ContainerHostConfig
[src]
impl ContainerHostConfig
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn binds(&mut self, bind: String) -> &mut Self
[src]
pub fn binds(&mut self, bind: String) -> &mut Self
pub fn tmpfs(&mut self, path: &str, option: &str) -> &mut Self
[src]
pub fn tmpfs(&mut self, path: &str, option: &str) -> &mut Self
pub fn links(&mut self, link: String) -> &mut Self
[src]
pub fn links(&mut self, link: String) -> &mut Self
pub fn memory(&mut self, memory: u64) -> &mut Self
[src]
pub fn memory(&mut self, memory: u64) -> &mut Self
pub fn memory_swap(&mut self, memory_swap: u64) -> &mut Self
[src]
pub fn memory_swap(&mut self, memory_swap: u64) -> &mut Self
pub fn memory_reservation(&mut self, memory_reservation: u64) -> &mut Self
[src]
pub fn memory_reservation(&mut self, memory_reservation: u64) -> &mut Self
pub fn kernel_memory(&mut self, kernel_memory: u64) -> &mut Self
[src]
pub fn kernel_memory(&mut self, kernel_memory: u64) -> &mut Self
pub fn cpu_percent(&mut self, cpu_percent: u64) -> &mut Self
[src]
pub fn cpu_percent(&mut self, cpu_percent: u64) -> &mut Self
pub fn cpu_period(&mut self, cpu_period: u64) -> &mut Self
[src]
pub fn cpu_period(&mut self, cpu_period: u64) -> &mut Self
pub fn cpu_quota(&mut self, cpu_quota: u64) -> &mut Self
[src]
pub fn cpu_quota(&mut self, cpu_quota: u64) -> &mut Self
pub fn cpuset_cpus(&mut self, cpuset_cpus: String) -> &mut Self
[src]
pub fn cpuset_cpus(&mut self, cpuset_cpus: String) -> &mut Self
pub fn io_maximum_bandwidth(&mut self, io_maximum_bandwidth: u64) -> &mut Self
[src]
pub fn io_maximum_bandwidth(&mut self, io_maximum_bandwidth: u64) -> &mut Self
pub fn io_maximum_ops(&mut self, io_maximum_ops: u64) -> &mut Self
[src]
pub fn io_maximum_ops(&mut self, io_maximum_ops: u64) -> &mut Self
pub fn blkio_weight(&mut self, blkio_weight: u64) -> &mut Self
[src]
pub fn blkio_weight(&mut self, blkio_weight: u64) -> &mut Self
pub fn memory_swappiness(&mut self, memory_swappiness: i32) -> &mut Self
[src]
pub fn memory_swappiness(&mut self, memory_swappiness: i32) -> &mut Self
pub fn oom_kill_disable(&mut self, oom_kill_disable: bool) -> &mut Self
[src]
pub fn oom_kill_disable(&mut self, oom_kill_disable: bool) -> &mut Self
pub fn oom_score_adj(&mut self, oom_score_adj: u16) -> &mut Self
[src]
pub fn oom_score_adj(&mut self, oom_score_adj: u16) -> &mut Self
pub fn pid_mode(&mut self, pid_mode: String) -> &mut Self
[src]
pub fn pid_mode(&mut self, pid_mode: String) -> &mut Self
pub fn pids_limit(&mut self, pids_limit: i16) -> &mut Self
[src]
pub fn pids_limit(&mut self, pids_limit: i16) -> &mut Self
pub fn publish_all_ports(&mut self, publish_all_ports: bool) -> &mut Self
[src]
pub fn publish_all_ports(&mut self, publish_all_ports: bool) -> &mut Self
pub fn privileged(&mut self, privileged: bool) -> &mut Self
[src]
pub fn privileged(&mut self, privileged: bool) -> &mut Self
pub fn readonly_rootfs(&mut self, readonly_rootfs: bool) -> &mut Self
[src]
pub fn readonly_rootfs(&mut self, readonly_rootfs: bool) -> &mut Self
pub fn dns(&mut self, dns: String) -> &mut Self
[src]
pub fn dns(&mut self, dns: String) -> &mut Self
pub fn dns_options(&mut self, dns_option: String) -> &mut Self
[src]
pub fn dns_options(&mut self, dns_option: String) -> &mut Self
pub fn dns_search(&mut self, dns_search: String) -> &mut Self
[src]
pub fn dns_search(&mut self, dns_search: String) -> &mut Self
pub fn auto_remove(&mut self, auto_remove: bool) -> &mut Self
[src]
pub fn auto_remove(&mut self, auto_remove: bool) -> &mut Self
pub fn volumes_from(&mut self, volumes_from: String) -> &mut Self
[src]
pub fn volumes_from(&mut self, volumes_from: String) -> &mut Self
pub fn cap_add(&mut self, cap_add: String) -> &mut Self
[src]
pub fn cap_add(&mut self, cap_add: String) -> &mut Self
pub fn cap_drop(&mut self, cap_drop: String) -> &mut Self
[src]
pub fn cap_drop(&mut self, cap_drop: String) -> &mut Self
pub fn group_add(&mut self, group_add: String) -> &mut Self
[src]
pub fn group_add(&mut self, group_add: String) -> &mut Self
pub fn restart_policy(&mut self, restart_policy: RestartPolicy) -> &mut Self
[src]
pub fn restart_policy(&mut self, restart_policy: RestartPolicy) -> &mut Self
pub fn network_mode(&mut self, network_mode: String) -> &mut Self
[src]
pub fn network_mode(&mut self, network_mode: String) -> &mut Self
pub fn devices(&mut self, device: DeviceMapping) -> &mut Self
[src]
pub fn devices(&mut self, device: DeviceMapping) -> &mut Self
pub fn sysctls(&mut self, key: &str, value: &str) -> &mut Self
[src]
pub fn sysctls(&mut self, key: &str, value: &str) -> &mut Self
pub fn cgroup_parent(&mut self, cgroup_parent: String) -> &mut Self
[src]
pub fn cgroup_parent(&mut self, cgroup_parent: String) -> &mut Self
pub fn volume_driver(&mut self, volume_driver: String) -> &mut Self
[src]
pub fn volume_driver(&mut self, volume_driver: String) -> &mut Self
pub fn shm_size(&mut self, shm_size: u64) -> &mut Self
[src]
pub fn shm_size(&mut self, shm_size: u64) -> &mut Self
Trait Implementations
impl Debug for ContainerHostConfig
[src]
impl Debug for ContainerHostConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ContainerHostConfig
[src]
impl Clone for ContainerHostConfig
fn clone(&self) -> ContainerHostConfig
[src]
fn clone(&self) -> ContainerHostConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for ContainerHostConfig
[src]
impl Default for ContainerHostConfig
fn default() -> ContainerHostConfig
[src]
fn default() -> ContainerHostConfig
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for ContainerHostConfig
impl Send for ContainerHostConfig
impl Sync for ContainerHostConfig
impl Sync for ContainerHostConfig