Vendor dependencies and use docker/go-docker for API types

This commit is contained in:
Marcos Lilljedahl
2017-10-20 18:42:16 -03:00
parent 82b95ee112
commit 7ce693fab5
16 changed files with 31 additions and 32 deletions

View File

@@ -4,8 +4,8 @@ import (
"context"
"testing"
dockerTypes "github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/swarm"
dockerTypes "docker.io/go-docker/api/types"
"docker.io/go-docker/api/types/swarm"
"github.com/play-with-docker/play-with-docker/docker"
"github.com/play-with-docker/play-with-docker/event"
"github.com/play-with-docker/play-with-docker/pwd/types"

View File

@@ -4,7 +4,7 @@ import (
"context"
"log"
"github.com/docker/docker/api/types/swarm"
"docker.io/go-docker/api/types/swarm"
"github.com/play-with-docker/play-with-docker/docker"
"github.com/play-with-docker/play-with-docker/event"
"github.com/play-with-docker/play-with-docker/pwd/types"

View File

@@ -4,8 +4,8 @@ import (
"context"
"testing"
dockerTypes "github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/swarm"
dockerTypes "docker.io/go-docker/api/types"
"docker.io/go-docker/api/types/swarm"
"github.com/play-with-docker/play-with-docker/docker"
"github.com/play-with-docker/play-with-docker/event"
"github.com/play-with-docker/play-with-docker/pwd/types"

View File

@@ -10,7 +10,7 @@ import (
"net/url"
"time"
dockerTypes "github.com/docker/docker/api/types"
dockerTypes "docker.io/go-docker/api/types"
units "github.com/docker/go-units"
lru "github.com/hashicorp/golang-lru"
"github.com/play-with-docker/play-with-docker/docker"

View File

@@ -7,7 +7,7 @@ import (
"io"
"testing"
dockerTypes "github.com/docker/docker/api/types"
dockerTypes "docker.io/go-docker/api/types"
"github.com/play-with-docker/play-with-docker/docker"
"github.com/play-with-docker/play-with-docker/event"
"github.com/play-with-docker/play-with-docker/pwd/types"