Implement Tags method on ManifestService
This commit is contained in:
parent
45c29be442
commit
c71089c653
5 changed files with 67 additions and 0 deletions
|
@ -52,6 +52,9 @@ func (ss *Services) Manifests() ManifestService {
|
|||
|
||||
// ManifestService provides operations on image manifests.
|
||||
type ManifestService interface {
|
||||
// Tags lists the tags under the named repository.
|
||||
Tags(name string) ([]string, error)
|
||||
|
||||
// Exists returns true if the layer exists.
|
||||
Exists(name, tag string) (bool, error)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue