{"action":"created","comment":{"url":"https://api.github.com/repos/google/go-containerregistry/pulls/comments/188032151","pull_request_review_id":119929938,"id":188032151,"diff_hunk":"@@ -64,6 +64,27 @@ type RootFS struct {\n \tDiffIDs []Hash `json:\"diff_ids\"`\n }\n \n+// HealthConfig holds configuration settings for the HEALTHCHECK feature.\n+type HealthConfig struct {\n+\t// Test is the test to perform to check that the container is healthy.\n+\t// An empty slice means to inherit the default.\n+\t// The options are:\n+\t// {} : inherit healthcheck\n+\t// {\"NONE\"} : disable healthcheck\n+\t// {\"CMD\", args...} : exec arguments directly\n+\t// {\"CMD-SHELL\", command} : run command with system's default shell\n+\tTest []string `json:\",omitempty\"`","path":"v1/config.go","position":13,"original_position":13,"commit_id":"644aae301aa1dc81ac1a1afb18ab1705dfebe47e","original_commit_id":"644aae301aa1dc81ac1a1afb18ab1705dfebe47e","user":{"login":"dlorenc","id":1714486,"avatar_url":"https://avatars1.githubusercontent.com/u/1714486?v=4","gravatar_id":"","url":"https://api.github.com/users/dlorenc","html_url":"https://github.com/dlorenc","followers_url":"https://api.github.com/users/dlorenc/followers","following_url":"https://api.github.com/users/dlorenc/following{/other_user}","gists_url":"https://api.github.com/users/dlorenc/gists{/gist_id}","starred_url":"https://api.github.com/users/dlorenc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlorenc/subscriptions","organizations_url":"https://api.github.com/users/dlorenc/orgs","repos_url":"https://api.github.com/users/dlorenc/repos","events_url":"https://api.github.com/users/dlorenc/events{/privacy}","received_events_url":"https://api.github.com/users/dlorenc/received_events","type":"User","site_admin":false},"body":"nit: should these be lowercased like `json:\"test,omitempty\"`","created_at":"2018-05-14T17:19:48Z","updated_at":"2018-05-14T17:19:52Z","html_url":"https://github.com/google/go-containerregistry/pull/138#discussion_r188032151","pull_request_url":"https://api.github.com/repos/google/go-containerregistry/pulls/138","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/google/go-containerregistry/pulls/comments/188032151"},"html":{"href":"https://github.com/google/go-containerregistry/pull/138#discussion_r188032151"},"pull_request":{"href":"https://api.github.com/repos/google/go-containerregistry/pulls/138"}}},"pull_request":{"url":"https://api.github.com/repos/google/go-containerregistry/pulls/138","id":187886319,"html_url":"https://github.com/google/go-containerregistry/pull/138","diff_url":"https://github.com/google/go-containerregistry/pull/138.diff","patch_url":"https://github.com/google/go-containerregistry/pull/138.patch","issue_url":"https://api.github.com/repos/google/go-containerregistry/issues/138","number":138,"state":"open","locked":false,"title":"added healthcheck to config struct and healthcheck struct","user":{"login":"chrisz100","id":406863,"avatar_url":"https://avatars0.githubusercontent.com/u/406863?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisz100","html_url":"https://github.com/chrisz100","followers_url":"https://api.github.com/users/chrisz100/followers","following_url":"https://api.github.com/users/chrisz100/following{/other_user}","gists_url":"https://api.github.com/users/chrisz100/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisz100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisz100/subscriptions","organizations_url":"https://api.github.com/users/chrisz100/orgs","repos_url":"https://api.github.com/users/chrisz100/repos","events_url":"https://api.github.com/users/chrisz100/events{/privacy}","received_events_url":"https://api.github.com/users/chrisz100/received_events","type":"User","site_admin":false},"body":"Needed to implement HEALTHCHECK commands to kaniko - see https://github.com/GoogleContainerTools/kaniko/issues/17#issuecomment-388868094","created_at":"2018-05-14T16:42:09Z","updated_at":"2018-05-14T17:19:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d26d85742a73b1d8f76dac7bd9edf5adae949ecc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/go-containerregistry/pulls/138/commits","review_comments_url":"https://api.github.com/repos/google/go-containerregistry/pulls/138/comments","review_comment_url":"https://api.github.com/repos/google/go-containerregistry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/go-containerregistry/issues/138/comments","statuses_url":"https://api.github.com/repos/google/go-containerregistry/statuses/644aae301aa1dc81ac1a1afb18ab1705dfebe47e","head":{"label":"chrisz100:feature/healthcheck_cmd","ref":"feature/healthcheck_cmd","sha":"644aae301aa1dc81ac1a1afb18ab1705dfebe47e","user":{"login":"chrisz100","id":406863,"avatar_url":"https://avatars0.githubusercontent.com/u/406863?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisz100","html_url":"https://github.com/chrisz100","followers_url":"https://api.github.com/users/chrisz100/followers","following_url":"https://api.github.com/users/chrisz100/following{/other_user}","gists_url":"https://api.github.com/users/chrisz100/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisz100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisz100/subscriptions","organizations_url":"https://api.github.com/users/chrisz100/orgs","repos_url":"https://api.github.com/users/chrisz100/repos","events_url":"https://api.github.com/users/chrisz100/events{/privacy}","received_events_url":"https://api.github.com/users/chrisz100/received_events","type":"User","site_admin":false},"repo":{"id":133392409,"name":"go-containerregistry","full_name":"chrisz100/go-containerregistry","owner":{"login":"chrisz100","id":406863,"avatar_url":"https://avatars0.githubusercontent.com/u/406863?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisz100","html_url":"https://github.com/chrisz100","followers_url":"https://api.github.com/users/chrisz100/followers","following_url":"https://api.github.com/users/chrisz100/following{/other_user}","gists_url":"https://api.github.com/users/chrisz100/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisz100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisz100/subscriptions","organizations_url":"https://api.github.com/users/chrisz100/orgs","repos_url":"https://api.github.com/users/chrisz100/repos","events_url":"https://api.github.com/users/chrisz100/events{/privacy}","received_events_url":"https://api.github.com/users/chrisz100/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrisz100/go-containerregistry","description":null,"fork":true,"url":"https://api.github.com/repos/chrisz100/go-containerregistry","forks_url":"https://api.github.com/repos/chrisz100/go-containerregistry/forks","keys_url":"https://api.github.com/repos/chrisz100/go-containerregistry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrisz100/go-containerregistry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrisz100/go-containerregistry/teams","hooks_url":"https://api.github.com/repos/chrisz100/go-containerregistry/hooks","issue_events_url":"https://api.github.com/repos/chrisz100/go-containerregistry/issues/events{/number}","events_url":"https://api.github.com/repos/chrisz100/go-containerregistry/events","assignees_url":"https://api.github.com/repos/chrisz100/go-containerregistry/assignees{/user}","branches_url":"https://api.github.com/repos/chrisz100/go-containerregistry/branches{/branch}","tags_url":"https://api.github.com/repos/chrisz100/go-containerregistry/tags","blobs_url":"https://api.github.com/repos/chrisz100/go-containerregistry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrisz100/go-containerregistry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrisz100/go-containerregistry/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrisz100/go-containerregistry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrisz100/go-containerregistry/statuses/{sha}","languages_url":"https://api.github.com/repos/chrisz100/go-containerregistry/languages","stargazers_url":"https://api.github.com/repos/chrisz100/go-containerregistry/stargazers","contributors_url":"https://api.github.com/repos/chrisz100/go-containerregistry/contributors","subscribers_url":"https://api.github.com/repos/chrisz100/go-containerregistry/subscribers","subscription_url":"https://api.github.com/repos/chrisz100/go-containerregistry/subscription","commits_url":"https://api.github.com/repos/chrisz100/go-containerregistry/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrisz100/go-containerregistry/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrisz100/go-containerregistry/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrisz100/go-containerregistry/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrisz100/go-containerregistry/contents/{+path}","compare_url":"https://api.github.com/repos/chrisz100/go-containerregistry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrisz100/go-containerregistry/merges","archive_url":"https://api.github.com/repos/chrisz100/go-containerregistry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrisz100/go-containerregistry/downloads","issues_url":"https://api.github.com/repos/chrisz100/go-containerregistry/issues{/number}","pulls_url":"https://api.github.com/repos/chrisz100/go-containerregistry/pulls{/number}","milestones_url":"https://api.github.com/repos/chrisz100/go-containerregistry/milestones{/number}","notifications_url":"https://api.github.com/repos/chrisz100/go-containerregistry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrisz100/go-containerregistry/labels{/name}","releases_url":"https://api.github.com/repos/chrisz100/go-containerregistry/releases{/id}","deployments_url":"https://api.github.com/repos/chrisz100/go-containerregistry/deployments","created_at":"2018-05-14T16:40:27Z","updated_at":"2018-05-14T16:40:29Z","pushed_at":"2018-05-14T16:41:36Z","git_url":"git://github.com/chrisz100/go-containerregistry.git","ssh_url":"git@github.com:chrisz100/go-containerregistry.git","clone_url":"https://github.com/chrisz100/go-containerregistry.git","svn_url":"https://github.com/chrisz100/go-containerregistry","homepage":null,"size":2044,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"fc1c0d6fb2a64018a6e6f18391338034bc67183d","user":{"login":"google","id":1342004,"avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":125253663,"name":"go-containerregistry","full_name":"google/go-containerregistry","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/go-containerregistry","description":null,"fork":false,"url":"https://api.github.com/repos/google/go-containerregistry","forks_url":"https://api.github.com/repos/google/go-containerregistry/forks","keys_url":"https://api.github.com/repos/google/go-containerregistry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/go-containerregistry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/go-containerregistry/teams","hooks_url":"https://api.github.com/repos/google/go-containerregistry/hooks","issue_events_url":"https://api.github.com/repos/google/go-containerregistry/issues/events{/number}","events_url":"https://api.github.com/repos/google/go-containerregistry/events","assignees_url":"https://api.github.com/repos/google/go-containerregistry/assignees{/user}","branches_url":"https://api.github.com/repos/google/go-containerregistry/branches{/branch}","tags_url":"https://api.github.com/repos/google/go-containerregistry/tags","blobs_url":"https://api.github.com/repos/google/go-containerregistry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/go-containerregistry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/go-containerregistry/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/go-containerregistry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/go-containerregistry/statuses/{sha}","languages_url":"https://api.github.com/repos/google/go-containerregistry/languages","stargazers_url":"https://api.github.com/repos/google/go-containerregistry/stargazers","contributors_url":"https://api.github.com/repos/google/go-containerregistry/contributors","subscribers_url":"https://api.github.com/repos/google/go-containerregistry/subscribers","subscription_url":"https://api.github.com/repos/google/go-containerregistry/subscription","commits_url":"https://api.github.com/repos/google/go-containerregistry/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/go-containerregistry/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/go-containerregistry/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/go-containerregistry/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/go-containerregistry/contents/{+path}","compare_url":"https://api.github.com/repos/google/go-containerregistry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/go-containerregistry/merges","archive_url":"https://api.github.com/repos/google/go-containerregistry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/go-containerregistry/downloads","issues_url":"https://api.github.com/repos/google/go-containerregistry/issues{/number}","pulls_url":"https://api.github.com/repos/google/go-containerregistry/pulls{/number}","milestones_url":"https://api.github.com/repos/google/go-containerregistry/milestones{/number}","notifications_url":"https://api.github.com/repos/google/go-containerregistry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/go-containerregistry/labels{/name}","releases_url":"https://api.github.com/repos/google/go-containerregistry/releases{/id}","deployments_url":"https://api.github.com/repos/google/go-containerregistry/deployments","created_at":"2018-03-14T18:02:49Z","updated_at":"2018-05-14T05:32:13Z","pushed_at":"2018-05-14T16:42:10Z","git_url":"git://github.com/google/go-containerregistry.git","ssh_url":"git@github.com:google/go-containerregistry.git","clone_url":"https://github.com/google/go-containerregistry.git","svn_url":"https://github.com/google/go-containerregistry","homepage":null,"size":2044,"stargazers_count":52,"watchers_count":52,"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":17,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":13,"open_issues":17,"watchers":52,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/go-containerregistry/pulls/138"},"html":{"href":"https://github.com/google/go-containerregistry/pull/138"},"issue":{"href":"https://api.github.com/repos/google/go-containerregistry/issues/138"},"comments":{"href":"https://api.github.com/repos/google/go-containerregistry/issues/138/comments"},"review_comments":{"href":"https://api.github.com/repos/google/go-containerregistry/pulls/138/comments"},"review_comment":{"href":"https://api.github.com/repos/google/go-containerregistry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/go-containerregistry/pulls/138/commits"},"statuses":{"href":"https://api.github.com/repos/google/go-containerregistry/statuses/644aae301aa1dc81ac1a1afb18ab1705dfebe47e"}},"author_association":"NONE"}}
{"actor":{"display_login":"dlorenc"}}