mirror of
https://github.com/distribution/distribution.git
synced 2025-09-26 14:49:18 +00:00
Allow Manifest Service to be configured with function arguments
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
This commit is contained in:
committed by
Richard Scothern
parent
2b88cb9413
commit
f331da2daa
@@ -46,7 +46,8 @@ type Repository interface {
|
||||
Name() string
|
||||
|
||||
// Manifests returns a reference to this repository's manifest service.
|
||||
Manifests() ManifestService
|
||||
// with the supplied options applied.
|
||||
Manifests(ctx context.Context, options ...ManifestServiceOption) (ManifestService, error)
|
||||
|
||||
// Blobs returns a reference to this repository's blob service.
|
||||
Blobs(ctx context.Context) BlobStore
|
||||
|
Reference in New Issue
Block a user