pub struct PodCreateInfraConfig {Show 19 fields
pub cpu_period: u64,
pub cpu_quota: i64,
pub cpuset_cpus: String,
pub dns_option: Vec<String>,
pub dns_search: Vec<String>,
pub dns_server: Vec<String>,
pub host_network: bool,
pub hosts_file: String,
pub network_options: HashMap<String, Vec<String>>,
pub networks: Vec<String>,
pub no_manage_hostname: bool,
pub no_manage_hosts: bool,
pub no_manage_resolv_conf: bool,
pub pid_ns: String,
pub port_bindings: HashMap<String, Vec<InspectHostPort>>,
pub static_ip: Ipv4Addr,
pub static_mac: String,
pub userns: String,
pub uts_ns: String,
}
Fields§
§cpu_period: u64
§cpu_quota: i64
§cpuset_cpus: String
§dns_option: Vec<String>
§dns_search: Vec<String>
§dns_server: Vec<String>
§host_network: bool
§hosts_file: String
§network_options: HashMap<String, Vec<String>>
§networks: Vec<String>
§no_manage_hostname: bool
§no_manage_hosts: bool
§no_manage_resolv_conf: bool
§pid_ns: String
§port_bindings: HashMap<String, Vec<InspectHostPort>>
§static_ip: Ipv4Addr
§static_mac: String
§userns: String
§uts_ns: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PodCreateInfraConfig
impl<'de> Deserialize<'de> for PodCreateInfraConfig
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 PodCreateInfraConfig
impl RefUnwindSafe for PodCreateInfraConfig
impl Send for PodCreateInfraConfig
impl Sync for PodCreateInfraConfig
impl Unpin for PodCreateInfraConfig
impl UnwindSafe for PodCreateInfraConfig
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