feab4aafbc
- Includes a change in the command to run the registry. The registry server itself is now started up as a subcommand. - Includes changes to the high level interfaces to support enumeration of various registry objects. Signed-off-by: Andrew T Nguyen <andrew.nguyen@docker.com>
25 lines
974 B
Go
25 lines
974 B
Go
package main
|
|
|
|
import (
|
|
_ "net/http/pprof"
|
|
|
|
"github.com/docker/distribution/registry"
|
|
_ "github.com/docker/distribution/registry/auth/htpasswd"
|
|
_ "github.com/docker/distribution/registry/auth/silly"
|
|
_ "github.com/docker/distribution/registry/auth/token"
|
|
_ "github.com/docker/distribution/registry/proxy"
|
|
_ "github.com/docker/distribution/registry/storage/driver/azure"
|
|
_ "github.com/docker/distribution/registry/storage/driver/filesystem"
|
|
_ "github.com/docker/distribution/registry/storage/driver/gcs"
|
|
_ "github.com/docker/distribution/registry/storage/driver/inmemory"
|
|
_ "github.com/docker/distribution/registry/storage/driver/middleware/cloudfront"
|
|
_ "github.com/docker/distribution/registry/storage/driver/oss"
|
|
_ "github.com/docker/distribution/registry/storage/driver/s3-aws"
|
|
_ "github.com/docker/distribution/registry/storage/driver/s3-goamz"
|
|
_ "github.com/docker/distribution/registry/storage/driver/swift"
|
|
)
|
|
|
|
func main() {
|
|
registry.RootCmd.Execute()
|
|
}
|