kube_runtime::reflector::store

Function store

source
pub fn store<K>() -> (Store<K>, Writer<K>)
where K: Lookup + Clone + 'static, K::DynamicType: Eq + Hash + Clone + Default,
Expand description

Create a (Reader, Writer) for a Store<K> for a typed resource K

The Writer should be passed to a reflector, and the Store is a read-only handle.