{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/origin/pulls/comments/32223103","id":32223103,"diff_hunk":"@@ -261,6 +263,18 @@ func TransportFor(config *Config) (http.RoundTripper, error) {\n \t\t\ttransport = http.DefaultTransport\n \t\t}\n \t}\n+\n+\tswitch {","path":"Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/client/helper.go","position":14,"original_position":14,"commit_id":"c63fadc05a080505b552c4e8349fb25546e36225","original_commit_id":"c63fadc05a080505b552c4e8349fb25546e36225","user":{"login":"deads2k","id":8225098,"avatar_url":"https://avatars.githubusercontent.com/u/8225098?v=3","gravatar_id":"","url":"https://api.github.com/users/deads2k","html_url":"https://github.com/deads2k","followers_url":"https://api.github.com/users/deads2k/followers","following_url":"https://api.github.com/users/deads2k/following{/other_user}","gists_url":"https://api.github.com/users/deads2k/gists{/gist_id}","starred_url":"https://api.github.com/users/deads2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deads2k/subscriptions","organizations_url":"https://api.github.com/users/deads2k/orgs","repos_url":"https://api.github.com/users/deads2k/repos","events_url":"https://api.github.com/users/deads2k/events{/privacy}","received_events_url":"https://api.github.com/users/deads2k/received_events","type":"User","site_admin":false},"body":"> I would guard this with a package var that defaults to false to prevent turning it on server-side\r\n\r\n@smarterclayton permission to create a global?  ","created_at":"2015-06-11T14:01:32Z","updated_at":"2015-06-11T14:01:32Z","html_url":"https://github.com/openshift/origin/pull/3088#discussion_r32223103","pull_request_url":"https://api.github.com/repos/openshift/origin/pulls/3088","_links":{"self":{"href":"https://api.github.com/repos/openshift/origin/pulls/comments/32223103"},"html":{"href":"https://github.com/openshift/origin/pull/3088#discussion_r32223103"},"pull_request":{"href":"https://api.github.com/repos/openshift/origin/pulls/3088"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/3088","id":37462819,"html_url":"https://github.com/openshift/origin/pull/3088","diff_url":"https://github.com/openshift/origin/pull/3088.diff","patch_url":"https://github.com/openshift/origin/pull/3088.patch","issue_url":"https://api.github.com/repos/openshift/origin/issues/3088","number":3088,"state":"open","locked":false,"title":"UPSTREAM: better client debugging","user":{"login":"deads2k","id":8225098,"avatar_url":"https://avatars.githubusercontent.com/u/8225098?v=3","gravatar_id":"","url":"https://api.github.com/users/deads2k","html_url":"https://github.com/deads2k","followers_url":"https://api.github.com/users/deads2k/followers","following_url":"https://api.github.com/users/deads2k/following{/other_user}","gists_url":"https://api.github.com/users/deads2k/gists{/gist_id}","starred_url":"https://api.github.com/users/deads2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deads2k/subscriptions","organizations_url":"https://api.github.com/users/deads2k/orgs","repos_url":"https://api.github.com/users/deads2k/repos","events_url":"https://api.github.com/users/deads2k/events{/privacy}","received_events_url":"https://api.github.com/users/deads2k/received_events","type":"User","site_admin":false},"body":"@smarterclayton a slightly cleaner factoring with more useful output levels\r\n\r\n6 - Verb URL Status Timing\r\n```\r\noc login --loglevel=6 -u david\r\nI0611 09:23:02.588530   18580 transport.go:168] GET https://localhost:8443/osapi  in 25 milliseconds\r\nI0611 09:23:02.588609   18580 request.go:683] Response Error: Get https://localhost:8443/osapi: x509: certificate signed by unknown authority\r\nI0611 09:23:02.606301   18580 transport.go:168] GET https://localhost:8443/oapi/v1/users/~ 401 Unauthorized in 15 milliseconds\r\nI0611 09:23:02.623896   18580 transport.go:168] GET https://localhost:8443/oapi/v1/users/~ 200 OK in 17 milliseconds\r\nI0611 09:23:02.641138   18580 transport.go:168] GET https://localhost:8443/oapi/v1/users/~ 200 OK in 16 milliseconds\r\nI0611 09:23:02.672769   18580 transport.go:168] GET https://localhost:8443/oapi/v1/projects 200 OK in 31 milliseconds\r\nI0611 09:23:02.675513   18580 transport.go:168] GET https://localhost:8443/oapi/v1/projects/default 200 OK in 2 milliseconds\r\nUsing project \"default\".\r\n\r\nYou have access to the following projects and can switch between them with 'oc project <projectname>':\r\n\r\n  * default (current)\r\n  * openshift\r\n  * openshift-infra\r\n\r\nI0611 09:23:02.690298   18580 transport.go:168] GET https://localhost:8443/oapi/v1/users/~ 200 OK in 14 milliseconds\r\nI0611 09:23:02.705358   18580 transport.go:168] GET https://localhost:8443/oapi/v1/users/~ 200 OK in 14 milliseconds\r\n```\r\n\r\n7 - +requestheaders\r\n```\r\noc login --loglevel=7 -u david\r\nI0611 09:24:27.917283   18734 transport.go:143] GET https://localhost:8443/osapi\r\nI0611 09:24:27.917339   18734 transport.go:153] Request Headers:\r\nI0611 09:24:27.917349   18734 transport.go:156]     User-Agent: oc/v0.6 (linux/amd64) openshift/c0342f5\r\nI0611 09:24:27.936462   18734 transport.go:168] GET https://localhost:8443/osapi  in 19 milliseconds\r\nI0611 09:24:27.936501   18734 transport.go:171] Response Status:  in 19 milliseconds\r\nI0611 09:24:27.936515   18734 request.go:683] Response Error: Get https://localhost:8443/osapi: x509: certificate signed by unknown authority\r\nI0611 09:24:27.936717   18734 transport.go:143] GET https://localhost:8443/oapi/v1/users/~\r\nI0611 09:24:27.936728   18734 transport.go:153] Request Headers:\r\nI0611 09:24:27.936734   18734 transport.go:156]     User-Agent: oc/v0.6 (linux/amd64) openshift/c0342f5\r\nI0611 09:24:27.936740   18734 transport.go:156]     Authorization: Bearer kfZzcFanfiC2DUy3N3naB735ci8HV5g92vBVDDJVYf0\r\nI0611 09:24:27.951099   18734 transport.go:168] GET https://localhost:8443/oapi/v1/users/~ 401 Unauthorized in 14 milliseconds\r\nI0611 09:24:27.951125   18734 transport.go:171] Response Status: 401 Unauthorized in 14 milliseconds\r\nI0611 09:24:27.952699   18734 transport.go:143] GET https://localhost:8443/oapi/v1/users/~\r\nI0611 09:24:27.952716   18734 transport.go:153] Request Headers:\r\nI0611 09:24:27.952723   18734 transport.go:156]     User-Agent: oc/v0.6 (linux/amd64) openshift/c0342f5\r\nI0611 09:24:27.952730   18734 transport.go:156]     Authorization: Bearer HCjFECDXWtzsfyFWUy1UoHP5LtNOnlSkibJPxc7BN3I\r\nI0611 09:24:27.967676   18734 transport.go:168] GET https://localhost:8443/oapi/v1/users/~ 200 OK in 14 milliseconds\r\nI0611 09:24:27.967712   18734 transport.go:171] Response Status: 200 OK in 14 milliseconds\r\nI0611 09:24:27.968350   18734 transport.go:143] GET https://localhost:8443/oapi/v1/users/~\r\nI0611 09:24:27.968419   18734 transport.go:153] Request Headers:\r\nI0611 09:24:27.968441   18734 transport.go:156]     User-Agent: oc/v0.6 (linux/amd64) openshift/c0342f5\r\nI0611 09:24:27.968461   18734 transport.go:156]     Authorization: Bearer HCjFECDXWtzsfyFWUy1UoHP5LtNOnlSkibJPxc7BN3I\r\nI0611 09:24:27.984140   18734 transport.go:168] GET https://localhost:8443/oapi/v1/users/~ 200 OK in 15 milliseconds\r\nI0611 09:24:27.984165   18734 transport.go:171] Response Status: 200 OK in 15 milliseconds\r\nI0611 09:24:27.984359   18734 transport.go:143] GET https://localhost:8443/oapi/v1/projects\r\nI0611 09:24:27.984374   18734 transport.go:153] Request Headers:\r\nI0611 09:24:27.984381   18734 transport.go:156]     User-Agent: oc/v0.6 (linux/amd64) openshift/c0342f5\r\nI0611 09:24:27.984388   18734 transport.go:156]     Authorization: Bearer HCjFECDXWtzsfyFWUy1UoHP5LtNOnlSkibJPxc7BN3I\r\nI0611 09:24:28.001484   18734 transport.go:168] GET https://localhost:8443/oapi/v1/projects 200 OK in 17 milliseconds\r\nI0611 09:24:28.001635   18734 transport.go:171] Response Status: 200 OK in 17 milliseconds\r\nI0611 09:24:28.002083   18734 transport.go:143] GET https://localhost:8443/oapi/v1/projects/default\r\nI0611 09:24:28.002100   18734 transport.go:153] Request Headers:\r\nI0611 09:24:28.002109   18734 transport.go:156]     User-Agent: oc/v0.6 (linux/amd64) openshift/c0342f5\r\nI0611 09:24:28.002119   18734 transport.go:156]     Authorization: Bearer HCjFECDXWtzsfyFWUy1UoHP5LtNOnlSkibJPxc7BN3I\r\nI0611 09:24:28.005283   18734 transport.go:168] GET https://localhost:8443/oapi/v1/projects/default 200 OK in 3 milliseconds\r\nI0611 09:24:28.005311   18734 transport.go:171] Response Status: 200 OK in 3 milliseconds\r\nUsing project \"default\".\r\n\r\nYou have access to the following projects and can switch between them with 'oc project <projectname>':\r\n\r\n  * default (current)\r\n  * openshift\r\n  * openshift-infra\r\n\r\nI0611 09:24:28.005633   18734 transport.go:143] GET https://localhost:8443/oapi/v1/users/~\r\nI0611 09:24:28.005646   18734 transport.go:153] Request Headers:\r\nI0611 09:24:28.005655   18734 transport.go:156]     User-Agent: oc/v0.6 (linux/amd64) openshift/c0342f5\r\nI0611 09:24:28.005665   18734 transport.go:156]     Authorization: Bearer HCjFECDXWtzsfyFWUy1UoHP5LtNOnlSkibJPxc7BN3I\r\nI0611 09:24:28.020248   18734 transport.go:168] GET https://localhost:8443/oapi/v1/users/~ 200 OK in 14 milliseconds\r\nI0611 09:24:28.020292   18734 transport.go:171] Response Status: 200 OK in 14 milliseconds\r\nI0611 09:24:28.020474   18734 transport.go:143] GET https://localhost:8443/oapi/v1/users/~\r\nI0611 09:24:28.020496   18734 transport.go:153] Request Headers:\r\nI0611 09:24:28.020503   18734 transport.go:156]     User-Agent: oc/v0.6 (linux/amd64) openshift/c0342f5\r\nI0611 09:24:28.020509   18734 transport.go:156]     Authorization: Bearer HCjFECDXWtzsfyFWUy1UoHP5LtNOnlSkibJPxc7BN3I\r\nI0611 09:24:28.036657   18734 transport.go:168] GET https://localhost:8443/oapi/v1/users/~ 200 OK in 16 milliseconds\r\nI0611 09:24:28.036688   18734 transport.go:171] Response Status: 200 OK in 16 milliseconds\r\n```\r\n\r\n8 - includes body content\r\n```\r\n```\r\n\r\n9 - curl commands\r\n```\r\n```","created_at":"2015-06-11T13:26:45Z","updated_at":"2015-06-11T14:01:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c5e94f593f4d851f2a0ddf26de155bc738b1cb4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openshift/origin/pulls/3088/commits","review_comments_url":"https://api.github.com/repos/openshift/origin/pulls/3088/comments","review_comment_url":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/origin/issues/3088/comments","statuses_url":"https://api.github.com/repos/openshift/origin/statuses/c63fadc05a080505b552c4e8349fb25546e36225","head":{"label":"deads2k:add-client-debug","ref":"add-client-debug","sha":"c63fadc05a080505b552c4e8349fb25546e36225","user":{"login":"deads2k","id":8225098,"avatar_url":"https://avatars.githubusercontent.com/u/8225098?v=3","gravatar_id":"","url":"https://api.github.com/users/deads2k","html_url":"https://github.com/deads2k","followers_url":"https://api.github.com/users/deads2k/followers","following_url":"https://api.github.com/users/deads2k/following{/other_user}","gists_url":"https://api.github.com/users/deads2k/gists{/gist_id}","starred_url":"https://api.github.com/users/deads2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deads2k/subscriptions","organizations_url":"https://api.github.com/users/deads2k/orgs","repos_url":"https://api.github.com/users/deads2k/repos","events_url":"https://api.github.com/users/deads2k/events{/privacy}","received_events_url":"https://api.github.com/users/deads2k/received_events","type":"User","site_admin":false},"repo":{"id":24424126,"name":"origin","full_name":"deads2k/origin","owner":{"login":"deads2k","id":8225098,"avatar_url":"https://avatars.githubusercontent.com/u/8225098?v=3","gravatar_id":"","url":"https://api.github.com/users/deads2k","html_url":"https://github.com/deads2k","followers_url":"https://api.github.com/users/deads2k/followers","following_url":"https://api.github.com/users/deads2k/following{/other_user}","gists_url":"https://api.github.com/users/deads2k/gists{/gist_id}","starred_url":"https://api.github.com/users/deads2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deads2k/subscriptions","organizations_url":"https://api.github.com/users/deads2k/orgs","repos_url":"https://api.github.com/users/deads2k/repos","events_url":"https://api.github.com/users/deads2k/events{/privacy}","received_events_url":"https://api.github.com/users/deads2k/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deads2k/origin","description":"OpenShift 3 - build, deploy, and manage your applications with Docker and Kubernetes","fork":true,"url":"https://api.github.com/repos/deads2k/origin","forks_url":"https://api.github.com/repos/deads2k/origin/forks","keys_url":"https://api.github.com/repos/deads2k/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deads2k/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deads2k/origin/teams","hooks_url":"https://api.github.com/repos/deads2k/origin/hooks","issue_events_url":"https://api.github.com/repos/deads2k/origin/issues/events{/number}","events_url":"https://api.github.com/repos/deads2k/origin/events","assignees_url":"https://api.github.com/repos/deads2k/origin/assignees{/user}","branches_url":"https://api.github.com/repos/deads2k/origin/branches{/branch}","tags_url":"https://api.github.com/repos/deads2k/origin/tags","blobs_url":"https://api.github.com/repos/deads2k/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deads2k/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deads2k/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/deads2k/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deads2k/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/deads2k/origin/languages","stargazers_url":"https://api.github.com/repos/deads2k/origin/stargazers","contributors_url":"https://api.github.com/repos/deads2k/origin/contributors","subscribers_url":"https://api.github.com/repos/deads2k/origin/subscribers","subscription_url":"https://api.github.com/repos/deads2k/origin/subscription","commits_url":"https://api.github.com/repos/deads2k/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/deads2k/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/deads2k/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/deads2k/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/deads2k/origin/contents/{+path}","compare_url":"https://api.github.com/repos/deads2k/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deads2k/origin/merges","archive_url":"https://api.github.com/repos/deads2k/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deads2k/origin/downloads","issues_url":"https://api.github.com/repos/deads2k/origin/issues{/number}","pulls_url":"https://api.github.com/repos/deads2k/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/deads2k/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/deads2k/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deads2k/origin/labels{/name}","releases_url":"https://api.github.com/repos/deads2k/origin/releases{/id}","created_at":"2014-09-24T17:02:12Z","updated_at":"2015-05-08T15:45:28Z","pushed_at":"2015-06-11T13:33:44Z","git_url":"git://github.com/deads2k/origin.git","ssh_url":"git@github.com:deads2k/origin.git","clone_url":"https://github.com/deads2k/origin.git","svn_url":"https://github.com/deads2k/origin","homepage":"https://openshift.github.io","size":117371,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"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":"openshift:master","ref":"master","sha":"5cf57679e0744d6946f4523cd6b6512b3c255111","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":22442668,"name":"origin","full_name":"openshift/origin","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/origin","description":"OpenShift 3 - build, deploy, and manage your applications with Docker and Kubernetes","fork":false,"url":"https://api.github.com/repos/openshift/origin","forks_url":"https://api.github.com/repos/openshift/origin/forks","keys_url":"https://api.github.com/repos/openshift/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/origin/teams","hooks_url":"https://api.github.com/repos/openshift/origin/hooks","issue_events_url":"https://api.github.com/repos/openshift/origin/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/origin/events","assignees_url":"https://api.github.com/repos/openshift/origin/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/origin/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/origin/tags","blobs_url":"https://api.github.com/repos/openshift/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/origin/languages","stargazers_url":"https://api.github.com/repos/openshift/origin/stargazers","contributors_url":"https://api.github.com/repos/openshift/origin/contributors","subscribers_url":"https://api.github.com/repos/openshift/origin/subscribers","subscription_url":"https://api.github.com/repos/openshift/origin/subscription","commits_url":"https://api.github.com/repos/openshift/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/origin/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/origin/merges","archive_url":"https://api.github.com/repos/openshift/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/origin/downloads","issues_url":"https://api.github.com/repos/openshift/origin/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/origin/labels{/name}","releases_url":"https://api.github.com/repos/openshift/origin/releases{/id}","created_at":"2014-07-30T20:04:05Z","updated_at":"2015-06-11T10:21:06Z","pushed_at":"2015-06-11T14:01:07Z","git_url":"git://github.com/openshift/origin.git","ssh_url":"git@github.com:openshift/origin.git","clone_url":"https://github.com/openshift/origin.git","svn_url":"https://github.com/openshift/origin","homepage":"http://www.openshift.org","size":196238,"stargazers_count":469,"watchers_count":469,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":241,"mirror_url":null,"open_issues_count":284,"forks":241,"open_issues":284,"watchers":469,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/origin/pulls/3088"},"html":{"href":"https://github.com/openshift/origin/pull/3088"},"issue":{"href":"https://api.github.com/repos/openshift/origin/issues/3088"},"comments":{"href":"https://api.github.com/repos/openshift/origin/issues/3088/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/origin/pulls/3088/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/origin/pulls/3088/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/origin/statuses/c63fadc05a080505b552c4e8349fb25546e36225"}}}}