Implement Tags method on ManifestService

This commit is contained in:
Stephen J Day 2014-12-09 11:06:51 -08:00
parent 45c29be442
commit c71089c653
5 changed files with 67 additions and 0 deletions

View file

@ -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)