Skip to main content

validate_nfs_volume

Function validate_nfs_volume 

Source
pub fn validate_nfs_volume(nfs: &NfsVolume, context: &str) -> ValidationResult
Expand description

An inline NfsVolume is well-formed: a non-empty server and an absolute export path. The structural schema can’t express either, so the webhook does. context names where it appears (e.g. "snapshot source", "filesystem repo") for an actionable message.