pub type KubectlFactory = dyn Fn(&dyn Driver) -> Result<Box<dyn Backend>>;Expand description
Port of Go’s kubectlFactory: builds a kubectl backend once the
cluster has been started and its kubeconfig is available. Tests inject
a factory that returns a fake backend without touching the cluster.