Skip to main content

list_deployers_in_order

Function list_deployers_in_order 

Source
pub fn list_deployers_in_order(
    cfg: &Container,
) -> Result<Vec<String>, OrderError>
Expand description

Orders the deployers in cfg so that every deployer follows the deployers its needs keyword names. Deployers no needs relates to each other may come in any order.

ยงErrors

Returns OrderError::UnknownDependency if a deployer names a dependency absent from the config, or OrderError::CircularDependency if the dependencies form a cycle.