Function k8s_test_framework::wait_for_resource::all_namespaces

source ยท
pub async fn all_namespaces<Cmd, R, Cond, Ex>(
    kubectl_command: Cmd,
    resources: impl IntoIterator<Item = R>,
    wait_for: WaitFor<Cond>,
    extra: impl IntoIterator<Item = Ex>,
) -> Result<(), Box<dyn Error>>
where Cmd: AsRef<OsStr>, R: AsRef<OsStr>, Cond: Display, Ex: AsRef<OsStr>,
Expand description

Wait for a set of resources at any namespace to reach a wait_for condition. Use extra to pass additional arguments to kubectl.