podman_rest_client/v5/params/
generate_kube_libpod.rs

1#[derive(Default, Debug)]
2pub struct GenerateKubeLibpod<'a> {
3    /// Name or ID of the container or pod.
4    pub names: Vec<&'a str>,
5    /// Generate YAML for a Kubernetes service object.
6    pub service: Option<bool>,
7    /// Generate YAML for the given Kubernetes kind.
8    pub r#type: Option<&'a str>,
9    /// Set the replica number for Deployment kind.
10    pub replicas: Option<i64>,
11    /// don't truncate annotations to the Kubernetes maximum length of 63 characters
12    pub no_trunc: Option<bool>,
13    /// add podman-only reserved annotations in generated YAML file (cannot be used by Kubernetes)
14    pub podman_only: Option<bool>,
15}