1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Add engine-api types to docker

This moves the types for the `engine-api` repo to the existing types
package.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2016-09-06 11:18:12 -07:00
parent a6daa94e3e
commit 91e197d614
289 changed files with 4465 additions and 366 deletions

View file

@ -1,7 +1,7 @@
package credentials
import (
"github.com/docker/engine-api/types"
"github.com/docker/docker/api/types"
)
// Store is the interface that any credentials store must implement.

View file

@ -3,7 +3,9 @@ package credentials
import (
"github.com/docker/docker/cliconfig/configfile"
"github.com/docker/docker/registry"
"github.com/docker/engine-api/types"
"github.com/docker/docker/api/types"
"github.com/docker/docker/cliconfig/configfile"
)
// fileStore implements a credentials store using

View file

@ -4,9 +4,9 @@ import (
"io/ioutil"
"testing"
"github.com/docker/docker/api/types"
"github.com/docker/docker/cliconfig"
"github.com/docker/docker/cliconfig/configfile"
"github.com/docker/engine-api/types"
)
func newConfigFile(auths map[string]types.AuthConfig) *configfile.ConfigFile {

View file

@ -3,8 +3,8 @@ package credentials
import (
"github.com/docker/docker-credential-helpers/client"
"github.com/docker/docker-credential-helpers/credentials"
"github.com/docker/docker/api/types"
"github.com/docker/docker/cliconfig/configfile"
"github.com/docker/engine-api/types"
)
const (

View file

@ -10,7 +10,7 @@ import (
"github.com/docker/docker-credential-helpers/client"
"github.com/docker/docker-credential-helpers/credentials"
"github.com/docker/engine-api/types"
"github.com/docker/docker/api/types"
)
const (