Expose Signatures() on Repository
Add a SignatureService and expose it via Signatures() on Repository so external integrations wrapping the registry can access signatures. Move signature related code from revisionstore.go to signaturestore.go. Signed-off-by: Andy Goldstein <agoldste@redhat.com>
This commit is contained in:
parent
29d2414366
commit
a65662c10f
3 changed files with 84 additions and 65 deletions
|
@ -87,3 +87,9 @@ func (repo *repository) Layers() distribution.LayerService {
|
|||
repository: repo,
|
||||
}
|
||||
}
|
||||
|
||||
func (repo *repository) Signatures() distribution.SignatureService {
|
||||
return &signatureStore{
|
||||
repository: repo,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue