{"action":"closed","number":17803,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17803","id":51857525,"html_url":"https://github.com/kubernetes/kubernetes/pull/17803","diff_url":"https://github.com/kubernetes/kubernetes/pull/17803.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/17803.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17803","number":17803,"state":"closed","locked":false,"title":"Extracting more functions for reuse out of kube-up","user":{"login":"davidsiefert","id":5030667,"avatar_url":"https://avatars.githubusercontent.com/u/5030667?v=3","gravatar_id":"","url":"https://api.github.com/users/davidsiefert","html_url":"https://github.com/davidsiefert","followers_url":"https://api.github.com/users/davidsiefert/followers","following_url":"https://api.github.com/users/davidsiefert/following{/other_user}","gists_url":"https://api.github.com/users/davidsiefert/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsiefert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsiefert/subscriptions","organizations_url":"https://api.github.com/users/davidsiefert/orgs","repos_url":"https://api.github.com/users/davidsiefert/repos","events_url":"https://api.github.com/users/davidsiefert/events{/privacy}","received_events_url":"https://api.github.com/users/davidsiefert/received_events","type":"User","site_admin":false},"body":"Needed these bits extracted for reuse.  Makes the script a little cleaner (the kube-up is shorter, easier to read)","created_at":"2015-11-25T23:30:39Z","updated_at":"2015-12-01T07:52:33Z","closed_at":"2015-12-01T07:52:33Z","merged_at":null,"merge_commit_sha":"c439e10c454d1822bde59810725aa1f950788a15","assignee":{"login":"fgrzadkowski","id":10820726,"avatar_url":"https://avatars.githubusercontent.com/u/10820726?v=3","gravatar_id":"","url":"https://api.github.com/users/fgrzadkowski","html_url":"https://github.com/fgrzadkowski","followers_url":"https://api.github.com/users/fgrzadkowski/followers","following_url":"https://api.github.com/users/fgrzadkowski/following{/other_user}","gists_url":"https://api.github.com/users/fgrzadkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/fgrzadkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgrzadkowski/subscriptions","organizations_url":"https://api.github.com/users/fgrzadkowski/orgs","repos_url":"https://api.github.com/users/fgrzadkowski/repos","events_url":"https://api.github.com/users/fgrzadkowski/events{/privacy}","received_events_url":"https://api.github.com/users/fgrzadkowski/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17803/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17803/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17803/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/94d32588f410d36339a8c7013b5985836bee409d","head":{"label":"davidsiefert:master","ref":"master","sha":"94d32588f410d36339a8c7013b5985836bee409d","user":{"login":"davidsiefert","id":5030667,"avatar_url":"https://avatars.githubusercontent.com/u/5030667?v=3","gravatar_id":"","url":"https://api.github.com/users/davidsiefert","html_url":"https://github.com/davidsiefert","followers_url":"https://api.github.com/users/davidsiefert/followers","following_url":"https://api.github.com/users/davidsiefert/following{/other_user}","gists_url":"https://api.github.com/users/davidsiefert/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsiefert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsiefert/subscriptions","organizations_url":"https://api.github.com/users/davidsiefert/orgs","repos_url":"https://api.github.com/users/davidsiefert/repos","events_url":"https://api.github.com/users/davidsiefert/events{/privacy}","received_events_url":"https://api.github.com/users/davidsiefert/received_events","type":"User","site_admin":false},"repo":{"id":46893044,"name":"kubernetes","full_name":"davidsiefert/kubernetes","owner":{"login":"davidsiefert","id":5030667,"avatar_url":"https://avatars.githubusercontent.com/u/5030667?v=3","gravatar_id":"","url":"https://api.github.com/users/davidsiefert","html_url":"https://github.com/davidsiefert","followers_url":"https://api.github.com/users/davidsiefert/followers","following_url":"https://api.github.com/users/davidsiefert/following{/other_user}","gists_url":"https://api.github.com/users/davidsiefert/gists{/gist_id}","starred_url":"https://api.github.com/users/davidsiefert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidsiefert/subscriptions","organizations_url":"https://api.github.com/users/davidsiefert/orgs","repos_url":"https://api.github.com/users/davidsiefert/repos","events_url":"https://api.github.com/users/davidsiefert/events{/privacy}","received_events_url":"https://api.github.com/users/davidsiefert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidsiefert/kubernetes","description":"Container Cluster Manager from Google","fork":true,"url":"https://api.github.com/repos/davidsiefert/kubernetes","forks_url":"https://api.github.com/repos/davidsiefert/kubernetes/forks","keys_url":"https://api.github.com/repos/davidsiefert/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidsiefert/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidsiefert/kubernetes/teams","hooks_url":"https://api.github.com/repos/davidsiefert/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/davidsiefert/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/davidsiefert/kubernetes/events","assignees_url":"https://api.github.com/repos/davidsiefert/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/davidsiefert/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/davidsiefert/kubernetes/tags","blobs_url":"https://api.github.com/repos/davidsiefert/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidsiefert/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidsiefert/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidsiefert/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidsiefert/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/davidsiefert/kubernetes/languages","stargazers_url":"https://api.github.com/repos/davidsiefert/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/davidsiefert/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/davidsiefert/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/davidsiefert/kubernetes/subscription","commits_url":"https://api.github.com/repos/davidsiefert/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidsiefert/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidsiefert/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidsiefert/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidsiefert/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/davidsiefert/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidsiefert/kubernetes/merges","archive_url":"https://api.github.com/repos/davidsiefert/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidsiefert/kubernetes/downloads","issues_url":"https://api.github.com/repos/davidsiefert/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/davidsiefert/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/davidsiefert/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/davidsiefert/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidsiefert/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/davidsiefert/kubernetes/releases{/id}","created_at":"2015-11-25T23:23:33Z","updated_at":"2015-11-25T23:24:27Z","pushed_at":"2015-11-25T23:29:45Z","git_url":"git://github.com/davidsiefert/kubernetes.git","ssh_url":"git@github.com:davidsiefert/kubernetes.git","clone_url":"https://github.com/davidsiefert/kubernetes.git","svn_url":"https://github.com/davidsiefert/kubernetes","homepage":"http://kubernetes.io","size":140431,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:master","ref":"master","sha":"851ed7a9f24884c50256cdcfb963208e800a53a3","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":20580498,"name":"kubernetes","full_name":"kubernetes/kubernetes","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/kubernetes","description":"Container Cluster Manager from Google","fork":false,"url":"https://api.github.com/repos/kubernetes/kubernetes","forks_url":"https://api.github.com/repos/kubernetes/kubernetes/forks","keys_url":"https://api.github.com/repos/kubernetes/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/kubernetes/teams","hooks_url":"https://api.github.com/repos/kubernetes/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/kubernetes/events","assignees_url":"https://api.github.com/repos/kubernetes/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/kubernetes/tags","blobs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/kubernetes/languages","stargazers_url":"https://api.github.com/repos/kubernetes/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/kubernetes/subscription","commits_url":"https://api.github.com/repos/kubernetes/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/kubernetes/merges","archive_url":"https://api.github.com/repos/kubernetes/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/kubernetes/downloads","issues_url":"https://api.github.com/repos/kubernetes/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/kubernetes/releases{/id}","created_at":"2014-06-06T22:56:04Z","updated_at":"2015-12-01T07:04:55Z","pushed_at":"2015-12-01T07:45:22Z","git_url":"git://github.com/kubernetes/kubernetes.git","ssh_url":"git@github.com:kubernetes/kubernetes.git","clone_url":"https://github.com/kubernetes/kubernetes.git","svn_url":"https://github.com/kubernetes/kubernetes","homepage":"http://kubernetes.io","size":291800,"stargazers_count":11553,"watchers_count":11553,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3100,"mirror_url":null,"open_issues_count":2478,"forks":3100,"open_issues":2478,"watchers":11553,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17803"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/17803"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/17803"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/17803/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17803/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17803/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/94d32588f410d36339a8c7013b5985836bee409d"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":11,"review_comments":2,"commits":1,"additions":36,"deletions":21,"changed_files":1}}