{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/10707","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/10707/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/10707/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/10707/events","html_url":"https://github.com/kubernetes/kubernetes/pull/10707","id":92887106,"number":10707,"title":"logs: Use resource builder","user":{"login":"kargakis","id":3900799,"avatar_url":"https://avatars.githubusercontent.com/u/3900799?v=3","gravatar_id":"","url":"https://api.github.com/users/kargakis","html_url":"https://github.com/kargakis","followers_url":"https://api.github.com/users/kargakis/followers","following_url":"https://api.github.com/users/kargakis/following{/other_user}","gists_url":"https://api.github.com/users/kargakis/gists{/gist_id}","starred_url":"https://api.github.com/users/kargakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kargakis/subscriptions","organizations_url":"https://api.github.com/users/kargakis/orgs","repos_url":"https://api.github.com/users/kargakis/repos","events_url":"https://api.github.com/users/kargakis/events{/privacy}","received_events_url":"https://api.github.com/users/kargakis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/XL","name":"size/XL","color":"ee5500"}],"state":"open","locked":false,"assignee":{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"milestone":null,"comments":70,"created_at":"2015-07-03T14:33:27Z","updated_at":"2015-11-02T19:52:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/10707","html_url":"https://github.com/kubernetes/kubernetes/pull/10707","diff_url":"https://github.com/kubernetes/kubernetes/pull/10707.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/10707.patch"},"body":"@deads2k @smarterclayton @bparees fyi\r\n\r\nRequires #10979"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/153138694","html_url":"https://github.com/kubernetes/kubernetes/pull/10707#issuecomment-153138694","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/10707","id":153138694,"user":{"login":"lavalamp","id":647318,"avatar_url":"https://avatars.githubusercontent.com/u/647318?v=3","gravatar_id":"","url":"https://api.github.com/users/lavalamp","html_url":"https://github.com/lavalamp","followers_url":"https://api.github.com/users/lavalamp/followers","following_url":"https://api.github.com/users/lavalamp/following{/other_user}","gists_url":"https://api.github.com/users/lavalamp/gists{/gist_id}","starred_url":"https://api.github.com/users/lavalamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lavalamp/subscriptions","organizations_url":"https://api.github.com/users/lavalamp/orgs","repos_url":"https://api.github.com/users/lavalamp/repos","events_url":"https://api.github.com/users/lavalamp/events{/privacy}","received_events_url":"https://api.github.com/users/lavalamp/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T19:52:27Z","updated_at":"2015-11-02T19:52:27Z","body":"So: I want to auto-generate the client, and when I turn that on, I don't want to have to fix a ton of things. Therefore, whatever we do has to follow from some well-defined logical rule.\r\n\r\nWhat do you think about something that looks like: `c.Pods(ns).Logs().Get(...)`?\r\n\r\nThat is, ResourceNamespacer().Subresource().Action()?"}}