{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes-client/csharp/pulls/comments/176907895","pull_request_review_id":106697655,"id":176907895,"diff_hunk":"@@ -0,0 +1,28 @@\n+using System;\r\n+using System.IO;\r\n+using System.Threading.Tasks;\r\n+using k8s;\r\n+\r\n+namespace logs\r\n+{\r\n+    internal class Logs\r\n+    {\r\n+        private static async Task Main(string[] args)\r\n+        {\r\n+            var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();\r\n+            IKubernetes client = new Kubernetes(config);\r\n+            Console.WriteLine(\"Starting Request!\");\r\n+\r\n+            var list = client.ListNamespacedPod(\"default\");\r\n+            if (list.Items.Count == 0) {\r\n+                Console.WriteLine(\"No pods!\");\r\n+                return;\r\n+            }\r\n+            var pod = list.Items[0];\r\n+\r\n+            var response = await client.ReadNamespacedPodLogWithHttpMessagesAsync(pod.Metadata.Name, pod.Metadata.NamespaceProperty);\r","path":"examples/logs/Logs.cs","position":null,"original_position":23,"commit_id":"b87e6d0a91c6b70710982a7a4196d14b7a4639b5","original_commit_id":"ef23089831e24c8f0f2cfb23c6eda7a6f2d0d137","user":{"login":"tg123","id":170430,"avatar_url":"https://avatars1.githubusercontent.com/u/170430?v=4","gravatar_id":"","url":"https://api.github.com/users/tg123","html_url":"https://github.com/tg123","followers_url":"https://api.github.com/users/tg123/followers","following_url":"https://api.github.com/users/tg123/following{/other_user}","gists_url":"https://api.github.com/users/tg123/gists{/gist_id}","starred_url":"https://api.github.com/users/tg123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tg123/subscriptions","organizations_url":"https://api.github.com/users/tg123/orgs","repos_url":"https://api.github.com/users/tg123/repos","events_url":"https://api.github.com/users/tg123/events{/privacy}","received_events_url":"https://api.github.com/users/tg123/received_events","type":"User","site_admin":false},"body":"LGTM 👍 ","created_at":"2018-03-24T12:25:12Z","updated_at":"2018-03-24T12:25:12Z","html_url":"https://github.com/kubernetes-client/csharp/pull/117#discussion_r176907895","pull_request_url":"https://api.github.com/repos/kubernetes-client/csharp/pulls/117","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/kubernetes-client/csharp/pulls/comments/176907895"},"html":{"href":"https://github.com/kubernetes-client/csharp/pull/117#discussion_r176907895"},"pull_request":{"href":"https://api.github.com/repos/kubernetes-client/csharp/pulls/117"}},"in_reply_to_id":176841223},"pull_request":{"url":"https://api.github.com/repos/kubernetes-client/csharp/pulls/117","id":176975062,"html_url":"https://github.com/kubernetes-client/csharp/pull/117","diff_url":"https://github.com/kubernetes-client/csharp/pull/117.diff","patch_url":"https://github.com/kubernetes-client/csharp/pull/117.patch","issue_url":"https://api.github.com/repos/kubernetes-client/csharp/issues/117","number":117,"state":"open","locked":false,"title":"Add a logs example.","user":{"login":"brendandburns","id":5751682,"avatar_url":"https://avatars2.githubusercontent.com/u/5751682?v=4","gravatar_id":"","url":"https://api.github.com/users/brendandburns","html_url":"https://github.com/brendandburns","followers_url":"https://api.github.com/users/brendandburns/followers","following_url":"https://api.github.com/users/brendandburns/following{/other_user}","gists_url":"https://api.github.com/users/brendandburns/gists{/gist_id}","starred_url":"https://api.github.com/users/brendandburns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendandburns/subscriptions","organizations_url":"https://api.github.com/users/brendandburns/orgs","repos_url":"https://api.github.com/users/brendandburns/repos","events_url":"https://api.github.com/users/brendandburns/events{/privacy}","received_events_url":"https://api.github.com/users/brendandburns/received_events","type":"User","site_admin":false},"body":"@tg123 ","created_at":"2018-03-23T05:10:44Z","updated_at":"2018-03-24T12:25:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4bb9379df575e7980c63aff9ed080d68bbc9045","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes-client/csharp/pulls/117/commits","review_comments_url":"https://api.github.com/repos/kubernetes-client/csharp/pulls/117/comments","review_comment_url":"https://api.github.com/repos/kubernetes-client/csharp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes-client/csharp/issues/117/comments","statuses_url":"https://api.github.com/repos/kubernetes-client/csharp/statuses/b87e6d0a91c6b70710982a7a4196d14b7a4639b5","head":{"label":"brendandburns:logs","ref":"logs","sha":"b87e6d0a91c6b70710982a7a4196d14b7a4639b5","user":{"login":"brendandburns","id":5751682,"avatar_url":"https://avatars2.githubusercontent.com/u/5751682?v=4","gravatar_id":"","url":"https://api.github.com/users/brendandburns","html_url":"https://github.com/brendandburns","followers_url":"https://api.github.com/users/brendandburns/followers","following_url":"https://api.github.com/users/brendandburns/following{/other_user}","gists_url":"https://api.github.com/users/brendandburns/gists{/gist_id}","starred_url":"https://api.github.com/users/brendandburns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendandburns/subscriptions","organizations_url":"https://api.github.com/users/brendandburns/orgs","repos_url":"https://api.github.com/users/brendandburns/repos","events_url":"https://api.github.com/users/brendandburns/events{/privacy}","received_events_url":"https://api.github.com/users/brendandburns/received_events","type":"User","site_admin":false},"repo":{"id":93596926,"name":"csharp","full_name":"brendandburns/csharp","owner":{"login":"brendandburns","id":5751682,"avatar_url":"https://avatars2.githubusercontent.com/u/5751682?v=4","gravatar_id":"","url":"https://api.github.com/users/brendandburns","html_url":"https://github.com/brendandburns","followers_url":"https://api.github.com/users/brendandburns/followers","following_url":"https://api.github.com/users/brendandburns/following{/other_user}","gists_url":"https://api.github.com/users/brendandburns/gists{/gist_id}","starred_url":"https://api.github.com/users/brendandburns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendandburns/subscriptions","organizations_url":"https://api.github.com/users/brendandburns/orgs","repos_url":"https://api.github.com/users/brendandburns/repos","events_url":"https://api.github.com/users/brendandburns/events{/privacy}","received_events_url":"https://api.github.com/users/brendandburns/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brendandburns/csharp","description":"Work In Progress","fork":true,"url":"https://api.github.com/repos/brendandburns/csharp","forks_url":"https://api.github.com/repos/brendandburns/csharp/forks","keys_url":"https://api.github.com/repos/brendandburns/csharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brendandburns/csharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brendandburns/csharp/teams","hooks_url":"https://api.github.com/repos/brendandburns/csharp/hooks","issue_events_url":"https://api.github.com/repos/brendandburns/csharp/issues/events{/number}","events_url":"https://api.github.com/repos/brendandburns/csharp/events","assignees_url":"https://api.github.com/repos/brendandburns/csharp/assignees{/user}","branches_url":"https://api.github.com/repos/brendandburns/csharp/branches{/branch}","tags_url":"https://api.github.com/repos/brendandburns/csharp/tags","blobs_url":"https://api.github.com/repos/brendandburns/csharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brendandburns/csharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brendandburns/csharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/brendandburns/csharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brendandburns/csharp/statuses/{sha}","languages_url":"https://api.github.com/repos/brendandburns/csharp/languages","stargazers_url":"https://api.github.com/repos/brendandburns/csharp/stargazers","contributors_url":"https://api.github.com/repos/brendandburns/csharp/contributors","subscribers_url":"https://api.github.com/repos/brendandburns/csharp/subscribers","subscription_url":"https://api.github.com/repos/brendandburns/csharp/subscription","commits_url":"https://api.github.com/repos/brendandburns/csharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/brendandburns/csharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/brendandburns/csharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/brendandburns/csharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/brendandburns/csharp/contents/{+path}","compare_url":"https://api.github.com/repos/brendandburns/csharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brendandburns/csharp/merges","archive_url":"https://api.github.com/repos/brendandburns/csharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brendandburns/csharp/downloads","issues_url":"https://api.github.com/repos/brendandburns/csharp/issues{/number}","pulls_url":"https://api.github.com/repos/brendandburns/csharp/pulls{/number}","milestones_url":"https://api.github.com/repos/brendandburns/csharp/milestones{/number}","notifications_url":"https://api.github.com/repos/brendandburns/csharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brendandburns/csharp/labels{/name}","releases_url":"https://api.github.com/repos/brendandburns/csharp/releases{/id}","deployments_url":"https://api.github.com/repos/brendandburns/csharp/deployments","created_at":"2017-06-07T05:43:13Z","updated_at":"2017-08-24T23:40:17Z","pushed_at":"2018-03-24T04:59:40Z","git_url":"git://github.com/brendandburns/csharp.git","ssh_url":"git@github.com:brendandburns/csharp.git","clone_url":"https://github.com/brendandburns/csharp.git","svn_url":"https://github.com/brendandburns/csharp","homepage":null,"size":1658,"stargazers_count":0,"watchers_count":0,"language":"C#","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes-client:master","ref":"master","sha":"fcc08bc457561da4f4462c1425ede9f2f5dbb6db","user":{"login":"kubernetes-client","id":26615988,"avatar_url":"https://avatars3.githubusercontent.com/u/26615988?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes-client","html_url":"https://github.com/kubernetes-client","followers_url":"https://api.github.com/users/kubernetes-client/followers","following_url":"https://api.github.com/users/kubernetes-client/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes-client/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes-client/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes-client/subscriptions","organizations_url":"https://api.github.com/users/kubernetes-client/orgs","repos_url":"https://api.github.com/users/kubernetes-client/repos","events_url":"https://api.github.com/users/kubernetes-client/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes-client/received_events","type":"Organization","site_admin":false},"repo":{"id":91113841,"name":"csharp","full_name":"kubernetes-client/csharp","owner":{"login":"kubernetes-client","id":26615988,"avatar_url":"https://avatars3.githubusercontent.com/u/26615988?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes-client","html_url":"https://github.com/kubernetes-client","followers_url":"https://api.github.com/users/kubernetes-client/followers","following_url":"https://api.github.com/users/kubernetes-client/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes-client/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes-client/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes-client/subscriptions","organizations_url":"https://api.github.com/users/kubernetes-client/orgs","repos_url":"https://api.github.com/users/kubernetes-client/repos","events_url":"https://api.github.com/users/kubernetes-client/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes-client/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes-client/csharp","description":"Work In Progress","fork":false,"url":"https://api.github.com/repos/kubernetes-client/csharp","forks_url":"https://api.github.com/repos/kubernetes-client/csharp/forks","keys_url":"https://api.github.com/repos/kubernetes-client/csharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes-client/csharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes-client/csharp/teams","hooks_url":"https://api.github.com/repos/kubernetes-client/csharp/hooks","issue_events_url":"https://api.github.com/repos/kubernetes-client/csharp/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes-client/csharp/events","assignees_url":"https://api.github.com/repos/kubernetes-client/csharp/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes-client/csharp/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes-client/csharp/tags","blobs_url":"https://api.github.com/repos/kubernetes-client/csharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes-client/csharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes-client/csharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes-client/csharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes-client/csharp/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes-client/csharp/languages","stargazers_url":"https://api.github.com/repos/kubernetes-client/csharp/stargazers","contributors_url":"https://api.github.com/repos/kubernetes-client/csharp/contributors","subscribers_url":"https://api.github.com/repos/kubernetes-client/csharp/subscribers","subscription_url":"https://api.github.com/repos/kubernetes-client/csharp/subscription","commits_url":"https://api.github.com/repos/kubernetes-client/csharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes-client/csharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes-client/csharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes-client/csharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes-client/csharp/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes-client/csharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes-client/csharp/merges","archive_url":"https://api.github.com/repos/kubernetes-client/csharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes-client/csharp/downloads","issues_url":"https://api.github.com/repos/kubernetes-client/csharp/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes-client/csharp/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes-client/csharp/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes-client/csharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes-client/csharp/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes-client/csharp/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes-client/csharp/deployments","created_at":"2017-05-12T17:18:11Z","updated_at":"2018-03-24T05:07:53Z","pushed_at":"2018-03-24T05:07:52Z","git_url":"git://github.com/kubernetes-client/csharp.git","ssh_url":"git@github.com:kubernetes-client/csharp.git","clone_url":"https://github.com/kubernetes-client/csharp.git","svn_url":"https://github.com/kubernetes-client/csharp","homepage":null,"size":1645,"stargazers_count":42,"watchers_count":42,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":10,"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":24,"open_issues":10,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes-client/csharp/pulls/117"},"html":{"href":"https://github.com/kubernetes-client/csharp/pull/117"},"issue":{"href":"https://api.github.com/repos/kubernetes-client/csharp/issues/117"},"comments":{"href":"https://api.github.com/repos/kubernetes-client/csharp/issues/117/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes-client/csharp/pulls/117/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes-client/csharp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes-client/csharp/pulls/117/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes-client/csharp/statuses/b87e6d0a91c6b70710982a7a4196d14b7a4639b5"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"tg123"}}