mirror of
https://github.com/project-zot/zot.git
synced 2024-12-30 22:34:13 -05:00
4fb1e756c4
- MetaDB stores the time of the last update of a repo - During startup we check if the layout has been updated after the last recorded change in the db - If this is the case, the repo is parsed and updated in the DB otherwise it's skipped Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com>
15 lines
309 B
Go
15 lines
309 B
Go
package boltdb
|
|
|
|
// MetadataDB.
|
|
const (
|
|
ImageMetaBuck = "ImageMeta"
|
|
RepoMetaBuck = "RepoMeta"
|
|
UserDataBucket = "UserData"
|
|
VersionBucket = "Version"
|
|
UserAPIKeysBucket = "UserAPIKeys"
|
|
)
|
|
|
|
const (
|
|
RepoBlobsBuck = "RepoBlobsMeta"
|
|
RepoLastUpdatedBuck = "RepoLastUpdated" // Sub-bucket
|
|
)
|