podman_rest_client/v5/params/
play_kube_libpod.rs

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