Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::KeyToPath
source · Expand description
Maps a string key to a path within a volume.
Fields§
§key: String
The key to project.
mode: Option<i32>
Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
path: String
The relative path of the file to map the key to. May not be an absolute path. May not contain the path element ‘..’. May not start with the string ‘..’.
Trait Implementations§
source§impl<'de> Deserialize<'de> for KeyToPath
impl<'de> Deserialize<'de> for KeyToPath
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more