Skip to main content

lower

Function lower 

Source
pub fn lower(manifest: &Manifest) -> Result<ExportModel>
Expand description

Lower manifest into an ExportModel.

Each resource is resolved through lightshuttle-spec, so the model inherits the same image, port, environment and healthcheck defaults the runtime applies, with no drift between up and export. The raw export: section is carried through for per-target resolution.

ยงErrors

Returns ExportError::Spec if a resource cannot be resolved into a container specification.