mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
refactor(metadb): improve UX by speeding up metadb serialize/deserialize (#1842)
Use protocol buffers and update the metadb interface to better suit our search needs Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com> Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com> Co-authored-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
+3
-2
@@ -107,8 +107,8 @@ var (
|
||||
ErrBadLayerCount = errors.New("manifest: layers count doesn't correspond to config history")
|
||||
ErrManifestConflict = errors.New("manifest: multiple manifests found")
|
||||
ErrManifestMetaNotFound = errors.New("metadb: image metadata not found for given manifest reference")
|
||||
ErrManifestDataNotFound = errors.New("metadb: image data not found for given manifest digest")
|
||||
ErrIndexDataNotFount = errors.New("metadb: index data not found for given digest")
|
||||
ErrImageMetaNotFound = errors.New("metadb: image meta not found")
|
||||
ErrUnexpectedMediaType = errors.New("metadb: got unexpected media type")
|
||||
ErrRepoMetaNotFound = errors.New("metadb: repo metadata not found for given repo name")
|
||||
ErrTagMetaNotFound = errors.New("metadb: tag metadata not found for given repo and tag names")
|
||||
ErrTypeAssertionFailed = errors.New("storage: failed DatabaseDriver type assertion")
|
||||
@@ -163,4 +163,5 @@ var (
|
||||
ErrInvalidOutputFormat = errors.New("cli: invalid output format")
|
||||
ErrFlagValueUnsupported = errors.New("supported values ")
|
||||
ErrUnknownSubcommand = errors.New("cli: unknown subcommand")
|
||||
ErrMultipleReposSameName = errors.New("test: can't have multiple repos with the same name")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user