Skip to main content

run_service_prepare

Function run_service_prepare 

Source
pub async fn run_service_prepare(
    namespace: &Namespace,
    secrets: &BTreeMap<String, String>,
    service: &str,
    substrate: &str,
    spec: &Service,
) -> Result<(), PrepareFailure>
Expand description

Resolve and run a service’s prepare hook on the operator’s machine. A no-op when the service declares no prepare. The caller maps the neutral PrepareFailure to its own fault.