Modify import paths to point to the new engine-api package.

Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
David Calavera 2016-01-04 19:05:26 -05:00
parent 062d6cd782
commit 981a573eaf
9 changed files with 14 additions and 14 deletions

View file

@ -8,8 +8,8 @@ import (
"strings" "strings"
"github.com/Sirupsen/logrus" "github.com/Sirupsen/logrus"
"github.com/docker/docker/api/types" "github.com/docker/engine-api/types"
registrytypes "github.com/docker/docker/api/types/registry" registrytypes "github.com/docker/engine-api/types/registry"
) )
// Login tries to register/login to the registry server. // Login tries to register/login to the registry server.

View file

@ -3,8 +3,8 @@ package registry
import ( import (
"testing" "testing"
"github.com/docker/docker/api/types" "github.com/docker/engine-api/types"
registrytypes "github.com/docker/docker/api/types/registry" registrytypes "github.com/docker/engine-api/types/registry"
) )
func buildAuthConfigs() map[string]types.AuthConfig { func buildAuthConfigs() map[string]types.AuthConfig {

View file

@ -7,10 +7,10 @@ import (
"net/url" "net/url"
"strings" "strings"
registrytypes "github.com/docker/docker/api/types/registry"
"github.com/docker/docker/opts" "github.com/docker/docker/opts"
flag "github.com/docker/docker/pkg/mflag" flag "github.com/docker/docker/pkg/mflag"
"github.com/docker/docker/reference" "github.com/docker/docker/reference"
registrytypes "github.com/docker/engine-api/types/registry"
) )
// Options holds command line options. // Options holds command line options.

View file

@ -13,7 +13,7 @@ import (
"github.com/Sirupsen/logrus" "github.com/Sirupsen/logrus"
"github.com/docker/distribution/registry/api/v2" "github.com/docker/distribution/registry/api/v2"
"github.com/docker/distribution/registry/client/transport" "github.com/docker/distribution/registry/client/transport"
registrytypes "github.com/docker/docker/api/types/registry" registrytypes "github.com/docker/engine-api/types/registry"
) )
// for mocking in unit tests // for mocking in unit tests

View file

@ -15,9 +15,9 @@ import (
"testing" "testing"
"time" "time"
registrytypes "github.com/docker/docker/api/types/registry"
"github.com/docker/docker/opts" "github.com/docker/docker/opts"
"github.com/docker/docker/reference" "github.com/docker/docker/reference"
registrytypes "github.com/docker/engine-api/types/registry"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/Sirupsen/logrus" "github.com/Sirupsen/logrus"

View file

@ -9,9 +9,9 @@ import (
"testing" "testing"
"github.com/docker/distribution/registry/client/transport" "github.com/docker/distribution/registry/client/transport"
"github.com/docker/docker/api/types"
registrytypes "github.com/docker/docker/api/types/registry"
"github.com/docker/docker/reference" "github.com/docker/docker/reference"
"github.com/docker/engine-api/types"
registrytypes "github.com/docker/engine-api/types/registry"
) )
var ( var (

View file

@ -6,9 +6,9 @@ import (
"net/url" "net/url"
"strings" "strings"
"github.com/docker/docker/api/types"
registrytypes "github.com/docker/docker/api/types/registry"
"github.com/docker/docker/reference" "github.com/docker/docker/reference"
"github.com/docker/engine-api/types"
registrytypes "github.com/docker/engine-api/types/registry"
) )
// Service is a registry service. It tracks configuration data such as a list // Service is a registry service. It tracks configuration data such as a list

View file

@ -19,13 +19,13 @@ import (
"strings" "strings"
"github.com/Sirupsen/logrus" "github.com/Sirupsen/logrus"
"github.com/docker/docker/api/types"
registrytypes "github.com/docker/docker/api/types/registry"
"github.com/docker/docker/pkg/httputils" "github.com/docker/docker/pkg/httputils"
"github.com/docker/docker/pkg/ioutils" "github.com/docker/docker/pkg/ioutils"
"github.com/docker/docker/pkg/stringid" "github.com/docker/docker/pkg/stringid"
"github.com/docker/docker/pkg/tarsum" "github.com/docker/docker/pkg/tarsum"
"github.com/docker/docker/reference" "github.com/docker/docker/reference"
"github.com/docker/engine-api/types"
registrytypes "github.com/docker/engine-api/types/registry"
) )
var ( var (

View file

@ -1,8 +1,8 @@
package registry package registry
import ( import (
registrytypes "github.com/docker/docker/api/types/registry"
"github.com/docker/docker/reference" "github.com/docker/docker/reference"
registrytypes "github.com/docker/engine-api/types/registry"
) )
// RepositoryData tracks the image list, list of endpoints, and list of tokens // RepositoryData tracks the image list, list of endpoints, and list of tokens