scoped_namespaced_api

Function scoped_namespaced_api 

Source
pub fn scoped_namespaced_api<K>(client: &Client, target: Option<&str>) -> Api<K>
where K: Resource<Scope = NamespaceResourceScope>, K::DynamicType: Default,
Expand description

Build an Api for a single namespace target.

None means cluster-wide (Api::all); Some(ns) means that namespace only (Api::namespaced). Pair with NamespaceScope::api_targets.