podman_rest_client/v5/models/
play_kube_pod.rs

1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3pub struct PlayKubePod {
4    /// ContainerErrors - any errors that occurred while starting containers
5    /// in the pod.
6    #[serde(rename = "ContainerErrors")]
7    pub container_errors: Option<Vec<String>>,
8    /// Containers - the IDs of the containers running in the created pod.
9    #[serde(rename = "Containers")]
10    pub containers: Option<Vec<String>>,
11    /// ID - ID of the pod created as a result of play kube.
12    #[serde(rename = "ID")]
13    pub id: Option<String>,
14    /// InitContainers - the IDs of the init containers to be run in the created pod.
15    #[serde(rename = "InitContainers")]
16    pub init_containers: Option<Vec<String>>,
17    /// Logs - non-fatal errors and log messages while processing.
18    #[serde(rename = "Logs")]
19    pub logs: Option<Vec<String>>,
20}