Expects storage driver executables to be of the form registry-storage-name
Moves main packages to sub-packages of the individual storage drivers
This commit is contained in:
parent
f02cfee950
commit
150677f1f5
5 changed files with 10 additions and 12 deletions
12
cmd/registry-storagedriver-inmemory/main.go
Normal file
12
cmd/registry-storagedriver-inmemory/main.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/docker/docker-registry/storagedriver/inmemory"
|
||||
"github.com/docker/docker-registry/storagedriver/ipc"
|
||||
)
|
||||
|
||||
// An out-of-process inmemory driver, intended to be run by ipc.NewDriverClient
|
||||
// This exists primarily for example and testing purposes
|
||||
func main() {
|
||||
ipc.StorageDriverServer(inmemory.New())
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue