pub async fn delete_resource<K>(api: &Api<K>, name: &str) -> Result<(), Error>where K: Resource + Clone + Send + DeserializeOwned + Serialize + Debug + 'static, <K as Resource>::DynamicType: Default,