Skip to main content

@backstage/plugin-catalog-node

Home > @backstage/plugin-catalog-node

The catalog-backend-node module for @backstage/plugin-catalog-backend.

Functions

FunctionDescription
locationSpecToLocationEntity(opts)A standard way of producing a machine generated Location kind entity for a location.
locationSpecToMetadataName(location)A standard way of producing a machine generated name for a location.

Interfaces

InterfaceDescription
CatalogProcessorCache

A cache for storing data during processing.

The values stored in the cache are always local to each processor, meaning no processor can see cache values from other processors.

The cache instance provided to the CatalogProcessor is also scoped to the entity being processed, meaning that each processor run can't see cache values from processing runs for other entities.

Values that are set during a processing run will only be visible in the directly following run. The cache will be overwritten every run unless no new cache items are written, in which case the existing values remain in the cache.

EntityProviderAn entity provider is able to provide entities to the catalog. See https://backstage.io/docs/features/software-catalog/life-of-an-entity for more details.
EntityProviderConnectionThe connection between the catalog and the entity provider. Entity providers use this connection to add and remove entities from the catalog.

Variables

VariableDescription
processingResultFactory functions for the standard processing result types.

Type Aliases

Type AliasDescription
AnalyzeOptions
CatalogProcessor
CatalogProcessorEmit
CatalogProcessorEntityResult
CatalogProcessorErrorResult
CatalogProcessorLocationResult
CatalogProcessorParserA parser, that is able to take the raw catalog descriptor data and turn it into the actual result pieces. The default implementation performs a YAML document parsing.
CatalogProcessorRefreshKeysResult
CatalogProcessorRelationResult
CatalogProcessorResult
DeferredEntityEntities that are not yet processed.
EntitiesSearchFilterMatches rows in the search table.
EntityFilterA filter expression for entities.
EntityProviderMutationA 'full' mutation replaces all existing entities created by this entity provider with new ones. A 'delta' mutation can both add and remove entities provided by this provider. Previously provided entities from a 'full' mutation are not removed.
EntityProviderRefreshOptionsThe options given to an entity refresh operation.
EntityRelationSpecHolds the relation data for entities.
LocationSpecHolds the entity location information.
PlaceholderResolver
PlaceholderResolverParams
PlaceholderResolverRead
PlaceholderResolverResolveUrl
ScmLocationAnalyzer