pub struct PodCreateOptions {Show 45 fields
pub cgroup_parent: Option<String>,
pub cni_networks: Option<String>,
pub dns_option: Option<Vec<String>>,
pub dns_search: Option<Vec<String>>,
pub dns_server: Option<Vec<String>>,
pub exit_policy: Option<String>,
pub hostadd: Option<Vec<String>>,
pub hostname: Option<String>,
pub hosts_file: Option<String>,
pub idmappings: Option<IdMappingOptions>,
pub image_volumes: Option<Vec<ImageVolume>>,
pub infra_command: Option<Vec<String>>,
pub infra_conmon_pid_file: Option<String>,
pub infra_image: Option<String>,
pub infra_name: Option<String>,
pub ipcns: Option<Namespace>,
pub labels: Option<HashMap<String, String>>,
pub mounts: Option<Vec<VolumeMount>>,
pub name: Option<String>,
pub netns: Option<Namespace>,
pub network_options: Option<HashMap<String, String>>,
pub networks: Option<HashMap<String, PerNetworkOptions>>,
pub no_infra: Option<bool>,
pub no_manage_hostname: Option<bool>,
pub no_manage_hosts: Option<bool>,
pub no_manage_resolv_conf: Option<bool>,
pub overlay_volumes: Option<Vec<OverlayVolume>>,
pub pidns: Option<Namespace>,
pub pod_create_command: Option<Vec<String>>,
pub pod_devices: Option<Vec<String>>,
pub portmappings: Option<Vec<PortMapping>>,
pub resource_limits: Option<LinuxResources>,
pub restart_policy: Option<String>,
pub restart_tries: Option<u64>,
pub security_opt: Option<Vec<String>>,
pub service_container_id: Option<String>,
pub share_parent: Option<bool>,
pub shared_namespaces: Option<Vec<String>>,
pub shm_size: Option<i64>,
pub shm_size_systemd: Option<i64>,
pub sysctl: Option<HashMap<String, String>>,
pub userns: Option<Namespace>,
pub utsns: Option<Namespace>,
pub volumes: Option<Vec<NamedVolume>>,
pub volumes_from: Option<Vec<String>>,
}
Fields§
§cgroup_parent: Option<String>
§cni_networks: Option<String>
§dns_option: Option<Vec<String>>
§dns_search: Option<Vec<String>>
§dns_server: Option<Vec<String>>
§exit_policy: Option<String>
§hostadd: Option<Vec<String>>
§hostname: Option<String>
§hosts_file: Option<String>
§idmappings: Option<IdMappingOptions>
§image_volumes: Option<Vec<ImageVolume>>
§infra_command: Option<Vec<String>>
§infra_conmon_pid_file: Option<String>
§infra_image: Option<String>
§infra_name: Option<String>
§ipcns: Option<Namespace>
§labels: Option<HashMap<String, String>>
§mounts: Option<Vec<VolumeMount>>
§name: Option<String>
§netns: Option<Namespace>
§network_options: Option<HashMap<String, String>>
§networks: Option<HashMap<String, PerNetworkOptions>>
§no_infra: Option<bool>
§no_manage_hostname: Option<bool>
§no_manage_hosts: Option<bool>
§no_manage_resolv_conf: Option<bool>
§overlay_volumes: Option<Vec<OverlayVolume>>
§pidns: Option<Namespace>
§pod_create_command: Option<Vec<String>>
§pod_devices: Option<Vec<String>>
§portmappings: Option<Vec<PortMapping>>
§resource_limits: Option<LinuxResources>
§restart_policy: Option<String>
§restart_tries: Option<u64>
§security_opt: Option<Vec<String>>
§service_container_id: Option<String>
§shm_size: Option<i64>
§shm_size_systemd: Option<i64>
§sysctl: Option<HashMap<String, String>>
§userns: Option<Namespace>
§utsns: Option<Namespace>
§volumes: Option<Vec<NamedVolume>>
§volumes_from: Option<Vec<String>>
Trait Implementations§
Source§impl Default for PodCreateOptions
impl Default for PodCreateOptions
Source§fn default() -> PodCreateOptions
fn default() -> PodCreateOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PodCreateOptions
impl<'de> Deserialize<'de> for PodCreateOptions
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 PodCreateOptions
impl RefUnwindSafe for PodCreateOptions
impl Send for PodCreateOptions
impl Sync for PodCreateOptions
impl Unpin for PodCreateOptions
impl UnwindSafe for PodCreateOptions
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