notaryv2: fix 'notation list'

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
Ramkumar Chinchani
2022-01-31 21:33:07 +00:00
committed by Ramkumar Chinchani
parent f9d14d7f94
commit 45fe129c63
5 changed files with 22 additions and 11 deletions
+2 -2
View File
@@ -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)
}