Skip to main content

from_yaml_file

Function from_yaml_file 

Source
pub fn from_yaml_file(path: &Path) -> Result<DeploymentSpec, SpecError>
Expand description

Parse a deployment spec from YAML file

§Errors

Returns SpecError if the file cannot be read, or parsing/validation fails.