Struct podman_api::models::PodCreateOptions [−][src]
pub struct PodCreateOptions {Show 16 fields
pub c_group_parent: Option<String>,
pub cpus: Option<f32>,
pub cpuset_cpus: Option<String>,
pub create_command: Option<Vec<String, Global>>,
pub hostname: Option<String>,
pub infra: Option<bool>,
pub infra_command: Option<String>,
pub infra_conmon_pid_file: Option<String>,
pub infra_image: Option<String>,
pub infra_name: Option<String>,
pub labels: Option<HashMap<String, String, RandomState>>,
pub name: Option<String>,
pub net: Option<NetOptions>,
pub pid: Option<String>,
pub share: Option<Vec<String, Global>>,
pub userns: Option<Namespace>,
}
Expand description
PodCreateOptions provides all possible options for creating a pod and its infra container
Fields
c_group_parent: Option<String>
cpus: Option<f32>
cpuset_cpus: Option<String>
create_command: Option<Vec<String, Global>>
hostname: Option<String>
infra: Option<bool>
infra_command: Option<String>
infra_conmon_pid_file: Option<String>
infra_image: Option<String>
infra_name: Option<String>
labels: Option<HashMap<String, String, RandomState>>
name: Option<String>
net: Option<NetOptions>
pid: Option<String>
userns: Option<Namespace>
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<PodCreateOptions, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<PodCreateOptions, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for PodCreateOptions
impl Send for PodCreateOptions
impl Sync for PodCreateOptions
impl Unpin for PodCreateOptions
impl UnwindSafe for PodCreateOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more