Skip to main content

delete_owned

Function delete_owned 

Source
pub async fn delete_owned<K>(
    api: &Api<K>,
    namespace: &str,
    name: &str,
    owner: &OwnerReference,
    mode: DeleteMode,
) -> ExecResult<DeleteOutcome>
where K: Resource<DynamicType = ()> + Clone + DeserializeOwned + Debug,
Expand description

Delete an object we control. Absent is success; a foreign object is an error and is never touched; failed preconditions are ExecError::ConcurrentMutation (re-observe and retry).