Struct podman_api_stubs::models::PodSpecGenerator[][src]

pub struct PodSpecGenerator {
Show 28 fields pub cgroup_parent: Option<String>, pub cni_networks: Option<Vec<String>>, pub cpu_period: Option<i64>, pub cpu_quota: Option<i64>, pub dns_option: Option<Vec<String>>, pub dns_search: Option<Vec<String>>, pub dns_server: Option<Vec<Ip>>, pub hostadd: Option<Vec<String>>, pub hostname: Option<String>, pub infra_command: Option<Vec<String>>, pub infra_conmon_pid_file: Option<String>, pub infra_image: Option<String>, pub infra_name: Option<String>, pub labels: Option<HashMap<String, String>>, pub name: Option<String>, pub netns: Option<Namespace>, pub network_options: Option<HashMap<String, Vec<String>>>, pub no_infra: Option<bool>, pub no_manage_hosts: Option<bool>, pub no_manage_resolv_conf: Option<bool>, pub pidns: Option<Namespace>, pub pod_create_command: Option<Vec<String>>, pub portmappings: Option<Vec<PortMapping>>, pub resource_limits: Option<LinuxResources>, pub shared_namespaces: Option<Vec<String>>, pub static_ip: Option<Ip>, pub static_mac: Option<HardwareAddr>, pub userns: Option<Namespace>,
}
Expand description

PodSpecGenerator describes options to create a pod

Fields

cgroup_parent: Option<String>cni_networks: Option<Vec<String>>cpu_period: Option<i64>cpu_quota: Option<i64>dns_option: Option<Vec<String>>dns_search: Option<Vec<String>>dns_server: Option<Vec<Ip>>hostadd: Option<Vec<String>>hostname: Option<String>infra_command: Option<Vec<String>>infra_conmon_pid_file: Option<String>infra_image: Option<String>infra_name: Option<String>labels: Option<HashMap<String, String>>name: Option<String>netns: Option<Namespace>network_options: Option<HashMap<String, Vec<String>>>no_infra: Option<bool>no_manage_hosts: Option<bool>no_manage_resolv_conf: Option<bool>pidns: Option<Namespace>pod_create_command: Option<Vec<String>>portmappings: Option<Vec<PortMapping>>resource_limits: Option<LinuxResources>shared_namespaces: Option<Vec<String>>static_ip: Option<Ip>static_mac: Option<HardwareAddr>userns: Option<Namespace>

Implementations

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 !=.

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.