{"action":"created","issue":{"url":"https://api.github.com/repos/docker/cli/issues/1500","repository_url":"https://api.github.com/repos/docker/cli","labels_url":"https://api.github.com/repos/docker/cli/issues/1500/labels{/name}","comments_url":"https://api.github.com/repos/docker/cli/issues/1500/comments","events_url":"https://api.github.com/repos/docker/cli/issues/1500/events","html_url":"https://github.com/docker/cli/pull/1500","id":378236137,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4OTg3Njky","number":1500,"title":"Fast context switch: foundation","user":{"login":"simonferquel","id":1677333,"node_id":"MDQ6VXNlcjE2NzczMzM=","avatar_url":"https://avatars3.githubusercontent.com/u/1677333?v=4","gravatar_id":"","url":"https://api.github.com/users/simonferquel","html_url":"https://github.com/simonferquel","followers_url":"https://api.github.com/users/simonferquel/followers","following_url":"https://api.github.com/users/simonferquel/following{/other_user}","gists_url":"https://api.github.com/users/simonferquel/gists{/gist_id}","starred_url":"https://api.github.com/users/simonferquel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonferquel/subscriptions","organizations_url":"https://api.github.com/users/simonferquel/orgs","repos_url":"https://api.github.com/users/simonferquel/repos","events_url":"https://api.github.com/users/simonferquel/events{/privacy}","received_events_url":"https://api.github.com/users/simonferquel/received_events","type":"User","site_admin":false},"labels":[{"id":585916069,"node_id":"MDU6TGFiZWw1ODU5MTYwNjk=","url":"https://api.github.com/repos/docker/cli/labels/status/0-triage","name":"status/0-triage","color":"EEEEEE","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-07T10:50:00Z","updated_at":"2018-11-09T12:15:17Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/docker/cli/pulls/1500","html_url":"https://github.com/docker/cli/pull/1500","diff_url":"https://github.com/docker/cli/pull/1500.diff","patch_url":"https://github.com/docker/cli/pull/1500.patch"},"body":"**- What I did**\r\n\r\nThis is foundational work for enabling support for fast context switch. This is related to https://github.com/moby/moby/pull/38148.\r\n\r\nWhat it does is that it modifies how the CLI behaves to configure clients for both Docker engine and Kubernetes. It also change the way the default value for orchestrator in stacks related command is defined, making it possible to set a different default value on each context\r\n\r\n**- How I did it**\r\n\r\nThis leverages the moby side PR, and add similar facilities to create/parse endpoint information for Kubernetes\r\n\r\n**- How to verify it**\r\n\r\nUnit tests + upcoming commands PR related to context switch\r\n\r\n**- Description for the changelog**\r\n\r\nFast context switch: you can now store, import and export credentials for different clusters and switch between them quickly using the command line\r\n\r\n**- A picture of a cute animal (not mandatory but encouraged)**\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker/cli/issues/comments/437342759","html_url":"https://github.com/docker/cli/pull/1500#issuecomment-437342759","issue_url":"https://api.github.com/repos/docker/cli/issues/1500","id":437342759,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzM0Mjc1OQ==","user":{"login":"codecov-io","id":8655789,"node_id":"MDQ6VXNlcjg2NTU3ODk=","avatar_url":"https://avatars0.githubusercontent.com/u/8655789?v=4","gravatar_id":"","url":"https://api.github.com/users/codecov-io","html_url":"https://github.com/codecov-io","followers_url":"https://api.github.com/users/codecov-io/followers","following_url":"https://api.github.com/users/codecov-io/following{/other_user}","gists_url":"https://api.github.com/users/codecov-io/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov-io/subscriptions","organizations_url":"https://api.github.com/users/codecov-io/orgs","repos_url":"https://api.github.com/users/codecov-io/repos","events_url":"https://api.github.com/users/codecov-io/events{/privacy}","received_events_url":"https://api.github.com/users/codecov-io/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T12:15:17Z","updated_at":"2018-11-09T12:15:17Z","author_association":"NONE","body":"# [Codecov](https://codecov.io/gh/docker/cli/pull/1500?src=pr&el=h1) Report\n> Merging [#1500](https://codecov.io/gh/docker/cli/pull/1500?src=pr&el=desc) into [master](https://codecov.io/gh/docker/cli/commit/3a6f8b677484de8e5ebc315d2ff6e8dab5948088?src=pr&el=desc) will **increase** coverage by `0.03%`.\n> The diff coverage is `55.65%`.\n\n\n\n```diff\n@@            Coverage Diff             @@\n##           master    #1500      +/-   ##\n==========================================\n+ Coverage   55.14%   55.18%   +0.03%     \n==========================================\n  Files         289      291       +2     \n  Lines       19371    19574     +203     \n==========================================\n+ Hits        10683    10801     +118     \n- Misses       7996     8061      +65     \n- Partials      692      712      +20\n```\n\n"}}
{"actor":{"display_login":"codecov-io"}}