mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
324a517ea3
We perform inline garbage collection of orphan blobs. However, the dist-spec poses a problem because blobs begin their life as orphan blobs and then a manifest is add which refers to these blobs. We use umoci's GC() to perform garbage collection and policy support has been added recently which can control whether a blob can be skipped for GC. In this patch, we use a time-based policy to skip blobs.
37 lines
1.4 KiB
Modula-2
37 lines
1.4 KiB
Modula-2
module github.com/anuvu/zot
|
|
|
|
go 1.14
|
|
|
|
require (
|
|
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
|
|
github.com/apex/log v1.4.0
|
|
github.com/briandowns/spinner v1.11.1
|
|
github.com/chartmuseum/auth v0.4.0
|
|
github.com/dustin/go-humanize v1.0.0
|
|
github.com/getlantern/deepcopy v0.0.0-20160317154340-7f45deb8130a
|
|
github.com/go-chi/chi v4.0.2+incompatible // indirect
|
|
github.com/go-ldap/ldap/v3 v3.1.3
|
|
github.com/gofrs/uuid v3.2.0+incompatible
|
|
github.com/gorilla/handlers v1.4.2
|
|
github.com/gorilla/mux v1.7.3
|
|
github.com/json-iterator/go v1.1.9
|
|
github.com/mitchellh/mapstructure v1.1.2
|
|
github.com/nmcclain/asn1-ber v0.0.0-20170104154839-2661553a0484 // indirect
|
|
github.com/nmcclain/ldap v0.0.0-20191021200707-3b3b69a7e9e3
|
|
github.com/olekukonko/tablewriter v0.0.4
|
|
github.com/opencontainers/distribution-spec v1.0.0-rc0
|
|
github.com/opencontainers/go-digest v1.0.0
|
|
github.com/opencontainers/image-spec v1.0.1
|
|
github.com/opencontainers/umoci v0.4.7-0.20200704224433-977db481b72c
|
|
github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
|
|
github.com/rs/zerolog v1.17.2
|
|
github.com/smartystreets/goconvey v1.6.4
|
|
github.com/spf13/cobra v0.0.5
|
|
github.com/spf13/viper v1.6.1
|
|
github.com/swaggo/http-swagger v0.0.0-20190614090009-c2865af9083e
|
|
github.com/swaggo/swag v1.6.3
|
|
go.etcd.io/bbolt v1.3.4
|
|
golang.org/x/crypto v0.0.0-20200604202706-70a84ac30bf9
|
|
gopkg.in/resty.v1 v1.12.0
|
|
gopkg.in/yaml.v2 v2.2.4
|
|
)
|