package cataloger import ( "github.com/anchore/imgbom/imgbom/pkg" "github.com/anchore/imgbom/imgbom/scope" "github.com/anchore/stereoscope/pkg/file" ) type Cataloger interface { Name() string // TODO: add ID / Name for catalog for uniquely identifying this cataloger type SelectFiles(scope.FileResolver) []file.Reference // NOTE: one of the errors which is returned is "IterationNeeded", which indicates to the driver to // continue with another Select/Catalog pass Catalog(map[file.Reference]string) ([]pkg.Package, error) }