[−][src]Function operator_framework::process::create_or_update
pub async fn create_or_update<T, S1, S2, F, '_>(
api: &'_ Api<T>,
namespace: Option<S1>,
name: S2,
mutator: F
) -> Result<()> where
T: Clone + Serialize + DeserializeOwned + Meta<Ty = ObjectMeta> + Default + PartialEq,
S1: ToString,
S2: AsRef<str>,
F: FnOnce(T) -> Result<T>,
Create or update a Kubernetes resource.