Skip to main content

wait_for_registration

Function wait_for_registration 

Source
async fn wait_for_registration(
    atlas: &mut AtlasClient,
    before: &ProviderRegistrationSnapshot,
    expected_provider_id: &str,
    pkg_label: &str,
    component: &str,
    log_dir: &Path,
    child: &mut Child,
) -> Result<RegistrationOutcome>
Expand description

Poll atlas until a provider NOT in before appears. Returns the new provider_id plus every distinct lifecycle Driver observed after the declaration settle window. The caller verifies this list before sending config or lifecycle commands.