{"action":"created","comment":{"url":"https://api.github.com/repos/digitalocean/go-libvirt/pulls/comments/109450238","pull_request_review_id":30552833,"id":109450238,"diff_hunk":"@@ -108,6 +110,75 @@ const (\n \tDomainXMLFlagMigratable\n )\n \n+// DomainCreateFlags specifies options when performing a domain creation.\n+type DomainCreateFlags uint32\n+\n+const (","path":"libvirt.go","position":21,"original_position":21,"commit_id":"0f3d537c868401ce5ab73468d646760876e95c97","original_commit_id":"0f3d537c868401ce5ab73468d646760876e95c97","user":{"login":"benlemasurier","id":47993,"avatar_url":"https://avatars3.githubusercontent.com/u/47993?v=3","gravatar_id":"","url":"https://api.github.com/users/benlemasurier","html_url":"https://github.com/benlemasurier","followers_url":"https://api.github.com/users/benlemasurier/followers","following_url":"https://api.github.com/users/benlemasurier/following{/other_user}","gists_url":"https://api.github.com/users/benlemasurier/gists{/gist_id}","starred_url":"https://api.github.com/users/benlemasurier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benlemasurier/subscriptions","organizations_url":"https://api.github.com/users/benlemasurier/orgs","repos_url":"https://api.github.com/users/benlemasurier/repos","events_url":"https://api.github.com/users/benlemasurier/events{/privacy}","received_events_url":"https://api.github.com/users/benlemasurier/received_events","type":"User","site_admin":false},"body":"here's an example as defined by the libvirt source:\r\n\r\n```\r\n/**\r\n * virDomainCreateFlags:\r\n *\r\n * Flags OR'ed together to provide specific behaviour when creating a\r\n * Domain.\r\n */\r\ntypedef enum {\r\n    VIR_DOMAIN_NONE               = 0,      /* Default behavior */\r\n    VIR_DOMAIN_START_PAUSED       = 1 << 0, /* Launch guest in paused state */\r\n    VIR_DOMAIN_START_AUTODESTROY  = 1 << 1, /* Automatically kill guest when virConnectPtr is closed */\r\n    VIR_DOMAIN_START_BYPASS_CACHE = 1 << 2, /* Avoid file system cache pollution */\r\n    VIR_DOMAIN_START_FORCE_BOOT   = 1 << 3, /* Boot, discarding any managed save */\r\n    VIR_DOMAIN_START_VALIDATE     = 1 << 4, /* Validate the XML document against schema */\r\n} virDomainCreateFlags;\r\n```","created_at":"2017-04-03T15:39:39Z","updated_at":"2017-04-03T15:39:39Z","html_url":"https://github.com/digitalocean/go-libvirt/pull/31#discussion_r109450238","pull_request_url":"https://api.github.com/repos/digitalocean/go-libvirt/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/digitalocean/go-libvirt/pulls/comments/109450238"},"html":{"href":"https://github.com/digitalocean/go-libvirt/pull/31#discussion_r109450238"},"pull_request":{"href":"https://api.github.com/repos/digitalocean/go-libvirt/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/digitalocean/go-libvirt/pulls/31","id":113919010,"html_url":"https://github.com/digitalocean/go-libvirt/pull/31","diff_url":"https://github.com/digitalocean/go-libvirt/pull/31.diff","patch_url":"https://github.com/digitalocean/go-libvirt/pull/31.patch","issue_url":"https://api.github.com/repos/digitalocean/go-libvirt/issues/31","number":31,"state":"open","locked":false,"title":"minor improvements","user":{"login":"vtolstov","id":481307,"avatar_url":"https://avatars1.githubusercontent.com/u/481307?v=3","gravatar_id":"","url":"https://api.github.com/users/vtolstov","html_url":"https://github.com/vtolstov","followers_url":"https://api.github.com/users/vtolstov/followers","following_url":"https://api.github.com/users/vtolstov/following{/other_user}","gists_url":"https://api.github.com/users/vtolstov/gists{/gist_id}","starred_url":"https://api.github.com/users/vtolstov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtolstov/subscriptions","organizations_url":"https://api.github.com/users/vtolstov/orgs","repos_url":"https://api.github.com/users/vtolstov/repos","events_url":"https://api.github.com/users/vtolstov/events{/privacy}","received_events_url":"https://api.github.com/users/vtolstov/received_events","type":"User","site_admin":false},"body":"* many improvements","created_at":"2017-04-03T12:28:48Z","updated_at":"2017-04-03T15:39:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1a51b79e94febc80a7ca0506632030acb20b6c0e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/digitalocean/go-libvirt/pulls/31/commits","review_comments_url":"https://api.github.com/repos/digitalocean/go-libvirt/pulls/31/comments","review_comment_url":"https://api.github.com/repos/digitalocean/go-libvirt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/digitalocean/go-libvirt/issues/31/comments","statuses_url":"https://api.github.com/repos/digitalocean/go-libvirt/statuses/0f3d537c868401ce5ab73468d646760876e95c97","head":{"label":"vtolstov:master","ref":"master","sha":"0f3d537c868401ce5ab73468d646760876e95c97","user":{"login":"vtolstov","id":481307,"avatar_url":"https://avatars1.githubusercontent.com/u/481307?v=3","gravatar_id":"","url":"https://api.github.com/users/vtolstov","html_url":"https://github.com/vtolstov","followers_url":"https://api.github.com/users/vtolstov/followers","following_url":"https://api.github.com/users/vtolstov/following{/other_user}","gists_url":"https://api.github.com/users/vtolstov/gists{/gist_id}","starred_url":"https://api.github.com/users/vtolstov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtolstov/subscriptions","organizations_url":"https://api.github.com/users/vtolstov/orgs","repos_url":"https://api.github.com/users/vtolstov/repos","events_url":"https://api.github.com/users/vtolstov/events{/privacy}","received_events_url":"https://api.github.com/users/vtolstov/received_events","type":"User","site_admin":false},"repo":{"id":78780371,"name":"go-libvirt","full_name":"vtolstov/go-libvirt","owner":{"login":"vtolstov","id":481307,"avatar_url":"https://avatars1.githubusercontent.com/u/481307?v=3","gravatar_id":"","url":"https://api.github.com/users/vtolstov","html_url":"https://github.com/vtolstov","followers_url":"https://api.github.com/users/vtolstov/followers","following_url":"https://api.github.com/users/vtolstov/following{/other_user}","gists_url":"https://api.github.com/users/vtolstov/gists{/gist_id}","starred_url":"https://api.github.com/users/vtolstov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtolstov/subscriptions","organizations_url":"https://api.github.com/users/vtolstov/orgs","repos_url":"https://api.github.com/users/vtolstov/repos","events_url":"https://api.github.com/users/vtolstov/events{/privacy}","received_events_url":"https://api.github.com/users/vtolstov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vtolstov/go-libvirt","description":"Package libvirt provides a pure Go interface for interacting with Libvirt.  Apache 2.0 Licensed.","fork":true,"url":"https://api.github.com/repos/vtolstov/go-libvirt","forks_url":"https://api.github.com/repos/vtolstov/go-libvirt/forks","keys_url":"https://api.github.com/repos/vtolstov/go-libvirt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vtolstov/go-libvirt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vtolstov/go-libvirt/teams","hooks_url":"https://api.github.com/repos/vtolstov/go-libvirt/hooks","issue_events_url":"https://api.github.com/repos/vtolstov/go-libvirt/issues/events{/number}","events_url":"https://api.github.com/repos/vtolstov/go-libvirt/events","assignees_url":"https://api.github.com/repos/vtolstov/go-libvirt/assignees{/user}","branches_url":"https://api.github.com/repos/vtolstov/go-libvirt/branches{/branch}","tags_url":"https://api.github.com/repos/vtolstov/go-libvirt/tags","blobs_url":"https://api.github.com/repos/vtolstov/go-libvirt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vtolstov/go-libvirt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vtolstov/go-libvirt/git/refs{/sha}","trees_url":"https://api.github.com/repos/vtolstov/go-libvirt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vtolstov/go-libvirt/statuses/{sha}","languages_url":"https://api.github.com/repos/vtolstov/go-libvirt/languages","stargazers_url":"https://api.github.com/repos/vtolstov/go-libvirt/stargazers","contributors_url":"https://api.github.com/repos/vtolstov/go-libvirt/contributors","subscribers_url":"https://api.github.com/repos/vtolstov/go-libvirt/subscribers","subscription_url":"https://api.github.com/repos/vtolstov/go-libvirt/subscription","commits_url":"https://api.github.com/repos/vtolstov/go-libvirt/commits{/sha}","git_commits_url":"https://api.github.com/repos/vtolstov/go-libvirt/git/commits{/sha}","comments_url":"https://api.github.com/repos/vtolstov/go-libvirt/comments{/number}","issue_comment_url":"https://api.github.com/repos/vtolstov/go-libvirt/issues/comments{/number}","contents_url":"https://api.github.com/repos/vtolstov/go-libvirt/contents/{+path}","compare_url":"https://api.github.com/repos/vtolstov/go-libvirt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vtolstov/go-libvirt/merges","archive_url":"https://api.github.com/repos/vtolstov/go-libvirt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vtolstov/go-libvirt/downloads","issues_url":"https://api.github.com/repos/vtolstov/go-libvirt/issues{/number}","pulls_url":"https://api.github.com/repos/vtolstov/go-libvirt/pulls{/number}","milestones_url":"https://api.github.com/repos/vtolstov/go-libvirt/milestones{/number}","notifications_url":"https://api.github.com/repos/vtolstov/go-libvirt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vtolstov/go-libvirt/labels{/name}","releases_url":"https://api.github.com/repos/vtolstov/go-libvirt/releases{/id}","deployments_url":"https://api.github.com/repos/vtolstov/go-libvirt/deployments","created_at":"2017-01-12T19:42:00Z","updated_at":"2017-04-02T20:27:34Z","pushed_at":"2017-04-03T14:38:36Z","git_url":"git://github.com/vtolstov/go-libvirt.git","ssh_url":"git@github.com:vtolstov/go-libvirt.git","clone_url":"https://github.com/vtolstov/go-libvirt.git","svn_url":"https://github.com/vtolstov/go-libvirt","homepage":"","size":102,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"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":"digitalocean:master","ref":"master","sha":"2609dd269778bc5b57e2134379f1b530b9276425","user":{"login":"digitalocean","id":4650108,"avatar_url":"https://avatars3.githubusercontent.com/u/4650108?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalocean","html_url":"https://github.com/digitalocean","followers_url":"https://api.github.com/users/digitalocean/followers","following_url":"https://api.github.com/users/digitalocean/following{/other_user}","gists_url":"https://api.github.com/users/digitalocean/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalocean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalocean/subscriptions","organizations_url":"https://api.github.com/users/digitalocean/orgs","repos_url":"https://api.github.com/users/digitalocean/repos","events_url":"https://api.github.com/users/digitalocean/events{/privacy}","received_events_url":"https://api.github.com/users/digitalocean/received_events","type":"Organization","site_admin":false},"repo":{"id":59240156,"name":"go-libvirt","full_name":"digitalocean/go-libvirt","owner":{"login":"digitalocean","id":4650108,"avatar_url":"https://avatars3.githubusercontent.com/u/4650108?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalocean","html_url":"https://github.com/digitalocean","followers_url":"https://api.github.com/users/digitalocean/followers","following_url":"https://api.github.com/users/digitalocean/following{/other_user}","gists_url":"https://api.github.com/users/digitalocean/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalocean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalocean/subscriptions","organizations_url":"https://api.github.com/users/digitalocean/orgs","repos_url":"https://api.github.com/users/digitalocean/repos","events_url":"https://api.github.com/users/digitalocean/events{/privacy}","received_events_url":"https://api.github.com/users/digitalocean/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/digitalocean/go-libvirt","description":"Package libvirt provides a pure Go interface for interacting with Libvirt.  Apache 2.0 Licensed.","fork":false,"url":"https://api.github.com/repos/digitalocean/go-libvirt","forks_url":"https://api.github.com/repos/digitalocean/go-libvirt/forks","keys_url":"https://api.github.com/repos/digitalocean/go-libvirt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/digitalocean/go-libvirt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/digitalocean/go-libvirt/teams","hooks_url":"https://api.github.com/repos/digitalocean/go-libvirt/hooks","issue_events_url":"https://api.github.com/repos/digitalocean/go-libvirt/issues/events{/number}","events_url":"https://api.github.com/repos/digitalocean/go-libvirt/events","assignees_url":"https://api.github.com/repos/digitalocean/go-libvirt/assignees{/user}","branches_url":"https://api.github.com/repos/digitalocean/go-libvirt/branches{/branch}","tags_url":"https://api.github.com/repos/digitalocean/go-libvirt/tags","blobs_url":"https://api.github.com/repos/digitalocean/go-libvirt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/digitalocean/go-libvirt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/digitalocean/go-libvirt/git/refs{/sha}","trees_url":"https://api.github.com/repos/digitalocean/go-libvirt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/digitalocean/go-libvirt/statuses/{sha}","languages_url":"https://api.github.com/repos/digitalocean/go-libvirt/languages","stargazers_url":"https://api.github.com/repos/digitalocean/go-libvirt/stargazers","contributors_url":"https://api.github.com/repos/digitalocean/go-libvirt/contributors","subscribers_url":"https://api.github.com/repos/digitalocean/go-libvirt/subscribers","subscription_url":"https://api.github.com/repos/digitalocean/go-libvirt/subscription","commits_url":"https://api.github.com/repos/digitalocean/go-libvirt/commits{/sha}","git_commits_url":"https://api.github.com/repos/digitalocean/go-libvirt/git/commits{/sha}","comments_url":"https://api.github.com/repos/digitalocean/go-libvirt/comments{/number}","issue_comment_url":"https://api.github.com/repos/digitalocean/go-libvirt/issues/comments{/number}","contents_url":"https://api.github.com/repos/digitalocean/go-libvirt/contents/{+path}","compare_url":"https://api.github.com/repos/digitalocean/go-libvirt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/digitalocean/go-libvirt/merges","archive_url":"https://api.github.com/repos/digitalocean/go-libvirt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/digitalocean/go-libvirt/downloads","issues_url":"https://api.github.com/repos/digitalocean/go-libvirt/issues{/number}","pulls_url":"https://api.github.com/repos/digitalocean/go-libvirt/pulls{/number}","milestones_url":"https://api.github.com/repos/digitalocean/go-libvirt/milestones{/number}","notifications_url":"https://api.github.com/repos/digitalocean/go-libvirt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/digitalocean/go-libvirt/labels{/name}","releases_url":"https://api.github.com/repos/digitalocean/go-libvirt/releases{/id}","deployments_url":"https://api.github.com/repos/digitalocean/go-libvirt/deployments","created_at":"2016-05-19T20:26:41Z","updated_at":"2017-04-03T05:36:41Z","pushed_at":"2017-04-03T14:38:37Z","git_url":"git://github.com/digitalocean/go-libvirt.git","ssh_url":"git@github.com:digitalocean/go-libvirt.git","clone_url":"https://github.com/digitalocean/go-libvirt.git","svn_url":"https://github.com/digitalocean/go-libvirt","homepage":"","size":66,"stargazers_count":169,"watchers_count":169,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":1,"forks":20,"open_issues":1,"watchers":169,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/digitalocean/go-libvirt/pulls/31"},"html":{"href":"https://github.com/digitalocean/go-libvirt/pull/31"},"issue":{"href":"https://api.github.com/repos/digitalocean/go-libvirt/issues/31"},"comments":{"href":"https://api.github.com/repos/digitalocean/go-libvirt/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/digitalocean/go-libvirt/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/digitalocean/go-libvirt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/digitalocean/go-libvirt/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/digitalocean/go-libvirt/statuses/0f3d537c868401ce5ab73468d646760876e95c97"}}}}
{"actor":{"display_login":"benlemasurier"}}