DockerCLI/cli/command/context
Simon Ferquel 225c9b189a Split the context store interface
This is to make it easier to implement support for exporting contexts in
3rd party code, or to create mocks in tests.

2 exemples where it simplify things:
- docker-app desktop-specific context decorator (which rewrites parts of
the docker context to simplify UX when using on Docker Desktop contexts)
- ucp for including a context in the connection bundle

Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2019-04-18 15:03:46 +02:00
..
testdata Make default context behaves like a real context: 2019-03-18 11:45:46 +01:00
cmd.go Fast Context Switch: commands 2019-01-10 22:25:43 +01:00
create.go Split the context store interface 2019-04-18 15:03:46 +02:00
create_test.go Split the context store interface 2019-04-18 15:03:46 +02:00
export-import_test.go Add context store config options and expose context commands 2019-01-29 11:19:54 +01:00
export.go Make default context behaves like a real context: 2019-03-18 11:45:46 +01:00
import.go Add context store config options and expose context commands 2019-01-29 11:19:54 +01:00
inspect.go Make default context behaves like a real context: 2019-03-18 11:45:46 +01:00
inspect_test.go Fast Context Switch: commands 2019-01-10 22:25:43 +01:00
list.go Add warnings when DOCKER_HOST conflicts with contexts 2019-04-10 10:14:47 +02:00
list_test.go add --from option to context create 2019-04-02 13:41:47 +01:00
options.go add --from option to context create 2019-04-02 13:41:47 +01:00
remove.go Add context store config options and expose context commands 2019-01-29 11:19:54 +01:00
remove_test.go Make default context behaves like a real context: 2019-03-18 11:45:46 +01:00
update.go Add context store config options and expose context commands 2019-01-29 11:19:54 +01:00
update_test.go Add context store config options and expose context commands 2019-01-29 11:19:54 +01:00
use.go Add warnings when DOCKER_HOST conflicts with contexts 2019-04-10 10:14:47 +02:00
use_test.go Add context store config options and expose context commands 2019-01-29 11:19:54 +01:00