From d2d46fca41631fadb1d2417880ef9f39c4d2a16a Mon Sep 17 00:00:00 2001 From: Stephen J Day Date: Wed, 11 Feb 2015 17:08:08 -0800 Subject: [PATCH] Move notifications package to distribution Since the notifications package is now decoupled from storage, we are moving it to the root package. Signed-off-by: Stephen J Day --- {registry/storage/notifications => notifications}/bridge.go | 0 {registry/storage/notifications => notifications}/endpoint.go | 0 {registry/storage/notifications => notifications}/event.go | 0 {registry/storage/notifications => notifications}/event_test.go | 0 {registry/storage/notifications => notifications}/http.go | 0 {registry/storage/notifications => notifications}/http_test.go | 0 {registry/storage/notifications => notifications}/listener.go | 0 .../storage/notifications => notifications}/listener_test.go | 0 {registry/storage/notifications => notifications}/metrics.go | 0 {registry/storage/notifications => notifications}/sinks.go | 0 {registry/storage/notifications => notifications}/sinks_test.go | 0 registry/handlers/app.go | 1 - 12 files changed, 1 deletion(-) rename {registry/storage/notifications => notifications}/bridge.go (100%) rename {registry/storage/notifications => notifications}/endpoint.go (100%) rename {registry/storage/notifications => notifications}/event.go (100%) rename {registry/storage/notifications => notifications}/event_test.go (100%) rename {registry/storage/notifications => notifications}/http.go (100%) rename {registry/storage/notifications => notifications}/http_test.go (100%) rename {registry/storage/notifications => notifications}/listener.go (100%) rename {registry/storage/notifications => notifications}/listener_test.go (100%) rename {registry/storage/notifications => notifications}/metrics.go (100%) rename {registry/storage/notifications => notifications}/sinks.go (100%) rename {registry/storage/notifications => notifications}/sinks_test.go (100%) diff --git a/registry/storage/notifications/bridge.go b/notifications/bridge.go similarity index 100% rename from registry/storage/notifications/bridge.go rename to notifications/bridge.go diff --git a/registry/storage/notifications/endpoint.go b/notifications/endpoint.go similarity index 100% rename from registry/storage/notifications/endpoint.go rename to notifications/endpoint.go diff --git a/registry/storage/notifications/event.go b/notifications/event.go similarity index 100% rename from registry/storage/notifications/event.go rename to notifications/event.go diff --git a/registry/storage/notifications/event_test.go b/notifications/event_test.go similarity index 100% rename from registry/storage/notifications/event_test.go rename to notifications/event_test.go diff --git a/registry/storage/notifications/http.go b/notifications/http.go similarity index 100% rename from registry/storage/notifications/http.go rename to notifications/http.go diff --git a/registry/storage/notifications/http_test.go b/notifications/http_test.go similarity index 100% rename from registry/storage/notifications/http_test.go rename to notifications/http_test.go diff --git a/registry/storage/notifications/listener.go b/notifications/listener.go similarity index 100% rename from registry/storage/notifications/listener.go rename to notifications/listener.go diff --git a/registry/storage/notifications/listener_test.go b/notifications/listener_test.go similarity index 100% rename from registry/storage/notifications/listener_test.go rename to notifications/listener_test.go diff --git a/registry/storage/notifications/metrics.go b/notifications/metrics.go similarity index 100% rename from registry/storage/notifications/metrics.go rename to notifications/metrics.go diff --git a/registry/storage/notifications/sinks.go b/notifications/sinks.go similarity index 100% rename from registry/storage/notifications/sinks.go rename to notifications/sinks.go diff --git a/registry/storage/notifications/sinks_test.go b/notifications/sinks_test.go similarity index 100% rename from registry/storage/notifications/sinks_test.go rename to notifications/sinks_test.go diff --git a/registry/handlers/app.go b/registry/handlers/app.go index bc0c46aa..3a9f46a7 100644 --- a/registry/handlers/app.go +++ b/registry/handlers/app.go @@ -16,7 +16,6 @@ import ( "github.com/docker/distribution/registry/storage" storagedriver "github.com/docker/distribution/registry/storage/driver" "github.com/docker/distribution/registry/storage/driver/factory" - "github.com/docker/distribution/registry/storage/notifications" "github.com/gorilla/mux" "golang.org/x/net/context" )