Files
docker-cli/cli/command
Ian Campbell 1433e27420 Allow dynamically registered context endpoint to provide their defaults.
Previously an endpoint registered using `RegisterDefaultStoreEndpoints` would
not be taken into consideration by `resolveDefaultContext` and so could not
provide any details.

Resolve this by passing a `store.Config` to `resolveDefaultContext` and using
it to iterate over all registered endpoints. Any endpoint can ensure that their
type implements the new `EndpointDefaultResolver` in order to provide a default.

The Docker and Kubernetes endpoints are special cased, shortly the Kubernetes
one will be refactored to be dynamically registered.

Signed-off-by: Ian Campbell <ijc@docker.com>
2019-05-20 13:28:11 +01:00
..
2018-06-08 18:24:26 +02:00
2019-01-08 00:35:24 +01:00
2019-01-10 22:25:43 +01:00
2018-06-08 18:24:26 +02:00
2019-05-14 01:29:18 +00:00
2018-06-08 18:24:26 +02:00
2018-11-08 11:37:49 +01:00
2019-04-13 17:51:15 +02:00
2018-10-23 17:05:44 +02:00
2018-11-08 11:37:49 +01:00
2019-03-13 14:18:41 +01:00
2019-04-18 15:49:36 +02:00
2017-09-01 19:41:06 -04:00
2019-01-10 22:25:43 +01:00
2019-03-28 21:08:13 +00:00