Move auth package under registry package

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day 2015-02-10 17:34:04 -08:00
parent e4b811f489
commit 0371f648bf
11 changed files with 9 additions and 9 deletions

View file

@ -10,8 +10,8 @@ import (
log "github.com/Sirupsen/logrus" log "github.com/Sirupsen/logrus"
"github.com/bugsnag/bugsnag-go" "github.com/bugsnag/bugsnag-go"
_ "github.com/docker/distribution/auth/silly" _ "github.com/docker/distribution/registry/auth/silly"
_ "github.com/docker/distribution/auth/token" _ "github.com/docker/distribution/registry/auth/token"
"github.com/docker/distribution/configuration" "github.com/docker/distribution/configuration"
ctxu "github.com/docker/distribution/context" ctxu "github.com/docker/distribution/context"
"github.com/docker/distribution/registry/handlers" "github.com/docker/distribution/registry/handlers"

View file

@ -12,7 +12,7 @@ import (
"net/http" "net/http"
"strings" "strings"
"github.com/docker/distribution/auth" "github.com/docker/distribution/registry/auth"
ctxu "github.com/docker/distribution/context" ctxu "github.com/docker/distribution/context"
"golang.org/x/net/context" "golang.org/x/net/context"
) )

View file

@ -5,7 +5,7 @@ import (
"net/http/httptest" "net/http/httptest"
"testing" "testing"
"github.com/docker/distribution/auth" "github.com/docker/distribution/registry/auth"
"golang.org/x/net/context" "golang.org/x/net/context"
) )

View file

@ -11,7 +11,7 @@ import (
"os" "os"
"strings" "strings"
"github.com/docker/distribution/auth" "github.com/docker/distribution/registry/auth"
ctxu "github.com/docker/distribution/context" ctxu "github.com/docker/distribution/context"
"github.com/docker/libtrust" "github.com/docker/libtrust"
"golang.org/x/net/context" "golang.org/x/net/context"

View file

@ -13,7 +13,7 @@ import (
log "github.com/Sirupsen/logrus" log "github.com/Sirupsen/logrus"
"github.com/docker/libtrust" "github.com/docker/libtrust"
"github.com/docker/distribution/auth" "github.com/docker/distribution/registry/auth"
) )
const ( const (

View file

@ -15,7 +15,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/docker/distribution/auth" "github.com/docker/distribution/registry/auth"
"github.com/docker/libtrust" "github.com/docker/libtrust"
"golang.org/x/net/context" "golang.org/x/net/context"
) )

View file

@ -8,7 +8,7 @@ import (
"code.google.com/p/go-uuid/uuid" "code.google.com/p/go-uuid/uuid"
"github.com/docker/distribution/registry/api/v2" "github.com/docker/distribution/registry/api/v2"
"github.com/docker/distribution/auth" "github.com/docker/distribution/registry/auth"
"github.com/docker/distribution/configuration" "github.com/docker/distribution/configuration"
ctxu "github.com/docker/distribution/context" ctxu "github.com/docker/distribution/context"
"github.com/docker/distribution/storage" "github.com/docker/distribution/storage"

View file

@ -8,7 +8,7 @@ import (
"testing" "testing"
"github.com/docker/distribution/registry/api/v2" "github.com/docker/distribution/registry/api/v2"
_ "github.com/docker/distribution/auth/silly" _ "github.com/docker/distribution/registry/auth/silly"
"github.com/docker/distribution/configuration" "github.com/docker/distribution/configuration"
"github.com/docker/distribution/storage" "github.com/docker/distribution/storage"
"github.com/docker/distribution/storagedriver/inmemory" "github.com/docker/distribution/storagedriver/inmemory"