Move registry api definitions 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:32:22 -08:00
parent 0f08b6961a
commit e4b811f489
20 changed files with 10 additions and 10 deletions

View file

@ -9,7 +9,7 @@ import (
"regexp"
"strconv"
"github.com/docker/distribution/api/v2"
"github.com/docker/distribution/registry/api/v2"
"github.com/docker/distribution/digest"
"github.com/docker/distribution/manifest"
)

View file

@ -20,7 +20,7 @@ import (
"regexp"
"text/template"
"github.com/docker/distribution/api/v2"
"github.com/docker/distribution/registry/api/v2"
)
var spaceRegex = regexp.MustCompile(`\n\s*`)

View file

@ -14,7 +14,7 @@ import (
"reflect"
"testing"
"github.com/docker/distribution/api/v2"
"github.com/docker/distribution/registry/api/v2"
"github.com/docker/distribution/configuration"
"github.com/docker/distribution/digest"
"github.com/docker/distribution/manifest"

View file

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

View file

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

View file

@ -4,7 +4,7 @@ import (
"fmt"
"net/http"
"github.com/docker/distribution/api/v2"
"github.com/docker/distribution/registry/api/v2"
ctxu "github.com/docker/distribution/context"
"github.com/docker/distribution/digest"
"github.com/docker/distribution/storage"

View file

@ -5,7 +5,7 @@ import (
"fmt"
"net/http"
"github.com/docker/distribution/api/v2"
"github.com/docker/distribution/registry/api/v2"
ctxu "github.com/docker/distribution/context"
"github.com/docker/distribution/digest"
"github.com/docker/distribution/manifest"

View file

@ -3,7 +3,7 @@ package handlers
import (
"net/http"
"github.com/docker/distribution/api/v2"
"github.com/docker/distribution/registry/api/v2"
ctxu "github.com/docker/distribution/context"
"github.com/docker/distribution/digest"
"github.com/docker/distribution/storage"

View file

@ -7,7 +7,7 @@ import (
"net/url"
"os"
"github.com/docker/distribution/api/v2"
"github.com/docker/distribution/registry/api/v2"
ctxu "github.com/docker/distribution/context"
"github.com/docker/distribution/digest"
"github.com/docker/distribution/storage"

View file

@ -4,7 +4,7 @@ import (
"encoding/json"
"net/http"
"github.com/docker/distribution/api/v2"
"github.com/docker/distribution/registry/api/v2"
"github.com/docker/distribution/storage"
"github.com/gorilla/handlers"
)