package repository // Service contains functions for managing multiple repositories type Service interface { // Add adds the URI to the list of managed repositories Add(uri string) error // Remove removes the URI from the managed repositories Remove(uri string) error // Poll polls all the repositories Poll() []error // Find finds the repository using the URI Find(uri string) (Repository, error) // List returns all the repositories List() []Repository }