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

@@ -13,6 +13,16 @@ import (
"github.com/docker/docker-registry/digest"
)
// ErrUnknownRepository is returned if the named repository is not known by
// the registry.
type ErrUnknownRepository struct {
Name string
}
func (err ErrUnknownRepository) Error() string {
return fmt.Sprintf("unknown respository name=%s", err.Name)
}
// ErrUnknownManifest is returned if the manifest is not known by the
// registry.
type ErrUnknownManifest struct {