podman_rest_client/v4/params/
play_kube_libpod.rs

1#[derive(Default, Debug)]
2pub struct PlayKubeLibpod<'a> {
3    /// Logging driver for the containers in the pod.
4    pub log_driver: Option<&'a str>,
5    /// logging driver options
6    pub log_options: Option<Vec<&'a str>>,
7    /// USe the network mode or specify an array of networks.
8    pub network: Option<Vec<&'a str>>,
9    /// do not setup /etc/hosts file in container
10    pub no_hosts: Option<bool>,
11    /// use annotations that are not truncated to the Kubernetes maximum length of 63 characters
12    pub no_trunc: Option<bool>,
13    /// publish a container's port, or a range of ports, to the host
14    pub publish_ports: Option<Vec<&'a str>>,
15    /// replace existing pods and containers
16    pub replace: Option<bool>,
17    /// Starts a service container before all pods.
18    pub service_container: Option<bool>,
19    /// Start the pod after creating it.
20    pub start: Option<bool>,
21    /// Static IPs used for the pods.
22    pub static_i_ps: Option<Vec<&'a str>>,
23    /// Static MACs used for the pods.
24    pub static_ma_cs: Option<Vec<&'a str>>,
25    /// Require HTTPS and verify signatures when contacting registries.
26    pub tls_verify: Option<bool>,
27    /// Set the user namespace mode for the pods.
28    pub userns: Option<&'a str>,
29    /// Clean up all objects created when a SIGTERM is received or pods exit.
30    pub wait: Option<bool>,
31}