{"action":"created","comment":{"url":"https://api.github.com/repos/sensu/sensu-go/pulls/comments/177190747","pull_request_review_id":107014013,"id":177190747,"diff_hunk":"@@ -3,6 +3,7 @@ package types\n import (\n \t\"errors\"\n \tfmt \"fmt\"","path":"types/environment.go","position":3,"original_position":3,"commit_id":"65949527fefb4fad556150120adbcb3e08542e22","original_commit_id":"65949527fefb4fad556150120adbcb3e08542e22","user":{"login":"grepory","id":356446,"avatar_url":"https://avatars1.githubusercontent.com/u/356446?v=4","gravatar_id":"","url":"https://api.github.com/users/grepory","html_url":"https://github.com/grepory","followers_url":"https://api.github.com/users/grepory/followers","following_url":"https://api.github.com/users/grepory/following{/other_user}","gists_url":"https://api.github.com/users/grepory/gists{/gist_id}","starred_url":"https://api.github.com/users/grepory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grepory/subscriptions","organizations_url":"https://api.github.com/users/grepory/orgs","repos_url":"https://api.github.com/users/grepory/repos","events_url":"https://api.github.com/users/grepory/events{/privacy}","received_events_url":"https://api.github.com/users/grepory/received_events","type":"User","site_admin":false},"body":"fmt fmt","created_at":"2018-03-26T18:30:31Z","updated_at":"2018-03-26T18:33:47Z","html_url":"https://github.com/sensu/sensu-go/pull/1187#discussion_r177190747","pull_request_url":"https://api.github.com/repos/sensu/sensu-go/pulls/1187","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/sensu/sensu-go/pulls/comments/177190747"},"html":{"href":"https://github.com/sensu/sensu-go/pull/1187#discussion_r177190747"},"pull_request":{"href":"https://api.github.com/repos/sensu/sensu-go/pulls/1187"}}},"pull_request":{"url":"https://api.github.com/repos/sensu/sensu-go/pulls/1187","id":176001941,"html_url":"https://github.com/sensu/sensu-go/pull/1187","diff_url":"https://github.com/sensu/sensu-go/pull/1187.diff","patch_url":"https://github.com/sensu/sensu-go/pull/1187.patch","issue_url":"https://api.github.com/repos/sensu/sensu-go/issues/1187","number":1187,"state":"open","locked":false,"title":"Add sensuctl create command","user":{"login":"echlebek","id":1633772,"avatar_url":"https://avatars0.githubusercontent.com/u/1633772?v=4","gravatar_id":"","url":"https://api.github.com/users/echlebek","html_url":"https://github.com/echlebek","followers_url":"https://api.github.com/users/echlebek/followers","following_url":"https://api.github.com/users/echlebek/following{/other_user}","gists_url":"https://api.github.com/users/echlebek/gists{/gist_id}","starred_url":"https://api.github.com/users/echlebek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echlebek/subscriptions","organizations_url":"https://api.github.com/users/echlebek/orgs","repos_url":"https://api.github.com/users/echlebek/repos","events_url":"https://api.github.com/users/echlebek/events{/privacy}","received_events_url":"https://api.github.com/users/echlebek/received_events","type":"User","site_admin":false},"body":"commit 2a7a9ea4cdc97d8afeb04fd15c44990da8f8f07b (HEAD -> cli/sensuctl-create, origin/cli/sensuctl-create)\r\nAuthor: Eric Chlebek <eric@sensu.io>\r\nDate:   Sat Mar 17 14:03:50 2018 -0700\r\n\r\n    Add sensuctl create command.\r\n    \r\n    The sensuctl create command can create arbitrary Sensu resources\r\n    by parsing one or more Sensu resource definitions.\r\n    \r\n    As a convenience, users can omit organization and environment in\r\n    the resources, and the command-line values for these fields will\r\n    be used instead.\r\n    \r\n    This commit fixes a few issues with the work in the types package\r\n    that was done in the previous commit.\r\n    \r\n    Signed-off-by: Eric Chlebek <eric@sensu.io>\r\n\r\ncommit 7fd33b0ebf067cb819817d74f37ca547d021da8f\r\nAuthor: Eric Chlebek <eric@sensu.io>\r\nDate:   Fri Mar 16 11:26:08 2018 -0700\r\n\r\n    Add dynamic resource resolution.\r\n    \r\n    * Add type Resource, which is an interface that specs URIPath.\r\n    * Add function ResolveResource, which can deliver a zero-valued\r\n    type which implements Resource, given a valid Resource name.\r\n    * Add type Wrapper, which users can supply in json format. The\r\n    wrapper type contains a type name and a spec. When Wrapper is\r\n    unmarshaled, ResolveResource is called to discover its concrete\r\n    type.\r\n    \r\n    ResolveResource is implemented using go generate and a go program\r\n    that uses godoc to discover all of the exported types in the types\r\n    package.\r\n\r\n\r\n\r\n## Why is this change necessary?\r\n\r\nCloses #1056 \r\n\r\n<!-- A brief description of why the change of behavior is necessary. -->\r\n\r\n## Does your change need a Changelog entry?\r\n\r\nYes","created_at":"2018-03-19T19:28:40Z","updated_at":"2018-03-26T18:33:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"baff4b38543f8c7a750a0ffe495a8c29e05a217c","assignee":null,"assignees":[],"requested_reviewers":[{"login":"portertech","id":149630,"avatar_url":"https://avatars2.githubusercontent.com/u/149630?v=4","gravatar_id":"","url":"https://api.github.com/users/portertech","html_url":"https://github.com/portertech","followers_url":"https://api.github.com/users/portertech/followers","following_url":"https://api.github.com/users/portertech/following{/other_user}","gists_url":"https://api.github.com/users/portertech/gists{/gist_id}","starred_url":"https://api.github.com/users/portertech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/portertech/subscriptions","organizations_url":"https://api.github.com/users/portertech/orgs","repos_url":"https://api.github.com/users/portertech/repos","events_url":"https://api.github.com/users/portertech/events{/privacy}","received_events_url":"https://api.github.com/users/portertech/received_events","type":"User","site_admin":false},{"login":"nikkiattea","id":10634078,"avatar_url":"https://avatars2.githubusercontent.com/u/10634078?v=4","gravatar_id":"","url":"https://api.github.com/users/nikkiattea","html_url":"https://github.com/nikkiattea","followers_url":"https://api.github.com/users/nikkiattea/followers","following_url":"https://api.github.com/users/nikkiattea/following{/other_user}","gists_url":"https://api.github.com/users/nikkiattea/gists{/gist_id}","starred_url":"https://api.github.com/users/nikkiattea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikkiattea/subscriptions","organizations_url":"https://api.github.com/users/nikkiattea/orgs","repos_url":"https://api.github.com/users/nikkiattea/repos","events_url":"https://api.github.com/users/nikkiattea/events{/privacy}","received_events_url":"https://api.github.com/users/nikkiattea/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":658326752,"url":"https://api.github.com/repos/sensu/sensu-go/labels/ready-for-review","name":"ready-for-review","color":"ff8800","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/sensu/sensu-go/pulls/1187/commits","review_comments_url":"https://api.github.com/repos/sensu/sensu-go/pulls/1187/comments","review_comment_url":"https://api.github.com/repos/sensu/sensu-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sensu/sensu-go/issues/1187/comments","statuses_url":"https://api.github.com/repos/sensu/sensu-go/statuses/65949527fefb4fad556150120adbcb3e08542e22","head":{"label":"sensu:cli/sensuctl-create","ref":"cli/sensuctl-create","sha":"65949527fefb4fad556150120adbcb3e08542e22","user":{"login":"sensu","id":1648901,"avatar_url":"https://avatars2.githubusercontent.com/u/1648901?v=4","gravatar_id":"","url":"https://api.github.com/users/sensu","html_url":"https://github.com/sensu","followers_url":"https://api.github.com/users/sensu/followers","following_url":"https://api.github.com/users/sensu/following{/other_user}","gists_url":"https://api.github.com/users/sensu/gists{/gist_id}","starred_url":"https://api.github.com/users/sensu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensu/subscriptions","organizations_url":"https://api.github.com/users/sensu/orgs","repos_url":"https://api.github.com/users/sensu/repos","events_url":"https://api.github.com/users/sensu/events{/privacy}","received_events_url":"https://api.github.com/users/sensu/received_events","type":"Organization","site_admin":false},"repo":{"id":82981995,"name":"sensu-go","full_name":"sensu/sensu-go","owner":{"login":"sensu","id":1648901,"avatar_url":"https://avatars2.githubusercontent.com/u/1648901?v=4","gravatar_id":"","url":"https://api.github.com/users/sensu","html_url":"https://github.com/sensu","followers_url":"https://api.github.com/users/sensu/followers","following_url":"https://api.github.com/users/sensu/following{/other_user}","gists_url":"https://api.github.com/users/sensu/gists{/gist_id}","starred_url":"https://api.github.com/users/sensu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensu/subscriptions","organizations_url":"https://api.github.com/users/sensu/orgs","repos_url":"https://api.github.com/users/sensu/repos","events_url":"https://api.github.com/users/sensu/events{/privacy}","received_events_url":"https://api.github.com/users/sensu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sensu/sensu-go","description":"The next generation of the Sensu you know and love. We'd love having you involved ❤","fork":false,"url":"https://api.github.com/repos/sensu/sensu-go","forks_url":"https://api.github.com/repos/sensu/sensu-go/forks","keys_url":"https://api.github.com/repos/sensu/sensu-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sensu/sensu-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sensu/sensu-go/teams","hooks_url":"https://api.github.com/repos/sensu/sensu-go/hooks","issue_events_url":"https://api.github.com/repos/sensu/sensu-go/issues/events{/number}","events_url":"https://api.github.com/repos/sensu/sensu-go/events","assignees_url":"https://api.github.com/repos/sensu/sensu-go/assignees{/user}","branches_url":"https://api.github.com/repos/sensu/sensu-go/branches{/branch}","tags_url":"https://api.github.com/repos/sensu/sensu-go/tags","blobs_url":"https://api.github.com/repos/sensu/sensu-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sensu/sensu-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sensu/sensu-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/sensu/sensu-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sensu/sensu-go/statuses/{sha}","languages_url":"https://api.github.com/repos/sensu/sensu-go/languages","stargazers_url":"https://api.github.com/repos/sensu/sensu-go/stargazers","contributors_url":"https://api.github.com/repos/sensu/sensu-go/contributors","subscribers_url":"https://api.github.com/repos/sensu/sensu-go/subscribers","subscription_url":"https://api.github.com/repos/sensu/sensu-go/subscription","commits_url":"https://api.github.com/repos/sensu/sensu-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/sensu/sensu-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/sensu/sensu-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/sensu/sensu-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/sensu/sensu-go/contents/{+path}","compare_url":"https://api.github.com/repos/sensu/sensu-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sensu/sensu-go/merges","archive_url":"https://api.github.com/repos/sensu/sensu-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sensu/sensu-go/downloads","issues_url":"https://api.github.com/repos/sensu/sensu-go/issues{/number}","pulls_url":"https://api.github.com/repos/sensu/sensu-go/pulls{/number}","milestones_url":"https://api.github.com/repos/sensu/sensu-go/milestones{/number}","notifications_url":"https://api.github.com/repos/sensu/sensu-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sensu/sensu-go/labels{/name}","releases_url":"https://api.github.com/repos/sensu/sensu-go/releases{/id}","deployments_url":"https://api.github.com/repos/sensu/sensu-go/deployments","created_at":"2017-02-23T23:38:08Z","updated_at":"2018-03-26T18:07:08Z","pushed_at":"2018-03-26T17:57:23Z","git_url":"git://github.com/sensu/sensu-go.git","ssh_url":"git@github.com:sensu/sensu-go.git","clone_url":"https://github.com/sensu/sensu-go.git","svn_url":"https://github.com/sensu/sensu-go","homepage":"","size":29183,"stargazers_count":114,"watchers_count":114,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":162,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":13,"open_issues":162,"watchers":114,"default_branch":"master"}},"base":{"label":"sensu:master","ref":"master","sha":"3c29f757106c42cca8fb87553a136e2f42c31299","user":{"login":"sensu","id":1648901,"avatar_url":"https://avatars2.githubusercontent.com/u/1648901?v=4","gravatar_id":"","url":"https://api.github.com/users/sensu","html_url":"https://github.com/sensu","followers_url":"https://api.github.com/users/sensu/followers","following_url":"https://api.github.com/users/sensu/following{/other_user}","gists_url":"https://api.github.com/users/sensu/gists{/gist_id}","starred_url":"https://api.github.com/users/sensu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensu/subscriptions","organizations_url":"https://api.github.com/users/sensu/orgs","repos_url":"https://api.github.com/users/sensu/repos","events_url":"https://api.github.com/users/sensu/events{/privacy}","received_events_url":"https://api.github.com/users/sensu/received_events","type":"Organization","site_admin":false},"repo":{"id":82981995,"name":"sensu-go","full_name":"sensu/sensu-go","owner":{"login":"sensu","id":1648901,"avatar_url":"https://avatars2.githubusercontent.com/u/1648901?v=4","gravatar_id":"","url":"https://api.github.com/users/sensu","html_url":"https://github.com/sensu","followers_url":"https://api.github.com/users/sensu/followers","following_url":"https://api.github.com/users/sensu/following{/other_user}","gists_url":"https://api.github.com/users/sensu/gists{/gist_id}","starred_url":"https://api.github.com/users/sensu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensu/subscriptions","organizations_url":"https://api.github.com/users/sensu/orgs","repos_url":"https://api.github.com/users/sensu/repos","events_url":"https://api.github.com/users/sensu/events{/privacy}","received_events_url":"https://api.github.com/users/sensu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sensu/sensu-go","description":"The next generation of the Sensu you know and love. We'd love having you involved ❤","fork":false,"url":"https://api.github.com/repos/sensu/sensu-go","forks_url":"https://api.github.com/repos/sensu/sensu-go/forks","keys_url":"https://api.github.com/repos/sensu/sensu-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sensu/sensu-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sensu/sensu-go/teams","hooks_url":"https://api.github.com/repos/sensu/sensu-go/hooks","issue_events_url":"https://api.github.com/repos/sensu/sensu-go/issues/events{/number}","events_url":"https://api.github.com/repos/sensu/sensu-go/events","assignees_url":"https://api.github.com/repos/sensu/sensu-go/assignees{/user}","branches_url":"https://api.github.com/repos/sensu/sensu-go/branches{/branch}","tags_url":"https://api.github.com/repos/sensu/sensu-go/tags","blobs_url":"https://api.github.com/repos/sensu/sensu-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sensu/sensu-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sensu/sensu-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/sensu/sensu-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sensu/sensu-go/statuses/{sha}","languages_url":"https://api.github.com/repos/sensu/sensu-go/languages","stargazers_url":"https://api.github.com/repos/sensu/sensu-go/stargazers","contributors_url":"https://api.github.com/repos/sensu/sensu-go/contributors","subscribers_url":"https://api.github.com/repos/sensu/sensu-go/subscribers","subscription_url":"https://api.github.com/repos/sensu/sensu-go/subscription","commits_url":"https://api.github.com/repos/sensu/sensu-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/sensu/sensu-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/sensu/sensu-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/sensu/sensu-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/sensu/sensu-go/contents/{+path}","compare_url":"https://api.github.com/repos/sensu/sensu-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sensu/sensu-go/merges","archive_url":"https://api.github.com/repos/sensu/sensu-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sensu/sensu-go/downloads","issues_url":"https://api.github.com/repos/sensu/sensu-go/issues{/number}","pulls_url":"https://api.github.com/repos/sensu/sensu-go/pulls{/number}","milestones_url":"https://api.github.com/repos/sensu/sensu-go/milestones{/number}","notifications_url":"https://api.github.com/repos/sensu/sensu-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sensu/sensu-go/labels{/name}","releases_url":"https://api.github.com/repos/sensu/sensu-go/releases{/id}","deployments_url":"https://api.github.com/repos/sensu/sensu-go/deployments","created_at":"2017-02-23T23:38:08Z","updated_at":"2018-03-26T18:07:08Z","pushed_at":"2018-03-26T17:57:23Z","git_url":"git://github.com/sensu/sensu-go.git","ssh_url":"git@github.com:sensu/sensu-go.git","clone_url":"https://github.com/sensu/sensu-go.git","svn_url":"https://github.com/sensu/sensu-go","homepage":"","size":29183,"stargazers_count":114,"watchers_count":114,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":162,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":13,"open_issues":162,"watchers":114,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sensu/sensu-go/pulls/1187"},"html":{"href":"https://github.com/sensu/sensu-go/pull/1187"},"issue":{"href":"https://api.github.com/repos/sensu/sensu-go/issues/1187"},"comments":{"href":"https://api.github.com/repos/sensu/sensu-go/issues/1187/comments"},"review_comments":{"href":"https://api.github.com/repos/sensu/sensu-go/pulls/1187/comments"},"review_comment":{"href":"https://api.github.com/repos/sensu/sensu-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sensu/sensu-go/pulls/1187/commits"},"statuses":{"href":"https://api.github.com/repos/sensu/sensu-go/statuses/65949527fefb4fad556150120adbcb3e08542e22"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"grepory"}}