{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/7372","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/7372/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/7372/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/7372/events","html_url":"https://github.com/kubernetes/kubernetes/pull/7372","id":71352722,"number":7372,"title":"WIP Modify REST framework to support deleting all resources in a namespace","user":{"login":"kbeecher","id":48620,"avatar_url":"https://avatars.githubusercontent.com/u/48620?v=3","gravatar_id":"","url":"https://api.github.com/users/kbeecher","html_url":"https://github.com/kbeecher","followers_url":"https://api.github.com/users/kbeecher/followers","following_url":"https://api.github.com/users/kbeecher/following{/other_user}","gists_url":"https://api.github.com/users/kbeecher/gists{/gist_id}","starred_url":"https://api.github.com/users/kbeecher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbeecher/subscriptions","organizations_url":"https://api.github.com/users/kbeecher/orgs","repos_url":"https://api.github.com/users/kbeecher/repos","events_url":"https://api.github.com/users/kbeecher/events{/privacy}","received_events_url":"https://api.github.com/users/kbeecher/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20no","name":"cla: no","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"derekwaynecarr","id":6233452,"avatar_url":"https://avatars.githubusercontent.com/u/6233452?v=3","gravatar_id":"","url":"https://api.github.com/users/derekwaynecarr","html_url":"https://github.com/derekwaynecarr","followers_url":"https://api.github.com/users/derekwaynecarr/followers","following_url":"https://api.github.com/users/derekwaynecarr/following{/other_user}","gists_url":"https://api.github.com/users/derekwaynecarr/gists{/gist_id}","starred_url":"https://api.github.com/users/derekwaynecarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekwaynecarr/subscriptions","organizations_url":"https://api.github.com/users/derekwaynecarr/orgs","repos_url":"https://api.github.com/users/derekwaynecarr/repos","events_url":"https://api.github.com/users/derekwaynecarr/events{/privacy}","received_events_url":"https://api.github.com/users/derekwaynecarr/received_events","type":"User","site_admin":false},"milestone":null,"comments":55,"created_at":"2015-04-27T17:38:15Z","updated_at":"2015-08-13T15:43:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/7372","html_url":"https://github.com/kubernetes/kubernetes/pull/7372","diff_url":"https://github.com/kubernetes/kubernetes/pull/7372.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/7372.patch"},"body":"A WIP that so far aims to cover points 1 and 2 in @derekwaynecarr's comment: https://github.com/GoogleCloudPlatform/kubernetes/issues/5933#issuecomment-94466754\r\n\r\nRefs: #5933"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/130733863","html_url":"https://github.com/kubernetes/kubernetes/pull/7372#issuecomment-130733863","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/7372","id":130733863,"user":{"login":"derekwaynecarr","id":6233452,"avatar_url":"https://avatars.githubusercontent.com/u/6233452?v=3","gravatar_id":"","url":"https://api.github.com/users/derekwaynecarr","html_url":"https://github.com/derekwaynecarr","followers_url":"https://api.github.com/users/derekwaynecarr/followers","following_url":"https://api.github.com/users/derekwaynecarr/following{/other_user}","gists_url":"https://api.github.com/users/derekwaynecarr/gists{/gist_id}","starred_url":"https://api.github.com/users/derekwaynecarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekwaynecarr/subscriptions","organizations_url":"https://api.github.com/users/derekwaynecarr/orgs","repos_url":"https://api.github.com/users/derekwaynecarr/repos","events_url":"https://api.github.com/users/derekwaynecarr/events{/privacy}","received_events_url":"https://api.github.com/users/derekwaynecarr/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T15:43:42Z","updated_at":"2015-08-13T15:43:42Z","body":"@wojtek-t - it looks like in https://github.com/kubernetes/kubernetes/pull/12584 you removed the RecursiveDelete function.  This was used to delete the etcd directory in this PR.  I think calling the normal delete call that takes a ```out runtime.Object``` is problematic since we have no object that represents a directory.  \r\n\r\nWhich do you prefer:\r\n\r\n1. Add a delete collection operation that does what recursive delete did, but requires the input key to be a dir.\r\n2. Call the existing delete, but update to ignore ```out``` if its nil in the storage.Delete call or if the prevNode was a directory?"}}