{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes-incubator/spartakus/pulls/comments/81578073","pull_request_review_id":2547534,"id":81578073,"diff_hunk":"@@ -32,6 +32,23 @@ type Record struct {\n \tMasterVersion *string `json:\"masterVersion,omitempty\"`\n \t// Nodes is a list of node-specific information from the reporting cluster.\n \tNodes []Node `json:\"nodes,omitempty\"`\n+\t// Namespace contains statistics regarding the k8s namespace objects\n+\tNamespace Namespace `json:\"namespaces,omitempty\"`\n+}\n+\n+type Namespace struct {","path":"pkg/report/record.go","position":8,"original_position":8,"commit_id":"9549ca4e68e0dac449da115c8b74ec1e065aaa22","original_commit_id":"9549ca4e68e0dac449da115c8b74ec1e065aaa22","user":{"login":"thockin","id":5595220,"avatar_url":"https://avatars.githubusercontent.com/u/5595220?v=3","gravatar_id":"","url":"https://api.github.com/users/thockin","html_url":"https://github.com/thockin","followers_url":"https://api.github.com/users/thockin/followers","following_url":"https://api.github.com/users/thockin/following{/other_user}","gists_url":"https://api.github.com/users/thockin/gists{/gist_id}","starred_url":"https://api.github.com/users/thockin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thockin/subscriptions","organizations_url":"https://api.github.com/users/thockin/orgs","repos_url":"https://api.github.com/users/thockin/repos","events_url":"https://api.github.com/users/thockin/events{/privacy}","received_events_url":"https://api.github.com/users/thockin/received_events","type":"User","site_admin":false},"body":"Call this NamespaceStats - it doesn't represent a Namespace like a Node struct does.","created_at":"2016-10-03T15:45:43Z","updated_at":"2016-10-03T16:02:13Z","html_url":"https://github.com/kubernetes-incubator/spartakus/pull/6#discussion_r81578073","pull_request_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/kubernetes-incubator/spartakus/pulls/comments/81578073"},"html":{"href":"https://github.com/kubernetes-incubator/spartakus/pull/6#discussion_r81578073"},"pull_request":{"href":"https://api.github.com/repos/kubernetes-incubator/spartakus/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes-incubator/spartakus/pulls/6","id":87311871,"html_url":"https://github.com/kubernetes-incubator/spartakus/pull/6","diff_url":"https://github.com/kubernetes-incubator/spartakus/pull/6.diff","patch_url":"https://github.com/kubernetes-incubator/spartakus/pull/6.patch","issue_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/issues/6","number":6,"state":"open","locked":false,"title":"Collect statistics for the kube object namespace.","user":{"login":"kenan435","id":2983320,"avatar_url":"https://avatars.githubusercontent.com/u/2983320?v=3","gravatar_id":"","url":"https://api.github.com/users/kenan435","html_url":"https://github.com/kenan435","followers_url":"https://api.github.com/users/kenan435/followers","following_url":"https://api.github.com/users/kenan435/following{/other_user}","gists_url":"https://api.github.com/users/kenan435/gists{/gist_id}","starred_url":"https://api.github.com/users/kenan435/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenan435/subscriptions","organizations_url":"https://api.github.com/users/kenan435/orgs","repos_url":"https://api.github.com/users/kenan435/repos","events_url":"https://api.github.com/users/kenan435/events{/privacy}","received_events_url":"https://api.github.com/users/kenan435/received_events","type":"User","site_admin":false},"body":"Added several statistics for the k8s namespace object.\r\n\r\nfixes #3 ","created_at":"2016-09-29T13:22:36Z","updated_at":"2016-10-03T16:02:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee8bb6157226cac492a9716f922d44e586dcd8f9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/pulls/6/commits","review_comments_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/pulls/6/comments","review_comment_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/issues/6/comments","statuses_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/statuses/9549ca4e68e0dac449da115c8b74ec1e065aaa22","head":{"label":"kenan435:namespace-stats","ref":"namespace-stats","sha":"9549ca4e68e0dac449da115c8b74ec1e065aaa22","user":{"login":"kenan435","id":2983320,"avatar_url":"https://avatars.githubusercontent.com/u/2983320?v=3","gravatar_id":"","url":"https://api.github.com/users/kenan435","html_url":"https://github.com/kenan435","followers_url":"https://api.github.com/users/kenan435/followers","following_url":"https://api.github.com/users/kenan435/following{/other_user}","gists_url":"https://api.github.com/users/kenan435/gists{/gist_id}","starred_url":"https://api.github.com/users/kenan435/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenan435/subscriptions","organizations_url":"https://api.github.com/users/kenan435/orgs","repos_url":"https://api.github.com/users/kenan435/repos","events_url":"https://api.github.com/users/kenan435/events{/privacy}","received_events_url":"https://api.github.com/users/kenan435/received_events","type":"User","site_admin":false},"repo":{"id":69444782,"name":"spartakus","full_name":"kenan435/spartakus","owner":{"login":"kenan435","id":2983320,"avatar_url":"https://avatars.githubusercontent.com/u/2983320?v=3","gravatar_id":"","url":"https://api.github.com/users/kenan435","html_url":"https://github.com/kenan435","followers_url":"https://api.github.com/users/kenan435/followers","following_url":"https://api.github.com/users/kenan435/following{/other_user}","gists_url":"https://api.github.com/users/kenan435/gists{/gist_id}","starred_url":"https://api.github.com/users/kenan435/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenan435/subscriptions","organizations_url":"https://api.github.com/users/kenan435/orgs","repos_url":"https://api.github.com/users/kenan435/repos","events_url":"https://api.github.com/users/kenan435/events{/privacy}","received_events_url":"https://api.github.com/users/kenan435/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kenan435/spartakus","description":"Anonymous Usage Collector","fork":true,"url":"https://api.github.com/repos/kenan435/spartakus","forks_url":"https://api.github.com/repos/kenan435/spartakus/forks","keys_url":"https://api.github.com/repos/kenan435/spartakus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kenan435/spartakus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kenan435/spartakus/teams","hooks_url":"https://api.github.com/repos/kenan435/spartakus/hooks","issue_events_url":"https://api.github.com/repos/kenan435/spartakus/issues/events{/number}","events_url":"https://api.github.com/repos/kenan435/spartakus/events","assignees_url":"https://api.github.com/repos/kenan435/spartakus/assignees{/user}","branches_url":"https://api.github.com/repos/kenan435/spartakus/branches{/branch}","tags_url":"https://api.github.com/repos/kenan435/spartakus/tags","blobs_url":"https://api.github.com/repos/kenan435/spartakus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kenan435/spartakus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kenan435/spartakus/git/refs{/sha}","trees_url":"https://api.github.com/repos/kenan435/spartakus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kenan435/spartakus/statuses/{sha}","languages_url":"https://api.github.com/repos/kenan435/spartakus/languages","stargazers_url":"https://api.github.com/repos/kenan435/spartakus/stargazers","contributors_url":"https://api.github.com/repos/kenan435/spartakus/contributors","subscribers_url":"https://api.github.com/repos/kenan435/spartakus/subscribers","subscription_url":"https://api.github.com/repos/kenan435/spartakus/subscription","commits_url":"https://api.github.com/repos/kenan435/spartakus/commits{/sha}","git_commits_url":"https://api.github.com/repos/kenan435/spartakus/git/commits{/sha}","comments_url":"https://api.github.com/repos/kenan435/spartakus/comments{/number}","issue_comment_url":"https://api.github.com/repos/kenan435/spartakus/issues/comments{/number}","contents_url":"https://api.github.com/repos/kenan435/spartakus/contents/{+path}","compare_url":"https://api.github.com/repos/kenan435/spartakus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kenan435/spartakus/merges","archive_url":"https://api.github.com/repos/kenan435/spartakus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kenan435/spartakus/downloads","issues_url":"https://api.github.com/repos/kenan435/spartakus/issues{/number}","pulls_url":"https://api.github.com/repos/kenan435/spartakus/pulls{/number}","milestones_url":"https://api.github.com/repos/kenan435/spartakus/milestones{/number}","notifications_url":"https://api.github.com/repos/kenan435/spartakus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kenan435/spartakus/labels{/name}","releases_url":"https://api.github.com/repos/kenan435/spartakus/releases{/id}","deployments_url":"https://api.github.com/repos/kenan435/spartakus/deployments","created_at":"2016-09-28T08:53:44Z","updated_at":"2016-09-28T08:53:47Z","pushed_at":"2016-09-30T12:38:52Z","git_url":"git://github.com/kenan435/spartakus.git","ssh_url":"git@github.com:kenan435/spartakus.git","clone_url":"https://github.com/kenan435/spartakus.git","svn_url":"https://github.com/kenan435/spartakus","homepage":null,"size":4031,"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-incubator:master","ref":"master","sha":"cf4224a767e7f67ca567b40cbfe50adae4185156","user":{"login":"kubernetes-incubator","id":20862812,"avatar_url":"https://avatars.githubusercontent.com/u/20862812?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes-incubator","html_url":"https://github.com/kubernetes-incubator","followers_url":"https://api.github.com/users/kubernetes-incubator/followers","following_url":"https://api.github.com/users/kubernetes-incubator/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes-incubator/subscriptions","organizations_url":"https://api.github.com/users/kubernetes-incubator/orgs","repos_url":"https://api.github.com/users/kubernetes-incubator/repos","events_url":"https://api.github.com/users/kubernetes-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":68672758,"name":"spartakus","full_name":"kubernetes-incubator/spartakus","owner":{"login":"kubernetes-incubator","id":20862812,"avatar_url":"https://avatars.githubusercontent.com/u/20862812?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes-incubator","html_url":"https://github.com/kubernetes-incubator","followers_url":"https://api.github.com/users/kubernetes-incubator/followers","following_url":"https://api.github.com/users/kubernetes-incubator/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes-incubator/subscriptions","organizations_url":"https://api.github.com/users/kubernetes-incubator/orgs","repos_url":"https://api.github.com/users/kubernetes-incubator/repos","events_url":"https://api.github.com/users/kubernetes-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes-incubator/spartakus","description":"Anonymous Usage Collector","fork":false,"url":"https://api.github.com/repos/kubernetes-incubator/spartakus","forks_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/forks","keys_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/teams","hooks_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/hooks","issue_events_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/events","assignees_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/tags","blobs_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/languages","stargazers_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/stargazers","contributors_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/contributors","subscribers_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/subscribers","subscription_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/subscription","commits_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/merges","archive_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/downloads","issues_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes-incubator/spartakus/deployments","created_at":"2016-09-20T04:06:26Z","updated_at":"2016-10-02T20:09:03Z","pushed_at":"2016-09-30T12:38:52Z","git_url":"git://github.com/kubernetes-incubator/spartakus.git","ssh_url":"git@github.com:kubernetes-incubator/spartakus.git","clone_url":"https://github.com/kubernetes-incubator/spartakus.git","svn_url":"https://github.com/kubernetes-incubator/spartakus","homepage":null,"size":4027,"stargazers_count":7,"watchers_count":7,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes-incubator/spartakus/pulls/6"},"html":{"href":"https://github.com/kubernetes-incubator/spartakus/pull/6"},"issue":{"href":"https://api.github.com/repos/kubernetes-incubator/spartakus/issues/6"},"comments":{"href":"https://api.github.com/repos/kubernetes-incubator/spartakus/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes-incubator/spartakus/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes-incubator/spartakus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes-incubator/spartakus/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes-incubator/spartakus/statuses/9549ca4e68e0dac449da115c8b74ec1e065aaa22"}}}}
{"actor":{"display_login":"thockin"}}