Skip to main content
Version: Next

CatalogBuilder.addLocationAnalyzers()

Home > @backstage/plugin-catalog-backend > CatalogBuilder > addLocationAnalyzers

Adds Location Analyzers. These are responsible for analyzing repositories when onboarding them into the catalog, by finding catalog-info.yaml files and other artifacts that can help automatically register or create catalog data on the user's behalf.

Signature:

addLocationAnalyzers(...analyzers: Array<ScmLocationAnalyzer | Array<ScmLocationAnalyzer>>): CatalogBuilder;

Parameters

Parameter

Type

Description

analyzers

Array<ScmLocationAnalyzer | Array<ScmLocationAnalyzer>>

**Returns:**

CatalogBuilder