Skip to main content

ManagerFactory

Type Alias ManagerFactory 

Source
pub type ManagerFactory = Box<dyn Fn(Option<Arc<dyn Backend + Send + Sync>>) -> Box<dyn Manager + Send + Sync> + Send + Sync>;
Expand description

A function that creates a new reloader manager using the provided kubectl backend. None stands in for the Go original’s nil kubectl.Backend interface value, which NewManager’s own tests pass.

Aliased Type§

pub struct ManagerFactory(/* private fields */);