{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/heapster/pulls/comments/43878480","id":43878480,"diff_hunk":"@@ -0,0 +1,33 @@\n+// Copyright 2015 Google Inc. All Rights Reserved.\n+//\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at\n+//\n+//     http://www.apache.org/licenses/LICENSE-2.0\n+//\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS,\n+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+// See the License for the specific language governing permissions and\n+// limitations under the License.\n+\n+package processor\n+\n+import (\n+\t. \"k8s.io/heapster/types\"\n+)\n+\n+type DataProcessor interface {\n+\tProcess(*DataBatch) *DataBatch\n+}\n+\n+func NewDataProcessor() (DataProcessor, error) {\n+\treturn &realDataProcessor{}, nil\n+}\n+\n+type realDataProcessor struct{}","path":"processor/processor.go","position":null,"original_position":29,"commit_id":"ecf6c1ec51d6f08abe757c9d49b21fb71e2f3712","original_commit_id":"781699f52a7b9707ee5657c27e2adf8353458789","user":{"login":"piosz","id":10819974,"avatar_url":"https://avatars.githubusercontent.com/u/10819974?v=3","gravatar_id":"","url":"https://api.github.com/users/piosz","html_url":"https://github.com/piosz","followers_url":"https://api.github.com/users/piosz/followers","following_url":"https://api.github.com/users/piosz/following{/other_user}","gists_url":"https://api.github.com/users/piosz/gists{/gist_id}","starred_url":"https://api.github.com/users/piosz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piosz/subscriptions","organizations_url":"https://api.github.com/users/piosz/orgs","repos_url":"https://api.github.com/users/piosz/repos","events_url":"https://api.github.com/users/piosz/events{/privacy}","received_events_url":"https://api.github.com/users/piosz/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2015-11-04T13:16:22Z","updated_at":"2015-11-04T13:16:22Z","html_url":"https://github.com/kubernetes/heapster/pull/685#discussion_r43878480","pull_request_url":"https://api.github.com/repos/kubernetes/heapster/pulls/685","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/heapster/pulls/comments/43878480"},"html":{"href":"https://github.com/kubernetes/heapster/pull/685#discussion_r43878480"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/heapster/pulls/685"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes/heapster/pulls/685","id":49680387,"html_url":"https://github.com/kubernetes/heapster/pull/685","diff_url":"https://github.com/kubernetes/heapster/pull/685.diff","patch_url":"https://github.com/kubernetes/heapster/pull/685.patch","issue_url":"https://api.github.com/repos/kubernetes/heapster/issues/685","number":685,"state":"open","locked":false,"title":"Initial skeleton of new data flow","user":{"login":"piosz","id":10819974,"avatar_url":"https://avatars.githubusercontent.com/u/10819974?v=3","gravatar_id":"","url":"https://api.github.com/users/piosz","html_url":"https://github.com/piosz","followers_url":"https://api.github.com/users/piosz/followers","following_url":"https://api.github.com/users/piosz/following{/other_user}","gists_url":"https://api.github.com/users/piosz/gists{/gist_id}","starred_url":"https://api.github.com/users/piosz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piosz/subscriptions","organizations_url":"https://api.github.com/users/piosz/orgs","repos_url":"https://api.github.com/users/piosz/repos","events_url":"https://api.github.com/users/piosz/events{/privacy}","received_events_url":"https://api.github.com/users/piosz/received_events","type":"User","site_admin":false},"body":"@mwielgus ","created_at":"2015-11-04T12:03:18Z","updated_at":"2015-11-04T13:16:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5bc6e32835c129cf58203dec0037db89aa87e288","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/heapster/pulls/685/commits","review_comments_url":"https://api.github.com/repos/kubernetes/heapster/pulls/685/comments","review_comment_url":"https://api.github.com/repos/kubernetes/heapster/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/heapster/issues/685/comments","statuses_url":"https://api.github.com/repos/kubernetes/heapster/statuses/ecf6c1ec51d6f08abe757c9d49b21fb71e2f3712","head":{"label":"piosz:skeleton","ref":"skeleton","sha":"ecf6c1ec51d6f08abe757c9d49b21fb71e2f3712","user":{"login":"piosz","id":10819974,"avatar_url":"https://avatars.githubusercontent.com/u/10819974?v=3","gravatar_id":"","url":"https://api.github.com/users/piosz","html_url":"https://github.com/piosz","followers_url":"https://api.github.com/users/piosz/followers","following_url":"https://api.github.com/users/piosz/following{/other_user}","gists_url":"https://api.github.com/users/piosz/gists{/gist_id}","starred_url":"https://api.github.com/users/piosz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piosz/subscriptions","organizations_url":"https://api.github.com/users/piosz/orgs","repos_url":"https://api.github.com/users/piosz/repos","events_url":"https://api.github.com/users/piosz/events{/privacy}","received_events_url":"https://api.github.com/users/piosz/received_events","type":"User","site_admin":false},"repo":{"id":36727558,"name":"heapster","full_name":"piosz/heapster","owner":{"login":"piosz","id":10819974,"avatar_url":"https://avatars.githubusercontent.com/u/10819974?v=3","gravatar_id":"","url":"https://api.github.com/users/piosz","html_url":"https://github.com/piosz","followers_url":"https://api.github.com/users/piosz/followers","following_url":"https://api.github.com/users/piosz/following{/other_user}","gists_url":"https://api.github.com/users/piosz/gists{/gist_id}","starred_url":"https://api.github.com/users/piosz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piosz/subscriptions","organizations_url":"https://api.github.com/users/piosz/orgs","repos_url":"https://api.github.com/users/piosz/repos","events_url":"https://api.github.com/users/piosz/events{/privacy}","received_events_url":"https://api.github.com/users/piosz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/piosz/heapster","description":"Monitor container resource usage of a Kubernetes cluster","fork":true,"url":"https://api.github.com/repos/piosz/heapster","forks_url":"https://api.github.com/repos/piosz/heapster/forks","keys_url":"https://api.github.com/repos/piosz/heapster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/piosz/heapster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/piosz/heapster/teams","hooks_url":"https://api.github.com/repos/piosz/heapster/hooks","issue_events_url":"https://api.github.com/repos/piosz/heapster/issues/events{/number}","events_url":"https://api.github.com/repos/piosz/heapster/events","assignees_url":"https://api.github.com/repos/piosz/heapster/assignees{/user}","branches_url":"https://api.github.com/repos/piosz/heapster/branches{/branch}","tags_url":"https://api.github.com/repos/piosz/heapster/tags","blobs_url":"https://api.github.com/repos/piosz/heapster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/piosz/heapster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/piosz/heapster/git/refs{/sha}","trees_url":"https://api.github.com/repos/piosz/heapster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/piosz/heapster/statuses/{sha}","languages_url":"https://api.github.com/repos/piosz/heapster/languages","stargazers_url":"https://api.github.com/repos/piosz/heapster/stargazers","contributors_url":"https://api.github.com/repos/piosz/heapster/contributors","subscribers_url":"https://api.github.com/repos/piosz/heapster/subscribers","subscription_url":"https://api.github.com/repos/piosz/heapster/subscription","commits_url":"https://api.github.com/repos/piosz/heapster/commits{/sha}","git_commits_url":"https://api.github.com/repos/piosz/heapster/git/commits{/sha}","comments_url":"https://api.github.com/repos/piosz/heapster/comments{/number}","issue_comment_url":"https://api.github.com/repos/piosz/heapster/issues/comments{/number}","contents_url":"https://api.github.com/repos/piosz/heapster/contents/{+path}","compare_url":"https://api.github.com/repos/piosz/heapster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/piosz/heapster/merges","archive_url":"https://api.github.com/repos/piosz/heapster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/piosz/heapster/downloads","issues_url":"https://api.github.com/repos/piosz/heapster/issues{/number}","pulls_url":"https://api.github.com/repos/piosz/heapster/pulls{/number}","milestones_url":"https://api.github.com/repos/piosz/heapster/milestones{/number}","notifications_url":"https://api.github.com/repos/piosz/heapster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/piosz/heapster/labels{/name}","releases_url":"https://api.github.com/repos/piosz/heapster/releases{/id}","created_at":"2015-06-02T11:08:19Z","updated_at":"2015-06-02T11:08:20Z","pushed_at":"2015-11-04T13:16:16Z","git_url":"git://github.com/piosz/heapster.git","ssh_url":"git@github.com:piosz/heapster.git","clone_url":"https://github.com/piosz/heapster.git","svn_url":"https://github.com/piosz/heapster","homepage":"","size":21225,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:heapster-scalability","ref":"heapster-scalability","sha":"1e468bab20db2e2eceb501780c13401eeffea5cc","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":23272510,"name":"heapster","full_name":"kubernetes/heapster","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/heapster","description":"Compute Resource Usage Analysis and Monitoring of Container Clusters","fork":false,"url":"https://api.github.com/repos/kubernetes/heapster","forks_url":"https://api.github.com/repos/kubernetes/heapster/forks","keys_url":"https://api.github.com/repos/kubernetes/heapster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/heapster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/heapster/teams","hooks_url":"https://api.github.com/repos/kubernetes/heapster/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/heapster/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/heapster/events","assignees_url":"https://api.github.com/repos/kubernetes/heapster/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/heapster/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/heapster/tags","blobs_url":"https://api.github.com/repos/kubernetes/heapster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/heapster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/heapster/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/heapster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/heapster/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/heapster/languages","stargazers_url":"https://api.github.com/repos/kubernetes/heapster/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/heapster/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/heapster/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/heapster/subscription","commits_url":"https://api.github.com/repos/kubernetes/heapster/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/heapster/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/heapster/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/heapster/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/heapster/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/heapster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/heapster/merges","archive_url":"https://api.github.com/repos/kubernetes/heapster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/heapster/downloads","issues_url":"https://api.github.com/repos/kubernetes/heapster/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/heapster/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/heapster/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/heapster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/heapster/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/heapster/releases{/id}","created_at":"2014-08-24T03:50:18Z","updated_at":"2015-11-04T01:36:55Z","pushed_at":"2015-11-04T13:16:17Z","git_url":"git://github.com/kubernetes/heapster.git","ssh_url":"git@github.com:kubernetes/heapster.git","clone_url":"https://github.com/kubernetes/heapster.git","svn_url":"https://github.com/kubernetes/heapster","homepage":"","size":24341,"stargazers_count":470,"watchers_count":470,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":131,"mirror_url":null,"open_issues_count":126,"forks":131,"open_issues":126,"watchers":470,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/heapster/pulls/685"},"html":{"href":"https://github.com/kubernetes/heapster/pull/685"},"issue":{"href":"https://api.github.com/repos/kubernetes/heapster/issues/685"},"comments":{"href":"https://api.github.com/repos/kubernetes/heapster/issues/685/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/heapster/pulls/685/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/heapster/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/heapster/pulls/685/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/heapster/statuses/ecf6c1ec51d6f08abe757c9d49b21fb71e2f3712"}}}}