default context type is “moby”

This commit is contained in:
Guillaume Tardif 2020-06-12 15:09:16 +02:00
parent 0de2522079
commit 84cdf58e8a
8 changed files with 11 additions and 10 deletions

View File

@ -96,7 +96,8 @@ const (
// AciContextType is the endpoint key in the context endpoints for an ACI // AciContextType is the endpoint key in the context endpoints for an ACI
// backend // backend
AciContextType = "aci" 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" LocalContextType = "local"
// ExampleContextType is the endpoint key in the context endpoints for an // ExampleContextType is the endpoint key in the context endpoints for an
// example backend // example backend

View File

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

View File

@ -1,2 +1,2 @@
NAME TYPE DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR 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

View File

@ -1,2 +1,2 @@
NAME TYPE DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR 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

View File

@ -1,3 +1,3 @@
NAME TYPE DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR 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-docker docker npipe:////./pipe/docker_engine swarm test-docker moby npipe:////./pipe/docker_engine swarm

View File

@ -1,3 +1,3 @@
NAME TYPE DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR 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-docker docker unix:///var/run/docker.sock swarm test-docker moby unix:///var/run/docker.sock swarm

View File

@ -1,3 +1,3 @@
NAME TYPE DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR 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 test-example * example

View File

@ -1,3 +1,3 @@
NAME TYPE DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR 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 test-example * example