default context type is “moby”

This commit is contained in:
Guillaume Tardif 2020-06-12 15:09:16 +02:00
Родитель 0de2522079
Коммит 84cdf58e8a
8 изменённых файлов: 11 добавлений и 10 удалений

Просмотреть файл

@ -96,7 +96,8 @@ const (
// AciContextType is the endpoint key in the context endpoints for an ACI
// backend
AciContextType = "aci"
// LocalContextType is the endpoint key in the context endpoints for a new local backend
// LocalContextType is the endpoint key in the context endpoints for a new
// local backend
LocalContextType = "local"
// ExampleContextType is the endpoint key in the context endpoints for an
// example backend

Просмотреть файл

@ -8,7 +8,7 @@ import (
"github.com/pkg/errors"
)
const defaultContextType = "docker"
const defaultContextType = "moby"
// Represents a context as created by the docker cli
type defaultContext struct {

Просмотреть файл

@ -1,2 +1,2 @@
NAME TYPE DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR
default * docker Current DOCKER_HOST based configuration npipe:////./pipe/docker_engine swarm
default * moby Current DOCKER_HOST based configuration npipe:////./pipe/docker_engine swarm

2
tests/e2e/testdata/ls-out-default.golden поставляемый
Просмотреть файл

@ -1,2 +1,2 @@
NAME TYPE DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR
default * docker Current DOCKER_HOST based configuration unix:///var/run/docker.sock swarm
default * moby Current DOCKER_HOST based configuration unix:///var/run/docker.sock swarm

Просмотреть файл

@ -1,3 +1,3 @@
NAME TYPE DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR
default * docker Current DOCKER_HOST based configuration npipe:////./pipe/docker_engine swarm
test-docker docker npipe:////./pipe/docker_engine swarm
default * moby Current DOCKER_HOST based configuration npipe:////./pipe/docker_engine swarm
test-docker moby npipe:////./pipe/docker_engine swarm

Просмотреть файл

@ -1,3 +1,3 @@
NAME TYPE DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR
default * docker Current DOCKER_HOST based configuration unix:///var/run/docker.sock swarm
test-docker docker unix:///var/run/docker.sock swarm
default * moby Current DOCKER_HOST based configuration unix:///var/run/docker.sock swarm
test-docker moby unix:///var/run/docker.sock swarm

Просмотреть файл

@ -1,3 +1,3 @@
NAME TYPE DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR
default docker Current DOCKER_HOST based configuration npipe:////./pipe/docker_engine swarm
default moby Current DOCKER_HOST based configuration npipe:////./pipe/docker_engine swarm
test-example * example

Просмотреть файл

@ -1,3 +1,3 @@
NAME TYPE DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR
default docker Current DOCKER_HOST based configuration unix:///var/run/docker.sock swarm
default moby Current DOCKER_HOST based configuration unix:///var/run/docker.sock swarm
test-example * example