mirror of
https://github.com/anchore/syft.git
synced 2026-11-03 07:56:36 +01:00
Add documentation around catalogers, UI elements, and the event bus (#143)
* add basic documentation for catalogers (with refactoring for simplification) Signed-off-by: Alex Goodman <alex.goodman@anchore.com> * add docs for catalog parsers, UI, and event bus Signed-off-by: Alex Goodman <alex.goodman@anchore.com> * update bus phrasing Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ func IdentifyDistro(s scope.Scope) distro.Distro {
|
||||
|
||||
func CatalogFromScope(s scope.Scope) (*pkg.Catalog, error) {
|
||||
log.Info("building the catalog")
|
||||
return cataloger.Catalog(s)
|
||||
return cataloger.Catalog(s, cataloger.All()...)
|
||||
}
|
||||
|
||||
func SetLogger(logger logger.Logger) {
|
||||
|
||||
Reference in New Issue
Block a user