Skip to main content

from_yaml_str

Function from_yaml_str 

Source
pub fn from_yaml_str(yaml: &str) -> Result<DeploymentSpec, SpecError>
Expand description

Parse a deployment spec from YAML string

§Errors

Returns SpecError if parsing or validation fails.