{"action":"opened","number":358,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/pulls/358","id":37956665,"html_url":"https://github.com/GoogleCloudPlatform/heapster/pull/358","diff_url":"https://github.com/GoogleCloudPlatform/heapster/pull/358.diff","patch_url":"https://github.com/GoogleCloudPlatform/heapster/pull/358.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/issues/358","number":358,"state":"open","locked":false,"title":"[Schema 2] Constructors and Getters","user":{"login":"afein","id":680441,"avatar_url":"https://avatars.githubusercontent.com/u/680441?v=3","gravatar_id":"","url":"https://api.github.com/users/afein","html_url":"https://github.com/afein","followers_url":"https://api.github.com/users/afein/followers","following_url":"https://api.github.com/users/afein/following{/other_user}","gists_url":"https://api.github.com/users/afein/gists{/gist_id}","starred_url":"https://api.github.com/users/afein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afein/subscriptions","organizations_url":"https://api.github.com/users/afein/orgs","repos_url":"https://api.github.com/users/afein/repos","events_url":"https://api.github.com/users/afein/events{/privacy}","received_events_url":"https://api.github.com/users/afein/received_events","type":"User","site_admin":false},"body":"Part 2 of #342 \r\nAdded constructors and implementation for three basic \"get\" methods.\r\n\r\nAs this series of PRs is generated in order of dependencies, Part 3 will include the addPod, addNode, addNamespace and addContainer methods.\r\nUnit tests for Part 2 will be provided in later parts (estimate: part 6)","created_at":"2015-06-17T23:05:30Z","updated_at":"2015-06-17T23:05:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/pulls/358/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/pulls/358/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/issues/358/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/statuses/951b9d66ba3f4e88e16a12af9e40d5ca3c67e6a6","head":{"label":"afein:schema2","ref":"schema2","sha":"951b9d66ba3f4e88e16a12af9e40d5ca3c67e6a6","user":{"login":"afein","id":680441,"avatar_url":"https://avatars.githubusercontent.com/u/680441?v=3","gravatar_id":"","url":"https://api.github.com/users/afein","html_url":"https://github.com/afein","followers_url":"https://api.github.com/users/afein/followers","following_url":"https://api.github.com/users/afein/following{/other_user}","gists_url":"https://api.github.com/users/afein/gists{/gist_id}","starred_url":"https://api.github.com/users/afein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afein/subscriptions","organizations_url":"https://api.github.com/users/afein/orgs","repos_url":"https://api.github.com/users/afein/repos","events_url":"https://api.github.com/users/afein/events{/privacy}","received_events_url":"https://api.github.com/users/afein/received_events","type":"User","site_admin":false},"repo":{"id":36956080,"name":"heapster","full_name":"afein/heapster","owner":{"login":"afein","id":680441,"avatar_url":"https://avatars.githubusercontent.com/u/680441?v=3","gravatar_id":"","url":"https://api.github.com/users/afein","html_url":"https://github.com/afein","followers_url":"https://api.github.com/users/afein/followers","following_url":"https://api.github.com/users/afein/following{/other_user}","gists_url":"https://api.github.com/users/afein/gists{/gist_id}","starred_url":"https://api.github.com/users/afein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afein/subscriptions","organizations_url":"https://api.github.com/users/afein/orgs","repos_url":"https://api.github.com/users/afein/repos","events_url":"https://api.github.com/users/afein/events{/privacy}","received_events_url":"https://api.github.com/users/afein/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/afein/heapster","description":"Monitor container resource usage of a Kubernetes cluster","fork":true,"url":"https://api.github.com/repos/afein/heapster","forks_url":"https://api.github.com/repos/afein/heapster/forks","keys_url":"https://api.github.com/repos/afein/heapster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/afein/heapster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/afein/heapster/teams","hooks_url":"https://api.github.com/repos/afein/heapster/hooks","issue_events_url":"https://api.github.com/repos/afein/heapster/issues/events{/number}","events_url":"https://api.github.com/repos/afein/heapster/events","assignees_url":"https://api.github.com/repos/afein/heapster/assignees{/user}","branches_url":"https://api.github.com/repos/afein/heapster/branches{/branch}","tags_url":"https://api.github.com/repos/afein/heapster/tags","blobs_url":"https://api.github.com/repos/afein/heapster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/afein/heapster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/afein/heapster/git/refs{/sha}","trees_url":"https://api.github.com/repos/afein/heapster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/afein/heapster/statuses/{sha}","languages_url":"https://api.github.com/repos/afein/heapster/languages","stargazers_url":"https://api.github.com/repos/afein/heapster/stargazers","contributors_url":"https://api.github.com/repos/afein/heapster/contributors","subscribers_url":"https://api.github.com/repos/afein/heapster/subscribers","subscription_url":"https://api.github.com/repos/afein/heapster/subscription","commits_url":"https://api.github.com/repos/afein/heapster/commits{/sha}","git_commits_url":"https://api.github.com/repos/afein/heapster/git/commits{/sha}","comments_url":"https://api.github.com/repos/afein/heapster/comments{/number}","issue_comment_url":"https://api.github.com/repos/afein/heapster/issues/comments{/number}","contents_url":"https://api.github.com/repos/afein/heapster/contents/{+path}","compare_url":"https://api.github.com/repos/afein/heapster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/afein/heapster/merges","archive_url":"https://api.github.com/repos/afein/heapster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/afein/heapster/downloads","issues_url":"https://api.github.com/repos/afein/heapster/issues{/number}","pulls_url":"https://api.github.com/repos/afein/heapster/pulls{/number}","milestones_url":"https://api.github.com/repos/afein/heapster/milestones{/number}","notifications_url":"https://api.github.com/repos/afein/heapster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/afein/heapster/labels{/name}","releases_url":"https://api.github.com/repos/afein/heapster/releases{/id}","created_at":"2015-06-05T21:24:01Z","updated_at":"2015-06-05T21:24:02Z","pushed_at":"2015-06-17T22:59:40Z","git_url":"git://github.com/afein/heapster.git","ssh_url":"git@github.com:afein/heapster.git","clone_url":"https://github.com/afein/heapster.git","svn_url":"https://github.com/afein/heapster","homepage":"","size":18791,"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":"GoogleCloudPlatform:master","ref":"master","sha":"5b1254abf7a45801f130d9b07082fdcf8d99d707","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":23272510,"name":"heapster","full_name":"GoogleCloudPlatform/heapster","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/heapster","description":"Monitor container resource usage of a Kubernetes cluster","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/heapster","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/heapster/releases{/id}","created_at":"2014-08-24T03:50:18Z","updated_at":"2015-06-17T18:40:20Z","pushed_at":"2015-06-17T22:44:17Z","git_url":"git://github.com/GoogleCloudPlatform/heapster.git","ssh_url":"git@github.com:GoogleCloudPlatform/heapster.git","clone_url":"https://github.com/GoogleCloudPlatform/heapster.git","svn_url":"https://github.com/GoogleCloudPlatform/heapster","homepage":"","size":21507,"stargazers_count":314,"watchers_count":314,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":75,"mirror_url":null,"open_issues_count":69,"forks":75,"open_issues":69,"watchers":314,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/heapster/pulls/358"},"html":{"href":"https://github.com/GoogleCloudPlatform/heapster/pull/358"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/heapster/issues/358"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/heapster/issues/358/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/heapster/pulls/358/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/heapster/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/heapster/pulls/358/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/heapster/statuses/951b9d66ba3f4e88e16a12af9e40d5ca3c67e6a6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":142,"deletions":0,"changed_files":2}}