forked from TrueCloudLab/distribution
3f1859af26
This commit removes `oss` storage driver from distribution as well as `alicdn` storage middleware which only works with the `oss` driver. There are several reasons for it: * no real-life expertise among the maintainers * oss is compatible with S3 API operations required by S3 storage driver Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
22 lines
963 B
Go
22 lines
963 B
Go
package main
|
|
|
|
import (
|
|
_ "net/http/pprof"
|
|
|
|
"github.com/distribution/distribution/v3/registry"
|
|
_ "github.com/distribution/distribution/v3/registry/auth/htpasswd"
|
|
_ "github.com/distribution/distribution/v3/registry/auth/silly"
|
|
_ "github.com/distribution/distribution/v3/registry/auth/token"
|
|
_ "github.com/distribution/distribution/v3/registry/proxy"
|
|
_ "github.com/distribution/distribution/v3/registry/storage/driver/azure"
|
|
_ "github.com/distribution/distribution/v3/registry/storage/driver/filesystem"
|
|
_ "github.com/distribution/distribution/v3/registry/storage/driver/gcs"
|
|
_ "github.com/distribution/distribution/v3/registry/storage/driver/inmemory"
|
|
_ "github.com/distribution/distribution/v3/registry/storage/driver/middleware/cloudfront"
|
|
_ "github.com/distribution/distribution/v3/registry/storage/driver/middleware/redirect"
|
|
_ "github.com/distribution/distribution/v3/registry/storage/driver/s3-aws"
|
|
)
|
|
|
|
func main() {
|
|
registry.RootCmd.Execute()
|
|
}
|