pub struct PodCreateOptions {
Show 23 fields pub cgroup_parent: Option<String>, pub container_command: Option<String>, pub container_conmon_pidfile: Option<String>, pub container_name: Option<String>, pub cpus: Option<f64>, pub cpuset_cpus: Option<String>, pub create_command: Option<Vec<String, Global>>, pub device_read_bps: Option<Vec<String, Global>>, pub devices: Option<Vec<String, Global>>, pub exit_policy: Option<String>, pub hostname: Option<String>, pub infra: Option<bool>, pub infra_image: Option<String>, pub labels: Option<HashMap<String, String, RandomState>>, pub name: Option<String>, pub net: Option<NetOptions>, pub pid: Option<String>, pub security_opt: Option<Vec<String, Global>>, pub share: Option<Vec<String, Global>>, pub share_parent: Option<bool>, pub sysctl: Option<Vec<String, Global>>, pub volume: Option<Vec<String, Global>>, pub volumes_from: Option<Vec<String, Global>>,
}
Expand description

The JSON tags below are made to match the respective field in ContainerCreateOptions for the purpose of mapping.

Fields§

§cgroup_parent: Option<String>§container_command: Option<String>§container_conmon_pidfile: Option<String>§container_name: Option<String>§cpus: Option<f64>§cpuset_cpus: Option<String>§create_command: Option<Vec<String, Global>>§device_read_bps: Option<Vec<String, Global>>§devices: Option<Vec<String, Global>>§exit_policy: Option<String>§hostname: Option<String>§infra: Option<bool>§infra_image: Option<String>§labels: Option<HashMap<String, String, RandomState>>§name: Option<String>§net: Option<NetOptions>§pid: Option<String>§security_opt: Option<Vec<String, Global>>§share: Option<Vec<String, Global>>§share_parent: Option<bool>§sysctl: Option<Vec<String, Global>>§volume: Option<Vec<String, Global>>§volumes_from: Option<Vec<String, Global>>

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
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 !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
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