Add documentation

Signed-off-by: Manish Tomar <manish.tomar@docker.com>
This commit is contained in:
Manish Tomar 2018-08-03 14:08:00 -07:00
parent 8f6758278d
commit e4d5a0a17c

View file

@ -26,6 +26,7 @@ type BlobListener interface {
BlobDeleted(repo reference.Named, desc digest.Digest) error BlobDeleted(repo reference.Named, desc digest.Digest) error
} }
// RepoListener provides repository methods that respond to repository lifecycle
type RepoListener interface { type RepoListener interface {
TagDeleted(repo reference.Named, tag string) error TagDeleted(repo reference.Named, tag string) error
RepoDeleted(repo reference.Named) error RepoDeleted(repo reference.Named) error