{"action":"created","comment":{"url":"https://api.github.com/repos/gerred/kube-cluster/pulls/comments/39926343","id":39926343,"diff_hunk":"@@ -0,0 +1,11 @@\n+package drivers\n+\n+// The Driver interface is the set of functions required to start, manage, and verify a Kubernetes cluster. Inspired by the steps used in kube-up.sh, with extensions for management and scaling of clusters.\n+type Driver interface {\n+\tGenerateCerts()\n+\tGetTokens()\n+\tProvisionMaster()\n+\tConfigureMaster()\n+\tProvisionNode()","path":"drivers/drivers.go","position":9,"original_position":9,"commit_id":"94de801c2f66fc67d1dfe5c2176680ae516f0f03","original_commit_id":"94de801c2f66fc67d1dfe5c2176680ae516f0f03","user":{"login":"gerred","id":365659,"avatar_url":"https://avatars.githubusercontent.com/u/365659?v=3","gravatar_id":"","url":"https://api.github.com/users/gerred","html_url":"https://github.com/gerred","followers_url":"https://api.github.com/users/gerred/followers","following_url":"https://api.github.com/users/gerred/following{/other_user}","gists_url":"https://api.github.com/users/gerred/gists{/gist_id}","starred_url":"https://api.github.com/users/gerred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerred/subscriptions","organizations_url":"https://api.github.com/users/gerred/orgs","repos_url":"https://api.github.com/users/gerred/repos","events_url":"https://api.github.com/users/gerred/events{/privacy}","received_events_url":"https://api.github.com/users/gerred/received_events","type":"User","site_admin":false},"body":"Also, going to use viper for a single config surface that cobra/env vars all pipe into (so config and cli aren't tied tightly together) for this first provider.","created_at":"2015-09-20T03:31:50Z","updated_at":"2015-09-20T03:31:50Z","html_url":"https://github.com/gerred/kube-cluster/pull/5#discussion_r39926343","pull_request_url":"https://api.github.com/repos/gerred/kube-cluster/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/gerred/kube-cluster/pulls/comments/39926343"},"html":{"href":"https://github.com/gerred/kube-cluster/pull/5#discussion_r39926343"},"pull_request":{"href":"https://api.github.com/repos/gerred/kube-cluster/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/gerred/kube-cluster/pulls/5","id":45488356,"html_url":"https://github.com/gerred/kube-cluster/pull/5","diff_url":"https://github.com/gerred/kube-cluster/pull/5.diff","patch_url":"https://github.com/gerred/kube-cluster/pull/5.patch","issue_url":"https://api.github.com/repos/gerred/kube-cluster/issues/5","number":5,"state":"open","locked":false,"title":"[WORKING] Initial create command","user":{"login":"gerred","id":365659,"avatar_url":"https://avatars.githubusercontent.com/u/365659?v=3","gravatar_id":"","url":"https://api.github.com/users/gerred","html_url":"https://github.com/gerred","followers_url":"https://api.github.com/users/gerred/followers","following_url":"https://api.github.com/users/gerred/following{/other_user}","gists_url":"https://api.github.com/users/gerred/gists{/gist_id}","starred_url":"https://api.github.com/users/gerred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerred/subscriptions","organizations_url":"https://api.github.com/users/gerred/orgs","repos_url":"https://api.github.com/users/gerred/repos","events_url":"https://api.github.com/users/gerred/events{/privacy}","received_events_url":"https://api.github.com/users/gerred/received_events","type":"User","site_admin":false},"body":"The create command will, given a registered provisioner / driver, create a Kubernetes cluster. This PR will use a mock provisioner / driver.","created_at":"2015-09-20T02:21:42Z","updated_at":"2015-09-20T03:31:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21cf600dedd536cf062dd613e8cd035a41c65696","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gerred/kube-cluster/pulls/5/commits","review_comments_url":"https://api.github.com/repos/gerred/kube-cluster/pulls/5/comments","review_comment_url":"https://api.github.com/repos/gerred/kube-cluster/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gerred/kube-cluster/issues/5/comments","statuses_url":"https://api.github.com/repos/gerred/kube-cluster/statuses/94de801c2f66fc67d1dfe5c2176680ae516f0f03","head":{"label":"gerred:create-command","ref":"create-command","sha":"94de801c2f66fc67d1dfe5c2176680ae516f0f03","user":{"login":"gerred","id":365659,"avatar_url":"https://avatars.githubusercontent.com/u/365659?v=3","gravatar_id":"","url":"https://api.github.com/users/gerred","html_url":"https://github.com/gerred","followers_url":"https://api.github.com/users/gerred/followers","following_url":"https://api.github.com/users/gerred/following{/other_user}","gists_url":"https://api.github.com/users/gerred/gists{/gist_id}","starred_url":"https://api.github.com/users/gerred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerred/subscriptions","organizations_url":"https://api.github.com/users/gerred/orgs","repos_url":"https://api.github.com/users/gerred/repos","events_url":"https://api.github.com/users/gerred/events{/privacy}","received_events_url":"https://api.github.com/users/gerred/received_events","type":"User","site_admin":false},"repo":{"id":42263816,"name":"kube-cluster","full_name":"gerred/kube-cluster","owner":{"login":"gerred","id":365659,"avatar_url":"https://avatars.githubusercontent.com/u/365659?v=3","gravatar_id":"","url":"https://api.github.com/users/gerred","html_url":"https://github.com/gerred","followers_url":"https://api.github.com/users/gerred/followers","following_url":"https://api.github.com/users/gerred/following{/other_user}","gists_url":"https://api.github.com/users/gerred/gists{/gist_id}","starred_url":"https://api.github.com/users/gerred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerred/subscriptions","organizations_url":"https://api.github.com/users/gerred/orgs","repos_url":"https://api.github.com/users/gerred/repos","events_url":"https://api.github.com/users/gerred/events{/privacy}","received_events_url":"https://api.github.com/users/gerred/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gerred/kube-cluster","description":"Provisioning, scaling, and environments for Kubernetes clusters","fork":false,"url":"https://api.github.com/repos/gerred/kube-cluster","forks_url":"https://api.github.com/repos/gerred/kube-cluster/forks","keys_url":"https://api.github.com/repos/gerred/kube-cluster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gerred/kube-cluster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gerred/kube-cluster/teams","hooks_url":"https://api.github.com/repos/gerred/kube-cluster/hooks","issue_events_url":"https://api.github.com/repos/gerred/kube-cluster/issues/events{/number}","events_url":"https://api.github.com/repos/gerred/kube-cluster/events","assignees_url":"https://api.github.com/repos/gerred/kube-cluster/assignees{/user}","branches_url":"https://api.github.com/repos/gerred/kube-cluster/branches{/branch}","tags_url":"https://api.github.com/repos/gerred/kube-cluster/tags","blobs_url":"https://api.github.com/repos/gerred/kube-cluster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gerred/kube-cluster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gerred/kube-cluster/git/refs{/sha}","trees_url":"https://api.github.com/repos/gerred/kube-cluster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gerred/kube-cluster/statuses/{sha}","languages_url":"https://api.github.com/repos/gerred/kube-cluster/languages","stargazers_url":"https://api.github.com/repos/gerred/kube-cluster/stargazers","contributors_url":"https://api.github.com/repos/gerred/kube-cluster/contributors","subscribers_url":"https://api.github.com/repos/gerred/kube-cluster/subscribers","subscription_url":"https://api.github.com/repos/gerred/kube-cluster/subscription","commits_url":"https://api.github.com/repos/gerred/kube-cluster/commits{/sha}","git_commits_url":"https://api.github.com/repos/gerred/kube-cluster/git/commits{/sha}","comments_url":"https://api.github.com/repos/gerred/kube-cluster/comments{/number}","issue_comment_url":"https://api.github.com/repos/gerred/kube-cluster/issues/comments{/number}","contents_url":"https://api.github.com/repos/gerred/kube-cluster/contents/{+path}","compare_url":"https://api.github.com/repos/gerred/kube-cluster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gerred/kube-cluster/merges","archive_url":"https://api.github.com/repos/gerred/kube-cluster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gerred/kube-cluster/downloads","issues_url":"https://api.github.com/repos/gerred/kube-cluster/issues{/number}","pulls_url":"https://api.github.com/repos/gerred/kube-cluster/pulls{/number}","milestones_url":"https://api.github.com/repos/gerred/kube-cluster/milestones{/number}","notifications_url":"https://api.github.com/repos/gerred/kube-cluster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gerred/kube-cluster/labels{/name}","releases_url":"https://api.github.com/repos/gerred/kube-cluster/releases{/id}","created_at":"2015-09-10T18:47:32Z","updated_at":"2015-09-20T01:51:42Z","pushed_at":"2015-09-20T03:08:33Z","git_url":"git://github.com/gerred/kube-cluster.git","ssh_url":"git@github.com:gerred/kube-cluster.git","clone_url":"https://github.com/gerred/kube-cluster.git","svn_url":"https://github.com/gerred/kube-cluster","homepage":null,"size":152,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"gerred:master","ref":"master","sha":"20028b9b1dae4dcc9201e698e7b62448eb8d1f29","user":{"login":"gerred","id":365659,"avatar_url":"https://avatars.githubusercontent.com/u/365659?v=3","gravatar_id":"","url":"https://api.github.com/users/gerred","html_url":"https://github.com/gerred","followers_url":"https://api.github.com/users/gerred/followers","following_url":"https://api.github.com/users/gerred/following{/other_user}","gists_url":"https://api.github.com/users/gerred/gists{/gist_id}","starred_url":"https://api.github.com/users/gerred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerred/subscriptions","organizations_url":"https://api.github.com/users/gerred/orgs","repos_url":"https://api.github.com/users/gerred/repos","events_url":"https://api.github.com/users/gerred/events{/privacy}","received_events_url":"https://api.github.com/users/gerred/received_events","type":"User","site_admin":false},"repo":{"id":42263816,"name":"kube-cluster","full_name":"gerred/kube-cluster","owner":{"login":"gerred","id":365659,"avatar_url":"https://avatars.githubusercontent.com/u/365659?v=3","gravatar_id":"","url":"https://api.github.com/users/gerred","html_url":"https://github.com/gerred","followers_url":"https://api.github.com/users/gerred/followers","following_url":"https://api.github.com/users/gerred/following{/other_user}","gists_url":"https://api.github.com/users/gerred/gists{/gist_id}","starred_url":"https://api.github.com/users/gerred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerred/subscriptions","organizations_url":"https://api.github.com/users/gerred/orgs","repos_url":"https://api.github.com/users/gerred/repos","events_url":"https://api.github.com/users/gerred/events{/privacy}","received_events_url":"https://api.github.com/users/gerred/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gerred/kube-cluster","description":"Provisioning, scaling, and environments for Kubernetes clusters","fork":false,"url":"https://api.github.com/repos/gerred/kube-cluster","forks_url":"https://api.github.com/repos/gerred/kube-cluster/forks","keys_url":"https://api.github.com/repos/gerred/kube-cluster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gerred/kube-cluster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gerred/kube-cluster/teams","hooks_url":"https://api.github.com/repos/gerred/kube-cluster/hooks","issue_events_url":"https://api.github.com/repos/gerred/kube-cluster/issues/events{/number}","events_url":"https://api.github.com/repos/gerred/kube-cluster/events","assignees_url":"https://api.github.com/repos/gerred/kube-cluster/assignees{/user}","branches_url":"https://api.github.com/repos/gerred/kube-cluster/branches{/branch}","tags_url":"https://api.github.com/repos/gerred/kube-cluster/tags","blobs_url":"https://api.github.com/repos/gerred/kube-cluster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gerred/kube-cluster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gerred/kube-cluster/git/refs{/sha}","trees_url":"https://api.github.com/repos/gerred/kube-cluster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gerred/kube-cluster/statuses/{sha}","languages_url":"https://api.github.com/repos/gerred/kube-cluster/languages","stargazers_url":"https://api.github.com/repos/gerred/kube-cluster/stargazers","contributors_url":"https://api.github.com/repos/gerred/kube-cluster/contributors","subscribers_url":"https://api.github.com/repos/gerred/kube-cluster/subscribers","subscription_url":"https://api.github.com/repos/gerred/kube-cluster/subscription","commits_url":"https://api.github.com/repos/gerred/kube-cluster/commits{/sha}","git_commits_url":"https://api.github.com/repos/gerred/kube-cluster/git/commits{/sha}","comments_url":"https://api.github.com/repos/gerred/kube-cluster/comments{/number}","issue_comment_url":"https://api.github.com/repos/gerred/kube-cluster/issues/comments{/number}","contents_url":"https://api.github.com/repos/gerred/kube-cluster/contents/{+path}","compare_url":"https://api.github.com/repos/gerred/kube-cluster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gerred/kube-cluster/merges","archive_url":"https://api.github.com/repos/gerred/kube-cluster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gerred/kube-cluster/downloads","issues_url":"https://api.github.com/repos/gerred/kube-cluster/issues{/number}","pulls_url":"https://api.github.com/repos/gerred/kube-cluster/pulls{/number}","milestones_url":"https://api.github.com/repos/gerred/kube-cluster/milestones{/number}","notifications_url":"https://api.github.com/repos/gerred/kube-cluster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gerred/kube-cluster/labels{/name}","releases_url":"https://api.github.com/repos/gerred/kube-cluster/releases{/id}","created_at":"2015-09-10T18:47:32Z","updated_at":"2015-09-20T01:51:42Z","pushed_at":"2015-09-20T03:08:33Z","git_url":"git://github.com/gerred/kube-cluster.git","ssh_url":"git@github.com:gerred/kube-cluster.git","clone_url":"https://github.com/gerred/kube-cluster.git","svn_url":"https://github.com/gerred/kube-cluster","homepage":null,"size":152,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gerred/kube-cluster/pulls/5"},"html":{"href":"https://github.com/gerred/kube-cluster/pull/5"},"issue":{"href":"https://api.github.com/repos/gerred/kube-cluster/issues/5"},"comments":{"href":"https://api.github.com/repos/gerred/kube-cluster/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/gerred/kube-cluster/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/gerred/kube-cluster/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gerred/kube-cluster/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/gerred/kube-cluster/statuses/94de801c2f66fc67d1dfe5c2176680ae516f0f03"}}}}