podman-rest-client 0.13.0

Interface for querying the podman REST API. Supports connections over SSH.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};
#[derive(Default, Debug, Serialize, Deserialize)]
/// Secret represents a Swarm Secret value that must be passed to the CSI
/// storage plugin when operating on this Volume. It represents one key-value
/// pair of possibly many.
pub struct Secret {
    /// Key is the name of the key of the key-value pair passed to the plugin.
    #[serde(rename = "Key")]
    pub key: Option<String>,
    /// Secret is the swarm Secret object from which to read data. This can be a
    /// Secret name or ID. The Secret data is retrieved by Swarm and used as the
    /// value of the key-value pair passed to the plugin.
    #[serde(rename = "Secret")]
    pub secret: Option<String>,
}