mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 12:58:02 +08:00
notaryv2: fix 'notation list'
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
committed by
Ramkumar Chinchani
parent
f9d14d7f94
commit
45fe129c63
@@ -4,8 +4,8 @@ import (
|
||||
"io"
|
||||
"time"
|
||||
|
||||
"github.com/notaryproject/notation-go-lib"
|
||||
"github.com/opencontainers/go-digest"
|
||||
artifactspec "github.com/oras-project/artifacts-spec/specs-go/v1"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -42,5 +42,5 @@ type ImageStore interface {
|
||||
DeleteBlob(repo string, digest string) error
|
||||
GetIndexContent(repo string) ([]byte, error)
|
||||
GetBlobContent(repo, digest string) ([]byte, error)
|
||||
GetReferrers(repo, digest string, mediaType string) ([]notation.Descriptor, error)
|
||||
GetReferrers(repo, digest string, mediaType string) ([]artifactspec.Descriptor, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user