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" "regexp"
"strconv" "strconv"
"github.com/docker/distribution/api/v2" "github.com/docker/distribution/registry/api/v2"
"github.com/docker/distribution/digest" "github.com/docker/distribution/digest"
"github.com/docker/distribution/manifest" "github.com/docker/distribution/manifest"
) )

View file

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

View file

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

View file

@ -7,7 +7,7 @@ import (
"os" "os"
"code.google.com/p/go-uuid/uuid" "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/auth"
"github.com/docker/distribution/configuration" "github.com/docker/distribution/configuration"
ctxu "github.com/docker/distribution/context" ctxu "github.com/docker/distribution/context"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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