{"action":"created","comment":{"url":"https://api.github.com/repos/heptio/ark/pulls/comments/143019964","pull_request_review_id":67470356,"id":143019964,"diff_hunk":"@@ -69,7 +69,17 @@ func (ac ActionContext) log(msg string, args ...interface{}) {\n type Action interface {\n \t// Execute is invoked on an item being backed up. If an error is returned, the Backup is marked as\n \t// failed.\n-\tExecute(ctx ActionContext, item map[string]interface{}, backup *api.Backup) error\n+\tExecute(ctx *backupContext, item map[string]interface{}, backup *api.Backup, backupper itemBackupper) error","path":"pkg/backup/backup.go","position":5,"original_position":5,"commit_id":"356b098e81b9200cf5f5ce6baa225198176c812d","original_commit_id":"356b098e81b9200cf5f5ce6baa225198176c812d","user":{"login":"ncdc","id":354,"avatar_url":"https://avatars2.githubusercontent.com/u/354?v=4","gravatar_id":"","url":"https://api.github.com/users/ncdc","html_url":"https://github.com/ncdc","followers_url":"https://api.github.com/users/ncdc/followers","following_url":"https://api.github.com/users/ncdc/following{/other_user}","gists_url":"https://api.github.com/users/ncdc/gists{/gist_id}","starred_url":"https://api.github.com/users/ncdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncdc/subscriptions","organizations_url":"https://api.github.com/users/ncdc/orgs","repos_url":"https://api.github.com/users/ncdc/repos","events_url":"https://api.github.com/users/ncdc/events{/privacy}","received_events_url":"https://api.github.com/users/ncdc/received_events","type":"User","site_admin":false},"body":"`backupContext` already has the `Backup` in it, so no need to pass the `Backup` in separately.","created_at":"2017-10-05T18:29:02Z","updated_at":"2017-10-05T18:57:46Z","html_url":"https://github.com/heptio/ark/pull/65#discussion_r143019964","pull_request_url":"https://api.github.com/repos/heptio/ark/pulls/65","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/heptio/ark/pulls/comments/143019964"},"html":{"href":"https://github.com/heptio/ark/pull/65#discussion_r143019964"},"pull_request":{"href":"https://api.github.com/repos/heptio/ark/pulls/65"}}},"pull_request":{"url":"https://api.github.com/repos/heptio/ark/pulls/65","id":138781885,"html_url":"https://github.com/heptio/ark/pull/65","diff_url":"https://github.com/heptio/ark/pull/65.diff","patch_url":"https://github.com/heptio/ark/pull/65.patch","issue_url":"https://api.github.com/repos/heptio/ark/issues/65","number":65,"state":"open","locked":false,"title":"[WIP] when backing up PVCs, also back up claimed PVs","user":{"login":"skriss","id":5241206,"avatar_url":"https://avatars3.githubusercontent.com/u/5241206?v=4","gravatar_id":"","url":"https://api.github.com/users/skriss","html_url":"https://github.com/skriss","followers_url":"https://api.github.com/users/skriss/followers","following_url":"https://api.github.com/users/skriss/following{/other_user}","gists_url":"https://api.github.com/users/skriss/gists{/gist_id}","starred_url":"https://api.github.com/users/skriss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skriss/subscriptions","organizations_url":"https://api.github.com/users/skriss/orgs","repos_url":"https://api.github.com/users/skriss/repos","events_url":"https://api.github.com/users/skriss/events{/privacy}","received_events_url":"https://api.github.com/users/skriss/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Steve Kriss <steve@heptio.com>\r\n\r\nFixes #15 ","created_at":"2017-08-31T22:40:43Z","updated_at":"2017-10-05T18:57:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e94cbf08a531e4c097550a80ce184b02991d603d","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":{"url":"https://api.github.com/repos/heptio/ark/milestones/2","html_url":"https://github.com/heptio/ark/milestone/2","labels_url":"https://api.github.com/repos/heptio/ark/milestones/2/labels","id":2746573,"number":2,"title":"v0.5.0","description":"Volume backups for non-cloud provider storage","creator":{"login":"kstewart","id":666,"avatar_url":"https://avatars3.githubusercontent.com/u/666?v=4","gravatar_id":"","url":"https://api.github.com/users/kstewart","html_url":"https://github.com/kstewart","followers_url":"https://api.github.com/users/kstewart/followers","following_url":"https://api.github.com/users/kstewart/following{/other_user}","gists_url":"https://api.github.com/users/kstewart/gists{/gist_id}","starred_url":"https://api.github.com/users/kstewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kstewart/subscriptions","organizations_url":"https://api.github.com/users/kstewart/orgs","repos_url":"https://api.github.com/users/kstewart/repos","events_url":"https://api.github.com/users/kstewart/events{/privacy}","received_events_url":"https://api.github.com/users/kstewart/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":7,"state":"open","created_at":"2017-09-05T21:04:11Z","updated_at":"2017-10-05T16:14:36Z","due_on":"2017-10-26T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/heptio/ark/pulls/65/commits","review_comments_url":"https://api.github.com/repos/heptio/ark/pulls/65/comments","review_comment_url":"https://api.github.com/repos/heptio/ark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/heptio/ark/issues/65/comments","statuses_url":"https://api.github.com/repos/heptio/ark/statuses/356b098e81b9200cf5f5ce6baa225198176c812d","head":{"label":"skriss:cluster-resource-selection","ref":"cluster-resource-selection","sha":"356b098e81b9200cf5f5ce6baa225198176c812d","user":{"login":"skriss","id":5241206,"avatar_url":"https://avatars3.githubusercontent.com/u/5241206?v=4","gravatar_id":"","url":"https://api.github.com/users/skriss","html_url":"https://github.com/skriss","followers_url":"https://api.github.com/users/skriss/followers","following_url":"https://api.github.com/users/skriss/following{/other_user}","gists_url":"https://api.github.com/users/skriss/gists{/gist_id}","starred_url":"https://api.github.com/users/skriss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skriss/subscriptions","organizations_url":"https://api.github.com/users/skriss/orgs","repos_url":"https://api.github.com/users/skriss/repos","events_url":"https://api.github.com/users/skriss/events{/privacy}","received_events_url":"https://api.github.com/users/skriss/received_events","type":"User","site_admin":false},"repo":{"id":99252487,"name":"ark","full_name":"skriss/ark","owner":{"login":"skriss","id":5241206,"avatar_url":"https://avatars3.githubusercontent.com/u/5241206?v=4","gravatar_id":"","url":"https://api.github.com/users/skriss","html_url":"https://github.com/skriss","followers_url":"https://api.github.com/users/skriss/followers","following_url":"https://api.github.com/users/skriss/following{/other_user}","gists_url":"https://api.github.com/users/skriss/gists{/gist_id}","starred_url":"https://api.github.com/users/skriss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skriss/subscriptions","organizations_url":"https://api.github.com/users/skriss/orgs","repos_url":"https://api.github.com/users/skriss/repos","events_url":"https://api.github.com/users/skriss/events{/privacy}","received_events_url":"https://api.github.com/users/skriss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/skriss/ark","description":"Heptio Ark is a utility for managing disaster recovery, specifically for your Kubernetes cluster resources and persistent volumes. Brought to you by Heptio.","fork":true,"url":"https://api.github.com/repos/skriss/ark","forks_url":"https://api.github.com/repos/skriss/ark/forks","keys_url":"https://api.github.com/repos/skriss/ark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skriss/ark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skriss/ark/teams","hooks_url":"https://api.github.com/repos/skriss/ark/hooks","issue_events_url":"https://api.github.com/repos/skriss/ark/issues/events{/number}","events_url":"https://api.github.com/repos/skriss/ark/events","assignees_url":"https://api.github.com/repos/skriss/ark/assignees{/user}","branches_url":"https://api.github.com/repos/skriss/ark/branches{/branch}","tags_url":"https://api.github.com/repos/skriss/ark/tags","blobs_url":"https://api.github.com/repos/skriss/ark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skriss/ark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skriss/ark/git/refs{/sha}","trees_url":"https://api.github.com/repos/skriss/ark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skriss/ark/statuses/{sha}","languages_url":"https://api.github.com/repos/skriss/ark/languages","stargazers_url":"https://api.github.com/repos/skriss/ark/stargazers","contributors_url":"https://api.github.com/repos/skriss/ark/contributors","subscribers_url":"https://api.github.com/repos/skriss/ark/subscribers","subscription_url":"https://api.github.com/repos/skriss/ark/subscription","commits_url":"https://api.github.com/repos/skriss/ark/commits{/sha}","git_commits_url":"https://api.github.com/repos/skriss/ark/git/commits{/sha}","comments_url":"https://api.github.com/repos/skriss/ark/comments{/number}","issue_comment_url":"https://api.github.com/repos/skriss/ark/issues/comments{/number}","contents_url":"https://api.github.com/repos/skriss/ark/contents/{+path}","compare_url":"https://api.github.com/repos/skriss/ark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skriss/ark/merges","archive_url":"https://api.github.com/repos/skriss/ark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skriss/ark/downloads","issues_url":"https://api.github.com/repos/skriss/ark/issues{/number}","pulls_url":"https://api.github.com/repos/skriss/ark/pulls{/number}","milestones_url":"https://api.github.com/repos/skriss/ark/milestones{/number}","notifications_url":"https://api.github.com/repos/skriss/ark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skriss/ark/labels{/name}","releases_url":"https://api.github.com/repos/skriss/ark/releases{/id}","deployments_url":"https://api.github.com/repos/skriss/ark/deployments","created_at":"2017-08-03T16:18:24Z","updated_at":"2017-08-03T16:18:37Z","pushed_at":"2017-10-05T18:42:18Z","git_url":"git://github.com/skriss/ark.git","ssh_url":"git@github.com:skriss/ark.git","clone_url":"https://github.com/skriss/ark.git","svn_url":"https://github.com/skriss/ark","homepage":"http://www.heptio.com","size":6442,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"heptio:master","ref":"master","sha":"87f60ed853d70d618ef2987ccbbe88f827559fe1","user":{"login":"heptio","id":22035492,"avatar_url":"https://avatars0.githubusercontent.com/u/22035492?v=4","gravatar_id":"","url":"https://api.github.com/users/heptio","html_url":"https://github.com/heptio","followers_url":"https://api.github.com/users/heptio/followers","following_url":"https://api.github.com/users/heptio/following{/other_user}","gists_url":"https://api.github.com/users/heptio/gists{/gist_id}","starred_url":"https://api.github.com/users/heptio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heptio/subscriptions","organizations_url":"https://api.github.com/users/heptio/orgs","repos_url":"https://api.github.com/users/heptio/repos","events_url":"https://api.github.com/users/heptio/events{/privacy}","received_events_url":"https://api.github.com/users/heptio/received_events","type":"Organization","site_admin":false},"repo":{"id":99143276,"name":"ark","full_name":"heptio/ark","owner":{"login":"heptio","id":22035492,"avatar_url":"https://avatars0.githubusercontent.com/u/22035492?v=4","gravatar_id":"","url":"https://api.github.com/users/heptio","html_url":"https://github.com/heptio","followers_url":"https://api.github.com/users/heptio/followers","following_url":"https://api.github.com/users/heptio/following{/other_user}","gists_url":"https://api.github.com/users/heptio/gists{/gist_id}","starred_url":"https://api.github.com/users/heptio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heptio/subscriptions","organizations_url":"https://api.github.com/users/heptio/orgs","repos_url":"https://api.github.com/users/heptio/repos","events_url":"https://api.github.com/users/heptio/events{/privacy}","received_events_url":"https://api.github.com/users/heptio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/heptio/ark","description":"Heptio Ark is a utility for managing disaster recovery, specifically for your Kubernetes cluster resources and persistent volumes. Brought to you by Heptio.","fork":false,"url":"https://api.github.com/repos/heptio/ark","forks_url":"https://api.github.com/repos/heptio/ark/forks","keys_url":"https://api.github.com/repos/heptio/ark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heptio/ark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heptio/ark/teams","hooks_url":"https://api.github.com/repos/heptio/ark/hooks","issue_events_url":"https://api.github.com/repos/heptio/ark/issues/events{/number}","events_url":"https://api.github.com/repos/heptio/ark/events","assignees_url":"https://api.github.com/repos/heptio/ark/assignees{/user}","branches_url":"https://api.github.com/repos/heptio/ark/branches{/branch}","tags_url":"https://api.github.com/repos/heptio/ark/tags","blobs_url":"https://api.github.com/repos/heptio/ark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heptio/ark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heptio/ark/git/refs{/sha}","trees_url":"https://api.github.com/repos/heptio/ark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heptio/ark/statuses/{sha}","languages_url":"https://api.github.com/repos/heptio/ark/languages","stargazers_url":"https://api.github.com/repos/heptio/ark/stargazers","contributors_url":"https://api.github.com/repos/heptio/ark/contributors","subscribers_url":"https://api.github.com/repos/heptio/ark/subscribers","subscription_url":"https://api.github.com/repos/heptio/ark/subscription","commits_url":"https://api.github.com/repos/heptio/ark/commits{/sha}","git_commits_url":"https://api.github.com/repos/heptio/ark/git/commits{/sha}","comments_url":"https://api.github.com/repos/heptio/ark/comments{/number}","issue_comment_url":"https://api.github.com/repos/heptio/ark/issues/comments{/number}","contents_url":"https://api.github.com/repos/heptio/ark/contents/{+path}","compare_url":"https://api.github.com/repos/heptio/ark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heptio/ark/merges","archive_url":"https://api.github.com/repos/heptio/ark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heptio/ark/downloads","issues_url":"https://api.github.com/repos/heptio/ark/issues{/number}","pulls_url":"https://api.github.com/repos/heptio/ark/pulls{/number}","milestones_url":"https://api.github.com/repos/heptio/ark/milestones{/number}","notifications_url":"https://api.github.com/repos/heptio/ark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heptio/ark/labels{/name}","releases_url":"https://api.github.com/repos/heptio/ark/releases{/id}","deployments_url":"https://api.github.com/repos/heptio/ark/deployments","created_at":"2017-08-02T17:22:11Z","updated_at":"2017-10-05T17:06:58Z","pushed_at":"2017-10-05T18:00:50Z","git_url":"git://github.com/heptio/ark.git","ssh_url":"git@github.com:heptio/ark.git","clone_url":"https://github.com/heptio/ark.git","svn_url":"https://github.com/heptio/ark","homepage":"http://www.heptio.com","size":6360,"stargazers_count":488,"watchers_count":488,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":51,"forks":37,"open_issues":51,"watchers":488,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/heptio/ark/pulls/65"},"html":{"href":"https://github.com/heptio/ark/pull/65"},"issue":{"href":"https://api.github.com/repos/heptio/ark/issues/65"},"comments":{"href":"https://api.github.com/repos/heptio/ark/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/heptio/ark/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/heptio/ark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/heptio/ark/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/heptio/ark/statuses/356b098e81b9200cf5f5ce6baa225198176c812d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ncdc"}}