[][src]Function operator_framework::process::create_or_update_by

pub async fn create_or_update_by<T, S1, S2, C, F, '_>(
    api: &'_ Api<T>,
    namespace: Option<S1>,
    name: S2,
    creator: C,
    mutator: F
) -> Result<()> where
    T: Clone + Serialize + DeserializeOwned + Meta<Ty = ObjectMeta> + Default + PartialEq,
    S1: ToString,
    S2: AsRef<str>,
    C: FnOnce(ObjectMeta) -> T,
    F: FnOnce(T) -> Result<T>, 

Create or update a Kubernetes resource.