{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/26107","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/26107/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/26107/comments","events_url":"https://api.github.com/repos/docker/docker/issues/26107/events","html_url":"https://github.com/docker/docker/pull/26107","id":173816827,"number":26107,"title":"Shrink the DockerCLI type","user":{"login":"dnephin","id":442180,"avatar_url":"https://avatars.githubusercontent.com/u/442180?v=3","gravatar_id":"","url":"https://api.github.com/users/dnephin","html_url":"https://github.com/dnephin","followers_url":"https://api.github.com/users/dnephin/followers","following_url":"https://api.github.com/users/dnephin/following{/other_user}","gists_url":"https://api.github.com/users/dnephin/gists{/gist_id}","starred_url":"https://api.github.com/users/dnephin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnephin/subscriptions","organizations_url":"https://api.github.com/users/dnephin/orgs","repos_url":"https://api.github.com/users/dnephin/repos","events_url":"https://api.github.com/users/dnephin/events{/privacy}","received_events_url":"https://api.github.com/users/dnephin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/status/2-code-review","name":"status/2-code-review","color":"fad8c7"}],"state":"open","locked":false,"assignee":{"login":"vdemeester","id":6508,"avatar_url":"https://avatars.githubusercontent.com/u/6508?v=3","gravatar_id":"","url":"https://api.github.com/users/vdemeester","html_url":"https://github.com/vdemeester","followers_url":"https://api.github.com/users/vdemeester/followers","following_url":"https://api.github.com/users/vdemeester/following{/other_user}","gists_url":"https://api.github.com/users/vdemeester/gists{/gist_id}","starred_url":"https://api.github.com/users/vdemeester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdemeester/subscriptions","organizations_url":"https://api.github.com/users/vdemeester/orgs","repos_url":"https://api.github.com/users/vdemeester/repos","events_url":"https://api.github.com/users/vdemeester/events{/privacy}","received_events_url":"https://api.github.com/users/vdemeester/received_events","type":"User","site_admin":false},"assignees":[{"login":"vdemeester","id":6508,"avatar_url":"https://avatars.githubusercontent.com/u/6508?v=3","gravatar_id":"","url":"https://api.github.com/users/vdemeester","html_url":"https://github.com/vdemeester","followers_url":"https://api.github.com/users/vdemeester/followers","following_url":"https://api.github.com/users/vdemeester/following{/other_user}","gists_url":"https://api.github.com/users/vdemeester/gists{/gist_id}","starred_url":"https://api.github.com/users/vdemeester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdemeester/subscriptions","organizations_url":"https://api.github.com/users/vdemeester/orgs","repos_url":"https://api.github.com/users/vdemeester/repos","events_url":"https://api.github.com/users/vdemeester/events{/privacy}","received_events_url":"https://api.github.com/users/vdemeester/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-08-29T16:37:53Z","updated_at":"2016-09-08T19:18:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/26107","html_url":"https://github.com/docker/docker/pull/26107","diff_url":"https://github.com/docker/docker/pull/26107.diff","patch_url":"https://github.com/docker/docker/pull/26107.patch"},"body":"The migration from `cli/` to `sfp13/cobra` allowed us to greatly reduce the size of the `DockerCLI` type by moving methods into different packages.  However we were forced to expose a few more methods so they could be used in those new packages.\r\n\r\nThis PR moves some of those methods off of `DockerCLI` by:\r\n * moving \"output\" related state and methods into a new type `OutStream`\r\n * moving \"input\" related state and methods into a new type `InStream`\r\n * moving container utility methods into the container package\r\n\r\nMoving the output and input methods into their own types allows us to improve the interface of other functions as well. `DisplayJSONMessagesToStream()` is one example of this.\r\n\r\nThese changes will allow further cleanup to `api/client/trust.go`, moving more methods into the image package."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/245709510","html_url":"https://github.com/docker/docker/pull/26107#issuecomment-245709510","issue_url":"https://api.github.com/repos/docker/docker/issues/26107","id":245709510,"user":{"login":"LK4D4","id":101445,"avatar_url":"https://avatars.githubusercontent.com/u/101445?v=3","gravatar_id":"","url":"https://api.github.com/users/LK4D4","html_url":"https://github.com/LK4D4","followers_url":"https://api.github.com/users/LK4D4/followers","following_url":"https://api.github.com/users/LK4D4/following{/other_user}","gists_url":"https://api.github.com/users/LK4D4/gists{/gist_id}","starred_url":"https://api.github.com/users/LK4D4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LK4D4/subscriptions","organizations_url":"https://api.github.com/users/LK4D4/orgs","repos_url":"https://api.github.com/users/LK4D4/repos","events_url":"https://api.github.com/users/LK4D4/events{/privacy}","received_events_url":"https://api.github.com/users/LK4D4/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T19:18:44Z","updated_at":"2016-09-08T19:18:44Z","body":"LGTM"}}
{"actor":{"display_login":"LK4D4"}}