{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/comments/28641782","id":28641782,"diff_hunk":"@@ -49,6 +49,7 @@ type SchedulerServer struct {\n \tAddress           util.IP\n \tClientConfig      client.Config\n \tAlgorithmProvider string\n+\tAlgoProviders     string","path":"plugin/cmd/kube-scheduler/app/server.go","position":4,"original_position":4,"commit_id":"d85c4d828acc242490e326635b329c0abc37ffde","original_commit_id":"d85c4d828acc242490e326635b329c0abc37ffde","user":{"login":"HaiyangDING","id":11399486,"avatar_url":"https://avatars.githubusercontent.com/u/11399486?v=3","gravatar_id":"","url":"https://api.github.com/users/HaiyangDING","html_url":"https://github.com/HaiyangDING","followers_url":"https://api.github.com/users/HaiyangDING/followers","following_url":"https://api.github.com/users/HaiyangDING/following{/other_user}","gists_url":"https://api.github.com/users/HaiyangDING/gists{/gist_id}","starred_url":"https://api.github.com/users/HaiyangDING/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaiyangDING/subscriptions","organizations_url":"https://api.github.com/users/HaiyangDING/orgs","repos_url":"https://api.github.com/users/HaiyangDING/repos","events_url":"https://api.github.com/users/HaiyangDING/events{/privacy}","received_events_url":"https://api.github.com/users/HaiyangDING/received_events","type":"User","site_admin":false},"body":"Noted.","created_at":"2015-04-18T06:11:44Z","updated_at":"2015-04-18T06:11:44Z","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/6967#discussion_r28641782","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/6967","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/comments/28641782"},"html":{"href":"https://github.com/GoogleCloudPlatform/kubernetes/pull/6967#discussion_r28641782"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/6967"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/6967","id":33519565,"html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/6967","diff_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/6967.diff","patch_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/6967.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/6967","number":6967,"state":"open","locked":false,"title":"Listing existing algorithm providers in scheduler","user":{"login":"HaiyangDING","id":11399486,"avatar_url":"https://avatars.githubusercontent.com/u/11399486?v=3","gravatar_id":"","url":"https://api.github.com/users/HaiyangDING","html_url":"https://github.com/HaiyangDING","followers_url":"https://api.github.com/users/HaiyangDING/followers","following_url":"https://api.github.com/users/HaiyangDING/following{/other_user}","gists_url":"https://api.github.com/users/HaiyangDING/gists{/gist_id}","starred_url":"https://api.github.com/users/HaiyangDING/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaiyangDING/subscriptions","organizations_url":"https://api.github.com/users/HaiyangDING/orgs","repos_url":"https://api.github.com/users/HaiyangDING/repos","events_url":"https://api.github.com/users/HaiyangDING/events{/privacy}","received_events_url":"https://api.github.com/users/HaiyangDING/received_events","type":"User","site_admin":false},"body":"This PR implements issue #6612\r\n\r\nAllow 'kube-scheduler --help' to show available algorithm providers under new field '-- available_algorithm_providers'. All available providers are listed and separated by ' | '.\r\n\r\nI have run the test in my environment, with master version, and 'kube-scheduler --help' would print one additional line:\r\n\r\n-- available_algorithm_providers =\" | DefaultProvider | \": Available algorithm providers to use\r\n\r\nIf custom algorithm provider is implemented, then:\r\n\r\n-- available_algorithm_providers =\" | DefaultProvider | MyCoolProvider | \": Available algorithm providers to use\r\n\r\nI personally think this is a good way, simple and intuitive.\r\n\r\nPlease let me know if there is anything need to be changed. @lavalamp ","created_at":"2015-04-17T07:12:42Z","updated_at":"2015-04-18T06:11:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aeb8b79da5e6343ef521d9dc10eb39f26821cbe8","assignee":{"login":"davidopp","id":8264113,"avatar_url":"https://avatars.githubusercontent.com/u/8264113?v=3","gravatar_id":"","url":"https://api.github.com/users/davidopp","html_url":"https://github.com/davidopp","followers_url":"https://api.github.com/users/davidopp/followers","following_url":"https://api.github.com/users/davidopp/following{/other_user}","gists_url":"https://api.github.com/users/davidopp/gists{/gist_id}","starred_url":"https://api.github.com/users/davidopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidopp/subscriptions","organizations_url":"https://api.github.com/users/davidopp/orgs","repos_url":"https://api.github.com/users/davidopp/repos","events_url":"https://api.github.com/users/davidopp/events{/privacy}","received_events_url":"https://api.github.com/users/davidopp/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/6967/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/6967/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/6967/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/statuses/d85c4d828acc242490e326635b329c0abc37ffde","head":{"label":"HaiyangDING:ListAlgos","ref":"ListAlgos","sha":"d85c4d828acc242490e326635b329c0abc37ffde","user":{"login":"HaiyangDING","id":11399486,"avatar_url":"https://avatars.githubusercontent.com/u/11399486?v=3","gravatar_id":"","url":"https://api.github.com/users/HaiyangDING","html_url":"https://github.com/HaiyangDING","followers_url":"https://api.github.com/users/HaiyangDING/followers","following_url":"https://api.github.com/users/HaiyangDING/following{/other_user}","gists_url":"https://api.github.com/users/HaiyangDING/gists{/gist_id}","starred_url":"https://api.github.com/users/HaiyangDING/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaiyangDING/subscriptions","organizations_url":"https://api.github.com/users/HaiyangDING/orgs","repos_url":"https://api.github.com/users/HaiyangDING/repos","events_url":"https://api.github.com/users/HaiyangDING/events{/privacy}","received_events_url":"https://api.github.com/users/HaiyangDING/received_events","type":"User","site_admin":false},"repo":{"id":33019331,"name":"kubernetes","full_name":"HaiyangDING/kubernetes","owner":{"login":"HaiyangDING","id":11399486,"avatar_url":"https://avatars.githubusercontent.com/u/11399486?v=3","gravatar_id":"","url":"https://api.github.com/users/HaiyangDING","html_url":"https://github.com/HaiyangDING","followers_url":"https://api.github.com/users/HaiyangDING/followers","following_url":"https://api.github.com/users/HaiyangDING/following{/other_user}","gists_url":"https://api.github.com/users/HaiyangDING/gists{/gist_id}","starred_url":"https://api.github.com/users/HaiyangDING/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaiyangDING/subscriptions","organizations_url":"https://api.github.com/users/HaiyangDING/orgs","repos_url":"https://api.github.com/users/HaiyangDING/repos","events_url":"https://api.github.com/users/HaiyangDING/events{/privacy}","received_events_url":"https://api.github.com/users/HaiyangDING/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HaiyangDING/kubernetes","description":"Container Cluster Manager from Google","fork":true,"url":"https://api.github.com/repos/HaiyangDING/kubernetes","forks_url":"https://api.github.com/repos/HaiyangDING/kubernetes/forks","keys_url":"https://api.github.com/repos/HaiyangDING/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HaiyangDING/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HaiyangDING/kubernetes/teams","hooks_url":"https://api.github.com/repos/HaiyangDING/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/HaiyangDING/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/HaiyangDING/kubernetes/events","assignees_url":"https://api.github.com/repos/HaiyangDING/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/HaiyangDING/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/HaiyangDING/kubernetes/tags","blobs_url":"https://api.github.com/repos/HaiyangDING/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HaiyangDING/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HaiyangDING/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/HaiyangDING/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HaiyangDING/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/HaiyangDING/kubernetes/languages","stargazers_url":"https://api.github.com/repos/HaiyangDING/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/HaiyangDING/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/HaiyangDING/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/HaiyangDING/kubernetes/subscription","commits_url":"https://api.github.com/repos/HaiyangDING/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/HaiyangDING/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/HaiyangDING/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/HaiyangDING/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/HaiyangDING/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/HaiyangDING/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HaiyangDING/kubernetes/merges","archive_url":"https://api.github.com/repos/HaiyangDING/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HaiyangDING/kubernetes/downloads","issues_url":"https://api.github.com/repos/HaiyangDING/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/HaiyangDING/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/HaiyangDING/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/HaiyangDING/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HaiyangDING/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/HaiyangDING/kubernetes/releases{/id}","created_at":"2015-03-28T03:14:48Z","updated_at":"2015-04-17T06:16:09Z","pushed_at":"2015-04-17T06:46:25Z","git_url":"git://github.com/HaiyangDING/kubernetes.git","ssh_url":"git@github.com:HaiyangDING/kubernetes.git","clone_url":"https://github.com/HaiyangDING/kubernetes.git","svn_url":"https://github.com/HaiyangDING/kubernetes","homepage":"http://kubernetes.io","size":46022,"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":"GoogleCloudPlatform:master","ref":"master","sha":"23f2401b4592445c34e5d7d9bb05a8839fbf4161","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":20580498,"name":"kubernetes","full_name":"GoogleCloudPlatform/kubernetes","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/kubernetes","description":"Container Cluster Manager from Google","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/releases{/id}","created_at":"2014-06-06T22:56:04Z","updated_at":"2015-04-18T05:04:33Z","pushed_at":"2015-04-18T04:52:05Z","git_url":"git://github.com/GoogleCloudPlatform/kubernetes.git","ssh_url":"git@github.com:GoogleCloudPlatform/kubernetes.git","clone_url":"https://github.com/GoogleCloudPlatform/kubernetes.git","svn_url":"https://github.com/GoogleCloudPlatform/kubernetes","homepage":"http://kubernetes.io","size":152753,"stargazers_count":7175,"watchers_count":7175,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1413,"mirror_url":null,"open_issues_count":920,"forks":1413,"open_issues":920,"watchers":7175,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/6967"},"html":{"href":"https://github.com/GoogleCloudPlatform/kubernetes/pull/6967"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/6967"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/6967/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/6967/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/6967/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/statuses/d85c4d828acc242490e326635b329c0abc37ffde"}}}}